filesbox/web/dist/58813.17e15b89.async.js

77 lines
1.0 MiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[58813],{91104:function(ir,qt,J){"use strict";var st=J(67294),ae=J(20497),O=J(29640),Ce=J(79360),Fe=J(24770),Ee=J(27681),He=function(H,Bt){var Et={};for(var Z in H)Object.prototype.hasOwnProperty.call(H,Z)&&Bt.indexOf(Z)<0&&(Et[Z]=H[Z]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Z=Object.getOwnPropertySymbols(H);ut<Z.length;ut++)Bt.indexOf(Z[ut])<0&&Object.prototype.propertyIsEnumerable.call(H,Z[ut])&&(Et[Z[ut]]=H[Z[ut]]);return Et},We=(0,st.forwardRef)(function(H,Bt){var Et=H.chartRef,Z=H.style,ut=Z===void 0?{height:"inherit"}:Z,Re=H.className,Ue=H.loading,Ye=H.loadingTemplate,Ze=H.errorTemplate,de=He(H,["chartRef","style","className","loading","loadingTemplate","errorTemplate"]),le=(0,O.Z)(ae.oe,de),Yt=le.chart,Xe=le.container;return(0,st.useEffect)(function(){(0,Ce.J)(Et,Yt.current)},[Yt.current]),(0,st.useImperativeHandle)(Bt,function(){return{getChart:function(){return Yt.current}}}),st.createElement(Fe.Z,{errorTemplate:Ze},Ue&&st.createElement(Ee.Z,{loadingTemplate:Ye,theme:H.theme}),st.createElement("div",{className:Re,style:ut,ref:Xe}))});qt.Z=We},65337:function(ir,qt,J){"use strict";var st=J(67294),ae=J(20497),O=J(29640),Ce=J(79360),Fe=J(24770),Ee=J(27681),He=function(H,Bt){var Et={};for(var Z in H)Object.prototype.hasOwnProperty.call(H,Z)&&Bt.indexOf(Z)<0&&(Et[Z]=H[Z]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Z=Object.getOwnPropertySymbols(H);ut<Z.length;ut++)Bt.indexOf(Z[ut])<0&&Object.prototype.propertyIsEnumerable.call(H,Z[ut])&&(Et[Z[ut]]=H[Z[ut]]);return Et},We=(0,st.forwardRef)(function(H,Bt){var Et=H.chartRef,Z=H.style,ut=Z===void 0?{height:"inherit"}:Z,Re=H.className,Ue=H.loading,Ye=H.loadingTemplate,Ze=H.errorTemplate,de=He(H,["chartRef","style","className","loading","loadingTemplate","errorTemplate"]),le=(0,O.Z)(ae.Kj,de),Yt=le.chart,Xe=le.container;return(0,st.useEffect)(function(){(0,Ce.J)(Et,Yt.current)},[Yt.current]),(0,st.useImperativeHandle)(Bt,function(){return{getChart:function(){return Yt.current}}}),st.createElement(Fe.Z,{errorTemplate:Ze},Ue&&st.createElement(Ee.Z,{loadingTemplate:Ye,theme:H.theme}),st.createElement("div",{className:Re,style:ut,ref:Xe}))});qt.Z=We},64926:function(ir,qt,J){"use strict";var st=J(67294),ae=J(20497),O=J(29640),Ce=J(79360),Fe=J(24770),Ee=J(27681),He=function(H,Bt){var Et={};for(var Z in H)Object.prototype.hasOwnProperty.call(H,Z)&&Bt.indexOf(Z)<0&&(Et[Z]=H[Z]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Z=Object.getOwnPropertySymbols(H);ut<Z.length;ut++)Bt.indexOf(Z[ut])<0&&Object.prototype.propertyIsEnumerable.call(H,Z[ut])&&(Et[Z[ut]]=H[Z[ut]]);return Et},We=(0,st.forwardRef)(function(H,Bt){var Et=H.chartRef,Z=H.style,ut=Z===void 0?{height:"inherit"}:Z,Re=H.className,Ue=H.loading,Ye=H.loadingTemplate,Ze=H.errorTemplate,de=He(H,["chartRef","style","className","loading","loadingTemplate","errorTemplate"]),le=(0,O.Z)(ae.m,de),Yt=le.chart,Xe=le.container;return(0,st.useEffect)(function(){(0,Ce.J)(Et,Yt.current)},[Yt.current]),(0,st.useImperativeHandle)(Bt,function(){return{getChart:function(){return Yt.current}}}),st.createElement(Fe.Z,{errorTemplate:Ze},Ue&&st.createElement(Ee.Z,{loadingTemplate:Ye,theme:H.theme}),st.createElement("div",{className:Re,style:ut,ref:Xe}))});qt.Z=We},87551:function(ir,qt,J){"use strict";var st=J(67294),ae=J(20497),O=J(29640),Ce=J(79360),Fe=J(24770),Ee=J(27681),He=function(H,Bt){var Et={};for(var Z in H)Object.prototype.hasOwnProperty.call(H,Z)&&Bt.indexOf(Z)<0&&(Et[Z]=H[Z]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ut=0,Z=Object.getOwnPropertySymbols(H);ut<Z.length;ut++)Bt.indexOf(Z[ut])<0&&Object.prototype.propertyIsEnumerable.call(H,Z[ut])&&(Et[Z[ut]]=H[Z[ut]]);return Et},We=(0,st.forwardRef)(function(H,Bt){var Et=H.chartRef,Z=H.style,ut=Z===void 0?{height:"inherit"}:Z,Re=H.className,Ue=H.loading,Ye=H.loadingTemplate,Ze=H.errorTemplate,de=He(H,["chartRef","style","className","loading","loadingTemplate","errorTemplate"]),le=(0,O.Z)(ae.cQ,de),
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var ae=function(r,e){return ae=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])},ae(r,e)};function O(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");ae(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Ce=function(){return Ce=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Ce.apply(this,arguments)};function Fe(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(r);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(r,a[n])&&(t[a[n]]=r[a[n]]);return t}function Ee(r,e,t,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,t):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,a);else for(var s=r.length-1;s>=0;s--)(o=r[s])&&(i=(n<3?o(i):n>3?o(e,t,i):o(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i}function He(r,e){return function(t,a){e(t,a,r)}}function We(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function H(r,e,t,a){function n(i){return i instanceof t?i:new t(function(o){o(i)})}return new(t||(t=Promise))(function(i,o){function s(f){try{u(a.next(f))}catch(h){o(h)}}function l(f){try{u(a.throw(f))}catch(h){o(h)}}function u(f){f.done?i(f.value):n(f.value).then(s,l)}u((a=a.apply(r,e||[])).next())})}function Bt(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return l([u,f])}}function l(u){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,n=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){t.label=u[1];break}if(u[0]===6&&t.label<i[1]){t.label=i[1],i=u;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(u);break}i[2]&&t.ops.pop(),t.trys.pop();continue}u=e.call(r,t)}catch(f){u=[6,f],n=0}finally{a=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var Et=Object.create?function(r,e,t,a){a===void 0&&(a=t),Object.defineProperty(r,a,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,a){a===void 0&&(a=t),r[a]=e[t]};function Z(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&Et(e,r,t)}function ut(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],a=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&a>=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Re(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var a=t.call(r),n,i=[],o;try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i}function Ue(){for(var r=[],e=0;e<arguments.length;e++)r=r.concat(Re(arguments[e]));return r}function Ye(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;for(var a=Array(r),n=0,e=0;e<t;e++)for(var i=arguments[e],o=0,s=i.length;o<s;o++,n++)a[n]=i[o];return a}function Ze(r,e,t){if(
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var vv=function(r,e){return vv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,a){t.__proto__=a}||function(t,a){for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n])},vv(r,e)};function Ut(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");vv(r,e);function t(){this.constructor=r}r.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}var Om=function(){return Om=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Om.apply(this,arguments)};function MK(r,e){var t={};for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.indexOf(a)<0&&(t[a]=r[a]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,a=Object.getOwnPropertySymbols(r);n<a.length;n++)e.indexOf(a[n])<0&&Object.prototype.propertyIsEnumerable.call(r,a[n])&&(t[a[n]]=r[a[n]]);return t}function DK(r,e,t,a){var n=arguments.length,i=n<3?e:a===null?a=Object.getOwnPropertyDescriptor(e,t):a,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(r,e,t,a);else for(var s=r.length-1;s>=0;s--)(o=r[s])&&(i=(n<3?o(i):n>3?o(e,t,i):o(e,t))||i);return n>3&&i&&Object.defineProperty(e,t,i),i}function LK(r,e){return function(t,a){e(t,a,r)}}function IK(r,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,e)}function PK(r,e,t,a){function n(i){return i instanceof t?i:new t(function(o){o(i)})}return new(t||(t=Promise))(function(i,o){function s(f){try{u(a.next(f))}catch(h){o(h)}}function l(f){try{u(a.throw(f))}catch(h){o(h)}}function u(f){f.done?i(f.value):n(f.value).then(s,l)}u((a=a.apply(r,e||[])).next())})}function EK(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(f){return l([u,f])}}function l(u){if(a)throw new TypeError("Generator is already executing.");for(;t;)try{if(a=1,n&&(i=u[0]&2?n.return:u[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,u[1])).done)return i;switch(n=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return t.label++,{value:u[1],done:!1};case 5:t.label++,n=u[1],u=[0];continue;case 7:u=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){t.label=u[1];break}if(u[0]===6&&t.label<i[1]){t.label=i[1],i=u;break}if(i&&t.label<i[2]){t.label=i[2],t.ops.push(u);break}i[2]&&t.ops.pop(),t.trys.pop();continue}u=e.call(r,t)}catch(f){u=[6,f],n=0}finally{a=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var km=Object.create?function(r,e,t,a){a===void 0&&(a=t),Object.defineProperty(r,a,{enumerable:!0,get:function(){return e[t]}})}:function(r,e,t,a){a===void 0&&(a=t),r[a]=e[t]};function RK(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&km(e,r,t)}function Nm(r){var e=typeof Symbol=="function"&&Symbol.iterator,t=e&&r[e],a=0;if(t)return t.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&a>=r.length&&(r=void 0),{value:r&&r[a++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function uP(r,e){var t=typeof Symbol=="function"&&r[Symbol.iterator];if(!t)return r;var a=t.call(r),n,i=[],o;try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(s){o={error:s}}finally{try{n&&!n.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i}function OK(){for(var r=[],e=0;e<arguments.length;e++)r=r.concat(uP(arguments[e]));return r}function kK(){for(var r=0,e=0,t=arguments.length;e<t;e++)r+=arguments[e].length;for(var a=Array(r),n=0,e=0;e<t;e++)for(var i=arguments[e],o=0,s=i.length;o<s;o++,n++)a[n]=i[o];return a}function NK(r,e,t){
`),i=n.length;if(i===1)return O0(n[0],e,t,a);for(var o=new dt(0,0,0,0),s=0;s<n.length;s++){var l=O0(n[s],e,t,a);s===0?o.copy(l):o.union(l)}return o}function ps(r,e,t){return t==="right"?r-=e:t==="center"&&(r-=e/2),r}function qi(r,e,t){return t==="middle"?r-=e/2:t==="bottom"&&(r-=e),r}function Cu(r){return lr("\u56FD",r)}function nq(r,e){return platformApi.measureText(r,e)}function Nr(r,e){return typeof r=="string"?r.lastIndexOf("%")>=0?parseFloat(r)/100*e:parseFloat(r):r}function Au(r,e,t){var a=e.position||"inside",n=e.distance!=null?e.distance:5,i=t.height,o=t.width,s=i/2,l=t.x,u=t.y,f="left",h="top";if(a instanceof Array)l+=Nr(a[0],t.width),u+=Nr(a[1],t.height),f=null,h=null;else switch(a){case"left":l-=n,u+=s,f="right",h="middle";break;case"right":l+=n+o,u+=s,h="middle";break;case"top":l+=o/2,u-=n,f="center",h="bottom";break;case"bottom":l+=o/2,u+=i+n,f="center";break;case"inside":l+=o/2,u+=s,f="center",h="middle";break;case"insideLeft":l+=n,u+=s,h="middle";break;case"insideRight":l+=o-n,u+=s,f="right",h="middle";break;case"insideTop":l+=o/2,u+=n,f="center";break;case"insideBottom":l+=o/2,u+=i-n,f="center",h="bottom";break;case"insideTopLeft":l+=n,u+=n;break;case"insideTopRight":l+=o-n,u+=n,f="right";break;case"insideBottomLeft":l+=n,u+=i-n,h="bottom";break;case"insideBottomRight":l+=o-n,u+=i-n,f="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=f,r.verticalAlign=h,r}var ac="__zr_normal__",nc=Qr.concat(["ignore"]),C2=Xr(Qr,function(r,e){return r[e]=!0,r},{ignore:!1}),ji={},A2=new dt(0,0,0,0),ic=function(){function r(e){this.id=Lm(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return r.prototype._init=function(e){this.attr(e)},r.prototype.drift=function(e,t,a){switch(this.draggable){case"horizontal":t=0;break;case"vertical":e=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=e,n[5]+=t,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(e){var t=this._textContent;if(t&&(!t.ignore||e)){this.textConfig||(this.textConfig={});var a=this.textConfig,n=a.local,i=t.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=n?this:null;var u=!1;if(i.copyTransform(t),a.position!=null){var f=A2;a.layoutRect?f.copy(a.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(ji,a,f):Au(ji,a,f),i.x=ji.x,i.y=ji.y,o=ji.align,s=ji.verticalAlign;var h=a.origin;if(h&&a.rotation!=null){var v=void 0,c=void 0;h==="center"?(v=f.width*.5,c=f.height*.5):(v=Nr(h[0],f.width),c=Nr(h[1],f.height)),u=!0,i.originX=-i.x+v+(n?0:f.x),i.originY=-i.y+c+(n?0:f.y)}}a.rotation!=null&&(i.rotation=a.rotation);var p=a.offset;p&&(i.x+=p[0],i.y+=p[1],u||(i.originX=-p[0],i.originY=-p[1]));var d=a.inside==null?typeof a.position=="string"&&a.position.indexOf("inside")>=0:a.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,_=void 0;d&&this.canBeInsideText()?(y=a.insideFill,m=a.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(y),_=!0)):(y=a.outsideFill,m=a.outsideStroke,(y==null||y==="auto")&&(y=this.getOutsideFill()),(m==null||m==="auto")&&(m=this.getOutsideStroke(y),_=!0)),y=y||"#000",(y!==g.fill||m!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=y,g.stroke=m,g.autoStroke=_,g.align=o,g.verticalAlign=s,t.setDefaultTextStyle(g)),t.__dirty|=sr,l&&t.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(e){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?tc:$v},r.prototype.getOutsideStroke=function(e){var t=this.__zr&&this.__zr.getBackgroundColor(),a=typeof t=="string"&&qe(t);a||(a=[255,255,255,1]);for(var n=a[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)a[o]=a[o]*n+(i?0:255)*(1-
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var Mu={},Bn={};function P2(r){delete Bn[r]}function E2(r){if(!r)return!1;if(typeof r=="string")return du(r,1)<Jv;if(r.colorStops){for(var e=r.colorStops,t=0,a=e.length,n=0;n<a;n++)t+=du(e[n].color,1);return t/=a,t<Jv}return!1}var R2=function(){function r(e,t,a){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,a=a||{},this.dom=t,this.id=e;var i=new HP,o=a.renderer||"canvas";Mu[o]||(o=wt(Mu)[0]),a.useDirtyRect=a.useDirtyRect==null?!1:a.useDirtyRect;var s=new Mu[o](t,i,a,e),l=a.ssr||s.ssrOnly;this.storage=i,this.painter=s;var u=!Mt.node&&!Mt.worker&&!l?new b2(s.getViewportRoot(),s.root):null,f=a.useCoarsePointer,h=f==null||f==="auto"?Mt.touchEventsSupported:!!f,v=44,c;h&&(c=pt(a.pointerSize,v)),this.handler=new BP(i,s,u,s.root,c),this.animation=new p2({stage:{update:l?null:function(){return n._flush(!0)}}}),l||this.animation.start()}return r.prototype.add=function(e){!e||(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},r.prototype.remove=function(e){!e||(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},r.prototype.configLayer=function(e,t){this.painter.configLayer&&this.painter.configLayer(e,t),this.refresh()},r.prototype.setBackgroundColor=function(e){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=E2(e)},r.prototype.getBackgroundColor=function(){return this._backgroundColor},r.prototype.setDarkMode=function(e){this._darkMode=e},r.prototype.isDarkMode=function(){return this._darkMode},r.prototype.refreshImmediately=function(e){e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},r.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},r.prototype.flush=function(){this._flush(!1)},r.prototype._flush=function(e){var t,a=Xi();this._needsRefresh&&(t=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(t=!0,this.refreshHoverImmediately());var n=Xi();t?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-a})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},r.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},r.prototype.resize=function(e){e=e||{},this.painter.resize(e.width,e.height),this.handler.resize()},r.prototype.clearAnimation=function(){this.animation.clear()},r.prototype.getWidth=function(){return this.painter.getWidth()},r.prototype.getHeight=function(){return this.painter.getHeight()},r.prototype.setCursorStyle=function(e){this.handler.setCursorStyle(e)},r.prototype.findHover=function(e,t){return this.handler.findHover(e,t)},r.prototype.on=function(e,t,a){return this.handler.on(e,t,a),this},r.prototype.off=function(e,t){this.handler.off(e,t)},r.prototype.trigger=function(e,t){this.handler.trigger(e,t)},r.prototype.clear=function(){for(var e=this.storage.getRoots(),t=0;t<e.length;t++)e[t]instanceof it&&e[t].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},r.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,P2(this.id)},r}();function V0(r,e){var t=new R2(Lm(),r,e);return Bn[t.id]=t,t}function iq(r){r.dispose()}function oq(){for(var r in Bn)Bn.hasOwnProperty(r)&&Bn[r].dispose();Bn={}}function sq(r){return Bn[r]}function O2(r,e){Mu[r]=e}var lq="5.4.1",z0=1e-4,G0=20;function k2(r){return r.replace(/^\s+|\s+$/g,"")}function kt(r,e,t,a){var n=e[0],i=e[1],o=t[0],s=t[1],l=i-n,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(a)if(l>0){if(r<=n)return o;if(r>=i)return s}else{if(r>=n)return o;if(r<=i)return s}else{if(r===n)return o;
`);n=l_(e,t,a,n);for(var o=0,s=i.length;o<s;o++)i[o]=u_(i[o],n);return i.join(`
`)}function l_(r,e,t,a){a=a||{};var n=B({},a);n.font=e,t=pt(t,"..."),n.maxIterations=pt(a.maxIterations,2);var i=n.minChar=pt(a.minChar,0);n.cnCharWidth=lr("\u56FD",e);var o=n.ascCharWidth=lr("a",e);n.placeholder=pt(a.placeholder,"");for(var s=r=Math.max(0,r-1),l=0;l<i&&s>=o;l++)s-=o;var u=lr(t,e);return u>s&&(t="",u=0),s=r-u,n.ellipsis=t,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=r,n}function u_(r,e){var t=e.containerWidth,a=e.font,n=e.contentWidth;if(!t)return"";var i=lr(r,a);if(i<=t)return r;for(var o=0;;o++){if(i<=n||o>=e.maxIterations){r+=e.ellipsis;break}var s=o===0?pE(r,n,e.ascCharWidth,e.cnCharWidth):i>0?Math.floor(r.length*n/i):0;r=r.substr(0,s),i=lr(r,a)}return r===""&&(r=e.placeholder),r}function pE(r,e,t,a){for(var n=0,i=0,o=r.length;i<o&&n<e;i++){var s=r.charCodeAt(i);n+=0<=s&&s<=127?t:a}return i}function dE(r,e){r!=null&&(r+="");var t=e.overflow,a=e.padding,n=e.font,i=t==="truncate",o=Cu(n),s=pt(e.lineHeight,o),l=!!e.backgroundColor,u=e.lineOverflow==="truncate",f=e.width,h;f!=null&&(t==="break"||t==="breakAll")?h=r?h_(r,e.font,f,t==="breakAll",0).lines:[]:h=r?r.split(`
`):[];var v=h.length*s,c=pt(e.height,v);if(v>c&&u){var p=Math.floor(c/s);h=h.slice(0,p)}if(r&&i&&f!=null)for(var d=l_(f,n,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),g=0;g<h.length;g++)h[g]=u_(h[g],d);for(var y=c,m=0,g=0;g<h.length;g++)m=Math.max(lr(h[g],n),m);f==null&&(f=m);var _=m;return a&&(y+=a[0]+a[2],_+=a[1]+a[3],f+=a[1]+a[3]),l&&(_=f),{lines:h,height:c,outerWidth:_,outerHeight:y,lineHeight:s,calculatedLineHeight:o,contentWidth:m,contentHeight:v,width:f}}var gE=function(){function r(){}return r}(),f_=function(){function r(e){this.tokens=[],e&&(this.tokens=e)}return r}(),yE=function(){function r(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return r}();function mE(r,e){var t=new yE;if(r!=null&&(r+=""),!r)return t;for(var a=e.width,n=e.height,i=e.overflow,o=(i==="break"||i==="breakAll")&&a!=null?{width:a,accumWidth:0,breakAll:i==="breakAll"}:null,s=gc.lastIndex=0,l;(l=gc.exec(r))!=null;){var u=l.index;u>s&&yc(t,r.substring(s,u),e,o),yc(t,l[2],e,o,l[1]),s=gc.lastIndex}s<r.length&&yc(t,r.substring(s,r.length),e,o);var f=[],h=0,v=0,c=e.padding,p=i==="truncate",d=e.lineOverflow==="truncate";function g(k,V,F){k.width=V,k.lineHeight=F,h+=F,v=Math.max(v,V)}t:for(var y=0;y<t.lines.length;y++){for(var m=t.lines[y],_=0,S=0,b=0;b<m.tokens.length;b++){var x=m.tokens[b],w=x.styleName&&e.rich[x.styleName]||{},T=x.textPadding=w.padding,C=T?T[1]+T[3]:0,M=x.font=w.font||e.font;x.contentHeight=Cu(M);var D=pt(w.height,x.contentHeight);if(x.innerHeight=D,T&&(D+=T[0]+T[2]),x.height=D,x.lineHeight=ya(w.lineHeight,e.lineHeight,D),x.align=w&&w.align||e.align,x.verticalAlign=w&&w.verticalAlign||"middle",d&&n!=null&&h+x.lineHeight>n){b>0?(m.tokens=m.tokens.slice(0,b),g(m,S,_),t.lines=t.lines.slice(0,y+1)):t.lines=t.lines.slice(0,y);break t}var L=w.width,I=L==null||L==="auto";if(typeof L=="string"&&L.charAt(L.length-1)==="%")x.percentWidth=L,f.push(x),x.contentWidth=lr(x.text,M);else{if(I){var P=w.backgroundColor,E=P&&P.image;E&&(E=vE(E),Iu(E)&&(x.width=Math.max(x.width,E.width*D/E.height)))}var R=p&&a!=null?a-S:null;R!=null&&R<x.width?!I||R<C?(x.text="",x.width=x.contentWidth=0):(x.text=cE(x.text,R-C,M,e.ellipsis,{minChar:e.truncateMinChar}),x.width=x.contentWidth=lr(x.text,M)):x.contentWidth=lr(x.text,M)}x.width+=C,S+=x.width,w&&(_=Math.max(_,x.lineHeight))}g(m,S,_)}t.outerWidth=t.width=pt(a,v),t.outerHeight=t.height=pt(n,h),t.contentHeight=h,t.contentWidth=v,c&&(t.outerWidth+=c[1]+c[3],t.outerHeight+=c[0]+c[2]);for(var y=0;y<f.length;y++){var x=f[y],N=x.percentWidth;x.width=parseInt(N,10)/100*t.width}return t}function yc(r,e,t,a,n){var i=e==="",o=n&&t.rich[n]||{},s=r.lines,l=o.font||t.font,u=!1,f,h;if(a){var v=o.padding,c=v?v[1]+v[3]:0;if(o.width!=null&&o.width!=="auto"){var p=Nr(o.width,a.width)+c;s.length>0&&p+a.accumWidth>a.width&&(f=e.split(`
`),u=!0),a.accumWidth=p}else{var d=h_(e,l,a.width,a.breakAll,a.accumWidth);a.accumWidth=d.accumWidth+c,h=d.linesWidths,f=d.lines}}else f=e.split(`
`);for(var g=0;g<f.length;g++){var y=f[g],m=new gE;if(m.styleName=n,m.text=y,m.isLineHolder=!y&&!i,typeof o.width=="number"?m.width=o.width:m.width=h?h[g]:lr(y,l),!g&&!u){var _=(s[s.length-1]||(s[0]=new f_)).tokens,S=_.length;S===1&&_[0].isLineHolder?_[0]=m:(y||!S||i)&&_.push(m)}else s.push(new f_([m]))}}function _E(r){var e=r.charCodeAt(0);return e>=33&&e<=383}var SE=Xr(",&?/;] ".split(""),function(r,e){return r[e]=!0,r},{});function xE(r){return _E(r)?!!SE[r]:!0}function h_(r,e,t,a,n){for(var i=[],o=[],s="",l="",u=0,f=0,h=0;h<r.length;h++){var v=r.charAt(h);if(v===`
`){l&&(s+=l,f+=u),i.push(s),o.push(f),s="",l="",u=0,f=0;continue}var c=lr(v,e),p=a?!1:!xE(v);if(i.length?f+c>t:n+f+c>t){f?(s||l)&&(p?(s||(s=l,l="",u=0,f=u),i.push(s),o.push(f-u),l+=v,u+=c,s="",f=u):(l&&(s+=l,l="",u=0),i.push(s),o.push(f),s=v,f=c)):p?(i.push(l),o.push(u),l=v,u=c):(i.push(v),o.push(c));continue}f+=c,p?(l+=v,u+=c):(l&&(s+=l,l="",u=0),s+=v)}return!i.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(i.push(s),o.push(f)),i.length===1&&(f+=n),{accumWidth:f,lines:i,linesWidths:o}}var mc="__zr_style_"+Math.round(Math.random()*10),Hn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Pu={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Hn[mc]=!0;var v_=["z","z2","invisible"],bE=["invisible"],wE=function(r){Ut(e,r);function e(t){return r.call(this,t)||this}return e.prototype._init=function(t){for(var a=wt(t),n=0;n<a.length;n++){var i=a[n];i==="style"?this.useStyle(t[i]):r.prototype.attrKV.call(this,i,t[i])}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,a,n,i){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&TE(this,t,a)||o&&!o[0]&&!o[3])return!1;if(n&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(i&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},e.prototype.contain=function(t,a){return this.rectContain(t,a)},e.prototype.traverse=function(t,a){t.call(a,this)},e.prototype.rectContain=function(t,a){var n=this.transformCoordToLocal(t,a),i=this.getBoundingRect();return i.contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var a=this.transform,n=this.getBoundingRect(),i=this.style,o=i.shadowBlur||0,s=i.shadowOffsetX||0,l=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new dt(0,0,0,0)),a?dt.applyTransform(t,n,a):t.copy(n),(o||s||l)&&(t.width+=o*2+Math.abs(s),t.height+=o*2+Math.abs(l),t.x=Math.min(t.x,t.x+s-o),t.y=Math.min(t.y,t.y+l-o));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+u*2),t.height=Math.ceil(t.height+1+u*2))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new dt(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){t==="style"?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(t,a){t!=="style"?r.prototype.attrKV.call(this,t,a):this.style?this.setStyle(a):this.useStyle(a)},e.prototype.setStyle=function(t,a){return typeof t=="string"?this.style[t]=a:B(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=as,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&as)},e.prototype.styleUpdated=function(){this.__dirty&=~as},e.prototype.createStyle=function(t){return $l(Hn,t)},e.prototype.useStyle=function(t){t[mc]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[mc]},e.prototype._innerSaveToNormal=function(t){r.prototype._innerSaveToNormal.call(this,t);var a=this._normalState;t.style&&!a.style&&(a.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(t,a,v_)},e.prototype._applyStateObj=function(t,a,n,i,o,s){r.prototype._applyStateObj.call(this,t,a,n,i,o,s);var l=!(a&&i),u;if(a&&a.style?o?i?u=a.style:(u=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(u,a.style)):(u=this._mergeStyle(this.createStyle(),i?this.style:n.style),this._mergeStyle(u,a.style)):l&&(u=n.style),u)if(o){var f=this.style;i
yyyy`);var a=parseDate(e),n=t?"getUTC":"get",i=a[n+"FullYear"](),o=a[n+"Month"]()+1,s=a[n+"Date"](),l=a[n+"Hours"](),u=a[n+"Minutes"](),f=a[n+"Seconds"](),h=a[n+"Milliseconds"]();return r=r.replace("MM",pad(o,2)).replace("M",o).replace("yyyy",i).replace("yy",pad(i%100+"",2)).replace("dd",pad(s,2)).replace("d",s).replace("hh",pad(l,2)).replace("h",l).replace("mm",pad(u,2)).replace("m",u).replace("ss",pad(f,2)).replace("s",f).replace("SSS",pad(h,3)),r}function pq(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function ri(r,e){return e=e||"transparent",Y(r)?r:at(r)&&r.colorStops&&(r.colorStops[0]||{}).color||e}function Ju(r,e){if(e==="_blank"||e==="blank"){var t=window.open();t.opener=null,t.location.href=r}else window.open(r,e)}var $u=A,P1=["left","right","top","bottom","width","height"],ai=[["width","left","right"],["height","top","bottom"]];function tp(r,e,t,a,n){var i=0,o=0;a==null&&(a=Infinity),n==null&&(n=Infinity);var s=0;e.eachChild(function(l,u){var f=l.getBoundingRect(),h=e.childAt(u+1),v=h&&h.getBoundingRect(),c,p;if(r==="horizontal"){var d=f.width+(v?-v.x+f.x:0);c=i+d,c>a||l.newline?(i=0,c=d,o+=s+t,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(v?-v.y+f.y:0);p=o+g,p>n||l.newline?(i+=s+t,o=0,p=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=c+t:o=p+t)})}var ni=tp,dq=ft(tp,"vertical"),gq=ft(tp,"horizontal");function VR(r,e,t){var a=e.width,n=e.height,i=W(r.left,a),o=W(r.top,n),s=W(r.right,a),l=W(r.bottom,n);return(isNaN(i)||isNaN(parseFloat(r.left)))&&(i=0),(isNaN(s)||isNaN(parseFloat(r.right)))&&(s=a),(isNaN(o)||isNaN(parseFloat(r.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.bottom)))&&(l=n),t=so(t||0),{width:Math.max(s-i-t[1]-t[3],0),height:Math.max(l-o-t[0]-t[2],0)}}function fe(r,e,t){t=so(t||0);var a=e.width,n=e.height,i=W(r.left,a),o=W(r.top,n),s=W(r.right,a),l=W(r.bottom,n),u=W(r.width,a),f=W(r.height,n),h=t[2]+t[0],v=t[1]+t[3],c=r.aspect;switch(isNaN(u)&&(u=a-s-v-i),isNaN(f)&&(f=n-l-h-o),c!=null&&(isNaN(u)&&isNaN(f)&&(c>a/n?u=a*.8:f=n*.8),isNaN(u)&&(u=c*f),isNaN(f)&&(f=u/c)),isNaN(i)&&(i=a-s-u-v),isNaN(o)&&(o=n-l-f-h),r.left||r.right){case"center":i=a/2-u/2-t[3];break;case"right":i=a-u-v;break}switch(r.top||r.bottom){case"middle":case"center":o=n/2-f/2-t[0];break;case"bottom":o=n-f-h;break}i=i||0,o=o||0,isNaN(u)&&(u=a-v-i-(s||0)),isNaN(f)&&(f=n-h-o-(l||0));var p=new dt(i+t[3],o+t[0],u,f);return p.margin=t,p}function tf(r,e,t,a,n,i){var o=!n||!n.hv||n.hv[0],s=!n||!n.hv||n.hv[1],l=n&&n.boundingMode||"all";if(i=i||r,i.x=r.x,i.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new dt(0,0,+e.width||0,+e.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var f=r.getLocalTransform();u=u.clone(),u.applyTransform(f)}var h=fe(tt({width:u.width,height:u.height},e),t,a),v=o?h.x-u.x:0,c=s?h.y-u.y:0;return l==="raw"?(i.x=v,i.y=c):(i.x+=v,i.y+=c),i===r&&r.markRedraw(),!0}function zR(r,e){return r[ai[e][0]]!=null||r[ai[e][1]]!=null&&r[ai[e][2]]!=null}function Es(r){var e=r.layoutMode||r.constructor.layoutMode;return at(e)?e:e?{type:e}:null}function an(r,e,t){var a=t&&t.ignoreSize;!z(a)&&(a=[a,a]);var n=o(ai[0],0),i=o(ai[1],1);u(ai[0],r,n),u(ai[1],r,i);function o(f,h){var v={},c=0,p={},d=0,g=2;if($u(f,function(_){p[_]=r[_]}),$u(f,function(_){s(e,_)&&(v[_]=p[_]=e[_]),l(v,_)&&c++,l(p,_)&&d++}),a[h])return l(e,f[1])?p[f[2]]=null:l(e,f[2])&&(p[f[1]]=null),p;if(d===g||!c)return p;if(c>=g)return v;for(var y=0;y<f.length;y++){var m=f[y];if(!s(v,m)&&s(r,m)){v[m]=r[m];break}}return v}function s(f,h){return f.hasOwnProperty(h)}function l(f,h){return f[h]!=null&&f[h]!=="auto"}function u(f,h,v){$u(f,function(c){h[c]=v[c]})}}function lo(r){return E1({},r)}function E1(r,e){return e&&r&&$u(P1,function(t){e.hasOwnProperty(t)&&(r[t]=e[t])}),r}var GR=Tt(),uo=function(r){O(e,r);function e(t,a,n){var i=r.call(this,t,a,n)||this;return i.uid=no("ec_cpt_model"),i}return e.prototype.init=function(t,a,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,a){var n=Es(this),i=n?lo(t):{},o=a.getTheme();ct(t,o.get(this.mainType)
import { `+a+` } from 'echarts/components';
echarts.use([`+a+"]);"),U1[a]=!0)}})}var Y1=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(t,a,n,i,o,s){i=i||{},this.option=null,this._theme=new Ft(i),this._locale=new Ft(o),this._optionManager=s},e.prototype.setOption=function(t,a,n){var i=K1(a);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,a){return this._resetOption(t,K1(a))},e.prototype._resetOption=function(t,a){var n=!1,i=this._optionManager;if(!t||t==="recreate"){var o=i.mountOption(t==="recreate");!this.option||t==="recreate"?H1(this,o):(this.restoreData(),this._mergeOption(o,a)),n=!0}if((t==="timeline"||t==="media")&&this.restoreData(),!t||t==="recreate"||t==="timeline"){var s=i.getTimelineOption(this);s&&(n=!0,this._mergeOption(s,a))}if(!t||t==="recreate"||t==="media"){var l=i.getMediaOption(this);l.length&&A(l,function(u){n=!0,this._mergeOption(u,a)},this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,a){var n=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=j(),u=a&&a.replaceMergeMainTypeMap;WR(this),A(t,function(h,v){h!=null&&(Pt.hasClass(v)?v&&(s.push(v),l.set(v,!0)):n[v]=n[v]==null?nt(h):ct(n[v],h,!0))}),u&&u.each(function(h,v){Pt.hasClass(v)&&!l.get(v)&&(s.push(v),l.set(v,!0))}),Pt.topologicalTravel(s,Pt.getAllClassMainTypes(),f,this);function f(h){var v=ZR(this,h,Vt(t[h])),c=i.get(h),p=c?u&&u.get(h)?"replaceMerge":"normalMerge":"replaceAll",d=e_(c,v,p);K2(d,h,Pt),n[h]=null,i.set(h,null),o.set(h,0);var g=[],y=[],m=0,_,S;A(d,function(b,x){var w=b.existing,T=b.newOption;if(!T)w&&(w.mergeOption({},this),w.optionUpdated({},!1));else{var C=h==="series",M=Pt.getClass(h,b.keyInfo.subType,!C);if(!M){if(!1)var D,L;return}if(h==="tooltip"){if(_)return;_=!0}if(w&&w.constructor===M)w.name=b.keyInfo.name,w.mergeOption(T,this),w.optionUpdated(T,!1);else{var I=B({componentIndex:x},b.keyInfo);w=new M(T,this,this,I),B(w,I),b.brandNew&&(w.__requireNewView=!0),w.init(T,this,this),w.optionUpdated(null,!0)}}w?(g.push(w.option),y.push(w),m++):(g.push(void 0),y.push(void 0))},this),n[h]=g,i.set(h,y),o.set(h,m),h==="series"&&ef(this)}this._seriesIndices||ef(this)},e.prototype.getOption=function(){var t=nt(this.option);return A(t,function(a,n){if(Pt.hasClass(n)){for(var i=Vt(a),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!gs(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,t[n]=i}}),delete t[W1],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,a){var n=this._componentsMap.get(t);if(n){var i=n[a||0];if(i)return i;if(a==null){for(var o=0;o<n.length;o++)if(n[o])return n[o]}}},e.prototype.queryComponents=function(t){var a=t.mainType;if(!a)return[];var n=t.index,i=t.id,o=t.name,s=this._componentsMap.get(a);if(!s||!s.length)return[];var l;return n!=null?(l=[],A(Vt(n),function(u){s[u]&&l.push(s[u])})):i!=null?l=Z1("id",i,s):o!=null?l=Z1("name",o,s):l=Nt(s,function(u){return!!u}),X1(l,t)},e.prototype.findComponents=function(t){var a=t.query,n=t.mainType,i=s(a),o=i?this.queryComponents(i):Nt(this._componentsMap.get(n),function(u){return!!u});return l(X1(o,t));function s(u){var f=n+"Index",h=n+"Id",v=n+"Name";return u&&(u[f]!=null||u[h]!=null||u[v]!=null)?{mainType:n,index:u[f],id:u[h],name:u[v]}:null}function l(u){return t.filter?Nt(u,t.filter):u}},e.prototype.eachComponent=function(t,a,n){var i=this._componentsMap;if($(t)){var o=a,s=t;i.each(function(h,v){for(var c=0;h&&c<h.length;c++){var p=h[c];p&&s.call(o,v,p,p.componentIndex)}})}else for(var l=Y(t)?i.get(t):at(t)?this.findComponents(t):null,u=0;l&&u<l.length;u++){var f=l[u];f&&a.call(n,f,f.componentIndex)}},e.prototype.getSeriesByName=function(t){var a=ue(t,null);return Nt(this._componentsMap.get("series"),function(n){return!!n&&a!=null&&n.name===a})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},
`,`
`,`
`];function ce(r,e){return e.type=r,e}function _p(r){return r.type==="section"}function RS(r){return _p(r)?qO:jO}function OS(r){if(_p(r)){var e=0,t=r.blocks.length,a=t>1||t>0&&!r.noHeader;return A(r.blocks,function(n){var i=OS(n);i>=e&&(e=i+ +(a&&(!i||_p(n)&&!n.noHeader)))}),e}return 0}function qO(r,e,t,a){var n=e.noHeader,i=QO(OS(e)),o=[],s=e.blocks||[];Oe(!s||z(s)),s=s||[];var l=r.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(K(u,l)){var f=new bS(u[l],null);s.sort(function(p,d){return f.evaluate(p.sortParam,d.sortParam)})}else l==="seriesDesc"&&s.reverse()}A(s,function(p,d){var g=e.valueFormatter,y=RS(p)(g?B(B({},r),{valueFormatter:g}):r,p,d>0?i.html:0,a);y!=null&&o.push(y)});var h=r.renderMode==="richText"?o.join(i.richText):Sp(o.join(""),n?t:i.html);if(n)return h;var v=Jc(e.header,"ordinal",r.useUTC),c=ES(a,r.renderMode).nameStyle;return r.renderMode==="richText"?NS(r,v,c)+i.richText+h:Sp('<div style="'+c+";"+PS+';">'+Ke(v)+"</div>"+h,t)}function jO(r,e,t,a){var n=r.renderMode,i=e.noName,o=e.noValue,s=!e.markerType,l=e.name,u=r.useUTC,f=e.valueFormatter||r.valueFormatter||function(S){return S=z(S)?S:[S],G(S,function(b,x){return Jc(b,z(c)?c[x]:c,u)})};if(!(i&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",n),v=i?"":Jc(l,"ordinal",u),c=e.valueType,p=o?[]:f(e.value),d=!s||!i,g=!s&&i,y=ES(a,n),m=y.nameStyle,_=y.valueStyle;return n==="richText"?(s?"":h)+(i?"":NS(r,v,m))+(o?"":tk(r,p,d,g,_)):Sp((s?"":h)+(i?"":JO(v,!s,m))+(o?"":$O(p,d,g,_)),t)}}function kS(r,e,t,a,n,i){if(!!r){var o=RS(r),s={useUTC:n,renderMode:t,orderMode:a,markupStyleCreator:e,valueFormatter:r.valueFormatter};return o(s,r,0,i)}}function QO(r){return{html:XO[r],richText:KO[r]}}function Sp(r,e){var t='<div style="clear:both"></div>',a="margin: "+e+"px 0 0";return'<div style="'+a+";"+PS+';">'+r+t+"</div>"}function JO(r,e,t){var a=e?"margin-left:2px":"";return'<span style="'+t+";"+a+'">'+Ke(r)+"</span>"}function $O(r,e,t,a){var n=t?"10px":"20px",i=e?"float:right;margin-left:"+n:"";return r=z(r)?r:[r],'<span style="'+i+";"+a+'">'+G(r,function(o){return Ke(o)}).join("&nbsp;&nbsp;")+"</span>"}function NS(r,e,t){return r.markupStyleCreator.wrapRichTextStyle(e,t)}function tk(r,e,t,a,n){var i=[n],o=a?10:20;return t&&i.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(z(e)?e.join(" "):e,i)}function BS(r,e){var t=r.getData().getItemVisual(e,"style"),a=t[r.visualDrawType];return ri(a)}function VS(r,e){var t=r.get("padding");return t!=null?t:e==="richText"?[8,10]:10}var xp=function(){function r(){this.richTextStyles={},this._nextStyleNameId=K0()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(e,t,a){var n=a==="richText"?this._generateStyleName():null,i=BR({color:t,type:e,renderMode:a,markerId:n});return Y(i)?i:(this.richTextStyles[n]=i.style,i.content)},r.prototype.wrapRichTextStyle=function(e,t){var a={};z(t)?A(t,function(i){return B(a,i)}):B(a,t);var n=this._generateStyleName();return this.richTextStyles[n]=a,"{"+n+"|"+e+"}"},r}();function zS(r){var e=r.series,t=r.dataIndex,a=r.multipleSeries,n=e.getData(),i=n.mapDimensionsAll("defaultedTooltip"),o=i.length,s=e.getRawValue(t),l=z(s),u=BS(e,t),f,h,v,c;if(o>1||l&&!o){var p=ek(s,e,t,i,u);f=p.inlineValues,h=p.inlineValueTypes,v=p.blocks,c=p.inlineValues[0]}else if(o){var d=n.getDimensionInfo(i[0]);c=f=vo(n,t,i[0]),h=d.type}else c=f=l?s[0]:s;var g=fc(e),y=g&&e.name||"",m=n.getName(t),_=a?y:m;return ce("section",{header:y,noHeader:a||!g,sortParam:c,blocks:[ce("nameValue",{markerType:"item",markerColor:u,name:_,noName:!Rr(_),value:f,valueType:h})].concat(v||[])})}function ek(r,e,t,a,n){var i=e.getData(),o=Xr(r,function(h,v,c){var p=i.getDimensionInfo(c);return h=h||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];a.length?A(a,function(h){f(vo(i,t,h),h)}):A(r,f);function f(h,v){var c=i.getDimensionInfo(v);!c||c.otherDims.tooltip===!1||(o?u.push(ce("nameValue",{markerType:"subItem",markerColor:n,name:c.displayName,value:h,v
`:"";function a(n){var i=n.children,o=n.tag,s=n.attrs;return ZB(o,s)+Ke(n.text)+(i?""+t+G(i,function(l){return a(l)}).join(t)+t:"")+XB(o)}return a(r)}function KB(r,e,t){t=t||{};var a=t.newline?`
`:"",n=" {"+a,i=a+"}",o=G(wt(r),function(l){return l+n+G(wt(r[l]),function(u){return u+":"+r[l][u]+";"}).join(a)+i}).join(a),s=G(wt(e),function(l){return"@keyframes "+l+n+G(wt(e[l]),function(u){return u+n+G(wt(e[l][u]),function(f){var h=e[l][u][f];return f==="d"&&(h='path("'+h+'")'),f+":"+h+";"}).join(a)+i}).join(a)+i}).join(a);return!o&&!s?"":["<![CDATA[",o,s,"]]>"].join(a)}function vd(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Zb(r,e,t,a){return pe("svg","root",{width:r,height:e,xmlns:Wb,"xmlns:xlink":Ub,version:"1.1",baseProfile:"full",viewBox:a?"0 0 "+r+" "+e:!1},t)}var Xb={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"},Si="transform-origin";function qB(r,e,t){var a=B({},r.shape);B(a,e),r.buildPath(t,a);var n=new Hb;return n.reset(_0(r)),t.rebuildPath(n,1),n.generateStr(),n.getStr()}function jB(r,e){var t=e.originX,a=e.originY;(t||a)&&(r[Si]=t+"px "+a+"px")}var QB={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function Kb(r,e){var t=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[t]=r,t}function JB(r,e,t){var a=r.shape.paths,n={},i,o;if(A(a,function(l){var u=vd(t.zrId);u.animation=!0,Hf(l,{},u,!0);var f=u.cssAnims,h=u.cssNodes,v=wt(f),c=v.length;if(!!c){o=v[c-1];var p=f[o];for(var d in p){var g=p[d];n[d]=n[d]||{d:""},n[d].d+=g.d||""}for(var y in h){var m=h[y].animation;m.indexOf(o)>=0&&(i=m)}}}),!!i){e.d=!1;var s=Kb(n,t);return i.replace(o,s)}}function qb(r){return Y(r)?Xb[r]?"cubic-bezier("+Xb[r]+")":Ev(r)?r:"":""}function Hf(r,e,t,a){var n=r.animators,i=n.length,o=[];if(r instanceof Ip){var s=JB(r,e,t);if(s)o.push(s);else if(!i)return}else if(!i)return;for(var l={},u=0;u<i;u++){var f=n[u],h=[f.getMaxTime()/1e3+"s"],v=qb(f.getClip().easing),c=f.getDelay();v?h.push(v):h.push("linear"),c&&h.push(c/1e3+"s"),f.getLoop()&&h.push("infinite");var p=h.join(" ");l[p]=l[p]||[p,[]],l[p][1].push(f)}function d(m){var _=m[1],S=_.length,b={},x={},w={},T="animation-timing-function";function C(ot,bt,gt){for(var Q=ot.getTracks(),vt=ot.getMaxTime(),Kt=0;Kt<Q.length;Kt++){var At=Q[Kt];if(At.needsAnimate()){var te=At.keyframes,Jt=At.propName;if(gt&&(Jt=gt(Jt)),Jt)for(var Pe=0;Pe<te.length;Pe++){var Ga=te[Pe],nr=Math.round(Ga.time/vt*100)+"%",av=qb(Ga.easing),Tn=Ga.rawValue;(Y(Tn)||Dt(Tn))&&(bt[nr]=bt[nr]||{},bt[nr][Jt]=Ga.rawValue,av&&(bt[nr][T]=av))}}}}for(var M=0;M<S;M++){var D=_[M],L=D.targetName;L?L==="shape"&&C(D,x):!a&&C(D,b)}for(var I in b){var P={};E0(P,r),B(P,b[I]);var E=S0(P),R=b[I][T];w[I]=E?{transform:E}:{},jB(w[I],P),R&&(w[I][T]=R)}var N,k=!0;for(var I in x){w[I]=w[I]||{};var V=!N,R=x[I][T];V&&(N=new na);var F=N.len();N.reset(),w[I].d=qB(r,x[I],N);var U=N.len();if(!V&&F!==U){k=!1;break}R&&(w[I][T]=R)}if(!k)for(var I in w)delete w[I].d;if(!a)for(var M=0;M<S;M++){var D=_[M],L=D.targetName;L==="style"&&C(D,w,function(Q){return QB[Q]})}for(var q=wt(w),et=!0,rt,M=1;M<q.length;M++){var St=q[M-1],Rt=q[M];if(w[St][Si]!==w[Rt][Si]){et=!1;break}rt=w[St][Si]}if(et&&rt){for(var I in w)w[I][Si]&&delete w[I][Si];e[Si]=rt}if(Nt(q,function(ot){return wt(w[ot]).length>0}).length){var xt=Kb(w,t);return xt+" "+m[0]+" both"}}for(var g in l){var s=d(l[g]);s&&o.push(s)}if(o.length){var y=t.zrId+"-cls-"+t.cssClassIdx++;t.cssNodes["."+y]={animation:o.join(",")},e.class=y}}var nl=Math.round;function jb(r){return r&&Y(r.src)}function Qb(r){return r&&$(r.toDataURL)}function cd(r,e,t,a){WB(function(n,i){var o=n==
`+g.message)}var n=new it;n.add(a),n.isGeoSVGGraphicRoot=!0;var i=t.width,o=t.height,s=t.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,f=void 0,h=void 0,v=void 0;if(i!=null?(u=0,h=i):s&&(u=s.x,h=s.width),o!=null?(f=0,v=o):s&&(f=s.y,v=s.height),u==null||f==null){var c=a.getBoundingRect();u==null&&(u=c.x,h=c.width),f==null&&(f=c.y,v=c.height)}l=this._boundingRect=new dt(u,f,h,v)}if(s){var p=vC(s,l);a.scaleX=a.scaleY=p.scale,a.x=p.x,a.y=p.y}n.setClipPath(new Ct({shape:l.plain()}));var d=[];return A(t.named,function(g){QG.get(g.svgNodeTagLower)!=null&&(d.push(g),$G(g.el))}),{root:n,boundingRect:l,named:d}},r.prototype.useGraphic=function(e){var t=this._usedGraphicMap,a=t.get(e);return a||(a=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),t.set(e,a),a)},r.prototype.freeGraphic=function(e){var t=this._usedGraphicMap,a=t.get(e);a&&(t.removeKey(e),this._freedGraphics.push(a))},r}();function $G(r){r.silent=!1,r.isGroup&&r.traverse(function(e){e.silent=!1})}function tF(r){var e=[],t=j();return A(r,function(a){if(a.namedFrom==null){var n=new jG(a.name,a.el);e.push(n),t.set(a.name,n)}}),{regions:e,regionsMap:t}}function eF(r){if(!r.UTF8Encoding)return r;var e=r,t=e.UTF8Scale;t==null&&(t=1024);var a=e.features;return A(a,function(n){var i=n.geometry,o=i.encodeOffsets,s=i.coordinates;if(!!o)switch(i.type){case"LineString":i.coordinates=_C(s,o,t);break;case"Polygon":tg(s,o,t);break;case"MultiLineString":tg(s,o,t);break;case"MultiPolygon":A(s,function(l,u){return tg(l,o[u],t)})}}),e.UTF8Encoding=!1,e}function tg(r,e,t){for(var a=0;a<r.length;a++)r[a]=_C(r[a],e[a],t)}function _C(r,e,t){for(var a=[],n=e[0],i=e[1],o=0;o<r.length;o+=2){var s=r.charCodeAt(o)-64,l=r.charCodeAt(o+1)-64;s=s>>1^-(s&1),l=l>>1^-(l&1),s+=n,l+=i,n=s,i=l,a.push([s/t,l/t])}return a}function rF(r,e){return r=eF(r),G(Nt(r.features,function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0}),function(t){var a=t.properties,n=t.geometry,i=[];switch(n.type){case"Polygon":var o=n.coordinates;i.push(new gC(o[0],o.slice(1)));break;case"MultiPolygon":A(n.coordinates,function(l){l[0]&&i.push(new gC(l[0],l.slice(1)))});break;case"LineString":i.push(new yC([n.coordinates]));break;case"MultiLineString":i.push(new yC(n.coordinates))}var s=new mC(a[e||"name"],i,a.cp);return s.properties=a,s})}for(var eg=[126,25],SC="\u5357\u6D77\u8BF8\u5C9B",Di=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],Li=0;Li<Di.length;Li++)for(var Oo=0;Oo<Di[Li].length;Oo++)Di[Li][Oo][0]/=10.5,Di[Li][Oo][1]/=-10.5/.75,Di[Li][Oo][0]+=eg[0],Di[Li][Oo][1]+=eg[1];function aF(r,e){if(r==="china"){for(var t=0;t<e.length;t++)if(e[t].name===SC)return;e.push(new mC(SC,G(Di,function(a){return{type:"polygon",exterior:a}}),eg))}}var nF={\u5357\u6D77\u8BF8\u5C9B:[32,80],\u5E7F\u4E1C:[0,-10],\u9999\u6E2F:[10,5],\u6FB3\u95E8:[-10,10],\u5929\u6D25:[5,5]};function iF(r,e){if(r==="china"){var t=nF[e.name];if(t){var a=e.getCenter();a[0]+=t[0]/10.5,a[1]+=-t[1]/(10.5/.75),e.setCenter(a)}}}var oF=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function sF(r,e){r==="china"&&e.name==="\u53F0\u6E7E"&&e.geometries.push({type:"polygon",exterior:oF[0]})}var lF="name",uF=function(){function r(e,t,a){this.type="geoJSON",this._parsedMap=j(),this._mapName=e,this._specialAreas=a,this._geoJSON=hF(t)}return r.prototype.load=function(e,t
`+i.message)}return aF(t,n),A(n,function(i){var o=i.name;iF(t,i),sF(t,i);var s=this._specialAreas&&this._specialAreas[o];s&&i.transformTo(s.left,s.top,s.width,s.height)},this),n},r.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},r}();function fF(r){for(var e,t=0;t<r.length;t++){var a=r[t].getBoundingRect();e=e||a.clone(),e.union(a)}return e}function hF(r){return Y(r)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r}var wl=j(),ka={registerMap:function(r,e,t){if(e.svg){var a=new JG(r,e.svg);wl.set(r,a)}else{var n=e.geoJson||e.geoJSON;n&&!e.features?t=e.specialAreas:n=e;var a=new uF(r,n,t);wl.set(r,a)}},getGeoResource:function(r){return wl.get(r)},getMapForUser:function(r){var e=wl.get(r);return e&&e.type==="geoJSON"&&e.getMapForUser()},load:function(r,e,t){var a=wl.get(r);if(!!a)return a.load(e,t)}},rg=["rect","circle","line","ellipse","polygon","polyline","path"],vF=j(rg),cF=j(rg.concat(["g"])),pF=j(rg.concat(["g"])),xC=Tt();function gh(r){var e=r.getItemStyle(),t=r.get("areaColor");return t!=null&&(e.fill=t),e}function bC(r){var e=r.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var dF=function(){function r(e){var t=new it;this.uid=no("ec_map_draw"),this._controller=new bl(e.getZr()),this._controllerHost={target:t},this.group=t,t.add(this._regionsGroup=new it),t.add(this._svgGroup=new it)}return r.prototype.draw=function(e,t,a,n,i){var o=e.mainType==="geo",s=e.getData&&e.getData();o&&t.eachComponent({mainType:"series",subType:"map"},function(y){!s&&y.getHostGeoModel()===e&&(s=y.getData())});var l=e.coordinateSystem,u=this._regionsGroup,f=this.group,h=l.getTransformInfo(),v=h.raw,c=h.roam,p=!u.childAt(0)||i;p?(f.x=c.x,f.y=c.y,f.scaleX=c.scaleX,f.scaleY=c.scaleY,f.dirty()):It(f,c,e);var d=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,g={api:a,geo:l,mapOrGeoModel:e,data:s,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:v};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(e,t,a),this._updateMapSelectHandler(e,u,a,n)},r.prototype._buildGeoJSON=function(e){var t=this._regionsGroupByName=j(),a=j(),n=this._regionsGroup,i=e.transformInfoRaw,o=e.mapOrGeoModel,s=e.data,l=e.geo.projection,u=l&&l.stream;function f(c,p){return p&&(c=p(c)),c&&[c[0]*i.scaleX+i.x,c[1]*i.scaleY+i.y]}function h(c){for(var p=[],d=!u&&l&&l.project,g=0;g<c.length;++g){var y=f(c[g],d);y&&p.push(y)}return p}function v(c){return{shape:{points:h(c)}}}n.removeAll(),A(e.geo.regions,function(c){var p=c.name,d=t.get(p),g=a.get(p)||{},y=g.dataIdx,m=g.regionModel;d||(d=t.set(p,new it),n.add(d),y=s?s.indexOfName(p):null,m=e.isGeo?o.getRegionModel(p):s?s.getItemModel(y):null,a.set(p,{dataIdx:y,regionModel:m}));var _=[],S=[];A(c.geometries,function(w){if(w.type==="polygon"){var T=[w.exterior].concat(w.interiors||[]);u&&(T=DC(T,u)),A(T,function(M){_.push(new $e(v(M)))})}else{var C=w.points;u&&(C=DC(C,u,!0)),A(C,function(M){S.push(new tr(v(M)))})}});var b=f(c.getCenter(),l&&l.project);function x(w,T){if(!!w.length){var C=new Ip({culling:!0,segmentIgnoreThreshold:1,shape:{paths:w}});d.add(C),wC(e,C,y,m),TC(e,C,p,m,o,y,b),T&&(bC(C),A(C.states,bC))}}x(_),x(S,!0)}),t.each(function(c,p){var d=a.get(p),g=d.dataIdx,y=d.regionModel;CC(e,c,p,y,o,g),AC(e,c,p,y,o),MC(e,c,p,y,o)},this)},r.prototype._buildSVG=function(e){var t=e.geo.map,a=e.transformInfoRaw;this._svgGroup.x=a.x,this._svgGroup.y=a.y,this._svgGroup.scaleX=a.scaleX,this._svgGroup.scaleY=a.scaleY,this._svgResourceChanged(t)&&(this._freeSVG(),this._useSVG(t));var n=this._svgDispatcherMap=j(),i=!1;A(this._svgGraphicRecord.named,function(o){var s=o.name,l=e.mapOrGeoModel,u=e.data,f=o.svgNodeTagLower,h=o.el,v=u?u.indexOfName(s):null,c=l.getRegionModel(s);if(vF.get(f)!=null&&h instanceof mr&&wC(e,h,v,c),h instanceof mr&&(h.culling=!0),h.z2EmphasisLift=0,!o.namedFrom&&(pF.get(f)!=null&&TC(e,h,s,c,l,v,null),CC(e,h,s,c,l,v),AC(e,h,s,c,l),cF.get(f)!=null)){var p=MC(e,h,s,c,l);p==="self"&&(i=!0);var d=n.get(s)||n.set(s,[]);d.push(h)
`))}),e.join(`
`+Fh+`
`)}function dY(r){return G(r,function(e){var t=e.getRawData(),a=[e.name],n=[];return t.each(t.dimensions,function(){for(var i=arguments.length,o=arguments[i-1],s=t.getName(o),l=0;l<i-1;l++)n[l]=arguments[l];a.push((s?s+Uo:"")+n.join(Uo))}),a.join(`
`)}).join(`
`+Fh+`
`)}function gY(r){var e=cY(r);return{value:Nt([pY(e.seriesGroupByCategoryAxis),dY(e.other)],function(t){return!!t.replace(/[\n\t\s]/g,"")}).join(`
`+Fh+`
`),meta:e.meta}}function Hh(r){return r.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function yY(r){var e=r.slice(0,r.indexOf(`
`));if(e.indexOf(Uo)>=0)return!0}var zy=new RegExp("["+Uo+"]+","g");function mY(r){for(var e=r.split(/\n+/g),t=Hh(e.shift()).split(zy),a=[],n=G(t,function(l){return{name:l,data:[]}}),i=0;i<e.length;i++){var o=Hh(e[i]).split(zy);a.push(o.shift());for(var s=0;s<o.length;s++)n[s]&&(n[s].data[i]=o[s])}return{series:n,categories:a}}function _Y(r){for(var e=r.split(/\n+/g),t=Hh(e.shift()),a=[],n=0;n<e.length;n++){var i=Hh(e[n]);if(!!i){var o=i.split(zy),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),a[n]={name:s,value:[]},l=a[n].value):l=a[n]=[];for(var f=0;f<o.length;f++)l.push(+o[f]);l.length===1&&(u?a[n].value=l[0]:a[n]=l[0])}}return{name:t,data:a}}function SY(r,e){var t=r.split(new RegExp(`
*`+Fh+`
*`,"g")),a={series:[]};return A(t,function(n,i){if(yY(n)){var o=mY(n),s=e[i],l=s.axisDim+"Axis";s&&(a[l]=a[l]||[],a[l][s.axisIndex]={data:o.categories},a.series=a.series.concat(o.series))}else{var o=_Y(n);a.series.push(o)}}),a}var xY=function(r){O(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.onclick=function(t,a){setTimeout(function(){a.dispatchAction({type:"hideTip"})});var n=a.getDom(),i=this.model;this._dom&&n.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",o.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin:10px 20px",s.style.color=i.get("textColor");var u=document.createElement("div"),f=document.createElement("textarea");u.style.cssText="overflow:auto";var h=i.get("optionToContent"),v=i.get("contentToOption"),c=gY(t);if($(h)){var p=h(a.getOption());Y(p)?u.innerHTML=p:jo(p)&&u.appendChild(p)}else{f.readOnly=i.get("readOnly");var d=f.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"),f.value=c.value,u.appendChild(f)}var g=c.meta,y=document.createElement("div");y.style.cssText="position:absolute;bottom:5px;left:0;right:0";var m="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_=document.createElement("div"),S=document.createElement("div");m+=";background-color:"+i.get("buttonColor"),m+=";color:"+i.get("buttonTextColor");var b=this;function x(){n.removeChild(o),b._dom=null}bv(_,"click",x),bv(S,"click",function(){if(v==null&&h!=null||v!=null&&h==null){x();return}var w;try{$(v)?w=v(u,a.getOption()):w=SY(f.value,g)}catch(T){throw x(),new Error("Data view format error "+T)}w&&a.dispatchAction({type:"changeDataView",newOption:w}),x()}),_.innerHTML=l[1],S.innerHTML=l[2],S.style.cssText=_.style.cssText=m,!i.get("readOnly")&&y.appendChild(S),y.appendChild(_),o.appendChild(s),o.appendChild(u),o.appendChild(y),u.style.height=n.clientHeight-80+"px",n.appendChild(o),this._dom=o},e.prototype.remove=function(t,a){this._dom&&a.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,a){this.remove(t,a)},e.getDefaultOption=function(t){var a={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"};return a},e}(Pr);function bY(r,e){return G(r,function(t,a){var n=e&&e[a];if(at(n)&&!z(n)){var i=at(t)&&!z(t);i||(t={value:t});var o=n.name!=null&&t.name==null;return t=tt(t,n),o&&delete t.name,t}else return t})}ua({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(r,e){var t=[];A(r.newOption.series,function(a){var n=e.getSeriesByName(a.name)[0];if(!n)t.push(B({type:"scatter"},a));else{var i=n.get("data");t.push({name:a.name,data:bY(a.data,i)})}}),e.mergeOption(tt({series:t},r.newOption))});var wY=xY,$D=A,tL=Tt();function TY(r,e){var t=Gy(r);$D(e,function(a,n){for(var i=t.length-1;i>=0;i--){var o=t[i];if(o[n])break}if(i<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var l=s.getPercentRange();t[0][n]={dataZoomId:n,start:l[0],end:l[1]}}}}),t.push(e)}function CY(r){var e=Gy(r),t=e[e.length-1];e.length>1&&e.pop();var a={};return $D(t,function(n,i){for(var o=e.length-1;o>=0;o--)if(n=e[o][i],n){a[i]=n;break}}),a}function AY(r){tL(r).snapshots=null}function MY(r){return Gy(r).length}function Gy(r){var e=tL(r);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var DY=function(r){O(e,r);function e(){r
`:"<br/>",y=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(s,c,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],c,null,v)})},e.prototype._showSeriesItemTooltip=function(t,a,n){var i=this._ecModel,o=lt(a),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,v=u.getData(h),c=this._renderMode,p=t.positionDefault,d=Gl([v.getItemModel(f),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=d.get("trigger");if(!(g!=null&&g!=="item")){var y=u.getDataParams(f,h),m=new xp;y.marker=m.makeTooltipMarker("item",ri(y.color),c);var _=gS(u.formatTooltip(f,!1,h)),S=d.get("order"),b=d.get("valueFormatter"),x=_.frag,w=x?kS(b?B({valueFormatter:b},x):x,m,c,S,i.get("useUTC"),d.get("textStyle")):_.text,T="item_"+u.name+"_"+f;this._showOrMove(d,function(){this._showTooltipContent(d,w,y,T,t.offsetX,t.offsetY,t.position,t.target,m)}),n({type:"showTip",dataIndexInside:f,dataIndex:v.getRawIndex(f),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,a,n){var i=lt(a),o=i.tooltipConfig,s=o.option||{};if(Y(s)){var l=s;s={content:l,formatter:l}}var u=[s],f=this._ecModel.getComponent(i.componentMainType,i.componentIndex);f&&u.push(f),u.push({formatter:s.content});var h=t.positionDefault,v=Gl(u,this._tooltipModel,h?{position:h}:null),c=v.get("content"),p=Math.random()+"",d=new xp;this._showOrMove(v,function(){var g=nt(v.get("formatterParams")||{});this._showTooltipContent(v,c,g,p,t.offsetX,t.offsetY,t.position,a,d)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,a,n,i,o,s,l,u,f){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var v=t.get("formatter");l=l||t.get("position");var c=a,p=this._getNearestPoint([o,s],n,t.get("trigger"),t.get("borderColor")),d=p.color;if(v)if(Y(v)){var g=t.ecModel.get("useUTC"),y=z(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;c=v,m&&(c=Xu(y.axisValue,c,g)),c=I1(c,n,!0)}else if($(v)){var _=X(function(S,b){S===this._ticket&&(h.setContent(b,f,t,d,l),this._updatePosition(t,l,o,s,h,n,u))},this);this._ticket=i,c=v(n,i,_)}else c=v;h.setContent(c,f,t,d,l),h.show(t,d),this._updatePosition(t,l,o,s,h,n,u)}},e.prototype._getNearestPoint=function(t,a,n,i){if(n==="axis"||z(a))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!z(a))return{color:i||a.color||a.borderColor}},e.prototype._updatePosition=function(t,a,n,i,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();a=a||t.get("position");var h=o.getSize(),v=t.get("align"),c=t.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),$(a)&&(a=a([n,i],s,o.el,p,{viewSize:[u,f],contentSize:h.slice()})),z(a))n=W(a[0],u),i=W(a[1],f);else if(at(a)){var d=a;d.width=h[0],d.height=h[1];var g=fe(d,{width:u,height:f});n=g.x,i=g.y,v=null,c=null}else if(Y(a)&&l){var y=o9(a,p,h,t.get("borderWidth"));n=y[0],i=y[1]}else{var y=n9(n,i,o,u,f,v?null:20,c?null:20);n=y[0],i=y[1]}if(v&&(n-=yL(v)?h[0]/2:v==="right"?h[0]:0),c&&(i-=yL(c)?h[1]/2:c==="bottom"?h[1]:0),lL(t)){var y=i9(n,i,o,u,f);n=y[0],i=y[1]}o.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,a){var n=this._lastDataByCoordSys,i=this._cbParamsList,o=!!n&&n.length===t.length;return o&&A(n,function(s,l){var u=s.dataByAxis||[],f=t[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&A(u,function(v,c){var p=h[c]||{},d=v.seriesDataIndices||[],g=p.seriesDataIndices||[];o=o&&v.value===p.value&&v.axisType===p.axisType&&v.axisId===p.axisId&&d.length===g.length,o&&A(d,function(y,m){var _=g[m];o=o&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),i&&A(v.seriesDataIndices,function(y){var m=y.seriesIndex,_=a[m],S=i[m];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=a,!!o},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,a){Mt.node||!a.getDom()||(Xs(this,"_updatePosition"),this._tooltip
`)){var g=new jh;g.newline=!0,u.add(g);return}var y=n.getSeriesByName(d)[0];if(!f.get(d))if(y){var m=y.getData(),_=m.getVisual("legendLineStyle")||{},S=m.getVisual("legendIcon"),b=m.getVisual("style"),x=this._createItem(y,d,p,c,a,t,_,b,S,h,i);x.on("click",Yo(HL,d,null,i,v)).on("mouseover",Yo(om,y.name,null,i,v)).on("mouseout",Yo(sm,y.name,null,i,v)),f.set(d,!0)}else n.eachRawSeries(function(w){if(!f.get(d)&&w.legendVisualProvider){var T=w.legendVisualProvider;if(!T.containName(d))return;var C=T.indexOfName(d),M=T.getItemVisual(C,"style"),D=T.getItemVisual(C,"legendIcon"),L=qe(M.fill);L&&L[3]===0&&(L[3]=.2,M=B(B({},M),{fill:jr(L,"rgba")}));var I=this._createItem(w,d,p,c,a,t,{},M,D,h,i);I.on("click",Yo(HL,null,d,i,v)).on("mouseover",Yo(om,null,d,i,v)).on("mouseout",Yo(sm,null,d,i,v)),f.set(d,!0)}},this)},this),o&&this._createSelector(o,a,i,s,l)},e.prototype._createSelector=function(t,a,n,i,o){var s=this.getSelectorGroup();im(t,function(u){var f=u.type,h=new Lt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect"})}});s.add(h);var v=a.getModel("selectorLabel"),c=a.getModel(["emphasis","selectorLabel"]);be(h,{normal:v,emphasis:c},{defaultText:u.title}),Jn(h)})},e.prototype._createItem=function(t,a,n,i,o,s,l,u,f,h,v){var c=t.visualDrawType,p=o.get("itemWidth"),d=o.get("itemHeight"),g=o.isSelected(a),y=i.get("symbolRotate"),m=i.get("symbolKeepAspect"),_=i.get("icon");f=_||f||"roundRect";var S=wZ(f,i,l,u,c,g,v),b=new jh,x=i.getModel("textStyle");if($(t.getLegendIcon)&&(!_||_==="inherit"))b.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:f,iconRotate:y,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}));else{var w=_==="inherit"&&t.getData().getVisual("symbol")?y==="inherit"?t.getData().getVisual("symbolRotate"):y:0;b.add(TZ({itemWidth:p,itemHeight:d,icon:f,iconRotate:w,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}))}var T=s==="left"?p+5:-5,C=s,M=o.get("formatter"),D=a;Y(M)&&M?D=M.replace("{name}",a!=null?a:""):$(M)&&(D=M(a));var L=i.get("inactiveColor");b.add(new Lt({style:Gt(x,{text:D,x:T,y:d/2,fill:g?x.getTextColor():L,align:C,verticalAlign:"middle"})}));var I=new Ct({shape:b.getBoundingRect(),invisible:!0}),P=i.getModel("tooltip");return P.get("show")&&_o({el:I,componentModel:o,itemName:a,itemTooltipOption:P.option}),b.add(I),b.eachChild(function(E){E.silent=!0}),I.silent=!h,this.getContentGroup().add(b),Jn(b),b.__legendDataIndex=n,b},e.prototype.layoutInner=function(t,a,n,i,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();ni(t.get("orient"),l,t.get("itemGap"),n.width,n.height);var f=l.getBoundingRect(),h=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){ni("horizontal",u,t.get("selectorItemGap",!0));var v=u.getBoundingRect(),c=[-v.x,-v.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,g=d===0?"width":"height",y=d===0?"height":"width",m=d===0?"y":"x";s==="end"?c[d]+=f[g]+p:h[d]+=v[g]+p,c[1-d]+=f[y]/2-v[y]/2,u.x=c[0],u.y=c[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=f[g]+p+v[g],_[y]=Math.max(f[y],v[y]),_[m]=Math.min(0,v[m]+c[1-d]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Qt);function wZ(r,e,t,a,n,i,o){function s(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),im(g,function(m,_){g[_]==="inherit"&&(g[_]=y[_])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?a.decal:To(h,o),u.fill==="inherit"&&(u.fill=a[n]),u.stroke==="inherit"&&(u.stroke=a[f]),u.opacity==="inherit"&&(u.opacity=(n==="fill"?a:t).opacity),s(u,a);var v=e.getModel("lineStyle"),c=v.getLineStyle();if(s(c,t),u.fill==="auto"&&(u.fill=a.fill),u.stroke==="auto"&&(u.stroke=a.fill),c.stroke==="auto"&&(c.stroke=a.fill),!i){var p=e.get("inactiveBorderWidth"),d=u[f];u.lineWidth=p==="auto"?a.lineWidth>0&&d?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),c
`||u==="")){var f=o.isSelected(u);a.hasOwnProperty(u)?a[u]=a[u]&&f:a[u]=f}})}),r==="allSelect"||r==="inverseSelect"?{selected:a}:{name:e.name,selected:a}}function AZ(r){r.registerAction("legendToggleSelect","legendselectchanged",ft(Ul,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",ft(Ul,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",ft(Ul,"inverseSelect")),r.registerAction("legendSelect","legendselected",ft(Ul,"select")),r.registerAction("legendUnSelect","legendunselected",ft(Ul,"unSelect"))}function YL(r){r.registerComponentModel(nm),r.registerComponentView(UL),r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,CZ),r.registerSubTypeDefaulter("legend",function(){return"plain"}),AZ(r)}var MZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(t,a,n){var i=lo(t);r.prototype.init.call(this,t,a,n),ZL(this,t,i)},e.prototype.mergeOption=function(t,a){r.prototype.mergeOption.call(this,t,a),ZL(this,this.option,t)},e.type="legend.scroll",e.defaultOption=rn(nm.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(nm);function ZL(r,e,t){var a=r.getOrient(),n=[1,1];n[a.index]=0,an(e,t,{type:"box",ignoreSize:!!n})}var DZ=MZ,XL=it,lm=["width","height"],um=["x","y"],LZ=function(r){O(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!0,t._currentIndex=0,t}return e.prototype.init=function(){r.prototype.init.call(this),this.group.add(this._containerGroup=new XL),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new XL)},e.prototype.resetInner=function(){r.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(t,a,n,i,o,s,l){var u=this;r.prototype.renderInner.call(this,t,a,n,i,o,s,l);var f=this._controllerGroup,h=a.get("pageIconSize",!0),v=z(h)?h:[h,h];p("pagePrev",0);var c=a.getModel("pageTextStyle");f.add(new Lt({name:"pageText",style:{text:"xx/xx",fill:c.getTextColor(),font:c.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1);function p(d,g){var y=d+"DataIndex",m=Ys(a.get("pageIcons",!0)[a.getOrient().name][g],{onclick:X(u._pageGo,u,y,a,i)},{x:-v[0]/2,y:-v[1]/2,width:v[0],height:v[1]});m.name=d,f.add(m)}},e.prototype.layoutInner=function(t,a,n,i,o,s){var l=this.getSelectorGroup(),u=t.getOrient().index,f=lm[u],h=um[u],v=lm[1-u],c=um[1-u];o&&ni("horizontal",l,t.get("selectorItemGap",!0));var p=t.get("selectorButtonGap",!0),d=l.getBoundingRect(),g=[-d.x,-d.y],y=nt(n);o&&(y[f]=n[f]-d[f]-p);var m=this._layoutContentAndController(t,i,y,u,f,v,c,h);if(o){if(s==="end")g[u]+=m[f]+p;else{var _=d[f]+p;g[u]-=_,m[h]-=_}m[f]+=d[f]+p,g[1-u]+=m[c]+m[v]/2-d[v]/2,m[v]=Math.max(m[v],d[v]),m[c]=Math.min(m[c],d[c]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,a,n,i,o,s,l,u){var f=this.getContentGroup(),h=this._containerGroup,v=this._controllerGroup;ni(t.get("orient"),f,t.get("itemGap"),i?n.width:null,i?null:n.height),ni("horizontal",v,t.get("pageButtonItemGap",!0));var c=f.getBoundingRect(),p=v.getBoundingRect(),d=this._showController=c[o]>n[o],g=[-c.x,-c.y];a||(g[i]=f[u]);var y=[0,0],m=[-p.x,-p.y],_=pt(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var S=t.get("pageButtonPosition",!0);S==="end"?m[i]+=n[o]-p[o]:y[i]+=p[o]+_}m[1-i]+=c[s]/2-p[s]/2,f.setPosition(g),h.setPosition(y),v.setPosition(m);var b={x:0,y:0};if(b[o]=d?n[o]:c[o],b[s]=Math.max(c[s],p[s]),b[l]=Math.min(0,p[l]+m[1-i]),h.__rectSize=n[o],d){var x={x:0,y:0};x[o]=Math.max(n