iobroker.admin 7.4.7 → 7.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -9
- package/adminWww/asset-manifest.json +27 -27
- package/adminWww/index.html +1 -1
- package/adminWww/static/js/1892.3c30ecff.chunk.js.map +1 -1
- package/adminWww/static/js/{288.12201160.chunk.js → 288.18e82468.chunk.js} +2 -2
- package/adminWww/static/js/288.18e82468.chunk.js.map +1 -0
- package/adminWww/static/js/3363.a4c36649.chunk.js.map +1 -1
- package/adminWww/static/js/3834.d81ffc60.chunk.js +2 -0
- package/adminWww/static/js/3834.d81ffc60.chunk.js.map +1 -0
- package/adminWww/static/js/4289.a5fc8b2e.chunk.js +2 -0
- package/adminWww/static/js/4289.a5fc8b2e.chunk.js.map +1 -0
- package/adminWww/static/js/471.8a82d825.chunk.js.map +1 -1
- package/adminWww/static/js/4720.6112531a.chunk.js +2 -0
- package/adminWww/static/js/4720.6112531a.chunk.js.map +1 -0
- package/adminWww/static/js/5687.d7fa0a4e.chunk.js +2 -0
- package/adminWww/static/js/5687.d7fa0a4e.chunk.js.map +1 -0
- package/adminWww/static/js/{6361.48a28196.chunk.js → 6361.ec86271d.chunk.js} +2 -2
- package/adminWww/static/js/6361.ec86271d.chunk.js.map +1 -0
- package/adminWww/static/js/6603.ee9b0df5.chunk.js +3 -0
- package/adminWww/static/js/6603.ee9b0df5.chunk.js.map +1 -0
- package/adminWww/static/js/6853.6655ed69.chunk.js +2 -0
- package/adminWww/static/js/6853.6655ed69.chunk.js.map +1 -0
- package/adminWww/static/js/{7137.7b5ca6b5.chunk.js → 7137.c988b7e1.chunk.js} +2 -2
- package/adminWww/static/js/7137.c988b7e1.chunk.js.map +1 -0
- package/adminWww/static/js/{7424.223daaa3.chunk.js → 7424.5cf79afc.chunk.js} +2 -2
- package/adminWww/static/js/7424.5cf79afc.chunk.js.map +1 -0
- package/adminWww/static/js/{8144.ae502bba.chunk.js → 8144.5989b02c.chunk.js} +3 -3
- package/adminWww/static/js/8144.5989b02c.chunk.js.map +1 -0
- package/adminWww/static/js/8387.2cb15163.chunk.js.map +1 -1
- package/adminWww/static/js/9823.8a42dea5.chunk.js +3 -0
- package/adminWww/static/js/9823.8a42dea5.chunk.js.map +1 -0
- package/adminWww/static/js/{main.d26a969d.js → main.dbb63dc9.js} +2 -2
- package/adminWww/static/js/{main.d26a969d.js.map → main.dbb63dc9.js.map} +1 -1
- package/build-backend/main.js +6 -1
- package/build-backend/main.js.map +1 -1
- package/io-package.json +27 -27
- package/package.json +4 -4
- package/adminWww/static/js/288.12201160.chunk.js.map +0 -1
- package/adminWww/static/js/3834.2e04eb51.chunk.js +0 -2
- package/adminWww/static/js/3834.2e04eb51.chunk.js.map +0 -1
- package/adminWww/static/js/4289.e9a5790f.chunk.js +0 -2
- package/adminWww/static/js/4289.e9a5790f.chunk.js.map +0 -1
- package/adminWww/static/js/4720.72b71322.chunk.js +0 -2
- package/adminWww/static/js/4720.72b71322.chunk.js.map +0 -1
- package/adminWww/static/js/5687.c249e41f.chunk.js +0 -2
- package/adminWww/static/js/5687.c249e41f.chunk.js.map +0 -1
- package/adminWww/static/js/6361.48a28196.chunk.js.map +0 -1
- package/adminWww/static/js/6603.614b4df4.chunk.js +0 -3
- package/adminWww/static/js/6603.614b4df4.chunk.js.map +0 -1
- package/adminWww/static/js/6853.cfc24286.chunk.js +0 -2
- package/adminWww/static/js/6853.cfc24286.chunk.js.map +0 -1
- package/adminWww/static/js/7137.7b5ca6b5.chunk.js.map +0 -1
- package/adminWww/static/js/7424.223daaa3.chunk.js.map +0 -1
- package/adminWww/static/js/8144.ae502bba.chunk.js.map +0 -1
- package/adminWww/static/js/9823.f3f5cd8c.chunk.js +0 -3
- package/adminWww/static/js/9823.f3f5cd8c.chunk.js.map +0 -1
- /package/adminWww/static/js/{6603.614b4df4.chunk.js.LICENSE.txt → 6603.ee9b0df5.chunk.js.LICENSE.txt} +0 -0
- /package/adminWww/static/js/{8144.ae502bba.chunk.js.LICENSE.txt → 8144.5989b02c.chunk.js.LICENSE.txt} +0 -0
- /package/adminWww/static/js/{9823.f3f5cd8c.chunk.js.LICENSE.txt → 9823.8a42dea5.chunk.js.LICENSE.txt} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 9823.f3f5cd8c.chunk.js.LICENSE.txt */
|
|
2
|
-
(self.webpackChunksrc_rx=self.webpackChunksrc_rx||[]).push([[9823],{95323:(t,e,n)=>{"use strict";var i=n(1344),r=(0,i.__importStar)(n(28437)),o=n(93362),a=n(42350),s=n(20184),u=n(47337),l=n(72706),c=function(t){function e(e){var n=t.call(this,e)||this;return n.echarts=e.echarts,n.ele=null,n.isInitialResize=!0,n}return(0,i.__extends)(e,t),e.prototype.componentDidMount=function(){this.renderNewEcharts()},e.prototype.componentDidUpdate=function(t){var e=this.props.shouldSetOption;if(!(0,s.isFunction)(e)||e(t,this.props)){if(!(0,l.isEqual)(t.theme,this.props.theme)||!(0,l.isEqual)(t.opts,this.props.opts)||!(0,l.isEqual)(t.onEvents,this.props.onEvents))return this.dispose(),void this.renderNewEcharts();var n=["option","notMerge","lazyUpdate","showLoading","loadingOption"];(0,l.isEqual)((0,a.pick)(this.props,n),(0,a.pick)(t,n))||this.updateEChartsOption(),(0,l.isEqual)(t.style,this.props.style)&&(0,l.isEqual)(t.className,this.props.className)||this.resize()}},e.prototype.componentWillUnmount=function(){this.dispose()},e.prototype.getEchartsInstance=function(){return this.echarts.getInstanceByDom(this.ele)||this.echarts.init(this.ele,this.props.theme,this.props.opts)},e.prototype.dispose=function(){if(this.ele){try{(0,o.clear)(this.ele)}catch(t){console.warn(t)}this.echarts.dispose(this.ele)}},e.prototype.renderNewEcharts=function(){var t=this,e=this.props,n=e.onEvents,i=e.onChartReady,r=this.updateEChartsOption();this.bindEvents(r,n||{}),(0,s.isFunction)(i)&&i(r),this.ele&&(0,o.bind)(this.ele,(function(){t.resize()}))},e.prototype.bindEvents=function(t,e){function n(e,n){(0,u.isString)(e)&&(0,s.isFunction)(n)&&t.on(e,(function(e){n(e,t)}))}for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n(i,e[i])},e.prototype.updateEChartsOption=function(){var t=this.props,e=t.option,n=t.notMerge,i=void 0!==n&&n,r=t.lazyUpdate,o=void 0!==r&&r,a=t.showLoading,s=t.loadingOption,u=void 0===s?null:s,l=this.getEchartsInstance();return l.setOption(e,i,o),a?l.showLoading(u):l.hideLoading(),l},e.prototype.resize=function(){var t=this.getEchartsInstance();if(!this.isInitialResize)try{t.resize()}catch(e){console.warn(e)}this.isInitialResize=!1},e.prototype.render=function(){var t=this,e=this.props,n=e.style,o=e.className,a=void 0===o?"":o,s=(0,i.__assign)({height:300},n);return r.default.createElement("div",{ref:function(e){t.ele=e},style:s,className:"echarts-for-react "+a})},e}(r.PureComponent);e.A=c},72706:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=void 0;var i=(0,n(1344).__importDefault)(n(122));e.isEqual=i.default},20184:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isFunction=void 0,e.isFunction=function(t){return"function"===typeof t}},47337:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isString=void 0,e.isString=function(t){return"string"===typeof t}},42350:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.pick=void 0,e.pick=function(t,e){var n={};return e.forEach((function(e){n[e]=t[e]})),n}},62614:function(t){t.exports=function(){"use strict";function t(t,e){return t(e={exports:{}},e.exports),e.exports}var e=t((function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)})),n=t((function(t){var e=t.exports={version:"2.6.5"};"number"==typeof __e&&(__e=e)})),i=(n.version,function(t){return"object"===typeof t?null!==t:"function"===typeof t}),r=function(t){if(!i(t))throw TypeError(t+" is not an object!");return t},o=function(t){try{return!!t()}catch(e){return!0}},a=!o((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),s=e.document,u=i(s)&&i(s.createElement),l=function(t){return u?s.createElement(t):{}},c=!a&&!o((function(){return 7!=Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a})),h=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")},p=Object.defineProperty,f={f:a?Object.defineProperty:function(t,e,n){if(r(t),e=h(e,!0),r(n),c)try{return p(t,e,n)}catch(i){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},d=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},g=a?function(t,e,n){return f.f(t,e,d(1,n))}:function(t,e,n){return t[e]=n,t},v={}.hasOwnProperty,y=function(t,e){return v.call(t,e)},m=0,_=Math.random(),x=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++m+_).toString(36))},D=!1,A=t((function(t){var i="__core-js_shared__",r=e[i]||(e[i]={});(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:D?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})})),b=A("native-function-to-string",Function.toString),C=t((function(t){var i=x("src"),r="toString",o=(""+b).split(r);n.inspectSource=function(t){return b.call(t)},(t.exports=function(t,n,r,a){var s="function"==typeof r;s&&(y(r,"name")||g(r,"name",n)),t[n]!==r&&(s&&(y(r,i)||g(r,i,t[n]?""+t[n]:o.join(String(n)))),t===e?t[n]=r:a?t[n]?t[n]=r:g(t,n,r):(delete t[n],g(t,n,r)))})(Function.prototype,r,(function(){return"function"==typeof this&&this[i]||b.call(this)}))})),w=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t},S=function(t,e,n){if(w(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)}},M="prototype",T=function(t,i,r){var o,a,s,u,l=t&T.F,c=t&T.G,h=t&T.S,p=t&T.P,f=t&T.B,d=c?e:h?e[i]||(e[i]={}):(e[i]||{})[M],v=c?n:n[i]||(n[i]={}),y=v[M]||(v[M]={});for(o in c&&(r=i),r)s=((a=!l&&d&&void 0!==d[o])?d:r)[o],u=f&&a?S(s,e):p&&"function"==typeof s?S(Function.call,s):s,d&&C(d,o,s,t&T.U),v[o]!=s&&g(v,o,u),p&&y[o]!=s&&(y[o]=s)};e.core=n,T.F=1,T.G=2,T.S=4,T.P=8,T.B=16,T.W=32,T.U=64,T.R=128;var k,I=T,F=Math.ceil,E=Math.floor,O=function(t){return isNaN(t=+t)?0:(t>0?E:F)(t)},P=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t},B=(k=!1,function(t,e){var n,i,r=String(P(t)),o=O(e),a=r.length;return o<0||o>=a?k?"":void 0:(n=r.charCodeAt(o))<55296||n>56319||o+1===a||(i=r.charCodeAt(o+1))<56320||i>57343?k?r.charAt(o):n:k?r.slice(o,o+2):i-56320+(n-55296<<10)+65536});I(I.P,"String",{codePointAt:function(t){return B(this,t)}}),n.String.codePointAt;var L=Math.max,N=Math.min,R=function(t,e){return(t=O(t))<0?L(t+e,0):N(t,e)},z=String.fromCharCode,V=String.fromCodePoint;I(I.S+I.F*(!!V&&1!=V.length),"String",{fromCodePoint:function(t){for(var e,n=arguments,i=[],r=arguments.length,o=0;r>o;){if(e=+n[o++],R(e,1114111)!==e)throw RangeError(e+" is not a valid code point");i.push(e<65536?z(e):z(55296+((e-=65536)>>10),e%1024+56320))}return i.join("")}}),n.String.fromCodePoint;var H,W,G,U,j,X,Y,q,Z,$,K,Q,J,tt,et={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},nt={isSpaceSeparator:function(t){return"string"===typeof t&&et.Space_Separator.test(t)},isIdStartChar:function(t){return"string"===typeof t&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||"$"===t||"_"===t||et.ID_Start.test(t))},isIdContinueChar:function(t){return"string"===typeof t&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||"$"===t||"_"===t||"\u200c"===t||"\u200d"===t||et.ID_Continue.test(t))},isDigit:function(t){return"string"===typeof t&&/[0-9]/.test(t)},isHexDigit:function(t){return"string"===typeof t&&/[0-9A-Fa-f]/.test(t)}},it=function(t,e){H=String(t),W="start",G=[],U=0,j=1,X=0,Y=void 0,q=void 0,Z=void 0;do{Y=ot(),dt[W]()}while("eof"!==Y.type);return"function"===typeof e?rt({"":Z},"",e):Z};function rt(t,e,n){var i=t[e];if(null!=i&&"object"===typeof i)if(Array.isArray(i))for(var r=0;r<i.length;r++){var o=String(r),a=rt(i,o,n);void 0===a?delete i[o]:Object.defineProperty(i,o,{value:a,writable:!0,enumerable:!0,configurable:!0})}else for(var s in i){var u=rt(i,s,n);void 0===u?delete i[s]:Object.defineProperty(i,s,{value:u,writable:!0,enumerable:!0,configurable:!0})}return n.call(t,e,i)}function ot(){for($="default",K="",Q=!1,J=1;;){tt=at();var t=ut[$]();if(t)return t}}function at(){if(H[U])return String.fromCodePoint(H.codePointAt(U))}function st(){var t=at();return"\n"===t?(j++,X=0):t?X+=t.length:X++,t&&(U+=t.length),t}var ut={default:function(){switch(tt){case"\t":case"\v":case"\f":case" ":case"\xa0":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void st();case"/":return st(),void($="comment");case void 0:return st(),lt("eof")}if(!nt.isSpaceSeparator(tt))return ut[W]();st()},comment:function(){switch(tt){case"*":return st(),void($="multiLineComment");case"/":return st(),void($="singleLineComment")}throw yt(st())},multiLineComment:function(){switch(tt){case"*":return st(),void($="multiLineCommentAsterisk");case void 0:throw yt(st())}st()},multiLineCommentAsterisk:function(){switch(tt){case"*":return void st();case"/":return st(),void($="default");case void 0:throw yt(st())}st(),$="multiLineComment"},singleLineComment:function(){switch(tt){case"\n":case"\r":case"\u2028":case"\u2029":return st(),void($="default");case void 0:return st(),lt("eof")}st()},value:function(){switch(tt){case"{":case"[":return lt("punctuator",st());case"n":return st(),ct("ull"),lt("null",null);case"t":return st(),ct("rue"),lt("boolean",!0);case"f":return st(),ct("alse"),lt("boolean",!1);case"-":case"+":return"-"===st()&&(J=-1),void($="sign");case".":return K=st(),void($="decimalPointLeading");case"0":return K=st(),void($="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return K=st(),void($="decimalInteger");case"I":return st(),ct("nfinity"),lt("numeric",1/0);case"N":return st(),ct("aN"),lt("numeric",NaN);case'"':case"'":return Q='"'===st(),K="",void($="string")}throw yt(st())},identifierNameStartEscape:function(){if("u"!==tt)throw yt(st());st();var t=ft();switch(t){case"$":case"_":break;default:if(!nt.isIdStartChar(t))throw _t()}K+=t,$="identifierName"},identifierName:function(){switch(tt){case"$":case"_":case"\u200c":case"\u200d":return void(K+=st());case"\\":return st(),void($="identifierNameEscape")}if(!nt.isIdContinueChar(tt))return lt("identifier",K);K+=st()},identifierNameEscape:function(){if("u"!==tt)throw yt(st());st();var t=ft();switch(t){case"$":case"_":case"\u200c":case"\u200d":break;default:if(!nt.isIdContinueChar(t))throw _t()}K+=t,$="identifierName"},sign:function(){switch(tt){case".":return K=st(),void($="decimalPointLeading");case"0":return K=st(),void($="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return K=st(),void($="decimalInteger");case"I":return st(),ct("nfinity"),lt("numeric",J*(1/0));case"N":return st(),ct("aN"),lt("numeric",NaN)}throw yt(st())},zero:function(){switch(tt){case".":return K+=st(),void($="decimalPoint");case"e":case"E":return K+=st(),void($="decimalExponent");case"x":case"X":return K+=st(),void($="hexadecimal")}return lt("numeric",0*J)},decimalInteger:function(){switch(tt){case".":return K+=st(),void($="decimalPoint");case"e":case"E":return K+=st(),void($="decimalExponent")}if(!nt.isDigit(tt))return lt("numeric",J*Number(K));K+=st()},decimalPointLeading:function(){if(nt.isDigit(tt))return K+=st(),void($="decimalFraction");throw yt(st())},decimalPoint:function(){switch(tt){case"e":case"E":return K+=st(),void($="decimalExponent")}return nt.isDigit(tt)?(K+=st(),void($="decimalFraction")):lt("numeric",J*Number(K))},decimalFraction:function(){switch(tt){case"e":case"E":return K+=st(),void($="decimalExponent")}if(!nt.isDigit(tt))return lt("numeric",J*Number(K));K+=st()},decimalExponent:function(){switch(tt){case"+":case"-":return K+=st(),void($="decimalExponentSign")}if(nt.isDigit(tt))return K+=st(),void($="decimalExponentInteger");throw yt(st())},decimalExponentSign:function(){if(nt.isDigit(tt))return K+=st(),void($="decimalExponentInteger");throw yt(st())},decimalExponentInteger:function(){if(!nt.isDigit(tt))return lt("numeric",J*Number(K));K+=st()},hexadecimal:function(){if(nt.isHexDigit(tt))return K+=st(),void($="hexadecimalInteger");throw yt(st())},hexadecimalInteger:function(){if(!nt.isHexDigit(tt))return lt("numeric",J*Number(K));K+=st()},string:function(){switch(tt){case"\\":return st(),void(K+=ht());case'"':return Q?(st(),lt("string",K)):void(K+=st());case"'":return Q?void(K+=st()):(st(),lt("string",K));case"\n":case"\r":throw yt(st());case"\u2028":case"\u2029":xt(tt);break;case void 0:throw yt(st())}K+=st()},start:function(){switch(tt){case"{":case"[":return lt("punctuator",st())}$="value"},beforePropertyName:function(){switch(tt){case"$":case"_":return K=st(),void($="identifierName");case"\\":return st(),void($="identifierNameStartEscape");case"}":return lt("punctuator",st());case'"':case"'":return Q='"'===st(),void($="string")}if(nt.isIdStartChar(tt))return K+=st(),void($="identifierName");throw yt(st())},afterPropertyName:function(){if(":"===tt)return lt("punctuator",st());throw yt(st())},beforePropertyValue:function(){$="value"},afterPropertyValue:function(){switch(tt){case",":case"}":return lt("punctuator",st())}throw yt(st())},beforeArrayValue:function(){if("]"===tt)return lt("punctuator",st());$="value"},afterArrayValue:function(){switch(tt){case",":case"]":return lt("punctuator",st())}throw yt(st())},end:function(){throw yt(st())}};function lt(t,e){return{type:t,value:e,line:j,column:X}}function ct(t){for(var e=0,n=t;e<n.length;e+=1){var i=n[e];if(at()!==i)throw yt(st());st()}}function ht(){switch(at()){case"b":return st(),"\b";case"f":return st(),"\f";case"n":return st(),"\n";case"r":return st(),"\r";case"t":return st(),"\t";case"v":return st(),"\v";case"0":if(st(),nt.isDigit(at()))throw yt(st());return"\0";case"x":return st(),pt();case"u":return st(),ft();case"\n":case"\u2028":case"\u2029":return st(),"";case"\r":return st(),"\n"===at()&&st(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw yt(st())}return st()}function pt(){var t="",e=at();if(!nt.isHexDigit(e))throw yt(st());if(t+=st(),e=at(),!nt.isHexDigit(e))throw yt(st());return t+=st(),String.fromCodePoint(parseInt(t,16))}function ft(){for(var t="",e=4;e-- >0;){var n=at();if(!nt.isHexDigit(n))throw yt(st());t+=st()}return String.fromCodePoint(parseInt(t,16))}var dt={start:function(){if("eof"===Y.type)throw mt();gt()},beforePropertyName:function(){switch(Y.type){case"identifier":case"string":return q=Y.value,void(W="afterPropertyName");case"punctuator":return void vt();case"eof":throw mt()}},afterPropertyName:function(){if("eof"===Y.type)throw mt();W="beforePropertyValue"},beforePropertyValue:function(){if("eof"===Y.type)throw mt();gt()},beforeArrayValue:function(){if("eof"===Y.type)throw mt();"punctuator"!==Y.type||"]"!==Y.value?gt():vt()},afterPropertyValue:function(){if("eof"===Y.type)throw mt();switch(Y.value){case",":return void(W="beforePropertyName");case"}":vt()}},afterArrayValue:function(){if("eof"===Y.type)throw mt();switch(Y.value){case",":return void(W="beforeArrayValue");case"]":vt()}},end:function(){}};function gt(){var t;switch(Y.type){case"punctuator":switch(Y.value){case"{":t={};break;case"[":t=[]}break;case"null":case"boolean":case"numeric":case"string":t=Y.value}if(void 0===Z)Z=t;else{var e=G[G.length-1];Array.isArray(e)?e.push(t):Object.defineProperty(e,q,{value:t,writable:!0,enumerable:!0,configurable:!0})}if(null!==t&&"object"===typeof t)G.push(t),W=Array.isArray(t)?"beforeArrayValue":"beforePropertyName";else{var n=G[G.length-1];W=null==n?"end":Array.isArray(n)?"afterArrayValue":"afterPropertyValue"}}function vt(){G.pop();var t=G[G.length-1];W=null==t?"end":Array.isArray(t)?"afterArrayValue":"afterPropertyValue"}function yt(t){return At(void 0===t?"JSON5: invalid end of input at "+j+":"+X:"JSON5: invalid character '"+Dt(t)+"' at "+j+":"+X)}function mt(){return At("JSON5: invalid end of input at "+j+":"+X)}function _t(){return At("JSON5: invalid identifier character at "+j+":"+(X-=5))}function xt(t){console.warn("JSON5: '"+Dt(t)+"' in strings is not valid ECMAScript; consider escaping")}function Dt(t){var e={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(e[t])return e[t];if(t<" "){var n=t.charCodeAt(0).toString(16);return"\\x"+("00"+n).substring(n.length)}return t}function At(t){var e=new SyntaxError(t);return e.lineNumber=j,e.columnNumber=X,e}return{parse:it,stringify:function(t,e,n){var i,r,o,a=[],s="",u="";if(null==e||"object"!==typeof e||Array.isArray(e)||(n=e.space,o=e.quote,e=e.replacer),"function"===typeof e)r=e;else if(Array.isArray(e)){i=[];for(var l=0,c=e;l<c.length;l+=1){var h=c[l],p=void 0;"string"===typeof h?p=h:("number"===typeof h||h instanceof String||h instanceof Number)&&(p=String(h)),void 0!==p&&i.indexOf(p)<0&&i.push(p)}}return n instanceof Number?n=Number(n):n instanceof String&&(n=String(n)),"number"===typeof n?n>0&&(n=Math.min(10,Math.floor(n)),u=" ".substr(0,n)):"string"===typeof n&&(u=n.substr(0,10)),f("",{"":t});function f(t,e){var n=e[t];switch(null!=n&&("function"===typeof n.toJSON5?n=n.toJSON5(t):"function"===typeof n.toJSON&&(n=n.toJSON(t))),r&&(n=r.call(e,t,n)),n instanceof Number?n=Number(n):n instanceof String?n=String(n):n instanceof Boolean&&(n=n.valueOf()),n){case null:return"null";case!0:return"true";case!1:return"false"}return"string"===typeof n?d(n,!1):"number"===typeof n?String(n):"object"===typeof n?Array.isArray(n)?y(n):g(n):void 0}function d(t){for(var e={"'":.1,'"':.2},n={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},i="",r=0;r<t.length;r++){var a=t[r];switch(a){case"'":case'"':e[a]++,i+=a;continue;case"\0":if(nt.isDigit(t[r+1])){i+="\\x00";continue}}if(n[a])i+=n[a];else if(a<" "){var s=a.charCodeAt(0).toString(16);i+="\\x"+("00"+s).substring(s.length)}else i+=a}var u=o||Object.keys(e).reduce((function(t,n){return e[t]<e[n]?t:n}));return u+(i=i.replace(new RegExp(u,"g"),n[u]))+u}function g(t){if(a.indexOf(t)>=0)throw TypeError("Converting circular structure to JSON5");a.push(t);var e=s;s+=u;for(var n,r,o=[],l=0,c=i||Object.keys(t);l<c.length;l+=1){var h=c[l],p=f(h,t);if(void 0!==p){var d=v(h)+":";""!==u&&(d+=" "),d+=p,o.push(d)}}if(0===o.length)n="{}";else if(""===u)n="{"+(r=o.join(","))+"}";else{var g=",\n"+s;r=o.join(g),n="{\n"+s+r+",\n"+e+"}"}return a.pop(),s=e,n}function v(t){if(0===t.length)return d(t,!0);var e=String.fromCodePoint(t.codePointAt(0));if(!nt.isIdStartChar(e))return d(t,!0);for(var n=e.length;n<t.length;n++)if(!nt.isIdContinueChar(String.fromCodePoint(t.codePointAt(n))))return d(t,!0);return t}function y(t){if(a.indexOf(t)>=0)throw TypeError("Converting circular structure to JSON5");a.push(t);var e=s;s+=u;for(var n,i=[],r=0;r<t.length;r++){var o=f(String(r),t);i.push(void 0!==o?o:"null")}if(0===i.length)n="[]";else if(""===u)n="["+i.join(",")+"]";else{var l=",\n"+s,c=i.join(l);n="[\n"+s+c+",\n"+e+"]"}return a.pop(),s=e,n}}}}()},2956:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeSensorId=e.SensorTabIndex=e.SensorClassName=void 0;e.SizeSensorId="size-sensor-id";e.SensorClassName="size-sensor-object";e.SensorTabIndex="-1"},94327:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,n=null;return function(){for(var i=this,r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];clearTimeout(n),n=setTimeout((function(){t.apply(i,o)}),e)}}},48097:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=1;e.default=function(){return"".concat(n++)}},93362:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ver=e.clear=e.bind=void 0;var i=n(38128);e.bind=function(t,e){var n=(0,i.getSensor)(t);return n.bind(e),function(){n.unbind(e)}};e.clear=function(t){var e=(0,i.getSensor)(t);(0,i.removeSensor)(e)};e.ver="1.0.2"},38128:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.removeSensor=e.getSensor=e.Sensors=void 0;var i,r=(i=n(48097))&&i.__esModule?i:{default:i},o=n(97110),a=n(2956);var s={};function u(t){t&&s[t]&&delete s[t]}e.Sensors=s;e.getSensor=function(t){var e=t.getAttribute(a.SizeSensorId);if(e&&s[e])return s[e];var n=(0,r.default)();t.setAttribute(a.SizeSensorId,n);var i=(0,o.createSensor)(t,(function(){return u(n)}));return s[n]=i,i};e.removeSensor=function(t){var e=t.element.getAttribute(a.SizeSensorId);t.destroy(),u(e)}},97110:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var i=n(27019),r=n(30850),o="undefined"!==typeof ResizeObserver?r.createSensor:i.createSensor;e.createSensor=o},27019:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var i,r=(i=n(94327))&&i.__esModule?i:{default:i},o=n(2956);e.createSensor=function(t,e){var n=void 0,i=[],a=(0,r.default)((function(){i.forEach((function(e){e(t)}))})),s=function(){n&&n.parentNode&&(n.contentDocument&&n.contentDocument.defaultView.removeEventListener("resize",a),n.parentNode.removeChild(n),t.removeAttribute(o.SizeSensorId),n=void 0,i=[],e&&e())};return{element:t,bind:function(e){n||(n=function(){"static"===getComputedStyle(t).position&&(t.style.position="relative");var e=document.createElement("object");return e.onload=function(){e.contentDocument.defaultView.addEventListener("resize",a),a()},e.style.display="block",e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.height="100%",e.style.width="100%",e.style.overflow="hidden",e.style.pointerEvents="none",e.style.zIndex="-1",e.style.opacity="0",e.setAttribute("class",o.SensorClassName),e.setAttribute("tabindex",o.SensorTabIndex),e.type="text/html",t.appendChild(e),e.data="about:blank",e}()),-1===i.indexOf(e)&&i.push(e)},destroy:s,unbind:function(t){var e=i.indexOf(t);-1!==e&&i.splice(e,1),0===i.length&&n&&s()}}}},30850:(t,e,n)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createSensor=void 0;var i,r=n(2956),o=(i=n(94327))&&i.__esModule?i:{default:i};e.createSensor=function(t,e){var n=void 0,i=[],a=(0,o.default)((function(){i.forEach((function(e){e(t)}))})),s=function(){n.disconnect(),i=[],n=void 0,t.removeAttribute(r.SizeSensorId),e&&e()};return{element:t,bind:function(e){n||(n=function(){var e=new ResizeObserver(a);return e.observe(t),a(),e}()),-1===i.indexOf(e)&&i.push(e)},destroy:s,unbind:function(t){var e=i.indexOf(t);-1!==e&&i.splice(e,1),0===i.length&&n&&s()}}}},1344:(t,e,n)=>{"use strict";n.r(e),n.d(e,{__assign:()=>o,__asyncDelegator:()=>D,__asyncGenerator:()=>x,__asyncValues:()=>A,__await:()=>_,__awaiter:()=>c,__classPrivateFieldGet:()=>M,__classPrivateFieldSet:()=>T,__createBinding:()=>p,__decorate:()=>s,__exportStar:()=>f,__extends:()=>r,__generator:()=>h,__importDefault:()=>S,__importStar:()=>w,__makeTemplateObject:()=>b,__metadata:()=>l,__param:()=>u,__read:()=>g,__rest:()=>a,__spread:()=>v,__spreadArray:()=>m,__spreadArrays:()=>y,__values:()=>d});var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},i(t,e)};function r(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var o=function(){return o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},o.apply(this,arguments)};function a(t,e){var n={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(n[i]=t[i]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(t);r<i.length;r++)e.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(t,i[r])&&(n[i[r]]=t[i[r]])}return n}function s(t,e,n,i){var r,o=arguments.length,a=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,n,i);else for(var s=t.length-1;s>=0;s--)(r=t[s])&&(a=(o<3?r(a):o>3?r(e,n,a):r(e,n))||a);return o>3&&a&&Object.defineProperty(e,n,a),a}function u(t,e){return function(n,i){e(n,i,t)}}function l(t,e){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,i){return new(n||(n=Promise))((function(r,o){function a(t){try{u(i.next(t))}catch(e){o(e)}}function s(t){try{u(i.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(a,s)}u((i=i.apply(t,e||[])).next())}))}function h(t,e){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(r=(r=a.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(s){o=[6,s],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var p=Object.create?function(t,e,n,i){void 0===i&&(i=n),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[n]}})}:function(t,e,n,i){void 0===i&&(i=n),t[i]=e[n]};function f(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||p(e,t,n)}function d(t){var e="function"===typeof Symbol&&Symbol.iterator,n=e&&t[e],i=0;if(n)return n.call(t);if(t&&"number"===typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(t,e){var n="function"===typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(s){r={error:s}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function v(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(g(arguments[e]));return t}function y(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var i=Array(t),r=0;for(e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i}function m(t,e,n){if(n||2===arguments.length)for(var i,r=0,o=e.length;r<o;r++)!i&&r in e||(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||e)}function _(t){return this instanceof _?(this.v=t,this):new _(t)}function x(t,e,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(t,e||[]),o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(t){r[t]&&(i[t]=function(e){return new Promise((function(n,i){o.push([t,e,n,i])>1||s(t,e)}))})}function s(t,e){try{(n=r[t](e)).value instanceof _?Promise.resolve(n.value.v).then(u,l):c(o[0][2],n)}catch(i){c(o[0][3],i)}var n}function u(t){s("next",t)}function l(t){s("throw",t)}function c(t,e){t(e),o.shift(),o.length&&s(o[0][0],o[0][1])}}function D(t){var e,n;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){e[i]=t[i]?function(e){return(n=!n)?{value:_(t[i](e)),done:"return"===i}:r?r(e):e}:r}}function A(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=d(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(n){e[n]=t[n]&&function(e){return new Promise((function(i,r){(function(t,e,n,i){Promise.resolve(i).then((function(e){t({value:e,done:n})}),e)})(i,r,(e=t[n](e)).done,e.value)}))}}}function b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var C=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function w(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&p(e,t,n);return C(e,t),e}function S(t){return t&&t.__esModule?t:{default:t}}function M(t,e,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(t):i?i.value:e.get(t)}function T(t,e,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof e?t!==e||!r:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(t,n):r?r.value=n:e.set(t,n),n}},65250:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Axis:()=>St.A,ChartView:()=>f.A,ComponentModel:()=>c.A,ComponentView:()=>h.A,List:()=>d.A,Model:()=>C.A,PRIORITY:()=>l.FQ,SeriesModel:()=>p.A,color:()=>_,connect:()=>l.Ng,dataTool:()=>l.p5,dependencies:()=>l.El,disConnect:()=>l.zm,disconnect:()=>l.Zf,dispose:()=>l.AS,env:()=>wt.A,extendChartView:()=>Ft,extendComponentModel:()=>Tt,extendComponentView:()=>kt,extendSeriesModel:()=>It,format:()=>s,getCoordinateSystemDimensions:()=>l.Bo,getInstanceByDom:()=>l.FP,getInstanceById:()=>l.aQ,getMap:()=>l.ZB,graphic:()=>a,helper:()=>i,init:()=>l.Ts,innerDrawElementOnCanvas:()=>Mt.Xi,matrix:()=>v,number:()=>r,parseGeoJSON:()=>J,parseGeoJson:()=>J,registerAction:()=>l.OH,registerCoordinateSystem:()=>l.pX,registerLayout:()=>l.Oh,registerLoading:()=>l.Ej,registerLocale:()=>l.E,registerMap:()=>l.mz,registerPostInit:()=>l.cf,registerPostUpdate:()=>l.tb,registerPreprocessor:()=>l.lP,registerProcessor:()=>l.qg,registerTheme:()=>l.bf,registerTransform:()=>l.iY,registerUpdateLifecycle:()=>l.xV,registerVisual:()=>l.AF,setCanvasCreator:()=>l.vV,setPlatformAPI:()=>R.Gs,throttle:()=>x.nF,time:()=>o,use:()=>N.Y,util:()=>u,vector:()=>y,version:()=>l.rE,zrUtil:()=>m,zrender:()=>g});var i={};n.r(i),n.d(i,{createDimensions:()=>k.M,createList:()=>E,createScale:()=>P,createSymbol:()=>I.v5,createTextStyle:()=>L,dataStack:()=>O,enableHoverEmphasis:()=>F.iJ,getECData:()=>M.z,getLayoutRect:()=>w.dV,mixinAxisModelCommonMethods:()=>B});var r={};n.r(r),n.d(r,{MAX_SAFE_INTEGER:()=>tt.Is,asc:()=>tt.Y6,getPercentWithPrecision:()=>tt.wp,getPixelPrecision:()=>tt.hb,getPrecision:()=>tt.XV,getPrecisionSafe:()=>tt.y6,isNumeric:()=>tt.kf,isRadianAroundZero:()=>tt.dh,linearMap:()=>tt.Cb,nice:()=>tt.Cm,numericToNumber:()=>tt.Sm,parseDate:()=>tt._U,quantile:()=>tt.YV,quantity:()=>tt.au,quantityExponent:()=>tt.NX,reformIntervals:()=>tt.sL,remRadian:()=>tt._7,round:()=>tt.LI});var o={};n.r(o),n.d(o,{format:()=>et.GP,parse:()=>tt._U});var a={};n.r(a),n.d(a,{Arc:()=>vt.A,BezierCurve:()=>gt.A,BoundingRect:()=>V.A,Circle:()=>st.A,CompoundPath:()=>mt.A,Ellipse:()=>ut.A,Group:()=>rt.A,Image:()=>ot.Ay,IncrementalDisplayable:()=>yt.A,Line:()=>dt.A,LinearGradient:()=>_t.A,Polygon:()=>ht.A,Polyline:()=>pt.A,RadialGradient:()=>xt.A,Rect:()=>ft.A,Ring:()=>ct.A,Sector:()=>lt.A,Text:()=>at.Ay,clipPointsByRect:()=>nt.clipPointsByRect,clipRectByRect:()=>nt.clipRectByRect,createIcon:()=>nt.createIcon,extendPath:()=>nt.extendPath,extendShape:()=>nt.extendShape,getShapeClass:()=>nt.getShapeClass,getTransform:()=>nt.getTransform,initProps:()=>it.LW,makeImage:()=>nt.makeImage,makePath:()=>nt.makePath,mergePath:()=>nt.mergePath,registerShape:()=>nt.registerShape,resizePath:()=>nt.resizePath,updateProps:()=>it.oi});var s={};n.r(s),n.d(s,{addCommas:()=>Dt.ob,capitalFirst:()=>Dt.x5,encodeHTML:()=>At.Me,formatTime:()=>Dt.fU,formatTpl:()=>Dt.YK,getTextRect:()=>Ct,getTooltipMarker:()=>Dt.qg,normalizeCssArray:()=>Dt.QX,toCamelCase:()=>Dt.Cb,truncateText:()=>bt.EJ});var u={};n.r(u),n.d(u,{bind:()=>m.bind,clone:()=>m.clone,curry:()=>m.curry,defaults:()=>m.defaults,each:()=>m.each,extend:()=>m.extend,filter:()=>m.filter,indexOf:()=>m.indexOf,inherits:()=>m.inherits,isArray:()=>m.isArray,isFunction:()=>m.isFunction,isObject:()=>m.isObject,isString:()=>m.isString,map:()=>m.map,merge:()=>m.merge,reduce:()=>m.reduce});var l=n(31800),c=n(97888),h=n(13780),p=n(52636),f=n(52079),d=n(3325),g=n(85277),v=n(65472),y=n(52278),m=n(37653),_=n(98259),x=n(10300),D=n(31170),A=n(87658),b=n(16255),C=n(92160),w=n(12334),S=n(4791),M=n(63821),T=n(47533),k=n(59154),I=n(56340),F=n(56402);function E(t){return(0,D.A)(null,t)}var O={isDimensionStacked:S.sJ,enableDataStack:S.iJ,getStackedDimension:S.me};function P(t,e){var n=e;e instanceof C.A||(n=new C.A(e));var i=A.f$(n);return i.setExtent(t[0],t[1]),A.af(i,n),i}function B(t){m.mixin(t,b.L)}function L(t,e){return e=e||{},(0,T.VB)(t,null,null,"normal"!==e.state)}var N=n(2444),R=n(87718),z=n(1344),V=n(82759),H=n(85170);function W(t,e){return Math.abs(t-e)<1e-8}function G(t,e,n){var i=0,r=t[0];if(!r)return!1;for(var o=1;o<t.length;o++){var a=t[o];i+=(0,H.A)(r[0],r[1],a[0],a[1],e,n),r=a}var s=t[0];return W(r[0],s[0])&&W(r[1],s[1])||(i+=(0,H.A)(r[0],r[1],s[0],s[1],e,n)),0!==i}var U=[];function j(t,e){for(var n=0;n<t.length;n++)y.applyTransform(t[n],t[n],e)}function X(t,e,n,i){for(var r=0;r<t.length;r++){var o=t[r];i&&(o=i.project(o)),o&&isFinite(o[0])&&isFinite(o[1])&&(y.min(e,e,o),y.max(n,n,o))}}var Y=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),q=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},Z=function(t){this.type="linestring",this.points=t},$=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.type="geoJSON",r.geometries=n,r._center=i&&[i[0],i[1]],r}return(0,z.__extends)(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,i=0;i<e.length;i++){var r=e[i],o=r.exterior,a=o&&o.length;a>n&&(t=r,n=a)}if(t)return function(t){for(var e=0,n=0,i=0,r=t.length,o=t[r-1][0],a=t[r-1][1],s=0;s<r;s++){var u=t[s][0],l=t[s][1],c=o*l-u*a;e+=c,n+=(o+u)*c,i+=(a+l)*c,o=u,a=l}return e?[n/e/3,i/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0],r=this.geometries;return(0,m.each)(r,(function(e){"polygon"===e.type?X(e.exterior,n,i,t):(0,m.each)(e.points,(function(e){X(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new V.A(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.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++){var o=n[i];if("polygon"===o.type){var a=o.exterior,s=o.interiors;if(G(a,t[0],t[1])){for(var u=0;u<(s?s.length:0);u++)if(G(s[u],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,i){var r=this.getBoundingRect(),o=r.width/r.height;n?i||(i=n/o):n=o*i;for(var a=new V.A(t,e,n,i),s=r.calculateTransform(a),u=this.geometries,l=0;l<u.length;l++){var c=u[l];"polygon"===c.type?(j(c.exterior,s),(0,m.each)(c.interiors,(function(t){j(t,s)}))):(0,m.each)(c.points,(function(t){j(t,s)}))}(r=this._rect).copy(a),this._center=[r.x+r.width/2,r.y+r.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(Y);!function(t){function e(e,n){var i=t.call(this,e)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}(0,z.__extends)(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],i=v.identity(U),r=t;r&&!r.isGeoSVGGraphicRoot;)v.mul(i,r.getLocalTransform(),i),r=r.parent;return v.invert(i,i),y.applyTransform(n,n,i),n}}(Y);function K(t,e,n){for(var i=0;i<t.length;i++)t[i]=Q(t[i],e[i],n)}function Q(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,u=t.charCodeAt(a+1)-64;s=s>>1^-(1&s),u=u>>1^-(1&u),r=s+=r,o=u+=o,i.push([s/n,u/n])}return i}function J(t,e){return t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;null==n&&(n=1024);var i=e.features;return m.each(i,(function(t){var e=t.geometry,i=e.encodeOffsets,r=e.coordinates;if(i)switch(e.type){case"LineString":e.coordinates=Q(r,i,n);break;case"Polygon":case"MultiLineString":K(r,i,n);break;case"MultiPolygon":m.each(r,(function(t,e){return K(t,i[e],n)}))}})),e.UTF8Encoding=!1,e}(t),m.map(m.filter(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new q(o[0],o.slice(1)));break;case"MultiPolygon":m.each(i.coordinates,(function(t){t[0]&&r.push(new q(t[0],t.slice(1)))}));break;case"LineString":r.push(new Z([i.coordinates]));break;case"MultiLineString":r.push(new Z(i.coordinates))}var a=new $(n[e||"name"],r,n.cp);return a.properties=n,a}))}var tt=n(48369),et=n(89289),nt=n(23114),it=n(99881),rt=n(55741),ot=n(93175),at=n(37315),st=n(39598),ut=n(54230),lt=n(67426),ct=n(97772),ht=n(11694),pt=n(50082),ft=n(86159),dt=n(46416),gt=n(39422),vt=n(74492),yt=n(23750),mt=n(36258),_t=n(21629),xt=n(42271),Dt=n(20863),At=n(62998),bt=n(88463);function Ct(t,e,n,i,r,o,a,s){return new at.Ay({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}}).getBoundingRect()}var wt=n(682),St=n(73955),Mt=n(57250);function Tt(t){var e=c.A.extend(t);return c.A.registerClass(e),e}function kt(t){var e=h.A.extend(t);return h.A.registerClass(e),e}function It(t){var e=p.A.extend(t);return p.A.registerClass(e),e}function Ft(t){var e=f.A.extend(t);return f.A.registerClass(e),e}var Et=n(30555),Ot=n(58893),Pt=n(73631),Bt=n(4995),Lt=n(98944),Nt=n(40220),Rt=n(22042),zt=2*Math.PI,Vt=Lt.A.CMD,Ht=["top","right","bottom","left"];function Wt(t,e,n,i,r){var o=n.width,a=n.height;switch(t){case"top":i.set(n.x+o/2,n.y-e),r.set(0,-1);break;case"bottom":i.set(n.x+o/2,n.y+a+e),r.set(0,1);break;case"left":i.set(n.x-e,n.y+a/2),r.set(-1,0);break;case"right":i.set(n.x+o+e,n.y+a/2),r.set(1,0)}}function Gt(t,e,n,i,r,o,a,s,u){a-=t,s-=e;var l=Math.sqrt(a*a+s*s),c=(a/=l)*n+t,h=(s/=l)*n+e;if(Math.abs(i-r)%zt<1e-4)return u[0]=c,u[1]=h,l-n;if(o){var p=i;i=(0,Nt.n)(r),r=(0,Nt.n)(p)}else i=(0,Nt.n)(i),r=(0,Nt.n)(r);i>r&&(r+=zt);var f=Math.atan2(s,a);if(f<0&&(f+=zt),f>=i&&f<=r||f+zt>=i&&f+zt<=r)return u[0]=c,u[1]=h,l-n;var d=n*Math.cos(i)+t,g=n*Math.sin(i)+e,v=n*Math.cos(r)+t,y=n*Math.sin(r)+e,m=(d-a)*(d-a)+(g-s)*(g-s),_=(v-a)*(v-a)+(y-s)*(y-s);return m<_?(u[0]=d,u[1]=g,Math.sqrt(m)):(u[0]=v,u[1]=y,Math.sqrt(_))}function Ut(t,e,n,i,r,o,a,s){var u=r-t,l=o-e,c=n-t,h=i-e,p=Math.sqrt(c*c+h*h),f=(u*(c/=p)+l*(h/=p))/p;s&&(f=Math.min(Math.max(f,0),1)),f*=p;var d=a[0]=t+f*c,g=a[1]=e+f*h;return Math.sqrt((d-r)*(d-r)+(g-o)*(g-o))}function jt(t,e,n,i,r,o,a){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i);var s=t+n,u=e+i,l=a[0]=Math.min(Math.max(r,t),s),c=a[1]=Math.min(Math.max(o,e),u);return Math.sqrt((l-r)*(l-r)+(c-o)*(c-o))}var Xt=[];function Yt(t,e,n){var i=jt(e.x,e.y,e.width,e.height,t.x,t.y,Xt);return n.set(Xt[0],Xt[1]),i}function qt(t,e,n){for(var i,r,o=0,a=0,s=0,u=0,l=1/0,c=e.data,h=t.x,p=t.y,f=0;f<c.length;){var d=c[f++];1===f&&(s=o=c[f],u=a=c[f+1]);var g=l;switch(d){case Vt.M:o=s=c[f++],a=u=c[f++];break;case Vt.L:g=Ut(o,a,c[f],c[f+1],h,p,Xt,!0),o=c[f++],a=c[f++];break;case Vt.C:g=(0,Rt.Et)(o,a,c[f++],c[f++],c[f++],c[f++],c[f],c[f+1],h,p,Xt),o=c[f++],a=c[f++];break;case Vt.Q:g=(0,Rt.kh)(o,a,c[f++],c[f++],c[f],c[f+1],h,p,Xt),o=c[f++],a=c[f++];break;case Vt.A:var v=c[f++],y=c[f++],m=c[f++],_=c[f++],x=c[f++],D=c[f++];f+=1;var A=!!(1-c[f++]);i=Math.cos(x)*m+v,r=Math.sin(x)*_+y,f<=1&&(s=i,u=r),g=Gt(v,y,_,x,x+D,A,(h-v)*_/m+v,p,Xt),o=Math.cos(x+D)*m+v,a=Math.sin(x+D)*_+y;break;case Vt.R:g=jt(s=o=c[f++],u=a=c[f++],c[f++],c[f++],h,p,Xt);break;case Vt.Z:g=Ut(o,a,s,u,h,p,Xt,!0),o=s,a=u}g<l&&(l=g,n.set(Xt[0],Xt[1]))}return l}var Zt=new Pt.A,$t=new Pt.A,Kt=new Pt.A,Qt=new Pt.A,Jt=new Pt.A;function te(t,e){if(t){var n=t.getTextGuideLine(),i=t.getTextContent();if(i&&n){var r=t.textGuideLineConfig||{},o=[[0,0],[0,0],[0,0]],a=r.candidates||Ht,s=i.getBoundingRect().clone();s.applyTransform(i.getComputedTransform());var u=1/0,l=r.anchor,c=t.getComputedTransform(),h=c&&(0,v.invert)([],c),p=e.get("length2")||0;l&&Kt.copy(l);for(var f=0;f<a.length;f++){Wt(a[f],0,s,Zt,Qt),Pt.A.scaleAndAdd($t,Zt,Qt,p),$t.transform(h);var d=t.getBoundingRect(),g=l?l.distance($t):t instanceof Bt.Ay?qt($t,t.path,Kt):Yt($t,d,Kt);g<u&&(u=g,$t.transform(c),Kt.transform(c),Kt.toArray(o[0]),$t.toArray(o[1]),Zt.toArray(o[2]))}!function(t,e){if(!(e<=180&&e>0))return;e=e/180*Math.PI,Zt.fromArray(t[0]),$t.fromArray(t[1]),Kt.fromArray(t[2]),Pt.A.sub(Qt,Zt,$t),Pt.A.sub(Jt,Kt,$t);var n=Qt.len(),i=Jt.len();if(n<.001||i<.001)return;Qt.scale(1/n),Jt.scale(1/i);var r=Qt.dot(Jt);if(Math.cos(e)<r){var o=Ut($t.x,$t.y,Kt.x,Kt.y,Zt.x,Zt.y,ee,!1);ne.fromArray(ee),ne.scaleAndAdd(Jt,o/Math.tan(Math.PI-e));var a=Kt.x!==$t.x?(ne.x-$t.x)/(Kt.x-$t.x):(ne.y-$t.y)/(Kt.y-$t.y);if(isNaN(a))return;a<0?Pt.A.copy(ne,$t):a>1&&Pt.A.copy(ne,Kt),ne.toArray(t[1])}}(o,e.get("minTurnAngle")),n.setShape({points:o})}}}var ee=[],ne=new Pt.A;function ie(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function re(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=y.dist(i[0],i[1]),o=y.dist(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=y.lerp([],i[1],i[0],a/r),u=y.lerp([],i[1],i[2],a/o),l=y.lerp([],s,u,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],l[0],l[1]),t.bezierCurveTo(u[0],u[1],u[0],u[1],i[2][0],i[2][1])}else for(var c=1;c<i.length;c++)t.lineTo(i[c][0],i[c][1])}var oe=n(2492);function ae(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function se(t,e){var n=t.label,i=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:ae(i&&i.shape.points)}}var ue=["align","verticalAlign","width","height","fontSize"],le=new Ot.Ay,ce=(0,Et.$r)(),he=(0,Et.$r)();function pe(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null!=e[r]&&(t[r]=e[r])}}var fe=["x","y","rotation"];const de=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,i,r){var o=i.style,a=i.__hostTarget.textConfig||{},s=i.getComputedTransform(),u=i.getBoundingRect().plain();V.A.applyTransform(u,u,s),s?le.setLocalTransform(s):(le.x=le.y=le.rotation=le.originX=le.originY=0,le.scaleX=le.scaleY=1),le.rotation=(0,Nt.n)(le.rotation);var l,c=i.__hostTarget;if(c){l=c.getBoundingRect().plain();var h=c.getComputedTransform();V.A.applyTransform(l,l,h)}var p=l&&c.getTextGuideLine();this._labelList.push({label:i,labelLine:p,seriesModel:n,dataIndex:t,dataType:e,layoutOption:r,computedLayoutOption:null,rect:u,hostRect:l,priority:l?l.width*l.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:p&&p.ignore,x:le.x,y:le.y,scaleX:le.scaleX,scaleY:le.scaleY,rotation:le.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:a.position,attachedRot:a.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");((0,m.isFunction)(i)||(0,m.keys)(i).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var r=t.getTextContent(),o=(0,M.z)(t);r&&!r.disableLabelLayout&&e._addLabel(o.dataIndex,o.dataType,n,r,i)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function i(t,e){return function(){te(t,e)}}for(var r=0;r<this._labelList.length;r++){var o=this._labelList[r],a=o.label,s=a.__hostTarget,u=o.defaultAttr,l=void 0;l=(l=(0,m.isFunction)(o.layoutOption)?o.layoutOption(se(o,s)):o.layoutOption)||{},o.computedLayoutOption=l;var c=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=l.x||null!=l.y?null:u.attachedPos,rotation:null!=l.rotate?l.rotate*c:u.attachedRot,offset:[l.dx||0,l.dy||0]});var h=!1;if(null!=l.x?(a.x=(0,tt.lo)(l.x,e),a.setStyle("x",0),h=!0):(a.x=u.x,a.setStyle("x",u.style.x)),null!=l.y?(a.y=(0,tt.lo)(l.y,n),a.setStyle("y",0),h=!0):(a.y=u.y,a.setStyle("y",u.style.y)),l.labelLinePoints){var p=s.getTextGuideLine();p&&(p.setShape({points:l.labelLinePoints}),h=!1)}ce(a).needsUpdateLabelLine=h,a.rotation=null!=l.rotate?l.rotate*c:u.rotation,a.scaleX=u.scaleX,a.scaleY=u.scaleY;for(var f=0;f<ue.length;f++){var d=ue[f];a.setStyle(d,null!=l[d]?l[d]:u.style[d])}if(l.draggable){if(a.draggable=!0,a.cursor="move",s){var g=o.seriesModel;if(null!=o.dataIndex)g=o.seriesModel.getData(o.dataType).getItemModel(o.dataIndex);a.on("drag",i(s,g.getModel("labelLine")))}}else a.off("drag"),a.cursor=u.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),i=(0,oe.os)(this._labelList),r=(0,m.filter)(i,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),o=(0,m.filter)(i,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));(0,oe.QX)(r,0,e),(0,oe.Xe)(o,0,n);var a=(0,m.filter)(i,(function(t){return t.layoutOption.hideOverlap}));(0,oe.If)(a)},t.prototype.processLabelsOverall=function(){var t=this;(0,m.each)(this._chartViewList,(function(e){var n=e.__model,i=e.ignoreLabelLineUpdate,r=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var o=!i,a=e.getTextContent();!o&&a&&(o=ce(a).needsUpdateLabelLine),o&&t._updateLabelLine(e,n),r&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),i=(0,M.z)(t),r=i.dataIndex;if(n&&null!=r){var o=e.getData(i.dataType),a=o.getItemModel(r),s={},u=o.getItemVisual(r,"style");if(u){var l=o.getVisual("drawType");s.stroke=u[l]}var c=a.getModel("labelLine");!function(t,e,n){var i=t.getTextGuideLine(),r=t.getTextContent();if(r){for(var o=e.normal,a=o.get("show"),s=r.ignore,u=0;u<F.wV.length;u++){var l=F.wV[u],c=e[l],h="normal"===l;if(c){var p=c.get("show");if((h?s:(0,m.retrieve2)(r.states[l]&&r.states[l].ignore,s))||!(0,m.retrieve2)(p,a)){var f=h?i:i&&i.states[l];f&&(f.ignore=!0),i&&ie(i,!0,l,c);continue}i||(i=new pt.A,t.setTextGuideLine(i),h||!s&&a||ie(i,!0,"normal",e.normal),t.stateProxy&&(i.stateProxy=t.stateProxy)),ie(i,!1,l,c)}}if(i){(0,m.defaults)(i.style,n),i.style.fill=null;var d=o.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=d||!1,i.buildPath=re}}else i&&t.removeTextGuideLine()}(t,function(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},i=0;i<F.BV.length;i++){var r=F.BV[i];n[r]=t.getModel([r,e])}return n}(a),s),te(t,c)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!(0,it.LR)(t))){var r=(f=ce(n)).oldLayout,o=(0,M.z)(t),a=o.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},u=e.getData(o.dataType);if(r){n.attr(r);var l=t.prevStates;l&&((0,m.indexOf)(l,"select")>=0&&n.attr(f.oldLayoutSelect),(0,m.indexOf)(l,"emphasis")>=0&&n.attr(f.oldLayoutEmphasis)),(0,it.oi)(n,s,e,a)}else if(n.attr(s),!(0,T.Lu)(n).valueAnimation){var c=(0,m.retrieve2)(n.style.opacity,1);n.style.opacity=0,(0,it.LW)(n,{style:{opacity:c}},e,a)}if(f.oldLayout=s,n.states.select){var h=f.oldLayoutSelect={};pe(h,s,fe),pe(h,n.states.select,fe)}if(n.states.emphasis){var p=f.oldLayoutEmphasis={};pe(p,s,fe),pe(p,n.states.emphasis,fe)}(0,T.xb)(n,a,u,e,e)}if(i&&!i.ignore&&!i.invisible){r=(f=he(i)).oldLayout;var f,d={points:i.shape.points};r?(i.attr({shape:r}),(0,it.oi)(i,{shape:d},e)):(i.setShape(d),i.style.strokePercent=0,(0,it.LW)(i,{style:{strokePercent:1}},e)),f.oldLayout=d}},t}();var ge=(0,Et.$r)();(0,N.Y)((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=ge(e).labelManager;i||(i=ge(e).labelManager=new de),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=ge(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}))},99881:(t,e,n)=>{"use strict";n.d(e,{LR:()=>u,LW:()=>s,Nz:()=>l,ap:()=>p,oi:()=>a,t5:()=>h});var i=n(37653),r=(0,n(30555).$r)();function o(t,e,n,r,o,a,s){var u,l=!1;(0,i.isFunction)(o)?(s=a,a=o,o=null):(0,i.isObject)(o)&&(a=o.cb,s=o.during,l=o.isFrom,u=o.removeOpt,o=o.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var h=function(t,e,n,r,o){var a;if(e&&e.ecModel){var s=e.ecModel.getUpdatePayload();a=s&&s.animation}var u="update"===t;if(e&&e.isAnimationEnabled()){var l=void 0,c=void 0,h=void 0;return r?(l=(0,i.retrieve2)(r.duration,200),c=(0,i.retrieve2)(r.easing,"cubicOut"),h=0):(l=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),h=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(l=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(h=a.delay)),(0,i.isFunction)(h)&&(h=h(n,o)),(0,i.isFunction)(l)&&(l=l(n)),{duration:l||0,delay:h,easing:c}}return null}(t,r,o,c?u||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,o):null);if(h&&h.duration>0){var p={duration:h.duration,delay:h.delay||0,easing:h.easing,done:a,force:!!a||!!s,setToFinal:!c,scope:t,during:s};l?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),!l&&e.attr(n),s&&s(1),a&&a()}function a(t,e,n,i,r,a){o("update",t,e,n,i,r,a)}function s(t,e,n,i,r,a){o("enter",t,e,n,i,r,a)}function u(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function l(t,e,n,i,r,a){u(t)||o("leave",t,e,n,i,r,a)}function c(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),l(t,{style:{opacity:0}},e,n,i)}function h(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||c(t,e,n,i)})):c(t,e,n,i)}function p(t){r(t).oldStyle=t.style}},39083:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(30555);function r(){var t=(0,i.$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"}}},31170:(t,e,n)=>{"use strict";n.d(e,{A:()=>v});var i=n(37653),r=n(3325),o=n(59154),a=n(99819),s=n(30555),u=n(27486),l=function(t){this.coordSysDims=[],this.axisMap=(0,i.createHashMap)(),this.categoryAxisMap=(0,i.createHashMap)(),this.coordSysName=t};var c={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",s.US).models[0],o=t.getReferringComponents("yAxis",s.US).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),h(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),h(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",s.US).models[0];e.coordSysDims=["single"],n.set("single",r),h(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",s.US).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),h(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),h(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,r){var o=t.ecModel,a=o.getComponent("parallel",t.get("parallelIndex")),s=e.coordSysDims=a.dimensions.slice();(0,i.each)(a.parallelAxisIndex,(function(t,i){var a=o.getComponent("parallelAxis",t),u=s[i];n.set(u,a),h(a)&&(r.set(u,a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=i))}))}};function h(t){return"category"===t.get("type")}var p=n(76041),f=n(4791),d=n(75038),g=n(61907);const v=function(t,e,n){n=n||{};var h,v=e.getSourceManager(),y=!1;t?(y=!0,h=(0,p.AF)(t)):y=(h=v.getSource()).sourceFormat===g.mK;var m=function(t){var e=t.get("coordinateSystem"),n=new l(e),i=c[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),_=function(t,e){var n,r=t.get("coordinateSystem"),o=u.A.get(r);return e&&e.coordSysDims&&(n=i.map(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=(0,a.B)(r)}return n}))),n||(n=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),n}(e,m),x=n.useEncodeDefaulter,D=i.isFunction(x)?x:x?i.curry(d.OC,_,e):null,A={coordDimensions:_,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:D,canOmitUnusedDimensions:!y},b=(0,o.A)(h,A),C=function(t,e,n){var r,o;return n&&i.each(t,(function(t,i){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==r&&(r=i),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(o=!0)})),o||null==r||(t[r].otherDims.itemName=0),r}(b.dimensions,n.createInvertedIndices,m),w=y?null:v.getSharedDataStore(b),S=(0,f.iJ)(e,{schema:b,store:w}),M=new r.A(b,e);M.setCalculationInfo(S);var T=null!=C&&function(t){if(t.sourceFormat===g.mK){var e=function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!i.isArray((0,s.vj)(e))}}(h)?function(t,e,n,i){return i===C?n:this.defaultDimValueGetter(t,e,n,i)}:null;return M.hasItemOption=!1,M.initData(y?h:w,null,T),M}},97481:(t,e,n)=>{"use strict";n.d(e,{a:()=>pt});var i=n(1344),r=n(31170),o=n(52636),a=n(56340),s=n(55741);const u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,i.__extends)(e,t),e.prototype.getInitialData=function(t){return(0,r.A)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.A,n=(0,a.v5)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,u=.8*t.itemHeight,l=(0,a.v5)(o,(t.itemWidth-u)/2,(t.itemHeight-u)/2,u,u,t.itemStyle.fill);e.add(l),l.setStyle(t.itemStyle);var c="inherit"===t.iconRotate?r:t.iconRotate||0;return l.rotation=c*Math.PI/180,l.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},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,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(o.A);var l=n(37653),c=n(99881),h=n(23114),p=n(63821),f=n(56402),d=n(99766);function g(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=(0,d.QE)(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a<n.length;a++)o.push((0,d.QE)(t,e,n[a]));return o.join(" ")}}var v=n(47533),y=n(93175);function m(t,e){this.parent.drift(t,e)}const _=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.__extends)(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=(0,a.v5)(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=m,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){(0,f.HY)(this.childAt(0))},e.prototype.downplay=function(){(0,f.SD)(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),u=o!==this._symbolType,l=r&&r.disableAnimation;if(u){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{(f=this.childAt(0)).silent=!1;var p={scaleX:s[0]/2,scaleY:s[1]/2};l?f.attr(p):c.oi(f,p,a,n),(0,c.ap)(f)}if(this._updateCommon(t,n,s,i,r),u){var f=this.childAt(0);if(!l){p={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,c.LW(f,p,a,n)}}l&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,s,u,c,h,p,d,m,_,x=this.childAt(0),D=t.hostModel;if(i&&(o=i.emphasisItemStyle,s=i.blurItemStyle,u=i.selectItemStyle,c=i.focus,h=i.blurScope,d=i.labelStatesModels,m=i.hoverScale,_=i.cursorStyle,p=i.emphasisDisabled),!i||t.hasItemOption){var A=i&&i.itemModel?i.itemModel:t.getItemModel(e),b=A.getModel("emphasis");o=b.getModel("itemStyle").getItemStyle(),u=A.getModel(["select","itemStyle"]).getItemStyle(),s=A.getModel(["blur","itemStyle"]).getItemStyle(),c=b.get("focus"),h=b.get("blurScope"),p=b.get("disabled"),d=(0,v.lx)(A),m=b.getShallow("scale"),_=A.getShallow("cursor")}var C=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(C||0)*Math.PI/180||0);var w=(0,a.hV)(t.getItemVisual(e,"symbolOffset"),n);w&&(x.x=w[0],x.y=w[1]),_&&x.attr("cursor",_);var S=t.getItemVisual(e,"style"),M=S.fill;if(x instanceof y.Ay){var T=x.style;x.useStyle((0,l.extend)({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},S))}else x.__isEmptyBrush?x.useStyle((0,l.extend)({},S)):x.useStyle(S),x.style.decal=null,x.setColor(M,r&&r.symbolInnerColor),x.style.strokeNoScale=!0;var k=t.getItemVisual(e,"liftZ"),I=this._z2;null!=k?null==I&&(this._z2=x.z2,x.z2+=k):null!=I&&(x.z2=I,this._z2=null);var F=r&&r.useNameLabel;(0,v.qM)(x,d,{labelFetcher:D,labelDataIndex:e,defaultText:function(e){return F?t.getName(e):g(t,e)},inheritColor:M,defaultOpacity:S.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var E=x.ensureState("emphasis");E.style=o,x.ensureState("select").style=u,x.ensureState("blur").style=s;var O=null==m||!0===m?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;E.scaleX=this._sizeX*O,E.scaleY=this._sizeY*O,this.setSymbolScale(1),(0,f.Lm)(this,c,h,p)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=(0,p.z)(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&c.Nz(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();c.Nz(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,a.xU)(t.getItemVisual(e,"symbolSize"))},e}(s.A);function x(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 D(t){return null==t||(0,l.isObject)(t)||(t={isIgnore:t}),t||{}}function A(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:(0,v.lx)(e),cursorStyle:e.get("cursor")}}const b=function(){function t(t){this.group=new s.A,this._SymbolCtor=t||_}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=D(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=A(t),u={disableAnimation:a},l=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=l(i);if(x(t,r,i,e)){var a=new o(t,i,s,u);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,p){var f=r.getItemGraphicEl(p),d=l(h);if(x(t,d,h,e)){var g=t.getItemVisual(h,"symbol")||"circle",v=f&&f.getSymbolType&&f.getSymbolType();if(!f||v&&v!==g)n.remove(f),(f=new o(t,h,s,u)).setPosition(d);else{f.updateData(t,h,s,u);var y={x:d[0],y:d[1]};a?f.attr(y):c.oi(f,y,i)}n.add(f),t.setItemGraphicEl(h,f)}else n.remove(f)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=l,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=A(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=D(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(x(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){h.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}();var C=n(4791);function w(t,e,n){var i=t.getBaseAxis(),r=t.getOtherAxis(i),o=function(t,e){var n=0,i=t.scale.getExtent();"start"===e?n=i[0]:"end"===e?n=i[1]:(0,l.isNumber)(e)&&!isNaN(e)?n=e:i[0]>0?n=i[0]:i[1]<0&&(n=i[1]);return n}(r,n),a=i.dim,s=r.dim,u=e.mapDimension(s),c=e.mapDimension(a),h="x"===s||"radius"===s?1:0,p=(0,l.map)(t.dimensions,(function(t){return e.mapDimension(t)})),f=!1,d=e.getCalculationInfo("stackResultDimension");return(0,C.sJ)(e,p[0])&&(f=!0,p[0]=d),(0,C.sJ)(e,p[1])&&(f=!0,p[1]=d),{dataDimsForPoint:p,valueStart:o,valueAxisDim:s,baseAxisDim:a,stacked:!!f,valueDim:u,baseDim:c,baseDataOffset:h,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function S(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)}var M="undefined"!==typeof Float32Array,T=M?Float32Array:Array;function k(t){return(0,l.isArray)(t)?M?new Float32Array(t):t:new T(t)}var I=n(21629),F=n(37315),E=n(30555),O=n(4995),P=n(98944),B=n(22042),L=Math.min,N=Math.max;function R(t,e){return isNaN(t)||isNaN(e)}function z(t,e,n,i,r,o,a,s,u){for(var l,c,h,p,f,d,g=n,v=0;v<i;v++){var y=e[2*g],m=e[2*g+1];if(g>=r||g<0)break;if(R(y,m)){if(u){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](y,m),h=y,p=m;else{var _=y-l,x=m-c;if(_*_+x*x<.5){g+=o;continue}if(a>0){for(var D=g+o,A=e[2*D],b=e[2*D+1];A===y&&b===m&&v<i;)v++,g+=o,A=e[2*(D+=o)],b=e[2*D+1],_=(y=e[2*g])-l,x=(m=e[2*g+1])-c;var C=v+1;if(u)for(;R(A,b)&&C<i;)C++,A=e[2*(D+=o)],b=e[2*D+1];var w=.5,S=0,M=0,T=void 0,k=void 0;if(C>=i||R(A,b))f=y,d=m;else{S=A-l,M=b-c;var I=y-l,F=A-y,E=m-c,O=b-m,P=void 0,B=void 0;if("x"===s){var z=S>0?1:-1;f=y-z*(P=Math.abs(I))*a,d=m,T=y+z*(B=Math.abs(F))*a,k=m}else if("y"===s){var V=M>0?1:-1;f=y,d=m-V*(P=Math.abs(E))*a,T=y,k=m+V*(B=Math.abs(O))*a}else P=Math.sqrt(I*I+E*E),f=y-S*a*(1-(w=(B=Math.sqrt(F*F+O*O))/(B+P))),d=m-M*a*(1-w),k=m+M*a*w,T=L(T=y+S*a*w,N(A,y)),k=L(k,N(b,m)),T=N(T,L(A,y)),d=m-(M=(k=N(k,L(b,m)))-m)*P/B,f=L(f=y-(S=T-y)*P/B,N(l,y)),d=L(d,N(c,m)),T=y+(S=y-(f=N(f,L(l,y))))*B/P,k=m+(M=m-(d=N(d,L(c,m))))*B/P}t.bezierCurveTo(h,p,f,d,y,m),h=T,p=k}else t.lineTo(y,m)}l=y,c=m,g+=o}return v}var V=function(){this.smooth=0,this.smoothConstraint=!0},H=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new V},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&R(n[2*r-2],n[2*r-1]);r--);for(;i<r&&R(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=z(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,o=P.A.CMD,a="x"===e,s=[],u=0;u<r.length;){var l=void 0,c=void 0,h=void 0,p=void 0,f=void 0,d=void 0,g=void 0;switch(r[u++]){case o.M:n=r[u++],i=r[u++];break;case o.L:if(l=r[u++],c=r[u++],(g=a?(t-n)/(l-n):(t-i)/(c-i))<=1&&g>=0){var v=a?(c-i)*g+i:(l-n)*g+n;return a?[t,v]:[v,t]}n=l,i=c;break;case o.C:l=r[u++],c=r[u++],h=r[u++],p=r[u++],f=r[u++],d=r[u++];var y=a?(0,B._E)(n,l,h,f,t,s):(0,B._E)(i,c,p,d,t,s);if(y>0)for(var m=0;m<y;m++){var _=s[m];if(_<=1&&_>=0){v=a?(0,B.Yb)(i,c,p,d,_):(0,B.Yb)(n,l,h,f,_);return a?[t,v]:[v,t]}}n=f,i=d}}},e}(O.Ay),W=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e}(V),G=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new W},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0&&R(n[2*o-2],n[2*o-1]);o--);for(;r<o&&R(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=z(t,n,r,o,o,1,e.smooth,a,e.connectNulls);z(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(O.Ay),U=n(52079),j=n(86159),X=n(67426),Y=n(48369);function q(t,e,n,i,r){var o=t.getArea(),a=o.x,s=o.y,u=o.width,h=o.height,p=n.get(["lineStyle","width"])||2;a-=p/2,s-=p/2,u+=p,h+=p,u=Math.ceil(u),a!==Math.floor(a)&&(a=Math.floor(a),u++);var f=new j.A({shape:{x:a,y:s,width:u,height:h}});if(e){var d=t.getBaseAxis(),g=d.isHorizontal(),v=d.inverse;g?(v&&(f.shape.x+=u),f.shape.width=0):(v||(f.shape.y+=h),f.shape.height=0);var y=(0,l.isFunction)(r)?function(t){r(t,f)}:null;c.LW(f,{shape:{width:u,height:h,x:a,y:s}},n,null,i,y)}return f}function Z(t,e,n){var i=t.getArea(),r=(0,Y.LI)(i.r0,1),o=(0,Y.LI)(i.r,1),a=new X.A({shape:{cx:(0,Y.LI)(t.cx,1),cy:(0,Y.LI)(t.cy,1),r0:r,r:o,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});e&&("angle"===t.getBaseAxis().dim?a.shape.endAngle=i.startAngle:a.shape.r=r,c.LW(a,{shape:{endAngle:i.endAngle,r:o}},n));return a}var $=n(20863),K=n(98259);function Q(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function J(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function tt(t,e){var n=J(t),i=n[0],r=n[1],o=J(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function et(t){return l.isNumber(t)?t:t?.5:0}function nt(t,e,n,i){var r=e.getBaseAxis(),o="x"===r.dim||"radius"===r.dim?0:1,a=[],s=0,u=[],l=[],c=[],h=[];if(i){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||h.push(t[s],t[s+1]);t=h}for(s=0;s<t.length-2;s+=2)switch(c[0]=t[s+2],c[1]=t[s+3],l[0]=t[s],l[1]=t[s+1],a.push(l[0],l[1]),n){case"end":u[o]=c[o],u[1-o]=l[1-o],a.push(u[0],u[1]);break;case"middle":var p=(l[o]+c[o])/2,f=[];u[o]=f[o]=p,u[1-o]=l[1-o],f[1-o]=c[1-o],a.push(u[0],u[1]),a.push(f[0],f[1]);break;default:u[o]=l[o],u[1-o]=c[1-o],a.push(u[0],u[1])}return a.push(t[s++],t[s++]),a}function it(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count()&&"cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var s=t.getDimensionInfo(i[a].dimension);if("x"===(r=s&&s.coordDim)||"y"===r){o=i[a];break}}if(o){var u=e.getAxis(r),c=l.map(o.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),h=c.length,p=o.outerColors.slice();h&&c[0].coord>c[h-1].coord&&(c.reverse(),p.reverse());var f=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i);return{coord:n,color:(0,K.lerp)(r,[t.color,e.color])}}for(var s=0;s<o;s++){var u=t[s],l=u.coord;if(l<0)n=u;else{if(l>e){i?r.push(a(i,u,e)):n&&r.push(a(n,u,0),a(n,u,e));break}n&&(r.push(a(n,u,0)),n=null),r.push(u),i=u}}return r}(c,"x"===r?n.getWidth():n.getHeight()),d=f.length;if(!d&&h)return c[0].coord<0?p[1]?p[1]:c[h-1].color:p[0]?p[0]:c[0].color;var g=f[0].coord-10,v=f[d-1].coord+10,y=v-g;if(y<.001)return"transparent";l.each(f,(function(t){t.offset=(t.coord-g)/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 m=new I.A(0,0,0,0,f,!0);return m[r]=g,m[r+"2"]=v,m}}}function rt(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!function(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*_.getSymbolSize(e,a)[t.isHorizontal()?1:0]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return l.each(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function ot(t,e){return[t[2*e],t[2*e+1]]}function at(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<f.BV.length;e++)if(t.get([f.BV[e],"endLabel","show"]))return!0;return!1}function st(t,e,n,i){if(function(t,e){return t.type===e}(e,"cartesian2d")){var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},u=at(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,l=e.getBaseAxis().isHorizontal(),c=q(e,n,i,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),u);if(!i.get("clip",!0)){var h=c.shape,p=Math.max(h.width,h.height);l?(h.y-=p,h.height+=2*p):(h.x-=p,h.width+=2*p)}return u&&u(1,c),c}return Z(e,n,i)}const ut=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.init=function(){var t=new s.A,e=new b;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),u=t.getModel("areaStyle"),h=a.getLayout("points")||[],d="polar"===r.type,g=this._coordSys,v=this._symbolDraw,y=this._polyline,m=this._polygon,_=this._lineGroup,x=!e.ssr&&t.get("animation"),D=!u.isEmpty(),A=u.get("origin"),b=w(r,a,A),C=D&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=k(2*i),o=0;o<i;o++){var a=S(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,b),M=t.get("showSymbol"),T=t.get("connectNulls"),I=M&&!d&&rt(t,a,r),F=this._data;F&&F.eachItemGraphicEl((function(t,e){t.__temp&&(o.remove(t),F.setItemGraphicEl(e,null))})),M||v.remove(),o.add(_);var E,O=!d&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(E=r.getArea()).width?(E.x-=.1,E.y-=.1,E.width+=.2,E.height+=.2):E.r0&&(E.r0-=.5,E.r+=.5)),this._clipShapeForSymbol=E;var P=it(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(y&&g.type===r.type&&O===this._step){D&&!m?m=this._newPolygon(h,C):m&&!D&&(_.remove(m),m=this._polygon=null),d||this._initOrUpdateEndLabel(t,r,(0,$.he)(P));var B=_.getClipPath();if(B){var L=st(this,r,!1,t);c.LW(B,{shape:L.shape},t)}else _.setClipPath(st(this,r,!0,t));M&&v.updateData(a,{isIgnore:I,clipShape:E,disableAnimation:!0,getSymbolPoint:function(t){return[h[2*t],h[2*t+1]]}}),Q(this._stackedOnPoints,C)&&Q(this._points,h)||(x?this._doUpdateAnimation(a,C,r,n,O,A,T):(O&&(h=nt(h,r,O,T),C&&(C=nt(C,r,O,T))),y.setShape({points:h}),m&&m.setShape({points:h,stackedOnPoints:C})))}else M&&v.updateData(a,{isIgnore:I,clipShape:E,disableAnimation:!0,getSymbolPoint:function(t){return[h[2*t],h[2*t+1]]}}),x&&this._initSymbolLabelAnimation(a,r,E),O&&(h=nt(h,r,O,T),C&&(C=nt(C,r,O,T))),y=this._newPolyline(h),D?m=this._newPolygon(h,C):m&&(_.remove(m),m=this._polygon=null),d||this._initOrUpdateEndLabel(t,r,(0,$.he)(P)),_.setClipPath(st(this,r,!0,t));var N=t.getModel("emphasis"),R=N.get("focus"),z=N.get("blurScope"),V=N.get("disabled");(y.useStyle(l.defaults(s.getLineStyle(),{fill:"none",stroke:P,lineJoin:"bevel"})),(0,f.Mx)(y,t,"lineStyle"),y.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(y.getState("emphasis").style.lineWidth=+y.style.lineWidth+1);(0,p.z)(y).seriesIndex=t.seriesIndex,(0,f.Lm)(y,R,z,V);var H=et(t.get("smooth")),W=t.get("smoothMonotone");if(y.setShape({smooth:H,smoothMonotone:W,connectNulls:T}),m){var G=a.getCalculationInfo("stackedOnSeries"),U=0;m.useStyle(l.defaults(u.getAreaStyle(),{fill:P,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),G&&(U=et(G.get("smooth"))),m.setShape({smooth:H,stackedOnSmooth:U,smoothMonotone:W,connectNulls:T}),(0,f.Mx)(m,t,"areaStyle"),(0,p.z)(m).seriesIndex=t.seriesIndex,(0,f.Lm)(m,R,z,V)}var j=function(t){i._changePolyState(t)};a.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=j)})),this._polyline.onHoverStateChange=j,this._data=a,this._coordSys=r,this._stackedOnPoints=C,this._points=h,this._step=O,this._valueOrigin=A,t.get("triggerLineEvent")&&(this.packEventData(t,y),m&&this.packEventData(t,m))},e.prototype.packEventData=function(t,e){(0,p.z)(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=E.le(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var u=a[2*o],l=a[2*o+1];if(isNaN(u)||isNaN(l))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u,l))return;var c=t.get("zlevel")||0,h=t.get("z")||0;(s=new _(r,o)).x=u,s.y=l,s.setZ(c,h);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=c,p.z=h,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else U.A.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=E.le(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else U.A.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;(0,f.Pk)(this._polyline,t),e&&(0,f.Pk)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new H({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new G({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,u=s.get("animationDuration");l.isFunction(u)&&(u=u(null));var c=s.get("animationDelay")||0,h=l.isFunction(c)?c(null):c;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var p=[t.x,t.y],f=void 0,d=void 0,g=void 0;if(n)if(r){var v=n,y=e.pointToCoord(p);i?(f=v.startAngle,d=v.endAngle,g=-y[1]/180*Math.PI):(f=v.r0,d=v.r,g=y[0])}else{var m=n;i?(f=m.x,d=m.x+m.width,g=t.x):(f=m.y+m.height,d=m.y,g=t.y)}var _=d===f?0:(g-f)/(d-f);a&&(_=1-_);var x=l.isFunction(c)?c(o):u*_+h,D=s.getSymbolPath(),A=D.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),A&&A.animateFrom({style:{opacity:0}},{duration:300,delay:x}),D.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(at(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new F.Ay({z2:200})).ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var u=function(t){for(var e,n,i=t.length/2;i>0&&(e=t[2*i-2],n=t[2*i-1],isNaN(e)||isNaN(n));i--);return i-1}(a);u>=0&&((0,v.qM)(o,(0,v.lx)(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:u,defaultText:function(t,e,n){return null!=n?function(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,l.isArray)(e))return e+"";for(var i=[],r=0;r<n.length;r++){var o=t.getDimensionIndex(n[r]);o>=0&&i.push(e[o])}return i.join(" ")}(r,n):g(r,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),i=n.isHorizontal(),r=n.inverse,o=i?r?"right":"left":"center",a=i?"middle":r?"top":"bottom";return{normal:{align:t.get("align")||o,verticalAlign:t.get("verticalAlign")||a}}}(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,u=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var l=n.getLayout("points"),c=n.hostModel,h=c.get("connectNulls"),p=o.get("precision"),f=o.get("distance")||0,d=a.getBaseAxis(),g=d.isHorizontal(),y=d.inverse,m=e.shape,_=y?g?m.x:m.y+m.height:g?m.x+m.width:m.y,x=(g?f:0)*(y?-1:1),D=(g?0:-f)*(y?-1:1),A=g?"x":"y",b=function(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,u=-1,l=0;l<o;l++)if(r=t[2*l+a],!isNaN(r)&&!isNaN(t[2*l+1-a]))if(0!==l){if(i<=e&&r>=e||i>=e&&r<=e){u=l;break}s=l,i=r}else i=r;return{range:[s,u],t:(e-i)/(r-i)}}(l,_,A),C=b.range,w=C[1]-C[0],S=void 0;if(w>=1){if(w>1&&!h){var M=ot(l,C[0]);s.attr({x:M[0]+x,y:M[1]+D}),r&&(S=c.getRawValue(C[0]))}else{(M=u.getPointOn(_,A))&&s.attr({x:M[0]+x,y:M[1]+D});var T=c.getRawValue(C[0]),k=c.getRawValue(C[1]);r&&(S=E.Il(n,p,T,k,b.t))}i.lastFrameIndex=C[0]}else{var I=1===t||i.lastFrameIndex>0?C[0]:0;M=ot(l,I);r&&(S=c.getRawValue(I)),s.attr({x:M[0]+x,y:M[1]+D})}if(r){var F=(0,v.Lu)(s);"function"===typeof F.setLabelText&&F.setLabelText(S)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,u=this._polygon,l=t.hostModel,h=function(t,e,n,i,r,o,a){for(var s=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),u=[],l=[],c=[],h=[],p=[],f=[],d=[],g=w(r,e,a),v=t.getLayout("points")||[],y=e.getLayout("points")||[],m=0;m<s.length;m++){var _=s[m],x=!0,D=void 0,A=void 0;switch(_.cmd){case"=":D=2*_.idx,A=2*_.idx1;var b=v[D],C=v[D+1],M=y[A],T=y[A+1];(isNaN(b)||isNaN(C))&&(b=M,C=T),u.push(b,C),l.push(M,T),c.push(n[D],n[D+1]),h.push(i[A],i[A+1]),d.push(e.getRawIndex(_.idx1));break;case"+":var I=_.idx,F=g.dataDimsForPoint,E=r.dataToPoint([e.get(F[0],I),e.get(F[1],I)]);A=2*I,u.push(E[0],E[1]),l.push(y[A],y[A+1]);var O=S(g,r,e,I);c.push(O[0],O[1]),h.push(i[A],i[A+1]),d.push(e.getRawIndex(I));break;case"-":x=!1}x&&(p.push(_),f.push(f.length))}f.sort((function(t,e){return d[t]-d[e]}));var P=u.length,B=k(P),L=k(P),N=k(P),R=k(P),z=[];for(m=0;m<f.length;m++){var V=f[m],H=2*m,W=2*V;B[H]=u[W],B[H+1]=u[W+1],L[H]=l[W],L[H+1]=l[W+1],N[H]=c[W],N[H+1]=c[W+1],R[H]=h[W],R[H+1]=h[W+1],z[m]=p[V]}return{current:B,next:L,stackedOnCurrent:N,stackedOnNext:R,status:z}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),p=h.current,f=h.stackedOnCurrent,d=h.next,g=h.stackedOnNext;if(r&&(p=nt(h.current,n,r,a),f=nt(h.stackedOnCurrent,n,r,a),d=nt(h.next,n,r,a),g=nt(h.stackedOnNext,n,r,a)),tt(p,d)>3e3||u&&tt(f,g)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(u&&(u.stopAnimation(),u.setShape({points:d,stackedOnPoints:g})));s.shape.__points=h.current,s.shape.points=p;var v={shape:{points:d}};h.current!==p&&(v.shape.__points=h.next),s.stopAnimation(),c.oi(s,v,l),u&&(u.setShape({points:p,stackedOnPoints:f}),u.stopAnimation(),c.oi(u,{shape:{stackedOnPoints:g}},l),s.shape.points!==u.shape.points&&(u.shape.points=s.shape.points));for(var y=[],m=h.status,_=0;_<m.length;_++){if("="===m[_].cmd){var x=t.getItemGraphicEl(m[_].idx1);x&&y.push({el:x,ptIdx:_})}}s.animators&&s.animators.length&&s.animators[0].during((function(){u&&u.dirtyShape();for(var t=s.shape.__points,e=0;e<y.length;e++){var n=y[e].el,i=2*y[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}}))},e.prototype.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._endLabel=this._data=null},e.type="line",e}(U.A);var lt=n(39083);var ct={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},minmax:function(t){for(var e=-1/0,n=-1/0,i=0;i<t.length;i++){var r=t[i],o=Math.abs(r);o>e&&(e=o,n=r)}return isFinite(n)?n:NaN},nearest:function(t){return t[0]}},ht=function(t){return Math.round(t.length/2)};function pt(t){var e;t.registerChartView(ut),t.registerSeriesModel(u),t.registerLayout((e=!0,{seriesType:"line",plan:(0,lt.A)(),reset:function(t){var n=t.getData(),i=t.coordinateSystem,r=t.pipelineContext,o=e||r.large;if(i){var a=(0,l.map)(i.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=a.length,u=n.getCalculationInfo("stackResultDimension");(0,C.sJ)(n,a[0])&&(a[0]=u),(0,C.sJ)(n,a[1])&&(a[1]=u);var c=n.getStore(),h=n.getDimensionIndex(a[0]),p=n.getDimensionIndex(a[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,r=o&&k(n*s),a=[],u=[],l=t.start,f=0;l<t.end;l++){var d=void 0;if(1===s){var g=c.get(h,l);d=i.dataToPoint(g,null,u)}else a[0]=c.get(h,l),a[1]=c.get(p,l),d=i.dataToPoint(a,null,u);o?(r[f++]=d[0],r[f++]=d[1]):e.setItemLayout(l,d.slice())}o&&e.setLayout("points",r)}}}}})),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t){return{seriesType:t,reset:function(t,e,n){var i=t.getData(),r=t.get("sampling"),o=t.coordinateSystem,a=i.count();if(a>10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),u=o.getOtherAxis(s),c=s.getExtent(),h=n.getDevicePixelRatio(),p=Math.abs(c[1]-c[0])*(h||1),f=Math.round(a/p);if(isFinite(f)&&f>1){"lttb"===r&&t.setData(i.lttbDownSample(i.mapDimension(u.dim),1/f));var d=void 0;(0,l.isString)(r)?d=ct[r]:(0,l.isFunction)(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(u.dim),1/f,d,ht))}}}}}("line"))}},27407:(t,e,n)=>{"use strict";n.d(e,{A:()=>C});var i=n(37653),r=n(55741),o=n(46416),a=n(23114),s=n(37315),u=n(63821),l=n(47533),c=n(92160),h=n(48369),p=n(56340),f=n(65472),d=n(52278),g=n(87658),v=n(2492),y=Math.PI,m=function(){function t(t,e){this.group=new r.A,this.opt=e,this.axisModel=t,(0,i.defaults)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new r.A({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!_[t]},t.prototype.add=function(t){_[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var i,r,o=(0,h._7)(e-t);return(0,h.dh)(o)?(r=n>0?"top":"bottom",i="center"):(0,h.dh)(o-y)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<y?n>0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),_={axisLine:function(t,e,n,r){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var u=e.axis.getExtent(),l=r.transform,c=[u[0],0],h=[u[1],0],f=c[0]>h[0];l&&((0,d.applyTransform)(c,c,l),(0,d.applyTransform)(h,h,l));var g=(0,i.extend)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),v=new o.A({shape:{x1:c[0],y1:c[1],x2:h[0],y2:h[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(v.shape,v.style.lineWidth),v.anid="line",n.add(v);var y=e.get(["axisLine","symbol"]);if(null!=y){var m=e.get(["axisLine","symbolSize"]);(0,i.isString)(y)&&(y=[y,y]),((0,i.isString)(m)||(0,i.isNumber)(m))&&(m=[m,m]);var _=(0,p.hV)(e.get(["axisLine","symbolOffset"])||0,m),x=m[0],D=m[1];(0,i.each)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((c[0]-h[0])*(c[0]-h[0])+(c[1]-h[1])*(c[1]-h[1]))}],(function(e,i){if("none"!==y[i]&&null!=y[i]){var r=(0,p.v5)(y[i],-x/2,-D/2,x,D,g.stroke,!0),o=e.r+e.offset,a=f?h:c;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,r){var o=function(t,e,n,r){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");"auto"===s&&r.handleAutoShown&&(s=r.handleAutoShown("axisTick"));if(!s||o.scale.isBlank())return;for(var u=a.getModel("lineStyle"),l=r.tickDirection*a.get("length"),c=b(o.getTicksCoords(),e.transform,l,(0,i.defaults)(u.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),h=0;h<c.length;h++)t.add(c[h]);return c}(n,r,e,t),a=function(t,e,n,r){var o=n.axis,a=(0,i.retrieve)(r.axisLabelShow,n.get(["axisLabel","show"]));if(!a||o.scale.isBlank())return;var h=n.getModel("axisLabel"),p=h.get("margin"),f=o.getViewLabels(),d=((0,i.retrieve)(r.labelRotate,h.get("rotate"))||0)*y/180,g=m.innerTextLayout(r.rotation,d,r.labelDirection),v=n.getCategories&&n.getCategories(!0),_=[],x=m.isLabelSilent(n),D=n.get("triggerEvent");return(0,i.each)(f,(function(a,d){var y="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(a.tickValue):a.tickValue,A=a.formattedLabel,b=a.rawLabel,C=h;if(v&&v[y]){var w=v[y];(0,i.isObject)(w)&&w.textStyle&&(C=new c.A(w.textStyle,h,n.ecModel))}var S=C.getTextColor()||n.get(["axisLine","lineStyle","color"]),M=o.dataToCoord(y),T=C.getShallow("align",!0)||g.textAlign,k=(0,i.retrieve2)(C.getShallow("alignMinLabel",!0),T),I=(0,i.retrieve2)(C.getShallow("alignMaxLabel",!0),T),F=C.getShallow("verticalAlign",!0)||C.getShallow("baseline",!0)||g.textVerticalAlign,E=(0,i.retrieve2)(C.getShallow("verticalAlignMinLabel",!0),F),O=(0,i.retrieve2)(C.getShallow("verticalAlignMaxLabel",!0),F),P=new s.Ay({x:M,y:r.labelOffset+r.labelDirection*p,rotation:g.rotation,silent:x,z2:10+(a.level||0),style:(0,l.VB)(C,{text:A,align:0===d?k:d===f.length-1?I:T,verticalAlign:0===d?E:d===f.length-1?O:F,fill:(0,i.isFunction)(S)?S("category"===o.type?b:"value"===o.type?y+"":y,d):S})});if(P.anid="label_"+y,D){var B=m.makeAxisEventDataBase(n);B.targetType="axisLabel",B.value=b,B.tickIndex=d,"category"===o.type&&(B.dataIndex=y),(0,u.z)(P).eventData=B}e.add(P),P.updateTransform(),_.push(P),t.add(P),P.decomposeTransform()})),_}(n,r,e,t);if(function(t,e,n){if((0,g.PJ)(t.axis))return;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],u=e[e.length-2],l=n[0],c=n[1],h=n[n.length-1],p=n[n.length-2];!1===i?(x(o),x(l)):D(o,a)&&(i?(x(a),x(c)):(x(o),x(l)));!1===r?(x(s),x(h)):D(u,s)&&(r?(x(u),x(p)):(x(s),x(h)))}(e,a,o),function(t,e,n,r){var o=n.axis,a=n.getModel("minorTick");if(!a.get("show")||o.scale.isBlank())return;var s=o.getMinorTicksCoords();if(!s.length)return;for(var u=a.getModel("lineStyle"),l=r*a.get("length"),c=(0,i.defaults)(u.getLineStyle(),(0,i.defaults)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),h=0;h<s.length;h++)for(var p=b(s[h],e.transform,l,c,"minorticks_"+h),f=0;f<p.length;f++)t.add(p[f])}(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var h=(0,v.os)((0,i.map)(a,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));(0,v.If)(h)}},axisName:function(t,e,n,r){var o=(0,i.retrieve)(t.axisName,e.get("name"));if(o){var c,p,f=e.get("nameLocation"),d=t.nameDirection,g=e.getModel("nameTextStyle"),v=e.get("nameGap")||0,_=e.axis.getExtent(),x=_[0]>_[1]?-1:1,D=["start"===f?_[0]-x*v:"end"===f?_[1]+x*v:(_[0]+_[1])/2,A(f)?t.labelOffset+d*v:0],b=e.get("nameRotate");null!=b&&(b=b*y/180),A(f)?c=m.innerTextLayout(t.rotation,null!=b?b:t.rotation,d):(c=function(t,e,n,i){var r,o,a=(0,h._7)(n-t),s=i[0]>i[1],u="start"===e&&!s||"start"!==e&&s;(0,h.dh)(a-y/2)?(o=u?"bottom":"top",r="center"):(0,h.dh)(a-1.5*y)?(o=u?"top":"bottom",r="center"):(o="middle",r=a<1.5*y&&a>y/2?u?"left":"right":u?"right":"left");return{rotation:a,textAlign:r,textVerticalAlign:o}}(t.rotation,f,b||0,_),null!=(p=t.axisNameAvailableWidth)&&(p=Math.abs(p/Math.sin(c.rotation)),!isFinite(p)&&(p=null)));var C=g.getFont(),w=e.get("nameTruncate",!0)||{},S=w.ellipsis,M=(0,i.retrieve)(t.nameTruncateMaxWidth,w.maxWidth,p),T=new s.Ay({x:D[0],y:D[1],rotation:c.rotation,silent:m.isLabelSilent(e),style:(0,l.VB)(g,{text:o,font:C,overflow:"truncate",width:M,ellipsis:S,fill:g.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:g.get("align")||c.textAlign,verticalAlign:g.get("verticalAlign")||c.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:T,componentModel:e,itemName:o}),T.__fullText=o,T.anid="name",e.get("triggerEvent")){var k=m.makeAxisEventDataBase(e);k.targetType="axisName",k.name=o,(0,u.z)(T).eventData=k}r.add(T),T.updateTransform(),n.add(T),T.decomposeTransform()}}};function x(t){t&&(t.ignore=!0)}function D(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=f.identity([]);return f.rotate(r,r,-t.rotation),n.applyTransform(f.mul([],r,t.getLocalTransform())),i.applyTransform(f.mul([],r,e.getLocalTransform())),n.intersect(i)}}function A(t){return"middle"===t||"center"===t}function b(t,e,n,i,r){for(var s=[],u=[],l=[],c=0;c<t.length;c++){var h=t[c].coord;u[0]=h,u[1]=0,l[0]=h,l[1]=n,e&&((0,d.applyTransform)(u,u,e),(0,d.applyTransform)(l,l,e));var p=new o.A({shape:{x1:u[0],y1:u[1],x2:l[0],y2:l[1]},style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[c].tickValue,s.push(p)}return s}const C=m},28247:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(1344),r=n(38785),o=n(13780),a={};const s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.h_(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.mg(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.A)},52730:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(37653),r=n(30555);function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),u=r.le(s,t);if(null==u||u<0||i.isArray(u))return{point:[]};var l=s.getItemGraphicEl(u),c=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(u)||[];else if(c&&c.dataToPoint)if(t.isStacked){var h=c.getBaseAxis(),p=c.getOtherAxis(h).dim,f=h.dim,d="x"===p||"radius"===p?1:0,g=s.mapDimension(f),v=[];v[d]=s.get(g,u),v[1-d]=s.get(s.getCalculationInfo("stackResultDimension"),u),o=c.dataToPoint(v)||[]}else o=c.dataToPoint(s.getValues(i.map(c.dimensions,(function(t){return s.mapDimension(t)})),u))||[];else if(l){var y=l.getBoundingRect().clone();y.applyTransform(l.transform),o=[y.x+y.width/2,y.y+y.height/2]}return{point:o,el:l}}},40797:(t,e,n)=>{"use strict";n.d(e,{h:()=>c,k:()=>s});var i=n(37653),r=n(682),o=(0,n(30555).$r)(),a=i.each;function s(t,e,n){if(!r.A.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){if(o(t).initialized)return;function n(n,i){t.on(n,(function(n){var r=function(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}}(e);a(o(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),function(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))}(r.pendings,e)}))}o(t).initialized=!0,n("click",i.curry(l,"click")),n("mousemove",i.curry(l,"mousemove")),n("globalout",u)}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=n}}function u(t,e,n){t.handler("leave",null,n)}function l(t,e,n,i){e.handler(t,n,i)}function c(t,e){if(!r.A.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},16375:(t,e,n)=>{"use strict";n.d(e,{a:()=>W});var i=n(28247),r=n(1344),o=n(37653),a=n(55741),s=n(23114),u=n(37315),l=n(99881),c=n(38785),h=n(47981),p=n(10300),f=n(30555),d=(0,f.$r)(),g=o.clone,v=o.bind,y=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var u=this._group,l=this._handle;if(!s||"hide"===s)return u&&u.hide(),void(l&&l.hide());u&&u.show(),l&&l.show();var c={};this.makeElOption(c,r,t,e,n);var h=c.graphicKey;h!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=h;var p=this._moveAnimation=this.determineAnimation(t,e);if(u){var f=o.curry(m,e,p);this.updatePointerEl(u,c,f),this.updateLabelEl(u,c,f,e)}else u=this._group=new a.A,this.createPointerEl(u,c,t,e),this.createLabelEl(u,c,t,e),n.getZr().add(u);A(u,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.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 a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=c.Yc(t).seriesDataCount,u=i.getExtent();return Math.abs(u[0]-u[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=d(t).pointerEl=new s[r.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=d(t).labelEl=new u.Ay(g(e.label));t.add(r),x(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=d(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=d(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),x(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),u=n.get("status");if(!a.get("show")||!u||"hide"===u)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){h.ds(t.event)},onmousedown:v(this._onHandleDragMove,this,0,0),drift:v(this._onHandleDragMove,this),ondragend:v(this._onHandleDragEnd,this)}),i.add(r)),A(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=a.get("size");o.isArray(l)||(l=[l,l]),r.scaleX=l[0]/2,r.scaleY=l[1]/2,p.N(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,D(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(D(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(D(i)),d(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.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),p.IU(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function m(t,e,n,i){_(d(n).lastProp,i)||(d(n).lastProp=i,e?l.oi(n,i,t):(n.stopAnimation(),n.attr(i)))}function _(t,e){if(o.isObject(t)&&o.isObject(e)){var n=!0;return o.each(e,(function(e,i){n=n&&_(t[i],e)})),!!n}return t===e}function x(t,e){t[e.get(["label","show"])?"show":"hide"]()}function D(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function A(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)}))}const b=y;var C=n(13607),w=n(3581),S=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),u=M(a,o).getOtherAxis(o).getGlobalExtent(),l=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var c=C.bY(i),h=T[s](o,l,u);h.style=c,t.graphicKey=h.type,t.pointer=h}var p=w.Zp(a.model,n);C.DA(e,t,p,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=w.Zp(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=C.Tc(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=M(o,r).getOtherAxis(r).getGlobalExtent(),u="x"===r.dim?0:1,l=[t.x,t.y];l[u]+=e[u],l[u]=Math.min(a[1],l[u]),l[u]=Math.max(a[0],l[u]);var c=(s[1]+s[0])/2,h=[c,c];h[u]=l[u];return{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][u]}},e}(b);function M(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var T={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:C.MU([e,n[0]],[e,n[1]],k(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:C.cU([e-i/2,n[0]],[i,r],k(t))}}};function k(t){return"x"===t.dim?0:1}const I=S;const F=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.__extends)(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},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}},e}(n(97888).A);var E=n(40797);const O=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.__extends)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";E.k("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){E.h("axisPointer",e)},e.prototype.dispose=function(t,e){E.h("axisPointer",e)},e.type="axisPointer",e}(n(13780).A);var P=n(52730),B=(0,f.$r)();function L(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t,s=t.dispatchAction||(0,o.bind)(n.dispatchAction,n),u=e.getComponent("axisPointer").coordSysAxesInfo;if(u){H(r)&&(r=(0,P.A)({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var l=H(r),c=a.axesInfo,h=u.axesInfo,p="leave"===i||H(r),f={},d={},g={list:[],map:{}},v={showPointer:(0,o.curry)(R,d),showTooltip:(0,o.curry)(z,g)};(0,o.each)(u.coordSysMap,(function(t,e){var n=l||t.containPoint(r);(0,o.each)(u.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=function(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}(c,t);if(!p&&n&&(!c||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&N(t,a,v,!1,f)}}))}));var y={};return(0,o.each)(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&(0,o.each)(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,V(e),V(t)))),y[t.key]=o}}))})),(0,o.each)(y,(function(t,e){N(h[e],t,v,!0,f)})),function(t,e,n){var i=n.axesInfo=[];(0,o.each)(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})}))}(d,h,f),function(t,e,n,i){if(H(e)||!t.list.length)return void i({type:"hideTip"});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})}(g,r,t,s),function(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",a=B(i)[r]||{},s=B(i)[r]={};(0,o.each)(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.each)(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;s[e]=t}))}));var u=[],l=[];(0,o.each)(a,(function(t,e){!s[e]&&l.push(t)})),(0,o.each)(s,(function(t,e){!a[e]&&u.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),u.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:u})}(h,0,n),f}}function N(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var s=function(t,e){var n=e.axis,i=n.dim,r=t,a=[],s=Number.MAX_VALUE,u=-1;return(0,o.each)(e.seriesModels,(function(e,l){var c,h,p=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var f=e.getAxisTooltipData(p,t,n);h=f.dataIndices,c=f.nestestValue}else{if(!(h=e.getData().indicesOfNearest(p[0],t,"category"===n.type?.5:null)).length)return;c=e.getData().get(p[0],h[0])}if(null!=c&&isFinite(c)){var d=t-c,g=Math.abs(d);g<=s&&((g<s||d>=0&&u<0)&&(s=g,u=d,r=c,a.length=0),(0,o.each)(h,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:r}}(e,t),u=s.payloadBatch,l=s.snapToValue;u[0]&&null==r.seriesIndex&&(0,o.extend)(r,u[0]),!i&&t.snap&&a.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,u),n.showTooltip(t,s,l)}else n.showPointer(t,e)}function R(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function z(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var u=e.coordSys.model,l=c.og(u),h=t.map[l];h||(h=t.map[l]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function V(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 H(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function W(t){i.A.registerAxisPointerClass("CartesianAxisPointer",I),t.registerComponentModel(F),t.registerComponentView(O),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.isArray)(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,c.Fo)(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},L)}},38785:(t,e,n)=>{"use strict";n.d(e,{Fo:()=>o,Yc:()=>u,h_:()=>s,mg:()=>l,og:()=>h});var i=n(92160),r=n(37653);function o(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var o=e.getComponent("tooltip"),s=e.getComponent("axisPointer"),u=s.get("link",!0)||[],l=[];(0,r.each)(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var p=h(n.model),f=t.coordSysAxesInfo[p]={};t.coordSysMap[p]=n;var d=n.model.getModel("tooltip",o);if((0,r.each)(n.getAxes(),(0,r.curry)(m,!1,null)),n.getTooltipAxes&&o&&d.get("show")){var g="axis"===d.get("trigger"),v="cross"===d.get(["axisPointer","type"]),y=n.getTooltipAxes(d.get(["axisPointer","axis"]));(g||v)&&(0,r.each)(y.baseAxes,(0,r.curry)(m,!v||"cross",g)),v&&(0,r.each)(y.otherAxes,(0,r.curry)(m,"cross",!1))}}function m(o,p,g){var v=g.model.getModel("axisPointer",s),y=v.get("show");if(y&&("auto"!==y||o||c(v))){null==p&&(p=v.get("triggerTooltip")),v=o?function(t,e,n,o,a,s){var u=e.getModel("axisPointer"),l=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],c={};(0,r.each)(l,(function(t){c[t]=(0,r.clone)(u.get(t))})),c.snap="category"!==t.type&&!!s,"cross"===u.get("type")&&(c.type="line");var h=c.label||(c.label={});if(null==h.show&&(h.show=!1),"cross"===a){var p=u.get(["label","show"]);if(h.show=null==p||p,!s){var f=c.lineStyle=u.get("crossStyle");f&&(0,r.defaults)(h,f.textStyle)}}return t.model.getModel("axisPointer",new i.A(c,n,o))}(g,d,s,e,o,p):v;var m=v.get("snap"),_=v.get("triggerEmphasis"),x=h(g.model),D=p||m||"category"===g.type,A=t.axesInfo[x]={key:x,axis:g,coordSys:n,axisPointerModel:v,triggerTooltip:p,triggerEmphasis:_,involveSeries:D,snap:m,useHandle:c(v),seriesModels:[],linkGroup:null};f[x]=A,t.seriesInvolved=t.seriesInvolved||D;var b=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(a(o[i+"AxisId"],n.id)||a(o[i+"AxisIndex"],n.componentIndex)||a(o[i+"AxisName"],n.name))return r}}(u,g);if(null!=b){var C=l[b]||(l[b]={axesInfo:{}});C.axesInfo[x]=A,C.mapper=u[b].mapper,A.linkGroup=C}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,i=e.get(["tooltip","trigger"],!0),o=e.get(["tooltip","show"],!0);n&&"none"!==i&&!1!==i&&"item"!==i&&!1!==o&&!1!==e.get(["axisPointer","show"],!0)&&(0,r.each)(t.coordSysAxesInfo[h(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())}))}))}(n,t),n}function a(t,e){return"all"===t||(0,r.isArray)(t)&&(0,r.indexOf)(t,e)>=0||t===e}function s(t){var e=u(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=c(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 u(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[h(t)]}function l(t){var e=u(t);return e&&e.axisPointerModel}function c(t){return!!t.get(["handle","show"])}function h(t){return t.type+"||"+t.id}},13607:(t,e,n)=>{"use strict";n.d(e,{DA:()=>g,MU:()=>v,Tc:()=>d,_F:()=>f,bY:()=>h,cU:()=>y});var i=n(37653),r=n(23114),o=n(32995),a=n(20863),s=n(65472),u=n(87658),l=n(27407),c=n(47533);function h(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle()).fill=null:"shadow"===n&&((e=i.getAreaStyle()).stroke=null),e}function p(t,e,n,i,r){var s=f(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),u=n.getModel("label"),l=a.QX(u.get("padding")||0),h=u.getFont(),p=o.NO(s,h),d=r.position,g=p.width+l[1]+l[3],v=p.height+l[0]+l[2],y=r.align;"right"===y&&(d[0]-=g),"center"===y&&(d[0]-=g/2);var m=r.verticalAlign;"bottom"===m&&(d[1]-=v),"middle"===m&&(d[1]-=v/2),function(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)}(d,g,v,i);var _=u.get("backgroundColor");_&&"auto"!==_||(_=e.get(["axisLine","lineStyle","color"])),t.label={x:d[0],y:d[1],style:(0,c.VB)(u,{text:s,font:h,fill:u.getTextColor(),padding:l,backgroundColor:_}),z2:10}}function f(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var l={value:u.Dt(e,{value: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&&l.seriesData.push(r)})),i.isString(s)?a=s.replace("{value}",a):i.isFunction(s)&&(a=s(l))}return a}function d(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=l.A.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),p(e,i,r,o,{position:d(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function v(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function y(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},34522:(t,e,n)=>{"use strict";n.d(e,{a:()=>it});var i=n(1344),r=n(13780),o=n(97888);const a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(o.A);var s=n(86159),u=n(37653),l=n(16255),c=n(30555),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",c.US).models[0]},e.type="cartesian2dAxis",e}(o.A);u.mixin(h,l.L);var p={show:!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:"#6E7079",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:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},f=u.merge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},p),d=u.merge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},p);const g={category:f,value:d,time:u.merge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},d),log:u.defaults({logBase:10},d)};var v=n(12334),y=n(98382),m={value:1,category:1,time:1,log:1};function _(t,e,n,r){(0,u.each)(m,(function(o,a){var s=(0,u.merge)((0,u.merge)({},g[a],!0),r,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return(0,i.__extends)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,v.ad)(this),i=n?(0,v.vs)(t):{},r=e.getTheme();(0,u.merge)(t,r.get(a+"Axis")),(0,u.merge)(t,this.getDefaultOption()),t.type=x(t),n&&(0,v.YA)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=y.A.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",x)}function x(t){return t.type||(t.data?"category":"value")}var D=n(87658),A=n(82759);const b=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return u.map(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),u.filter(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}();var C=n(65472),w=n(52278),S=["x","y"];function M(t){return"interval"===t.type||"time"===t.type}const T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=S,e}return(0,i.__extends)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(M(t)&&M(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var u=(o[0]-r[0])/a,l=(o[1]-r[1])/s,c=r[0]-n[0]*u,h=r[1]-i[0]*l,p=this._transform=[u,0,0,l,c,h];this._invTransform=(0,C.invert)([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.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]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new A.A(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return(0,w.applyTransform)(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.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||[])[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},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return(0,w.applyTransform)(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new A.A(i,r,o,a)},e}(b);const k=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return(0,i.__extends)(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.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},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(n(73955).A);var I=n(3581),F=n(57986),E=n(48369),O=n(555),P=Math.log;var B=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=S,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=(0,u.keys)(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,l=a.scale;(0,F.rf)(l)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):((0,D.af)(l,s),(0,F.rf)(l)&&(e=a))}r.length&&(e||(e=r.pop(),(0,D.af)(e.scale,e.model)),(0,u.each)(r,(function(t){!function(t,e,n){var i=O.A.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),u=(0,D.Rx)(t,e),l=u.extent,c=u.fixMin,h=u.fixMax;if("log"===t.type){var p=P(t.base);l=[P(l[0])/p,P(l[1])/p]}t.setExtent(l[0],l[1]),t.calcNiceExtent({splitNumber:a,fixMin:c,fixMax:h});var f=i.getExtent.call(t);c&&(l[0]=f[0]),h&&(l[1]=f[1]);var d=i.getInterval.call(t),g=l[0],v=l[1];if(c&&h)d=(v-g)/a;else if(c)for(v=l[0]+d*a;v<l[1]&&isFinite(v)&&isFinite(l[1]);)d=(0,F.kH)(d),v=l[0]+d*a;else if(h)for(g=l[1]-d*a;g>l[0]&&isFinite(g)&&isFinite(l[0]);)d=(0,F.kH)(d),g=l[1]-d*a;else{t.getTicks().length-1>a&&(d=(0,F.kH)(d));var y=d*a;v=Math.ceil(l[1]/d)*d,(g=(0,E.LI)(v-y))<0&&l[0]>=0?(g=0,v=(0,E.LI)(y)):v>0&&l[1]<=0&&(v=0,g=-(0,E.LI)(y))}var m=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+d*m,v+d*_),i.setInterval.call(t,d),(m||_)&&i.setNiceExtent.call(t,g+d,v-d)}(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};(0,u.each)(n.x,(function(t){N(n,"y",t,r)})),(0,u.each)(n.y,(function(t){N(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=(0,v.dV)(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,u.each)(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),function(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}}(t,e?o.x:o.y)}))}s(),r&&((0,u.each)(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,D.Og)(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}})),s()),(0,u.each)(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,u.isObject)(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]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",c.US).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",c.US).models[0],a=t.gridModel,s=this._coordsList;if(i)e=i.coordinateSystem,(0,u.indexOf)(s,e)<0&&(e=null);else if(r&&o)e=this.getCartesian(r.componentIndex,o.componentIndex);else if(r)n=this.getAxis("x",r.componentIndex);else if(o)n=this.getAxis("y",o.componentIndex);else if(a){a.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",l("x"),this),e.eachComponent("yAxis",l("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function l(e){return function(n,i){if(L(n,t)){var u=n.get("position");"x"===e?"top"!==u&&"bottom"!==u&&(u=o.bottom?"top":"bottom"):"left"!==u&&"right"!==u&&(u=o.left?"right":"left"),o[u]=!0;var l=new k(e,(0,D.f$)(n),[0,0],n.get("type"),u),c="category"===l.type;l.onBand=c&&n.get("boundaryGap"),l.inverse=n.get("inverse"),n.axis=l,l.model=n,l.grid=r,l.index=i,r._axesList.push(l),a[e][i]=l,s[e]++}}}this._axesMap=a,(0,u.each)(a.x,(function(e,n){(0,u.each)(a.y,(function(r,o){var a="x"+n+"y"+o,s=new T(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){(0,u.each)((0,D.wq)(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}(0,u.each)(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if((0,I.gO)(t)){var i=(0,I.LR)(t),r=i.xAxisModel,o=i.yAxisModel;if(!L(r,e)||!L(o,e))return;var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),u=a.getAxis("x"),l=a.getAxis("y");n(s,u),n(s,l)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,u.each)(this.getCartesians(),(function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);(0,u.indexOf)(e,r)<0&&e.push(r),(0,u.indexOf)(n,o)<0&&n.push(o)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",(function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)})),e.eachSeries((function(t){if((0,I.gO)(t)){var e=(0,I.LR)(t),n=e.xAxisModel,i=e.yAxisModel;0;var r=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=r.getCartesian(n.componentIndex,i.componentIndex)}})),i},t.dimensions=S,t}();function L(t,e){return t.getCoordSysModel()===e}function N(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),u=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=u)R(o[u])&&(r=o[u]);else for(var l in o)if(o.hasOwnProperty(l)&&R(o[l])&&!i[c(o[l])]){r=o[l];break}r&&(i[c(r)]=!0)}function c(t){return t.dim+"_"+t.index}}function R(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,D.JJ)(t)}const z=B;var V=n(55741),H=n(23114),W=n(46416),G=n(27407),U=n(28247),j=(0,c.$r)();var X=["axisLine","axisTickLabel","axisName"],Y=["splitArea","splitLine","minorSplitLine"],q=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,i.__extends)(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new V.A,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=I.Zp(a,e),l=new G.A(e,u.extend({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if((0,F.rf)(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));u.each(X,l.add,l),this._axisGroup.add(l.getGroup()),u.each(Y,(function(t){e.get([t,"show"])&&Z[t](this,this._axisGroup,e,a)}),this),r&&"changeAxisOrder"===r.type&&r.isInitSort||H.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){j(this).splitAreaColors=null},e.type="cartesianAxis",e}(U.A),Z={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color");s=u.isArray(s)?s:[s];for(var l=i.coordinateSystem.getRect(),c=r.isHorizontal(),h=0,p=r.getTicksCoords({tickModel:o}),f=[],d=[],g=a.getLineStyle(),v=0;v<p.length;v++){var y=r.toGlobalCoord(p[v].coord);c?(f[0]=y,f[1]=l.y,d[0]=y,d[1]=l.y+l.height):(f[0]=l.x,f[1]=y,d[0]=l.x+l.width,d[1]=y);var m=h++%s.length,_=p[v].tickValue,x=new W.A({anid:null!=_?"line_"+p[v].tickValue:null,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:d[0],y2:d[1]},style:u.defaults({stroke:s[m]},g),silent:!0});H.subPixelOptimizeLine(x.shape,g.lineWidth),e.add(x)}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),u=r.getMinorTicksCoords();if(u.length)for(var l=[],c=[],h=o.getLineStyle(),p=0;p<u.length;p++)for(var f=0;f<u[p].length;f++){var d=r.toGlobalCoord(u[p][f].coord);s?(l[0]=d,l[1]=a.y,c[0]=d,c[1]=a.y+a.height):(l[0]=a.x,l[1]=d,c[0]=a.x+a.width,c[1]=d);var g=new W.A({anid:"minor_line_"+u[p][f].tickValue,autoBatch:!0,shape:{x1:l[0],y1:l[1],x2:c[0],y2:c[1]},style:h,silent:!0});H.subPixelOptimizeLine(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){!function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),l=a.get("color"),c=i.coordinateSystem.getRect(),h=r.getTicksCoords({tickModel:o,clamp:!0});if(h.length){var p=l.length,f=j(t).splitAreaColors,d=u.createHashMap(),g=0;if(f)for(var v=0;v<h.length;v++){var y=f.get(h[v].tickValue);if(null!=y){g=(y+(p-1)*v)%p;break}}var m=r.toGlobalCoord(h[0].coord),_=a.getAreaStyle();for(l=u.isArray(l)?l:[l],v=1;v<h.length;v++){var x=r.toGlobalCoord(h[v].coord),D=void 0,A=void 0,b=void 0,C=void 0;r.isHorizontal()?(D=m,A=c.y,b=x-D,C=c.height,m=D+b):(D=c.x,A=m,b=c.width,m=A+(C=x-A));var w=h[v-1].tickValue;null!=w&&d.set(w,g),e.add(new s.A({anid:null!=w?"area_"+w:null,shape:{x:D,y:A,width:b,height:C},style:u.defaults({fill:l[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%p}j(t).splitAreaColors=d}}}(t,e,n,i)}},$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.type="xAxis",e}(q),K=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=$.type,e}return(0,i.__extends)(e,t),e.type="yAxis",e}(q);var Q=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.__extends)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.A({shape:t.coordinateSystem.getRect(),style:(0,u.defaults)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.A),J={offset:0};function tt(t){t.registerComponentView(Q),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",z),_(t,"x",h,J),_(t,"y",h,J),t.registerComponentView($),t.registerComponentView(K),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}var et=n(16375),nt=n(2444);function it(t){(0,nt.Y)(tt),(0,nt.Y)(et.a)}},14630:(t,e,n)=>{"use strict";n.d(e,{a:()=>H});var i=n(1344),r=n(97888),o=n(3325),a=n(37653),s=n(30555);const u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return(0,i.__extends)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.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},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],(0,a.each)(n,(function(e,n){var i,o=(0,s.vS)((0,s.vj)(e),"");(0,a.isObject)(e)?(i=(0,a.clone)(e)).value=n:i=n,t.push(i),r.push(o)}))):t=n;var u={category:"ordinal",time:"time",value:"number"}[i]||"number";(this._data=new o.A([{name:"value",type:u}],this)).initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={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:[]},e}(r.A);var l=n(83950),c=n(28213),h=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.type="timeline.slider",e.defaultOption=(0,c.G_)(u.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,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:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(u);(0,a.mixin)(h,l.J.prototype);const p=h;var f=n(82759),d=n(65472),g=n(55741),v=n(46416),y=n(37315),m=n(23114),_=n(47533),x=n(12334);const D=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.type="timeline",e}(n(13780).A);const A=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return(0,i.__extends)(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(n(73955).A);var b=n(56340),C=n(48369),w=n(34569),S=n(40959),M=n(555),T=n(32995),k=n(63821),I=n(56402),F=n(50838),E=Math.PI,O=(0,s.$r)(),P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),s=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){var e=s.scale.getLabel({value:t});return(0,F.Qx)("nameValue",{noName:!0,value:e})},(0,a.each)(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,s,t)}),this),this._renderAxisLabel(i,o,s,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i,r,o,s=t.get(["label","position"]),u=t.get("orient"),l=function(t,e){return x.dV(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),c={horizontal:"center",vertical:(n=null==s||"auto"===s?"horizontal"===u?l.y+l.height/2<e.getHeight()/2?"-":"+":l.x+l.width/2<e.getWidth()/2?"+":"-":(0,a.isString)(s)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[u][s]:s)>=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},p={horizontal:0,vertical:E/2},f="vertical"===u?l.height:l.width,d=t.getModel("controlStyle"),g=d.get("show",!0),v=g?d.get("itemSize"):0,y=g?d.get("itemGap"):0,m=v+y,_=t.get(["label","rotate"])||0;_=_*E/180;var D=d.get("position",!0),A=g&&d.get("showPlayBtn",!0),b=g&&d.get("showPrevBtn",!0),C=g&&d.get("showNextBtn",!0),w=0,S=f;"left"===D||"bottom"===D?(A&&(i=[0,0],w+=m),b&&(r=[w,0],w+=m),C&&(o=[S-v,0],S-=m)):(A&&(i=[S-v,0],S-=m),b&&(r=[0,0],w+=m),C&&(o=[S-v,0],S-=m));var M=[w,S];return t.get("inverse")&&M.reverse(),{viewRect:l,mainLength:f,orient:u,rotation:p[u],labelRotation:_,labelPosOpt:n,labelAlign:t.get(["label","align"])||c[u],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[u],playPosition:i,prevBtnPosition:r,nextBtnPosition:o,axisExtent:M,controlSize:v,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=d.create(),s=r.x,u=r.y+r.height;d.translate(o,o,[-s,-u]),d.rotate(o,o,-E/2),d.translate(o,o,[s,u]),(r=r.clone()).applyTransform(o)}var l=m(r),c=m(n.getBoundingRect()),h=m(i.getBoundingRect()),p=[n.x,n.y],f=[i.x,i.y];f[0]=p[0]=l[0][0];var g,v=t.labelPosOpt;null==v||(0,a.isString)(v)?(_(p,c,l,1,g="+"===v?0:1),_(f,h,l,1,1-g)):(_(p,c,l,1,g=v>=0?0:1),f[1]=p[1]+v);function y(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function m(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function _(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(p),i.setPosition(f),n.rotation=i.rotation=t.rotation,y(n),y(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=function(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new w.A({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new S.A({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new M.A}}(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new A("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new g.A;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new v.A({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:(0,a.extend)({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var s=this._progressLine=new v.A({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:(0,a.defaults)({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(s)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),s=n.scale.getTicks();this._tickSymbols=[],(0,a.each)(s,(function(t){var s=n.dataToCoord(t.value),u=o.getItemModel(t.value),l=u.getModel("itemStyle"),c=u.getModel(["emphasis","itemStyle"]),h=u.getModel(["progress","itemStyle"]),p={x:s,y:0,onclick:(0,a.bind)(r._changeTimeline,r,t.value)},f=B(u,l,e,p);f.ensureState("emphasis").style=c.getItemStyle(),f.ensureState("progress").style=h.getItemStyle(),(0,I.iJ)(f);var d=(0,k.z)(f);u.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(f)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this;if(n.getLabelModel().get("show")){var o=i.getData(),s=n.getViewLabels();this._tickLabels=[],(0,a.each)(s,(function(i){var s=i.tickValue,u=o.getItemModel(s),l=u.getModel("label"),c=u.getModel(["emphasis","label"]),h=u.getModel(["progress","label"]),p=n.dataToCoord(i.tickValue),f=new y.Ay({x:p,y:0,rotation:t.labelRotation-t.rotation,onclick:(0,a.bind)(r._changeTimeline,r,s),silent:!1,style:(0,_.VB)(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});f.ensureState("emphasis").style=(0,_.VB)(c),f.ensureState("progress").style=(0,_.VB)(h),e.add(f),(0,I.iJ)(f),O(f).dataIndex=s,r._tickLabels.push(f)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,s=i.getModel("controlStyle").getItemStyle(),u=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),c=i.get("inverse",!0);function h(t,n,l,c){if(t){var h=(0,T.lo)((0,a.retrieve2)(i.get(["controlStyle",n+"BtnSize"]),r),r),p=function(t,e,n,i){var r=i.style,o=m.createIcon(t.get(["controlStyle",e]),i||{},new f.A(n[0],n[1],n[2],n[3]));r&&o.setStyle(r);return o}(i,n+"Icon",[0,-h/2,h,h],{x:t[0],y:t[1],originX:r/2,originY:0,rotation:c?-o:0,rectHover:!0,style:s,onclick:l});p.ensureState("emphasis").style=u,e.add(p),(0,I.iJ)(p)}}h(t.nextBtnPosition,"next",(0,a.bind)(this._changeTimeline,this,c?"-":"+")),h(t.prevBtnPosition,"prev",(0,a.bind)(this._changeTimeline,this,c?"+":"-")),h(t.playPosition,l?"stop":"play",(0,a.bind)(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),s=r.getItemModel(o).getModel("checkpointStyle"),u=this,l={onCreate:function(t){t.draggable=!0,t.drift=(0,a.bind)(u._handlePointerDrag,u),t.ondragend=(0,a.bind)(u._handlePointerDragend,u),L(t,u._progressLine,o,n,i,!0)},onUpdate:function(t){L(t,u._progressLine,o,n,i)}};this._currentPointer=B(s,s,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=C.Y6(i.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var o=this._progressLine;o&&(o.shape.x2=n,o.dirty());var a=this._findNearestTick(n),s=this.model;(e||a!==s.getCurrentIndex()&&s.get("realtime"))&&this._changeTimeline(a)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){var e=this._mainGroup.getLocalTransform();return m.applyTransform(t,e,!0)},e.prototype._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},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._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})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var i=0;i<e.length;i++)e&&e[i]&&e[i].toggleState("progress",i<t);if(n)for(i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",O(n[i]).dataIndex<=t)},e.type="timeline.slider",e}(D);function B(t,e,n,i,r,o){var s=e.get("color");if(r)r.setColor(s),n.add(r),o&&o.onUpdate(r);else{var u=t.get("symbol");(r=(0,b.v5)(u,-1,-1,2,2,s)).setStyle("strokeNoScale",!0),n.add(r),o&&o.onCreate(r)}var l=e.getItemStyle(["color"]);r.setStyle(l),i=(0,a.merge)({rectHover:!0,z2:100},i,!0);var c=(0,b.xU)(t.get("symbolSize"));i.scaleX=c[0]/2,i.scaleY=c[1]/2;var h=(0,b.hV)(t.get("symbolOffset"),c);h&&(i.x=(i.x||0)+h[0],i.y=(i.y||0)+h[1]);var p=t.get("symbolRotate");return i.rotation=(p||0)*Math.PI/180||0,r.attr(i),r.updateTransform(),r}function L(t,e,n,i,r,o){if(!t.dragging){var a=r.getModel("checkpointStyle"),s=i.dataToCoord(r.getData().get("value",n));if(o||!a.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var u={duration:a.get("animationDuration",!0),easing:a.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},u),e&&e.animateTo({shape:{x2:s}},u)}}}const N=P;function R(t){var e=t&&t.timeline;a.isArray(e)||(e=e?[e]:[]),a.each(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(z(t),V(t,"controlPosition")){var i=t.controlStyle||(t.controlStyle={});V(i,"position")||(i.position=t.controlPosition),"none"!==i.position||V(i,"show")||(i.show=!1,delete i.position),delete t.controlPosition}a.each(t.data||[],(function(t){a.isObject(t)&&!a.isArray(t)&&(!V(t,"value")&&V(t,"name")&&(t.value=t.name),z(t))}))}(t)}))}function z(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),i=t.label||t.label||{},r=i.normal||(i.normal={}),o={normal:1,emphasis:1};a.each(i,(function(t,e){o[e]||V(r,e)||(r[e]=t)})),n.label&&!V(i,"emphasis")&&(i.emphasis=n.label,delete n.label)}function V(t,e){return t.hasOwnProperty(e)}function H(t){t.registerComponentModel(p),t.registerComponentView(N),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var i=e.getComponent("timeline");return i&&null!=t.currentIndex&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),(0,a.defaults)({currentIndex:i.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(t),t.registerPreprocessor(R)}},38295:(t,e,n)=>{"use strict";n.d(e,{a:()=>g});var i=n(1344),r=n(37653),o=n(37315),a=n(86159),s=n(63821),u=n(47533),l=n(12334),c=n(97888),h=n(13780),p=n(20863),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,i.__extends)(e,t),e.type="title",e.defaultOption={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:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(c.A),d=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.__extends)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,c=t.getModel("textStyle"),h=t.getModel("subtextStyle"),f=t.get("textAlign"),d=r.retrieve2(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.Ay({style:(0,u.VB)(c,{text:t.get("text"),fill:c.getTextColor()},{disableBox:!0}),z2:10}),v=g.getBoundingRect(),y=t.get("subtext"),m=new o.Ay({style:(0,u.VB)(h,{text:y,fill:h.getTextColor(),y:v.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),x=t.get("sublink"),D=t.get("triggerEvent",!0);g.silent=!_&&!D,m.silent=!x&&!D,_&&g.on("click",(function(){(0,p.JW)(_,"_"+t.get("target"))})),x&&m.on("click",(function(){(0,p.JW)(x,"_"+t.get("subtarget"))})),(0,s.z)(g).eventData=(0,s.z)(m).eventData=D?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(g),y&&i.add(m);var A=i.getBoundingRect(),b=t.getBoxLayoutParams();b.width=A.width,b.height=A.height;var C=(0,l.dV)(b,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));f||("middle"===(f=t.get("left")||t.get("right"))&&(f="center"),"right"===f?C.x+=C.width:"center"===f&&(C.x+=C.width/2)),d||("center"===(d=t.get("top")||t.get("bottom"))&&(d="middle"),"bottom"===d?C.y+=C.height:"middle"===d&&(C.y+=C.height/2),d=d||"top"),i.x=C.x,i.y=C.y,i.markRedraw();var w={align:f,verticalAlign:d};g.setStyle(w),m.setStyle(w),A=i.getBoundingRect();var S=C.margin,M=t.getItemStyle(["color","opacity"]);M.fill=t.get("backgroundColor");var T=new a.A({shape:{x:A.x-S[3],y:A.y-S[0],width:A.width+S[1]+S[3],height:A.height+S[0]+S[2],r:t.get("borderRadius")},style:M,subPixelOptimize:!0,silent:!0});i.add(T)}},e.type="title",e}(h.A);function g(t){t.registerComponentModel(f),t.registerComponentView(d)}},80603:(t,e,n)=>{"use strict";n.d(e,{a:()=>Le});var i=n(2444),r=n(1344),o=n(37653),a=n(97888),s=["x","y","radius","angle","single"],u=["cartesian2d","polar","singleAxis"];function l(t){return t+"Axis"}function c(t,e){var n,i=(0,o.createHashMap)(),r=[],a=(0,o.createHashMap)();t.eachComponent({mainType:"dataZoom",query:e},(function(t){a.get(t.uid)||u(t)}));do{n=!1,t.eachComponent("dataZoom",s)}while(n);function s(t){!a.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}(t)&&(u(t),n=!0)}function u(t){a.set(t.uid,!0),r.push(t),t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}var h=n(30555),p=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}();function f(t){var e={};return(0,o.each)(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}const d=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.__extends)(e,t),e.type="dataZoom.select",e}(function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return(0,r.__extends)(e,t),e.prototype.init=function(t,e,n){var i=f(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=f(t);(0,o.merge)(this.option,t,!0),(0,o.merge)(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;(0,o.each)([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=(0,o.createHashMap)();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return(0,o.each)(s,(function(n){var i=this.getReferringComponents(l(n),h.UW);if(i.specified){e=!0;var r=new p;(0,o.each)(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x";a(n.findComponents({mainType:r+"Axis"}),r)}i&&a(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function a(e,n){var r=e[0];if(r){var a=new p;if(a.add(r.componentIndex),t.set(n,a),i=!1,"x"===n||"y"===n){var s=r.getReferringComponents("grid",h.US).models[0];s&&(0,o.each)(e,(function(t){r.componentIndex!==t.componentIndex&&s===t.getReferringComponents("grid",h.US).models[0]&&a.add(t.componentIndex)}))}}}i&&(0,o.each)(s,(function(e){if(i){var r=n.findComponents({mainType:l(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new p;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._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}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");(0,o.each)([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(l(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){(0,o.each)(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(l(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;(0,o.each)([["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),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;(0,o.each)(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.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},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;i<n.length;i++)for(var r=n[i],o=this._targetAxisInfoMap.get(r),a=0;a<o.indexList.length;a++){var s=this.getAxisProxy(r,o.indexList[a]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(a.A));var g=n(13780);const v=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.__extends)(e,t),e.type="dataZoom.select",e}(function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.__extends)(e,t),e.prototype.render=function(t,e,n,i){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(g.A));var y=n(48369);function m(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=x(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=x(s,[0,a]),r=o=x(s,[r,o]),i=0}e[0]=x(e[0],n),e[1]=x(e[1],n);var u=_(e,i);e[i]+=t;var l,c=r||0,h=n.slice();return u.sign<0?h[0]+=c:h[1]-=c,e[i]=x(e[i],h),l=_(e,i),null!=r&&(l.sign!==u.sign||l.span<r)&&(e[1-i]=e[i]+u.sign*r),l=_(e,i),null!=o&&l.span>o&&(e[1-i]=e[i]+l.sign*o),e}function _(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 x(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var D=n(87658),A=n(57683),b=o.each,C=y.Y6;const w=function(){function t(t,e,n,i){this._dimName=t,this._axisIndex=e,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return(0,o.indexOf)(u,e)>=0}(e)){var n=l(this._dimName),i=e.getReferringComponents(n,h.US).models[0];i&&this._axisIndex===i.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return o.clone(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,i=this.getAxisModel().axis.scale,r=this._dataZoomModel.getRangePropMode(),o=[0,100],a=[],s=[];b(["start","end"],(function(u,l){var c=t[u],h=t[u+"Value"];"percent"===r[l]?(null==c&&(c=o[l]),h=i.parse(y.Cb(c,o,n))):(e=!0,h=null==h?n[l]:i.parse(h),c=y.Cb(h,n,o)),s[l]=null==h||isNaN(h)?n[l]:h,a[l]=null==c||isNaN(c)?o[l]:c})),C(s),C(a);var u=this._minMaxSpan;function l(t,e,n,r,o){var a=o?"Span":"ValueSpan";m(0,t,n,"all",u["min"+a],u["max"+a]);for(var s=0;s<2;s++)e[s]=y.Cb(t[s],n,r,!0),o&&(e[s]=i.parse(e[s]))}return e?l(s,a,n,o,!1):l(a,s,o,n,!0),{valueWindow:s,percentWindow:a}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var i=[1/0,-1/0];b(n,(function(t){(0,D.PN)(i,t.getData(),e)}));var r=t.getAxisModel(),o=(0,A.Tc)(r.axis.scale,r,i).calculate();return[o.min,o.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,i=this.getTargetSeriesModels(),r=t.get("filterMode"),a=this._valueWindow;"none"!==r&&b(i,(function(t){var e=t.getData(),i=e.mapDimensionsAll(n);if(i.length){if("weakFilter"===r){var s=e.getStore(),u=o.map(i,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,r,o=0;o<i.length;o++){var l=s.get(u[o],t),c=!isNaN(l),h=l<a[0],p=l>a[1];if(c&&!h&&!p)return!0;c&&(r=!0),h&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else b(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return function(t){return t>=a[0]&&t<=a[1]}(t)?t:NaN})));else{var i={};i[n]=a,e.selectRange(i)}}));b(i,(function(t){e.setApproximateExtent(a,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;b(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=y.Cb(n[0]+o,n,[0,100],!0):null!=r&&(o=y.Cb(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=y.hb(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();const S={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(l(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new w(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=(0,o.createHashMap)();return(0,o.each)(n,(function(t){(0,o.each)(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};var M=!1;function T(t){M||(M=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,S),function(t){t.registerAction("dataZoom",(function(t,e){var n=c(e,t);(0,o.each)(n,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function k(t){t.registerComponentModel(d),t.registerComponentView(v),T(t)}var I=function(){},F={};function E(t,e){F[t]=e}function O(t){return F[t]}const P=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.__extends)(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;o.each(this.option.feature,(function(t,n){var i=O(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),o.merge(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,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,position:"bottom"}},e}(a.A);var B=n(32995),L=n(23114),N=n(56402),R=n(92160),z=n(77116),V=n(12334),H=n(20863),W=n(86159);var G=n(28213),U=n(37315),j=n(47533),X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var a=+t.get("itemSize"),s="vertical"===t.get("orient"),u=t.get("feature")||{},l=this._features||(this._features={}),c=[];o.each(u,(function(t,e){c.push(e)})),new z.A(this._featureNames||[],c).add(h).update(h).remove(o.curry(h,null)).execute(),this._featureNames=c,function(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=(0,V.dV)(i,o,r);(0,V.aP)(e.get("orient"),t,e.get("itemGap"),a.width,a.height),(0,V.m$)(t,i,o,r)}(r,t,n),r.add(function(t,e){var n=H.QX(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),new W.A({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})}(r.getBoundingRect(),t)),s||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),s=i.textConfig||(i.textConfig={}),u=t.getTextContent(),l=u&&u.ensureState("emphasis");if(l&&!o.isFunction(l)&&e){var c=l.style||(l.style={}),h=B.NO(e,U.Ay.makeFont(c)),p=t.x+r.x,f=!1;t.y+r.y+a+h.height>n.getHeight()&&(s.position="top",f=!0);var d=f?-5-h.height:a+10;p+h.width/2>n.getWidth()?(s.position=["100%",d],c.align="right"):p-h.width/2<0&&(s.position=[0,d],c.align="left")}}))}function h(h,p){var f,d=c[h],g=c[p],v=u[d],y=new R.A(v,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===d&&(v.title=i.newTitle),d&&!g){if(function(t){return 0===t.indexOf("my")}(d))f={onclick:y.option.onclick,featureName:d};else{var m=O(d);if(!m)return;f=new m}l[d]=f}else if(!(f=l[g]))return;f.uid=(0,G.$Q)("toolbox-feature"),f.model=y,f.ecModel=e,f.api=n;var _=f instanceof I;d||!g?!y.get("show")||_&&f.unusable?_&&f.remove&&f.remove(e,n):(!function(i,u,l){var c,h,p=i.getModel("iconStyle"),f=i.getModel(["emphasis","iconStyle"]),d=u instanceof I&&u.getIcons?u.getIcons():i.get("icon"),g=i.get("title")||{};o.isString(d)?(c={})[l]=d:c=d;o.isString(g)?(h={})[l]=g:h=g;var v=i.iconPaths={};o.each(c,(function(l,c){var d=L.createIcon(l,{},{x:-a/2,y:-a/2,width:a,height:a});d.setStyle(p.getItemStyle()),d.ensureState("emphasis").style=f.getItemStyle();var g=new U.Ay({style:{text:h[c],align:f.get("textAlign"),borderRadius:f.get("textBorderRadius"),padding:f.get("textPadding"),fill:null,font:(0,j.c8)({fontStyle:f.get("textFontStyle"),fontFamily:f.get("textFontFamily"),fontSize:f.get("textFontSize"),fontWeight:f.get("textFontWeight")},e)},ignore:!0});d.setTextContent(g),L.setTooltipConfig({el:d,componentModel:t,itemName:c,formatterParamsExtra:{title:h[c]}}),d.__title=h[c],d.on("mouseover",(function(){var e=f.getItemStyle(),i=s?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";g.setStyle({fill:f.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:f.get("textBackgroundColor")}),d.setTextConfig({position:f.get("textPosition")||i}),g.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",c])&&n.leaveEmphasis(this),g.hide()})),("emphasis"===i.get(["iconStatus",c])?N.HY:N.SD)(d),r.add(d),d.on("click",o.bind(u.onclick,u,e,n,c)),v[c]=d}))}(y,f,d),y.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?N.HY:N.SD)(i[t])},f instanceof I&&f.render&&f.render(y,e,n,i)):_&&f.dispose&&f.dispose(e,n)}},e.prototype.updateView=function(t,e,n,i){o.each(this._features,(function(t){t instanceof I&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){o.each(this._features,(function(n){n instanceof I&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){o.each(this._features,(function(n){n instanceof I&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(g.A);const Y=X;var q=n(682);const Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",a=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=q.A.browser;if("function"!==typeof MouseEvent||!s.newEdge&&(s.ie||s.edge))if(window.navigator.msSaveOrOpenBlob||r){var u=a.split(","),l=u[0].indexOf("base64")>-1,c=r?decodeURIComponent(u[1]):u[1];l&&(c=window.atob(c));var h=i+"."+o;if(window.navigator.msSaveOrOpenBlob){for(var p=c.length,f=new Uint8Array(p);p--;)f[p]=c.charCodeAt(p);var d=new Blob([f]);window.navigator.msSaveOrOpenBlob(d,h)}else{var g=document.createElement("iframe");document.body.appendChild(g);var v=g.contentWindow,y=v.document;y.open("image/svg+xml","replace"),y.write(c),y.close(),v.focus(),y.execCommand("SaveAs",!0,h),document.body.removeChild(g)}}else{var m=n.get("lang"),_='<body style="margin:0;"><img src="'+a+'" style="max-width:100%;" title="'+(m&&m[0]||"")+'" /></body>',x=window.open();x.document.write(_),x.document.title=i}else{var D=document.createElement("a");D.download=i+"."+o,D.target="_blank",D.href=a;var A=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});D.dispatchEvent(A)}},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(I);var $=n(31800),K="__ec_magicType_stack__",Q=[["line","bar"],["stack"]],J=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return o.each(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(tt[n]){var a,s={series:[]};o.each(Q,(function(t){o.indexOf(t,n)>=0&&o.each(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},(function(t){var e=t.subType,r=t.id,a=tt[n](e,r,t,i);a&&(o.defaults(a,t.option),s.series.push(a));var u=t.coordinateSystem;if(u&&"cartesian2d"===u.type&&("line"===n||"bar"===n)){var l=u.getAxesByScale("ordinal")[0];if(l){var c=l.dim+"Axis",p=t.getReferringComponents(c,h.US).models[0].componentIndex;s[c]=s[c]||[];for(var f=0;f<=p;f++)s[c][p]=s[c][p]||{};s[c][p].boundaryGap="bar"===n}}}));var u=n;"stack"===n&&(a=o.merge({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(u="tiled")),e.dispatchAction({type:"changeMagicType",currentType:u,newOption:s,newTitle:a,featureName:"magicType"})}},e}(I),tt={line:function(t,e,n,i){if("bar"===t)return o.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 o.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 r=n.get("stack")===K;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),o.merge({id:e,stack:r?"":K},i.get(["option","stack"])||{},!0)}};$.OH({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));const et=J;var nt=n(47981),it=new Array(60).join("-"),rt="\t";function ot(t){var e=[];return o.each(t,(function(t,n){var i=t.categoryAxis,r=t.valueAxis.dim,a=[" "].concat(o.map(t.series,(function(t){return t.name}))),s=[i.model.getCategories()];o.each(t.series,(function(t){var e=t.getRawData();s.push(t.getRawData().mapArray(e.mapDimension(r),(function(t){return t})))}));for(var u=[a.join(rt)],l=0;l<s[0].length;l++){for(var c=[],h=0;h<s.length;h++)c.push(s[h][l]);u.push(c.join(rt))}e.push(u.join("\n"))})),e.join("\n\n"+it+"\n\n")}function at(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var st=new RegExp("[\t]+","g");function ut(t,e){var n=t.split(new RegExp("\n*"+it+"\n*","g")),i={series:[]};return o.each(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(rt)>=0)return!0}(t)){var r=function(t){for(var e=t.split(/\n+/g),n=at(e.shift()).split(st),i=[],r=o.map(n,(function(t){return{name:t,data:[]}})),a=0;a<e.length;a++){var s=at(e[a]).split(st);i.push(s.shift());for(var u=0;u<s.length;u++)r[u]&&(r[u].data[a]=s[u])}return{series:r,categories:i}}(t),a=e[n],s=a.axisDim+"Axis";a&&(i[s]=i[s]||[],i[s][a.axisIndex]={data:r.categories},i.series=i.series.concat(r.series))}else{r=function(t){for(var e=t.split(/\n+/g),n=at(e.shift()),i=[],r=0;r<e.length;r++){var o=at(e[r]);if(o){var a=o.split(st),s="",u=void 0,l=!1;isNaN(a[0])?(l=!0,s=a[0],a=a.slice(1),i[r]={name:s,value:[]},u=i[r].value):u=i[r]=[];for(var c=0;c<a.length;c++)u.push(+a[c]);1===u.length&&(l?i[r].value=u[0]:i[r]=u[0])}}return{name:n,data:i}}(t);i.series.push(r)}})),i}var lt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var r=document.createElement("div");r.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",r.style.backgroundColor=i.get("backgroundColor")||"#fff";var a=document.createElement("h4"),s=i.get("lang")||[];a.innerHTML=s[0]||i.get("title"),a.style.cssText="margin:10px 20px",a.style.color=i.get("textColor");var u=document.createElement("div"),l=document.createElement("textarea");u.style.cssText="overflow:auto";var c=i.get("optionToContent"),h=i.get("contentToOption"),p=function(t){var e,n=function(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}}(t);return{value:o.filter([ot(n.seriesGroupByCategoryAxis),(e=n.other,o.map(e,(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+rt:"")+i.join(rt))})),n.join("\n")})).join("\n\n"+it+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+it+"\n\n"),meta:n.meta}}(t);if(o.isFunction(c)){var f=c(e.getOption());o.isString(f)?u.innerHTML=f:o.isDom(f)&&u.appendChild(f)}else{l.readOnly=i.get("readOnly");var d=l.style;d.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",d.color=i.get("textColor"),d.borderColor=i.get("textareaBorderColor"),d.backgroundColor=i.get("textareaColor"),l.value=p.value,u.appendChild(l)}var g=p.meta,v=document.createElement("div");v.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",m=document.createElement("div"),_=document.createElement("div");y+=";background-color:"+i.get("buttonColor"),y+=";color:"+i.get("buttonTextColor");var x=this;function D(){n.removeChild(r),x._dom=null}(0,nt.q2)(m,"click",D),(0,nt.q2)(_,"click",(function(){if(null==h&&null!=c||null!=h&&null==c)D();else{var t;try{t=o.isFunction(h)?h(u,e.getOption()):ut(l.value,g)}catch(n){throw D(),new Error("Data view format error "+n)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),D()}})),m.innerHTML=s[1],_.innerHTML=s[2],_.style.cssText=m.style.cssText=y,!i.get("readOnly")&&v.appendChild(_),v.appendChild(m),r.appendChild(a),r.appendChild(u),r.appendChild(v),u.style.height=n.clientHeight-80+"px",n.appendChild(r),this._dom=r},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(I);function ct(t,e){return o.map(t,(function(t,n){var i=e&&e[n];if(o.isObject(i)&&!o.isArray(i)){o.isObject(t)&&!o.isArray(t)||(t={value:t});var r=null!=i.name&&null==t.name;return t=o.defaults(t,i),r&&delete t.name,t}return t}))}$.OH({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];o.each(t.newOption.series,(function(t){var i=e.getSeriesByName(t.name)[0];if(i){var r=i.get("data");n.push({name:t.name,data:ct(t.data,r)})}else n.push(o.extend({type:"scatter"},t))})),e.mergeOption(o.defaults({series:n},t.newOption))}));const ht=lt;var pt=o.each,ft=(0,h.$r)();function dt(t){var e=ft(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var gt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.onclick=function(t,e){!function(t){ft(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(I);$.OH({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));const vt=gt;var yt=n(49870),mt=n(55741),_t=n(50082),xt=n(11694),Dt="\0_ec_interaction_mutex";function At(t){return t[Dt]||(t[Dt]={})}$.OH({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},o.noop);var bt=!0,Ct=Math.min,wt=Math.max,St=Math.pow,Mt="globalPan",Tt={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},kt={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},It={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},Ft=0,Et=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new mt.A,n._uid="brushController_"+Ft++,(0,o.each)(oe,(function(t,e){this._handlers[e]=(0,o.bind)(t,this)}),n),n}return(0,r.__extends)(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){At(t)[e]=n}(e,Mt,this._uid),(0,o.each)(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=(0,o.merge)((0,o.clone)(It),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var i=At(t);i[e]===n&&(i[e]=null)}(t,Mt,this._uid),(0,o.each)(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};(0,o.each)(t,(function(t){e[t.panelId]=(0,o.clone)(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=(0,o.map)(t,(function(t){return(0,o.merge)((0,o.clone)(It),t,!0)}));var e=this._covers,n=this._covers=[],i=this,r=this._creatingCover;return new z.A(e,t,(function(t,e){return a(t.__brushOption,e)}),a).add(s).update(s).remove((function(t){e[t]!==r&&i.group.remove(e[t])})).execute(),this;function a(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function s(o,a){var s=t[o];if(null!=a&&e[a]===r)n[o]=e[a];else{var u=n[o]=null!=a?(e[a].__brushOption=s,e[a]):Pt(i,Ot(i,s));Nt(i,u)}}},e.prototype.unmount=function(){return this.enableBrush(!1),Ht(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(yt.A);function Ot(t,e){var n=se[e.brushType].createCover(t,e);return n.__brushOption=e,Lt(n,e),t.group.add(n),n}function Pt(t,e){var n=Rt(e);return n.endCreating&&(n.endCreating(t,e),Lt(e,e.__brushOption)),e}function Bt(t,e){var n=e.__brushOption;Rt(e).updateCoverShape(t,e,n.range,n)}function Lt(t,e){var n=e.z;null==n&&(n=1e4),t.traverse((function(t){t.z=n,t.z2=n}))}function Nt(t,e){Rt(e).updateCommon(t,e),Bt(t,e)}function Rt(t){return se[t.__brushOption.brushType]}function zt(t,e,n){var i,r=t._panels;if(!r)return bt;var a=t._transform;return(0,o.each)(r,(function(t){t.isTargetByCursor(e,n,a)&&(i=t)})),i}function Vt(t,e){var n=t._panels;if(!n)return bt;var i=e.__brushOption.panelId;return null!=i?n[i]:bt}function Ht(t){var e=t._covers,n=e.length;return(0,o.each)(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function Wt(t,e){var n=(0,o.map)(t._covers,(function(t){var e=t.__brushOption,n=(0,o.clone)(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function Gt(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function Ut(t,e,n,i){var r=new mt.A;return r.add(new W.A({name:"main",style:qt(n),silent:!0,draggable:!0,cursor:"move",drift:(0,o.curry)(Kt,t,e,r,["n","s","w","e"]),ondragend:(0,o.curry)(Wt,e,{isEnd:!0})})),(0,o.each)(i,(function(n){r.add(new W.A({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:(0,o.curry)(Kt,t,e,r,n),ondragend:(0,o.curry)(Wt,e,{isEnd:!0})}))})),r}function jt(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=wt(r,6),a=n[0][0],s=n[1][0],u=a-r/2,l=s-r/2,c=n[0][1],h=n[1][1],p=c-o+r/2,f=h-o+r/2,d=c-a,g=h-s,v=d+r,y=g+r;Yt(t,e,"main",a,s,d,g),i.transformable&&(Yt(t,e,"w",u,l,o,y),Yt(t,e,"e",p,l,o,y),Yt(t,e,"n",u,l,v,o),Yt(t,e,"s",u,f,v,o),Yt(t,e,"nw",u,l,o,o),Yt(t,e,"ne",p,l,o,o),Yt(t,e,"sw",u,f,o,o),Yt(t,e,"se",p,f,o,o))}function Xt(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(qt(n)),r.attr({silent:!i,cursor:i?"move":"default"}),(0,o.each)([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?$t(t,n[0]):function(t,e){var n=[$t(t,e[0]),$t(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?kt[o]+"-resize":null})}))}function Yt(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(function(t){var e=Ct(t[0][0],t[1][0]),n=Ct(t[0][1],t[1][1]),i=wt(t[0][0],t[1][0]),r=wt(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}(te(t,e,[[i,r],[i+o,r+a]])))}function qt(t){return(0,o.defaults)({strokeNoScale:!0},t.brushStyle)}function Zt(t,e,n,i){var r=[Ct(t,n),Ct(e,i)],o=[wt(t,n),wt(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function $t(t,e){var n=L.transformDirection({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return L.getTransform(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function Kt(t,e,n,i,r,a){var s=n.__brushOption,u=t.toRectRange(s.range),l=Jt(e,r,a);(0,o.each)(i,(function(t){var e=Tt[t];u[e[0]][e[1]]+=l[e[0]]})),s.range=t.fromRectRange(Zt(u[0][0],u[1][0],u[0][1],u[1][1])),Nt(e,n),Wt(e,{isEnd:!1})}function Qt(t,e,n,i){var r=e.__brushOption.range,a=Jt(t,n,i);(0,o.each)(r,(function(t){t[0]+=a[0],t[1]+=a[1]})),Nt(t,e),Wt(t,{isEnd:!1})}function Jt(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 te(t,e,n){var i=Vt(t,e);return i&&i!==bt?i.clipPath(n,t._transform):(0,o.clone)(n)}function ee(t){var e=t.event;e.preventDefault&&e.preventDefault()}function ne(t,e,n){return t.childOfName("main").contain(e,n)}function ie(t,e,n,i){var r,a=t._creatingCover,s=t._creatingPanel,u=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],i=e[0],r=n[0]-i[0],o=n[1]-i[1];return St(r*r+o*o,.5)>6}(t)||a){if(s&&!a){"single"===u.brushMode&&Ht(t);var l=(0,o.clone)(u);l.brushType=re(l.brushType,s),l.panelId=s===bt?null:s.panelId,a=t._creatingCover=Ot(t,l),t._covers.push(a)}if(a){var c=se[re(t._brushType,s)];a.__brushOption.range=c.getCreatingRange(te(t,a,t._track)),i&&(Pt(t,a),c.updateCommon(t,a)),Bt(t,a),r={isEnd:i}}}else i&&"single"===u.brushMode&&u.removeOnClick&&zt(t,e,n)&&Ht(t)&&(r={isEnd:i,removeOnClick:!0});return r}function re(t,e){return"auto"===t?e.defaultBrushType:t}var oe={mousedown:function(t){if(this._dragging)ae(this,t);else if(!t.target||!t.target.draggable){ee(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=zt(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,i=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var i=t._zr;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=zt(t,e,n);if(!t._dragging)for(var a=0;a<r.length;a++){var s=r[a].__brushOption;if(o&&(o===bt||s.panelId===o.panelId)&&se[s.brushType].contain(r[a],n[0],n[1]))return}o&&i.setCursorStyle("crosshair")}}(this,t,i),this._dragging){ee(t);var r=ie(this,t,i,!1);r&&Wt(this,r)}},mouseup:function(t){ae(this,t)}};function ae(t,e){if(t._dragging){ee(e);var n=e.offsetX,i=e.offsetY,r=t.group.transformCoordToLocal(n,i),o=ie(t,e,r,!0);t._dragging=!1,t._track=[],t._creatingCover=null,o&&Wt(t,o)}}var se={lineX:ue(0),lineY:ue(1),rect:{createCover:function(t,e){function n(t){return t}return Ut({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=Gt(t);return Zt(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){jt(t,e,n,i)},updateCommon:Xt,contain:ne},polygon:{createCover:function(t,e){var n=new mt.A;return n.add(new _t.A({name:"main",style:qt(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new xt.A({name:"main",draggable:!0,drift:(0,o.curry)(Qt,t,e),ondragend:(0,o.curry)(Wt,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:te(t,e,n)})},updateCommon:Xt,contain:ne}};function ue(t){return{createCover:function(e,n){return Ut({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=Gt(e);return[Ct(n[0][t],n[1][t]),wt(n[0][t],n[1][t])]},updateCoverShape:function(e,n,i,r){var o,a=Vt(e,n);if(a!==bt&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var u=[i,o];t&&u.reverse(),jt(e,n,u,r)},updateCommon:Xt,contain:ne}}const le=Et;var ce=n(82759),he={axisPointer:1,tooltip:1,brush:1};function pe(t){return t=ge(t),function(e){return L.clipPointsByRect(e,t)}}function fe(t,e){return t=ge(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 de(t,e,n){var i=ge(t);return function(t,r){return i.contain(r[0],r[1])&&!function(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!he.hasOwnProperty(i.mainType)&&r&&r.model!==n}(t,e,n)}}function ge(t){return ce.A.create(t)}var ve=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],ye=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=_e(e,t);(0,o.each)(xe,(function(t,e){(!n||!n.include||(0,o.indexOf)(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=be[t.brushType](0,n,e);t.__rangeOffset={offset:we[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){(0,o.each)(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&(0,o.each)(i.coordSyses,(function(i){var r=be[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){(0,o.each)(t,(function(t){var n=this.findTargetInfo(t,e);if(t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=be[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?we[t.brushType](i.values,r.offset,function(t,e){var n=Me(t),i=Me(e),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}(i.xyMinMax,r.xyMinMax)):i.values}}),this)},t.prototype.makePanelOpts=function(t,e){return(0,o.map)(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:pe(i),isTargetByCursor:de(i,t,n.coordSysModel),getLinearBrushOtherExtent:fe(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&(0,o.indexOf)(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=_e(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(var s=0;s<De.length;s++)if(De[s](i,o))return o}return!0},t}();function me(t){return t[0]>t[1]&&t.reverse(),t}function _e(t,e){return(0,h._e)(t,e,{includeMainTypes:ve})}var xe={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,a=(0,o.createHashMap)(),s={},u={};(n||i||r)&&((0,o.each)(n,(function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0})),(0,o.each)(i,(function(t){var e=t.axis.grid.model;a.set(e.id,e),u[e.id]=!0})),(0,o.each)(r,(function(t){a.set(t.id,t),s[t.id]=!0,u[t.id]=!0})),a.each((function(t){var r=t.coordinateSystem,a=[];(0,o.each)(r.getCartesians(),(function(t,e){((0,o.indexOf)(n,t.getAxis("x").model)>=0||(0,o.indexOf)(i,t.getAxis("y").model)>=0)&&a.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:a[0],coordSyses:a,getPanelRect:Ae.grid,xAxisDeclared:s[t.id],yAxisDeclared:u[t.id]})})))},geo:function(t,e){(0,o.each)(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:Ae.geo})}))}},De=[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}],Ae={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(L.getTransform(t)),e}},be={lineX:(0,o.curry)(Ce,0),lineY:(0,o.curry)(Ce,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[me([r[0],o[0]]),me([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]];return{values:(0,o.map)(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o})),xyMinMax:r}}};function Ce(t,e,n,i){var r=n.getAxis(["x","y"][t]),a=me((0,o.map)([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),s=[];return s[t]=a,s[1-t]=[NaN,NaN],{values:a,xyMinMax:s}}var we={lineX:(0,o.curry)(Se,0),lineY:(0,o.curry)(Se,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(0,o.map)(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function Se(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function Me(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}const Te=ye;var ke=n(64199),Ie=o.each,Fe=(0,h.S_)("toolbox-dataZoom_"),Ee=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.__extends)(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new le(n.getZr()),this._brushController.on("brush",o.bind(this._onBrush,this)).mount()),function(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 a=new Te(Pe(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,i,n),function(t,e){t.setIconStatus("back",function(t){return dt(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){Oe[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]),new Te(Pe(this.model),i,{include:["grid"]}).matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(r("x",n,e[0]),r("y",n,e[1])):r({lineX:"x",lineY:"y"}[i],n,e)}})),function(t,e){var n=dt(t);pt(e,(function(e,i){for(var r=n.length-1;r>=0&&!n[r][i];r--);if(r<0){var o=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(o){var a=o.getPercentRange();n[0][i]={dataZoomId:i,start:a[0],end:a[1]}}}})),n.push(e)}(i,n),this._dispatchZoomAction(n)}function r(t,e,r){var o=e.getAxis(t),a=o.model,s=function(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(i=n)})),i}(t,a,i),u=s.findRepresentativeAxisProxy(a).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=m(0,r.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:r[0],endValue:r[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];Ie(t,(function(t,n){e.push(o.clone(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{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:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(I),Oe={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=dt(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return pt(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n]){i[n]=t;break}})),i}(this.ecModel))}};function Pe(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}(0,ke.S)("dataZoom",(function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=Pe(i),a=(0,h._e)(t,o);return Ie(a.xAxisModels,(function(t){return s(t,"xAxis","xAxisIndex")})),Ie(a.yAxisModels,(function(t){return s(t,"yAxis","yAxisIndex")})),r}function s(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:Fe+e+o};a[n]=o,r.push(a)}}));const Be=Ee;function Le(t){t.registerComponentModel(P),t.registerComponentView(Y),E("saveAsImage",Z),E("magicType",et),E("dataView",ht),E("dataZoom",Be),E("restore",vt),(0,i.Y)(k)}},93557:(t,e,n)=>{"use strict";n.d(e,{a:()=>J});var i=n(16375),r=n(2444),o=n(1344);const a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.__extends)(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(n(97888).A);var s=n(37653),u=n(682),l=n(47981),c=n(62998),h=n(20863);function p(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function f(t){if(u.A.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}var d=f(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=f(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function v(t,e){if(!t)return e;e=(0,h.Cb)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var y=n(50838),m=v(g,"transition"),_=v(d,"transform"),x="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(u.A.transform3dSupported?"will-change:transform;":"");function D(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!u.A.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=u.A.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+_+":"+a+";":[["top",0],["left",0],[d,a]]}function A(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),l=t.get("shadowColor"),c=t.get("shadowOffsetX"),p=t.get("shadowOffsetY"),f=t.getModel("textStyle"),d=(0,y.CO)(t,"html"),g=c+"px "+p+"px "+a+"px "+l;return i.push("box-shadow:"+g),e&&r&&i.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=u.A.transformSupported?","+_+i:",left"+i+",top"+i),m+":"+r}(r,n)),o&&i.push("background-color:"+o),(0,s.each)(["width","color","radius"],(function(e){var n="border-"+e,r=(0,h.Cb)(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(function(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var r=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,a=t.get("textShadowOffsetX")||0,u=t.get("textShadowOffsetY")||0;return r&&o&&e.push("text-shadow:"+a+"px "+u+"px "+o+"px "+r),(0,s.each)(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}(f)),null!=d&&i.push("padding:"+(0,h.QX)(d).join("px ")+"px"),i.join(";")+";"}function b(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,c.lJ)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var C=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,u.A.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,s.isString)(r)?document.querySelector(r):(0,s.isDom)(r)?r:(0,s.isFunction)(r)&&r(t.getDom()));b(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,l.e0)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=function(t,e){var n=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return n?e?n[e]:n:null}(e,"position"),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=x+A(t,!this._firstShow,this._longHide)+D(r[0],r[1],!0)+"border-color:"+(0,h.he)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if((0,s.isString)(r)&&"item"===n.get("trigger")&&!p(n)&&(a=function(t,e,n){if(!(0,s.isString)(n)||"inside"===n)return"";var i=t.get("backgroundColor"),r=t.get("borderWidth");e=(0,h.he)(e);var o,a,u="left"===(o=n)?"right":"right"===o?"left":"top"===o?"bottom":"top",l=Math.max(1.5*Math.round(r),6),c="",p=_+":";(0,s.indexOf)(["left","right"],u)>-1?(c+="top:50%",p+="translateY(-50%) rotate("+(a="left"===u?-225:-45)+"deg)"):(c+="left:50%",p+="translateX(-50%) rotate("+(a="top"===u?225:45)+"deg)");var f=a*Math.PI/180,d=l+r,g=d*Math.abs(Math.cos(f))+d*Math.abs(Math.sin(f)),v=e+" solid "+r+"px;";return'<div style="'+["position:absolute;width:"+l+"px;height:"+l+"px;z-index:-1;",(c+=";"+u+":-"+Math.round(100*((g-Math.SQRT2*r)/2+Math.SQRT2*r-(g-d)/2))/100+"px")+";"+p+";","border-bottom:"+v,"border-right:"+v,"background-color:"+i+";"].join("")+'"></div>'}(n,i,r)),(0,s.isString)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,s.isArray)(t)||(t=[t]);for(var u=0;u<t.length;u++)(0,s.isDom)(t[u])&&t[u].parentNode!==o&&o.appendChild(t[u]);if(a&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=a,o.appendChild(l)}}}else o.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(b(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=D(n[0],n[1]);(0,s.each)(r,(function(t){i[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",u.A.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,s.bind)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}();const w=C;var S=n(37315),M=n(4484),T=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),F(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;s.isObject(t)&&(0,M.$8)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new S.Ay({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,y.CO)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),s.each(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){o.el.style[t]=n.get(t)})),s.each(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){o.el.style[t]=a.get(t)||0})),this._zr.add(this.el);var u=this;this.el.on("mouseover",(function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0})),this.el.on("mouseout",(function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=I(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;F(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=k(r.borderWidth||0),a=I(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.bind(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function k(t){return Math.max(0,t)}function I(t){var e=k(t.shadowBlur||0),n=k(t.shadowOffsetX||0),i=k(t.shadowOffsetY||0);return{left:k(e-n),right:k(e+n),top:k(e-i),bottom:k(e+i)}}function F(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}const E=T;var O=n(48369),P=n(86159),B=n(52730),L=n(12334),N=n(92160),R=n(40797),z=n(87658),V=n(13607),H=n(30555),W=n(13780),G=n(89289),U=n(63821),j=n(83950),X=n(35382),Y=n(10300),q=new P.A({shape:{x:-1,y:-1,width:2,height:2}});function Z(t,e,n){var i,r=e.ecModel;n?(i=new N.A(n,r,r),i=new N.A(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof N.A&&(a=a.get("tooltip",!0)),(0,s.isString)(a)&&(a={formatter:a}),a&&(i=new N.A(a,i,r)))}return i}function $(t,e){return t.dispatchAction||(0,s.bind)(e.dispatchAction,e)}function K(t){return"center"===t||"middle"===t}const Q=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.__extends)(e,t),e.prototype.init=function(t,e){if(!u.A.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,H.XJ)(n.get("renderMode"));this._tooltipContent="richText"===i?new E(e):new w(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!u.A.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,Y.N)(this,"_updatePosition",50,"fixRate"):(0,Y.IU)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");R.k("itemTooltip",this._api,(0,s.bind)((function(e,n,i){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,i):"leave"===e&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!u.A.node&&n.getDom()){var r=$(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i=(0,H.HB)(t).queryOptionMap,r=i.keys()[0];if(!r||"series"===r)return;var o=(0,H.JO)(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(!a)return;var s,u=n.getViewOfComponentModel(a);if(u.group.traverse((function(e){var n=(0,U.z)(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s)return{componentMainType:r,componentIndex:a.componentIndex,el:s}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var l=q;l.x=i.x,l.y=i.y,l.update(),(0,U.z)(l).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:l},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var c=(0,B.A)(i,e),h=c.point[0],p=c.point[1];null!=h&&null!=p&&this._tryShow({offsetX:h,offsetY:p,target:c.el,position:i.position,positionDefault:"bottom"},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))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide($(i,n))},e.prototype._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)if("axis"===Z([s.getData().getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var i=t.dataByCoordSys;if(i&&i.length)this._showAxisTooltip(i,t);else if(n){var r,o;if("legend"===(0,U.z)(n).ssrType)return;this._lastDataByCoordSys=null,(0,X.R)(n,(function(t){return null!=(0,U.z)(t).dataIndex?(r=t,!0):null!=(0,U.z)(t).tooltipConfig?(o=t,!0):void 0}),!0),r?this._showSeriesItemTooltip(t,r,e):o?this._showComponentItemTooltip(t,o,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,s.bind)(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Z([e.tooltipOption],i),a=this._renderMode,u=[],l=(0,y.Qx)("section",{blocks:[],noHeader:!0}),c=[],p=new y.lb;(0,s.each)(t,(function(t){(0,s.each)(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=V._F(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),f=(0,y.Qx)("section",{header:o,noHeader:!(0,s.trim)(o),sortBlocks:!0,blocks:[]});l.blocks.push(f),(0,s.each)(t.seriesDataIndices,(function(l){var d=n.getSeriesByIndex(l.seriesIndex),g=l.dataIndexInside,v=d.getDataParams(g);if(!(v.dataIndex<0)){v.axisDim=t.axisDim,v.axisIndex=t.axisIndex,v.axisType=t.axisType,v.axisId=t.axisId,v.axisValue=z.Dt(e.axis,{value:r}),v.axisValueLabel=o,v.marker=p.makeTooltipMarker("item",(0,h.he)(v.color),a);var y=(0,j.L)(d.formatTooltip(g,!0,null)),m=y.frag;if(m){var _=Z([d],i).get("valueFormatter");f.blocks.push(_?(0,s.extend)({valueFormatter:_},m):m)}y.text&&c.push(y.text),u.push(v)}}))}}))})),l.blocks.reverse(),c.reverse();var f=e.position,d=o.get("order"),g=(0,y.Yu)(l,p,a,d,n.get("useUTC"),o.get("textStyle"));g&&c.unshift(g);var v="richText"===a?"\n\n":"<br/>",m=c.join(v);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(o,f,r[0],r[1],this._tooltipContent,u):this._showTooltipContent(o,m,u,Math.random()+"",r[0],r[1],f,null,p)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,U.z)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),u=r.dataModel||a,l=r.dataIndex,c=r.dataType,p=u.getData(c),f=this._renderMode,d=t.positionDefault,g=Z([p.getItemModel(l),u,a&&(a.coordinateSystem||{}).model],this._tooltipModel,d?{position:d}:null),v=g.get("trigger");if(null==v||"item"===v){var m=u.getDataParams(l,c),_=new y.lb;m.marker=_.makeTooltipMarker("item",(0,h.he)(m.color),f);var x=(0,j.L)(u.formatTooltip(l,!1,c)),D=g.get("order"),A=g.get("valueFormatter"),b=x.frag,C=b?(0,y.Yu)(A?(0,s.extend)({valueFormatter:A},b):b,_,f,D,i.get("useUTC"),g.get("textStyle")):x.text,w="item_"+u.name+"_"+l;this._showOrMove(g,(function(){this._showTooltipContent(g,C,m,w,t.offsetX,t.offsetY,t.position,t.target,_)})),n({type:"showTip",dataIndexInside:l,dataIndex:p.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=(0,U.z)(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,s.isString)(o)){o={content:o,formatter:o},a=!0}a&&i&&o.content&&((o=(0,s.clone)(o)).content=(0,c.Me)(o.content));var u=[o],l=this._ecModel.getComponent(r.componentMainType,r.componentIndex);l&&u.push(l),u.push({formatter:o.content});var h=t.positionDefault,p=Z(u,this._tooltipModel,h?{position:h}:null),f=p.get("content"),d=Math.random()+"",g=new y.lb;this._showOrMove(p,(function(){var n=(0,s.clone)(p.get("formatterParams")||{});this._showTooltipContent(p,f,n,d,t.offsetX,t.offsetY,t.position,e,g)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,u,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var p=t.get("formatter");a=a||t.get("position");var f=e,d=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(p)if((0,s.isString)(p)){var g=t.ecModel.get("useUTC"),v=(0,s.isArray)(n)?n[0]:n;f=p,v&&v.axisType&&v.axisType.indexOf("time")>=0&&(f=(0,G.GP)(v.axisValue,f,g)),f=(0,h.YK)(f,n,!0)}else if((0,s.isFunction)(p)){var y=(0,s.bind)((function(e,i){e===this._ticket&&(c.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,c,n,u))}),this);this._ticket=i,f=p(n,i,y)}else f=p;c.setContent(f,l,t,d,a),c.show(t,d),this._updatePosition(t,a,r,o,c,n,u)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||(0,s.isArray)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:(0,s.isArray)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var u=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var c=r.getSize(),h=t.get("align"),f=t.get("verticalAlign"),d=a&&a.getBoundingRect().clone();if(a&&d.applyTransform(a.transform),(0,s.isFunction)(e)&&(e=e([n,i],o,r.el,d,{viewSize:[u,l],contentSize:c.slice()})),(0,s.isArray)(e))n=(0,O.lo)(e[0],u),i=(0,O.lo)(e[1],l);else if((0,s.isObject)(e)){var g=e;g.width=c[0],g.height=c[1];var v=(0,L.dV)(g,{width:u,height:l});n=v.x,i=v.y,h=null,f=null}else if((0,s.isString)(e)&&a){var y=function(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,u=0,l=e.width,c=e.height;switch(t){case"inside":s=e.x+l/2-r/2,u=e.y+c/2-o/2;break;case"top":s=e.x+l/2-r/2,u=e.y-o-a;break;case"bottom":s=e.x+l/2-r/2,u=e.y+c+a;break;case"left":s=e.x-r-a,u=e.y+c/2-o/2;break;case"right":s=e.x+l+a,u=e.y+c/2-o/2}return[s,u]}(e,d,c,t.get("borderWidth"));n=y[0],i=y[1]}else{y=function(t,e,n,i,r,o,a){var s=n.getSize(),u=s[0],l=s[1];null!=o&&(t+u+o+2>i?t-=u+o:t+=o);null!=a&&(e+l+a>r?e-=l+a:e+=a);return[t,e]}(n,i,r,u,l,h?null:20,f?null:20);n=y[0],i=y[1]}if(h&&(n-=K(h)?c[0]/2:"right"===h?c[0]:0),f&&(i-=K(f)?c[1]/2:"bottom"===f?c[1]:0),p(t)){y=function(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];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]}(n,i,r,u,l);n=y[0],i=y[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&(0,s.each)(n,(function(n,o){var a=n.dataByAxis||[],u=(t[o]||{}).dataByAxis||[];(r=r&&a.length===u.length)&&(0,s.each)(a,(function(t,n){var o=u[n]||{},a=t.seriesDataIndices||[],l=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===l.length)&&(0,s.each)(a,(function(t,e){var n=l[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&(0,s.each)(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!u.A.node&&e.getDom()&&((0,Y.IU)(this,"_updatePosition"),this._tooltipContent.dispose(),R.h("itemTooltip",e))},e.type="tooltip",e}(W.A);function J(t){(0,r.Y)(i.a),t.registerComponentModel(a),t.registerComponentView(Q),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.noop),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.noop)}},50838:(t,e,n)=>{"use strict";n.d(e,{CO:()=>A,Qx:()=>p,Yu:()=>m,aw:()=>D,lb:()=>b});var i=n(62998),r=n(20863),o=n(37653),a=n(46866),s=n(48369),u="line-height:1";function l(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,u=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.Me)(r+"")+"px;color:"+(0,i.Me)(n)+";font-weight:"+(0,i.Me)(o+""),valueStyle:"font-size:"+(0,i.Me)(s+"")+"px;color:"+(0,i.Me)(a)+";font-weight:"+(0,i.Me)(u+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:u}}}var c=[0,10,20,30],h=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function f(t){return"section"===t.type}function d(t){return f(t)?v:y}function g(t){if(f(t)){var e=0,n=t.blocks.length,i=n>1||n>0&&!t.noHeader;return(0,o.each)(t.blocks,(function(t){var n=g(t);n>=e&&(e=n+ +(i&&(!n||f(t)&&!t.noHeader)))})),e}return 0}function v(t,e,n,s){var p,f=e.noHeader,v=(p=g(e),{html:c[p],richText:h[p]}),y=[],m=e.blocks||[];(0,o.assert)(!m||(0,o.isArray)(m)),m=m||[];var D=t.orderMode;if(e.sortBlocks&&D){m=m.slice();var A={valueAsc:"asc",valueDesc:"desc"};if((0,o.hasOwn)(A,D)){var b=new a.Fl(A[D],null);m.sort((function(t,e){return b.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===D&&m.reverse()}(0,o.each)(m,(function(n,i){var r=e.valueFormatter,a=d(n)(r?(0,o.extend)((0,o.extend)({},t),{valueFormatter:r}):t,n,i>0?v.html:0,s);null!=a&&y.push(a)}));var C="richText"===t.renderMode?y.join(v.richText):_(y.join(""),f?n:v.html);if(f)return C;var w=(0,r.yC)(e.header,"ordinal",t.useUTC),S=l(s,t.renderMode).nameStyle;return"richText"===t.renderMode?x(t,w,S)+v.richText+C:_('<div style="'+S+";"+u+';">'+(0,i.Me)(w)+"</div>"+C,n)}function y(t,e,n,a){var s=t.renderMode,u=e.noName,c=e.noValue,h=!e.markerType,p=e.name,f=t.useUTC,d=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.isArray)(t)?t:[t],(0,o.map)(t,(function(t,e){return(0,r.yC)(t,(0,o.isArray)(y)?y[e]:y,f)}))};if(!u||!c){var g=h?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),v=u?"":(0,r.yC)(p,"ordinal",f),y=e.valueType,m=c?[]:d(e.value,e.dataIndex),D=!h||!u,A=!h&&u,b=l(a,s),C=b.nameStyle,w=b.valueStyle;return"richText"===s?(h?"":g)+(u?"":x(t,v,C))+(c?"":function(t,e,n,i,r){var a=[r],s=i?10:20;return n&&a.push({padding:[0,0,0,s],align:"right"}),t.markupStyleCreator.wrapRichTextStyle((0,o.isArray)(e)?e.join(" "):e,a)}(t,m,D,A,w)):_((h?"":g)+(u?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+(0,i.Me)(t)+"</span>"}(v,!h,C))+(c?"":function(t,e,n,r){var a=n?"10px":"20px",s=e?"float:right;margin-left:"+a:"";return t=(0,o.isArray)(t)?t:[t],'<span style="'+s+";"+r+'">'+(0,o.map)(t,(function(t){return(0,i.Me)(t)})).join(" ")+"</span>"}(m,D,A,w)),n)}}function m(t,e,n,i,r,o){if(t)return d(t)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function _(t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+u+';">'+t+'<div style="clear:both"></div></div>'}function x(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function D(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.he)(n)}function A(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var b=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.IH)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.qg)({color:e,type:t,renderMode:n,markerId:i});return(0,o.isString)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.isArray)(e)?(0,o.each)(e,(function(t){return(0,o.extend)(n,t)})):(0,o.extend)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},73955:(t,e,n)=>{"use strict";n.d(e,{A:()=>x});var i=n(37653),r=n(48369),o=n(32995),a=n(30555),s=n(87658),u=(0,a.$r)();function l(t,e){var n=i.map(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function c(t){var e=t.getLabelModel().get("customValues");if(e){var n=(0,s.ry)(t);return{labels:l(t,e).map((function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?function(t){var e=t.getLabelModel(),n=p(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=(0,s.ry)(t);return{labels:i.map(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function h(t,e){var n=t.getTickModel().get("customValues");return n?{ticks:l(t,n)}:"category"===t.type?function(t,e){var n,r,o=f(t,"ticks"),a=(0,s.j2)(e),u=d(o,a);if(u)return u;e.get("show")&&!t.scale.isBlank()||(n=[]);if(i.isFunction(a))n=y(t,a,!0);else if("auto"===a){var l=p(t,t.getLabelModel());r=l.labelCategoryInterval,n=i.map(l.labels,(function(t){return t.tickValue}))}else n=v(t,r=a,!0);return g(o,a,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:i.map(t.scale.getTicks(),(function(t){return t.value}))}}function p(t,e){var n,r,o=f(t,"labels"),a=(0,s.j2)(e),l=d(o,a);return l||(i.isFunction(a)?n=y(t,a):(r="auto"===a?function(t){var e=u(t).autoInterval;return null!=e?e:u(t).autoInterval=t.calculateCategoryInterval()}(t):a,n=v(t,r)),g(o,a,{labels:n,labelCategoryInterval:r}))}function f(t,e){return u(t)[e]||(u(t)[e]=[])}function d(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function g(t,e,n){return t.push({key:e,value:n}),n}function v(t,e,n){var i=(0,s.ry)(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),u=[],l=Math.max((e||0)+1,1),c=o[0],h=r.count();0!==c&&l>1&&h/l>2&&(c=Math.round(Math.ceil(c/l)*l));var p=(0,s.PJ)(t),f=a.get("showMinLabel")||p,d=a.get("showMaxLabel")||p;f&&c!==o[0]&&v(o[0]);for(var g=c;g<=o[1];g+=l)v(g);function v(t){var e={value:t};u.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&g-l!==o[1]&&v(o[1]),u}function y(t,e,n){var r=t.scale,o=(0,s.ry)(t),a=[];return i.each(r.getTicks(),(function(t){var i=r.getLabel(t),s=t.value;e(t.value,i)&&a.push(n?s:{formattedLabel:o(t),rawLabel:i,tickValue:s})})),a}var m=[0,1];function _(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}const x=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.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},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return(0,r.hb)(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&_(n=n.slice(),i.count()),(0,r.Cb)(t,m,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&_(n=n.slice(),i.count());var o=(0,r.Cb)(t,n,m,e);return this.scale.scale(o)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=h(this,e).ticks,o=(0,i.map)(n,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,o){var a=e.length;if(!t.onBand||n||!a)return;var s,u,l=t.getExtent();if(1===a)e[0].coord=l[0],s=e[1]={coord:l[1]};else{var c=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/c;(0,i.each)(e,(function(t){t.coord-=h/2})),u=1+t.scale.getExtent()[1]-e[a-1].tickValue,s={coord:e[a-1].coord+h*u},e.push(s)}var p=l[0]>l[1];f(e[0].coord,l[0])&&(o?e[0].coord=l[0]:e.shift());o&&f(l[0],e[0].coord)&&e.unshift({coord:l[0]});f(l[1],s.coord)&&(o?s.coord=l[1]:e.pop());o&&f(s.coord,l[1])&&e.push({coord:l[1]});function f(t,e){return t=(0,r.LI)(t),e=(0,r.LI)(e),p?t>e:t<e}}(this,o,e.get("alignWithLabel"),t.clamp),o},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,i.map)(e,(function(t){return(0,i.map)(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return c(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.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},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=(0,s.ry)(t),i=(e.axisRotate-e.labelRotate)/180*Math.PI,r=t.scale,a=r.getExtent(),l=r.count();if(a[1]-a[0]<1)return 0;var c=1;l>40&&(c=Math.max(1,Math.floor(l/40)));for(var h=a[0],p=t.dataToCoord(h+1)-t.dataToCoord(h),f=Math.abs(p*Math.cos(i)),d=Math.abs(p*Math.sin(i)),g=0,v=0;h<=a[1];h+=c){var y,m,_=o.NO(n({value:h}),e.font,"center","top");y=1.3*_.width,m=1.3*_.height,g=Math.max(g,y,7),v=Math.max(v,m,7)}var x=g/f,D=v/d;isNaN(x)&&(x=1/0),isNaN(D)&&(D=1/0);var A=Math.max(0,Math.floor(Math.min(x,D))),b=u(t.model),C=t.getExtent(),w=b.lastAutoInterval,S=b.lastTickCount;return null!=w&&null!=S&&Math.abs(w-A)<=1&&Math.abs(S-l)<=1&&w>A&&b.axisExtent0===C[0]&&b.axisExtent1===C[1]?A=w:(b.lastTickCount=l,b.lastAutoInterval=A,b.axisExtent0=C[0],b.axisExtent1=C[1]),A}(this)},t}()},87658:(t,e,n)=>{"use strict";n.d(e,{f$:()=>B,Og:()=>z,Dt:()=>R,wq:()=>G,j2:()=>H,Rx:()=>O,JJ:()=>L,ry:()=>N,af:()=>P,PJ:()=>W,PN:()=>U});var i=n(37653),r=n(34569),o=n(555),a=n(76062),s=n(48369),u="__ec_stack_";function l(t){return t.get("stack")||u+t.seriesIndex}function c(t){return t.dim+t.index}function h(t,e){var n=[];return e.eachSeriesByType(t,(function(t){d(t)&&n.push(t)})),n}function p(t){var e=function(t){var e={};(0,i.each)(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,u=a.count();s<u;++s){var l=a.get(o,s);e[r]?e[r].push(l):e[r]=[l]}}));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 u=o[s]-o[s-1];u>0&&(a=null===a?u:Math.min(a,u))}n[r]=a}}return n}(t),n=[];return(0,i.each)(t,(function(t){var i,r=t.coordinateSystem.getBaseAxis(),o=r.getExtent();if("category"===r.type)i=r.getBandWidth();else if("value"===r.type||"time"===r.type){var a=r.dim+"_"+r.index,u=e[a],h=Math.abs(o[1]-o[0]),p=r.scale.getExtent(),f=Math.abs(p[1]-p[0]);i=u?h/f*u:h}else{var d=t.getData();i=Math.abs(o[1]-o[0])/d.count()}var v=(0,s.lo)(t.get("barWidth"),i),y=(0,s.lo)(t.get("barMaxWidth"),i),m=(0,s.lo)(t.get("barMinWidth")||(g(t)?.5:1),i),_=t.get("barGap"),x=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:v,barMaxWidth:y,barMinWidth:m,barGap:_,barCategoryGap:x,axisKey:c(r),stackId:l(t)})})),f(n)}function f(t){var e={};(0,i.each)(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var u=t.barWidth;u&&!a[s].width&&(a[s].width=u,u=Math.min(o.remainedWidth,u),o.remainedWidth-=u);var l=t.barMaxWidth;l&&(a[s].maxWidth=l);var c=t.barMinWidth;c&&(a[s].minWidth=c);var h=t.barGap;null!=h&&(o.gap=h);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return(0,i.each)(e,(function(t,e){n[e]={};var r=t.stacks,o=t.bandWidth,a=t.categoryGap;if(null==a){var u=(0,i.keys)(r).length;a=Math.max(35-4*u,15)+"%"}var l=(0,s.lo)(a,o),c=(0,s.lo)(t.gap,1),h=t.remainedWidth,p=t.autoWidthCount,f=(h-l)/(p+(p-1)*c);f=Math.max(f,0),(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,h-=i+c*i,p--}else{var i=f;e&&e<i&&(i=Math.min(e,h)),n&&n>i&&(i=n),i!==f&&(t.width=i,h-=i+c*i,p--)}})),f=(h-l)/(p+(p-1)*c),f=Math.max(f,0);var d,g=0;(0,i.each)(r,(function(t,e){t.width||(t.width=f),d=t,g+=t.width*(1+c)})),d&&(g-=d.width*c);var v=-g/2;(0,i.each)(r,(function(t,i){n[e][i]=n[e][i]||{bandWidth:o,offset:v,width:t.width},v+=t.width*(1+c)}))})),n}function d(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function g(t){return t.pipelineContext&&t.pipelineContext.large}var v=n(82759),y=n(40959),m=n(1344),_=n(57986),x=a.A.prototype,D=o.A.prototype,A=s.LI,b=Math.floor,C=Math.ceil,w=Math.pow,S=Math.log,M=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new o.A,e._interval=0,e}return(0,m.__extends)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent(),o=D.getTicks.call(this,t);return i.map(o,(function(t){var e=t.value,i=s.LI(w(this.base,e));return i=e===n[0]&&this._fixMin?k(i,r[0]):i,{value:i=e===n[1]&&this._fixMax?k(i,r[1]):i}}),this)},e.prototype.setExtent=function(t,e){var n=S(this.base);t=S(Math.max(0,t))/n,e=S(Math.max(0,e))/n,D.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=x.getExtent.call(this);e[0]=w(t,e[0]),e[1]=w(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=k(e[0],n[0])),this._fixMax&&(e[1]=k(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=S(t[0])/S(e),t[1]=S(t[1])/S(e),x.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var i=s.au(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var r=[s.LI(C(e[0]/i)*i),s.LI(b(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){D.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=S(t)/S(this.base),_.lP(t,this._extent)},e.prototype.normalize=function(t){return t=S(t)/S(this.base),_.S8(t,this._extent)},e.prototype.scale=function(t){return t=_.hs(t,this._extent),w(this.base,t)},e.type="log",e}(a.A),T=M.prototype;function k(t,e){return A(t,s.XV(e))}T.getMinorTicks=D.getMinorTicks,T.getLabel=D.getLabel,a.A.registerClass(M);const I=M;var F=n(4791),E=n(57683);function O(t,e){var n=t.type,r=(0,E.Tc)(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var o=r.min,a=r.max,s=e.ecModel;if(s&&"time"===n){var u=h("bar",s),f=!1;if(i.each(u,(function(t){f=f||t.getBaseAxis()===e.axis})),f){var d=p(u),g=function(t,e,n,r){var o=n.axis.getExtent(),a=o[1]-o[0],s=function(t,e,n){if(t&&e){var i=t[c(e)];return null!=i&&null!=n?i[l(n)]:i}}(r,n.axis);if(void 0===s)return{min:t,max:e};var u=1/0;i.each(s,(function(t){u=Math.min(t.offset,u)}));var h=-1/0;i.each(s,(function(t){h=Math.max(t.offset+t.width,h)})),u=Math.abs(u),h=Math.abs(h);var p=u+h,f=e-t,d=f/(1-(u+h)/a)-f;return e+=d*(h/p),t-=d*(u/p),{min:t,max:e}}(o,a,e,d);o=g.min,a=g.max}}return{extent:[o,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function P(t,e){var n=e,i=O(t,n),r=i.extent,o=n.get("splitNumber");t instanceof I&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),u="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:u?n.get("minInterval"):null,maxInterval:u?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function B(t,e){if(e=e||t.get("type"))switch(e){case"category":return new r.A({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new y.A({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(a.A.getClass(e)||o.A)}}function L(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function N(t){var e,n,r=t.getLabelModel().get("formatter"),o="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(n=r,function(e,i){return t.scale.getFormattedLabel(e,i,n)}):i.isString(r)?function(e){return function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}}(r):i.isFunction(r)?(e=r,function(n,i){return null!=o&&(i=n.value-o),e(R(t,n),i,null!=n.level?{level:n.level}:null)}):function(e){return t.scale.getLabel(e)}}function R(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function z(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,o,a=n.getExtent();o=n instanceof r.A?n.count():(i=n.getTicks()).length;var s,u=t.getLabelModel(),l=N(t),c=1;o>40&&(c=Math.ceil(o/40));for(var h=0;h<o;h+=c){var p=l(i?i[h]:{value:a[0]+h},h),f=V(u.getTextRect(p),u.get("rotate")||0);s?s.union(f):s=f}return s}}function V(t,e){var n=e*Math.PI/180,i=t.width,r=t.height,o=i*Math.abs(Math.cos(n))+Math.abs(r*Math.sin(n)),a=i*Math.abs(Math.sin(n))+Math.abs(r*Math.cos(n));return new v.A(t.x,t.y,o,a)}function H(t){var e=t.get("interval");return null==e?"auto":e}function W(t){return"category"===t.type&&0===H(t.getLabelModel())}function G(t,e){var n={};return i.each(t.mapDimensionsAll(e),(function(e){n[(0,F.me)(t,e)]=!0})),i.keys(n)}function U(t,e,n){e&&i.each(G(e,n),(function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])}))}},16255:(t,e,n)=>{"use strict";n.d(e,{L:()=>i});var i=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}()},3581:(t,e,n)=>{"use strict";n.d(e,{LR:()=>s,Zp:()=>o,gO:()=>a});var i=n(37653),r=n(30555);function o(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],u=o.position,l=s?"onZero":u,c=o.dim,h=r.getRect(),p=[h.x,h.x+h.width,h.y,h.y+h.height],f={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,g="x"===c?[p[2]-d,p[3]+d]:[p[0]-d,p[1]+d];if(s){var v=s.toGlobalCoord(s.dataToCoord(0));g[f.onZero]=Math.max(Math.min(v,g[1]),g[0])}a.position=["y"===c?g[f[l]]:p[0],"x"===c?g[f[l]]:p[3]],a.rotation=Math.PI/2*("x"===c?0:1);a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,left:-1,right:1}[u],a.labelOffset=s?g[f[u]]-g[f.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"===l?-y:y,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return i.each(e,(function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.US).models[0];e[i]=a})),e}},57683:(t,e,n)=>{"use strict";n.d(e,{Tc:()=>u});var i=n(37653),r=n(32995),o=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var o=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var a=e.get("min",!0);null==a&&(a=e.get("startValue",!0));var s=this._modelMinRaw=a;(0,i.isFunction)(s)?this._modelMinNum=l(t,s({min:n[0],max:n[1]})):"dataMin"!==s&&(this._modelMinNum=l(t,s));var u=this._modelMaxRaw=e.get("max",!0);if((0,i.isFunction)(u)?this._modelMaxNum=l(t,u({min:n[0],max:n[1]})):"dataMax"!==u&&(this._modelMaxNum=l(t,u)),o)this._axisDataLen=e.getCategories().length;else{var c=e.get("boundaryGap"),h=(0,i.isArray)(c)?c:[c||0,c||0];"boolean"===typeof h[0]||"boolean"===typeof h[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,r.lo)(h[0],1),(0,r.lo)(h[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,u="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,l=null!=s,c=null!=u;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==u&&(u=t?r?r-1:NaN:n+o[1]*a),(null==s||!isFinite(s))&&(s=NaN),(null==u||!isFinite(u))&&(u=NaN);var h=(0,i.eqNaN)(s)||(0,i.eqNaN)(u)||t&&!r;this._needCrossZero&&(s>0&&u>0&&!l&&(s=0),s<0&&u<0&&!c&&(u=0));var p=this._determinedMin,f=this._determinedMax;return null!=p&&(s=p,l=!0),null!=f&&(u=f,c=!0),{min:s,max:u,minFixed:l,maxFixed:c,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){this[s[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[a[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),a={min:"_determinedMin",max:"_determinedMax"},s={min:"_dataMin",max:"_dataMax"};function u(t,e,n){var i=t.rawExtentInfo;return i||(i=new o(t,e,n),t.rawExtentInfo=i,i)}function l(t,e){return null==e?null:(0,i.eqNaN)(e)?NaN:t.parse(e)}},27486:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(37653),r={};const o=function(){function t(){this._coordinateSystems=[]}return t.prototype.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},t.prototype.update=function(t,e){i.each(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}()},31800:(t,e,n)=>{"use strict";n.d(e,{FQ:()=>Pe,Ng:()=>Mn,p5:()=>Kn,El:()=>Te,zm:()=>kn,Zf:()=>Tn,AS:()=>In,Bo:()=>Hn,FP:()=>Fn,aQ:()=>En,ZB:()=>Zn,Ts:()=>Sn,OH:()=>zn,pX:()=>Vn,Oh:()=>Wn,Ej:()=>Xn,E:()=>le.E,mz:()=>qn,cf:()=>Ln,tb:()=>Nn,lP:()=>Pn,qg:()=>Bn,bf:()=>On,iY:()=>$n,xV:()=>Rn,AF:()=>Gn,vV:()=>Yn,rE:()=>Me});var i=n(1344),r=n(85277),o=n(37653),a=n(682),s=n(92323),u=n(49870),l=n(30555),c=n(92160),h=n(97888),p="";"undefined"!==typeof navigator&&(p=navigator.platform||"");var f="rgba(0, 0, 0, 0.2)";const d={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:f,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:f,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:f,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:f,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:f,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:f,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:p.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var g,v,y,m=n(75038),_=n(64199),x=n(83474),D="\0_ec_inner";var A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new c.A(i),this._locale=new c.A(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=w(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,w(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):y(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,o.each)(s,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,a=[],s=(0,o.createHashMap)(),u=e&&e.replaceMergeMainTypeMap;(0,m.ps)(this),(0,o.each)(t,(function(t,e){null!=t&&(h.A.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,o.clone)(t):(0,o.merge)(n[e],t,!0))})),u&&u.each((function(t,e){h.A.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))})),h.A.topologicalTravel(a,h.A.getAllClassMainTypes(),(function(e){var a=(0,_.a)(this,e,l.qB(t[e])),s=i.get(e),c=s?u&&u.get(e)?"replaceMerge":"normalMerge":"replaceAll",p=l.O2(s,a,c);l.GX(p,e,h.A),n[e]=null,i.set(e,null),r.set(e,0);var f,d=[],v=[],y=0;(0,o.each)(p,(function(t,n){var i=t.existing,r=t.newOption;if(r){var a="series"===e,s=h.A.getClass(e,t.keyInfo.subType,!a);if(!s)return;if("tooltip"===e){if(f)return void 0;f=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var u=(0,o.extend)({componentIndex:n},t.keyInfo);i=new s(r,this,this,u),(0,o.extend)(i,u),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(d.push(i.option),v.push(i),y++):(d.push(void 0),v.push(void 0))}),this),n[e]=d,i.set(e,v),r.set(e,y),"series"===e&&g(this)}),this),this._seriesIndices||g(this)},e.prototype.getOption=function(){var t=(0,o.clone)(this.option);return(0,o.each)(t,(function(e,n){if(h.A.hasClass(n)){for(var i=l.qB(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!l.oh(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[D],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r<n.length;r++)if(n[r])return n[r]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,i=t.index,r=t.id,a=t.name,s=this._componentsMap.get(e);return s&&s.length?(null!=i?(n=[],(0,o.each)(l.qB(i),(function(t){s[t]&&n.push(s[t])}))):n=null!=r?b("id",r,s):null!=a?b("name",a,s):(0,o.filter)(s,(function(t){return!!t})),C(n,t)):[]},e.prototype.findComponents=function(t){var e,n=t.query,i=t.mainType,r=function(t){var e=i+"Index",n=i+"Id",r=i+"Name";return!t||null==t[e]&&null==t[n]&&null==t[r]?null:{mainType:i,index:t[e],id:t[n],name:t[r]}}(n),a=r?this.queryComponents(r):(0,o.filter)(this._componentsMap.get(i),(function(t){return!!t}));return e=C(a,t),t.filter?(0,o.filter)(e,t.filter):e},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,o.isFunction)(t)){var r=e,a=t;i.each((function(t,e){for(var n=0;t&&n<t.length;n++){var i=t[n];i&&a.call(r,e,i,i.componentIndex)}}))}else for(var s=(0,o.isString)(t)?i.get(t):(0,o.isObject)(t)?this.findComponents(t):null,u=0;s&&u<s.length;u++){var l=s[u];l&&e.call(n,l,l.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=l.vS(t,null);return(0,o.filter)(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,o.filter)(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return(0,o.filter)(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){v(this),(0,o.each)(this._seriesIndices,(function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)}),this)},e.prototype.eachRawSeries=function(t,e){(0,o.each)(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){v(this),(0,o.each)(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,o.each)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return v(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){v(this);var n=[];(0,o.each)(this._seriesIndices,(function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)}),this),this._seriesIndices=n,this._seriesIndicesMap=(0,o.createHashMap)(n)},e.prototype.restoreData=function(t){g(this);var e=this._componentsMap,n=[];e.each((function(t,e){h.A.hasClass(e)&&n.push(e)})),h.A.topologicalTravel(n,h.A.getAllClassMainTypes(),(function(n){(0,o.each)(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t)||e.restoreData()}))}))},e.internalField=(g=function(t){var e=t._seriesIndices=[];(0,o.each)(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=(0,o.createHashMap)(e)},v=function(t){},void(y=function(t,e){t.option={},t.option[D]=1,t._componentsMap=(0,o.createHashMap)({series:[]}),t._componentsCount=(0,o.createHashMap)();var n=e.aria;(0,o.isObject)(n)&&null==n.enabled&&(n.enabled=!0),function(t,e){var n=t.color&&!t.colorLayer;(0,o.each)(e,(function(e,i){"colorLayer"===i&&n||h.A.hasClass(i)||("object"===typeof e?t[i]=t[i]?(0,o.merge)(t[i],e,!1):(0,o.clone)(e):null==t[i]&&(t[i]=e))}))}(e,t._theme.option),(0,o.merge)(e,d,!1),t._mergeOption(e,null)})),e}(c.A);function b(t,e,n){if((0,o.isArray)(e)){var i=(0,o.createHashMap)();return(0,o.each)(e,(function(t){null!=t&&(null!=l.vS(t,null)&&i.set(t,!0))})),(0,o.filter)(n,(function(e){return e&&i.get(e[t])}))}var r=l.vS(e,null);return(0,o.filter)(n,(function(e){return e&&null!=r&&e[t]===r}))}function C(t,e){return e.hasOwnProperty("subType")?(0,o.filter)(t,(function(t){return t&&t.subType===e.subType})):t}function w(t){var e=(0,o.createHashMap)();return t&&(0,o.each)(l.qB(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}(0,o.mixin)(A,x.X);const S=A;var M=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];const T=function(t){o.each(M,(function(e){this[e]=o.bind(t[e],t)}),this)};var k=n(27486),I=/^(min|max)?(.+)$/,F=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,o.each)((0,l.qB)(t.series),(function(t){t&&t.data&&(0,o.isTypedArray)(t.data)&&(0,o.setAsPrimitive)(t.data)})),(0,o.each)((0,l.qB)(t.dataset),(function(t){t&&t.source&&(0,o.isTypedArray)(t.source)&&(0,o.setAsPrimitive)(t.source)}))),t=(0,o.clone)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,a=[],s=t.baseOption,u=t.timeline,l=t.options,c=t.media,h=!!t.media,p=!!(l||u||s&&s.timeline);s?(r=s).timeline||(r.timeline=u):((p||h)&&(t.options=t.media=null),r=t);h&&(0,o.isArray)(c)&&(0,o.each)(c,(function(t){t&&t.option&&(t.query?a.push(t):i||(i=t))}));function f(t){(0,o.each)(e,(function(e){e(t,n)}))}return f(r),(0,o.each)(l,(function(t){return f(t)})),(0,o.each)(a,(function(t){return f(t.option)})),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:a}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,o.clone)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,o.clone)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),a=this._mediaList,s=this._mediaDefault,u=[],l=[];if(!a.length&&!s)return l;for(var c=0,h=a.length;c<h;c++)E(a[c].query,i,r)&&u.push(c);return!u.length&&s&&(u=[-1]),u.length&&(e=u,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,o.map)(u,(function(t){return(0,o.clone)(-1===t?s.option:a[t].option)}))),this._currentMediaIndices=u,l},t}();function E(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,o.each)(t,(function(t,e){var n=e.match(I);if(n&&n[1]&&n[2]){var o=n[1],a=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(i[a],t,o)||(r=!1)}})),r}const O=F;var P=o.each,B=o.isObject,L=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function N(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=L.length;n<i;n++){var r=L[n],a=e.normal,s=e.emphasis;a&&a[r]&&(t[r]=t[r]||{},t[r].normal?o.merge(t[r].normal,a[r]):t[r].normal=a[r],a[r]=null),s&&s[r]&&(t[r]=t[r]||{},t[r].emphasis?o.merge(t[r].emphasis,s[r]):t[r].emphasis=s[r],s[r]=null)}}function R(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,o.defaults(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function z(t){R(t,"itemStyle"),R(t,"lineStyle"),R(t,"areaStyle"),R(t,"label"),R(t,"labelLine"),R(t,"upperLabel"),R(t,"edgeLabel")}function V(t,e){var n=B(t)&&t[e],i=B(n)&&n.textStyle;if(i){0;for(var r=0,o=l.JS.length;r<o;r++){var a=l.JS[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}}function H(t){t&&(z(t),V(t,"label"),t.emphasis&&V(t.emphasis,"label"))}function W(t){return o.isArray(t)?t:t?[t]:[]}function G(t){return(o.isArray(t)?t[0]:t)||{}}function U(t,e){P(W(t.series),(function(t){B(t)&&function(t){if(B(t)){N(t),z(t),V(t,"label"),V(t,"upperLabel"),V(t,"edgeLabel"),t.emphasis&&(V(t.emphasis,"label"),V(t.emphasis,"upperLabel"),V(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(N(e),H(e));var n=t.markLine;n&&(N(n),H(n));var i=t.markArea;i&&H(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var a=t.links||t.edges;if(a&&!o.isTypedArray(a))for(var s=0;s<a.length;s++)H(a[s]);o.each(t.categories,(function(t){z(t)}))}if(r&&!o.isTypedArray(r))for(s=0;s<r.length;s++)H(r[s]);if((e=t.markPoint)&&e.data){var u=e.data;for(s=0;s<u.length;s++)H(u[s])}if((n=t.markLine)&&n.data){var l=n.data;for(s=0;s<l.length;s++)o.isArray(l[s])?(H(l[s][0]),H(l[s][1])):H(l[s])}"gauge"===t.type?(V(t,"axisLabel"),V(t,"title"),V(t,"detail")):"treemap"===t.type?(R(t.breadcrumb,"itemStyle"),o.each(t.levels,(function(t){z(t)}))):"tree"===t.type&&z(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),P(n,(function(e){P(W(t[e]),(function(t){t&&(V(t,"axisLabel"),V(t.axisPointer,"label"))}))})),P(W(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;V(e,"axisLabel"),V(e&&e.axisPointer,"label")})),P(W(t.calendar),(function(t){R(t,"itemStyle"),V(t,"dayLabel"),V(t,"monthLabel"),V(t,"yearLabel")})),P(W(t.radar),(function(t){V(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),P(W(t.geo),(function(t){B(t)&&(H(t),P(W(t.regions),(function(t){H(t)})))})),P(W(t.timeline),(function(t){H(t),R(t,"label"),R(t,"itemStyle"),R(t,"controlStyle",!0);var e=t.data;o.isArray(e)&&o.each(e,(function(t){o.isObject(t)&&(R(t,"label"),R(t,"itemStyle"))}))})),P(W(t.toolbox),(function(t){R(t,"iconStyle"),P(t.feature,(function(t){R(t,"iconStyle")}))})),V(G(t.axisPointer),"label"),V(G(t.tooltip).axisPointer,"label")}function j(t){t&&(0,o.each)(X,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var X=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Y=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],q=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Z(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<q.length;n++){var i=q[n][1],r=q[n][0];null!=e[i]&&(e[r]=e[i])}}function $(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function K(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function Q(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&Q(t[n].children,e)}function J(t,e){U(t,e),t.series=(0,l.qB)(t.series),(0,o.each)(t.series,(function(t){if((0,o.isObject)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),$(t.label),(r=t.data)&&!(0,o.isTypedArray)(r))for(var n=0;n<r.length;n++)$(r[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var i=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=i&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];(i||null==a[o[s]])&&(a[o[s]]=n)}(t,"itemStyle.color",i)}else if("bar"===e){var r;if(Z(t),Z(t.backgroundStyle),Z(t.emphasis),(r=t.data)&&!(0,o.isTypedArray)(r))for(n=0;n<r.length;n++)"object"===typeof r[n]&&(Z(r[n]),Z(r[n]&&r[n].emphasis))}else if("sunburst"===e){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),K(t),Q(t.data,K)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,o.defaults)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),j(t)}})),t.dataRange&&(t.visualMap=t.dataRange),(0,o.each)(Y,(function(e){var n=t[e];n&&((0,o.isArray)(n)||(n=[n]),(0,o.each)(n,(function(t){j(t)})))}))}var tt=n(48369);function et(t){(0,o.each)(t,(function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,u=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,(function(o,l,c){var h,p,f=a.get(e.stackedDimension,c);if(isNaN(f))return r;s?p=a.getRawIndex(c):h=a.get(e.stackedByDimension,c);for(var d=NaN,g=n-1;g>=0;g--){var v=t[g];if(s||(p=v.data.rawIndexOf(v.stackedByDimension,h)),p>=0){var y=v.data.getByRawIndex(v.stackResultDimension,p);if("all"===u||"positive"===u&&y>0||"negative"===u&&y<0||"samesign"===u&&f>=0&&y>0||"samesign"===u&&f<=0&&y<0){f=(0,tt.Tr)(f,y),d=y;break}}}return i[0]=f,i[1]=d,i}))}))}var nt=n(52636),it=n(13780),rt=n(52079),ot=n(86159),at=n(93175),st=n(99881),ut=n(4995),lt=n(63821),ct=n(56402),ht=n(10300),pt=n(89467),ft=n(95873),dt=n(7994),gt=(0,l.$r)(),vt={itemStyle:(0,pt.A)(ft.L,!0),lineStyle:(0,pt.A)(dt.m,!0)},yt={lineStyle:"stroke",itemStyle:"fill"};function mt(t,e){var n=t.visualStyleMapper||vt[e];return n||(console.warn("Unknown style type '"+e+"'."),vt.itemStyle)}function _t(t,e){var n=t.visualDrawType||yt[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var xt={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),a=mt(t,i)(r),s=r.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var u=_t(t,i),l=a[u],c=(0,o.isFunction)(l)?l:null,h="auto"===a.fill||"auto"===a.stroke;if(!a[u]||c||h){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[u]||(a[u]=p,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||(0,o.isFunction)(a.fill)?p:a.fill,a.stroke="auto"===a.stroke||(0,o.isFunction)(a.stroke)?p:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",u),!e.isSeriesFiltered(t)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=(0,o.extend)({},a);r[u]=c(i),e.setItemVisual(n,"style",r)}}}},Dt=new c.A,At={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=mt(t,i),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){Dt.option=n[i];var s=r(Dt),u=t.ensureUniqueItemVisual(e,"style");(0,o.extend)(u,s),Dt.option.decal&&(t.setItemVisual(e,"decal",Dt.option.decal),Dt.option.decal.dirty=!0),a in s&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},bt={performRawSeries:!0,overallReset:function(t){var e=(0,o.createHashMap)();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),gt(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=gt(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=_t(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t];if(r.getItemVisual(a,"colorFromPalette")){var u=r.ensureUniqueItemVisual(a,"style"),l=n.getName(t)||t+"",c=n.count();u[s]=e.getColorFromPalette(l,o,c)}}))}}))}},Ct=n(55741),wt=n(37315),St=n(74492),Mt=Math.PI;var Tt=n(76876),kt=n(28213),It=function(){function t(t,e,n,i){this._stageTaskMap=(0,o.createHashMap)(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.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?n.step:null,o=i&&i.modDataCount;return{step:r,modBy:null!=o?Math.ceil(o/r):null,modDataCount:o}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData().count(),r=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,o=t.get("large")&&i>=t.get("largeThreshold"),a="mod"===t.get("progressiveChunkMode")?i:null;t.pipelineContext=n.context={progressiveRender:r,modDataCount:a,large:o}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=(0,o.createHashMap)();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}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;(0,o.each)(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,o.assert)(!(i.reset&&i.overallReset),""),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.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,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,a=this;function s(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}(0,o.each)(t,(function(t,o){if(!i.visualType||i.visualType===t.visualType){var u=a._stageTaskMap.get(t.uid),l=u.seriesTaskMap,c=u.overallTask;if(c){var h,p=c.agentStubMap;p.each((function(t){s(i,t)&&(t.dirty(),h=!0)})),h&&c.dirty(),a.updatePayload(c,n);var f=a.getPerformArgs(c,i.block);p.each((function(t){t.perform(f)})),c.perform(f)&&(r=!0)}else l&&l.each((function(o,u){s(i,o)&&o.dirty();var l=a.getPerformArgs(o,i.block);l.skip=!t.performRawSeries&&e.isSeriesFiltered(o.context.model),a.updatePayload(o,n),o.perform(l)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.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)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,a=e.seriesTaskMap,s=e.seriesTaskMap=(0,o.createHashMap)(),u=t.seriesType,l=t.getTargetSeries;function c(e){var o=e.uid,u=s.set(o,a&&a.get(o)||(0,Tt.U)({plan:Bt,reset:Lt,count:zt}));u.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,u)}t.createOnAllSeries?n.eachRawSeries(c):u?n.eachRawSeriesByType(u,c):l&&l(n,i).each(c)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,a=e.overallTask=e.overallTask||(0,Tt.U)({reset:Ft});a.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var s=a.agentStubMap,u=a.agentStubMap=(0,o.createHashMap)(),l=t.seriesType,c=t.getTargetSeries,h=!0,p=!1;function f(t){var e=t.uid,n=u.set(e,s&&s.get(e)||(p=!0,(0,Tt.U)({reset:Et,onDirty:Pt})));n.context={model:t,overallProgress:h},n.agent=a,n.__block=h,r._pipe(t,n)}(0,o.assert)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,f):c?c(n,i).each(f):(h=!1,(0,o.each)(n.getSeries(),f)),p&&a.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return(0,o.isFunction)(t)&&(t={overallReset:t,seriesType:Vt(t)}),t.uid=(0,kt.$Q)("stageHandler"),e&&(t.visualType=e),t},t}();function Ft(t){t.overallReset(t.ecModel,t.api,t.payload)}function Et(t){return t.overallProgress&&Ot}function Ot(){this.agent.dirty(),this.getDownstream().dirty()}function Pt(){this.agent&&this.agent.dirty()}function Bt(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Lt(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,l.qB)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,o.map)(e,(function(t,e){return Rt(e)})):Nt}var Nt=Rt(0);function Rt(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 zt(t){return t.data.count()}function Vt(t){Ht=null;try{t(Wt,Gt)}catch(e){}return Ht}var Ht,Wt={},Gt={};function Ut(t,e){for(var n in e.prototype)t[n]=o.noop}Ut(Wt,S),Ut(Gt,T),Wt.eachSeriesByType=Wt.eachRawSeriesByType=function(t){Ht=t},Wt.eachComponent=function(t){"series"===t.mainType&&t.subType&&(Ht=t.subType)};const jt=It;var Xt=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const Yt={color:Xt,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Xt]};var qt="#B9B8CE",Zt="#100C2A",$t=function(){return{axisLine:{lineStyle:{color:qt}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},Kt=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Qt={darkMode:!0,color:Kt,backgroundColor:Zt,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:qt}},textStyle:{color:qt},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:qt}},dataZoom:{borderColor:"#71708A",textStyle:{color:qt},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:qt}},timeline:{lineStyle:{color:qt},label:{color:qt},controlStyle:{color:qt,borderColor:qt}},calendar:{itemStyle:{color:Zt},dayLabel:{color:qt},monthLabel:{color:qt},yearLabel:{color:qt}},timeAxis:$t(),logAxis:$t(),valueAxis:$t(),categoryAxis:$t(),line:{symbol:"circle"},graph:{color:Kt},gauge:{title:{color:qt},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:qt},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Qt.categoryAxis.splitLine.show=!1;const Jt=Qt;var te=n(27912),ee=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(o.isString(t)){var r=(0,te.CC)(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,u=0;u<a.length;u++){var l=a[u],c=r.lastIndexOf(l);if(c>0&&c===r.length-l.length){var h=r.slice(0,c);"data"!==h&&(e.mainType=h,e[l.toLowerCase()]=t,o=!0)}}s.hasOwnProperty(r)&&(n[r]=t,o=!0),o||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,u=e.dataQuery;return l(s,o,"mainType")&&l(s,o,"subType")&&l(s,o,"index","componentIndex")&&l(s,o,"name")&&l(s,o,"id")&&l(u,r,"name")&&l(u,r,"dataIndex")&&l(u,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function l(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),ne=["symbol","symbolSize","symbolRotate","symbolOffset"],ie=ne.concat(["symbolKeepAspect"]),re={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},a=!1,s=0;s<ne.length;s++){var u=ne[s],l=t.get(u);(0,o.isFunction)(l)?(a=!0,r[u]=l):i[u]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,o.extend)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var c=(0,o.keys)(r);return{dataEach:a?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<c.length;a++){var s=c[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}},oe={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<ie.length;i++){var r=ie[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}};var ae=n(4484);function se(t,e,n,i,r){var a=t+e;n.isSilent(a)||i.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,s=r.selected,u=0;u<s.length;u++)if(s[u].seriesIndex===e){var c=t.getData(),h=(0,l.le)(c,r.fromActionPayload);n.trigger(a,{type:a,seriesId:t.id,name:(0,o.isArray)(h)?c.getName(h[0]):c.getName(h),selected:(0,o.isString)(i)?i:(0,o.extend)({},i)})}}))}var ue=n(3811),le=n(93170),ce=n(35382),he=Math.round(9*Math.random()),pe="function"===typeof Object.defineProperty;const fe=function(){function t(){this._id="__ec_inner_"+he++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return pe?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}();var de=n(27080),ge=n(56340),ve=n(57250),ye=n(87718),me=new fe,_e=new de.Ay(100),xe=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function De(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&me.delete(t);var a=me.get(t);if(a)return a;var s=(0,o.defaults)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===s.backgroundColor&&(s.backgroundColor=null);var u={repeat:"repeat"};return function(t){for(var e,a=[n],u=!0,l=0;l<xe.length;++l){var c=s[xe[l]];if(null!=c&&!(0,o.isArray)(c)&&!(0,o.isString)(c)&&!(0,o.isNumber)(c)&&"boolean"!==typeof c){u=!1;break}a.push(c)}if(u){e=a.join(",")+(r?"-svg":"");var h=_e.get(e);h&&(r?t.svgElement=h:t.image=h)}var p,f=be(s.dashArrayX),d=function(t){if(!t||"object"===typeof t&&0===t.length)return[0,0];if((0,o.isNumber)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,o.map)(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}(s.dashArrayY),g=Ae(s.symbol),v=(D=f,(0,o.map)(D,(function(t){return Ce(t)}))),y=Ce(d),m=!r&&ye.yh.createCanvas(),_=r&&{tag:"g",attrs:{},key:"dcl",children:[]},x=function(){for(var t=1,e=0,n=v.length;e<n;++e)t=(0,tt.lQ)(t,v[e]);var i=1;for(e=0,n=g.length;e<n;++e)i=(0,tt.lQ)(i,g[e].length);t*=i;var r=y*v.length*g.length;0;return{width:Math.max(1,Math.min(t,s.maxTileWidth)),height:Math.max(1,Math.min(r,s.maxTileHeight))}}();var D;m&&(m.width=x.width*n,m.height=x.height*n,p=m.getContext("2d"));(function(){p&&(p.clearRect(0,0,m.width,m.height),s.backgroundColor&&(p.fillStyle=s.backgroundColor,p.fillRect(0,0,m.width,m.height)));for(var t=0,e=0;e<d.length;++e)t+=d[e];if(t<=0)return;var o=-y,a=0,u=0,l=0;for(;o<x.height;){if(a%2===0){for(var c=u/2%g.length,h=0,v=0,D=0;h<2*x.width;){var A=0;for(e=0;e<f[l].length;++e)A+=f[l][e];if(A<=0)break;if(v%2===0){var b=.5*(1-s.symbolSize),C=h+f[l][v]*b,w=o+d[a]*b,S=f[l][v]*s.symbolSize,M=d[a]*s.symbolSize,T=D/2%g[c].length;k(C,w,S,M,g[c][T])}h+=f[l][v],++D,++v===f[l].length&&(v=0)}++l===f.length&&(l=0)}o+=d[a],++u,++a===d.length&&(a=0)}function k(t,e,o,a,u){var l=r?1:n,c=(0,ge.v5)(u,t*l,e*l,o*l,a*l,s.color,s.symbolKeepAspect);if(r){var h=i.painter.renderOneToVNode(c);h&&_.children.push(h)}else(0,ve.Xi)(p,c)}})(),u&&_e.put(e,m||_);t.image=m,t.svgElement=_,t.svgWidth=x.width,t.svgHeight=x.height}(u),u.rotation=s.rotation,u.scaleX=u.scaleY=r?1:1/n,me.set(t,u),t.dirty=!1,u}function Ae(t){if(!t||0===t.length)return[["rect"]];if((0,o.isString)(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!(0,o.isString)(t[n])){e=!1;break}if(e)return Ae([t]);var i=[];for(n=0;n<t.length;++n)(0,o.isString)(t[n])?i.push([t[n]]):i.push(t[n]);return i}function be(t){if(!t||0===t.length)return[[0,0]];if((0,o.isNumber)(t))return[[r=Math.ceil(t),r]];for(var e=!0,n=0;n<t.length;++n)if(!(0,o.isNumber)(t[n])){e=!1;break}if(e)return be([t]);var i=[];for(n=0;n<t.length;++n)if((0,o.isNumber)(t[n])){var r=Math.ceil(t[n]);i.push([r,r])}else{(r=(0,o.map)(t[n],(function(t){return Math.ceil(t)}))).length%2===1?i.push(r.concat(r)):i.push(r)}return i}function Ce(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2===1?2*e:e}const we=new u.A;var Se=n(54855),Me="5.5.1",Te={zrender:"5.6.0"},ke=2e3,Ie=1e3,Fe=2e3,Ee=3e3,Oe=4500,Pe={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:Ie,PROGRESSIVE_LAYOUT:1100,GLOBAL:Fe,CHART:Ee,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:Oe,ARIA:6e3,DECAL:7e3}},Be="__flagInMainProcess",Le="__pendingUpdate",Ne="__needsUpdateStatus",Re=/^[a-zA-Z0-9_]+$/,ze="__connectUpdateStatus";function Ve(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return We(this,t,e);fn(this.id)}}function He(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return We(this,t,e)}}function We(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),u.A.prototype[e].apply(t,n)}var Ge,Ue,je,Xe,Ye,qe,Ze,$e,Ke,Qe,Je,tn,en,nn,rn,on,an,sn,un=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e}(u.A),ln=un.prototype;ln.on=He("on"),ln.off=He("off");var cn=function(t){function e(e,n,i){var a=t.call(this,new ee)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],i=i||{},(0,o.isString)(n)&&(n=_n[n]),a._dom=e;i.ssr&&r.registerSSRDataGetter((function(t){var e=(0,lt.z)(t),n=e.dataIndex;if(null!=n){var i=(0,o.createHashMap)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}}));var u=a._zr=r.init(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,o.retrieve2)(i.useDirtyRect,!1),useCoarsePointer:(0,o.retrieve2)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});a._ssr=i.ssr,a._throttledZrFlush=(0,ht.nF)((0,o.bind)(u.flush,u),17),(n=(0,o.clone)(n))&&J(n,!0),a._theme=n,a._locale=(0,le.A$)(i.locale||le.Lv),a._coordSysMgr=new k.A;var l=a._api=rn(a);function c(t,e){return t.__prio-e.__prio}return(0,s.A)(mn,c),(0,s.A)(vn,c),a._scheduler=new jt(a,l,vn,mn),a._messageCenter=new un,a._initEvents(),a.resize=(0,o.bind)(a.resize,a),u.animation.on("frame",a._onframe,a),Qe(u,a),Je(u,a),(0,o.setAsPrimitive)(a),a}return(0,i.__extends)(e,t),e.prototype._onframe=function(){if(!this._disposed){sn(this);var t=this._scheduler;if(this[Le]){var e=this[Le].silent;this[Be]=!0;try{Ge(this),Xe.update.call(this,null,this[Le].updateParams)}catch(a){throw this[Be]=!1,this[Le]=null,a}this._zr.flush(),this[Be]=!1,this[Le]=null,$e.call(this,e),Ke.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),qe(this,i),t.performVisualTasks(i),nn(this,this._model,r,"remain",{}),n-=+new Date-o}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this[Be])if(this._disposed)fn(this.id);else{var i,r,a;if((0,o.isObject)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,a=e.transition,e=e.notMerge),this[Be]=!0,!this._model||e){var s=new O(this._api),u=this._theme,l=this._model=new S;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,u,this._locale,s)}this._model.setOption(t,{replaceMerge:r},yn);var c={seriesTransition:a,optionChanged:!0};if(n)this[Le]={silent:i,updateParams:c},this[Be]=!1,this.getZr().wakeUp();else{try{Ge(this),Xe.update.call(this,null,c)}catch(h){throw this[Le]=null,this[Be]=!1,h}this._ssr||this._zr.flush(),this[Le]=null,this[Be]=!1,$e.call(this,i),Ke.call(this,i)}}},e.prototype.setTheme=function(){(0,ae.aT)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a.A.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a.A.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,o.each)(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,o.each)(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 a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return(0,o.each)(i,(function(t){t.group.ignore=!1})),a}fn(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,a=Math.max,s=1/0;if(An[n]){var u=s,l=s,c=-1/0,h=-1/0,p=[],f=t&&t.pixelRatio||this.getDevicePixelRatio();(0,o.each)(Dn,(function(r,s){if(r.group===n){var f=e?r.getZr().painter.getSvgDom().innerHTML:r.renderToCanvas((0,o.clone)(t)),d=r.getDom().getBoundingClientRect();u=i(d.left,u),l=i(d.top,l),c=a(d.right,c),h=a(d.bottom,h),p.push({dom:f,left:d.left,top:d.top})}}));var d=(c*=f)-(u*=f),g=(h*=f)-(l*=f),v=ye.yh.createCanvas(),y=r.init(v,{renderer:e?"svg":"canvas"});if(y.resize({width:d,height:g}),e){var m="";return(0,o.each)(p,(function(t){var e=t.left-u,n=t.top-l;m+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),y.painter.getSvgRoot().innerHTML=m,t.connectedBackgroundColor&&y.painter.setBackgroundColor(t.connectedBackgroundColor),y.refreshImmediately(),y.painter.toDataURL()}return t.connectedBackgroundColor&&y.add(new ot.A({shape:{x:0,y:0,width:d,height:g},style:{fill:t.connectedBackgroundColor}})),(0,o.each)(p,(function(t){var e=new at.Ay({style:{x:t.left*f-u,y:t.top*f-l,image:t.dom}});y.add(e)})),y.refreshImmediately(),v.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}fn(this.id)},e.prototype.convertToPixel=function(t,e){return Ye(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Ye(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=l._e(i,t);return(0,o.each)(r,(function(t,i){i.indexOf("Models")>=0&&(0,o.each)(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint&&(n=n||o.containPoint(e,t))}else 0}),this)}),this),!!n}fn(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=l._e(n,t,{defaultMainType:"series"});var r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.dataIndex):null;return null!=o?function(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}(r,o,e):function(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,i=this;(0,o.each)(pn,(function(t){var e=function(e){var n,r=i.getModel(),a=e.target;if("globalout"===t?n={}:a&&(0,ce.R)(a,(function(t){var e=(0,lt.z)(t);if(e&&null!=e.dataIndex){var i=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return n=i&&i.getDataParams(e.dataIndex,e.dataType,a)||{},!0}if(e.eventData)return n=(0,o.extend)({},e.eventData),!0}),!0),n){var s=n.componentType,u=n.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",u=n.seriesIndex);var l=s&&null!=u&&r.getComponent(s,u),c=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];0,n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:a,packedEvent:n,model:l,view:c},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)})),(0,o.each)(gn,(function(t,e){i._messageCenter.on(e,(function(t){this.trigger(e,t)}),i)})),(0,o.each)(["selectchanged"],(function(t){i._messageCenter.on(t,(function(e){this.trigger(t,e)}),i)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var i=n.getModel();t.isFromClick?(se("map","selectchanged",e,i,t),se("pie","selectchanged",e,i,t)):"select"===t.fromAction?(se("map","selected",e,i,t),se("pie","selected",e,i,t)):"unselect"===t.fromAction&&(se("map","unselected",e,i,t),se("pie","unselected",e,i,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?fn(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)fn(this.id);else{this._disposed=!0,this.getDom()&&l.Bq(this.getDom(),wn,"");var t=this,e=t._api,n=t._model;(0,o.each)(t._componentsViews,(function(t){t.dispose(n,e)})),(0,o.each)(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete Dn[t.id]}},e.prototype.resize=function(t){if(!this[Be])if(this._disposed)fn(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[Le]&&(null==i&&(i=this[Le].silent),n=!0,this[Le]=null),this[Be]=!0;try{n&&Ge(this),Xe.update.call(this,{type:"resize",animation:(0,o.extend)({duration:0},t&&t.animation)})}catch(r){throw this[Be]=!1,r}this[Be]=!1,$e.call(this,i),Ke.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)fn(this.id);else if((0,o.isObject)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),xn[t]){var n=xn[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){this._disposed?fn(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=(0,o.extend)({},t);return e.type=gn[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)fn(this.id);else if((0,o.isObject)(e)||(e={silent:!!e}),dn[t.type]&&this._model)if(this[Be])this._pendingActions.push(t);else{var n=e.silent;Ze.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&a.A.browser.weChat&&this._throttledZrFlush(),$e.call(this,n),Ke.call(this,n)}},e.prototype.updateLabelLayout=function(){we.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)fn(this.id);else{var e=t.seriesIndex;0,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,i=0;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===ct.e3&&t.states.emphasis?e.push("emphasis"):t.hoverState===ct.zX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered((function(t){return r(t,n,i,-1/0),!0}))}}function r(t,e,n,i){var o=t.getTextContent(),a=t.getTextGuideLine();if(t.isGroup)for(var s=t.childrenRef(),u=0;u<s.length;u++)i=Math.max(r(s[u],e,n,i),i);else t.z=e,t.zlevel=n,i=Math.max(t.z2,i);if(o&&(o.z=e,o.zlevel=n,isFinite(i)&&(o.z2=i+2)),a){var l=t.textGuideLineConfig;a.z=e,a.zlevel=n,isFinite(i)&&(a.z2=i+(l&&l.showAbove?1:-1))}return i}function u(t,e){e.eachRendered((function(t){if(!st.LR(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function c(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(st.LR(t))return;if(t instanceof ut.Ay&&(0,ct.fz)(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&e(t)}}))}Ge=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Ue(t,!0),Ue(t,!1),e.plan()},Ue=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,u=0;u<r.length;u++)r[u].__alive=!1;function l(t){var u=t.__requireNewView;t.__requireNewView=!1;var l="_ec_"+t.id+"_"+t.type,c=!u&&o[l];if(!c){var h=(0,te.CC)(t.type);0,(c=new(e?it.A.getClass(h.main,h.sub):rt.A.getClass(h.sub))).init(n,s),o[l]=c,r.push(c),a.add(c.group)}t.__viewId=c.__id=l,c.__alive=!0,c.__model=t,c.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&i.prepareView(c,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&l(e)})):n.eachSeries(l);for(u=0;u<r.length;){var c=r[u];c.__alive?u++:(!e&&c.renderTask.dispose(),a.remove(c.group),c.dispose(n,s),r.splice(u,1),o[c.__id]===c&&delete o[c.__id],c.__id=c.group.__ecComponentInfo=null)}},je=function(t,e,n,i,r){var a=t._model;if(a.setUpdatePayload(n),i){var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var u={mainType:i,query:s};r&&(u.subType=r);var c,h=n.excludeSeriesId;null!=h&&(c=(0,o.createHashMap)(),(0,o.each)(l.qB(h),(function(t){var e=l.vS(t,null);null!=e&&c.set(e,!0)}))),a&&a.eachComponent(u,(function(e){if(!(c&&null!=c.get(e.id)))if((0,ct.T$)(n))if(e instanceof nt.A)n.type!==ct.h5||n.notBlur||e.get(["emphasis","disabled"])||(0,ct.lV)(e,n,t._api);else{var i=(0,ct.Tl)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===ct.h5&&r&&!n.notBlur&&(0,ct.Du)(e.mainType,e.componentIndex,t._api),a&&(0,o.each)(a,(function(t){n.type===ct.h5?(0,ct.HY)(t):(0,ct.SD)(t)}))}else(0,ct.Lx)(n)&&e instanceof nt.A&&((0,ct.t6)(e,n,t._api),(0,ct.jA)(e),an(t))}),t),a&&a.eachComponent(u,(function(e){c&&null!=c.get(e.id)||p(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else(0,o.each)([].concat(t._componentsViews).concat(t._chartsViews),p);function p(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}},Xe={prepareAndUpdate:function(t){Ge(this),Xe.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),qe(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),tn(this,i,r,e,n);var u=i.get("backgroundColor")||"transparent",l=i.get("darkMode");o.setBackgroundColor(u),null!=l&&"auto"!==l&&o.setDarkMode(l),we.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var a=[];i.eachComponent((function(t,o){if("series"!==t){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var u=s.updateTransform(o,i,r,e);u&&u.update&&a.push(s)}else a.push(s)}}));var s=(0,o.createHashMap)();i.eachSeries((function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var a=o.updateTransform(t,i,r,e);a&&a.update&&s.set(t.uid,1)}else s.set(t.uid,1)})),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:s}),nn(this,i,r,e,{},s),we.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),rt.A.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),tn(this,n,this._api,e,{}),we.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries((function(t){t.getData().clearAllVisual()})),rt.A.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent((function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}})),i.eachSeries((function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)})),we.trigger("afterupdate",i,this._api))},updateLayout:function(t){Xe.update.call(this,t)}},Ye=function(t,e,n,i){if(t._disposed)fn(t.id);else{for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=l._e(o,n),u=0;u<a.length;u++){var c=a[u];if(c[e]&&null!=(r=c[e](o,s,i)))return r}0}},qe=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries((function(t){i.updateStreamModes(t,n[t.__viewId])}))},Ze=function(t,e){var n=this,i=this.getModel(),r=t.type,a=t.escapeConnect,s=dn[r],u=s.actionInfo,c=(u.update||"update").split(":"),h=c.pop(),p=null!=c[0]&&(0,te.CC)(c[0]);this[Be]=!0;var f=[t],d=!1;t.batch&&(d=!0,f=(0,o.map)(t.batch,(function(e){return(e=(0,o.defaults)((0,o.extend)({},e),t)).batch=null,e})));var g,v=[],y=(0,ct.Lx)(t),m=(0,ct.T$)(t);if(m&&(0,ct.qR)(this._api),(0,o.each)(f,(function(e){if((g=(g=s.action(e,n._model,n._api))||(0,o.extend)({},e)).type=u.event||g.type,v.push(g),m){var i=l.HB(t),r=i.queryOptionMap,a=i.mainTypeSpecified?r.keys()[0]:"series";je(n,h,e,a),an(n)}else y?(je(n,h,e,"series"),an(n)):p&&je(n,h,e,p.main,p.sub)})),"none"!==h&&!m&&!y&&!p)try{this[Le]?(Ge(this),Xe.update.call(this,t),this[Le]=null):Xe[h].call(this,t)}catch(D){throw this[Be]=!1,D}if(g=d?{type:u.event||r,escapeConnect:a,batch:v}:v[0],this[Be]=!1,!e){var _=this._messageCenter;if(_.trigger(g.type,g),y){var x={type:"selectchanged",escapeConnect:a,selected:(0,ct.mc)(i),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};_.trigger(x.type,x)}}},$e=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();Ze.call(this,n,t)}},Ke=function(t){!t&&this.trigger("updated")},Qe=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[Le]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},Je=function(t,e){t.on("mouseover",(function(t){var n=t.target,i=(0,ce.R)(n,ct.u6);i&&((0,ct._m)(i,t,e._api),an(e))})).on("mouseout",(function(t){var n=t.target,i=(0,ce.R)(n,ct.u6);i&&((0,ct.Iz)(i,t,e._api),an(e))})).on("click",(function(t){var n=t.target,i=(0,ce.R)(n,(function(t){return null!=(0,lt.z)(t).dataIndex}),!0);if(i){var r=i.selected?"unselect":"select",o=(0,lt.z)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}}))},tn=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,a,u=e.concat(n);(0,s.A)(u,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),(0,o.each)(u,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,o=e.key;null!=r&&(i=Math.max(r,i)),o?(i===r&&o!==a&&i++,a=o):a&&(i===r&&i++,a=""),r=i,n.setZLevel(i)}))}}(e),en(t,e,n,i,r),(0,o.each)(t._chartsViews,(function(t){t.__alive=!1})),nn(t,e,n,i,r),(0,o.each)(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},en=function(t,e,i,r,a,s){(0,o.each)(s||t._componentsViews,(function(t){var o=t.__model;u(o,t),t.render(o,e,i,r),n(o,t),c(o,t)}))},nn=function(t,e,i,r,s,l){var h=t._scheduler;s=(0,o.extend)(s||{},{updatedSeries:e.getSeries()}),we.trigger("series:beforeupdate",e,i,s);var p=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var i=n.renderTask;h.updatePayload(i,r),u(e,n),l&&l.get(e.uid)&&i.dirty(),i.perform(h.getPerformArgs(i))&&(p=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}(e,n),(0,ct.jA)(e)})),h.unfinished=p||h.unfinished,we.trigger("series:layoutlabels",e,i,s),we.trigger("series:transition",e,i,s),e.eachSeries((function(e){var i=t._chartsMap[e.__viewId];n(e,i),c(e,i)})),function(t,e){var n=t._zr,i=n.storage,r=0;i.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!a.A.node&&!a.A.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),we.trigger("series:afterupdate",e,i,s)},an=function(t){t[Ne]=!0,t.getZr().wakeUp()},sn=function(t){t[Ne]&&(t.getZr().storage.traverse((function(t){st.LR(t)||e(t)})),t[Ne]=!1)},rn=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,i.__extends)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,ct.HY)(e,n),an(t)},n.prototype.leaveEmphasis=function(e,n){(0,ct.SD)(e,n),an(t)},n.prototype.enterBlur=function(e){(0,ct.QX)(e),an(t)},n.prototype.leaveBlur=function(e){(0,ct.JC)(e),an(t)},n.prototype.enterSelect=function(e){(0,ct.JI)(e),an(t)},n.prototype.leaveSelect=function(e){(0,ct.gd)(e),an(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(T))(t)},on=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][ze]=e}}(0,o.each)(gn,(function(n,i){t._messageCenter.on(i,(function(n){if(An[t.group]&&0!==t[ze]){if(n&&n.escapeConnect)return;var i=t.makeActionFromEvent(n),r=[];(0,o.each)(Dn,(function(e){e!==t&&e.group===t.group&&r.push(e)})),e(r,0),(0,o.each)(r,(function(t){1!==t[ze]&&t.dispatchAction(i)})),e(r,2)}}))}))}}(),e}(u.A),hn=cn.prototype;hn.on=Ve("on"),hn.off=Ve("off"),hn.one=function(t,e,n){var i=this;(0,ae.aT)("ECharts#one is deprecated."),this.on.call(this,t,(function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)}),n)};var pn=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function fn(t){0}var dn={},gn={},vn=[],yn=[],mn=[],_n={},xn={},Dn={},An={},bn=+new Date-0,Cn=+new Date-0,wn="_echarts_instance_";function Sn(t,e,n){var i=!(n&&n.ssr);if(i){0;var r=Fn(t);if(r)return r;0}var o=new cn(t,e,n);return o.id="ec_"+bn++,Dn[o.id]=o,i&&l.Bq(t,wn,o.id),on(o),we.trigger("afterinit",o),o}function Mn(t){if((0,o.isArray)(t)){var e=t;t=null,(0,o.each)(e,(function(e){null!=e.group&&(t=e.group)})),t=t||"g_"+Cn++,(0,o.each)(e,(function(e){e.group=t}))}return An[t]=!0,t}function Tn(t){An[t]=!1}var kn=Tn;function In(t){(0,o.isString)(t)?t=Dn[t]:t instanceof cn||(t=Fn(t)),t instanceof cn&&!t.isDisposed()&&t.dispose()}function Fn(t){return Dn[l.D$(t,wn)]}function En(t){return Dn[t]}function On(t,e){_n[t]=e}function Pn(t){(0,o.indexOf)(yn,t)<0&&yn.push(t)}function Bn(t,e){jn(vn,t,e,ke)}function Ln(t){Rn("afterinit",t)}function Nn(t){Rn("afterupdate",t)}function Rn(t,e){we.on(t,e)}function zn(t,e,n){(0,o.isFunction)(e)&&(n=e,e="");var i=(0,o.isObject)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),e=t.event,gn[e]||((0,o.assert)(Re.test(i)&&Re.test(e)),dn[i]||(dn[i]={action:n,actionInfo:t}),gn[e]=i)}function Vn(t,e){k.A.register(t,e)}function Hn(t){var e=k.A.get(t);if(e)return e.getDimensionsInfo?e.getDimensionsInfo():e.dimensions.slice()}function Wn(t,e){jn(mn,t,e,Ie,"layout")}function Gn(t,e){jn(mn,t,e,Ee,"visual")}var Un=[];function jn(t,e,n,i,r){if(((0,o.isFunction)(e)||(0,o.isObject)(e))&&(n=e,e=i),!((0,o.indexOf)(Un,n)>=0)){Un.push(n);var a=jt.wrapStageHandler(n,r);a.__prio=e,a.__raw=n,t.push(a)}}function Xn(t,e){xn[t]=e}function Yn(t){(0,ye.Gs)({createCanvas:t})}function qn(t,e,n){var i=(0,Se.v)("registerMap");i&&i(t,e,n)}function Zn(t){var e=(0,Se.v)("getMap");return e&&e(t)}var $n=ue.v5;Gn(Fe,xt),Gn(Oe,At),Gn(Oe,bt),Gn(Fe,re),Gn(Oe,oe),Gn(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var i=n.getData();i.hasItemVisual()&&i.each((function(t){var n=i.getItemVisual(t,"decal");n&&(i.ensureUniqueItemVisual(t,"style").decal=De(n,e))}));var r=i.getVisual("decal");if(r)i.getVisual("style").decal=De(r,e)}}))})),Pn(J),Bn(900,(function(t){var e=(0,o.createHashMap)();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(et)})),Xn("default",(function(t,e){e=e||{},o.defaults(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new Ct.A,i=new ot.A({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,a=new wt.Ay({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),s=new ot.A({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(s),e.showSpinner&&((r=new St.A({shape:{startAngle:-Mt/2,endAngle:-Mt/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*Mt/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*Mt/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=a.getBoundingRect().width,o=e.showSpinner?e.spinnerRadius:0,u=(t.getWidth()-2*o-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:o),l=t.getHeight()/2;e.showSpinner&&r.setShape({cx:u,cy:l}),s.setShape({x:u-o,y:l-o,width:2*o,height:2*o}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),zn({type:ct.h5,event:ct.h5,update:ct.h5},o.noop),zn({type:ct.PW,event:ct.PW,update:ct.PW},o.noop),zn({type:ct.Lv,event:ct.Lv,update:ct.Lv},o.noop),zn({type:ct.U2,event:ct.U2,update:ct.U2},o.noop),zn({type:ct.Q6,event:ct.Q6,update:ct.Q6},o.noop),On("light",Yt),On("dark",Jt);var Kn={}},54855:(t,e,n)=>{"use strict";n.d(e,{m:()=>r,v:()=>o});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},93170:(t,e,n)=>{"use strict";n.d(e,{Lv:()=>h,A$:()=>f,pr:()=>g,A4:()=>d,E:()=>p});var i=n(92160),r=n(682);var o=n(37653),a="ZH",s="EN",u=s,l={},c={},h=r.A.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||u).toUpperCase().indexOf(a)>-1?a:u;function p(t,e){t=t.toUpperCase(),c[t]=new i.A(e),l[t]=e}function f(t){if((0,o.isString)(t)){var e=l[t.toUpperCase()]||{};return t===a||t===s?(0,o.clone)(e):(0,o.merge)((0,o.clone)(e),(0,o.clone)(l[u]),!1)}return(0,o.merge)((0,o.clone)(t),(0,o.clone)(l[u]),!1)}function d(t){return c[t]}function g(){return c[u]}p(s,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),p(a,{time:{month:["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"],monthAbbr:["1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708"],dayOfWeek:["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"],dayOfWeekAbbr:["\u65e5","\u4e00","\u4e8c","\u4e09","\u56db","\u4e94","\u516d"]},legend:{selector:{all:"\u5168\u9009",inverse:"\u53cd\u9009"}},toolbox:{brush:{title:{rect:"\u77e9\u5f62\u9009\u62e9",polygon:"\u5708\u9009",lineX:"\u6a2a\u5411\u9009\u62e9",lineY:"\u7eb5\u5411\u9009\u62e9",keep:"\u4fdd\u6301\u9009\u62e9",clear:"\u6e05\u9664\u9009\u62e9"}},dataView:{title:"\u6570\u636e\u89c6\u56fe",lang:["\u6570\u636e\u89c6\u56fe","\u5173\u95ed","\u5237\u65b0"]},dataZoom:{title:{zoom:"\u533a\u57df\u7f29\u653e",back:"\u533a\u57df\u7f29\u653e\u8fd8\u539f"}},magicType:{title:{line:"\u5207\u6362\u4e3a\u6298\u7ebf\u56fe",bar:"\u5207\u6362\u4e3a\u67f1\u72b6\u56fe",stack:"\u5207\u6362\u4e3a\u5806\u53e0",tiled:"\u5207\u6362\u4e3a\u5e73\u94fa"}},restore:{title:"\u8fd8\u539f"},saveAsImage:{title:"\u4fdd\u5b58\u4e3a\u56fe\u7247",lang:["\u53f3\u952e\u53e6\u5b58\u4e3a\u56fe\u7247"]}},series:{typeNames:{pie:"\u997c\u56fe",bar:"\u67f1\u72b6\u56fe",line:"\u6298\u7ebf\u56fe",scatter:"\u6563\u70b9\u56fe",effectScatter:"\u6d9f\u6f2a\u6563\u70b9\u56fe",radar:"\u96f7\u8fbe\u56fe",tree:"\u6811\u56fe",treemap:"\u77e9\u5f62\u6811\u56fe",boxplot:"\u7bb1\u578b\u56fe",candlestick:"K\u7ebf\u56fe",k:"K\u7ebf\u56fe",heatmap:"\u70ed\u529b\u56fe",map:"\u5730\u56fe",parallel:"\u5e73\u884c\u5750\u6807\u56fe",lines:"\u7ebf\u56fe",graph:"\u5173\u7cfb\u56fe",sankey:"\u6851\u57fa\u56fe",funnel:"\u6f0f\u6597\u56fe",gauge:"\u4eea\u8868\u76d8\u56fe",pictorialBar:"\u8c61\u5f62\u67f1\u56fe",themeRiver:"\u4e3b\u9898\u6cb3\u6d41\u56fe",sunburst:"\u65ed\u65e5\u56fe",custom:"\u81ea\u5b9a\u4e49\u56fe\u8868",chart:"\u56fe\u8868"}},aria:{general:{withTitle:"\u8fd9\u662f\u4e00\u4e2a\u5173\u4e8e\u201c{title}\u201d\u7684\u56fe\u8868\u3002",withoutTitle:"\u8fd9\u662f\u4e00\u4e2a\u56fe\u8868\uff0c"},series:{single:{prefix:"",withName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\uff0c\u8868\u793a{seriesName}\u3002",withoutName:"\u56fe\u8868\u7c7b\u578b\u662f{seriesType}\u3002"},multiple:{prefix:"\u5b83\u7531{seriesCount}\u4e2a\u56fe\u8868\u7cfb\u5217\u7ec4\u6210\u3002",withName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a\u8868\u793a{seriesName}\u7684{seriesType}\uff0c",withoutName:"\u7b2c{seriesId}\u4e2a\u7cfb\u5217\u662f\u4e00\u4e2a{seriesType}\uff0c",separator:{middle:"\uff1b",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636e\u662f\u2014\u2014",partialData:"\u5176\u4e2d\uff0c\u524d{displayCnt}\u9879\u662f\u2014\u2014",withName:"{name}\u7684\u6570\u636e\u662f{value}",withoutName:"{value}",separator:{middle:"\uff0c",end:""}}}})},76876:(t,e,n)=>{"use strict";n.d(e,{U:()=>r});var i=n(37653);function r(t){return new o(t)}var o=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,r=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&&!r&&(e=this._plan(this.context));var a,s=h(this._modBy),u=this._modDataCount||0,l=h(t&&t.modBy),c=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}s===l&&u===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(r)),this._modBy=l,this._modDataCount=c;var p=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,d=Math.min(null!=p?this._dueIndex+p:1/0,this._dueEnd);if(!r&&(a||f<d)){var g=this._progress;if((0,i.isArray)(g))for(var v=0;v<g.length;v++)this._doProgress(g[v],f,d,l,c);else this._doProgress(g,f,d,l,c)}this._dueIndex=d;var y=null!=this._settedOutputEnd?this._settedOutputEnd:d;0,this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.isArray)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(u,l,c,h){e=u,t=l,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}}()},77116:(t,e,n)=>{"use strict";function i(t){return null==t?0:t.length||1}function r(t){return t}n.d(e,{A:()=>o});const o=function(){function t(t,e,n,i,o,a){this._old=t,this._new=e,this._oldKeyGetter=n||r,this._newKeyGetter=i||r,this.context=o,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},r=new Array(t.length),o=new Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,n,o,"_newKeyGetter");for(var a=0;a<t.length;a++){var s=r[a],u=n[s],l=i(u);if(l>1){var c=u.shift();1===u.length&&(n[s]=u[0]),this._update&&this._update(c,a)}else 1===l?(n[s]=null,this._update&&this._update(u,a)):this._remove&&this._remove(a)}this._performRestAdd(o,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},o=[],a=[];this._initIndexMap(t,n,o,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var s=0;s<o.length;s++){var u=o[s],l=n[u],c=r[u],h=i(l),p=i(c);if(h>1&&1===p)this._updateManyToOne&&this._updateManyToOne(c,l),r[u]=null;else if(1===h&&p>1)this._updateOneToMany&&this._updateOneToMany(c,l),r[u]=null;else if(1===h&&1===p)this._update&&this._update(c,l),r[u]=null;else if(h>1&&p>1)this._updateManyToMany&&this._updateManyToMany(c,l),r[u]=null;else if(h>1)for(var f=0;f<h;f++)this._remove&&this._remove(l[f]);else this._remove&&this._remove(l)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],o=e[r],a=i(o);if(a>1)for(var s=0;s<a;s++)this._add&&this._add(o[s]);else 1===a&&this._add&&this._add(o);e[r]=null}},t.prototype._initIndexMap=function(t,e,n,r){for(var o=this._diffModeMultiple,a=0;a<t.length;a++){var s="_ec_"+this[r](t[a],a);if(o||(n[a]=s),e){var u=e[s],l=i(u);0===l?(e[s]=a,o&&n.push(s)):1===l?e[s]=[u,a]:u.push(a)}}},t}()},3035:(t,e,n)=>{"use strict";n.d(e,{A_:()=>c,Ay:()=>v});var i,r=n(37653),o=n(46866),a=n(76041),s="undefined",u=typeof Uint32Array===s?Array:Uint32Array,l=typeof Uint16Array===s?Array:Uint16Array,c=typeof Int32Array===s?Array:Int32Array,h=typeof Float64Array===s?Array:Float64Array,p={float:h,int:c,ordinal:Array,number:Array,time:h};function f(t){return t>65535?u:l}function d(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function g(t,e,n,i,r){var o=p[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var u=new o(i),l=0;l<s;l++)u[l]=a[l];t[e]=u}}else t[e]=new o(i)}const v=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.createHashMap)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[];(0,a.O0)(o);this._dimensions=(0,r.map)(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new p[e||"float"](this._rawCount),this._rawExtent[r]=[1/0,-1/0],r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=[1/0,-1/0]);for(var s=r[t],u=o;u<a;u++){var l=n[u]=e.parseAndCollect(n[u]);isNaN(l)||(s[0]=Math.min(l,s[0]),s[1]=Math.max(l,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),u=s+Math.max(t.length,e||0),l=0;l<o;l++){g(n,l,(d=r[l]).type,u,!0)}for(var c=[],h=s;h<u;h++)for(var p=h-s,f=0;f<o;f++){var d=r[f],v=i.arrayRows.call(this,t[p]||c,d.property,p,f);n[f][h]=v;var y=a[f];v<y[0]&&(y[0]=v),v>y[1]&&(y[1]=v)}return this._rawCount=this._count=u,{start:s,end:u}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,u=this._rawExtent,l=(0,r.map)(a,(function(t){return t.property})),c=0;c<s;c++){var h=a[c];u[c]||(u[c]=[1/0,-1/0]),g(o,c,h.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,u);else for(var p=[],f=t;f<e;f++){p=i.getItem(f,p);for(var d=0;d<s;d++){var v=o[d],y=this._dimValueGetter(p,l[d],f,d);v[f]=y;var m=u[d];y<m[0]&&(m[0]=y),y>m[1]&&(m[1]=y)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;r=0;for(var o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,i=this.count();n<i;n++){var r=this.get(t,n);isNaN(r)||(e+=r)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=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},t.prototype.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;for(var i=0,r=this._count-1;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},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks[t],r=[];if(!i)return r;null==n&&(n=1/0);for(var o=1/0,a=-1,s=0,u=0,l=this.count();u<l;u++){var c=e-i[this.getRawIndex(u)],h=Math.abs(c);h<=n&&((h<o||h===o&&c>=0&&a<0)&&(o=h,a=c,s=0),c===a&&(r[s++]=u))}return r.length=s,r},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{t=new(n=f(this._rawCount))(this.count());for(r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(f(n._rawCount))(i),o=[],a=t.length,s=0,u=t[0],l=n._chunks,c=0;c<i;c++){var h=void 0,p=n.getRawIndex(c);if(0===a)h=e(c);else if(1===a){h=e(l[u][p],c)}else{for(var d=0;d<a;d++)o[d]=l[t[d]][p];o[d]=c,h=e.apply(null,o)}h&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.keys)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(f(e._rawCount))(a),u=0,l=i[0],c=t[l][0],h=t[l][1],p=e._chunks,d=!1;if(!e._indices){var g=0;if(1===o){for(var v=p[i[0]],y=0;y<n;y++){((D=v[y])>=c&&D<=h||isNaN(D))&&(s[u++]=g),g++}d=!0}else if(2===o){v=p[i[0]];var m=p[i[1]],_=t[i[1]][0],x=t[i[1]][1];for(y=0;y<n;y++){var D=v[y],A=m[y];(D>=c&&D<=h||isNaN(D))&&(A>=_&&A<=x||isNaN(A))&&(s[u++]=g),g++}d=!0}}if(!d)if(1===o)for(y=0;y<a;y++){var b=e.getRawIndex(y);((D=p[i[0]][b])>=c&&D<=h||isNaN(D))&&(s[u++]=b)}else for(y=0;y<a;y++){for(var C=!0,w=(b=e.getRawIndex(y),0);w<o;w++){var S=i[w];((D=p[S][b])<t[S][0]||D>t[S][1])&&(C=!1)}C&&(s[u++]=e.getRawIndex(y))}return u<a&&(e._indices=s),e._count=u,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],u=t._rawExtent,l=0;l<e.length;l++)u[e[l]]=[1/0,-1/0];for(var c=0;c<a;c++){for(var h=t.getRawIndex(c),p=0;p<o;p++)s[p]=i[e[p]][h];s[o]=c;var f=n&&n.apply(null,s);if(null!=f){"object"!==typeof f&&(r[0]=f,f=r);for(l=0;l<f.length;l++){var d=e[l],g=f[l],v=u[d],y=i[d];y&&(y[h]=g),g<v[0]&&(v[0]=g),g>v[1]&&(v[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks[t],s=this.count(),u=0,l=Math.floor(1/e),c=this.getRawIndex(0),h=new(f(this._rawCount))(Math.min(2*(Math.ceil(s/l)+2),s));h[u++]=c;for(var p=1;p<s-1;p+=l){for(var d=Math.min(p+l,s-1),g=Math.min(p+2*l,s),v=(g+d)/2,y=0,m=d;m<g;m++){var _=a[S=this.getRawIndex(m)];isNaN(_)||(y+=_)}y/=g-d;var x=p,D=Math.min(p+l,s),A=p-1,b=a[c];n=-1,r=x;var C=-1,w=0;for(m=x;m<D;m++){var S;_=a[S=this.getRawIndex(m)];isNaN(_)?(w++,C<0&&(C=S)):(i=Math.abs((A-v)*(_-b)-(A-m)*(y-b)))>n&&(n=i,r=S)}w>0&&w<D-x&&(h[u++]=Math.min(C,r),r=Math.max(C,r)),h[u++]=r,c=r}return h[u++]=this.getRawIndex(s-1),o._count=u,o._indices=h,o.getRawIndex=this._getRawIdx,o},t.prototype.downSample=function(t,e,n,i){for(var r=this.clone([t],!0),o=r._chunks,a=[],s=Math.floor(1/e),u=o[t],l=this.count(),c=r._rawExtent[t]=[1/0,-1/0],h=new(f(this._rawCount))(Math.ceil(l/s)),p=0,d=0;d<l;d+=s){s>l-d&&(s=l-d,a.length=s);for(var g=0;g<s;g++){var v=this.getRawIndex(d+g);a[g]=u[v]}var y=n(a),m=this.getRawIndex(Math.min(d+i(a,y)||0,l-1));u[m]=y,y<c[0]&&(c[0]=y),y>c[1]&&(c[1]=y),h[p++]=m}return r._count=p,r._indices=h,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,u=[];s<n;s++)u[s]=i[t[s]][a];u[s]=r,e.apply(null,u)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var i,r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(i=this._extent[t])return i.slice();for(var o=(i=n)[0],a=i[1],s=0;s<r;s++){var u=e[this.getRawIndex(s)];u<o&&(o=u),u>a&&(a=u)}return i=[o,a],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.reduce)(e,(function(t,e){return t[e]=!0,t}),{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?d(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.clone)(this._extent),t._rawExtent=(0,r.clone)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return(0,o.Pn)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.Pn)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.Pn)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}()},98382:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var i=n(37653),r=0;function o(t){return(0,i.isObject)(t)&&null!=t.value?t.value:t+""}const a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.map)(r,o);return new t({categories:a,needCollect:!a,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!(0,i.isString)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.createHashMap)(this.categories))},t}()},3325:(t,e,n)=>{"use strict";n.d(e,{A:()=>M});var i,r,o,a,s,u,l,c=n(37653),h=n(92160),p=n(77116),f=n(99766),d=n(99819),g=n(42910),v=n(61907),y=n(30555),m=n(63821),_=n(76041),x=n(3035),D=n(27369),A=c.isObject,b=c.map,C="undefined"===typeof Int32Array?Array:Int32Array,w=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],S=["_approximateExtent"];const M=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var i=!1;(0,D.fg)(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,u={},l=0;l<n.length;l++){var h=n[l],p=c.isString(h)?new g.A({name:h}):h instanceof g.A?h:new g.A(h),f=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=f,p.coordDimIndex=0);var d=p.otherDims=p.otherDims||{};o.push(f),r[f]=p,null!=u[f]&&(s=!0),p.createInvertedIndices&&(a[f]=[]),0===d.itemName&&(this._nameDimIdx=l),0===d.itemId&&(this._idDimIdx=l),i&&(p.storeDimIndex=l)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var v=this._dimIdxToName=c.createHashMap();c.each(o,(function(t){v.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(c.isNumber(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof x.Ay&&(i=t),!i){var o=this.dimensions,a=(0,_.tP)(t)||c.isArrayLike(t)?new f.d1(t,o.length):t;i=new x.Ay;var s=b(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=(0,d.l)(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&l(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==v.XO&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===v.mK&&!n.pure)for(var a=[],s=t;s<e;s++){var u=n.getItem(s,a);if(!this.hasItemOption&&(0,y.zu)(u)&&(this.hasItemOption=!0),u){var c=u.name;null==r[s]&&null!=c&&(r[s]=(0,y.vS)(c,null));var h=u.id;null==o[s]&&null!=h&&(o[s]=(0,y.vS)(h,null))}}if(this._shouldMakeIdFromName())for(s=t;s<e;s++)l(this,s);i(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){A(t)?c.extend(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return c.isArray(t)?i.getValues(b(t,(function(t){return n._getStoreDimIndex(t)})),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=b(a(t),this._getStoreDimIndex,this);this._store.each(r,i?c.bind(e,i):e)},t.prototype.filterSelf=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]);var i=n||this,r=b(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?c.bind(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=c.keys(t),r=[];return c.each(i,(function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){c.isFunction(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,(function(){i.push(e&&e.apply(this,arguments))}),n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=b(a(t),this._getStoreDimIndex,this),s=u(this);return s._store=this._store.map(o,r?c.bind(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this;var o=b(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?c.bind(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=u(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.lttbDownSample=function(t,e){var n=u(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new h.A(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new p.A(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return r(t,e)}),(function(t){return r(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},A(t)?c.extend(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),c.isArray(r)?r=r.slice():A(r)&&(r=c.extend({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,A(e)?c.extend(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){A(t)?c.extend(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?c.extend(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;(0,m.a)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){c.each(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:b(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];c.isFunction(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(c.slice(arguments)))})},t.internalField=(i=function(t){var e=t._invertedIndicesMap;c.each(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new C(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}}))},o=function(t,e,n){return(0,y.vS)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return c.isArray(t)||(t=null!=t?[t]:[]),t},u=function(e){var n=new t(e._schema?e._schema:b(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){c.each(w.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,c.each(S,(function(n){t[n]=c.clone(e[n])})),t._calculationInfo=c.extend({},e._calculationInfo)},void(l=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],u=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==u&&null!=a&&(i[e]=u=o(t,a,e)),null==u&&null!=s){var l=t._nameRepeatCount,c=l[s]=(l[s]||0)+1;u=s,c>1&&(u+="__ec__"+c),i[e]=u}})),t}()},42910:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(37653);const r=function(t){this.otherDims={},null!=t&&i.extend(this,t)}},76041:(t,e,n)=>{"use strict";n.d(e,{AF:()=>c,BE:()=>h,O0:()=>g,gV:()=>l,tP:()=>u,wZ:()=>p});var i=n(37653),r=n(61907),o=n(30555),a=n(75038),s=function(t){this.data=t.data||(t.sourceFormat===r.t1?{}:[]),this.sourceFormat=t.sourceFormat||r.vm,this.seriesLayoutBy=t.seriesLayoutBy||r.i_,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var i=e[n];null==i.type&&(0,a.PU)(this,n)===a.sc.Must&&(i.type="ordinal")}};function u(t){return t instanceof s}function l(t,e,n){n=n||p(t);var a=e.seriesLayoutBy,u=function(t,e,n,a,s){var u,l;if(!t)return{dimensionsDefine:f(s),startIndex:l,dimensionsDetectedCount:u};if(e===r.Km){var c=t;"auto"===a||null==a?d((function(t){null!=t&&"-"!==t&&((0,i.isString)(t)?null==l&&(l=1):l=0)}),n,c,10):l=(0,i.isNumber)(a)?a:a?1:0,s||1!==l||(s=[],d((function(t,e){s[e]=null!=t?t+"":""}),n,c,1/0)),u=s?s.length:n===r.oC?c.length:c[0]?c[0].length:null}else if(e===r.Wk)s||(s=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return(0,i.keys)(e)}(t));else if(e===r.t1)s||(s=[],(0,i.each)(t,(function(t,e){s.push(e)})));else if(e===r.mK){var h=(0,o.vj)(t[0]);u=(0,i.isArray)(h)&&h.length||1}else r.XO;return{startIndex:l,dimensionsDefine:f(s),dimensionsDetectedCount:u}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:u.dimensionsDefine,startIndex:u.startIndex,dimensionsDetectedCount:u.dimensionsDetectedCount,metaRawOption:(0,i.clone)(e)})}function c(t){return new s({data:t,sourceFormat:(0,i.isTypedArray)(t)?r.XO:r.mK})}function h(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.clone)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function p(t){var e=r.vm;if((0,i.isTypedArray)(t))e=r.XO;else if((0,i.isArray)(t)){0===t.length&&(e=r.Km);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.isArray)(a)||(0,i.isTypedArray)(a)){e=r.Km;break}if((0,i.isObject)(a)){e=r.Wk;break}}}}else if((0,i.isObject)(t))for(var s in t)if((0,i.hasOwn)(t,s)&&(0,i.isArrayLike)(t[s])){e=r.t1;break}return e}function f(t){if(t){var e=(0,i.createHashMap)();return(0,i.map)(t,(function(t,n){var r={name:(t=(0,i.isObject)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r}))}}function d(t,e,n,i){if(e===r.oC)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else{var a=n[0]||[];for(o=0;o<a.length&&o<i;o++)t(a[o],o)}}function g(t){var e=t.sourceFormat;return e===r.Wk||e===r.t1}},27369:(t,e,n)=>{"use strict";n.d(e,{Tc:()=>u,eS:()=>p,fg:()=>l,io:()=>c,j_:()=>h});var i=n(37653),r=n(30555),o=n(76041),a=(0,r.$r)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},u=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=h(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.retrieve2)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.O0)(this.source),n=!p(t),i="",r=[],a=0,u=0;a<t;a++){var l=void 0,c=void 0,h=void 0,f=this.dimensions[u];if(f&&f.storeDimIndex===a)l=e?f.name:null,c=f.type,h=f.ordinalMeta,u++;else{var d=this.getSourceDimension(a);d&&(l=e?d.name:null,c=d.type)}r.push({property:l,type:c,ordinalMeta:h}),!e||null==l||f&&f.isCalculationCoord||(i+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),i+="$",i+=s[c]||"f",h&&(i+=h.uid),i+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function l(t){return t instanceof u}function c(t){for(var e=(0,i.createHashMap)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.isObject)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function h(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=c(t.dimensionsDefine))}function p(t){return t>30}},59154:(t,e,n)=>{"use strict";n.d(e,{A:()=>p,M:()=>h});var i=n(61907),r=n(42910),o=n(37653),a=n(76041),s=n(3035),u=n(30555),l=n(75038),c=n(27369);function h(t,e){return p(t,e).dimensions}function p(t,e){(0,a.tP)(t)||(t=(0,a.AF)(t));var n=(e=e||{}).coordDimensions||[],h=e.dimensionsDefine||t.dimensionsDefine||[],p=(0,o.createHashMap)(),d=[],g=function(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return(0,o.each)(e,(function(t){var e;(0,o.isObject)(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}(t,n,h,e.dimensionsCount),v=e.canOmitUnusedDimensions&&(0,c.eS)(g),y=h===t.dimensionsDefine,m=y?(0,c.j_)(t):(0,c.io)(h),_=e.encodeDefine;!_&&e.encodeDefaulter&&(_=e.encodeDefaulter(t,g));for(var x=(0,o.createHashMap)(_),D=new s.A_(g),A=0;A<D.length;A++)D[A]=-1;function b(t){var e=D[t];if(e<0){var n=h[t],i=(0,o.isObject)(n)?n:{name:n},a=new r.A,s=i.name;null!=s&&null!=m.get(s)&&(a.name=a.displayName=s),null!=i.type&&(a.type=i.type),null!=i.displayName&&(a.displayName=i.displayName);var u=d.length;return D[t]=u,a.storeDimIndex=t,d.push(a),a}return d[e]}if(!v)for(A=0;A<g;A++)b(A);x.each((function(t,e){var n=(0,u.qB)(t).slice();if(1===n.length&&!(0,o.isString)(n[0])&&n[0]<0)x.set(e,!1);else{var i=x.set(e,[]);(0,o.each)(n,(function(t,n){var r=(0,o.isString)(t)?m.get(t):t;null!=r&&r<g&&(i[n]=r,w(b(r),e,n))}))}}));var C=0;function w(t,e,n){null!=i.Pe.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,p.set(e,!0))}(0,o.each)(n,(function(t){var e,n,i,r;if((0,o.isString)(t))e=t,r={};else{e=(r=t).name;var a=r.ordinalMeta;r.ordinalMeta=null,(r=(0,o.extend)({},r)).ordinalMeta=a,n=r.dimsDef,i=r.otherDims,r.name=r.coordDim=r.coordDimIndex=r.dimsDef=r.otherDims=null}var s=x.get(e);if(!1!==s){if(!(s=(0,u.qB)(s)).length)for(var l=0;l<(n&&n.length||1);l++){for(;C<g&&null!=b(C).coordDim;)C++;C<g&&s.push(C++)}(0,o.each)(s,(function(t,a){var s=b(t);if(y&&null!=r.type&&(s.type=r.type),w((0,o.defaults)(s,r),e,a),null==s.name&&n){var u=n[a];!(0,o.isObject)(u)&&(u={name:u}),s.name=s.displayName=u.name,s.defaultTooltip=u.defaultTooltip}i&&(0,o.defaults)(s.otherDims,i)}))}}));var S=e.generateCoord,M=e.generateCoordCount,T=null!=M;M=S?M||1:0;var k=S||"value";function I(t){null==t.name&&(t.name=t.coordDim)}if(v)(0,o.each)(d,(function(t){I(t)})),d.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var F=0;F<g;F++){var E=b(F);null==E.coordDim&&(E.coordDim=f(k,p,T),E.coordDimIndex=0,(!S||M<=0)&&(E.isExtraCoord=!0),M--),I(E),null!=E.type||(0,l.PU)(t,F)!==l.sc.Must&&(!E.isExtraCoord||null==E.otherDims.itemName&&null==E.otherDims.seriesName)||(E.type="ordinal")}return function(t){for(var e=(0,o.createHashMap)(),n=0;n<t.length;n++){var i=t[n],r=i.name,a=e.get(r)||0;a>0&&(i.name=r+(a-1)),a++,e.set(r,a)}}(d),new c.Tc({source:t,dimensions:d,fullDimensionCount:g,dimensionOmitted:v})}function f(t,e,n){if(n||e.hasKey(t)){for(var i=0;e.hasKey(t+i);)i++;t+=i}return e.set(t,!0),t}},99766:(t,e,n)=>{"use strict";n.d(e,{Kd:()=>m,QE:()=>b,d1:()=>p,sC:()=>g,uQ:()=>D});var i,r,o,a,s,u=n(37653),l=n(30555),c=n(76041),h=n(61907),p=function(){function t(t,e){var n=(0,c.tP)(t)?t:(0,c.AF)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===h.XO&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;s=function(t,r,o){var s=o.sourceFormat,l=o.seriesLayoutBy,c=o.startIndex,p=o.dimensionsDefine,f=a[A(s,l)];if((0,u.extend)(t,f),s===h.XO)t.getItem=e,t.count=i,t.fillStorage=n;else{var d=g(s,l);t.getItem=(0,u.bind)(d,null,r,c,p);var v=m(s,l);t.count=(0,u.bind)(v,null,r,c,p)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],u=null==s[0]?1/0:s[0],l=null==s[1]?-1/0:s[1],c=e-t,h=n[a],p=0;p<c;p++){var f=r[p*o+a];h[t+p]=f,f<u&&(u=f),f>l&&(l=f)}s[0]=u,s[1]=l}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={})[h.Km+"_"+h.i_]={pure:!0,appendData:r},t[h.Km+"_"+h.oC]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[h.Wk]={pure:!0,appendData:r},t[h.t1]={pure:!0,appendData:function(t){var e=this._data;(0,u.each)(t,(function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])}))}},t[h.mK]={appendData:r},t[h.XO]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),t}(),f=function(t,e,n,i){return t[i]},d=((i={})[h.Km+"_"+h.i_]=function(t,e,n,i){return t[i+e]},i[h.Km+"_"+h.oC]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=t,s=0;s<a.length;s++){var u=a[s];o[s]=u?u[i]:null}return o},i[h.Wk]=f,i[h.t1]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){0;var s=t[n[a].name];o[a]=s?s[i]:null}return o},i[h.mK]=f,i);function g(t,e){return d[A(t,e)]}var v=function(t,e,n){return t.length},y=((r={})[h.Km+"_"+h.i_]=function(t,e,n){return Math.max(0,t.length-e)},r[h.Km+"_"+h.oC]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[h.Wk]=v,r[h.t1]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},r[h.mK]=v,r);function m(t,e){return y[A(t,e)]}var _=function(t,e,n){return t[e]},x=((o={})[h.Km]=_,o[h.Wk]=function(t,e,n){return t[n]},o[h.t1]=_,o[h.mK]=function(t,e,n){var i=(0,l.vj)(t);return i instanceof Array?i[e]:i},o[h.XO]=_,o);function D(t){return x[t]}function A(t,e){return t===h.Km?t+"_"+e:t}function b(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return D(o)(i,a,s)}var u=i;return o===h.mK&&(u=(0,l.vj)(i)),u}}}},4791:(t,e,n)=>{"use strict";n.d(e,{iJ:()=>o,me:()=>s,sJ:()=>a});var i=n(37653),r=n(27369);function o(t,e,n){var o,a,s,u=(n=n||{}).byIndex,l=n.stackedCoordDimension;!function(t){return!(0,r.fg)(t.schema)}(e)?(a=e.schema,o=a.dimensions,s=e.store):o=e;var c,h,p,f,d=!(!t||!t.get("stack"));if((0,i.each)(o,(function(t,e){(0,i.isString)(t)&&(o[e]=t={name:t}),d&&!t.isExtraCoord&&(u||c||!t.ordinalMeta||(c=t),h||"ordinal"===t.type||"time"===t.type||l&&l!==t.coordDim||(h=t))})),!h||u||c||(u=!0),h){p="__\0ecstackresult_"+t.id,f="__\0ecstackedover_"+t.id,c&&(c.createInvertedIndices=!0);var g=h.coordDim,v=h.type,y=0;(0,i.each)(o,(function(t){t.coordDim===g&&y++}));var m={name:p,coordDim:g,coordDimIndex:y,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length},_={name:f,coordDim:f,coordDimIndex:y+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:o.length+1};a?(s&&(m.storeDimIndex=s.ensureCalculationDimension(f,v),_.storeDimIndex=s.ensureCalculationDimension(p,v)),a.appendCalculationDimension(m),a.appendCalculationDimension(_)):(o.push(m),o.push(_))}return{stackedDimension:h&&h.name,stackedByDimension:c&&c.name,isStackedByIndex:u,stackedOverDimension:f,stackResultDimension:p}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},46866:(t,e,n)=>{"use strict";n.d(e,{Fl:()=>u,Pn:()=>a});var i=n(48369),r=n(37653),o=n(4484);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.isNumber)(t)||null==t||"-"===t||(t=+(0,i._U)(t)),null==t||""===t?NaN:Number(t))}(0,r.createHashMap)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i._U)(t)},trim:function(t){return(0,r.isString)(t)?(0,r.trim)(t):t}});var s={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},u=(function(){function t(t,e){if(!(0,r.isNumber)(e)){0,(0,o.$8)("")}this._opFn=s[t],this._rvalFloat=(0,i.Sm)(e)}t.prototype.evaluate=function(t){return(0,r.isNumber)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.Sm)(t),this._rvalFloat)}}(),function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=(0,r.isNumber)(t)?t:(0,i.Sm)(t),o=(0,r.isNumber)(e)?e:(0,i.Sm)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var u=(0,r.isString)(t),l=(0,r.isString)(e);u&&(n=l?t:0),l&&(o=u?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}());!function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.Sm)(e)}t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=(0,i.Sm)(t)===this._rvalFloat)}return this._isEQ?e:!e}}()},99819:(t,e,n)=>{"use strict";n.d(e,{B:()=>u,l:()=>a});var i=n(37653),r=n(61907),o=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function a(t,e){var n={},a=n.encode={},u=(0,i.createHashMap)(),l=[],c=[],h={};(0,i.each)(t.dimensions,(function(e){var n,i=t.getDimensionInfo(e),o=i.coordDim;if(o){0;var p=i.coordDimIndex;s(a,o)[p]=e,i.isExtraCoord||(u.set(o,1),"ordinal"!==(n=i.type)&&"time"!==n&&(l[0]=e),s(h,o)[p]=t.getDimensionIndex(i.name)),i.defaultTooltip&&c.push(e)}r.Pe.each((function(t,e){var n=s(a,e),r=i.otherDims[e];null!=r&&!1!==r&&(n[r]=i.name)}))}));var p=[],f={};u.each((function(t,e){var n=a[e];f[e]=n[0],p=p.concat(n)})),n.dataDimsOnCoord=p,n.dataDimIndicesOnCoord=(0,i.map)(p,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=f;var d=a.label;d&&d.length&&(l=d.slice());var g=a.tooltip;return g&&g.length?c=g.slice():c.length||(c=l.slice()),a.defaultedLabel=l,a.defaultedTooltip=c,n.userOutput=new o(h,e),n}function s(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function u(t){return"category"===t?"ordinal":"time"===t?"time":"float"}},75038:(t,e,n)=>{"use strict";n.d(e,{G9:()=>c,Gt:()=>h,OC:()=>l,PU:()=>p,ps:()=>u,sc:()=>a});var i=n(30555),r=n(37653),o=n(61907),a={Must:1,Might:2,Not:3},s=(0,i.$r)();function u(t){s(t).datasetMap=(0,r.createHashMap)()}function l(t,e,n){var i={},o=c(e);if(!o||!t)return i;var a,u,l=[],h=[],p=e.ecModel,f=s(p).datasetMap,d=o.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.each)(t,(function(e,n){var o=(0,r.isObject)(e)?e:t[n]={name:e};"ordinal"===o.type&&null==a&&(a=n,u=y(o)),i[o.name]=[]}));var g=f.get(d)||f.set(d,{categoryWayDim:u,valueWayDim:0});function v(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.each)(t,(function(t,e){var n=t.name,r=y(t);if(null==a){var o=g.valueWayDim;v(i[n],o,r),v(h,o,r),g.valueWayDim+=r}else if(a===e)v(i[n],0,r),v(l,0,r);else{o=g.categoryWayDim;v(i[n],o,r),v(h,o,r),g.categoryWayDim+=r}})),l.length&&(i.itemName=l),h.length&&(i.seriesName=h),i}function c(t){if(!t.get("data",!0))return(0,i.JO)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.US).models[0]}function h(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.JO)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.US).models:[]}function p(t,e){return f(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function f(t,e,n,s,u,l){var c,h,p;if((0,r.isTypedArray)(t))return a.Not;if(s){var f=s[l];(0,r.isObject)(f)?(h=f.name,p=f.type):(0,r.isString)(f)&&(h=f)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.Km){var d=t;if(n===o.oC){for(var g=d[l],v=0;v<(g||[]).length&&v<5;v++)if(null!=(c=b(g[u+v])))return c}else for(v=0;v<d.length&&v<5;v++){var y=d[u+v];if(y&&null!=(c=b(y[l])))return c}}else if(e===o.Wk){var m=t;if(!h)return a.Not;for(v=0;v<m.length&&v<5;v++){if((D=m[v])&&null!=(c=b(D[h])))return c}}else if(e===o.t1){var _=t;if(!h)return a.Not;if(!(g=_[h])||(0,r.isTypedArray)(g))return a.Not;for(v=0;v<g.length&&v<5;v++)if(null!=(c=b(g[v])))return c}else if(e===o.mK){var x=t;for(v=0;v<x.length&&v<5;v++){var D=x[v],A=(0,i.vj)(D);if(!(0,r.isArray)(A))return a.Not;if(null!=(c=b(A[l])))return c}}function b(t){var e=(0,r.isString)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}},3811:(t,e,n)=>{"use strict";n.d(e,{py:()=>y,v5:()=>v});var i=n(61907),r=n(30555),o=n(37653),a=n(99766),s=n(46866),u=n(4484),l=n(76041),c=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return(0,s.Pn)(t,e)},t}();function h(t){if(!_(t.sourceFormat)){0,(0,u.$8)("")}return t.data}function p(t){var e=t.sourceFormat,n=t.data;if(!_(e)){0,(0,u.$8)("")}if(e===i.Km){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.Wk){for(r=[],a=0,s=n.length;a<s;a++)r.push((0,o.extend)({},n[a]));return r}}function f(t,e,n){if(null!=n)return(0,o.isNumber)(n)||!isNaN(n)&&!(0,o.hasOwn)(e,n)?t[n]:(0,o.hasOwn)(e,n)?e[n]:void 0}function d(t){return(0,o.clone)(t)}var g=(0,o.createHashMap)();function v(t){var e=(t=(0,o.clone)(t)).type;e||(0,u.$8)("");var n=e.split(":");2!==n.length&&(0,u.$8)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,g.set(e,t)}function y(t,e,n){var i=(0,r.qB)(t),o=i.length;o||(0,u.$8)("");for(var a=0,s=o;a<s;a++){e=m(i[a],e,n,1===o?null:a),a!==s-1&&(e.length=Math.max(e.length,1))}return e}function m(t,e,n,s){e.length||(0,u.$8)(""),(0,o.isObject)(t)||(0,u.$8)("");var v=t.type,y=g.get(v);y||(0,u.$8)("");var m=(0,o.map)(e,(function(t){return function(t,e){var n=new c,r=t.data,s=n.sourceFormat=t.sourceFormat,l=t.startIndex;t.seriesLayoutBy!==i.i_&&(0,u.$8)("");var g=[],v={},y=t.dimensionsDefine;if(y)(0,o.each)(y,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};g.push(i),null!=n&&((0,o.hasOwn)(v,n)&&(0,u.$8)(""),v[n]=i)}));else for(var m=0;m<t.dimensionsDetectedCount;m++)g.push({index:m});var _=(0,a.sC)(s,i.i_);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(r,l,g,t)},n.getRawData=(0,o.bind)(h,null,t)),n.cloneRawData=(0,o.bind)(p,null,t);var x=(0,a.Kd)(s,i.i_);n.count=(0,o.bind)(x,null,r,l,g);var D=(0,a.uQ)(s);n.retrieveValue=function(t,e){var n=_(r,l,g,t);return A(n,e)};var A=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];return n?D(t,e,n.name):void 0}};return n.getDimensionInfo=(0,o.bind)(f,null,g,v),n.cloneAllDimensionInfo=(0,o.bind)(d,null,g),n}(t,y)})),x=(0,r.qB)(y.transform({upstream:m[0],upstreamList:m,config:(0,o.clone)(t.config)}));return(0,o.map)(x,(function(t,n){var r;(0,o.isObject)(t)||(0,u.$8)(""),t.data||(0,u.$8)(""),_((0,l.wZ)(t.data))||(0,u.$8)("");var a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.i_,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.i_,sourceHeader:0,dimensions:t.dimensions};return(0,l.gV)(t.data,r,null)}))}function _(t){return t===i.Km||t===i.Wk}},2444:(t,e,n)=>{"use strict";n.d(e,{Y:()=>f});var i=n(31800),r=n(13780),o=n(52079),a=n(97888),s=n(52636),u=n(37653),l=n(54855),c=n(85277),h=[],p={registerPreprocessor:i.lP,registerProcessor:i.qg,registerPostInit:i.cf,registerPostUpdate:i.tb,registerUpdateLifecycle:i.xV,registerAction:i.OH,registerCoordinateSystem:i.pX,registerLayout:i.Oh,registerVisual:i.AF,registerTransform:i.iY,registerLoading:i.Ej,registerMap:i.mz,registerImpl:l.m,PRIORITY:i.FQ,ComponentModel:a.A,ComponentView:r.A,SeriesModel:s.A,ChartView:o.A,registerComponentModel:function(t){a.A.registerClass(t)},registerComponentView:function(t){r.A.registerClass(t)},registerSeriesModel:function(t){s.A.registerClass(t)},registerChartView:function(t){o.A.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.A.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,c.registerPainter)(t,e)}};function f(t){(0,u.isArray)(t)?(0,u.each)(t,(function(t){f(t)})):(0,u.indexOf)(h,t)>=0||(h.push(t),(0,u.isFunction)(t)&&(t={install:t}),t.install(p))}},2492:(t,e,n)=>{"use strict";n.d(e,{If:()=>l,QX:()=>s,Xe:()=>u,os:()=>o});var i=n(37963),r=n(82759);function o(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var o=r.label,a=o.getComputedTransform(),s=o.getBoundingRect(),u=!a||a[1]<1e-5&&a[2]<1e-5,l=o.style.margin||0,c=s.clone();c.applyTransform(a),c.x-=l/2,c.y-=l/2,c.width+=l,c.height+=l;var h=u?new i.A(s,a):null;e.push({label:o,labelLine:r.labelLine,rect:c,localRect:s,obb:h,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:u,transform:a})}}return e}function a(t,e,n,i,r,o){var a=t.length;if(!(a<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,u=0,l=!1,c=[],h=0,p=0;p<a;p++){var f=t[p],d=f.rect;(s=d[e]-u)<0&&(d[e]-=s,f.label[e]-=s,l=!0);var g=Math.max(-s,0);c.push(g),h+=g,u=d[e]+d[n]}h>0&&o&&A(-h/a,0,a);var v,y,m=t[0],_=t[a-1];return x(),v<0&&b(-v,.8),y<0&&b(y,.8),x(),D(v,y,1),D(y,v,-1),x(),v<0&&C(-v),y<0&&C(y),l}function x(){v=m.rect[e]-i,y=r-_.rect[e]-_.rect[n]}function D(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){A(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function A(n,i,r){0!==n&&(l=!0);for(var o=i;o<r;o++){var a=t[o];a.rect[e]+=n,a.label[e]+=n}}function b(i,r){for(var o=[],s=0,u=1;u<a;u++){var l=t[u-1].rect,c=Math.max(t[u].rect[e]-l[e]-l[n],0);o.push(c),s+=c}if(s){var h=Math.min(Math.abs(i)/s,r);if(i>0)for(u=0;u<a-1;u++){A(o[u]*h,0,u+1)}else for(u=a-1;u>0;u--){A(-(o[u-1]*h),u,a)}}}function C(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i<a-1;i++)if(e>0?A(n,0,i+1):A(-n,a-i-1,a),(t-=n)<=0)return}}function s(t,e,n,i){return a(t,"x","width",e,n,i)}function u(t,e,n,i){return a(t,"y","height",e,n,i)}function l(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new r.A(0,0,0,0);function o(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var a=0;a<t.length;a++){var s=t[a],u=s.axisAligned,l=s.localRect,c=s.transform,h=s.label,p=s.labelLine;n.copy(s.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var f=s.obb,d=!1,g=0;g<e.length;g++){var v=e[g];if(n.intersect(v.rect)){if(u&&v.axisAligned){d=!0;break}if(v.obb||(v.obb=new i.A(v.localRect,v.transform)),f||(f=new i.A(l,c)),f.intersect(v.obb)){d=!0;break}}}d?(o(h),p&&o(p)):(h.attr("ignore",s.defaultAttr.ignore),p&&p.attr("ignore",s.defaultAttr.labelGuideIgnore),e.push(s))}}},47533:(t,e,n)=>{"use strict";n.d(e,{Lu:()=>x,VB:()=>f,c8:()=>_,lx:()=>p,qM:()=>h,xb:()=>D});var i=n(37315),r=n(37653),o=n(56402),a=n(30555),s=n(99881),u={};function l(t,e){for(var n=0;n<o.BV.length;n++){var i=o.BV[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}function c(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,u=t.labelDimIndex,l=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,u,l&&l.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.isFunction)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var c={normal:i},h=0;h<o.BV.length;h++){var p=o.BV[h],f=e[p];c[p]=(0,r.retrieve2)(a?a.getFormattedLabel(s,p,null,u,f&&f.get("formatter")):null,i)}return c}function h(t,e,n,a){n=n||u;for(var s=t instanceof i.Ay,h=!1,p=0;p<o.wV.length;p++){if((D=e[o.wV[p]])&&D.getShallow("show")){h=!0;break}}var g=s?t:t.getTextContent();if(h){s||(g||(g=new i.Ay,t.setTextContent(g)),t.stateProxy&&(g.stateProxy=t.stateProxy));var v=c(n,e),y=e.normal,m=!!y.getShallow("show"),_=f(y,a&&a.normal,n,!1,!s);_.text=v.normal,s||t.setTextConfig(d(y,n,!1));for(p=0;p<o.BV.length;p++){var D,A=o.BV[p];if(D=e[A]){var b=g.ensureState(A),C=!!(0,r.retrieve2)(D.getShallow("show"),m);if(C!==m&&(b.ignore=!C),b.style=f(D,a&&a[A],n,!0,!s),b.style.text=v[A],!s)t.ensureState(A).textConfig=d(D,n,!0)}}g.silent=!!y.getShallow("silent"),null!=g.style.x&&(_.x=g.style.x),null!=g.style.y&&(_.y=g.style.y),g.ignore=!m,g.useStyle(_),g.dirty(),n.enableTextSetter&&(x(g).setLabelText=function(t){var i=c(n,e,t);l(g,i)})}else g&&(g.ignore=!0);t.dirty()}function p(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.BV.length;i++){var r=o.BV[i];n[r]=t.getModel([r,e])}return n}function f(t,e,n,i,o){var a={};return function(t,e,n,i,o){n=n||u;var a,s=e.ecModel,l=s&&s.option.textStyle,c=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||u).rich;if(n){e=e||{};for(var i=(0,r.keys)(n),o=0;o<i.length;o++){e[i[o]]=1}}t=t.parentModel}return e}(e);if(c)for(var h in a={},c)if(c.hasOwnProperty(h)){var p=e.getModel(["rich",h]);m(a[h]={},p,l,n,i,o,!1,!0)}a&&(t.rich=a);var f=e.get("overflow");f&&(t.overflow=f);var d=e.get("minMargin");null!=d&&(t.margin=d);m(t,e,l,n,i,o,!0,!1)}(a,t,n,i,o),e&&(0,r.extend)(a,e),a}function d(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.retrieve2)(t.getShallow("distance"),n?null:5),u=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=u&&(o.offset=u),null!=a&&(a*=Math.PI/180,o.rotation=a),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var g=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],v=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],y=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function m(t,e,n,i,o,a,s,l){n=!o&&n||u;var c=i&&i.inheritColor,h=e.getShallow("color"),p=e.getShallow("textBorderColor"),f=(0,r.retrieve2)(e.getShallow("opacity"),n.opacity);"inherit"!==h&&"auto"!==h||(h=c||null),"inherit"!==p&&"auto"!==p||(p=c||null),a||(h=h||n.color,p=p||n.textBorderColor),null!=h&&(t.fill=h),null!=p&&(t.stroke=p);var d=(0,r.retrieve2)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=d&&(t.lineWidth=d);var m=(0,r.retrieve2)(e.getShallow("textBorderType"),n.textBorderType);null!=m&&(t.lineDash=m);var _=(0,r.retrieve2)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=f||l||(f=i&&i.defaultOpacity),null!=f&&(t.opacity=f),o||a||null==t.fill&&i.inheritColor&&(t.fill=i.inheritColor);for(var x=0;x<g.length;x++){var D=g[x];null!=(b=(0,r.retrieve2)(e.getShallow(D),n[D]))&&(t[D]=b)}for(x=0;x<v.length;x++){D=v[x];null!=(b=e.getShallow(D))&&(t[D]=b)}if(null==t.verticalAlign){var A=e.getShallow("baseline");null!=A&&(t.verticalAlign=A)}if(!s||!i.disableBox){for(x=0;x<y.length;x++){var b;D=y[x];null!=(b=e.getShallow(D))&&(t[D]=b)}var C=e.getShallow("borderType");null!=C&&(t.borderDash=C),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!c||(t.backgroundColor=c),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!c||(t.borderColor=c)}}function _(t,e){var n=e&&e.getModel("textStyle");return(0,r.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(" "))}var x=(0,a.$r)();function D(t,e,n,i,o){var u=x(t);if(u.valueAnimation&&u.prevValue!==u.value){var h=u.defaultInterpolatedText,p=(0,r.retrieve2)(u.interpolatedValue,u.prevValue),f=u.value;t.percent=0,(null==u.prevValue?s.LW:s.oi)(t,{percent:1},i,e,null,(function(i){var r=(0,a.Il)(n,u.precision,p,f,i);u.interpolatedValue=1===i?null:r;var s=c({labelDataIndex:e,labelFetcher:o,defaultText:h?h(r):r+""},u.statesModels,r);l(t,s)}))}}},97888:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});var i=n(1344),r=n(37653),o=n(92160),a=n(28213),s=n(27912),u=n(30555),l=n(12334),c=(0,u.$r)(),h=function(t){function e(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.$Q("ec_cpt_model"),r}return(0,i.__extends)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=l.ad(this),i=n?l.vs(t):{},o=e.getTheme();r.merge(t,o.get(this.mainType)),r.merge(t,this.getDefaultOption()),n&&l.YA(t,i,n)},e.prototype.mergeOption=function(t,e){r.merge(this.option,t,!0);var n=l.ad(this);n&&l.YA(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s._E)(t))return t.defaultOption;var e=c(this);if(!e.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},u=n.length-1;u>=0;u--)a=r.merge(a,n[u],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return(0,u.JO)(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(o.A);(0,s.q7)(h,o.A),(0,s.tQ)(h),a.A6(h),a.vf(h,(function(t){var e=[];r.each(h.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=r.map(e,(function(t){return(0,s.CC)(t).main})),"dataset"!==t&&r.indexOf(e,"dataset")<=0&&e.unshift("dataset");return e}));const p=h},92160:(t,e,n)=>{"use strict";n.d(e,{A:()=>y});var i=n(682),r=n(27912),o=(0,n(89467).A)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(47533),u=n(37315),l=["textStyle","color"],c=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],h=new u.Ay;const p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(l):null)},t.prototype.getFont=function(){return(0,s.c8)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<c.length;n++)e[c[n]]=this.getShallow(c[n]);return h.useStyle(e),h.update(),h.getBoundingRect()},t}();var f=n(7994),d=n(95873),g=n(37653),v=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.merge)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)((0,g.clone)(this.option))},t.prototype.parsePath=function(t){return"string"===typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.A.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"===typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.gq)(v),(0,r.Od)(v),(0,g.mixin)(v,f.J),(0,g.mixin)(v,d.s),(0,g.mixin)(v,a),(0,g.mixin)(v,p);const y=v},52636:(t,e,n)=>{"use strict";n.d(e,{A:()=>P});var i=n(1344),r=n(37653),o=n(682),a=n(30555),s=n(97888),u=n(83474),l=n(83950),c=n(12334),h=n(76876),p=n(27912),f=n(76041),d=n(61907),g=n(75038),v=n(3811),y=n(3035),m=n(99766),_=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),o=!!i.length;if(x(n)){var a=n,s=void 0,u=void 0,l=void 0;if(o){var c=i[0];c.prepareSource(),s=(l=c.getSource()).data,u=l.sourceFormat,e=[c._getVersionSign()]}else s=a.get("data",!0),u=(0,r.isTypedArray)(s)?d.XO:d.mK,e=[];var h=this._getSourceMetaRawOption()||{},p=l&&l.metaRawOption||{},g=(0,r.retrieve2)(h.seriesLayoutBy,p.seriesLayoutBy)||null,v=(0,r.retrieve2)(h.sourceHeader,p.sourceHeader),y=(0,r.retrieve2)(h.dimensions,p.dimensions);t=g!==p.seriesLayoutBy||!!v!==!!p.sourceHeader||y?[(0,f.gV)(s,{seriesLayoutBy:g,sourceHeader:v,dimensions:y},u)]:[]}else{var m=n;if(o){var _=this._applyTransform(i);t=_.sourceList,e=_.upstreamSignList}else{var D=m.get("source",!0);t=[(0,f.gV)(D,this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),o=n.get("fromTransformResult",!0);if(null!=o){1!==t.length&&D("")}var a=[],s=[];return(0,r.each)(t,(function(t){t.prepareSource();var e=t.getSource(o||0);null==o||e||D(""),a.push(e),s.push(t._getVersionSign())})),i?e=(0,v.py)(i,a,{datasetIndex:n.componentIndex}):null!=o&&(e=[(0,f.BE)(a[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];x(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new y.Ay).initData(new m.d1(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(x(t)){var e=(0,g.G9)(t);return e?[e.getSourceManager()]:[]}return(0,r.map)((0,g.Gt)(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;if(x(i))t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var r=i;t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function x(t){return"series"===t.mainType}function D(t){throw new Error(t)}var A=n(50838);function b(t){var e,n,i,o,s=t.series,u=t.dataIndex,l=t.multipleSeries,c=s.getData(),h=c.mapDimensionsAll("defaultedTooltip"),p=h.length,f=s.getRawValue(u),d=(0,r.isArray)(f),g=(0,A.aw)(s,u);if(p>1||d&&!p){var v=function(t,e,n,i,o){var a=e.getData(),s=(0,r.reduce)(t,(function(t,e,n){var i=a.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),u=[],l=[],c=[];function h(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?c.push((0,A.Qx)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(u.push(t),l.push(n.type)))}return i.length?(0,r.each)(i,(function(t){h((0,m.QE)(a,n,t),t)})):(0,r.each)(t,h),{inlineValues:u,inlineValueTypes:l,blocks:c}}(f,s,u,h,g);e=v.inlineValues,n=v.inlineValueTypes,i=v.blocks,o=v.inlineValues[0]}else if(p){var y=c.getDimensionInfo(h[0]);o=e=(0,m.QE)(c,u,h[0]),n=y.type}else o=e=d?f[0]:f;var _=(0,a.O0)(s),x=_&&s.name||"",D=c.getName(u),b=l?x:D;return(0,A.Qx)("section",{header:x,noHeader:l||!_,sortParam:o,blocks:[(0,A.Qx)("nameValue",{markerType:"item",markerColor:g,name:b,noName:!(0,r.trim)(b),value:e,valueType:n,dataIndex:u})].concat(i||[])})}var C=a.$r();function w(t,e){return t.getName(e)||t.getId(e)}var S=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.__extends)(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,h.U)({count:T,reset:k}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(C(this).sourceManager=new _(this)).prepareSource();var i=this.getInitialData(t,n);F(i,this),this.dataTask.context.data=i,C(this).dataBeforeProcessed=i,M(this),this._initSelectedMapFromData(i)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,c.ad)(this),i=n?(0,c.vs)(t):{},o=this.subType;s.A.hasClass(o)&&(o+="Series"),r.merge(t,e.getTheme().get(this.subType)),r.merge(t,this.getDefaultOption()),a.M5(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,c.YA)(t,i,n)},e.prototype.mergeOption=function(t,e){t=r.merge(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,c.ad)(this);n&&(0,c.YA)(this.option,t,n);var i=C(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);F(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,C(this).dataBeforeProcessed=o,M(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(t){if(t&&!r.isTypedArray(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.M5(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=O(this);if(e){var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n}return C(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=O(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}C(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.createHashMap(t)},e.prototype.getSourceManager=function(){return C(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return C(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return b({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.A.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=u.X.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o<t.length;o++){var a=w(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.keys(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[w(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s)if("series"===a)o.selectedMap="all";else if("multiple"===a){r.isObject(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,l=0;l<s;l++){var c=e[l];u[p=w(t,c)]=!0,this._selectedDataIndicesMap[p]=t.getRawIndex(c)}}else if("single"===a||!0===a){var h=e[s-1],p=w(t,h);o.selectedMap=((n={})[p]=!0,n),this._selectedDataIndicesMap=((i={})[p]=t.getRawIndex(h),i)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return s.A.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(s.A);function M(t){var e=t.name;a.O0(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return r.each(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}(t)||e)}function T(t){return t.model.getRawData().count()}function k(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),I}function I(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function F(t,e){r.each(r.concatArray(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,r.curry(E,e))}))}function E(t,e){var n=O(t);return n&&n.setOutputEnd((e||this).count()),e}function O(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(S,l.J),r.mixin(S,u.X),(0,p.q7)(S,s.A);const P=S},64199:(t,e,n)=>{"use strict";n.d(e,{S:()=>o,a:()=>a});var i=n(37653),r=(0,i.createHashMap)();function o(t,e){(0,i.assert)(null==r.get(t)&&e),r.set(t,e)}function a(t,e,n){var i=r.get(e);if(!i)return n;var o=i(t);return o?n.concat(o):n}},83950:(t,e,n)=>{"use strict";n.d(e,{J:()=>s,L:()=>u});var i=n(37653),r=n(99766),o=n(20863),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),u=s&&s[n.getItemVisual(t,"drawType")||"fill"],l=s&&s.stroke,c=this.mainType,h="series"===c,p=n.userOutput&&n.userOutput.get();return{componentType:c,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:u,borderColor:l,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,u,l){e=e||"normal";var c=this.getData(n),h=this.getDataParams(t,n);(l&&(h.value=l.interpolatedValue),null!=s&&i.isArray(h.value)&&(h.value=h.value[s]),u)||(u=c.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return i.isFunction(u)?(h.status=e,h.dimensionIndex=s,u(h)):i.isString(u)?(0,o.YK)(u,h).replace(a,(function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.QE)(c,t,a);if(l&&i.isArray(l.interpolatedValue)){var u=c.getDimensionIndex(a);u>=0&&(s=l.interpolatedValue[u])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return(0,r.QE)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function u(t){var e,n;return i.isObject(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},95873:(t,e,n)=>{"use strict";n.d(e,{L:()=>r,s:()=>a});var i=n(89467),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.A)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},7994:(t,e,n)=>{"use strict";n.d(e,{J:()=>a,m:()=>r});var i=n(89467),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.A)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},89467:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(37653);function r(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var u=t[s][1];if(!(r&&i.indexOf(r,u)>=0||o&&i.indexOf(o,u)<0)){var l=n.getShallow(u,e);null!=l&&(a[t[s][0]]=l)}}return a}}},83474:(t,e,n)=>{"use strict";n.d(e,{X:()=>o});var i=n(30555),r=(0,i.$r)(),o=((0,i.$r)(),function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var o=(0,i.qB)(this.get("color",!0)),s=this.get("colorLayer",!0);return a(this,r,o,s,t,e,n)},t.prototype.clearColorPalette=function(){var t,e;(e=r)(t=this).paletteIdx=0,e(t).paletteNameMap={}},t}());function a(t,e,n,i,r,o,a){var s=e(o=o||t),u=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(r))return l[r];var c=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)return t[i];return t[n-1]}(i,a):n;if((c=c||n)&&c.length){var h=c[u];return r&&(l[r]=h),s.paletteIdx=(u+1)%c.length,h}}},43662:(t,e,n)=>{"use strict";n.d(e,{a:()=>Et});var i=n(90446),r=n(4995),o=n(93175),a=n(32995),s=n(26370),u=Math.sin,l=Math.cos,c=Math.PI,h=2*Math.PI,p=180/c;const f=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,r,o,a,s,f){var d=s-a,g=!f,v=Math.abs(d),y=(0,i.Cv)(v-h)||(g?d>=h:-d>=h),m=d>0?d%h:d%h+h,_=!1;_=!!y||!(0,i.Cv)(v)&&m>=c===!!g;var x=t+n*l(a),D=e+r*u(a);this._start&&this._add("M",x,D);var A=Math.round(o*p);if(y){var b=1/this._p,C=(g?1:-1)*(h-b);this._add("A",n,r,A,1,+g,t+n*l(a+C),e+r*u(a+C)),b>.01&&this._add("A",n,r,A,0,+g,x,D)}else{var w=t+n*l(s),S=e+r*u(s);this._add("A",n,r,A,+_,+g,w,S)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,u){for(var l=[],c=this._p,h=1;h<arguments.length;h++){var p=arguments[h];if(isNaN(p))return void(this._invalid=!0);l.push(Math.round(p*c)/c)}this._d.push(t+l.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}();var d=n(97663),g=n(37653),v="none",y=Math.round;var m=["lineCap","miterLimit","lineJoin"],_=(0,g.map)(m,(function(t){return"stroke-"+t.toLowerCase()}));function x(t,e,n,a){var s=null==e.opacity?1:e.opacity;if(n instanceof o.Ay)t("opacity",s);else{if(function(t){var e=t.fill;return null!=e&&e!==v}(e)){var u=(0,i.$2)(e.fill);t("fill",u.color);var l=null!=e.fillOpacity?e.fillOpacity*u.opacity*s:u.opacity*s;(a||l<1)&&t("fill-opacity",l)}else t("fill",v);if(function(t){var e=t.stroke;return null!=e&&e!==v}(e)){var c=(0,i.$2)(e.stroke);t("stroke",c.color);var h=e.strokeNoScale?n.getLineScale():1,p=h?(e.lineWidth||0)/h:0,f=null!=e.strokeOpacity?e.strokeOpacity*c.opacity*s:c.opacity*s,g=e.strokeFirst;if((a||1!==p)&&t("stroke-width",p),(a||g)&&t("paint-order",g?"stroke":"fill"),(a||f<1)&&t("stroke-opacity",f),e.lineDash){var x=(0,d.V)(n),D=x[0],A=x[1];D&&(A=y(A||0),t("stroke-dasharray",D.join(",")),(A||a)&&t("stroke-dashoffset",A))}else a&&t("stroke-dasharray",v);for(var b=0;b<m.length;b++){var C=m[b];if(a||e[C]!==r.MW[C]){var w=e[C]||r.MW[C];w&&t(_[b],w)}}}else a&&t("stroke",v)}}var D=n(62998),A="http://www.w3.org/2000/svg",b="http://www.w3.org/1999/xlink",C="ecmeta_";function w(t){return document.createElementNS(A,t)}function S(t,e,n,i,r){return{tag:t,attrs:n||{},children:i,text:r,key:e}}function M(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var i=e.children,r=e.tag,o=e.attrs,a=e.text;return function(t,e){var n=[];if(e)for(var i in e){var r=e[i],o=i;!1!==r&&(!0!==r&&null!=r&&(o+='="'+r+'"'),n.push(o))}return"<"+t+" "+n.join(" ")+">"}(r,o)+("style"!==r?(0,D.Me)(a):a||"")+(i?""+n+(0,g.map)(i,(function(e){return t(e)})).join(n)+n:"")+("</"+r+">")}(t)}function T(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function k(t,e,n,i){return S("svg","root",{width:t,height:e,xmlns:A,"xmlns:xlink":b,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var I=n(47454),F=n(58893),E=n(98944),O=n(36258),P=n(65751),B=0;function L(){return B++}var N={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},R="transform-origin";function z(t,e,n){var r=(0,g.extend)({},t.shape);(0,g.extend)(r,e),t.buildPath(n,r);var o=new f;return o.reset((0,i.MD)(t)),n.rebuildPath(o,1),o.generateStr(),o.getStr()}function V(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[R]=n+"px "+i+"px")}var H={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function W(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function G(t){return(0,g.isString)(t)?N[t]?"cubic-bezier("+N[t]+")":(0,P.w)(t)?t:"":""}function U(t,e,n,r){var o=t.animators,a=o.length,s=[];if(t instanceof O.A){var u=function(t,e,n){var i,r,o=t.shape.paths,a={};if((0,g.each)(o,(function(t){var e=T(n.zrId);e.animation=!0,U(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,u=(0,g.keys)(o),l=u.length;if(l){var c=o[r=u[l-1]];for(var h in c){var p=c[h];a[h]=a[h]||{d:""},a[h].d+=p.d||""}for(var f in s){var d=s[f].animation;d.indexOf(r)>=0&&(i=d)}}})),i){e.d=!1;var s=W(a,n);return i.replace(r,s)}}(t,e,n);if(u)s.push(u);else if(!a)return}else if(!a)return;for(var l={},c=0;c<a;c++){var h=o[c],p=[h.getMaxTime()/1e3+"s"],f=G(h.getClip().easing),d=h.getDelay();f?p.push(f):p.push("linear"),d&&p.push(d/1e3+"s"),h.getLoop()&&p.push("infinite");var v=p.join(" ");l[v]=l[v]||[v,[]],l[v][1].push(h)}function y(o){var a,s=o[1],u=s.length,l={},c={},h={},p="animation-timing-function";function f(t,e,n){for(var i=t.getTracks(),r=t.getMaxTime(),o=0;o<i.length;o++){var a=i[o];if(a.needsAnimate()){var s=a.keyframes,u=a.propName;if(n&&(u=n(u)),u)for(var l=0;l<s.length;l++){var c=s[l],h=Math.round(c.time/r*100)+"%",f=G(c.easing),d=c.rawValue;((0,g.isString)(d)||(0,g.isNumber)(d))&&(e[h]=e[h]||{},e[h][u]=c.rawValue,f&&(e[h][p]=f))}}}}for(var d=0;d<u;d++){(w=(C=s[d]).targetName)?"shape"===w&&f(C,c):!r&&f(C,l)}for(var v in l){var y={};(0,F.IT)(y,t),(0,g.extend)(y,l[v]);var m=(0,i.Z1)(y),_=l[v][p];h[v]=m?{transform:m}:{},V(h[v],y),_&&(h[v][p]=_)}var x=!0;for(var v in c){h[v]=h[v]||{};var D=!a;_=c[v][p];D&&(a=new E.A);var A=a.len();a.reset(),h[v].d=z(t,c[v],a);var b=a.len();if(!D&&A!==b){x=!1;break}_&&(h[v][p]=_)}if(!x)for(var v in h)delete h[v].d;if(!r)for(d=0;d<u;d++){var C,w;"style"===(w=(C=s[d]).targetName)&&f(C,h,(function(t){return H[t]}))}var S,M=(0,g.keys)(h),T=!0;for(d=1;d<M.length;d++){var k=M[d-1],I=M[d];if(h[k][R]!==h[I][R]){T=!1;break}S=h[k][R]}if(T&&S){for(var v in h)h[v][R]&&delete h[v][R];e[R]=S}if((0,g.filter)(M,(function(t){return(0,g.keys)(h[t]).length>0})).length)return W(h,n)+" "+o[0]+" both"}for(var m in l){(u=y(l[m]))&&s.push(u)}if(s.length){var _=n.zrId+"-cls-"+L();n.cssNodes["."+_]={animation:s.join(",")},e.class=_}}var j=n(37315),X=n(87718),Y=n(98259);function q(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+L(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e.class=e.class?e.class+" "+o:o}var Z=n(85277),$=Math.round;function K(t){return t&&(0,g.isString)(t.src)}function Q(t){return t&&(0,g.isFunction)(t.toDataURL)}function J(t,e,n,r){x((function(o,a){var s="fill"===o||"stroke"===o;s&&(0,i.bn)(a)?ut(e,t,o,r):s&&(0,i.Pt)(a)?lt(n,t,o,r):t[o]=s&&"none"===a?"transparent":a}),e,n,!1),function(t,e,n){var r=t.style;if((0,i.dX)(r)){var o=(0,i.si)(t),a=n.shadowCache,s=a[o];if(!s){var u=t.getGlobalScale(),l=u[0],c=u[1];if(!l||!c)return;var h=r.shadowOffsetX||0,p=r.shadowOffsetY||0,f=r.shadowBlur,d=(0,i.$2)(r.shadowColor),g=d.opacity,v=d.color,y=f/2/l+" "+f/2/c;s=n.zrId+"-s"+n.shadowIdx++,n.defs[s]=S("filter",s,{id:s,x:"-100%",y:"-100%",width:"300%",height:"300%"},[S("feDropShadow","",{dx:h/l,dy:p/c,stdDeviation:y,"flood-color":v,"flood-opacity":g})]),a[o]=s}e.filter=(0,i.Xu)(s)}}(n,t,r)}function tt(t,e){var n=(0,Z.getElementSSRData)(e);n&&(n.each((function(e,n){null!=e&&(t[(C+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[C+"silent"]="true"))}function et(t){return(0,i.Cv)(t[0]-1)&&(0,i.Cv)(t[1])&&(0,i.Cv)(t[2])&&(0,i.Cv)(t[3]-1)}function nt(t,e,n){if(e&&(!function(t){return(0,i.Cv)(t[4])&&(0,i.Cv)(t[5])}(e)||!et(e))){var r=n?10:1e4;t.transform=et(e)?"translate("+$(e[4]*r)/r+" "+$(e[5]*r)/r+")":(0,i.nV)(e)}}function it(t,e,n){for(var i=t.points,r=[],o=0;o<i.length;o++)r.push($(i[o][0]*n)/n),r.push($(i[o][1]*n)/n);e.points=r.join(" ")}function rt(t){return!t.smooth}var ot={circle:[function(t){var e=(0,g.map)(t,(function(t){return"string"===typeof t?[t,t]:t}));return function(t,n,i){for(var r=0;r<e.length;r++){var o=e[r],a=t[o[0]];null!=a&&(n[o[1]]=$(a*i)/i)}}}(["cx","cy","r"])],polyline:[it,rt],polygon:[it,rt]};function at(t,e){var n=t.style,r=t.shape,o=ot[t.type],a={},s=e.animation,u="path",l=t.style.strokePercent,c=e.compress&&(0,i.MD)(t)||4;if(!o||e.willUpdate||o[1]&&!o[1](r)||s&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||l<1){var h=!t.path||t.shapeChanged();t.path||t.createPathProxy();var p=t.path;h&&(p.beginPath(),t.buildPath(p,t.shape),t.pathUpdated());var d=p.getVersion(),g=t,v=g.__svgPathBuilder;g.__svgPathVersion===d&&v&&l===g.__svgPathStrokePercent||(v||(v=g.__svgPathBuilder=new f),v.reset(c),p.rebuildPath(v,l),v.generateStr(),g.__svgPathVersion=d,g.__svgPathStrokePercent=l),a.d=v.getStr()}else{u=t.type;var y=Math.pow(10,c);o[0](r,a,y)}return nt(a,t.transform),J(a,n,t,e),tt(a,t),e.animation&&U(t,a,e),e.emphasis&&function(t,e,n){if(!t.ignore)if(t.isSilent())q(l={"pointer-events":"none"},e,n,!0);else{var i=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},r=i.fill;if(!r){var o=t.style&&t.style.fill,a=t.states.select&&t.states.select.style&&t.states.select.style.fill,s=t.currentStates.indexOf("select")>=0&&a||o;s&&(r=(0,Y.liftColor)(s))}var u=i.lineWidth;u&&(u/=!i.strokeNoScale&&t.transform?t.transform[0]:1);var l={cursor:"pointer"};r&&(l.fill=r),i.stroke&&(l.stroke=i.stroke),u&&(l["stroke-width"]=u),q(l,e,n,!0)}}(t,a,e),S(u,t.id+"",a)}function st(t,e){return t instanceof r.Ay?at(t,e):t instanceof o.Ay?function(t,e){var n=t.style,i=n.image;if(i&&!(0,g.isString)(i)&&(K(i)?i=i.src:Q(i)&&(i=i.toDataURL())),i){var r=n.x||0,o=n.y||0,a={href:i,width:n.width,height:n.height};return r&&(a.x=r),o&&(a.y=o),nt(a,t.transform),J(a,n,t,e),tt(a,t),e.animation&&U(t,a,e),S("image",t.id+"",a)}}(t,e):t instanceof s.A?function(t,e){var n=t.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var o=n.font||X.OH,s=n.x||0,u=(0,i.sZ)(n.y||0,(0,a.ks)(o),n.textBaseline),l={"dominant-baseline":"central","text-anchor":i.eQ[n.textAlign]||n.textAlign};if((0,j.XE)(n)){var c="",h=n.fontStyle,p=(0,j.I5)(n.fontSize);if(!parseFloat(p))return;var f=n.fontFamily||X.zs,d=n.fontWeight;c+="font-size:"+p+";font-family:"+f+";",h&&"normal"!==h&&(c+="font-style:"+h+";"),d&&"normal"!==d&&(c+="font-weight:"+d+";"),l.style=c}else l.style="font: "+o;return r.match(/\s/)&&(l["xml:space"]="preserve"),s&&(l.x=s),u&&(l.y=u),nt(l,t.transform),J(l,n,t,e),tt(l,t),e.animation&&U(t,l,e),S("text",t.id+"",l,void 0,r)}}(t,e):void 0}function ut(t,e,n,r){var o,a=t[n],s={gradientUnits:a.global?"userSpaceOnUse":"objectBoundingBox"};if((0,i.OS)(a))o="linearGradient",s.x1=a.x,s.y1=a.y,s.x2=a.x2,s.y2=a.y2;else{if(!(0,i.OH)(a))return void 0;o="radialGradient",s.cx=(0,g.retrieve2)(a.x,.5),s.cy=(0,g.retrieve2)(a.y,.5),s.r=(0,g.retrieve2)(a.r,.5)}for(var u=a.colorStops,l=[],c=0,h=u.length;c<h;++c){var p=100*(0,i.XP)(u[c].offset)+"%",f=u[c].color,d=(0,i.$2)(f),v=d.color,y=d.opacity,m={offset:p};m["stop-color"]=v,y<1&&(m["stop-opacity"]=y),l.push(S("stop",c+"",m))}var _=M(S(o,"",s,l)),x=r.gradientCache,D=x[_];D||(D=r.zrId+"-g"+r.gradientIdx++,x[_]=D,s.id=D,r.defs[D]=S(o,D,s,l)),e[n]=(0,i.Xu)(D)}function lt(t,e,n,r){var o,a=t.style[n],s=t.getBoundingRect(),u={},l=a.repeat,c="no-repeat"===l,h="repeat-x"===l,p="repeat-y"===l;if((0,i.sL)(a)){var f=a.imageWidth,d=a.imageHeight,v=void 0,y=a.image;if((0,g.isString)(y)?v=y:K(y)?v=y.src:Q(y)&&(v=y.toDataURL()),"undefined"===typeof Image){var m="Image width/height must been given explictly in svg-ssr renderer.";(0,g.assert)(f,m),(0,g.assert)(d,m)}else if(null==f||null==d){var _=function(t,e){if(t){var n=t.elm,i=f||e.width,r=d||e.height;"pattern"===t.tag&&(h?(r=1,i/=s.width):p&&(i=1,r/=s.height)),t.attrs.width=i,t.attrs.height=r,n&&(n.setAttribute("width",i),n.setAttribute("height",r))}},x=(0,I.OD)(v,null,t,(function(t){c||_(C,t),_(o,t)}));x&&x.width&&x.height&&(f=f||x.width,d=d||x.height)}o=S("image","img",{href:v,width:f,height:d}),u.width=f,u.height=d}else a.svgElement&&(o=(0,g.clone)(a.svgElement),u.width=a.svgWidth,u.height=a.svgHeight);if(o){var D,A;c?D=A=1:h?(A=1,D=u.width/s.width):p?(D=1,A=u.height/s.height):u.patternUnits="userSpaceOnUse",null==D||isNaN(D)||(u.width=D),null==A||isNaN(A)||(u.height=A);var b=(0,i.Z1)(a);b&&(u.patternTransform=b);var C=S("pattern","",u,[o]),w=M(C),T=r.patternCache,k=T[w];k||(k=r.zrId+"-p"+r.patternIdx++,T[w]=k,u.id=k,C=r.defs[k]=S("pattern",k,u,[o])),e[n]=(0,i.Xu)(k)}}function ct(t,e,n){var r=n.clipPathCache,o=n.defs,a=r[t.id];if(!a){var s={id:a=n.zrId+"-c"+n.clipPathIdx++};r[t.id]=a,o[a]=S("clipPath",a,s,[at(t,n)])}e["clip-path"]=(0,i.Xu)(a)}function ht(t){return document.createTextNode(t)}function pt(t,e,n){t.insertBefore(e,n)}function ft(t,e){t.removeChild(e)}function dt(t,e){t.appendChild(e)}function gt(t){return t.parentNode}function vt(t){return t.nextSibling}function yt(t,e){t.textContent=e}var mt=S("","");function _t(t){return void 0===t}function xt(t){return void 0!==t}function Dt(t,e,n){for(var i={},r=e;r<=n;++r){var o=t[r].key;void 0!==o&&(i[o]=r)}return i}function At(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function bt(t){var e,n=t.children,i=t.tag;if(xt(i)){var r=t.elm=w(i);if(St(mt,t),(0,g.isArray)(n))for(e=0;e<n.length;++e){var o=n[e];null!=o&&dt(r,bt(o))}else xt(t.text)&&!(0,g.isObject)(t.text)&&dt(r,ht(t.text))}else t.elm=ht(t.text);return t.elm}function Ct(t,e,n,i,r){for(;i<=r;++i){var o=n[i];null!=o&&pt(t,bt(o),e)}}function wt(t,e,n,i){for(;n<=i;++n){var r=e[n];if(null!=r)if(xt(r.tag))ft(gt(r.elm),r.elm);else ft(t,r.elm)}}function St(t,e){var n,i=e.elm,r=t&&t.attrs||{},o=e.attrs||{};if(r!==o){for(n in o){var a=o[n];r[n]!==a&&(!0===a?i.setAttribute(n,""):!1===a?i.removeAttribute(n):"style"===n?i.style.cssText=a:120!==n.charCodeAt(0)?i.setAttribute(n,a):"xmlns:xlink"===n||"xmlns"===n?i.setAttributeNS("http://www.w3.org/2000/xmlns/",n,a):58===n.charCodeAt(3)?i.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,a):58===n.charCodeAt(5)?i.setAttributeNS(b,n,a):i.setAttribute(n,a))}for(n in r)n in o||i.removeAttribute(n)}}function Mt(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(St(t,e),_t(e.text)?xt(i)&&xt(r)?i!==r&&function(t,e,n){for(var i,r,o,a=0,s=0,u=e.length-1,l=e[0],c=e[u],h=n.length-1,p=n[0],f=n[h];a<=u&&s<=h;)null==l?l=e[++a]:null==c?c=e[--u]:null==p?p=n[++s]:null==f?f=n[--h]:At(l,p)?(Mt(l,p),l=e[++a],p=n[++s]):At(c,f)?(Mt(c,f),c=e[--u],f=n[--h]):At(l,f)?(Mt(l,f),pt(t,l.elm,vt(c.elm)),l=e[++a],f=n[--h]):At(c,p)?(Mt(c,p),pt(t,c.elm,l.elm),c=e[--u],p=n[++s]):(_t(i)&&(i=Dt(e,a,u)),_t(r=i[p.key])||(o=e[r]).tag!==p.tag?pt(t,bt(p),l.elm):(Mt(o,p),e[r]=void 0,pt(t,o.elm,l.elm)),p=n[++s]);(a<=u||s<=h)&&(a>u?Ct(t,null==n[h+1]?null:n[h+1].elm,n,s,h):wt(t,e,a,u))}(n,i,r):xt(r)?(xt(t.text)&&yt(n,""),Ct(n,null,r,0,r.length-1)):xt(i)?wt(n,i,0,i.length-1):xt(t.text)&&yt(n,""):t.text!==e.text&&(xt(i)&&wt(n,i,0,i.length-1),yt(n,e.text)))}var Tt=n(89508),kt=0,It=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){0},this.configLayer=function(){0},this.storage=e,this._opts=n=(0,g.extend)({},n),this.root=t,this._id="zr"+kt++,this._oldVNode=k(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=w("svg");St(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(At(t,e))Mt(t,e);else{var n=t.elm,i=gt(n);bt(e),null!==i&&(pt(i,e.elm,vt(n)),wt(i,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return st(t,T(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,r=this._height,o=T(this._id);o.animation=t.animation,o.willUpdate=t.willUpdate,o.compress=t.compress,o.emphasis=t.emphasis;var a=[],s=this._bgVNode=function(t,e,n,r){var o;if(n&&"none"!==n)if(o=S("rect","bg",{width:t,height:e,x:"0",y:"0"}),(0,i.bn)(n))ut({fill:n},o.attrs,"fill",r);else if((0,i.Pt)(n))lt({style:{fill:n},dirty:g.noop,getBoundingRect:function(){return{width:t,height:e}}},o.attrs,"fill",r);else{var a=(0,i.$2)(n),s=a.color,u=a.opacity;o.attrs.fill=s,u<1&&(o.attrs["fill-opacity"]=u)}return o}(n,r,this._backgroundColor,o);s&&a.push(s);var u=t.compress?null:this._mainVNode=S("g","main",{},[]);this._paintList(e,o,u?u.children:a),u&&a.push(u);var l=(0,g.map)((0,g.keys)(o.defs),(function(t){return o.defs[t]}));if(l.length&&a.push(S("defs","defs",{},l)),t.animation){var c=function(t,e,n){var i=(n=n||{}).newline?"\n":"",r=" {"+i,o=i+"}",a=(0,g.map)((0,g.keys)(t),(function(e){return e+r+(0,g.map)((0,g.keys)(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=(0,g.map)((0,g.keys)(e),(function(t){return"@keyframes "+t+r+(0,g.map)((0,g.keys)(e[t]),(function(n){return n+r+(0,g.map)((0,g.keys)(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?["<![CDATA[",a,s,"]]>"].join(i):""}(o.cssNodes,o.cssAnims,{newline:!0});if(c){var h=S("style","stl",{},[],c);a.push(h)}}return k(n,r,a,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},M(this.renderToVNode({animation:(0,g.retrieve2)(t.cssAnimation,!0),emphasis:(0,g.retrieve2)(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:(0,g.retrieve2)(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,u=0,l=0;l<o;l++){var c=t[l];if(!c.invisible){var h=c.__clipPaths,p=h&&h.length||0,f=r&&r.length||0,d=void 0;for(d=Math.max(p-1,f-1);d>=0&&(!h||!r||h[d]!==r[d]);d--);for(var g=f-1;g>d;g--)i=a[--s-1];for(var v=d+1;v<p;v++){var y={};ct(h[v],y,e);var m=S("g","clip-g-"+u++,y,[]);(i?i.children:n).push(m),a[s++]=m,i=m}r=h;var _=st(c,e);_&&(i?i.children:n).push(_)}}},t.prototype.resize=function(t,e){var n=this._opts,r=this.root,o=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),r&&o&&(o.style.display="none",t=(0,Tt.YC)(r,0,n),e=(0,Tt.YC)(r,1,n),o.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,o){var a=o.style;a.width=t+"px",a.height=e+"px"}if((0,i.Pt)(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",t),s.setAttribute("height",e));var u=this._bgVNode&&this._bgVNode.elm;u&&(u.setAttribute("width",t),u.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=(0,i.WG)(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();const Ft=It;function Et(t){t.registerPainter("svg",Ft)}},555:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var i=n(1344),r=n(48369),o=n(20863),a=n(76062),s=n(57986),u=r.LI,l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return(0,i.__extends)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.lP(t,this._extent)},e.prototype.normalize=function(t){return s.S8(t,this._extent)},e.prototype.scale=function(t){return s.hs(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=s.u$(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;n[0]<i[0]&&(t?o.push({value:u(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=u(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:u(s+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,l=[],c=(o.value-a.value)/t;s<t-1;){var h=u(a.value+(s+1)*c);h>i[0]&&h<i[1]&&l.push(h),s++}n.push(l)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=r.XV(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=u(t.value,n,!0);return o.ob(i)},e.prototype.calcNiceTicks=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=s.xh(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(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.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var r=this._interval;t.fixMin||(e[0]=u(Math.floor(e[0]/r)*r)),t.fixMax||(e[1]=u(Math.ceil(e[1]/r)*r))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.A);a.A.registerClass(l);const c=l},34569:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n(1344),r=n(76062),o=n(98382),a=n(57986),s=n(37653),u=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new o.A({})),(0,s.isArray)(i)&&(i=new o.A({categories:(0,s.map)(i,(function(t){return(0,s.isObject)(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return(0,i.__extends)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,s.isString)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),a.lP(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),a.S8(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(a.hs(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var u=0;r<o;++r){for(;null!=i[u];)u++;n.push(u),i[u]=r}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(r.A);r.A.registerClass(u);const l=u},76062:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(27912),r=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();i.tQ(r);const o=r},40959:(t,e,n)=>{"use strict";n.d(e,{A:()=>m});var i=n(1344),r=n(48369),o=n(89289),a=n(57986),s=n(555),u=n(76062),l=n(37653),c=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,i.__extends)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,o.GP)(t.value,o.Lm[(0,o.$9)((0,o.ym)(this._minLevelUnit))]||o.Lm.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,o.X_)(t,e,n,r,i)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var i=this.getSetting("useUTC"),a=function(t,e,n,i){var a=1e4,s=o.F7,u=0;function c(t,e,n,r,o,a,s){for(var u=new Date(e),l=e,c=u[r]();l<n&&l<=i[1];)s.push({value:l}),c+=t,u[o](c),l=u.getTime();s.push({value:l,notAdd:!0})}function h(t,a,s){var u=[],l=!a.length;if(!function(t,e,n,i){var a=r._U(e),s=r._U(n),u=function(t){return(0,o.g0)(a,t,i)===(0,o.g0)(s,t,i)},l=function(){return u("year")},c=function(){return l()&&u("month")},h=function(){return c()&&u("day")},p=function(){return h()&&u("hour")},f=function(){return p()&&u("minute")},d=function(){return f()&&u("second")},g=function(){return d()&&u("millisecond")};switch(t){case"year":return l();case"month":return c();case"day":return h();case"hour":return p();case"minute":return f();case"second":return d();case"millisecond":return g()}}((0,o.ym)(t),i[0],i[1],n)){l&&(a=[{value:y(new Date(i[0]),t,n)},{value:i[1]}]);for(var h=0;h<a.length-1;h++){var m=a[h].value,_=a[h+1].value;if(m!==_){var x=void 0,D=void 0,A=void 0,b=!1;switch(t){case"year":x=Math.max(1,Math.round(e/o.CZ/365)),D=(0,o.hY)(n),A=(0,o.tM)(n);break;case"half-year":case"quarter":case"month":x=f(e),D=(0,o.jJ)(n),A=(0,o.xu)(n);break;case"week":case"half-week":case"day":x=p(e,31),D=(0,o.bP)(n),A=(0,o.ti)(n),b=!0;break;case"half-day":case"quarter-day":case"hour":x=d(e),D=(0,o.iC)(n),A=(0,o.Yd)(n);break;case"minute":x=g(e,!0),D=(0,o.yB)(n),A=(0,o.KF)(n);break;case"second":x=g(e,!1),D=(0,o.Wf)(n),A=(0,o.ww)(n);break;case"millisecond":x=v(e),D=(0,o.Zz)(n),A=(0,o.FP)(n)}c(x,m,_,D,A,b,u),"year"===t&&s.length>1&&0===h&&s.unshift({value:s[0].value-x})}}for(h=0;h<u.length;h++)s.push(u[h]);return u}}for(var m=[],_=[],x=0,D=0,A=0;A<s.length&&u++<a;++A){var b=(0,o.ym)(s[A]);if((0,o.ce)(s[A]))if(h(s[A],m[m.length-1]||[],_),b!==(s[A+1]?(0,o.ym)(s[A+1]):null)){if(_.length){D=x,_.sort((function(t,e){return t.value-e.value}));for(var C=[],w=0;w<_.length;++w){var S=_[w].value;0!==w&&_[w-1].value===S||(C.push(_[w]),S>=i[0]&&S<=i[1]&&x++)}var M=(i[1]-i[0])/e;if(x>1.5*M&&D>M/1.5)break;if(m.push(C),x>M||t===s[A])break}_=[]}}0;var T=(0,l.filter)((0,l.map)(m,(function(t){return(0,l.filter)(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),k=[],I=T.length-1;for(A=0;A<T.length;++A)for(var F=T[A],E=0;E<F.length;++E)k.push({value:F[E].value,level:I-A});k.sort((function(t,e){return t.value-e.value}));var O=[];for(A=0;A<k.length;++A)0!==A&&k[A].value===k[A-1].value||O.push(k[A]);return O}(this._minLevelUnit,this._approxInterval,i,e);return(n=n.concat(a)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=o.CZ,e[1]+=o.CZ),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]-o.CZ}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=h.length,a=Math.min(function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n}(h,this._approxInterval,0,o),o-1);this._interval=h[a][1],this._minLevelUnit=h[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,l.isNumber)(t)?t:+r._U(t)},e.prototype.contain=function(t){return a.lP(this.parse(t),this._extent)},e.prototype.normalize=function(t){return a.S8(this.parse(t),this._extent)},e.prototype.scale=function(t){return a.hs(t,this._extent)},e.type="time",e}(s.A),h=[["second",o.OY],["minute",o.iW],["hour",o.MA],["quarter-day",6*o.MA],["half-day",12*o.MA],["day",1.2*o.CZ],["half-week",3.5*o.CZ],["week",7*o.CZ],["month",31*o.CZ],["quarter",95*o.CZ],["half-year",o.$H/2],["year",o.$H]];function p(t,e){return(t/=o.CZ)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function f(t){return(t/=30*o.CZ)>6?6:t>3?3:t>2?2:1}function d(t){return(t/=o.MA)>12?12:t>6?6:t>3.5?4:t>2?2:1}function g(t,e){return(t/=e?o.iW:o.OY)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function v(t){return r.Cm(t,!0)}function y(t,e,n){var i=new Date(t);switch((0,o.ym)(e)){case"year":case"month":i[(0,o.xu)(n)](0);case"day":i[(0,o.ti)(n)](1);case"hour":i[(0,o.Yd)(n)](0);case"minute":i[(0,o.KF)(n)](0);case"second":i[(0,o.ww)(n)](0),i[(0,o.FP)(n)](0)}return i.getTime()}u.A.registerClass(c);const m=c},57986:(t,e,n)=>{"use strict";n.d(e,{S8:()=>c,hs:()=>h,kH:()=>a,lP:()=>l,rf:()=>r,u$:()=>s,xh:()=>o});var i=n(48369);function r(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,r){var o={},a=t[1]-t[0],l=o.interval=(0,i.Cm)(a/e,!0);null!=n&&l<n&&(l=o.interval=n),null!=r&&l>r&&(l=o.interval=r);var c=o.intervalPrecision=s(l);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),u(t,0,e),u(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(o.niceTickExtent=[(0,i.LI)(Math.ceil(t[0]/l)*l,c),(0,i.LI)(Math.floor(t[1]/l)*l,c)],t),o}function a(t){var e=Math.pow(10,(0,i.NX)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,i.LI)(n*e)}function s(t){return(0,i.XV)(t)+2}function u(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function l(t,e){return t>=e[0]&&t<=e[1]}function c(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function h(t,e){return t*(e[1]-e[0])+e[0]}},27912:(t,e,n)=>{"use strict";n.d(e,{CC:()=>u,Od:()=>f,_E:()=>l,gq:()=>c,q7:()=>h,tQ:()=>v});var i=n(1344),r=n(37653),o=".",a="___EC__COMPONENT__CONTAINER___",s="___EC__EXTENDED_CLASS___";function u(t){var e={main:"",sub:""};if(t){var n=t.split(o);e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!(!t||!t[s])}function c(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return n=o,r.isFunction(n)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e}(o):(e=function(){(t.$constructor||o).apply(this,arguments)},r.inherits(e,this)),r.extend(e.prototype,t),e[s]=!0,e.extend=this.extend,e.superCall=d,e.superApply=g,e.superClass=o,e}}function h(t,e){t.extend=e.extend}var p=Math.round(10*Math.random());function f(t){var e=["__\0is_clz",p++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!(!t||!t[e])}}function d(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function g(t,e,n){return this.superClass.prototype[e].apply(t,n)}function v(t){var e={};t.registerClass=function(t){var n,i=t.type||t.prototype.type;if(i){n=i,r.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=i;var o=u(i);if(o.sub){if(o.sub!==a){var s=function(t){var n=e[t.main];n&&n[a]||((n=e[t.main]={})[a]=!0);return n}(o);s[o.sub]=t}}else e[o.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[a]&&(r=n?r[n]:null),i&&!r)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=u(t),i=[],o=e[n.main];return o&&o[a]?r.each(o,(function(t,e){e!==a&&i.push(t)})):i.push(o),i},t.hasClass=function(t){var n=u(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return r.each(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=u(t),i=e[n.main];return i&&i[a]}}},28213:(t,e,n)=>{"use strict";n.d(e,{$Q:()=>a,A6:()=>s,G_:()=>l,vf:()=>u});var i=n(37653),r=n(27912),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){var i=(0,r.CC)(t);e[i.main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.CC)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}}function u(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,r,o,a){if(t.length){var s=function(t){var r={},o=[];return i.each(t,(function(a){var s=n(r,a),u=function(t,e){var n=[];return i.each(t,(function(t){i.indexOf(e,t)>=0&&n.push(t)})),n}(s.originalDeps=e(a),t);s.entryCount=u.length,0===s.entryCount&&o.push(a),i.each(u,(function(t){i.indexOf(s.predecessor,t)<0&&s.predecessor.push(t);var e=n(r,t);i.indexOf(e.successor,t)<0&&e.successor.push(a)}))})),{graph:r,noEntryList:o}}(r),u=s.graph,l=s.noEntryList,c={};for(i.each(t,(function(t){c[t]=!0}));l.length;){var h=l.pop(),p=u[h],f=!!c[h];f&&(o.call(a,h,p.originalDeps.slice()),delete c[h]),i.each(p.successor,f?g:d)}i.each(c,(function(){throw new Error("")}))}function d(t){u[t].entryCount--,0===u[t].entryCount&&l.push(t)}function g(t){c[t]=!0,d(t)}}}function l(t,e){return i.merge(i.merge({},t,!0),e,!0)}},35382:(t,e,n)=>{"use strict";function i(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}n.d(e,{R:()=>i})},20863:(t,e,n)=>{"use strict";n.d(e,{Cb:()=>u,JW:()=>m,QX:()=>l,YK:()=>f,fU:()=>g,he:()=>y,ob:()=>s,qg:()=>d,x5:()=>v,yC:()=>c});var i=n(37653),r=n(62998),o=n(48369),a=n(89289);function s(t){if(!(0,o.kf)(t))return i.isString(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function u(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;function c(t,e,n){function r(t){return t&&i.trim(t)?t:"-"}function u(t){return!(null==t||isNaN(t)||!isFinite(t))}var l="time"===e,c=t instanceof Date;if(l||c){var h=l?(0,o._U)(t):t;if(!isNaN(+h))return(0,a.GP)(h,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(c)return"-"}if("ordinal"===e)return i.isStringSafe(t)?r(t):i.isNumber(t)&&u(t)?t+"":"-";var p=(0,o.Sm)(t);return u(p)?s(p):i.isStringSafe(t)?r(t):"boolean"===typeof t?t+"":"-"}var h=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function f(t,e,n){i.isArray(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var u=h[s];t=t.replace(p(u),p(u,0))}for(var l=0;l<o;l++)for(var c=0;c<a.length;c++){var f=e[l][a[c]];t=t.replace(p(h[c],l),n?(0,r.Me)(f):f)}return t}function d(t,e){var n=i.isString(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.Me)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e,n){"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=(0,o._U)(e),r=n?"getUTC":"get",s=i[r+"FullYear"](),u=i[r+"Month"]()+1,l=i[r+"Date"](),c=i[r+"Hours"](),h=i[r+"Minutes"](),p=i[r+"Seconds"](),f=i[r+"Milliseconds"]();return t=t.replace("MM",(0,a.eV)(u,2)).replace("M",u).replace("yyyy",s).replace("yy",(0,a.eV)(s%100+"",2)).replace("dd",(0,a.eV)(l,2)).replace("d",l).replace("hh",(0,a.eV)(c,2)).replace("h",c).replace("mm",(0,a.eV)(h,2)).replace("m",h).replace("ss",(0,a.eV)(p,2)).replace("s",p).replace("SSS",(0,a.eV)(f,3))}function v(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function y(t,e){return e=e||"transparent",i.isString(t)?t:i.isObject(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function m(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},23114:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Arc:()=>z.A,BezierCurve:()=>R.A,BoundingRect:()=>G.A,Circle:()=>I.A,CompoundPath:()=>V.A,Ellipse:()=>F.A,Group:()=>T.A,Image:()=>M.Ay,IncrementalDisplayable:()=>X.A,Line:()=>N.A,LinearGradient:()=>H.A,OrientedBoundingRect:()=>U.A,Path:()=>r.Ay,Point:()=>j.A,Polygon:()=>P.A,Polyline:()=>B.A,RadialGradient:()=>W.A,Rect:()=>L.A,Ring:()=>O.A,Sector:()=>E.A,Text:()=>k.Ay,applyTransform:()=>ft,clipPointsByRect:()=>yt,clipRectByRect:()=>mt,createIcon:()=>_t,extendPath:()=>et,extendShape:()=>J,getShapeClass:()=>it,getTransform:()=>pt,groupTransition:()=>vt,initProps:()=>Z.LW,isElementRemoved:()=>Z.LR,lineLineIntersect:()=>Dt,linePolygonIntersect:()=>xt,makeImage:()=>ot,makePath:()=>rt,mergePath:()=>st,registerShape:()=>nt,removeElement:()=>Z.Nz,removeElementWithFadeOut:()=>Z.t5,resizePath:()=>ut,setTooltipConfig:()=>bt,subPixelOptimize:()=>ht,subPixelOptimizeLine:()=>lt,subPixelOptimizeRect:()=>ct,transformDirection:()=>dt,traverseElements:()=>wt,updateProps:()=>Z.oi});var i=n(1344),r=n(4995),o=n(98944),a=n(52278),s=o.A.CMD,u=[[],[],[]],l=Math.sqrt,c=Math.atan2;var h=n(37653),p=Math.sqrt,f=Math.sin,d=Math.cos,g=Math.PI;function v(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function y(t,e){return(t[0]*e[0]+t[1]*e[1])/(v(t)*v(e))}function m(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(y(t,e))}function _(t,e,n,i,r,o,a,s,u,l,c){var h=u*(g/180),v=d(h)*(t-n)/2+f(h)*(e-i)/2,_=-1*f(h)*(t-n)/2+d(h)*(e-i)/2,x=v*v/(a*a)+_*_/(s*s);x>1&&(a*=p(x),s*=p(x));var D=(r===o?-1:1)*p((a*a*(s*s)-a*a*(_*_)-s*s*(v*v))/(a*a*(_*_)+s*s*(v*v)))||0,A=D*a*_/s,b=D*-s*v/a,C=(t+n)/2+d(h)*A-f(h)*b,w=(e+i)/2+f(h)*A+d(h)*b,S=m([1,0],[(v-A)/a,(_-b)/s]),M=[(v-A)/a,(_-b)/s],T=[(-1*v-A)/a,(-1*_-b)/s],k=m(M,T);if(y(M,T)<=-1&&(k=g),y(M,T)>=1&&(k=0),k<0){var I=Math.round(k/g*1e6)/1e6;k=2*g+I%2*g}c.addData(l,C,w,a,s,S,k,h,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,D=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var A=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.applyTransform=function(t){},e}(r.Ay);function b(t){return null!=t.setData}function C(t,e){var n=function(t){var e=new o.A;if(!t)return e;var n,i=0,r=0,a=i,s=r,u=o.A.CMD,l=t.match(x);if(!l)return e;for(var c=0;c<l.length;c++){for(var h=l[c],p=h.charAt(0),f=void 0,d=h.match(D)||[],g=d.length,v=0;v<g;v++)d[v]=parseFloat(d[v]);for(var y=0;y<g;){var m=void 0,A=void 0,b=void 0,C=void 0,w=void 0,S=void 0,M=void 0,T=i,k=r,I=void 0,F=void 0;switch(p){case"l":i+=d[y++],r+=d[y++],f=u.L,e.addData(f,i,r);break;case"L":i=d[y++],r=d[y++],f=u.L,e.addData(f,i,r);break;case"m":i+=d[y++],r+=d[y++],f=u.M,e.addData(f,i,r),a=i,s=r,p="l";break;case"M":i=d[y++],r=d[y++],f=u.M,e.addData(f,i,r),a=i,s=r,p="L";break;case"h":i+=d[y++],f=u.L,e.addData(f,i,r);break;case"H":i=d[y++],f=u.L,e.addData(f,i,r);break;case"v":r+=d[y++],f=u.L,e.addData(f,i,r);break;case"V":r=d[y++],f=u.L,e.addData(f,i,r);break;case"C":f=u.C,e.addData(f,d[y++],d[y++],d[y++],d[y++],d[y++],d[y++]),i=d[y-2],r=d[y-1];break;case"c":f=u.C,e.addData(f,d[y++]+i,d[y++]+r,d[y++]+i,d[y++]+r,d[y++]+i,d[y++]+r),i+=d[y-2],r+=d[y-1];break;case"S":m=i,A=r,I=e.len(),F=e.data,n===u.C&&(m+=i-F[I-4],A+=r-F[I-3]),f=u.C,T=d[y++],k=d[y++],i=d[y++],r=d[y++],e.addData(f,m,A,T,k,i,r);break;case"s":m=i,A=r,I=e.len(),F=e.data,n===u.C&&(m+=i-F[I-4],A+=r-F[I-3]),f=u.C,T=i+d[y++],k=r+d[y++],i+=d[y++],r+=d[y++],e.addData(f,m,A,T,k,i,r);break;case"Q":T=d[y++],k=d[y++],i=d[y++],r=d[y++],f=u.Q,e.addData(f,T,k,i,r);break;case"q":T=d[y++]+i,k=d[y++]+r,i+=d[y++],r+=d[y++],f=u.Q,e.addData(f,T,k,i,r);break;case"T":m=i,A=r,I=e.len(),F=e.data,n===u.Q&&(m+=i-F[I-4],A+=r-F[I-3]),i=d[y++],r=d[y++],f=u.Q,e.addData(f,m,A,i,r);break;case"t":m=i,A=r,I=e.len(),F=e.data,n===u.Q&&(m+=i-F[I-4],A+=r-F[I-3]),i+=d[y++],r+=d[y++],f=u.Q,e.addData(f,m,A,i,r);break;case"A":b=d[y++],C=d[y++],w=d[y++],S=d[y++],M=d[y++],_(T=i,k=r,i=d[y++],r=d[y++],S,M,b,C,w,f=u.A,e);break;case"a":b=d[y++],C=d[y++],w=d[y++],S=d[y++],M=d[y++],_(T=i,k=r,i+=d[y++],r+=d[y++],S,M,b,C,w,f=u.A,e)}}"z"!==p&&"Z"!==p||(f=u.Z,e.addData(f),i=a,r=s),n=f}return e.toStatic(),e}(t),i=(0,h.extend)({},e);return i.buildPath=function(t){if(b(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){!function(t,e){if(e){var n,i,r,o,h,p,f=t.data,d=t.len(),g=s.M,v=s.C,y=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<d;){switch(n=f[r++],o=r,i=0,n){case g:case y:i=1;break;case v:i=3;break;case x:i=2;break;case _:var D=e[4],A=e[5],b=l(e[0]*e[0]+e[1]*e[1]),C=l(e[2]*e[2]+e[3]*e[3]),w=c(-e[1]/C,e[0]/b);f[r]*=b,f[r++]+=D,f[r]*=C,f[r++]+=A,f[r++]*=b,f[r++]*=C,f[r++]+=w,f[r++]+=w,o=r+=2;break;case m:p[0]=f[r++],p[1]=f[r++],(0,a.applyTransform)(p,p,e),f[o++]=p[0],f[o++]=p[1],p[0]+=f[r++],p[1]+=f[r++],(0,a.applyTransform)(p,p,e),f[o++]=p[0],f[o++]=p[1]}for(h=0;h<i;h++){var S=u[h];S[0]=f[r++],S[1]=f[r++],(0,a.applyTransform)(S,S,e),f[o++]=S[0],f[o++]=S[1]}}t.increaseVersion()}}(n,t),this.dirtyShape()},i}var w=n(65472),S=n(58893),M=n(93175),T=n(55741),k=n(37315),I=n(39598),F=n(54230),E=n(67426),O=n(97772),P=n(11694),B=n(50082),L=n(86159),N=n(46416),R=n(39422),z=n(74492),V=n(36258),H=n(21629),W=n(42271),G=n(82759),U=n(37963),j=n(73631),X=n(23750),Y=n(81969),q=n(63821),Z=n(99881),$=Math.max,K=Math.min,Q={};function J(t){return r.Ay.extend(t)}var tt=function(t,e){var n=C(t,e);return function(t){function e(e){var i=t.call(this,e)||this;return i.applyTransform=n.applyTransform,i.buildPath=n.buildPath,i}return(0,i.__extends)(e,t),e}(A)};function et(t,e){return tt(t,e)}function nt(t,e){Q[t]=e}function it(t){if(Q.hasOwnProperty(t))return Q[t]}function rt(t,e,n,i){var r=function(t,e){return new A(C(t,e))}(t,e);return n&&("center"===i&&(n=at(n,r.getBoundingRect())),ut(r,n)),r}function ot(t,e,n){var i=new M.Ay({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(at(e,r))}}});return i}function at(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var st=function(t,e){for(var n=[],i=t.length,o=0;o<i;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new r.Ay(e);return s.createPathProxy(),s.buildPath=function(t){if(b(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s};function ut(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function lt(t,e){return Y.eB(t,t,{lineWidth:e}),t}function ct(t){return Y.Op(t.shape,t.shape,t.style),t}var ht=Y.M7;function pt(t,e){for(var n=w.identity([]);t&&t!==e;)w.mul(n,t.getLocalTransform(),n),t=t.parent;return n}function ft(t,e,n){return e&&!(0,h.isArrayLike)(e)&&(e=S.Ay.getLocalTransform(e)),n&&(e=w.invert([],e)),a.applyTransform([],t,e)}function dt(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=ft(o,e,n),Math.abs(o[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function gt(t){return!t.isGroup}function vt(t,e,n){if(t&&e){var i=function(t){var e={};return t.traverse((function(t){gt(t)&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(gt(t)&&t.anid){var e=i[t.anid];if(e){var o=r(t);t.attr(r(e)),(0,Z.oi)(t,o,n,(0,q.z)(t).dataIndex)}}}))}function r(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=(0,h.extend)({},t.shape)),e}}function yt(t,e){return(0,h.map)(t,(function(t){var n=t[0];n=$(n,e.x),n=K(n,e.x+e.width);var i=t[1];return i=$(i,e.y),[n,i=K(i,e.y+e.height)]}))}function mt(t,e){var n=$(t.x,e.x),i=K(t.x+t.width,e.x+e.width),r=$(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 _t(t,e,n){var i=(0,h.extend)({rectHover:!0},e),r=i.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),(0,h.defaults)(r,n),new M.Ay(i)):rt(t.replace("path://",""),i,n,"center")}function xt(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(Dt(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function Dt(t,e,n,i,r,o,a,s){var u,l=n-t,c=i-e,h=a-r,p=s-o,f=At(h,p,l,c);if((u=f)<=1e-6&&u>=-1e-6)return!1;var d=t-r,g=e-o,v=At(d,g,l,c)/f;if(v<0||v>1)return!1;var y=At(d,g,h,p)/f;return!(y<0||y>1)}function At(t,e,n,i){return t*i-n*e}function bt(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,h.isString)(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var u=t.formatterParamsExtra;u&&(0,h.each)((0,h.keys)(u),(function(t){(0,h.hasOwn)(s,t)||(s[t]=u[t],s.$vars.push(t))}));var l=(0,q.z)(t.el);l.componentMainType=o,l.componentIndex=a,l.tooltipConfig={name:i,option:(0,h.defaults)({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function Ct(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function wt(t,e){if(t)if((0,h.isArray)(t))for(var n=0;n<t.length;n++)Ct(t[n],e);else Ct(t,e)}nt("circle",I.A),nt("ellipse",F.A),nt("sector",E.A),nt("ring",O.A),nt("polygon",P.A),nt("polyline",B.A),nt("rect",L.A),nt("line",N.A),nt("bezierCurve",R.A),nt("arc",z.A)},63821:(t,e,n)=>{"use strict";n.d(e,{a:()=>r,z:()=>i});var i=(0,n(30555).$r)(),r=function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse((function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"}))}}},12334:(t,e,n)=>{"use strict";n.d(e,{YA:()=>g,aP:()=>h,ad:()=>d,dV:()=>p,m$:()=>f,vs:()=>v});var i=n(37653),r=n(82759),o=n(48369),a=n(20863),s=i.each,u=["left","right","top","bottom","width","height"],l=[["width","left","right"],["height","top","bottom"]];function c(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(u,l){var c,h,p=u.getBoundingRect(),f=e.childAt(l+1),d=f&&f.getBoundingRect();if("horizontal"===t){var g=p.width+(d?-d.x+p.x:0);(c=o+g)>i||u.newline?(o=0,c=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var v=p.height+(d?-d.y+p.y:0);(h=a+v)>r||u.newline?(o+=s+n,a=0,h=v,s=p.width):s=Math.max(s,p.width)}u.newline||(u.x=o,u.y=a,u.markRedraw(),"horizontal"===t?o=c+n:a=h+n)}))}var h=c;i.curry(c,"vertical"),i.curry(c,"horizontal");function p(t,e,n){n=a.QX(n||0);var i=e.width,s=e.height,u=(0,o.lo)(t.left,i),l=(0,o.lo)(t.top,s),c=(0,o.lo)(t.right,i),h=(0,o.lo)(t.bottom,s),p=(0,o.lo)(t.width,i),f=(0,o.lo)(t.height,s),d=n[2]+n[0],g=n[1]+n[3],v=t.aspect;switch(isNaN(p)&&(p=i-c-g-u),isNaN(f)&&(f=s-h-d-l),null!=v&&(isNaN(p)&&isNaN(f)&&(v>i/s?p=.8*i:f=.8*s),isNaN(p)&&(p=v*f),isNaN(f)&&(f=p/v)),isNaN(u)&&(u=i-c-p-g),isNaN(l)&&(l=s-h-f-d),t.left||t.right){case"center":u=i/2-p/2-n[3];break;case"right":u=i-p-g}switch(t.top||t.bottom){case"middle":case"center":l=s/2-f/2-n[0];break;case"bottom":l=s-f-d}u=u||0,l=l||0,isNaN(p)&&(p=i-g-u-(c||0)),isNaN(f)&&(f=s-d-l-(h||0));var y=new r.A(u+n[3],l+n[0],p,f);return y.margin=n,y}function f(t,e,n,o,a,s){var u,l=!a||!a.hv||a.hv[0],c=!a||!a.hv||a.hv[1],h=a&&a.boundingMode||"all";if((s=s||t).x=t.x,s.y=t.y,!l&&!c)return!1;if("raw"===h)u="group"===t.type?new r.A(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(u=t.getBoundingRect(),t.needLocalTransform()){var f=t.getLocalTransform();(u=u.clone()).applyTransform(f)}var d=p(i.defaults({width:u.width,height:u.height},e),n,o),g=l?d.x-u.x:0,v=c?d.y-u.y:0;return"raw"===h?(s.x=g,s.y=v):(s.x+=g,s.y+=v),s===t&&t.markRedraw(),!0}function d(t){var e=t.layoutMode||t.constructor.layoutMode;return i.isObject(e)?e:e?{type:e}:null}function g(t,e,n){var r=n&&n.ignoreSize;!i.isArray(r)&&(r=[r,r]);var o=u(l[0],0),a=u(l[1],1);function u(n,i){var o={},a=0,u={},l=0;if(s(n,(function(e){u[e]=t[e]})),s(n,(function(t){c(e,t)&&(o[t]=u[t]=e[t]),h(o,t)&&a++,h(u,t)&&l++})),r[i])return h(e,n[1])?u[n[2]]=null:h(e,n[2])&&(u[n[1]]=null),u;if(2!==l&&a){if(a>=2)return o;for(var p=0;p<n.length;p++){var f=n[p];if(!c(o,f)&&c(t,f)){o[f]=t[f];break}}return o}return u}function c(t,e){return t.hasOwnProperty(e)}function h(t,e){return null!=t[e]&&"auto"!==t[e]}function p(t,e,n){s(t,(function(t){e[t]=n[t]}))}p(l[0],t,o),p(l[1],t,a)}function v(t){return function(t,e){return e&&t&&s(u,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}({},t)}},4484:(t,e,n)=>{"use strict";n.d(e,{$8:()=>r,aT:()=>i});"undefined"!==typeof console&&console.warn&&console.log;function i(t){0}function r(t){throw new Error(t)}},30555:(t,e,n)=>{"use strict";n.d(e,{$r:()=>b,Bq:()=>I,D$:()=>F,GX:()=>D,HB:()=>S,Il:()=>O,JO:()=>k,JS:()=>h,M5:()=>c,O0:()=>m,O2:()=>d,S_:()=>x,US:()=>M,UW:()=>T,XJ:()=>E,_e:()=>w,le:()=>A,oh:()=>_,qB:()=>l,vS:()=>y,vj:()=>p,zu:()=>f});var i=n(37653),r=n(682),o=n(48369);function a(t,e,n){return(e-t)*n+t}var s="series\0",u="\0_ec_\0";function l(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 p(t){return!(0,i.isObject)(t)||(0,i.isArray)(t)||t instanceof Date?t:t.value}function f(t){return(0,i.isObject)(t)&&!(t instanceof Array)}function d(t,e,n){var r="normalMerge"===n,o="replaceMerge"===n,a="replaceAll"===n;t=t||[],e=(e||[]).slice();var u=(0,i.createHashMap)();(0,i.each)(e,(function(t,n){(0,i.isObject)(t)||(e[n]=null)}));var l=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||_(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,u,n);return(r||o)&&function(t,e,n,r){(0,i.each)(r,(function(o,a){if(o&&null!=o.id){var s=v(o.id),u=n.get(s);if(null!=u){var l=t[u];(0,i.assert)(!l.newOption,'Duplicated option on id "'+s+'".'),l.newOption=o,l.existing=e[u],r[a]=null}}}))}(l,t,u,e),r&&function(t,e){(0,i.each)(e,(function(n,i){if(n&&null!=n.name)for(var r=0;r<t.length;r++){var o=t[r].existing;if(!t[r].newOption&&o&&(null==o.id||null==n.id)&&!_(n)&&!_(o)&&g("name",o,n))return t[r].newOption=n,void(e[i]=null)}}))}(l,e),r||o?function(t,e,n){(0,i.each)(e,(function(e){if(e){for(var i,r=0;(i=t[r])&&(i.newOption||_(i.existing)||i.existing&&null!=e.id&&!g("id",e,i.existing));)r++;i?(i.newOption=e,i.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),r++}}))}(l,e,o):a&&function(t,e){(0,i.each)(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(l,e),function(t){var e=(0,i.createHashMap)();(0,i.each)(t,(function(t){var n=t.existing;n&&e.set(n.id,t)})),(0,i.each)(t,(function(t){var n=t.newOption;(0,i.assert)(!n||null==n.id||!e.get(n.id)||e.get(n.id)===t,"id duplicates: "+(n&&n.id)),n&&null!=n.id&&e.set(n.id,t),!t.keyInfo&&(t.keyInfo={})})),(0,i.each)(t,(function(t,n){var r=t.existing,o=t.newOption,a=t.keyInfo;if((0,i.isObject)(o)){if(a.name=null!=o.name?v(o.name):r?r.name:s+n,r)a.id=v(r.id);else if(null!=o.id)a.id=v(o.id);else{var u=0;do{a.id="\0"+a.name+"\0"+u++}while(e.get(a.id))}e.set(a.id,t)}}))}(l),l}function g(t,e,n){var i=y(e[t],null),r=y(n[t],null);return null!=i&&null!=r&&i===r}function v(t){return y(t,"")}function y(t,e){return null==t?e:(0,i.isString)(t)?t:(0,i.isNumber)(t)||(0,i.isStringSafe)(t)?t+"":e}function m(t){var e=t.name;return!(!e||!e.indexOf(s))}function _(t){return t&&null!=t.id&&0===v(t.id).indexOf(u)}function x(t){return u+t}function D(t,e,n){(0,i.each)(t,(function(t){var r=t.newOption;(0,i.isObject)(r)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,i){var r=e.type?e.type:n?n.subType:i.determineSubType(t,e);return r}(e,r,t.existing,n))}))}function A(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.isArray)(e.dataIndex)?(0,i.map)(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.isArray)(e.name)?(0,i.map)(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function b(){var t="__ec_inner_"+C++;return function(e){return e[t]||(e[t]={})}}var C=(0,o.IH)();function w(t,e,n){var i=S(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each((function(e,i){var r=k(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]})),a}function S(t,e){var n;if((0,i.isString)(t)){var r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.createHashMap)(),a={},s=!1;return(0,i.each)(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],u=r[1],l=(r[2]||"").toLowerCase();if(u&&l&&!(e&&e.includeMainTypes&&(0,i.indexOf)(e.includeMainTypes,u)<0))s=s||!!u,(o.get(u)||o.set(u,{}))[l]=t}else a[n]=t})),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var M={useDefault:!0,enableAll:!1,enableNone:!1},T={useDefault:!1,enableAll:!0,enableNone:!0};function k(t,e,n,r){r=r||M;var o=n.index,a=n.id,s=n.name,u={models:null,specified:null!=o||null!=a||null!=s};if(!u.specified){var l=void 0;return u.models=r.useDefault&&(l=t.getComponent(e))?[l]:[],u}return"none"===o||!1===o?((0,i.assert)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),u.models=[],u):("all"===o&&((0,i.assert)(r.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),u.models=t.queryComponents({mainType:e,index:o,id:a,name:s}),u)}function I(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function F(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function E(t){return"auto"===t?r.A.domSupported?"html":"richText":t||"html"}function O(t,e,n,r,s){var u=null==e||"auto"===e;if(null==r)return r;if((0,i.isNumber)(r)){var l=a(n||0,r,s);return(0,o.LI)(l,u?Math.max((0,o.XV)(n||0),(0,o.XV)(r)):e)}if((0,i.isString)(r))return s<1?n:r;for(var c=[],h=n,p=r,f=Math.max(h?h.length:0,p.length),d=0;d<f;++d){var g=t.getDimensionInfo(d);if(g&&"ordinal"===g.type)c[d]=(s<1&&h?h:p)[d];else{var v=h&&h[d]?h[d]:0,y=p[d];l=a(v,y,s);c[d]=(0,o.LI)(l,u?Math.max((0,o.XV)(v),(0,o.XV)(y)):e)}}return c}},48369:(t,e,n)=>{"use strict";n.d(e,{Cb:()=>a,Cm:()=>A,IH:()=>M,Is:()=>g,LI:()=>u,NX:()=>D,Sm:()=>w,Tr:()=>d,XV:()=>c,Y6:()=>l,YV:()=>b,_7:()=>v,_U:()=>_,au:()=>x,dh:()=>y,hb:()=>p,kf:()=>S,lQ:()=>k,lo:()=>s,sL:()=>C,wp:()=>f,y6:()=>h});var i=n(37653),r=1e-4,o=20;function a(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],u=o-r,l=s-a;if(0===u)return 0===l?a:(a+s)/2;if(i)if(u>0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/u*l+a}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%"}return i.isString(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function u(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),o),t=(+t).toFixed(e),n?t:+t}function l(t){return t.sort((function(t,e){return t-e})),t}function c(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return h(t)}function h(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function p(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 f(t,e,n){if(!t[e])return 0;var r=function(t,e){var n=i.reduce(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var r=Math.pow(10,e),o=i.map(t,(function(t){return(isNaN(t)?0:t)/n*r*100})),a=100*r,s=i.map(o,(function(t){return Math.floor(t)})),u=i.reduce(s,(function(t,e){return t+e}),0),l=i.map(o,(function(t,e){return t-s[e]}));for(;u<a;){for(var c=Number.NEGATIVE_INFINITY,h=null,p=0,f=l.length;p<f;++p)l[p]>c&&(c=l[p],h=p);++s[h],l[h]=0,++u}return i.map(s,(function(t){return t/r}))}(t,n);return r[e]||0}function d(t,e){var n=Math.max(c(t),c(e)),i=t+e;return n>o?i:u(i,n)}var g=9007199254740991;function v(t){var e=2*Math.PI;return(t%e+e)%e}function y(t){return t>-r&&t<r}var m=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function _(t){if(t instanceof Date)return t;if(i.isString(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]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function x(t){return Math.pow(10,D(t))}function D(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 A(t,e){var n=D(t),i=Math.pow(10,n),r=t/i;return t=(e?r<1.5?1:r<2.5?2:r<4?3:r<7?5:10:r<1?1:r<2?2:r<3?3:r<5?5:10)*i,n>=-20?+t.toFixed(n<0?-n:0):t}function b(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 C(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 w(t){var e=parseFloat(t);return e==t&&(0!==e||!i.isString(t)||t.indexOf("x")<=0)?e:NaN}function S(t){return!isNaN(w(t))}function M(){return Math.round(9*Math.random())}function T(t,e){return 0===e?t:T(e,t%e)}function k(t,e){return null==t?e:null==e?t:t*e/T(t,e)}},56402:(t,e,n)=>{"use strict";n.d(e,{BV:()=>g,Du:()=>q,HY:()=>z,Iz:()=>Q,JC:()=>W,JI:()=>G,Lm:()=>it,Lv:()=>D,Lx:()=>ct,Mx:()=>at,PW:()=>x,Pk:()=>P,Q6:()=>b,QX:()=>H,SD:()=>V,T$:()=>ht,Tl:()=>$,U2:()=>A,_m:()=>K,_n:()=>lt,e3:()=>d,fz:()=>pt,gd:()=>U,h5:()=>_,iJ:()=>nt,jA:()=>tt,lV:()=>Z,mc:()=>et,qR:()=>X,t6:()=>J,u6:()=>ut,wV:()=>v,zX:()=>f});var i=n(37653),r=n(63821),o=n(98259),a=n(30555),s=n(4995),u=1,l={},c=(0,a.$r)(),h=(0,a.$r)(),p=0,f=1,d=2,g=["emphasis","blur","select"],v=["normal","emphasis","blur","select"],y=10,m=9,_="highlight",x="downplay",D="select",A="unselect",b="toggleSelect";function C(t){return null!=t&&"none"!==t}function w(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function S(t){w(t,"emphasis",d)}function M(t){t.hoverState===d&&w(t,"normal",p)}function T(t){w(t,"blur",f)}function k(t){t.hoverState===f&&w(t,"normal",p)}function I(t){t.selected=!0}function F(t){t.selected=!1}function E(t,e,n){e(t,n)}function O(t,e,n){E(t,e,n),t.isGroup&&t.traverse((function(t){E(t,e,n)}))}function P(t,e){switch(e){case"emphasis":t.hoverState=d;break;case"normal":t.hoverState=p;break;case"blur":t.hoverState=f;break;case"select":t.selected=!0}}function B(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,r){var a=n&&(0,i.indexOf)(n,"select")>=0,u=!1;if(t instanceof s.Ay){var l=c(t),h=a&&l.selectFill||l.normalFill,p=a&&l.selectStroke||l.normalStroke;if(C(h)||C(p)){var f=(r=r||{}).style||{};"inherit"===f.fill?(u=!0,r=(0,i.extend)({},r),(f=(0,i.extend)({},f)).fill=h):!C(f.fill)&&C(h)?(u=!0,r=(0,i.extend)({},r),(f=(0,i.extend)({},f)).fill=(0,o.liftColor)(h)):!C(f.stroke)&&C(p)&&(u||(r=(0,i.extend)({},r),f=(0,i.extend)({},f)),f.stroke=(0,o.liftColor)(p)),r.style=f}}if(r&&null==r.z2){u||(r=(0,i.extend)({},r));var d=t.z2EmphasisLift;r.z2=t.z2+(null!=d?d:y)}return r}(this,0,e,n);if("blur"===t)return function(t,e,n){var r=(0,i.indexOf)(t.currentStates,e)>=0,o=t.style.opacity,a=r?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],u=r[s];o[s]=null==u?i&&i[s]:u}for(a=0;a<t.animators.length;a++){var l=t.animators[a];l.__fromStateTransition&&l.__fromStateTransition.indexOf(n)<0&&"style"===l.targetName&&l.saveTo(o,e)}return o}(t,["opacity"],e,{opacity:1}),s=(n=n||{}).style||{};return null==s.opacity&&(n=(0,i.extend)({},n),s=(0,i.extend)({opacity:r?o:.1*a.opacity},s),n.style=s),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=(0,i.extend)({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:m)}return n}(this,0,n)}return n}function L(t){t.stateProxy=B;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=B),n&&(n.stateProxy=B)}function N(t,e){!j(t,e)&&!t.__highByOuter&&O(t,S)}function R(t,e){!j(t,e)&&!t.__highByOuter&&O(t,M)}function z(t,e){t.__highByOuter|=1<<(e||0),O(t,S)}function V(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&O(t,M)}function H(t){O(t,T)}function W(t){O(t,k)}function G(t){O(t,I)}function U(t){O(t,F)}function j(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function X(t){var e=t.getModel(),n=[],r=[];e.eachComponent((function(e,i){var o=h(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!a&&r.push(s),o.isBlured&&(s.group.traverse((function(t){k(t)})),a&&n.push(i)),o.isBlured=!1})),(0,i.each)(r,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function Y(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&W(i)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var s=o.getSeriesByIndex(t),u=s.coordinateSystem;u&&u.master&&(u=u.master);var l=[];o.eachSeries((function(t){var o=s===t,c=t.coordinateSystem;if(c&&c.master&&(c=c.master),!("series"===n&&!o||"coordinateSystem"===n&&!(c&&u?c===u:o)||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse((function(t){t.__highByOuter&&o&&"self"===e||T(t)})),(0,i.isArrayLike)(e))a(t.getData(),e);else if((0,i.isObject)(e))for(var p=(0,i.keys)(e),f=0;f<p.length;f++)a(t.getData(p[f]),e[p[f]]);l.push(t),h(t).isBlured=!0}})),o.eachComponent((function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(l,!0,o)}}))}}function q(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){h(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse((function(t){T(t)}))}}}function Z(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var u=(0,a.le)(s,e);u=((0,i.isArray)(u)?u[0]:u)||0;var l=s.getItemGraphicEl(u);if(!l)for(var c=s.count(),h=0;!l&&h<c;)l=s.getItemGraphicEl(h++);if(l){var p=(0,r.z)(l);Y(o,p.focus,p.blurScope,n)}else{var f=t.get(["emphasis","focus"]),d=t.get(["emphasis","blurScope"]);null!=f&&Y(o,f,d,n)}}}function $(t,e,n,i){var o={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return o;var a=i.getModel().getComponent(t,e);if(!a)return o;var s=i.getViewOfComponentModel(a);if(!s||!s.findHighDownDispatchers)return o;for(var u,l=s.findHighDownDispatchers(n),c=0;c<l.length;c++)if("self"===(0,r.z)(l[c]).focus){u=!0;break}return{focusSelf:u,dispatchers:l}}function K(t,e,n){var o=(0,r.z)(t),a=$(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,u=a.focusSelf;s?(u&&q(o.componentMainType,o.componentIndex,n),(0,i.each)(s,(function(t){return N(t,e)}))):(Y(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&q(o.componentMainType,o.componentIndex,n),N(t,e))}function Q(t,e,n){X(n);var o=(0,r.z)(t),a=$(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.each)(a,(function(t){return R(t,e)})):R(t,e)}function J(t,e,n){if(ct(e)){var r=e.dataType,o=t.getData(r),s=(0,a.le)(o,e);(0,i.isArray)(s)||(s=[s]),t[e.type===b?"toggleSelect":e.type===D?"select":"unselect"](s,r)}}function tt(t){var e=t.getAllData();(0,i.each)(e,(function(e){var n=e.data,i=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,i)?G(e):U(e)}))}))}function et(t){var e=[];return t.eachSeries((function(t){var n=t.getAllData();(0,i.each)(n,(function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function nt(t,e,n){st(t,!0),O(t,L),function(t,e,n){var i=(0,r.z)(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}(t,e,n)}function it(t,e,n,i){i?function(t){st(t,!1)}(t):nt(t,e,n)}var rt=["emphasis","blur","select"],ot={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function at(t,e,n,i){n=n||"itemStyle";for(var r=0;r<rt.length;r++){var o=rt[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[ot[n]]()}}function st(t,e){var n=!1===e,i=t;t.highDownSilentOnTouch&&(i.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!i.__highDownDispatcher||(i.__highByOuter=i.__highByOuter||0,i.__highDownDispatcher=!n)}function ut(t){return!(!t||!t.__highDownDispatcher)}function lt(t){var e=l[t];return null==e&&u<=32&&(e=l[t]=u++),e}function ct(t){var e=t.type;return e===D||e===A||e===b}function ht(t){var e=t.type;return e===_||e===x}function pt(t){var e=c(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}},56340:(t,e,n)=>{"use strict";n.d(e,{hV:()=>b,v5:()=>D,xU:()=>A});var i=n(37653),r=n(4995),o=n(46416),a=n(86159),s=n(39598),u=n(23114),l=n(82759),c=n(32995),h=n(48369),p=r.Ay.extend({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()}}),f=r.Ay.extend({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()}}),d=r.Ay.extend({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),u=i-o+a+s,l=Math.asin(s/a),c=Math.cos(l)*a,h=Math.sin(l),p=Math.cos(l),f=.6*a,d=.7*a;t.moveTo(n-c,u+s),t.arc(n,u,a,Math.PI-l,2*Math.PI+l),t.bezierCurveTo(n+c-h*f,u+s+p*f,n,i-d,n,i),t.bezierCurveTo(n,i-d,n-c+h*f,u+s+p*f,n-c,u+s),t.closePath()}}),g=r.Ay.extend({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()}}),v={line:o.A,rect:a.A,roundRect:a.A,square:a.A,circle:s.A,diamond:f,pin:d,arrow:g,triangle:p},y={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}},m={};(0,i.each)(v,(function(t,e){m[e]=new t}));var _=r.Ay.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,c.X4)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=m[i];r||(r=m[i="rect"]),y[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function x(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function D(t,e,n,i,r,o,a){var s,c=0===t.indexOf("empty");return c&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?u.makeImage(t.slice(8),new l.A(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?u.makePath(t.slice(7),{},new l.A(e,n,i,r),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=c,s.setColor=x,o&&s.setColor(o),s}function A(t){return(0,i.isArray)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function b(t,e){if(null!=t)return(0,i.isArray)(t)||(t=[t,t]),[(0,h.lo)(t[0],e[0])||0,(0,h.lo)((0,i.retrieve2)(t[1],t[0]),e[1])||0]}},10300:(t,e,n)=>{"use strict";n.d(e,{IU:()=>u,N:()=>s,nF:()=>a});var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(t,e,n){var i,r,o,a,s,u=0,l=0,c=null;function h(){l=(new Date).getTime(),c=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p<arguments.length;p++)t[p]=arguments[p];i=(new Date).getTime(),o=this,a=t;var f=s||e,d=s||n;s=null,r=i-(d?u:l)-f,clearTimeout(c),d?c=setTimeout(h,f):r>=0?h():c=setTimeout(h,-r),u=i};return p.clear=function(){c&&(clearTimeout(c),c=null)},p.debounceNextCall=function(t){s=t},p}function s(t,e,n,s){var u=t[e];if(u){var l=u[i]||u,c=u[o];if(u[r]!==n||c!==s){if(null==n||!s)return t[e]=l;(u=t[e]=a(l,n,"debounce"===s))[i]=l,u[o]=s,u[r]=n}return u}}function u(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])}},89289:(t,e,n)=>{"use strict";n.d(e,{$9:()=>x,$H:()=>h,CZ:()=>c,F7:()=>v,FP:()=>R,GP:()=>D,KF:()=>L,Lm:()=>d,MA:()=>l,OY:()=>s,Wf:()=>I,X_:()=>A,Yd:()=>B,Zz:()=>F,bP:()=>M,ce:()=>_,eV:()=>y,g0:()=>C,hY:()=>w,iC:()=>T,iW:()=>u,jJ:()=>S,tM:()=>E,ti:()=>P,ww:()=>N,xu:()=>O,yB:()=>k,ym:()=>m});var i=n(37653),r=n(48369),o=n(93170),a=n(92160),s=1e3,u=60*s,l=60*u,c=24*l,h=365*c,p={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},f="{yyyy}-{MM}-{dd}",d={year:"{yyyy}",month:"{yyyy}-{MM}",day:f,hour:f+" "+p.hour,minute:f+" "+p.minute,second:f+" "+p.second,millisecond:p.none},g=["year","month","day","hour","minute","second","millisecond"],v=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function y(t,e){return"0000".substr(0,e-(t+="").length)+t}function m(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function D(t,e,n,i){var s=r._U(t),u=s[w(n)](),l=s[S(n)]()+1,c=Math.floor((l-1)/3)+1,h=s[M(n)](),p=s["get"+(n?"UTC":"")+"Day"](),f=s[T(n)](),d=(f-1)%12+1,g=s[k(n)](),v=s[I(n)](),m=s[F(n)](),_=f>=12?"pm":"am",x=_.toUpperCase(),D=(i instanceof a.A?i:(0,o.A4)(i||o.Lv)||(0,o.pr)()).getModel("time"),A=D.get("month"),b=D.get("monthAbbr"),C=D.get("dayOfWeek"),E=D.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,_+"").replace(/{A}/g,x+"").replace(/{yyyy}/g,u+"").replace(/{yy}/g,y(u%100+"",2)).replace(/{Q}/g,c+"").replace(/{MMMM}/g,A[l-1]).replace(/{MMM}/g,b[l-1]).replace(/{MM}/g,y(l,2)).replace(/{M}/g,l+"").replace(/{dd}/g,y(h,2)).replace(/{d}/g,h+"").replace(/{eeee}/g,C[p]).replace(/{ee}/g,E[p]).replace(/{e}/g,p+"").replace(/{HH}/g,y(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,y(d+"",2)).replace(/{h}/g,d+"").replace(/{mm}/g,y(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,y(v,2)).replace(/{s}/g,v+"").replace(/{SSS}/g,y(m,3)).replace(/{S}/g,m+"")}function A(t,e,n,r,o){var a=null;if(i.isString(n))a=n;else if(i.isFunction(n))a=n(t.value,e,{level:t.level});else{var s=i.extend({},p);if(t.level>0)for(var u=0;u<g.length;++u)s[g[u]]="{primary|"+s[g[u]]+"}";var l=n?!1===n.inherit?n:i.defaults(n,s):s,c=b(t.value,o);if(l[c])a=l[c];else if(l.inherit){for(u=v.indexOf(c)-1;u>=0;--u)if(l[c]){a=l[c];break}a=a||s.none}if(i.isArray(a)){var h=null==t.level?0:t.level>=0?t.level:a.length+t.level;a=a[h=Math.min(h,a.length-1)]}}return D(new Date(t.value),a,o,r)}function b(t,e){var n=r._U(t),i=n[S(e)]()+1,o=n[M(e)](),a=n[T(e)](),s=n[k(e)](),u=n[I(e)](),l=0===n[F(e)](),c=l&&0===u,h=c&&0===s,p=h&&0===a,f=p&&1===o;return f&&1===i?"year":f?"month":p?"day":h?"hour":c?"minute":l?"second":"millisecond"}function C(t,e,n){var o=i.isNumber(t)?r._U(t):t;switch(e=e||b(t,n)){case"year":return o[w(n)]();case"half-year":return o[S(n)]()>=6?1:0;case"quarter":return Math.floor((o[S(n)]()+1)/4);case"month":return o[S(n)]();case"day":return o[M(n)]();case"half-day":return o[T(n)]()/24;case"hour":return o[T(n)]();case"minute":return o[k(n)]();case"second":return o[I(n)]();case"millisecond":return o[F(n)]()}}function w(t){return t?"getUTCFullYear":"getFullYear"}function S(t){return t?"getUTCMonth":"getMonth"}function M(t){return t?"getUTCDate":"getDate"}function T(t){return t?"getUTCHours":"getHours"}function k(t){return t?"getUTCMinutes":"getMinutes"}function I(t){return t?"getUTCSeconds":"getSeconds"}function F(t){return t?"getUTCMilliseconds":"getMilliseconds"}function E(t){return t?"setUTCFullYear":"setFullYear"}function O(t){return t?"setUTCMonth":"setMonth"}function P(t){return t?"setUTCDate":"setDate"}function B(t){return t?"setUTCHours":"setHours"}function L(t){return t?"setUTCMinutes":"setMinutes"}function N(t){return t?"setUTCSeconds":"setSeconds"}function R(t){return t?"setUTCMilliseconds":"setMilliseconds"}},61907:(t,e,n)=>{"use strict";n.d(e,{Km:()=>o,Pe:()=>i,Wk:()=>a,XO:()=>u,i_:()=>c,mK:()=>r,oC:()=>h,t1:()=>s,vm:()=>l});var i=(0,n(37653).createHashMap)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),r="original",o="arrayRows",a="objectRows",s="keyedColumns",u="typedArray",l="unknown",c="column",h="row"},52079:(t,e,n)=>{"use strict";n.d(e,{A:()=>x});var i=n(37653),r=n(55741),o=n(28213),a=n(27912),s=n(30555),u=n(56402),l=n(76876),c=n(39083),h=n(23114),p=s.$r(),f=(0,c.A)(),d=function(){function t(){this.group=new r.A,this.uid=o.$Q("viewChart"),this.renderTask=(0,l.U)({plan:y,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){0},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&v(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&v(r,i,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){(0,h.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,u.u6)(t)&&("emphasis"===e?u.HY:u.SD)(t,n)}function v(t,e,n){var r=s.le(t,e),o=e&&null!=e.highlightKey?(0,u._n)(e.highlightKey):null;null!=r?(0,i.each)(s.qB(r),(function(e){g(t.getItemGraphicEl(e),n,o)})):t.eachItemGraphicEl((function(t){g(t,n,o)}))}function y(t){return f(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&p(r).updateMethod,u=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==u&&a[u](e,n,i,r),_[u]}a.gq(d,["dispose"]),a.tQ(d);var _={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)}}};const x=d},13780:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(55741),r=n(28213),o=n(27912),a=function(){function t(){this.group=new i.A,this.uid=r.$Q("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();o.gq(a),o.tQ(a);const s=a},33309:(t,e,n)=>{"use strict";n.d(e,{A:()=>A});var i=n(58893),r=n(26940),o=n(82759),a=n(49870),s=n(32995),u=n(37653),l=n(83859),c=n(98259),h=n(40643),p="__zr_normal__",f=i.Wx.concat(["ignore"]),d=(0,u.reduce)(i.Wx,(function(t,e){return t[e]=!0,t}),{ignore:!1}),g={},v=new o.A(0,0,0,0),y=function(){function t(t){this.id=(0,u.guid)(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,u=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var c=v;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,c):(0,s.X4)(g,n,c),r.x=g.x,r.y=g.y,o=g.align,a=g.verticalAlign;var p=n.origin;if(p&&null!=n.rotation){var f=void 0,d=void 0;"center"===p?(f=.5*c.width,d=.5*c.height):(f=(0,s.lo)(p[0],c.width),d=(0,s.lo)(p[1],c.height)),l=!0,r.originX=-r.x+f+(i?0:c.x),r.originY=-r.y+d+(i?0:c.y)}}null!=n.rotation&&(r.rotation=n.rotation);var y=n.offset;y&&(r.x+=y[0],r.y+=y[1],l||(r.originX=-y[0],r.originY=-y[1]));var m=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,_=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),x=void 0,D=void 0,A=void 0;m&&this.canBeInsideText()?(x=n.insideFill,D=n.insideStroke,null!=x&&"auto"!==x||(x=this.getInsideTextFill()),null!=D&&"auto"!==D||(D=this.getInsideTextStroke(x),A=!0)):(x=n.outsideFill,D=n.outsideStroke,null!=x&&"auto"!==x||(x=this.getOutsideFill()),null!=D&&"auto"!==D||(D=this.getOutsideStroke(x),A=!0)),(x=x||"#000")===_.fill&&D===_.stroke&&A===_.autoStroke&&o===_.align&&a===_.verticalAlign||(u=!0,_.fill=x,_.stroke=D,_.autoStroke=A,_.align=o,_.verticalAlign=a,e.setDefaultTextStyle(_)),e.__dirty|=h.M,u&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?l.el:l._S},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&(0,c.parse)(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,(0,c.stringify)(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},(0,u.extend)(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if((0,u.isObject)(t))for(var n=t,i=(0,u.keys)(n),r=0;r<i.length;r++){var o=i[r];this.attrKV(o,t[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!(i.getLoop()||r&&r!==p)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,f)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(p,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===p;if(this.hasState()||!r){var o=this.currentStates,a=this.stateTransition;if(!((0,u.indexOf)(o,t)>=0)||!e&&1!==o.length){var s;if(this.stateProxy&&!r&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||r){r||this.saveCurrentToNormalState(s);var l=!!(s&&s.hoverLayer||i);l&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&a&&a.duration>0,a);var c=this._textContent,f=this._textGuide;return c&&c.useState(t,e,n,l),f&&f.useState(t,e,n,l),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!l&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h.M),s}(0,u.logError)("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s<o;s++)if(t[s]!==r[s]){a=!1;break}if(a)return;for(s=0;s<o;s++){var u=t[s],l=void 0;this.stateProxy&&(l=this.stateProxy(u,t)),l||(l=this.states[u]),l&&i.push(l)}var c=i[o-1],p=!!(c&&c.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var f=this._mergeStates(i),d=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var g=this._textContent,v=this._textGuide;g&&g.useStates(t,e,p),v&&v.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~h.M)}else this.clearStates()},t.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,u.indexOf)(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=(0,u.indexOf)(i,t),o=(0,u.indexOf)(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i<t.length;i++){var r=t[i];(0,u.extend)(n,r),r.textConfig&&(e=e||{},(0,u.extend)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,u.extend)({},i?this.textConfig:n.textConfig),(0,u.extend)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},l=!1,c=0;c<f.length;c++){var h=f[c],p=r&&d[h];e&&null!=e[h]?p?(l=!0,s[h]=e[h]):this[h]=e[h]:a&&null!=n[h]&&(p?(l=!0,s[h]=n[h]):this[h]=n[h])}if(!r)for(c=0;c<this.animators.length;c++){var g=this.animators[c],v=g.targetName;g.getLoop()||g.__changeFinalValue(v?(e||n)[v]:e||n)}l&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.Ay,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,u.extend)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=h.M;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==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),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){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),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this;var o=new r.A(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during((function(){i.updateDuringAnimation(e)})).done((function(){var e=i.animators,n=(0,u.indexOf)(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=m(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=h.M;function n(t,n,i,r){function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||o(this,this[n]=[]);return this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,i,r){var o=[];D(t,"",t,e,n=n||{},i,o,r);var a=o.length,s=!1,u=n.done,l=n.aborted,c=function(){s=!0,--a<=0&&(s?u&&u():l&&l())},h=function(){--a<=0&&(s?u&&u():l&&l())};a||u&&u(),o.length>0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p<o.length;p++){var f=o[p];c&&f.done(c),h&&f.aborted(h),n.force&&f.duration(n.duration),f.start(n.easing)}return o}function _(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}function x(t,e,n){if((0,u.isArrayLike)(e[n]))if((0,u.isArrayLike)(t[n])||(t[n]=[]),(0,u.isTypedArray)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),_(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if(c=r,(0,u.isArrayLike)(c[0]))for(var s=r[0].length,l=0;l<a;l++)o[l]?_(o[l],r[l],s):o[l]=Array.prototype.slice.call(r[l]);else _(o,r,a);o.length=r.length}else t[n]=e[n];var c}function D(t,e,n,i,o,a,s,l){for(var c=(0,u.keys)(i),h=o.duration,p=o.delay,f=o.additive,d=o.setToFinal,g=!(0,u.isObject)(a),v=t.animators,y=[],m=0;m<c.length;m++){var _=c[m],A=i[_];if(null!=A&&null!=n[_]&&(g||a[_]))if(!(0,u.isObject)(A)||(0,u.isArrayLike)(A)||(0,u.isGradientObject)(A))y.push(_);else{if(e){l||(n[_]=A,t.updateDuringAnimation(e));continue}D(t,_,n[_],A,o,a&&a[_],s,l)}else l||(n[_]=A,t.updateDuringAnimation(e),y.push(_))}var b=y.length;if(!f&&b)for(var C=0;C<v.length;C++){if((S=v[C]).targetName===e)if(S.stopTracks(y)){var w=(0,u.indexOf)(v,S);v.splice(w,1)}}if(o.force||(y=(0,u.filter)(y,(function(t){return e=i[t],r=n[t],!(e===r||(0,u.isArrayLike)(e)&&(0,u.isArrayLike)(r)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,r));var e,r})),b=y.length),b>0||o.force&&!s.length){var S,M=void 0,T=void 0,k=void 0;if(l){T={},d&&(M={});for(C=0;C<b;C++){T[_=y[C]]=n[_],d?M[_]=i[_]:n[_]=i[_]}}else if(d){k={};for(C=0;C<b;C++){k[_=y[C]]=(0,r.F)(n[_]),x(n,i,_)}}(S=new r.A(n,!1,!1,f?(0,u.filter)(v,(function(t){return t.targetName===e})):null)).targetName=e,o.scope&&(S.scope=o.scope),d&&M&&S.whenWithKeys(0,M,y),k&&S.whenWithKeys(0,k,y),S.whenWithKeys(null==h?500:h,l?T:i,y).delay(p||0),t.addAnimator(S,e),s.push(S)}}(0,u.mixin)(y,a.A),(0,u.mixin)(y,i.Ay);const A=y},26940:(t,e,n)=>{"use strict";n.d(e,{F:()=>y,A:()=>b});var i={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):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-i.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}};const r=i;var o=n(37653),a=n(65751);const s=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||o.noop,this.ondestroy=t.ondestroy||o.noop,this.onrestart=t.onrestart||o.noop,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,o.isFunction)(t)?t:r[t]||(0,a.w)(t)},t}();var u=n(98259),l=n(90446),c=Array.prototype.slice;function h(t,e,n){return(e-t)*n+t}function p(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=h(e[o],n[o],i);return t}function f(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function d(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function g(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}function v(t,e,n){var i=t,r=e;if(i.push&&r.push){var o=i.length,a=r.length;if(o!==a)if(o>a)i.length=a;else for(var s=o;s<a;s++)i.push(1===n?r[s]:c.call(r[s]));var u=i[0]&&i[0].length;for(s=0;s<i.length;s++)if(1===n)isNaN(i[s])&&(i[s]=r[s]);else for(var l=0;l<u;l++)isNaN(i[s][l])&&(i[s][l]=r[s][l])}}function y(t){if((0,o.isArrayLike)(t)){var e=t.length;if((0,o.isArrayLike)(t[0])){for(var n=[],i=0;i<e;i++)n.push(c.call(t[i]));return n}return c.call(t)}return t}function m(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function _(t){return 4===t||5===t}function x(t){return 1===t||2===t}var D=[0,0,0,0],A=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,s=i.length,c=!1,h=6,p=e;if((0,o.isArrayLike)(e)){var f=function(t){return(0,o.isArrayLike)(t&&t[0])?2:1}(e);h=f,(1===f&&!(0,o.isNumber)(e[0])||2===f&&!(0,o.isNumber)(e[0][0]))&&(c=!0)}else if((0,o.isNumber)(e)&&!(0,o.eqNaN)(e))h=0;else if((0,o.isString)(e))if(isNaN(+e)){var d=u.parse(e);d&&(p=d,h=3)}else h=0;else if((0,o.isGradientObject)(e)){var g=(0,o.extend)({},p);g.colorStops=(0,o.map)(e.colorStops,(function(t){return{offset:t.offset,color:u.parse(t.color)}})),(0,l.OS)(e)?h=4:(0,l.OH)(e)&&(h=5),p=g}0===s?this.valType=h:h===this.valType&&6!==h||(c=!0),this.discrete=this.discrete||c;var v={time:t,value:p,rawValue:e,percent:0};return n&&(v.easing=n,v.easingFunc=(0,o.isFunction)(n)?n:r[n]||(0,a.w)(n)),i.push(v),v},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=x(i),u=_(i),l=0;l<r;l++){var c=n[l],h=c.value,p=o.value;c.percent=c.time/t,a||(s&&l!==r-1?v(h,p,i):u&&g(h.colorStops,p.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;var y=n[0].value;for(l=0;l<r;l++)0===i?n[l].additiveValue=n[l].value-y:3===i?n[l].additiveValue=f([],n[l].value,y,-1):x(i)&&(n[l].additiveValue=1===i?f([],n[l].value,y,-1):d([],n[l].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,r,a=null!=this._additiveTrack,s=a?"additiveValue":"value",u=this.valType,l=this.keyframes,c=l.length,f=this.propName,d=3===u,g=this._lastFr,v=Math.min;if(1===c)i=r=l[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=v(g+1,c-1);n>=0&&!(l[n].percent<=e);n--);n=v(n,c-2)}else{for(n=g;n<c&&!(l[n].percent>e);n++);n=v(n-1,c-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var y=r.percent-i.percent,A=0===y?1:v((e-i.percent)/y,1);r.easingFunc&&(A=r.easingFunc(A));var b=a?this._additiveValue:d?D:t[f];if(!x(u)&&!d||b||(b=this._additiveValue=[]),this.discrete)t[f]=A<1?i.rawValue:r.rawValue;else if(x(u))1===u?p(b,i[s],r[s],A):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=h(e[a][s],n[a][s],i)}}(b,i[s],r[s],A);else if(_(u)){var C=i[s],w=r[s],S=4===u;t[f]={type:S?"linear":"radial",x:h(C.x,w.x,A),y:h(C.y,w.y,A),colorStops:(0,o.map)(C.colorStops,(function(t,e){var n=w.colorStops[e];return{offset:h(t.offset,n.offset,A),color:m(p([],t.color,n.color,A))}})),global:w.global},S?(t[f].x2=h(C.x2,w.x2,A),t[f].y2=h(C.y2,w.y2,A)):t[f].r=h(C.r,w.r,A)}else if(d)p(b,i[s],r[s],A),a||(t[f]=m(b));else{var M=h(i[s],r[s],A);a?this._additiveValue=M:t[f]=M}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(u.parse(t[n],D),f(D,D,i,1),t[n]=m(D)):1===e?f(t[n],t[n],i,1):2===e&&d(t[n],t[n],i,1)},t}();const b=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?(0,o.logError)("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,o.keys)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new A(a);var u=void 0,l=this._getAdditiveTrack(a);if(l){var c=l.keyframes,h=c[c.length-1];u=h&&h.value,3===l.valType&&u&&(u=m(u))}else u=this._target[a];if(null==u)continue;t>0&&s.addKeyframe(0,y(u),i),this._trackKeys.push(a)}s.addKeyframe(t,y(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],u=this._getAdditiveTrack(o),l=a.keyframes,c=l.length;if(a.prepare(i,u),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var h=l[c-1];h&&(e._target[a.propName]=h.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var p=new s({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=p,this.animation&&this.animation.addClip(p),t&&p.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,o.map)(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}var a=!0;for(r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(o&&!o.isFinished()){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=y(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,o.keys)(t);for(var n=0;n<e.length;n++){var i=e[n],r=this._tracks[i];if(r){var a=r.keyframes;if(a.length>1){var s=a.pop();r.addKeyframe(s.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}()},65751:(t,e,n)=>{"use strict";n.d(e,{w:()=>a});var i=n(22042),r=n(37653),o=/cubic-bezier\(([0-9,\.e ]+)\)/;function a(t){var e=t&&o.exec(t);if(e){var n=e[1].split(","),a=+(0,r.trim)(n[0]),s=+(0,r.trim)(n[1]),u=+(0,r.trim)(n[2]),l=+(0,r.trim)(n[3]);if(isNaN(a+s+u+l))return;var c=[];return function(t){return t<=0?0:t>=1?1:(0,i._E)(0,a,u,1,t,c)&&(0,i.Yb)(0,s,l,1,c[0])}}}},97663:(t,e,n)=>{"use strict";n.d(e,{V:()=>r});var i=n(37653);function r(t){var e,n,r=t.style,o=r.lineDash&&r.lineWidth>0&&(e=r.lineDash,n=r.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,i.isNumber)(e)?[e]:(0,i.isArray)(e)?e:null:null),a=r.lineDashOffset;if(o){var s=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;s&&1!==s&&(o=(0,i.map)(o,(function(t){return t/s})),a/=s)}return[o,a]}},57250:(t,e,n)=>{"use strict";n.d(e,{Xi:()=>E});var i=n(77636),r=n(98944),o=n(47454),a=n(89508),s=n(4995),u=n(93175),l=n(26370),c=n(37653),h=n(97663),p=n(40643),f=n(87718),d=new r.A(!0);function g(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function v(t){return"string"===typeof t&&"none"!==t}function y(t){var e=t.fill;return null!=e&&"none"!==e}function m(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function _(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function x(t,e,n){var i=(0,o.OD)(e.image,e.__image,n);if((0,o.xA)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*c.RADIAN_TO_DEGREE),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var D=["shadowBlur","shadowOffsetX","shadowOffsetY"],A=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function b(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){I(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.oN.opacity:s}(r||e.blend!==n.blend)&&(a||(I(t,o),a=!0),t.globalCompositeOperation=e.blend||i.oN.blend);for(var u=0;u<D.length;u++){var l=D[u];(r||e[l]!==n[l])&&(a||(I(t,o),a=!0),t[l]=t.dpr*(e[l]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(I(t,o),a=!0),t.shadowColor=e.shadowColor||i.oN.shadowColor),a}function C(t,e,n,i,r){var o=F(e,r.inHover),a=i?null:n&&F(n,r.inHover)||{};if(o===a)return!1;var s=b(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(I(t,r),s=!0),v(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(I(t,r),s=!0),v(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(I(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var u=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==u&&(s||(I(t,r),s=!0),t.lineWidth=u)}for(var l=0;l<A.length;l++){var c=A[l],h=c[0];(i||o[h]!==a[h])&&(s||(I(t,r),s=!0),t[h]=o[h]||c[1])}return s}function w(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}var S=1,M=2,T=3,k=4;function I(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function F(t,e){return e&&t.__hoverStyle||t.style}function E(t,e){O(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function O(t,e,n,i){var r=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=~p.M,void(e.__isRendered=!1);var c=e.__clipPaths,v=n.prevElClipPaths,D=!1,A=!1;if(v&&!(0,a.KU)(c,v)||(v&&v.length&&(I(t,n),t.restore(),A=D=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),c&&c.length&&(I(t,n),t.save(),function(t,e,n){for(var i=!1,r=0;r<t.length;r++){var o=t[r];i=i||o.isZeroArea(),w(e,o),e.beginPath(),o.buildPath(e,o.shape),e.clip()}n.allClipped=i}(c,t,n),D=!0),n.prevElClipPaths=c),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var E=n.prevEl;E||(A=D=!0);var P,B,L=e instanceof s.Ay&&e.autoBatch&&function(t){var e=y(t),n=g(t);return!(t.lineDash||!(+e^+n)||e&&"string"!==typeof t.fill||n&&"string"!==typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);D||(P=r,B=E.transform,P&&B?P[0]!==B[0]||P[1]!==B[1]||P[2]!==B[2]||P[3]!==B[3]||P[4]!==B[4]||P[5]!==B[5]:P||B)?(I(t,n),w(t,e)):L||I(t,n);var N=F(e,n.inHover);e instanceof s.Ay?(n.lastDrawType!==S&&(A=!0,n.lastDrawType=S),C(t,e,E,A,n),L&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o=g(n),s=y(n),u=n.strokePercent,l=u<1,c=!e.path;e.silent&&!l||!c||e.createPathProxy();var f=e.path||d,v=e.__dirty;if(!i){var D=n.fill,A=n.stroke,b=s&&!!D.colorStops,C=o&&!!A.colorStops,w=s&&!!D.image,S=o&&!!A.image,M=void 0,T=void 0,k=void 0,I=void 0,F=void 0;(b||C)&&(F=e.getBoundingRect()),b&&(M=v?(0,a.Ff)(t,D,F):e.__canvasFillGradient,e.__canvasFillGradient=M),C&&(T=v?(0,a.Ff)(t,A,F):e.__canvasStrokeGradient,e.__canvasStrokeGradient=T),w&&(k=v||!e.__canvasFillPattern?x(t,D,e):e.__canvasFillPattern,e.__canvasFillPattern=k),S&&(I=v||!e.__canvasStrokePattern?x(t,A,e):e.__canvasStrokePattern,e.__canvasStrokePattern=k),b?t.fillStyle=M:w&&(k?t.fillStyle=k:s=!1),C?t.strokeStyle=T:S&&(I?t.strokeStyle=I:o=!1)}var E,O,P=e.getGlobalScale();f.setScale(P[0],P[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(E=(r=(0,h.V)(e))[0],O=r[1]);var B=!0;(c||v&p.Dl)&&(f.setDPR(t.dpr),l?f.setContext(null):(f.setContext(t),B=!1),f.reset(),e.buildPath(f,e.shape,i),f.toStatic(),e.pathUpdated()),B&&f.rebuildPath(t,l?u:1),E&&(t.setLineDash(E),t.lineDashOffset=O),i||(n.strokeFirst?(o&&_(t,n),s&&m(t,n)):(s&&m(t,n),o&&_(t,n))),E&&t.setLineDash([])}(t,e,N,L),L&&(n.batchFill=N.fill||"",n.batchStroke=N.stroke||"")):e instanceof l.A?(n.lastDrawType!==T&&(A=!0,n.lastDrawType=T),C(t,e,E,A,n),function(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||f.OH,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(o=(i=(0,h.V)(e))[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(g(n)&&t.strokeText(r,n.x,n.y),y(n)&&t.fillText(r,n.x,n.y)):(y(n)&&t.fillText(r,n.x,n.y),g(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}(t,e,N)):e instanceof u.Ay?(n.lastDrawType!==M&&(A=!0,n.lastDrawType=M),function(t,e,n,i,r){b(t,F(e,r.inHover),n&&F(n,r.inHover),i,r)}(t,e,E,A,n),function(t,e,n){var i=e.__image=(0,o.OD)(n.image,e.__image,e,e.onload);if(i&&(0,o.xA)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),u=e.getHeight(),l=i.width/i.height;if(null==s&&null!=u?s=u*l:null==u&&null!=s?u=s/l:null==s&&null==u&&(s=i.width,u=i.height),n.sWidth&&n.sHeight){var c=n.sx||0,h=n.sy||0;t.drawImage(i,c,h,n.sWidth,n.sHeight,r,a,s,u)}else if(n.sx&&n.sy){var p=s-(c=n.sx),f=u-(h=n.sy);t.drawImage(i,c,h,p,f,r,a,s,u)}else t.drawImage(i,r,a,s,u)}}(t,e,N)):e.getTemporalDisplayables&&(n.lastDrawType!==k&&(A=!0,n.lastDrawType=k),function(t,e,n){var i=e.getDisplayables(),r=e.getTemporalDisplayables();t.save();var o,a,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(o=e.getCursor(),a=i.length;o<a;o++){(c=i[o]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),O(t,c,s,o===a-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}for(var u=0,l=r.length;u<l;u++){var c;(c=r[u]).beforeBrush&&c.beforeBrush(),c.innerBeforeBrush(),O(t,c,s,u===l-1),c.innerAfterBrush(),c.afterBrush&&c.afterBrush(),s.prevEl=c}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),L&&i&&I(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}},89508:(t,e,n)=>{"use strict";function i(t){return isFinite(t)}function r(t,e,n){for(var r="radial"===e.type?function(t,e,n){var r=n.width,o=n.height,a=Math.min(r,o),s=null==e.x?.5:e.x,u=null==e.y?.5:e.y,l=null==e.r?.5:e.r;return e.global||(s=s*r+n.x,u=u*o+n.y,l*=a),s=i(s)?s:.5,u=i(u)?u:.5,l=l>=0&&i(l)?l:.5,t.createRadialGradient(s,u,0,s,u,l)}(t,e,n):function(t,e,n){var r=null==e.x?0:e.x,o=null==e.x2?1:e.x2,a=null==e.y?0:e.y,s=null==e.y2?0:e.y2;return e.global||(r=r*n.width+n.x,o=o*n.width+n.x,a=a*n.height+n.y,s=s*n.height+n.y),r=i(r)?r:0,o=i(o)?o:1,a=i(a)?a:0,s=i(s)?s:0,t.createLinearGradient(r,a,o,s)}(t,e,n),o=e.colorStops,a=0;a<o.length;a++)r.addColorStop(o[a].offset,o[a].color);return r}function o(t,e){if(t===e||!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 a(t){return parseInt(t,10)}function s(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var u=document.defaultView.getComputedStyle(t);return(t[r]||a(u[i])||a(t.style[i]))-(a(u[o])||0)-(a(u[s])||0)|0}n.d(e,{Ff:()=>r,KU:()=>o,YC:()=>s})},83859:(t,e,n)=>{"use strict";n.d(e,{Y5:()=>r,_S:()=>a,el:()=>s,ps:()=>o,tY:()=>u});var i=1;n(682).A.hasGlobalWindow&&(i=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var r=i,o=.4,a="#333",s="#ccc",u="#eee"},32995:(t,e,n)=>{"use strict";n.d(e,{NO:()=>l,RG:()=>s,X4:()=>d,ks:()=>p,ll:()=>c,lo:()=>f,sZ:()=>h});var i=n(82759),r=n(27080),o=n(87718),a={};function s(t,e){e=e||o.OH;var n=a[e];n||(n=a[e]=new r.Ay(500));var i=n.get(t);return null==i&&(i=o.yh.measureText(t,e).width,n.put(t,i)),i}function u(t,e,n,r){var o=s(t,e),a=p(e),u=c(0,o,n),l=h(0,a,r);return new i.A(u,l,o,a)}function l(t,e,n,r){var o=((t||"")+"").split("\n");if(1===o.length)return u(o[0],e,n,r);for(var a=new i.A(0,0,0,0),s=0;s<o.length;s++){var l=u(o[s],e,n,r);0===s?a.copy(l):a.union(l)}return a}function c(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function h(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function p(t){return s("\u56fd",t)}function f(t,e){return"string"===typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function d(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,u=n.x,l=n.y,c="left",h="top";if(i instanceof Array)u+=f(i[0],n.width),l+=f(i[1],n.height),c=null,h=null;else switch(i){case"left":u-=r,l+=s,c="right",h="middle";break;case"right":u+=r+a,l+=s,h="middle";break;case"top":u+=a/2,l-=r,c="center",h="bottom";break;case"bottom":u+=a/2,l+=o+r,c="center";break;case"inside":u+=a/2,l+=s,c="center",h="middle";break;case"insideLeft":u+=r,l+=s,h="middle";break;case"insideRight":u+=a-r,l+=s,c="right",h="middle";break;case"insideTop":u+=a/2,l+=r,c="center";break;case"insideBottom":u+=a/2,l+=o-r,c="center",h="bottom";break;case"insideTopLeft":u+=r,l+=r;break;case"insideTopRight":u+=a-r,l+=r,c="right";break;case"insideBottomLeft":u+=r,l+=o-r,h="bottom";break;case"insideBottomRight":u+=a-r,l+=o-r,c="right",h="bottom"}return(t=t||{}).x=u,t.y=l,t.align=c,t.verticalAlign=h,t}},40220:(t,e,n)=>{"use strict";n.d(e,{n:()=>r});var i=2*Math.PI;function r(t){return(t%=i)<0&&(t+=i),t}},85170:(t,e,n)=>{"use strict";function i(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i)return 0;if(i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;1!==a&&0!==a||(s=i<e?.5:-.5);var u=a*(n-t)+t;return u===r?1/0:u>r?s:0}n.d(e,{A:()=>i})},82759:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var i=n(65472),r=n(73631),o=Math.min,a=Math.max,s=new r.A,u=new r.A,l=new r.A,c=new r.A,h=new r.A,p=new r.A;const f=function(){function t(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}return t.prototype.union=function(t){var e=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,r=t.height/e.height,o=i.create();return i.translate(o,o,[-e.x,-e.y]),i.scale(o,o,[n,r]),i.translate(o,o,[t.x,t.y]),o},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,o=i.x,a=i.x+i.width,s=i.y,u=i.y+i.height,l=e.x,c=e.x+e.width,f=e.y,d=e.y+e.height,g=!(a<l||c<o||u<f||d<s);if(n){var v=1/0,y=0,m=Math.abs(a-l),_=Math.abs(c-o),x=Math.abs(u-f),D=Math.abs(d-s),A=Math.min(m,_),b=Math.min(x,D);a<l||c<o?A>y&&(y=A,m<_?r.A.set(p,-m,0):r.A.set(p,_,0)):A<v&&(v=A,m<_?r.A.set(h,m,0):r.A.set(h,-_,0)),u<f||d<s?b>y&&(y=b,x<D?r.A.set(p,0,-x):r.A.set(p,0,D)):A<v&&(v=A,x<D?r.A.set(h,0,x):r.A.set(h,0,-D))}return n&&r.A.copy(n,g?h:p),g},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],h=i[3],p=i[4],f=i[5];return e.x=n.x*r+p,e.y=n.y*h+f,e.width=n.width*r,e.height=n.height*h,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}s.x=l.x=n.x,s.y=c.y=n.y,u.x=c.x=n.x+n.width,u.y=l.y=n.y+n.height,s.transform(i),c.transform(i),u.transform(i),l.transform(i),e.x=o(s.x,u.x,l.x,c.x),e.y=o(s.y,u.y,l.y,c.y);var d=a(s.x,u.x,l.x,c.x),g=a(s.y,u.y,l.y,c.y);e.width=d-e.x,e.height=g-e.y}else e!==n&&t.copy(e,n)},t}()},49870:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"===typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},u=r[t].length-1,l=r[t][u];return l&&l.callAtLast?r[t].splice(u,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;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},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var u=i[s];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,e[0]);break;case 2:u.h.call(u.ctx,e[0],e[1]);break;default:u.h.apply(u.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,u=0;u<s;u++){var l=i[u];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(a);break;case 1:l.h.call(a,e[0]);break;case 2:l.h.call(a,e[0],e[1]);break;default:l.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},27080:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>o});var i=function(t){this.value=t},r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(t);return this.insertEntry(e),e},t.prototype.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++},t.prototype.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--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}();const o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var u=n.head;n.remove(u),delete r[u.key],o=u.value,this._lastRemovedEntry=u}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},t.prototype.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},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}()},37963:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var i=n(73631),r=[0,0],o=[0,0],a=new i.A,s=new i.A;const u=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.A;for(n=0;n<2;n++)this._axes[n]=new i.A;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,u=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,u),n[3].set(o,u),e)for(var l=0;l<4;l++)n[l].transform(e);i.A.sub(r[0],n[1],n[0]),i.A.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(l=0;l<2;l++)this._origin[l]=r[l].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(n=!1,r)||r||i.A.copy(e,n?a:s),n},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,u){for(var l=!0,c=0;c<2;c++){var h=this._axes[c];if(this._getProjMinMaxOnAxis(c,t._corners,r),this._getProjMinMaxOnAxis(c,e._corners,o),r[1]<o[0]||r[0]>o[1]){if(l=!1,s)return l;var p=Math.abs(o[0]-r[1]),f=Math.abs(r[0]-o[1]);Math.min(p,f)>a.len()&&(p<f?i.A.scale(a,h,-p*u):i.A.scale(a,h,f*u))}else if(n){p=Math.abs(o[0]-r[1]),f=Math.abs(r[0]-o[1]);Math.min(p,f)<n.len()&&(p<f?i.A.scale(n,h,p*u):i.A.scale(n,h,-f*u))}}return l},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,u=1;u<e.length;u++){var l=e[u].dot(i)+r[t];a=Math.min(l,a),s=Math.max(l,s)}n[0]=a,n[1]=s},t}()},98944:(t,e,n)=>{"use strict";n.d(e,{A:()=>R});var i=n(52278),r=n(82759),o=n(83859),a=n(22042),s=Math.min,u=Math.max,l=Math.sin,c=Math.cos,h=2*Math.PI,p=i.create(),f=i.create(),d=i.create();function g(t,e,n,i,r,o){r[0]=s(t,n),r[1]=s(e,i),o[0]=u(t,n),o[1]=u(e,i)}var v=[],y=[];function m(t,e,n,i,r,o,l,c,h,p){var f=a.lX,d=a.Yb,g=f(t,n,r,l,v);h[0]=1/0,h[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<g;m++){var _=d(t,n,r,l,v[m]);h[0]=s(_,h[0]),p[0]=u(_,p[0])}g=f(e,i,o,c,y);for(m=0;m<g;m++){var x=d(e,i,o,c,y[m]);h[1]=s(x,h[1]),p[1]=u(x,p[1])}h[0]=s(t,h[0]),p[0]=u(t,p[0]),h[0]=s(l,h[0]),p[0]=u(l,p[0]),h[1]=s(e,h[1]),p[1]=u(e,p[1]),h[1]=s(c,h[1]),p[1]=u(c,p[1])}function _(t,e,n,i,r,o,l,c){var h=a.gC,p=a.k3,f=u(s(h(t,n,r),1),0),d=u(s(h(e,i,o),1),0),g=p(t,n,r,f),v=p(e,i,o,d);l[0]=s(t,r,g),l[1]=s(e,o,v),c[0]=u(t,r,g),c[1]=u(e,o,v)}function x(t,e,n,r,o,a,s,u,g){var v=i.min,y=i.max,m=Math.abs(o-a);if(m%h<1e-4&&m>1e-4)return u[0]=t-n,u[1]=e-r,g[0]=t+n,void(g[1]=e+r);if(p[0]=c(o)*n+t,p[1]=l(o)*r+e,f[0]=c(a)*n+t,f[1]=l(a)*r+e,v(u,p,f),y(g,p,f),(o%=h)<0&&(o+=h),(a%=h)<0&&(a+=h),o>a&&!s?a+=h:o<a&&s&&(o+=h),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(d[0]=c(x)*n+t,d[1]=l(x)*r+e,v(u,d,u),y(g,d,g))}var D={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},A=[],b=[],C=[],w=[],S=[],M=[],T=Math.min,k=Math.max,I=Math.cos,F=Math.sin,E=Math.abs,O=Math.PI,P=2*O,B="undefined"!==typeof Float32Array,L=[];function N(t){return Math.round(t/O*1e8)/1e8%2*O}const R=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=E(n/o.Y5/t)||0,this._uy=E(n/o.Y5/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(D.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=E(t-this._xi),i=E(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(D.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(D.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(D.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),L[0]=i,L[1]=r,function(t,e){var n=N(t[0]);n<0&&(n+=P);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=P?r=n+P:e&&n-r>=P?r=n-P:!e&&n>r?r=n+(P-N(n-r)):e&&n<r&&(r=n-(P-N(r-n))),t[0]=n,t[1]=r}(L,o),i=L[0];var a=(r=L[1])-i;return this.addData(D.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=I(r)*n+t,this._yi=F(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(D.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(D.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!B||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.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();B&&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},t.prototype.addData=function(t,e,n,i,r,o,a,s,u){if(this._saveData){var l=this.data;this._len+arguments.length>l.length&&(this._expandData(),l=this.data);for(var c=0;c<arguments.length;c++)l[this._len++]=arguments[c]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,B&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){C[0]=C[1]=S[0]=S[1]=Number.MAX_VALUE,w[0]=w[1]=M[0]=M[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,a=0,s=0;for(t=0;t<this._len;){var u=e[t++],l=1===t;switch(l&&(a=n=e[t],s=o=e[t+1]),u){case D.M:n=a=e[t++],o=s=e[t++],S[0]=a,S[1]=s,M[0]=a,M[1]=s;break;case D.L:g(n,o,e[t],e[t+1],S,M),n=e[t++],o=e[t++];break;case D.C:m(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],S,M),n=e[t++],o=e[t++];break;case D.Q:_(n,o,e[t++],e[t++],e[t],e[t+1],S,M),n=e[t++],o=e[t++];break;case D.A:var c=e[t++],h=e[t++],p=e[t++],f=e[t++],d=e[t++],v=e[t++]+d;t+=1;var y=!e[t++];l&&(a=I(d)*p+c,s=F(d)*f+h),x(c,h,p,f,d,v,y,S,M),n=I(v)*p+c,o=F(v)*f+h;break;case D.R:g(a=n=e[t++],s=o=e[t++],a+e[t++],s+e[t++],S,M);break;case D.Z:n=a,o=s}i.min(C,C,S),i.max(w,w,M)}return 0===t&&(C[0]=C[1]=w[0]=w[1]=0),new r.A(C[0],C[1],w[0]-C[0],w[1]-C[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,s=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,c=0,h=0,p=0;p<e;){var f=t[p++],d=1===p;d&&(s=r=t[p],u=o=t[p+1]);var g=-1;switch(f){case D.M:r=s=t[p++],o=u=t[p++];break;case D.L:var v=t[p++],y=(x=t[p++])-o;(E(N=v-r)>n||E(y)>i||p===e-1)&&(g=Math.sqrt(N*N+y*y),r=v,o=x);break;case D.C:var m=t[p++],_=t[p++],x=(v=t[p++],t[p++]),A=t[p++],b=t[p++];g=(0,a.h0)(r,o,m,_,v,x,A,b,10),r=A,o=b;break;case D.Q:m=t[p++],_=t[p++],v=t[p++],x=t[p++];g=(0,a.d8)(r,o,m,_,v,x,10),r=v,o=x;break;case D.A:var C=t[p++],w=t[p++],S=t[p++],M=t[p++],O=t[p++],B=t[p++],L=B+O;p+=1,d&&(s=I(O)*S+C,u=F(O)*M+w),g=k(S,M)*T(P,Math.abs(B)),r=I(L)*S+C,o=F(L)*M+w;break;case D.R:s=r=t[p++],u=o=t[p++],g=2*t[p++]+2*t[p++];break;case D.Z:var N=s-r;y=u-o;g=Math.sqrt(N*N+y*y),r=s,o=u}g>=0&&(l[h++]=g,c+=g)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var n,i,r,o,s,u,l,c,h,p,f=this.data,d=this._ux,g=this._uy,v=this._len,y=e<1,m=0,_=0,x=0;if(!y||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,c=e*this._pathLen))t:for(var C=0;C<v;){var w=f[C++],S=1===C;switch(S&&(n=r=f[C],i=o=f[C+1]),w!==D.L&&x>0&&(t.lineTo(h,p),x=0),w){case D.M:n=r=f[C++],i=o=f[C++],t.moveTo(r,o);break;case D.L:s=f[C++],u=f[C++];var M=E(s-r),O=E(u-o);if(M>d||O>g){if(y){if(m+(it=l[_++])>c){var P=(c-m)/it;t.lineTo(r*(1-P)+s*P,o*(1-P)+u*P);break t}m+=it}t.lineTo(s,u),r=s,o=u,x=0}else{var B=M*M+O*O;B>x&&(h=s,p=u,x=B)}break;case D.C:var L=f[C++],N=f[C++],R=f[C++],z=f[C++],V=f[C++],H=f[C++];if(y){if(m+(it=l[_++])>c){P=(c-m)/it;(0,a.YT)(r,L,R,V,P,A),(0,a.YT)(o,N,z,H,P,b),t.bezierCurveTo(A[1],b[1],A[2],b[2],A[3],b[3]);break t}m+=it}t.bezierCurveTo(L,N,R,z,V,H),r=V,o=H;break;case D.Q:L=f[C++],N=f[C++],R=f[C++],z=f[C++];if(y){if(m+(it=l[_++])>c){P=(c-m)/it;(0,a.kx)(r,L,R,P,A),(0,a.kx)(o,N,z,P,b),t.quadraticCurveTo(A[1],b[1],A[2],b[2]);break t}m+=it}t.quadraticCurveTo(L,N,R,z),r=R,o=z;break;case D.A:var W=f[C++],G=f[C++],U=f[C++],j=f[C++],X=f[C++],Y=f[C++],q=f[C++],Z=!f[C++],$=U>j?U:j,K=E(U-j)>.001,Q=X+Y,J=!1;if(y)m+(it=l[_++])>c&&(Q=X+Y*(c-m)/it,J=!0),m+=it;if(K&&t.ellipse?t.ellipse(W,G,U,j,q,X,Q,Z):t.arc(W,G,$,X,Q,Z),J)break t;S&&(n=I(X)*U+W,i=F(X)*j+G),r=I(Q)*U+W,o=F(Q)*j+G;break;case D.R:n=r=f[C],i=o=f[C+1],s=f[C++],u=f[C++];var tt=f[C++],et=f[C++];if(y){if(m+(it=l[_++])>c){var nt=c-m;t.moveTo(s,u),t.lineTo(s+T(nt,tt),u),(nt-=tt)>0&&t.lineTo(s+tt,u+T(nt,et)),(nt-=et)>0&&t.lineTo(s+k(tt-nt,0),u+et),(nt-=tt)>0&&t.lineTo(s,u+k(et-nt,0));break t}m+=it}t.rect(s,u,tt,et);break;case D.Z:if(y){var it;if(m+(it=l[_++])>c){P=(c-m)/it;t.lineTo(r*(1-P)+n*P,o*(1-P)+i*P);break t}m+=it}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=D,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}()},73631:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}()},58893:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>g,IT:()=>d,Wx:()=>f});var i=n(65472),r=n(52278),o=i.identity,a=5e-5;function s(t){return t>a||t<-5e-5}var u=[],l=[],c=i.create(),h=Math.abs,p=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return s(this.rotation)||s(this.x)||s(this.y)||s(this.scaleX-1)||s(this.scaleY-1)||s(this.skewX)||s(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||i.create(),e?this.getLocalTransform(n):o(n),t&&(e?i.mul(n,t,n):i.copy(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(o(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(u);var n=u[0]<0?-1:1,r=u[1]<0?-1:1,o=((u[0]-n)*e+n)/u[0]||0,a=((u[1]-r)*e+r)/u[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.create(),i.invert(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.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=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.create(),i.mul(l,t.invTransform,e),e=l);var n=this.originX,r=this.originY;(n||r)&&(c[4]=n,c[5]=r,i.mul(l,e,c),l[4]-=n,l[5]-=r,e=l),this.setLocalTransform(e)}},t.prototype.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)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.applyTransform(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.applyTransform(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){d(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,c=t.x,h=t.y,p=t.skewX?Math.tan(t.skewX):0,f=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||u){var d=n+s,g=r+u;e[4]=-d*o-p*g*a,e[5]=-g*a-f*d*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=f*o,e[2]=p*a,l&&i.rotate(e,e,l),e[4]+=n+c,e[5]+=r+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),f=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function d(t,e){for(var n=0;n<f.length;n++){var i=f[n];t[i]=e[i]}}const g=p},22042:(t,e,n)=>{"use strict";n.d(e,{Et:()=>x,YT:()=>_,Yb:()=>g,_E:()=>y,d8:()=>T,gC:()=>w,h0:()=>D,k3:()=>A,kh:()=>M,kx:()=>S,lX:()=>m,qY:()=>C,rD:()=>v,z7:()=>b});var i=n(52278),r=Math.pow,o=Math.sqrt,a=1e-8,s=1e-4,u=o(3),l=1/3,c=(0,i.create)(),h=(0,i.create)(),p=(0,i.create)();function f(t){return t>-a&&t<a}function d(t){return t>a||t<-a}function g(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 v(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function y(t,e,n,i,a,s){var c=i+3*(e-n)-t,h=3*(n-2*e+t),p=3*(e-t),d=t-a,g=h*h-3*c*p,v=h*p-9*c*d,y=p*p-3*h*d,m=0;if(f(g)&&f(v)){if(f(h))s[0]=0;else(k=-p/h)>=0&&k<=1&&(s[m++]=k)}else{var _=v*v-4*g*y;if(f(_)){var x=v/g,D=-x/2;(k=-h/c+x)>=0&&k<=1&&(s[m++]=k),D>=0&&D<=1&&(s[m++]=D)}else if(_>0){var A=o(_),b=g*h+1.5*c*(-v+A),C=g*h+1.5*c*(-v-A);(k=(-h-((b=b<0?-r(-b,l):r(b,l))+(C=C<0?-r(-C,l):r(C,l))))/(3*c))>=0&&k<=1&&(s[m++]=k)}else{var w=(2*g*h-3*c*v)/(2*o(g*g*g)),S=Math.acos(w)/3,M=o(g),T=Math.cos(S),k=(-h-2*M*T)/(3*c),I=(D=(-h+M*(T+u*Math.sin(S)))/(3*c),(-h+M*(T-u*Math.sin(S)))/(3*c));k>=0&&k<=1&&(s[m++]=k),D>=0&&D<=1&&(s[m++]=D),I>=0&&I<=1&&(s[m++]=I)}}return m}function m(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,u=3*e-3*t,l=0;if(f(s)){if(d(a))(h=-u/a)>=0&&h<=1&&(r[l++]=h)}else{var c=a*a-4*s*u;if(f(c))r[0]=-a/(2*s);else if(c>0){var h,p=o(c),g=(-a-p)/(2*s);(h=(-a+p)/(2*s))>=0&&h<=1&&(r[l++]=h),g>=0&&g<=1&&(r[l++]=g)}}return l}function _(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,u=(i-n)*r+n,l=(s-a)*r+a,c=(u-s)*r+s,h=(c-l)*r+l;o[0]=t,o[1]=a,o[2]=l,o[3]=h,o[4]=h,o[5]=c,o[6]=u,o[7]=i}function x(t,e,n,r,a,u,l,f,d,v,y){var m,_,x,D,A,b=.005,C=1/0;c[0]=d,c[1]=v;for(var w=0;w<1;w+=.05)h[0]=g(t,n,a,l,w),h[1]=g(e,r,u,f,w),(D=(0,i.distSquare)(c,h))<C&&(m=w,C=D);C=1/0;for(var S=0;S<32&&!(b<s);S++)_=m-b,x=m+b,h[0]=g(t,n,a,l,_),h[1]=g(e,r,u,f,_),D=(0,i.distSquare)(h,c),_>=0&&D<C?(m=_,C=D):(p[0]=g(t,n,a,l,x),p[1]=g(e,r,u,f,x),A=(0,i.distSquare)(p,c),x<=1&&A<C?(m=x,C=A):b*=.5);return y&&(y[0]=g(t,n,a,l,m),y[1]=g(e,r,u,f,m)),o(C)}function D(t,e,n,i,r,o,a,s,u){for(var l=t,c=e,h=0,p=1/u,f=1;f<=u;f++){var d=f*p,v=g(t,n,r,a,d),y=g(e,i,o,s,d),m=v-l,_=y-c;h+=Math.sqrt(m*m+_*_),l=v,c=y}return h}function A(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function b(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function C(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),u=t-i,l=0;if(f(a)){if(d(s))(h=-u/s)>=0&&h<=1&&(r[l++]=h)}else{var c=s*s-4*a*u;if(f(c))(h=-s/(2*a))>=0&&h<=1&&(r[l++]=h);else if(c>0){var h,p=o(c),g=(-s-p)/(2*a);(h=(-s+p)/(2*a))>=0&&h<=1&&(r[l++]=h),g>=0&&g<=1&&(r[l++]=g)}}return l}function w(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function S(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,r,a,u,l,f,d){var g,v=.005,y=1/0;c[0]=l,c[1]=f;for(var m=0;m<1;m+=.05){h[0]=A(t,n,a,m),h[1]=A(e,r,u,m),(b=(0,i.distSquare)(c,h))<y&&(g=m,y=b)}y=1/0;for(var _=0;_<32&&!(v<s);_++){var x=g-v,D=g+v;h[0]=A(t,n,a,x),h[1]=A(e,r,u,x);var b=(0,i.distSquare)(h,c);if(x>=0&&b<y)g=x,y=b;else{p[0]=A(t,n,a,D),p[1]=A(e,r,u,D);var C=(0,i.distSquare)(p,c);D<=1&&C<y?(g=D,y=C):v*=.5}}return d&&(d[0]=A(t,n,a,g),d[1]=A(e,r,u,g)),o(y)}function T(t,e,n,i,r,o,a){for(var s=t,u=e,l=0,c=1/a,h=1;h<=a;h++){var p=h*c,f=A(t,n,r,p),d=A(e,i,o,p),g=f-s,v=d-u;l+=Math.sqrt(g*g+v*v),s=f,u=d}return l}},62998:(t,e,n)=>{"use strict";n.d(e,{Me:()=>d,ot:()=>h,oq:()=>c,lJ:()=>l});var i=n(682),r=Math.log(2);function o(t,e,n,i,a,s){var u=i+"-"+a,l=t.length;if(s.hasOwnProperty(u))return s[u];if(1===e){var c=Math.round(Math.log((1<<l)-1&~a)/r);return t[n][c]}for(var h=i|1<<n,p=n+1;i&1<<p;)p++;for(var f=0,d=0,g=0;d<l;d++){var v=1<<d;v&a||(f+=(g%2?-1:1)*t[n][d]*o(t,e-1,p,h,a|v,s),g++)}return s[u]=f,f}function a(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]]],i={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var u=0;u<8;u++)null==a[u]&&(a[u]=0),a[u]+=((s+u)%2?-1:1)*o(n,7,0===s?1:0,1<<s,1<<u,i)/r*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}}}var s="___zrEVENTSAVED",u=[];function l(t,e,n,i,r){return c(u,e,i,r,!0)&&c(t,n,u[0],u[1])}function c(t,e,n,r,o){if(e.getBoundingClientRect&&i.A.domSupported&&!h(e)){var u=e[s]||(e[s]={}),l=function(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=o%2,u=(o>>1)%2;a.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[s]+":0",r[u]+":0",i[1-s]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,u),c=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],u=[],l=!0,c=0;c<4;c++){var h=t[c].getBoundingClientRect(),p=2*c,f=h.left,d=h.top;s.push(f,d),l=l&&o&&f===o[p]&&d===o[p+1],u.push(t[c].offsetLeft,t[c].offsetTop)}return l&&r?r:(e.srcCoords=s,e[i]=n?a(u,s):a(s,u))}(l,u,o);if(c)return c(t,n,r),!0}return!1}function h(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,f={"&":"&","<":"<",">":">",'"':""","'":"'"};function d(t){return null==t?"":(t+"").replace(p,(function(t,e){return f[e]}))}},682:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},r=new function(){this.browser=new i,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window};"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(r.wxa=!0,r.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?r.worker=!0:"undefined"===typeof navigator||0===navigator.userAgent.indexOf("Node.js")?(r.node=!0,r.svgSupported=!0):function(t,e){var n=e.browser,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);i&&(n.firefox=!0,n.version=i[1]);r&&(n.ie=!0,n.version=r[1]);o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18);a&&(n.weChat=!0);e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,r);const o=r},47981:(t,e,n)=>{"use strict";n.d(e,{Yo:()=>u,ds:()=>d,e0:()=>h,f:()=>f,mK:()=>c,q2:()=>p});var i=n(682),r=n(62998),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.A.browser.firefox&&+i.A.browser.version.split(".")[0]<39;function u(t,e,n,i){return n=n||{},i?l(t,e,n):s&&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):l(t,e,n),n}function l(t,e,n){if(i.A.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.ot)(t)){var u=t.getBoundingClientRect();return n.zrX=o-u.left,void(n.zrY=s-u.top)}if((0,r.oq)(a,t,o,s))return n.zrX=a[0],void(n.zrY=a[1])}n.zrX=n.zrY=0}function c(t){return t||window.event}function h(t,e,n){if(null!=(e=c(e)).zrX)return e;var i=e.type;if(i&&i.indexOf("touch")>=0){var r="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];r&&u(t,r,e,n)}else{u(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;return 3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function p(t,e,n,i){t.addEventListener(e,n,i)}function f(t,e,n,i){t.removeEventListener(e,n,i)}var d=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}},65472:(t,e,n)=>{"use strict";function i(){return[1,0,0,1,0,0]}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],u=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]=u,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 u(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],u=e[3],l=e[5],c=Math.sin(n),h=Math.cos(n);return t[0]=r*h+s*c,t[1]=-r*c+s*h,t[2]=o*h+u*c,t[3]=-o*c+h*u,t[4]=h*(a-i[0])+c*(l-i[1])+i[0],t[5]=h*(l-i[1])-c*(a-i[0])+i[1],t}function l(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],u=n*a-o*i;return u?(u=1/u,t[0]=a*u,t[1]=-o*u,t[2]=-i*u,t[3]=n*u,t[4]=(i*s-a*r)*u,t[5]=(o*r-n*s)*u,t):null}function h(t){var e=[1,0,0,1,0,0];return o(e,t),e}n.r(e),n.d(e,{clone:()=>h,copy:()=>o,create:()=>i,identity:()=>r,invert:()=>c,mul:()=>a,rotate:()=>u,scale:()=>l,translate:()=>s})},87718:(t,e,n)=>{"use strict";n.d(e,{Gs:()=>u,OH:()=>o,gI:()=>i,yh:()=>s,zs:()=>r});var i=12,r="sans-serif",o=i+"px "+r;var a=function(t){var e={};if("undefined"===typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),s={createCanvas:function(){return"undefined"!==typeof document&&document.createElement("canvas")},measureText:function(){var t,e;return function(n,r){if(!t){var u=s.createCanvas();t=u&&u.getContext("2d")}if(t)return e!==r&&(e=t.font=r||o),t.measureText(n);n=n||"";var l=/((?:\d+)?\.?\d*)px/.exec(r=r||o),c=l&&+l[1]||i,h=0;if(r.indexOf("mono")>=0)h=c*n.length;else for(var p=0;p<n.length;p++){var f=a[n[p]];h+=null==f?c:f*c}return{width:h}}}(),loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}};function u(t){for(var e in s)t[e]&&(s[e]=t[e])}},92323:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});var i=32,r=7;function o(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){for(;r<n&&i(t[r],t[r-1])<0;)r++;!function(t,e,n){n--;for(;e<n;){var i=t[e];t[e++]=t[n],t[n--]=i}}(t,e,r)}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function a(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,u=i;s<u;)r(a,t[o=s+u>>>1])<0?u=o:s=o+1;var l=i-s;switch(l){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;l>0;)t[s+l]=t[s+l-1],l--}t[s]=a}}function s(t,e,n,i,r,o){var a=0,s=0,u=1;if(o(t,e[n+r])>0){for(s=i-r;u<s&&o(t,e[n+r+u])>0;)a=u,(u=1+(u<<1))<=0&&(u=s);u>s&&(u=s),a+=r,u+=r}else{for(s=r+1;u<s&&o(t,e[n+r-u])<=0;)a=u,(u=1+(u<<1))<=0&&(u=s);u>s&&(u=s);var l=a;a=r-u,u=r-l}for(a++;a<u;){var c=a+(u-a>>>1);o(t,e[n+c])>0?a=c+1:u=c}return u}function u(t,e,n,i,r,o){var a=0,s=0,u=1;if(o(t,e[n+r])<0){for(s=r+1;u<s&&o(t,e[n+r-u])<0;)a=u,(u=1+(u<<1))<=0&&(u=s);u>s&&(u=s);var l=a;a=r-u,u=r-l}else{for(s=i-r;u<s&&o(t,e[n+r+u])>=0;)a=u,(u=1+(u<<1))<=0&&(u=s);u>s&&(u=s),a+=r,u+=r}for(a++;a<u;){var c=a+(u-a>>>1);o(t,e[n+c])<0?u=c:a=c+1}return u}function l(t,e){var n,i,o=r,a=0,l=[];function c(c){var h=n[c],p=i[c],f=n[c+1],d=i[c+1];i[c]=p+d,c===a-3&&(n[c+1]=n[c+2],i[c+1]=i[c+2]),a--;var g=u(t[f],t,h,p,0,e);h+=g,0!==(p-=g)&&0!==(d=s(t[h+p-1],t,f,d,d-1,e))&&(p<=d?function(n,i,a,c){var h=0;for(h=0;h<i;h++)l[h]=t[n+h];var p=0,f=a,d=n;if(t[d++]=t[f++],0===--c){for(h=0;h<i;h++)t[d+h]=l[p+h];return}if(1===i){for(h=0;h<c;h++)t[d+h]=t[f+h];return void(t[d+c]=l[p])}var g,v,y,m=o;for(;;){g=0,v=0,y=!1;do{if(e(t[f],l[p])<0){if(t[d++]=t[f++],v++,g=0,0===--c){y=!0;break}}else if(t[d++]=l[p++],g++,v=0,1===--i){y=!0;break}}while((g|v)<m);if(y)break;do{if(0!==(g=u(t[f],l,p,i,0,e))){for(h=0;h<g;h++)t[d+h]=l[p+h];if(d+=g,p+=g,(i-=g)<=1){y=!0;break}}if(t[d++]=t[f++],0===--c){y=!0;break}if(0!==(v=s(l[p],t,f,c,0,e))){for(h=0;h<v;h++)t[d+h]=t[f+h];if(d+=v,f+=v,0===(c-=v)){y=!0;break}}if(t[d++]=l[p++],1===--i){y=!0;break}m--}while(g>=r||v>=r);if(y)break;m<0&&(m=0),m+=2}if((o=m)<1&&(o=1),1===i){for(h=0;h<c;h++)t[d+h]=t[f+h];t[d+c]=l[p]}else{if(0===i)throw new Error;for(h=0;h<i;h++)t[d+h]=l[p+h]}}(h,p,f,d):function(n,i,a,c){var h=0;for(h=0;h<c;h++)l[h]=t[a+h];var p=n+i-1,f=c-1,d=a+c-1,g=0,v=0;if(t[d--]=t[p--],0===--i){for(g=d-(c-1),h=0;h<c;h++)t[g+h]=l[h];return}if(1===c){for(v=(d-=i)+1,g=(p-=i)+1,h=i-1;h>=0;h--)t[v+h]=t[g+h];return void(t[d]=l[f])}var y=o;for(;;){var m=0,_=0,x=!1;do{if(e(l[f],t[p])<0){if(t[d--]=t[p--],m++,_=0,0===--i){x=!0;break}}else if(t[d--]=l[f--],_++,m=0,1===--c){x=!0;break}}while((m|_)<y);if(x)break;do{if(0!==(m=i-u(l[f],t,n,i,i-1,e))){for(i-=m,v=(d-=m)+1,g=(p-=m)+1,h=m-1;h>=0;h--)t[v+h]=t[g+h];if(0===i){x=!0;break}}if(t[d--]=l[f--],1===--c){x=!0;break}if(0!==(_=c-s(t[p],l,0,c,c-1,e))){for(c-=_,v=(d-=_)+1,g=(f-=_)+1,h=0;h<_;h++)t[v+h]=l[g+h];if(c<=1){x=!0;break}}if(t[d--]=t[p--],0===--i){x=!0;break}y--}while(m>=r||_>=r);if(x)break;y<0&&(y=0),y+=2}(o=y)<1&&(o=1);if(1===c){for(v=(d-=i)+1,g=(p-=i)+1,h=i-1;h>=0;h--)t[v+h]=t[g+h];t[d]=l[f]}else{if(0===c)throw new Error;for(g=d-(c-1),h=0;h<c;h++)t[g+h]=l[h]}}(h,p,f,d))}return n=[],i=[],{mergeRuns:function(){for(;a>1;){var t=a-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;c(t)}},forceMergeRuns:function(){for(;a>1;){var t=a-2;t>0&&i[t-1]<i[t+1]&&t--,c(t)}},pushRun:function(t,e){n[a]=t,i[a]=e,a+=1}}}function c(t,e,n,r){n||(n=0),r||(r=t.length);var s=r-n;if(!(s<2)){var u=0;if(s<i)a(t,n,r,n+(u=o(t,n,r,e)),e);else{var c=l(t,e),h=function(t){for(var e=0;t>=i;)e|=1&t,t>>=1;return t+e}(s);do{if((u=o(t,n,r,e))<h){var p=s;p>h&&(p=h),a(t,n,n+p,n+u,e),u=p}c.pushRun(n,u),c.mergeRuns(),s-=u,n+=u}while(0!==s);c.forceMergeRuns()}}}},37653:(t,e,n)=>{"use strict";n.r(e),n.d(e,{HashMap:()=>st,RADIAN_TO_DEGREE:()=>dt,assert:()=>tt,bind:()=>P,clone:()=>m,concatArray:()=>lt,createCanvas:()=>b,createHashMap:()=>ut,createObject:()=>ct,curry:()=>B,defaults:()=>A,disableUserSelect:()=>ht,each:()=>T,eqNaN:()=>q,extend:()=>D,filter:()=>F,find:()=>E,guid:()=>v,hasOwn:()=>pt,indexOf:()=>C,inherits:()=>w,isArray:()=>L,isArrayLike:()=>M,isBuiltInObject:()=>W,isDom:()=>U,isFunction:()=>N,isGradientObject:()=>j,isImagePatternObject:()=>X,isNumber:()=>V,isObject:()=>H,isPrimitive:()=>rt,isRegExp:()=>Y,isString:()=>R,isStringSafe:()=>z,isTypedArray:()=>G,keys:()=>O,logError:()=>y,map:()=>k,merge:()=>_,mergeAll:()=>x,mixin:()=>S,noop:()=>ft,normalizeCssArray:()=>J,reduce:()=>I,retrieve:()=>Z,retrieve2:()=>$,retrieve3:()=>K,setAsPrimitive:()=>it,slice:()=>Q,trim:()=>et});var i=n(87718),r=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),a=Object.prototype.toString,s=Array.prototype,u=s.forEach,l=s.filter,c=s.slice,h=s.map,p=function(){}.constructor,f=p?p.prototype:null,d="__proto__",g=2311;function v(){return g++}function y(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!==typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!==typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!rt(t)){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=m(t[i])}}else if(o[n]){if(!rt(t)){var u=t.constructor;if(u.from)e=u.from(t);else{e=new u(t.length);for(i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!rt(t)&&!U(t))for(var l in e={},t)t.hasOwnProperty(l)&&l!==d&&(e[l]=m(t[l]));return e}function _(t,e,n){if(!H(e)||!H(t))return n?m(e):t;for(var i in e)if(e.hasOwnProperty(i)&&i!==d){var r=t[i],o=e[i];!H(o)||!H(r)||L(o)||L(r)||U(o)||U(r)||W(o)||W(r)||rt(o)||rt(r)?!n&&i in t||(t[i]=m(e[i])):_(r,o,n)}return t}function x(t,e){for(var n=t[0],i=1,r=t.length;i<r;i++)n=_(n,t[i],e);return n}function D(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==d&&(t[n]=e[n]);return t}function A(t,e,n){for(var i=O(e),r=0;r<i.length;r++){var o=i[r];(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}return t}var b=i.yh.createCanvas;function C(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){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else A(t,e,n)}function M(t){return!!t&&("string"!==typeof t&&"number"===typeof t.length)}function T(t,e,n){if(t&&e)if(t.forEach&&t.forEach===u)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 k(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.map&&t.map===h)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 I(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function F(t,e,n){if(!t)return[];if(!e)return Q(t);if(t.filter&&t.filter===l)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 E(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 O(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var P=f&&N(f.bind)?f.call.bind(f.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(c.call(arguments)))}};function B(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(c.call(arguments)))}}function L(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function N(t){return"function"===typeof t}function R(t){return"string"===typeof t}function z(t){return"[object String]"===a.call(t)}function V(t){return"number"===typeof t}function H(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function W(t){return!!r[a.call(t)]}function G(t){return!!o[a.call(t)]}function U(t){return"object"===typeof t&&"number"===typeof t.nodeType&&"object"===typeof t.ownerDocument}function j(t){return null!=t.colorStops}function X(t){return null!=t.image}function Y(t){return"[object RegExp]"===a.call(t)}function q(t){return t!==t}function Z(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function $(t,e){return null!=t?t:e}function K(t,e,n){return null!=t?t:null!=e?e:n}function Q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return c.apply(t,e)}function J(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 tt(t,e){if(!t)throw new Error(e)}function et(t){return null==t?null:"function"===typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var nt="__ec_primitive__";function it(t){t[nt]=!0}function rt(t){return t[nt]}var ot=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return O(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),at="function"===typeof Map;var st=function(){function t(e){var n=L(e);this.data=at?new Map:new ot;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&T(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,i){t.call(e,n,i)}))},t.prototype.keys=function(){var t=this.data.keys();return at?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function ut(t){return new st(t)}function lt(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 ct(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&D(n,e),n}function ht(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function pt(t,e){return t.hasOwnProperty(e)}function ft(){}var dt=180/Math.PI},52278:(t,e,n)=>{"use strict";function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t,e){return t[0]=e[0],t[1]=e[1],t}function o(t){return[t[0],t[1]]}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 u(t,e,n,i){return t[0]=e[0]+n[0]*i,t[1]=e[1]+n[1]*i,t}function l(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function c(t){return Math.sqrt(p(t))}n.r(e),n.d(e,{add:()=>s,applyTransform:()=>w,clone:()=>o,copy:()=>r,create:()=>i,dist:()=>x,distSquare:()=>A,distance:()=>_,distanceSquare:()=>D,div:()=>g,dot:()=>v,len:()=>c,lenSquare:()=>p,length:()=>h,lengthSquare:()=>f,lerp:()=>C,max:()=>M,min:()=>S,mul:()=>d,negate:()=>b,normalize:()=>m,scale:()=>y,scaleAndAdd:()=>u,set:()=>a,sub:()=>l});var h=c;function p(t){return t[0]*t[0]+t[1]*t[1]}var f=p;function d(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 y(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function m(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 _(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var x=_;function D(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var A=D;function b(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 w(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 S(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function M(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},36258:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(1344),r=n(4995);const o=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.__extends)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.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)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),r.Ay.prototype.getBoundingRect.call(this)},e}(r.Ay)},77636:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>v,oN:()=>l,sW:()=>c});var i=n(1344),r=n(33309),o=n(82759),a=n(37653),s=n(40643),u="__zr_style_"+Math.round(10*Math.random()),l={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},c={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};l[u]=!0;var h=["z","z2","invisible"],p=["invisible"],f=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype._init=function(e){for(var n=(0,a.keys)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,i){var r=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){d.copy(t.getBoundingRect()),t.transform&&d.applyTransform(t.transform);return g.width=e,g.height=n,!d.intersect(g)}(this,t,e)||r&&!r[0]&&!r[3])return!1;if(n&&this.__clipPaths)for(var o=0;o<this.__clipPaths.length;++o)if(this.__clipPaths[o].isZeroArea())return!1;if(i&&this.parent)for(var a=this.parent;a;){if(a.ignore)return!1;a=a.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.A(0,0,0,0)),e?o.A.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var u=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-u),t.y=Math.floor(t.y-u),t.width=Math.ceil(t.width+1+2*u),t.height=Math.ceil(t.height+1+2*u))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.A(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"===typeof t?this.style[t]=e:(0,a.extend)(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.pO,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&s.pO)},e.prototype.styleUpdated=function(){this.__dirty&=~s.pO},e.prototype.createStyle=function(t){return(0,a.createObject)(l,t)},e.prototype.useStyle=function(t){t[u]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[u]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,h)},e.prototype._applyStateObj=function(e,n,i,r,o,s){t.prototype._applyStateObj.call(this,e,n,i,r,o,s);var u,l=!(n&&r);if(n&&n.style?o?r?u=n.style:(u=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(u,n.style)):l&&(u=i.style),u)if(o){var c=this.style;if(this.style=this.createStyle(l?{}:c),l)for(var f=(0,a.keys)(c),d=0;d<f.length;d++){(v=f[d])in u&&(u[v]=u[v],this.style[v]=c[v])}var g=(0,a.keys)(u);for(d=0;d<g.length;d++){var v=g[d];this.style[v]=this.style[v]}this._transitionState(e,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);var y=this.__inHover?p:h;for(d=0;d<y.length;d++){v=y[d];n&&null!=n[v]?this[v]=n[v]:l&&null!=i[v]&&(this[v]=i[v])}},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},e.prototype._mergeStyle=function(t,e){return(0,a.extend)(t,e),t},e.prototype.getAnimationStyleProps=function(){return c},e.initDefaultProps=function(){var t=e.prototype;t.type="displayable",t.invisible=!1,t.z=0,t.z2=0,t.zlevel=0,t.culling=!1,t.cursor="pointer",t.rectHover=!1,t.incremental=!1,t._rect=null,t.dirtyRectTolerance=0,t.__dirty=s.M|s.pO}(),e}(r.A),d=new o.A(0,0,0,0),g=new o.A(0,0,0,0);const v=f},94852:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});const i=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},55741:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var i=n(1344),r=n(37653),o=n(33309),a=n(82759),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.__extends)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.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},e.prototype.replace=function(t,e){var n=r.indexOf(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=r.indexOf(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.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},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new a.A(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var u=s.getBoundingRect(),l=s.getLocalTransform(i);l?(a.A.applyTransform(e,u,l),(r=r||e.clone()).union(e)):(r=r||u.clone()).union(u)}}return r||e},e}(o.A);s.prototype.type="group";const u=s},93175:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>c});var i=n(1344),r=n(77636),o=n(82759),a=n(37653),s=(0,a.defaults)({x:0,y:0},r.oN),u={style:(0,a.defaults)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.sW.style)};var l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.createStyle=function(t){return(0,a.createObject)(s,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i,r=(i=e.image)&&"string"!==typeof i&&i.width&&i.height?e.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=e[o];return null==a?r[t]:r[t]/r[o]*a},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return u},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.A(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.Ay);l.prototype.type="image";const c=l},23750:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(1344),r=n(77636),o=n(82759),a=[];const s=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.__extends)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.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])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new o.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(a)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var i=0;i<this._displayables.length;i++){if(this._displayables[i].contain(t,e))return!0}return!1},e}(r.Ay)},21629:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(1344);const r=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.__extends)(e,t),e}(n(94852).A)},4995:(t,e,n)=>{"use strict";n.d(e,{MW:()=>T,Ay:()=>F});var i=n(1344),r=n(77636),o=n(98944);function a(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,u=0;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;var l=(u=(e-i)/(t-n))*o-a+(t*i-n*e)/(t-n);return l*l/(u*u+1)<=s/2*s/2}var s=n(22042);function u(t,e,n,i,r,o,a,u,l,c,h){if(0===l)return!1;var p=l;return!(h>e+p&&h>i+p&&h>o+p&&h>u+p||h<e-p&&h<i-p&&h<o-p&&h<u-p||c>t+p&&c>n+p&&c>r+p&&c>a+p||c<t-p&&c<n-p&&c<r-p&&c<a-p)&&s.Et(t,e,n,i,r,o,a,u,c,h,null)<=p/2}function l(t,e,n,i,r,o,a,u,l){if(0===a)return!1;var c=a;return!(l>e+c&&l>i+c&&l>o+c||l<e-c&&l<i-c&&l<o-c||u>t+c&&u>n+c&&u>r+c||u<t-c&&u<n-c&&u<r-c)&&(0,s.kh)(t,e,n,i,r,o,u,l,null)<=c/2}var c=n(40220),h=2*Math.PI;function p(t,e,n,i,r,o,a,s,u){if(0===a)return!1;var l=a;s-=t,u-=e;var p=Math.sqrt(s*s+u*u);if(p-l>n||p+l<n)return!1;if(Math.abs(i-r)%h<1e-4)return!0;if(o){var f=i;i=(0,c.n)(r),r=(0,c.n)(f)}else i=(0,c.n)(i),r=(0,c.n)(r);i>r&&(r+=h);var d=Math.atan2(u,s);return d<0&&(d+=h),d>=i&&d<=r||d+h>=i&&d+h<=r}var f=n(85170),d=o.A.CMD,g=2*Math.PI;var v=[-1,-1,-1],y=[-1,-1];function m(){var t=y[0];y[0]=y[1],y[1]=t}function _(t,e,n,i,r,o,a,u,l,c){if(c>e&&c>i&&c>o&&c>u||c<e&&c<i&&c<o&&c<u)return 0;var h=s._E(e,i,o,u,c,v);if(0===h)return 0;for(var p=0,f=-1,d=void 0,g=void 0,_=0;_<h;_++){var x=v[_],D=0===x||1===x?.5:1;s.Yb(t,n,r,a,x)<l||(f<0&&(f=s.lX(e,i,o,u,y),y[1]<y[0]&&f>1&&m(),d=s.Yb(e,i,o,u,y[0]),f>1&&(g=s.Yb(e,i,o,u,y[1]))),2===f?x<y[0]?p+=d<e?D:-D:x<y[1]?p+=g<d?D:-D:p+=u<g?D:-D:x<y[0]?p+=d<e?D:-D:p+=u<d?D:-D)}return p}function x(t,e,n,i,r,o,a,u){if(u>e&&u>i&&u>o||u<e&&u<i&&u<o)return 0;var l=s.qY(e,i,o,u,v);if(0===l)return 0;var c=s.gC(e,i,o);if(c>=0&&c<=1){for(var h=0,p=s.k3(e,i,o,c),f=0;f<l;f++){var d=0===v[f]||1===v[f]?.5:1;s.k3(t,n,r,v[f])<a||(v[f]<c?h+=p<e?d:-d:h+=o<p?d:-d)}return h}d=0===v[0]||1===v[0]?.5:1;return s.k3(t,n,r,v[0])<a?0:o<e?d:-d}function D(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var u=Math.sqrt(n*n-s*s);v[0]=-u,v[1]=u;var l=Math.abs(i-r);if(l<1e-4)return 0;if(l>=g-1e-4){i=0,r=g;var c=o?1:-1;return a>=v[0]+t&&a<=v[1]+t?c:0}if(i>r){var h=i;i=r,r=h}i<0&&(i+=g,r+=g);for(var p=0,f=0;f<2;f++){var d=v[f];if(d+t>a){var y=Math.atan2(s,d);c=o?1:-1;y<0&&(y=g+y),(y>=i&&y<=r||y+g>=i&&y+g<=r)&&(y>Math.PI/2&&y<1.5*Math.PI&&(c=-c),p+=c)}}return p}function A(t,e,n,i,r){for(var o,s,c,h,g=t.data,v=t.len(),y=0,m=0,A=0,b=0,C=0,w=0;w<v;){var S=g[w++],M=1===w;switch(S===d.M&&w>1&&(n||(y+=(0,f.A)(m,A,b,C,i,r))),M&&(b=m=g[w],C=A=g[w+1]),S){case d.M:m=b=g[w++],A=C=g[w++];break;case d.L:if(n){if(a(m,A,g[w],g[w+1],e,i,r))return!0}else y+=(0,f.A)(m,A,g[w],g[w+1],i,r)||0;m=g[w++],A=g[w++];break;case d.C:if(n){if(u(m,A,g[w++],g[w++],g[w++],g[w++],g[w],g[w+1],e,i,r))return!0}else y+=_(m,A,g[w++],g[w++],g[w++],g[w++],g[w],g[w+1],i,r)||0;m=g[w++],A=g[w++];break;case d.Q:if(n){if(l(m,A,g[w++],g[w++],g[w],g[w+1],e,i,r))return!0}else y+=x(m,A,g[w++],g[w++],g[w],g[w+1],i,r)||0;m=g[w++],A=g[w++];break;case d.A:var T=g[w++],k=g[w++],I=g[w++],F=g[w++],E=g[w++],O=g[w++];w+=1;var P=!!(1-g[w++]);o=Math.cos(E)*I+T,s=Math.sin(E)*F+k,M?(b=o,C=s):y+=(0,f.A)(m,A,o,s,i,r);var B=(i-T)*F/I+T;if(n){if(p(T,k,F,E,E+O,P,e,B,r))return!0}else y+=D(T,k,F,E,E+O,P,B,r);m=Math.cos(E+O)*I+T,A=Math.sin(E+O)*F+k;break;case d.R:if(b=m=g[w++],C=A=g[w++],o=b+g[w++],s=C+g[w++],n){if(a(b,C,o,C,e,i,r)||a(o,C,o,s,e,i,r)||a(o,s,b,s,e,i,r)||a(b,s,b,C,e,i,r))return!0}else y+=(0,f.A)(o,C,o,s,i,r),y+=(0,f.A)(b,s,b,C,i,r);break;case d.Z:if(n){if(a(m,A,b,C,e,i,r))return!0}else y+=(0,f.A)(m,A,b,C,i,r);m=b,A=C}}return n||(c=A,h=C,Math.abs(c-h)<1e-4)||(y+=(0,f.A)(m,A,b,C,i,r)||0),0!==y}var b=n(37653),C=n(98259),w=n(83859),S=n(40643),M=n(58893),T=(0,b.defaults)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.oN),k={style:(0,b.defaults)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.sW.style)},I=M.Wx.concat(["invisible","culling","z","z2","zlevel","parent"]);const F=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<I.length;++s)r[I[s]]=this[I[s]];r.__dirty|=S.M}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=(0,b.keys)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,b.extend)(this.style,a):this.useStyle(a):"shape"===o?(0,b.extend)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,b.isString)(t)){var e=(0,C.lum)(t,0);return e>.5?w._S:e>.2?w.tY:w.el}if(t)return w.el}return w._S},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,b.isString)(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===(0,C.lum)(t,0)<w.ps)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=~S.Dl},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new o.A(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&S.Dl)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;s=Math.max(s,null==u?4:u)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.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;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),function(t,e,n,i){return A(t,e,!0,n,i)}(o,a/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return A(t,0,!1,e,n)}(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=S.Dl,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:(0,b.extend)(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&S.Dl)},e.prototype.createStyle=function(t){return(0,b.createObject)(T,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,b.extend)({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,u=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=(0,b.extend)({},i.shape),(0,b.extend)(s,n.shape)):(s=(0,b.extend)({},r?this.shape:i.shape),(0,b.extend)(s,n.shape)):u&&(s=i.shape),s)if(o){this.shape=(0,b.extend)({},this.shape);for(var l={},c=(0,b.keys)(s),h=0;h<c.length;h++){var p=c[h];"object"===typeof s[p]?this.shape[p]=s[p]:l[p]=s[p]}this._transitionState(e,{shape:l},a)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},e.prototype.getAnimationStyleProps=function(){return k},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.__extends)(n,e),n.prototype.getDefaultStyle=function(){return(0,b.clone)(t.style)},n.prototype.getDefaultShape=function(){return(0,b.clone)(t.shape)},n}(e);for(var r in t)"function"===typeof t[r]&&(n.prototype[r]=t[r]);return n},e.initDefaultProps=function(){var t=e.prototype;t.type="path",t.strokeContainThreshold=5,t.segmentIgnoreThreshold=0,t.subPixelOptimize=!1,t.autoBatch=!1,t.__dirty=S.M|S.pO|S.Dl}(),e}(r.Ay)},42271:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});var i=n(1344);const r=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.__extends)(e,t),e}(n(94852).A)},26370:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});var i=n(1344),r=n(77636),o=n(32995),a=n(4995),s=n(37653),u=n(87718),l=(0,s.defaults)({strokeFirst:!0,font:u.OH,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.MW),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.__extends)(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return(0,s.createObject)(l,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=(0,o.NO)(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(r.Ay);c.prototype.type="tspan";const h=c},37315:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>T,I5:()=>_,XE:()=>D});var i=n(1344),r=n(88463),o=n(26370),a=n(37653),s=n(32995),u=n(93175),l=n(86159),c=n(82759),h=n(77636),p=n(87718),f={fill:"#000"},d={style:(0,a.defaults)({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},h.sW.style)},g=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=f,n.attr(e),n}return(0,i.__extends)(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,A(t=this.style),(0,a.each)(t.rich,A),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new c.A(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||f},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,a.extend)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,a.keys)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,a.extend)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return d},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||p.OH,n=t.padding,i=S(t),a=(0,r.j_)(i,t),u=M(t),l=!!t.backgroundColor,h=a.outerHeight,f=a.outerWidth,d=a.contentWidth,g=a.lines,v=a.lineHeight,y=this._defaultStyle,m=t.x||0,_=t.y||0,D=t.align||y.align||"left",A=t.verticalAlign||y.verticalAlign||"top",T=m,k=(0,s.sZ)(_,a.contentHeight,A);if(u||n){var I=(0,s.ll)(m,f,D),F=(0,s.sZ)(_,h,A);u&&this._renderBackground(t,t,I,F,f,h)}k+=v/2,n&&(T=w(m,D,n),"top"===A?k+=n[0]:"bottom"===A&&(k-=n[2]));for(var E=0,O=!1,P=(C("fill"in t?t.fill:(O=!0,y.fill))),B=(b("stroke"in t?t.stroke:l||y.autoStroke&&!O?null:(E=2,y.stroke))),L=t.textShadowBlur>0,N=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),R=a.calculatedLineHeight,z=0;z<g.length;z++){var V=this._getOrCreateChild(o.A),H=V.createStyle();V.useStyle(H),H.text=g[z],H.x=T,H.y=k,D&&(H.textAlign=D),H.textBaseline="middle",H.opacity=t.opacity,H.strokeFirst=!0,L&&(H.shadowBlur=t.textShadowBlur||0,H.shadowColor=t.textShadowColor||"transparent",H.shadowOffsetX=t.textShadowOffsetX||0,H.shadowOffsetY=t.textShadowOffsetY||0),H.stroke=B,H.fill=P,B&&(H.lineWidth=t.lineWidth||E,H.lineDash=t.lineDash,H.lineDashOffset=t.lineDashOffset||0),H.font=e,x(H,t),k+=v,N&&V.setBoundingRect(new c.A((0,s.ll)(H.x,t.width,H.textAlign),(0,s.sZ)(H.y,R,H.textBaseline),d,R))}},e.prototype._updateRichTexts=function(){var t=this.style,e=S(t),n=(0,r.FQ)(e,t),i=n.width,o=n.outerWidth,a=n.outerHeight,u=t.padding,l=t.x||0,c=t.y||0,h=this._defaultStyle,p=t.align||h.align,f=t.verticalAlign||h.verticalAlign,d=(0,s.ll)(l,o,p),g=(0,s.sZ)(c,a,f),v=d,y=g;u&&(v+=u[3],y+=u[0]);var m=v+i;M(t)&&this._renderBackground(t,t,d,g,o,a);for(var _=!!t.backgroundColor,x=0;x<n.lines.length;x++){for(var D=n.lines[x],A=D.tokens,b=A.length,C=D.lineHeight,w=D.width,T=0,k=v,I=m,F=b-1,E=void 0;T<b&&(!(E=A[T]).align||"left"===E.align);)this._placeToken(E,t,C,y,k,"left",_),w-=E.width,k+=E.width,T++;for(;F>=0&&"right"===(E=A[F]).align;)this._placeToken(E,t,C,y,I,"right",_),w-=E.width,I-=E.width,F--;for(k+=(i-(k-v)-(m-I)-w)/2;T<=F;)E=A[T],this._placeToken(E,t,C,y,k+E.width/2,"center",_),k+=E.width,T++;y+=C}},e.prototype._placeToken=function(t,e,n,i,r,u,l){var h=e.rich[t.styleName]||{};h.text=t.text;var f=t.verticalAlign,d=i+n/2;"top"===f?d=i+t.height/2:"bottom"===f&&(d=i+n-t.height/2),!t.isLineHolder&&M(h)&&this._renderBackground(h,e,"right"===u?r-t.width:"center"===u?r-t.width/2:r,d-t.height/2,t.width,t.height);var g=!!h.backgroundColor,v=t.textPadding;v&&(r=w(r,u,v),d-=t.height/2-v[0]-t.innerHeight/2);var y=this._getOrCreateChild(o.A),m=y.createStyle();y.useStyle(m);var _=this._defaultStyle,D=!1,A=0,S=C("fill"in h?h.fill:"fill"in e?e.fill:(D=!0,_.fill)),T=b("stroke"in h?h.stroke:"stroke"in e?e.stroke:g||l||_.autoStroke&&!D?null:(A=2,_.stroke)),k=h.textShadowBlur>0||e.textShadowBlur>0;m.text=t.text,m.x=r,m.y=d,k&&(m.shadowBlur=h.textShadowBlur||e.textShadowBlur||0,m.shadowColor=h.textShadowColor||e.textShadowColor||"transparent",m.shadowOffsetX=h.textShadowOffsetX||e.textShadowOffsetX||0,m.shadowOffsetY=h.textShadowOffsetY||e.textShadowOffsetY||0),m.textAlign=u,m.textBaseline="middle",m.font=t.font||p.OH,m.opacity=(0,a.retrieve3)(h.opacity,e.opacity,1),x(m,h),T&&(m.lineWidth=(0,a.retrieve3)(h.lineWidth,e.lineWidth,A),m.lineDash=(0,a.retrieve2)(h.lineDash,e.lineDash),m.lineDashOffset=e.lineDashOffset||0,m.stroke=T),S&&(m.fill=S);var I=t.contentWidth,F=t.contentHeight;y.setBoundingRect(new c.A((0,s.ll)(m.x,I,m.textAlign),(0,s.sZ)(m.y,F,m.textBaseline),I,F))},e.prototype._renderBackground=function(t,e,n,i,r,o){var s,c,h,p=t.backgroundColor,f=t.borderWidth,d=t.borderColor,g=p&&p.image,v=p&&!g,y=t.borderRadius,m=this;if(v||t.lineHeight||f&&d){(s=this._getOrCreateChild(l.A)).useStyle(s.createStyle()),s.style.fill=null;var _=s.shape;_.x=n,_.y=i,_.width=r,_.height=o,_.r=y,s.dirtyShape()}if(v)(h=s.style).fill=p||null,h.fillOpacity=(0,a.retrieve2)(t.fillOpacity,1);else if(g){(c=this._getOrCreateChild(u.Ay)).onload=function(){m.dirtyStyle()};var x=c.style;x.image=p.image,x.x=n,x.y=i,x.width=r,x.height=o}f&&d&&((h=s.style).lineWidth=f,h.stroke=d,h.strokeOpacity=(0,a.retrieve2)(t.strokeOpacity,1),h.lineDash=t.borderDash,h.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(h.strokeFirst=!0,h.lineWidth*=2));var D=(s||c).style;D.shadowBlur=t.shadowBlur||0,D.shadowColor=t.shadowColor||"transparent",D.shadowOffsetX=t.shadowOffsetX||0,D.shadowOffsetY=t.shadowOffsetY||0,D.opacity=(0,a.retrieve3)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return D(t)&&(e=[t.fontStyle,t.fontWeight,_(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&(0,a.trim)(e)||t.textFont||t.font},e}(h.Ay),v={left:!0,right:1,center:1},y={top:1,bottom:1,middle:1},m=["fontStyle","fontWeight","fontSize","fontFamily"];function _(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?p.gI+"px":t+"px":t}function x(t,e){for(var n=0;n<m.length;n++){var i=m[n],r=e[i];null!=r&&(t[i]=r)}}function D(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function A(t){if(t){t.font=g.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||v[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||y[n]?n:"top",t.padding&&(t.padding=(0,a.normalizeCssArray)(t.padding))}}function b(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function C(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function w(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function S(t){var e=t.text;return null!=e&&(e+=""),e}function M(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const T=g},40643:(t,e,n)=>{"use strict";n.d(e,{Dl:()=>o,M:()=>i,pO:()=>r});var i=1,r=2,o=4},47454:(t,e,n)=>{"use strict";n.d(e,{OD:()=>s,SR:()=>a,xA:()=>l});var i=n(27080),r=n(87718),o=new i.Ay(50);function a(t){if("string"===typeof t){var e=o.get(t);return e&&e.image}return t}function s(t,e,n,i,a){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),c={hostEl:n,cb:i,cbPayload:a};return s?!l(e=s.image)&&s.pending.push(c):((e=r.yh.loadImage(t,u,u)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[c]})),e}return t}return e}function u(){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}},88463:(t,e,n)=>{"use strict";n.d(e,{EJ:()=>s,FQ:()=>g,j_:()=>h});var i=n(47454),r=n(37653),o=n(32995),a=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function s(t,e,n,i,r){if(!e)return"";var o=(t+"").split("\n");r=u(e,n,i,r);for(var a=0,s=o.length;a<s;a++)o[a]=l(o[a],r);return o.join("\n")}function u(t,e,n,i){i=i||{};var a=(0,r.extend)({},i);a.font=e,n=(0,r.retrieve2)(n,"..."),a.maxIterations=(0,r.retrieve2)(i.maxIterations,2);var s=a.minChar=(0,r.retrieve2)(i.minChar,0);a.cnCharWidth=(0,o.RG)("\u56fd",e);var u=a.ascCharWidth=(0,o.RG)("a",e);a.placeholder=(0,r.retrieve2)(i.placeholder,"");for(var l=t=Math.max(0,t-1),c=0;c<s&&l>=u;c++)l-=u;var h=(0,o.RG)(n,e);return h>l&&(n="",h=0),l=t-h,a.ellipsis=n,a.ellipsisWidth=h,a.contentWidth=l,a.containerWidth=t,a}function l(t,e){var n=e.containerWidth,i=e.font,r=e.contentWidth;if(!n)return"";var a=(0,o.RG)(t,i);if(a<=n)return t;for(var s=0;;s++){if(a<=r||s>=e.maxIterations){t+=e.ellipsis;break}var u=0===s?c(t,r,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*r/a):0;t=t.substr(0,u),a=(0,o.RG)(t,i)}return""===t&&(t=e.placeholder),t}function c(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 h(t,e){null!=t&&(t+="");var n,i=e.overflow,a=e.padding,s=e.font,c="truncate"===i,h=(0,o.ks)(s),p=(0,r.retrieve2)(e.lineHeight,h),f=!!e.backgroundColor,d="truncate"===e.lineOverflow,g=e.width,v=(n=null==g||"break"!==i&&"breakAll"!==i?t?t.split("\n"):[]:t?_(t,e.font,g,"breakAll"===i,0).lines:[]).length*p,y=(0,r.retrieve2)(e.height,v);if(v>y&&d){var m=Math.floor(y/p);n=n.slice(0,m)}if(t&&c&&null!=g)for(var x=u(g,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),D=0;D<n.length;D++)n[D]=l(n[D],x);var A=y,b=0;for(D=0;D<n.length;D++)b=Math.max((0,o.RG)(n[D],s),b);null==g&&(g=b);var C=b;return a&&(A+=a[0]+a[2],C+=a[1]+a[3],g+=a[1]+a[3]),f&&(C=g),{lines:n,height:y,outerWidth:C,outerHeight:A,lineHeight:p,calculatedLineHeight:h,contentWidth:b,contentHeight:v,width:g}}var p=function(){},f=function(t){this.tokens=[],t&&(this.tokens=t)},d=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function g(t,e){var n=new d;if(null!=t&&(t+=""),!t)return n;for(var u,l=e.width,c=e.height,h=e.overflow,p="break"!==h&&"breakAll"!==h||null==l?null:{width:l,accumWidth:0,breakAll:"breakAll"===h},f=a.lastIndex=0;null!=(u=a.exec(t));){var g=u.index;g>f&&v(n,t.substring(f,g),e,p),v(n,u[2],e,p,u[1]),f=a.lastIndex}f<t.length&&v(n,t.substring(f,t.length),e,p);var y=[],m=0,_=0,x=e.padding,D="truncate"===h,A="truncate"===e.lineOverflow;function b(t,e,n){t.width=e,t.lineHeight=n,m+=n,_=Math.max(_,e)}t:for(var C=0;C<n.lines.length;C++){for(var w=n.lines[C],S=0,M=0,T=0;T<w.tokens.length;T++){var k=(z=w.tokens[T]).styleName&&e.rich[z.styleName]||{},I=z.textPadding=k.padding,F=I?I[1]+I[3]:0,E=z.font=k.font||e.font;z.contentHeight=(0,o.ks)(E);var O=(0,r.retrieve2)(k.height,z.contentHeight);if(z.innerHeight=O,I&&(O+=I[0]+I[2]),z.height=O,z.lineHeight=(0,r.retrieve3)(k.lineHeight,e.lineHeight,O),z.align=k&&k.align||e.align,z.verticalAlign=k&&k.verticalAlign||"middle",A&&null!=c&&m+z.lineHeight>c){T>0?(w.tokens=w.tokens.slice(0,T),b(w,M,S),n.lines=n.lines.slice(0,C+1)):n.lines=n.lines.slice(0,C);break t}var P=k.width,B=null==P||"auto"===P;if("string"===typeof P&&"%"===P.charAt(P.length-1))z.percentWidth=P,y.push(z),z.contentWidth=(0,o.RG)(z.text,E);else{if(B){var L=k.backgroundColor,N=L&&L.image;N&&(N=i.SR(N),i.xA(N)&&(z.width=Math.max(z.width,N.width*O/N.height)))}var R=D&&null!=l?l-M:null;null!=R&&R<z.width?!B||R<F?(z.text="",z.width=z.contentWidth=0):(z.text=s(z.text,R-F,E,e.ellipsis,{minChar:e.truncateMinChar}),z.width=z.contentWidth=(0,o.RG)(z.text,E)):z.contentWidth=(0,o.RG)(z.text,E)}z.width+=F,M+=z.width,k&&(S=Math.max(S,z.lineHeight))}b(w,M,S)}n.outerWidth=n.width=(0,r.retrieve2)(l,_),n.outerHeight=n.height=(0,r.retrieve2)(c,m),n.contentHeight=m,n.contentWidth=_,x&&(n.outerWidth+=x[1]+x[3],n.outerHeight+=x[0]+x[2]);for(C=0;C<y.length;C++){var z,V=(z=y[C]).percentWidth;z.width=parseInt(V,10)/100*n.width}return n}function v(t,e,n,i,r){var a,s,u=""===e,l=r&&n.rich[r]||{},c=t.lines,h=l.font||n.font,d=!1;if(i){var g=l.padding,v=g?g[1]+g[3]:0;if(null!=l.width&&"auto"!==l.width){var y=(0,o.lo)(l.width,i.width)+v;c.length>0&&y+i.accumWidth>i.width&&(a=e.split("\n"),d=!0),i.accumWidth=y}else{var m=_(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=m.accumWidth+v,s=m.linesWidths,a=m.lines}}else a=e.split("\n");for(var x=0;x<a.length;x++){var D=a[x],A=new p;if(A.styleName=r,A.text=D,A.isLineHolder=!D&&!u,"number"===typeof l.width?A.width=l.width:A.width=s?s[x]:(0,o.RG)(D,h),x||d)c.push(new f([A]));else{var b=(c[c.length-1]||(c[0]=new f)).tokens,C=b.length;1===C&&b[0].isLineHolder?b[0]=A:(D||!C||u)&&b.push(A)}}}var y=(0,r.reduce)(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function m(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!y[t]}function _(t,e,n,i,r){for(var a=[],s=[],u="",l="",c=0,h=0,p=0;p<t.length;p++){var f=t.charAt(p);if("\n"!==f){var d=(0,o.RG)(f,e),g=!i&&!m(f);(a.length?h+d>n:r+h+d>n)?h?(u||l)&&(g?(u||(u=l,l="",h=c=0),a.push(u),s.push(h-c),l+=f,u="",h=c+=d):(l&&(u+=l,l="",c=0),a.push(u),s.push(h),u=f,h=d)):g?(a.push(l),s.push(c),l=f,c=d):(a.push(f),s.push(d)):(h+=d,g?(l+=f,c+=d):(l&&(u+=l,l="",c=0),u+=f))}else l&&(u+=l,h+=c),a.push(u),s.push(h),u="",l="",c=0,h=0}return a.length||u||(u=t,l="",c=0),l&&(u+=l),u&&(a.push(u),s.push(h)),1===a.length&&(h+=r),{accumWidth:h,lines:a,linesWidths:s}}},62973:(t,e,n)=>{"use strict";n.d(e,{U:()=>r});var i=n(52278);function r(t,e,n){var r=e.smooth,o=e.points;if(o&&o.length>=2){if(r){var a=function(t,e,n,r){var o,a,s,u,l=[],c=[],h=[],p=[];if(r){s=[1/0,1/0],u=[-1/0,-1/0];for(var f=0,d=t.length;f<d;f++)(0,i.min)(s,s,t[f]),(0,i.max)(u,u,t[f]);(0,i.min)(s,s,r[0]),(0,i.max)(u,u,r[1])}for(f=0,d=t.length;f<d;f++){var g=t[f];if(n)o=t[f?f-1:d-1],a=t[(f+1)%d];else{if(0===f||f===d-1){l.push((0,i.clone)(t[f]));continue}o=t[f-1],a=t[f+1]}(0,i.sub)(c,a,o),(0,i.scale)(c,c,e);var v=(0,i.distance)(g,o),y=(0,i.distance)(g,a),m=v+y;0!==m&&(v/=m,y/=m),(0,i.scale)(h,c,-v),(0,i.scale)(p,c,y);var _=(0,i.add)([],g,h),x=(0,i.add)([],g,p);r&&((0,i.max)(_,_,s),(0,i.min)(_,_,u),(0,i.max)(x,x,s),(0,i.min)(x,x,u)),l.push(_),l.push(x)}return n&&l.push(l.shift()),l}(o,r,n,e.smoothConstraint);t.moveTo(o[0][0],o[0][1]);for(var s=o.length,u=0;u<(n?s:s-1);u++){var l=a[2*u],c=a[2*u+1],h=o[(u+1)%s];t.bezierCurveTo(l[0],l[1],c[0],c[1],h[0],h[1])}}else{t.moveTo(o[0][0],o[0][1]);u=1;for(var p=o.length;u<p;u++)t.lineTo(o[u][0],o[u][1])}n&&t.closePath()}}},81969:(t,e,n)=>{"use strict";n.d(e,{M7:()=>a,Op:()=>o,eB:()=>r});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,u=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=u;var l=n&&n.lineWidth;return l?(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,l,!0)),i(2*s)===i(2*u)&&(t.y1=t.y2=a(s,l,!0)),t):t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var u=n&&n.lineWidth;return u?(t.x=a(i,u,!0),t.y=a(r,u,!0),t.width=Math.max(a(i+o,u,!1)-t.x,0===o?0:1),t.height=Math.max(a(r+s,u,!1)-t.y,0===s?0:1),t):t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2===0?r/2:(r+(n?1:-1))/2}},74492:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(1344),r=n(4995),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.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,u=Math.cos(o),l=Math.sin(o);t.moveTo(u*r+n,l*r+i),t.arc(n,i,r,o,a,!s)},e}(r.Ay);a.prototype.type="arc";const s=a},39422:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});var i=n(1344),r=n(4995),o=n(52278),a=n(22042),s=[],u=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function l(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?a.rD:a.Yb)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?a.rD:a.Yb)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?a.z7:a.k3)(t.x1,t.cpx1,t.x2,e),(n?a.z7:a.k3)(t.y1,t.cpy1,t.y2,e)]}var c=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new u},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,u=e.cpx1,l=e.cpy1,c=e.cpx2,h=e.cpy2,p=e.percent;0!==p&&(t.moveTo(n,i),null==c||null==h?(p<1&&((0,a.kx)(n,u,r,p,s),u=s[1],r=s[2],(0,a.kx)(i,l,o,p,s),l=s[1],o=s[2]),t.quadraticCurveTo(u,l,r,o)):(p<1&&((0,a.YT)(n,u,c,r,p,s),u=s[1],c=s[2],r=s[3],(0,a.YT)(i,l,h,o,p,s),l=s[1],h=s[2],o=s[3]),t.bezierCurveTo(u,l,c,h,r,o)))},e.prototype.pointAt=function(t){return l(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=l(this.shape,t,!0);return o.normalize(e,e)},e}(r.Ay);c.prototype.type="bezier-curve";const h=c},39598:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(1344),r=n(4995),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.Ay);a.prototype.type="circle";const s=a},54230:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(1344),r=n(4995),o=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=.5522848,i=e.cx,r=e.cy,o=e.rx,a=e.ry,s=o*n,u=a*n;t.moveTo(i-o,r),t.bezierCurveTo(i-o,r-u,i-s,r-a,i,r-a),t.bezierCurveTo(i+s,r-a,i+o,r-u,i+o,r),t.bezierCurveTo(i+o,r+u,i+s,r+a,i,r+a),t.bezierCurveTo(i-s,r+a,i-o,r+u,i-o,r),t.closePath()},e}(r.Ay);a.prototype.type="ellipse";const s=a},46416:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n(1344),r=n(4995),o=n(81969),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},u=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){var n,i,r,s;if(this.subPixelOptimize){var u=(0,o.eB)(a,e,this.style);n=u.x1,i=u.y1,r=u.x2,s=u.y2}else 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))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.Ay);u.prototype.type="line";const l=u},11694:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var i=n(1344),r=n(4995),o=n(62973),a=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!0)},e}(r.Ay);s.prototype.type="polygon";const u=s},50082:(t,e,n)=>{"use strict";n.d(e,{A:()=>u});var i=n(1344),r=n(4995),o=n(62973),a=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},s=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){o.U(t,e,!1)},e}(r.Ay);s.prototype.type="polyline";const u=s},86159:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var i=n(1344),r=n(4995);var o=n(81969),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},u=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){var n,i,r,a;if(this.subPixelOptimize){var u=(0,o.Op)(s,e,this.style);n=u.x,i=u.y,r=u.width,a=u.height,u.r=e.r,e=u}else n=e.x,i=e.y,r=e.width,a=e.height;e.r?function(t,e){var n,i,r,o,a,s=e.x,u=e.y,l=e.width,c=e.height,h=e.r;l<0&&(s+=l,l=-l),c<0&&(u+=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>l&&(n*=l/(a=n+i),i*=l/a),r+o>l&&(r*=l/(a=r+o),o*=l/a),i+r>c&&(i*=c/(a=i+r),r*=c/a),n+o>c&&(n*=c/(a=n+o),o*=c/a),t.moveTo(s+n,u),t.lineTo(s+l-i,u),0!==i&&t.arc(s+l-i,u+i,i,-Math.PI/2,0),t.lineTo(s+l,u+c-r),0!==r&&t.arc(s+l-r,u+c-r,r,0,Math.PI/2),t.lineTo(s+o,u+c),0!==o&&t.arc(s+o,u+c-o,o,Math.PI/2,Math.PI),t.lineTo(s,u+n),0!==n&&t.arc(s+n,u+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,i,r,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.Ay);u.prototype.type="rect";const l=u},97772:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var i=n(1344),r=n(4995),o=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.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)},e}(r.Ay);a.prototype.type="ring";const s=a},67426:(t,e,n)=>{"use strict";n.d(e,{A:()=>D});var i=n(1344),r=n(4995),o=n(37653),a=Math.PI,s=2*a,u=Math.sin,l=Math.cos,c=Math.acos,h=Math.atan2,p=Math.abs,f=Math.sqrt,d=Math.max,g=Math.min,v=1e-4;function y(t,e,n,i,r,o,a){var s=t-n,u=e-i,l=(a?o:-o)/f(s*s+u*u),c=l*u,h=-l*s,p=t+c,g=e+h,v=n+c,y=i+h,m=(p+v)/2,_=(g+y)/2,x=v-p,D=y-g,A=x*x+D*D,b=r-o,C=p*y-v*g,w=(D<0?-1:1)*f(d(0,b*b*A-C*C)),S=(C*D-x*w)/A,M=(-C*x-D*w)/A,T=(C*D+x*w)/A,k=(-C*x+D*w)/A,I=S-m,F=M-_,E=T-m,O=k-_;return I*I+F*F>E*E+O*O&&(S=T,M=k),{cx:S,cy:M,x0:-c,y0:-h,x1:S*(r/b-1),y1:M*(r/b-1)}}function m(t,e){var n,i=d(e.r,0),r=d(e.r0||0,0),m=i>0;if(m||r>0){if(m||(i=r,r=0),r>i){var _=i;i=r,r=_}var x=e.startAngle,D=e.endAngle;if(!isNaN(x)&&!isNaN(D)){var A=e.cx,b=e.cy,C=!!e.clockwise,w=p(D-x),S=w>s&&w%s;if(S>v&&(w=S),i>v)if(w>s-v)t.moveTo(A+i*l(x),b+i*u(x)),t.arc(A,b,i,x,D,!C),r>v&&(t.moveTo(A+r*l(D),b+r*u(D)),t.arc(A,b,r,D,x,C));else{var M=void 0,T=void 0,k=void 0,I=void 0,F=void 0,E=void 0,O=void 0,P=void 0,B=void 0,L=void 0,N=void 0,R=void 0,z=void 0,V=void 0,H=void 0,W=void 0,G=i*l(x),U=i*u(x),j=r*l(D),X=r*u(D),Y=w>v;if(Y){var q=e.cornerRadius;q&&(M=(n=function(t){var e;if((0,o.isArray)(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(q))[0],T=n[1],k=n[2],I=n[3]);var Z=p(i-r)/2;if(F=g(Z,k),E=g(Z,I),O=g(Z,M),P=g(Z,T),N=B=d(F,E),R=L=d(O,P),(B>v||L>v)&&(z=i*l(D),V=i*u(D),H=r*l(x),W=r*u(x),w<a)){var $=function(t,e,n,i,r,o,a,s){var u=n-t,l=i-e,c=a-r,h=s-o,p=h*u-c*l;if(!(p*p<v))return[t+(p=(c*(e-o)-h*(t-r))/p)*u,e+p*l]}(G,U,H,W,z,V,j,X);if($){var K=G-$[0],Q=U-$[1],J=z-$[0],tt=V-$[1],et=1/u(c((K*J+Q*tt)/(f(K*K+Q*Q)*f(J*J+tt*tt)))/2),nt=f($[0]*$[0]+$[1]*$[1]);N=g(B,(i-nt)/(et+1)),R=g(L,(r-nt)/(et-1))}}}if(Y)if(N>v){var it=g(k,N),rt=g(I,N),ot=y(H,W,G,U,i,it,C),at=y(z,V,j,X,i,rt,C);t.moveTo(A+ot.cx+ot.x0,b+ot.cy+ot.y0),N<B&&it===rt?t.arc(A+ot.cx,b+ot.cy,N,h(ot.y0,ot.x0),h(at.y0,at.x0),!C):(it>0&&t.arc(A+ot.cx,b+ot.cy,it,h(ot.y0,ot.x0),h(ot.y1,ot.x1),!C),t.arc(A,b,i,h(ot.cy+ot.y1,ot.cx+ot.x1),h(at.cy+at.y1,at.cx+at.x1),!C),rt>0&&t.arc(A+at.cx,b+at.cy,rt,h(at.y1,at.x1),h(at.y0,at.x0),!C))}else t.moveTo(A+G,b+U),t.arc(A,b,i,x,D,!C);else t.moveTo(A+G,b+U);if(r>v&&Y)if(R>v){it=g(M,R),ot=y(j,X,z,V,r,-(rt=g(T,R)),C),at=y(G,U,H,W,r,-it,C);t.lineTo(A+ot.cx+ot.x0,b+ot.cy+ot.y0),R<L&&it===rt?t.arc(A+ot.cx,b+ot.cy,R,h(ot.y0,ot.x0),h(at.y0,at.x0),!C):(rt>0&&t.arc(A+ot.cx,b+ot.cy,rt,h(ot.y0,ot.x0),h(ot.y1,ot.x1),!C),t.arc(A,b,r,h(ot.cy+ot.y1,ot.cx+ot.x1),h(at.cy+at.y1,at.cx+at.x1),C),it>0&&t.arc(A+at.cx,b+at.cy,it,h(at.y1,at.x1),h(at.y0,at.x0),!C))}else t.lineTo(A+j,b+X),t.arc(A,b,r,D,x,C);else t.lineTo(A+j,b+X)}else t.moveTo(A,b);t.closePath()}}}var _=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},x=function(t){function e(e){return t.call(this,e)||this}return(0,i.__extends)(e,t),e.prototype.getDefaultShape=function(){return new _},e.prototype.buildPath=function(t,e){m(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.Ay);x.prototype.type="sector";const D=x},90446:(t,e,n)=>{"use strict";n.d(e,{$2:()=>s,Cv:()=>l,MD:()=>b,OH:()=>x,OS:()=>_,Pt:()=>m,WG:()=>w,XP:()=>h,Xu:()=>A,Z1:()=>C,bn:()=>D,dX:()=>g,eQ:()=>f,nV:()=>p,sL:()=>y,sZ:()=>d,si:()=>v});var i=n(37653),r=n(98259),o=n(682),a=Math.round;function s(t){var e;if(t&&"transparent"!==t){if("string"===typeof t&&t.indexOf("rgba")>-1){var n=(0,r.parse)(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var u=1e-4;function l(t){return t<u&&t>-u}function c(t){return a(1e3*t)/1e3}function h(t){return a(1e4*t)/1e4}function p(t){return"matrix("+c(t[0])+","+c(t[1])+","+c(t[2])+","+c(t[3])+","+h(t[4])+","+h(t[5])+")"}var f={left:"start",right:"end",center:"middle",middle:"middle"};function d(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}function g(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function v(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function y(t){return t&&!!t.image}function m(t){return y(t)||function(t){return t&&!!t.svgElement}(t)}function _(t){return"linear"===t.type}function x(t){return"radial"===t.type}function D(t){return t&&("linear"===t.type||"radial"===t.type)}function A(t){return"url(#"+t+")"}function b(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function C(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*i.RADIAN_TO_DEGREE,o=(0,i.retrieve2)(t.scaleX,1),s=(0,i.retrieve2)(t.scaleY,1),u=t.skewX||0,l=t.skewY||0,c=[];return(e||n)&&c.push("translate("+e+"px,"+n+"px)"),r&&c.push("rotate("+r+")"),1===o&&1===s||c.push("scale("+o+","+s+")"),(u||l)&&c.push("skew("+a(u*i.RADIAN_TO_DEGREE)+"deg, "+a(l*i.RADIAN_TO_DEGREE)+"deg)"),c.join(" ")}var w=o.A.hasGlobalWindow&&(0,i.isFunction)(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!==typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null}},98259:(t,e,n)=>{"use strict";n.r(e),n.d(e,{fastLerp:()=>D,fastMapToColor:()=>A,lerp:()=>b,lift:()=>_,liftColor:()=>F,lum:()=>T,mapToColor:()=>C,modifyAlpha:()=>S,modifyHSL:()=>w,parse:()=>y,random:()=>k,stringify:()=>M,toHex:()=>x});var i=n(27080),r=n(37653),o={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 a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function u(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?a(parseFloat(e)/100*255):a(parseInt(e,10))}function l(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?s(parseFloat(e)/100):s(parseFloat(e))}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 p(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function f(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new i.Ay(20),g=null;function v(t,e){g&&f(g,e),g=d.put(t,g||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return f(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return f(e,o[i]),v(t,e),e;var r,a=i.length;if("#"===i.charAt(0))return 4===a||5===a?(r=parseInt(i.slice(1,4),16))>=0&&r<=4095?(p(e,(3840&r)>>4|(3840&r)>>8,240&r|(240&r)>>4,15&r|(15&r)<<4,5===a?parseInt(i.slice(4),16)/15:1),v(t,e),e):void p(e,0,0,0,1):7===a||9===a?(r=parseInt(i.slice(1,7),16))>=0&&r<=16777215?(p(e,(16711680&r)>>16,(65280&r)>>8,255&r,9===a?parseInt(i.slice(7),16)/255:1),v(t,e),e):void p(e,0,0,0,1):void 0;var s=i.indexOf("("),c=i.indexOf(")");if(-1!==s&&c+1===a){var h=i.substr(0,s),g=i.substr(s+1,c-(s+1)).split(","),y=1;switch(h){case"rgba":if(4!==g.length)return 3===g.length?p(e,+g[0],+g[1],+g[2],1):p(e,0,0,0,1);y=l(g.pop());case"rgb":return g.length>=3?(p(e,u(g[0]),u(g[1]),u(g[2]),3===g.length?y:l(g[3])),v(t,e),e):void p(e,0,0,0,1);case"hsla":return 4!==g.length?void p(e,0,0,0,1):(g[3]=l(g[3]),m(g,e),v(t,e),e);case"hsl":return 3!==g.length?void p(e,0,0,0,1):(m(g,e),v(t,e),e);default:return}}p(e,0,0,0,1)}}function m(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=l(t[1]),r=l(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return p(e=e||[],a(255*c(s,o,n+1/3)),a(255*c(s,o,n)),a(255*c(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function _(t,e){var n=y(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:n[i]<0&&(n[i]=0);return M(n,4===n.length?"rgba":"rgb")}}function x(t){var e=y(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function D(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),u=e[r],l=e[o],c=i-r;return n[0]=a(h(u[0],l[0],c)),n[1]=a(h(u[1],l[1],c)),n[2]=a(h(u[2],l[2],c)),n[3]=s(h(u[3],l[3],c)),n}}var A=D;function b(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),u=y(e[r]),l=y(e[o]),c=i-r,p=M([a(h(u[0],l[0],c)),a(h(u[1],l[1],c)),a(h(u[2],l[2],c)),s(h(u[3],l[3],c))],"rgba");return n?{color:p,leftIndex:r,rightIndex:o,value:i}:p}}var C=b;function w(t,e,n,i){var r,o=y(t);if(t)return o=function(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),u=s-a,l=(s+a)/2;if(0===u)e=0,n=0;else{n=l<.5?u/(s+a):u/(2-s-a);var c=((s-i)/6+u/2)/u,h=((s-r)/6+u/2)/u,p=((s-o)/6+u/2)/u;i===s?e=p-h:r===s?e=1/3+c-p:o===s&&(e=2/3+h-c),e<0&&(e+=1),e>1&&(e-=1)}var f=[360*e,n,l];return null!=t[3]&&f.push(t[3]),f}}(o),null!=e&&(o[0]=(r=e,(r=Math.round(r))<0?0:r>360?360:r)),null!=n&&(o[1]=l(n)),null!=i&&(o[2]=l(i)),M(m(o),"rgba")}function S(t,e){var n=y(t);if(n&&null!=e)return n[3]=s(e),M(n,"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+")"}}function T(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function k(){return M([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var I=new i.Ay(100);function F(t){if((0,r.isString)(t)){var e=I.get(t);return e||(e=_(t,-.1),I.put(t,e)),e}if((0,r.isGradientObject)(t)){var n=(0,r.extend)({},t);return n.colorStops=(0,r.map)(t.colorStops,(function(t){return{offset:t.offset,color:_(t.color,-.1)}})),n}return t}},85277:(t,e,n)=>{"use strict";n.r(e),n.d(e,{dispose:()=>st,disposeAll:()=>ut,getElementSSRData:()=>ht,getInstance:()=>lt,init:()=>at,registerPainter:()=>ct,registerSSRDataGetter:()=>pt,version:()=>ft});var i=n(682),r=n(37653),o=n(1344),a=n(52278),s=function(t,e){this.target=t,this.topTarget=e&&e.topTarget};const u=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new s(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new s(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,u=this._dropTarget;this._dropTarget=a,e!==a&&(u&&a!==u&&this.handler.dispatchToElement(new s(u,t),"dragleave",t.event),a&&a!==u&&this.handler.dispatchToElement(new s(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new s(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new s(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}();var l=n(49870),c=n(47981),h=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o<a;o++){var s=i[o],u=c.Yo(n,s,{});r.points.push([u.zrX,u.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in f)if(f.hasOwnProperty(e)){var n=f[e](this._track,t);if(n)return n}},t}();function p(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var f={pinch:function(t,e){var n=t.length;if(n){var i,r=(t[n-1]||{}).points,o=(t[n-2]||{}).points||r;if(o&&o.length>1&&r&&r.length>1){var a=p(r)/p(o);!isFinite(a)&&(a=1),e.pinchScale=a;var s=[((i=r)[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}},d=n(82759),g="silent";function v(){c.ds(this.event)}var y=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,o.__extends)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(l.A),m=function(t,e){this.x=t,this.y=e},_=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],x=new d.A(0,0,0,0),D=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new m(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new y,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new u(a),a}return(0,o.__extends)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(r.each(_,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=C(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(o=(r=this.findHover(r.x,r.y)).target);var a=this._hovered=i?new m(e,n):this.findHover(e,n),s=a.target,u=this.proxy;u.setCursor&&u.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)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new m(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var i=(t=t||{}).target;if(!i||!i.silent){for(var r="on"+e,o=function(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:v}}(e,t,n);i&&(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,!o.cancelBubble););o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new m(t,e);if(b(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,u=new d.A(t-s,e-s,a,a),l=i.length-1;l>=0;l--){var c=i[l];c===n||c.ignore||c.ignoreCoarsePointer||c.parent&&c.parent.ignoreCoarsePointer||(x.copy(c.getBoundingRect()),c.transform&&x.applyTransform(c.transform),x.intersect(u)&&o.push(c))}if(o.length)for(var h=Math.PI/12,p=2*Math.PI,f=0;f<s;f+=4)for(var g=0;g<p;g+=h){if(b(o,r,t+f*Math.cos(g),e+f*Math.sin(g),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new h);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;var o=new m;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(l.A);function A(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0);var s=i.__hostTarget;i=s||i.parent}return!r||g}return!1}function b(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=A(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==g)){e.target=a;break}}}function C(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}r.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){D.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,s=C(this,r,o);if("mouseup"===t&&s||(i=(n=this.findHover(r,o)).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||a.dist(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));const w=D;var S=n(92323),M=n(40643),T=!1;function k(){T||(T=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function I(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}const F=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=I}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,S.A)(n,I)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var u=a[s];t.__dirty&&(u.__dirty|=M.M),this._updateAndAddDisplayable(u,e,n)}t.__dirty=0}else{var l=t;e&&e.length?l.__clipPaths=e:l.__clipPaths&&l.__clipPaths.length>0&&(l.__clipPaths=[]),isNaN(l.z)&&(k(),l.z=0),isNaN(l.z2)&&(k(),l.z2=0),isNaN(l.zlevel)&&(k(),l.zlevel=0),this._displayList[this._displayListLen++]=l}var c=t.getDecalElement&&t.getDecalElement();c&&this._updateAndAddDisplayable(c,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var i=r.indexOf(this._roots,t);i>=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();const E=i.A.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var O=n(26940);function P(){return(new Date).getTime()}const B=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return(0,o.__extends)(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){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=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=P()-this._pausedTime,n=e-this._time,i=this._head;i;){var r=i.next;i.step(e,n)?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,E((function e(){t._running&&(E(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=P(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=P(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=P()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new O.A(t,e.loop);return this.addAnimator(n),n},e}(l.A);var L=i.A.domSupported,N=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1};return{mouse:t,touch:["touchstart","touchend","touchmove"],pointer:r.map(t,(function(t){var n=t.replace("mouse","pointer");return e.hasOwnProperty(n)?n:t}))}}(),R=["mousemove","mouseup"],z=["pointermove","pointerup"],V=!1;function H(t){var e=t.pointerType;return"pen"===e||"touch"===e}function W(t){t&&(t.zrByTouch=!0)}function G(t,e){for(var n=e,i=!1;n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return i}var U=function(t,e){this.stopPropagation=r.noop,this.stopImmediatePropagation=r.noop,this.preventDefault=r.noop,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},j={mousedown:function(t){t=(0,c.e0)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,c.e0)(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=(0,c.e0)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){G(this,(t=(0,c.e0)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){V=!0,t=(0,c.e0)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){V||(t=(0,c.e0)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){W(t=(0,c.e0)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),j.mousemove.call(this,t),j.mousedown.call(this,t)},touchmove:function(t){W(t=(0,c.e0)(this.dom,t)),this.handler.processGesture(t,"change"),j.mousemove.call(this,t)},touchend:function(t){W(t=(0,c.e0)(this.dom,t)),this.handler.processGesture(t,"end"),j.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&j.click.call(this,t)},pointerdown:function(t){j.mousedown.call(this,t)},pointermove:function(t){H(t)||j.mousemove.call(this,t)},pointerup:function(t){j.mouseup.call(this,t)},pointerout:function(t){H(t)||j.mouseout.call(this,t)}};r.each(["click","dblclick","contextmenu"],(function(t){j[t]=function(e){e=(0,c.e0)(this.dom,e),this.trigger(t,e)}}));var X={pointermove:function(t){H(t)||X.mousemove.call(this,t)},pointerup:function(t){X.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function Y(t,e){var n=e.domHandlers;i.A.pointerEventsSupported?r.each(N.pointer,(function(i){Z(e,i,(function(e){n[i].call(t,e)}))})):(i.A.touchEventsSupported&&r.each(N.touch,(function(i){Z(e,i,(function(r){n[i].call(t,r),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),r.each(N.mouse,(function(i){Z(e,i,(function(r){r=(0,c.mK)(r),e.touching||n[i].call(t,r)}))})))}function q(t,e){function n(n){Z(e,n,(function(i){i=(0,c.mK)(i),G(t,i.target)||(i=function(t,e){return(0,c.e0)(t.dom,new U(t,e),!0)}(t,i),e.domHandlers[n].call(t,i))}),{capture:!0})}i.A.pointerEventsSupported?r.each(z,n):i.A.touchEventsSupported||r.each(R,n)}function Z(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,c.q2)(t.domTarget,e,n,i)}function $(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,c.f)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var K=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e};const Q=function(t){function e(e,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=e,i.painterRoot=n,i._localHandlerScope=new K(e,j),L&&(i._globalHandlerScope=new K(document,X)),Y(i,i._localHandlerScope),i}return(0,o.__extends)(e,t),e.prototype.dispose=function(){$(this._localHandlerScope),L&&$(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,L&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?q(this,e):$(e)}},e}(l.A);var J=n(98259),tt=n(83859),et=n(55741),nt={},it={};var rt,ot=function(){function t(t,e,n){var o=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var a=new F,s=n.renderer||"canvas";nt[s]||(s=r.keys(nt)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new nt[s](e,a,n,t),l=n.ssr||u.ssrOnly;this.storage=a,this.painter=u;var c,h=i.A.node||i.A.worker||l?null:new Q(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?i.A.touchEventsSupported:!!p)&&(c=r.retrieve2(n.pointerSize,44)),this.handler=new w(a,u,h,u.root,c),this.animation=new B({stage:{update:l?null:function(){return o._flush(!0)}}}),l||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"===typeof t)return(0,J.lum)(t,1)<tt.ps;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,J.lum)(e[r].color,1);return(n/=i)<tt.ps}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=P();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=P();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof et.A&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){var t;this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,t=this.id,delete it[t])},t}();function at(t,e){var n=new ot(r.guid(),t,e);return it[n.id]=n,n}function st(t){t.dispose()}function ut(){for(var t in it)it.hasOwnProperty(t)&&it[t].dispose();it={}}function lt(t){return it[t]}function ct(t,e){nt[t]=e}function ht(t){if("function"===typeof rt)return rt(t)}function pt(t){rt=t}var ft="5.6.0"}}]);
|
|
3
|
-
//# sourceMappingURL=9823.f3f5cd8c.chunk.js.map
|