Files
qhmes/web-dist/js/echarts-O0zoDaFZ.js

60 lines
765 KiB
Java
Raw Normal View History

2026-06-16 18:19:57 +08:00
/*! *****************************************************************************
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 yh=function(r,t){return yh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])},yh(r,t)};function E(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");yh(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Mw=(function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r})(),Dw=(function(){function r(){this.browser=new Mw,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=typeof window!="undefined"}return r})(),tt=new Dw;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(tt.wxa=!0,tt.touchEventsSupported=!0):typeof document=="undefined"&&typeof self!="undefined"?tt.worker=!0:!tt.hasGlobalWindow||"Deno"in window?(tt.node=!0,tt.svgSupported=!0):Lw(navigator.userAgent,tt);function Lw(r,t){var e=t.browser,i=r.match(/Firefox\/([\d.]+)/),n=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),a=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);i&&(e.firefox=!0,e.version=i[1]),n&&(e.ie=!0,e.version=n[1]),a&&(e.edge=!0,e.version=a[1],e.newEdge=+a[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect!="undefined",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document!="undefined";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}var Vv=12,Pw="sans-serif",fn=Vv+"px "+Pw,Iw=20,Rw=100,Ew="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function kw(r){var t={};if(typeof JSON=="undefined")return t;for(var e=0;e<r.length;e++){var i=String.fromCharCode(e+32),n=(r.charCodeAt(e)-Iw)/Rw;t[i]=n}return t}var Ow=kw(Ew),Nr={createCanvas:function(){return typeof document!="undefined"&&document.createElement("canvas")},measureText:(function(){var r,t;return function(e,i){if(!r){var n=Nr.createCanvas();r=n&&n.getContext("2d")}if(r)return t!==i&&(t=r.font=i||fn),r.measureText(e);e=e||"",i=i||fn;var a=/((?:\d+)?\.?\d*)px/.exec(i),o=a&&+a[1]||Vv,s=0;if(i.indexOf("mono")>=0)s=o*e.length;else for(var l=0;l<e.length;l++){var u=Ow[e[l]];s+=u==null?o:u*o}return{width:s}}})(),loadImage:function(r,t,e){var i=new Image;return i.onload=t,i.onerror=e,i.src=r,i}};function j0(r){for(var t in Nr)r[t]&&(Nr[t]=r[t])}var Q0=Fe(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,t){return r["[object "+t+"]"]=!0,r},{}),t_=Fe(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,t){return r["[object "+t+"Array]"]=!0,r},{}),sa=Object.prototype.toString,Ul=Array.prototype,Bw=Ul.forEach,Nw=Ul.filter,Gv=Ul.slice,zw=Ul.map,Ip=function(){}.constructor,Jo=Ip?Ip.prototype:null,Hv="__proto__",Fw=2311;function Wv(){return Fw++}function Xl(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t]}function q(r){if(r==null||typeof r!="object")return r;var t=r,e=sa.call(r);if(e==="[object Array]"){if(!Xn(r)){t=[];for(var i=0,n=r.length;i<n;i++)t[i]=q(r[i])}}else if(t_[e]){if(!Xn(r)){var a=r.constructor;if(a.from)t=a.from(r);else{t=new a(r.length);for(var i=0,n=r.length;i<n;i++)t[i]=r[i]}}}else if(!Q0[e]&&!Xn(r)&&!hn(r)){t={};for(var o in r)r.hasOwnProperty(o)&&o!==Hv&&(t[o]=q(r[o]))}return t}function J(r,t,e){if(!X(t)||!X(r))return e?q(t):r;for(var i in t)if(t.hasOwnProperty(i)&&i!==Hv){var n=r[i],a=t[i];X(a)&&X(n)&&!z(a)&&!z(n)&&!hn(a)&&!h
`),a=n.length;if(a===1)return nd(n[0],t,e,i);for(var o=new st(0,0,0,0),s=0;s<n.length;s++){var l=nd(n[s],t,e,i);s===0?o.copy(l):o.union(l)}return o}function Za(r,t,e){return e==="right"?r-=t:e==="center"&&(r-=t/2),r}function Gn(r,t,e){return e==="middle"?r-=t/2:e==="bottom"&&(r-=t),r}function Qv(r){return be("",r)}function er(r,t){return typeof r=="string"?r.lastIndexOf("%")>=0?parseFloat(r)/100*t:parseFloat(r):r}function ml(r,t,e){var i=t.position||"inside",n=t.distance!=null?t.distance:5,a=e.height,o=e.width,s=a/2,l=e.x,u=e.y,f="left",h="top";if(i instanceof Array)l+=er(i[0],e.width),u+=er(i[1],e.height),f=null,h=null;else switch(i){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+=a+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+=a-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+=a-n,h="bottom";break;case"insideBottomRight":l+=o-n,u+=a-n,f="right",h="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=f,r.verticalAlign=h,r}var $u="__zr_normal__",qu=xr.concat(["ignore"]),iC=Fe(xr,function(r,t){return r[t]=!0,r},{ignore:!1}),Cn={},nC=new st(0,0,0,0),ql=(function(){function r(t){this.id=Wv(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,i){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var n=this.transform;n||(n=this.transform=[1,0,0,1,0,0]),n[4]+=t,n[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,n=i.local,a=e.innerTransformable,o=void 0,s=void 0,l=!1;a.parent=n?this:null;var u=!1;if(a.copyTransform(e),i.position!=null){var f=nC;i.layoutRect?f.copy(i.layoutRect):f.copy(this.getBoundingRect()),n||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Cn,i,f):ml(Cn,i,f),a.x=Cn.x,a.y=Cn.y,o=Cn.align,s=Cn.verticalAlign;var h=i.origin;if(h&&i.rotation!=null){var c=void 0,v=void 0;h==="center"?(c=f.width*.5,v=f.height*.5):(c=er(h[0],f.width),v=er(h[1],f.height)),u=!0,a.originX=-a.x+c+(n?0:f.x),a.originY=-a.y+v+(n?0:f.y)}}i.rotation!=null&&(a.rotation=i.rotation);var p=i.offset;p&&(a.x+=p[0],a.y+=p[1],u||(a.originX=-p[0],a.originY=-p[1]));var d=i.inside==null?typeof i.position=="string"&&i.position.indexOf("inside")>=0:i.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,m=void 0,_=void 0;d&&this.canBeInsideText()?(y=i.insideFill,m=i.insideStroke,(y==null||y==="auto")&&(y=this.getInsideTextFill()),(m==null||m==="auto")&&(m=this.getInsideTextStroke(y),_=!0)):(y=i.outsideFill,m=i.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,e.setDefaultTextStyle(g)),e.__dirty|=Se,l&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Oh:kh},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),i=typeof e=="string"&&oe(e);i||(i=[255,255,255,1]);for(var n=i[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)i[o]=i[o]*n+(a?0:255)*(1-n);return i[3]=1,Qe(i,"rgba")},r.prototype.traverse=fun
* 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 Js={},qi={};function uC(r){delete qi[r]}function fC(r){if(!r)return!1;if(typeof r=="string")return yo(r,1)<Eh;if(r.colorStops){for(var t=r.colorStops,e=0,i=t.length,n=0;n<i;n++)e+=yo(t[n].color,1);return e/=i,e<Eh}return!1}var hC=(function(){function r(t,e,i){var n=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,i=i||{},this.dom=e,this.id=t;var a=new TT,o=i.renderer||"canvas";Js[o]||(o=pt(Js)[0]),i.useDirtyRect=i.useDirtyRect==null?!1:i.useDirtyRect;var s=new Js[o](e,a,i,t),l=i.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!tt.node&&!tt.worker&&!l?new tC(s.getViewportRoot(),s.root):null,f=i.useCoarsePointer,h=f==null||f==="auto"?tt.touchEventsSupported:!!f,c=44,v;h&&(v=rt(i.pointerSize,c)),this.handler=new d_(a,s,u,s.root,v),this.animation=new ZT({stage:{update:l?null:function(){return n._flush(!0)}}}),l||this.animation.start()}return r.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},r.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},r.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},r.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=fC(t))},r.prototype.getBackgroundColor=function(){return this._backgroundColor},r.prototype.setDarkMode=function(t){this._darkMode=t},r.prototype.isDarkMode=function(){return this._darkMode},r.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},r.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},r.prototype.flush=function(){this._disposed||this._flush(!1)},r.prototype._flush=function(t){var e,i=Wn();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var n=Wn();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:n-i})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,i){return this._disposed||this.handler.on(t,e,i),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof nt&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},r.prototype.dispose=function(){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,uC(this.id))},r})();function Bh(r,t){var e=new hC(Wv(),r,t);return qi[e.id]=e,e}function vC(r){r.dispose()}function cC(){for(var r in qi)qi.hasOwnPr
`);a=K_(e,i,n,a);for(var s=!1,l={},u=0,f=o.length;u<f;u++)J_(l,o[u],a),o[u]=l.textLine,s=s||l.isTruncated;r.text=o.join(`
`),r.isTruncated=s}function K_(r,t,e,i){i=i||{};var n=O({},i);n.font=t,e=rt(e,"..."),n.maxIterations=rt(i.maxIterations,2);var a=n.minChar=rt(i.minChar,0);n.cnCharWidth=be("",t);var o=n.ascCharWidth=be("a",t);n.placeholder=rt(i.placeholder,"");for(var s=r=Math.max(0,r-1),l=0;l<a&&s>=o;l++)s-=o;var u=be(e,t);return u>s&&(e="",u=0),s=r-u,n.ellipsis=e,n.ellipsisWidth=u,n.contentWidth=s,n.containerWidth=r,n}function J_(r,t,e){var i=e.containerWidth,n=e.font,a=e.contentWidth;if(!i){r.textLine="",r.isTruncated=!1;return}var o=be(t,n);if(o<=i){r.textLine=t,r.isTruncated=!1;return}for(var s=0;;s++){if(o<=a||s>=e.maxIterations){t+=e.ellipsis;break}var l=s===0?jC(t,a,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*a/o):0;t=t.substr(0,l),o=be(t,n)}t===""&&(t=e.placeholder),r.textLine=t,r.isTruncated=!0}function jC(r,t,e,i){for(var n=0,a=0,o=r.length;a<o&&n<t;a++){var s=r.charCodeAt(a);n+=0<=s&&s<=127?e:i}return a}function QC(r,t){r!=null&&(r+="");var e=t.overflow,i=t.padding,n=t.font,a=e==="truncate",o=Qv(n),s=rt(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",f=!1,h=t.width,c;h!=null&&(e==="break"||e==="breakAll")?c=r?j_(r,t.font,h,e==="breakAll",0).lines:[]:c=r?r.split(`
`):[];var v=c.length*s,p=rt(t.height,v);if(v>p&&u){var d=Math.floor(p/s);f=f||c.length>d,c=c.slice(0,d)}if(r&&a&&h!=null)for(var g=K_(h,n,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),y={},m=0;m<c.length;m++)J_(y,c[m],g),c[m]=y.textLine,f=f||y.isTruncated;for(var _=p,S=0,m=0;m<c.length;m++)S=Math.max(be(c[m],n),S);h==null&&(h=S);var b=S;return i&&(_+=i[0]+i[2],b+=i[1]+i[3],h+=i[1]+i[3]),l&&(b=h),{lines:c,height:p,outerWidth:b,outerHeight:_,lineHeight:s,calculatedLineHeight:o,contentWidth:S,contentHeight:v,width:h,isTruncated:f}}var tA=(function(){function r(){}return r})(),fd=(function(){function r(t){this.tokens=[],t&&(this.tokens=t)}return r})(),eA=(function(){function r(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return r})();function rA(r,t){var e=new eA;if(r!=null&&(r+=""),!r)return e;for(var i=t.width,n=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&i!=null?{width:i,accumWidth:0,breakAll:a==="breakAll"}:null,s=ju.lastIndex=0,l;(l=ju.exec(r))!=null;){var u=l.index;u>s&&Qu(e,r.substring(s,u),t,o),Qu(e,l[2],t,o,l[1]),s=ju.lastIndex}s<r.length&&Qu(e,r.substring(s,r.length),t,o);var f=[],h=0,c=0,v=t.padding,p=a==="truncate",d=t.lineOverflow==="truncate",g={};function y(Y,Z,$){Y.width=Z,Y.lineHeight=$,h+=$,c=Math.max(c,Z)}t:for(var m=0;m<e.lines.length;m++){for(var _=e.lines[m],S=0,b=0,x=0;x<_.tokens.length;x++){var T=_.tokens[x],C=T.styleName&&t.rich[T.styleName]||{},A=T.textPadding=C.padding,M=A?A[1]+A[3]:0,D=T.font=C.font||t.font;T.contentHeight=Qv(D);var L=rt(C.height,T.contentHeight);if(T.innerHeight=L,A&&(L+=A[0]+A[2]),T.height=L,T.lineHeight=Un(C.lineHeight,t.lineHeight,L),T.align=C&&C.align||t.align,T.verticalAlign=C&&C.verticalAlign||"middle",d&&n!=null&&h+T.lineHeight>n){var P=e.lines.length;x>0?(_.tokens=_.tokens.slice(0,x),y(_,b,S),e.lines=e.lines.slice(0,m+1)):e.lines=e.lines.slice(0,m),e.isTruncated=e.isTruncated||e.lines.length<P;break t}var I=C.width,R=I==null||I==="auto";if(typeof I=="string"&&I.charAt(I.length-1)==="%")T.percentWidth=I,f.push(T),T.contentWidth=be(T.text,D);else{if(R){var k=C.backgroundColor,V=k&&k.image;V&&(V=KC(V),jl(V)&&(T.width=Math.max(T.width,V.width*L/V.height)))}var B=p&&i!=null?i-b:null;B!=null&&B<T.width?!R||B<M?(T.text="",T.width=T.contentWidth=0):(q_(g,T.text,B-M,D,t.ellipsis,{minChar:t.truncateMinChar}),T.text=g.text,e.isTruncated=e.isTruncated||g.isTruncated,T.width=T.contentWidth=be(T.text,D)):T.contentWidth=be(T.text,D)}T.width+=M,b+=T.width,C&&(S=Math.max(S,T.lineHeight))}y(_,b,S)}e.outerWidth=e.width=rt(i,c),e.outerHeight=e.height=rt(n,h),e.contentHeight=h,e.contentWidth=c,v&&(e.outerWidth+=v[1]+v[3],e.outerHeight+=v[0]+v[2]);for(var m=0;m<f.length;m++){var T=f[m],N=T.percentWidth;T.width=parseInt(N,10)/100*e.width}return e}function Qu(r,t,e,i,n){var a=t==="",o=n&&e.rich[n]||{},s=r.lines,l=o.font||e.font,u=!1,f,h;if(i){var c=o.padding,v=c?c[1]+c[3]:0;if(o.width!=null&&o.width!=="auto"){var p=er(o.width,i.width)+v;s.length>0&&p+i.accumWidth>i.width&&(f=t.split(`
`),u=!0),i.accumWidth=p}else{var d=j_(t,l,i.width,i.breakAll,i.accumWidth);i.accumWidth=d.accumWidth+v,h=d.linesWidths,f=d.lines}}else f=t.split(`
`);for(var g=0;g<f.length;g++){var y=f[g],m=new tA;if(m.styleName=n,m.text=y,m.isLineHolder=!y&&!a,typeof o.width=="number"?m.width=o.width:m.width=h?h[g]:be(y,l),!g&&!u){var _=(s[s.length-1]||(s[0]=new fd)).tokens,S=_.length;S===1&&_[0].isLineHolder?_[0]=m:(y||!S||a)&&_.push(m)}else s.push(new fd([m]))}}function iA(r){var t=r.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var nA=Fe(",&?/;] ".split(""),function(r,t){return r[t]=!0,r},{});function aA(r){return iA(r)?!!nA[r]:!0}function j_(r,t,e,i,n){for(var a=[],o=[],s="",l="",u=0,f=0,h=0;h<r.length;h++){var c=r.charAt(h);if(c===`
`){l&&(s+=l,f+=u),a.push(s),o.push(f),s="",l="",u=0,f=0;continue}var v=be(c,t),p=i?!1:!aA(c);if(a.length?f+v>e:n+f+v>e){f?(s||l)&&(p?(s||(s=l,l="",u=0,f=u),a.push(s),o.push(f-u),l+=c,u+=v,s="",f=u):(l&&(s+=l,l="",u=0),a.push(s),o.push(f),s=c,f=v)):p?(a.push(l),o.push(u),l=c,u=v):(a.push(c),o.push(v));continue}f+=v,p?(l+=c,u+=v):(l&&(s+=l,l="",u=0),s+=c)}return!a.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(a.push(s),o.push(f)),a.length===1&&(f+=n),{accumWidth:f,lines:a,linesWidths:o}}var Vh="__zr_style_"+Math.round(Math.random()*10),nn={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Ql={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};nn[Vh]=!0;var hd=["z","z2","invisible"],oA=["invisible"],Hr=(function(r){E(t,r);function t(e){return r.call(this,e)||this}return t.prototype._init=function(e){for(var i=pt(e),n=0;n<i.length;n++){var a=i[n];a==="style"?this.useStyle(e[a]):r.prototype.attrKV.call(this,a,e[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,i,n,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&sA(this,e,i)||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(a&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(e,i){return this.rectContain(e,i)},t.prototype.traverse=function(e,i){e.call(i,this)},t.prototype.rectContain=function(e,i){var n=this.transformCoordToLocal(e,i),a=this.getBoundingRect();return a.contain(n[0],n[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var i=this.transform,n=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,l=a.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new st(0,0,0,0)),i?st.applyTransform(e,n,i):e.copy(n),(o||s||l)&&(e.width+=o*2+Math.abs(s),e.height+=o*2+Math.abs(l),e.x=Math.min(e.x,e.x+s-o),e.y=Math.min(e.y,e.y+l-o));var u=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-u),e.y=Math.floor(e.y-u),e.width=Math.ceil(e.width+1+u*2),e.height=Math.ceil(e.height+1+u*2))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new st(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(e,i){e!=="style"?r.prototype.attrKV.call(this,e,i):this.style?this.setStyle(i):this.useStyle(i)},t.prototype.setStyle=function(e,i){return typeof e=="string"?this.style[e]=i:O(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=Ua,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Ua)},t.prototype.styleUpdated=function(){this.__dirty&=~Ua},t.prototype.createStyle=function(e){return zo(nn,e)},t.prototype.useStyle=function(e){e[Vh]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[Vh]},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var i=this._normalState;e.style&&!i.style&&(i.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,i,hd)},t.prototype._applyStateObj=function(e,i,n,a,o,s){r.prototype._applyStateObj.call(this,e,i,n,a,o,s);var l=!(i&&a),u;if(i&&i.style?o?a?u=i.style:(u=this._mergeStyle(this.createStyle(),n.style),this._mergeStyle(u,i.style)):(u=this._mergeStyle(this.createStyle(),a?this.style:n.style),this._mergeStyle(u,i.style)):l&&(u=n.style),u)if(o){var f=this.style;i
yyyy`);var i=Te(t),n=e?"getUTC":"get",a=i[n+"FullYear"](),o=i[n+"Month"]()+1,s=i[n+"Date"](),l=i[n+"Hours"](),u=i[n+"Minutes"](),f=i[n+"Seconds"](),h=i[n+"Milliseconds"]();return r=r.replace("MM",re(o,2)).replace("M",o).replace("yyyy",a).replace("yy",re(a%100+"",2)).replace("dd",re(s,2)).replace("d",s).replace("hh",re(l,2)).replace("h",l).replace("mm",re(u,2)).replace("m",u).replace("ss",re(f,2)).replace("s",f).replace("SSS",re(h,3)),r}function tD(r){return r&&r.charAt(0).toUpperCase()+r.substr(1)}function cn(r,t){return t=t||"transparent",G(r)?r:X(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function Jd(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var el=w,W1=["left","right","top","bottom","width","height"],Ji=[["width","left","right"],["height","top","bottom"]];function Pc(r,t,e,i,n){var a=0,o=0;i==null&&(i=1/0),n==null&&(n=1/0);var s=0;t.eachChild(function(l,u){var f=l.getBoundingRect(),h=t.childAt(u+1),c=h&&h.getBoundingRect(),v,p;if(r==="horizontal"){var d=f.width+(c?-c.x+f.x:0);v=a+d,v>i||l.newline?(a=0,v=d,o+=s+e,s=f.height):s=Math.max(s,f.height)}else{var g=f.height+(c?-c.y+f.y:0);p=o+g,p>n||l.newline?(a+=s+e,o=0,p=g,s=f.width):s=Math.max(s,f.width)}l.newline||(l.x=a,l.y=o,l.markRedraw(),r==="horizontal"?a=v+e:o=p+e)})}var on=Pc;ft(Pc,"vertical");ft(Pc,"horizontal");function hz(r,t,e){var i=t.width,n=t.height,a=Q(r.left,i),o=Q(r.top,n),s=Q(r.right,i),l=Q(r.bottom,n);return(isNaN(a)||isNaN(parseFloat(r.left)))&&(a=0),(isNaN(s)||isNaN(parseFloat(r.right)))&&(s=i),(isNaN(o)||isNaN(parseFloat(r.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.bottom)))&&(l=n),e=_n(e||0),{width:Math.max(s-a-e[1]-e[3],0),height:Math.max(l-o-e[0]-e[2],0)}}function le(r,t,e){e=_n(e||0);var i=t.width,n=t.height,a=Q(r.left,i),o=Q(r.top,n),s=Q(r.right,i),l=Q(r.bottom,n),u=Q(r.width,i),f=Q(r.height,n),h=e[2]+e[0],c=e[1]+e[3],v=r.aspect;switch(isNaN(u)&&(u=i-s-c-a),isNaN(f)&&(f=n-l-h-o),v!=null&&(isNaN(u)&&isNaN(f)&&(v>i/n?u=i*.8:f=n*.8),isNaN(u)&&(u=v*f),isNaN(f)&&(f=u/v)),isNaN(a)&&(a=i-s-u-c),isNaN(o)&&(o=n-l-f-h),r.left||r.right){case"center":a=i/2-u/2-e[3];break;case"right":a=i-u-c;break}switch(r.top||r.bottom){case"middle":case"center":o=n/2-f/2-e[0];break;case"bottom":o=n-f-h;break}a=a||0,o=o||0,isNaN(u)&&(u=i-c-a-(s||0)),isNaN(f)&&(f=n-h-o-(l||0));var p=new st(a+e[3],o+e[0],u,f);return p.margin=e,p}function Ic(r,t,e,i,n,a){var o=!n||!n.hv||n.hv[0],s=!n||!n.hv||n.hv[1],l=n&&n.boundingMode||"all";if(a=a||r,a.x=r.x,a.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new st(0,0,+t.width||0,+t.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var f=r.getLocalTransform();u=u.clone(),u.applyTransform(f)}var h=le(K({width:u.width,height:u.height},t),e,i),c=o?h.x-u.x:0,v=s?h.y-u.y:0;return l==="raw"?(a.x=c,a.y=v):(a.x+=c,a.y+=v),a===r&&r.markRedraw(),!0}function eD(r,t){return r[Ji[t][0]]!=null||r[Ji[t][1]]!=null&&r[Ji[t][2]]!=null}function Co(r){var t=r.layoutMode||r.constructor.layoutMode;return X(t)?t:t?{type:t}:null}function gi(r,t,e){var i=e&&e.ignoreSize;!z(i)&&(i=[i,i]);var n=o(Ji[0],0),a=o(Ji[1],1);u(Ji[0],r,n),u(Ji[1],r,a);function o(f,h){var c={},v=0,p={},d=0,g=2;if(el(f,function(_){p[_]=r[_]}),el(f,function(_){s(t,_)&&(c[_]=p[_]=t[_]),l(c,_)&&v++,l(p,_)&&d++}),i[h])return l(t,f[1])?p[f[2]]=null:l(t,f[2])&&(p[f[1]]=null),p;if(d===g||!v)return p;if(v>=g)return c;for(var y=0;y<f.length;y++){var m=f[y];if(!s(c,m)&&s(r,m)){c[m]=r[m];break}}return c}function s(f,h){return f.hasOwnProperty(h)}function l(f,h){return f[h]!=null&&f[h]!=="auto"}function u(f,h,c){el(f,function(v){h[v]=c[v]})}}function ca(r){return Y1({},r)}function Y1(r,t){return t&&r&&el(W1,function(e){t.hasOwnProperty(e)&&(r[e]=t[e])}),r}var rD=St(),at=(function(r){E(t,r);function t(e,i,n){var a=r.call(this,e,i,n)||this;return a.uid=va("ec_cpt_model"),a}return t.prototype.init=function(e,i,n){this.mergeDefaultAndTheme(e,n)},t.prototype.mergeDefaultAndTheme=function(e,i){var n=Co(this),a=n?ca(e):{},o=i.getTheme();J(e,o.get(this.mainType)),J(e,this.getDefaultOption()),n&
`,`
`,`
`];function br(r,t){return t.type=r,t}function ev(r){return r.type==="section"}function dS(r){return ev(r)?o2:s2}function gS(r){if(ev(r)){var t=0,e=r.blocks.length,i=e>1||e>0&&!r.noHeader;return w(r.blocks,function(n){var a=gS(n);a>=t&&(t=a+ +(i&&(!a||ev(n)&&!n.noHeader)))}),t}return 0}function o2(r,t,e,i){var n=t.noHeader,a=l2(gS(t)),o=[],s=t.blocks||[];we(!s||z(s)),s=s||[];var l=r.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(H(u,l)){var f=new HD(u[l],null);s.sort(function(d,g){return f.evaluate(d.sortParam,g.sortParam)})}else l==="seriesDesc"&&s.reverse()}w(s,function(d,g){var y=t.valueFormatter,m=dS(d)(y?O(O({},r),{valueFormatter:y}):r,d,g>0?a.html:0,i);m!=null&&o.push(m)});var h=r.renderMode==="richText"?o.join(a.richText):rv(i,o.join(""),n?e:a.html);if(n)return h;var c=Jh(t.header,"ordinal",r.useUTC),v=pS(i,r.renderMode).nameStyle,p=cS(i);return r.renderMode==="richText"?yS(r,c,v)+a.richText+h:rv(i,'<div style="'+v+";"+p+';">'+ne(c)+"</div>"+h,e)}function s2(r,t,e,i){var n=r.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=r.useUTC,f=t.valueFormatter||r.valueFormatter||function(S){return S=z(S)?S:[S],F(S,function(b,x){return Jh(b,z(v)?v[x]:v,u)})};if(!(a&&o)){var h=s?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",n),c=a?"":Jh(l,"ordinal",u),v=t.valueType,p=o?[]:f(t.value,t.dataIndex),d=!s||!a,g=!s&&a,y=pS(i,n),m=y.nameStyle,_=y.valueStyle;return n==="richText"?(s?"":h)+(a?"":yS(r,c,m))+(o?"":h2(r,p,d,g,_)):rv(i,(s?"":h)+(a?"":u2(c,!s,m))+(o?"":f2(p,d,g,_)),e)}}function xg(r,t,e,i,n,a){if(r){var o=dS(r),s={useUTC:n,renderMode:e,orderMode:i,markupStyleCreator:t,valueFormatter:r.valueFormatter};return o(s,r,0,a)}}function l2(r){return{html:n2[r],richText:a2[r]}}function rv(r,t,e){var i='<div style="clear:both"></div>',n="margin: "+e+"px 0 0",a=cS(r);return'<div style="'+n+";"+a+';">'+t+i+"</div>"}function u2(r,t,e){var i=t?"margin-left:2px":"";return'<span style="'+e+";"+i+'">'+ne(r)+"</span>"}function f2(r,t,e,i){var n=e?"10px":"20px",a=t?"float:right;margin-left:"+n:"";return r=z(r)?r:[r],'<span style="'+a+";"+i+'">'+F(r,function(o){return ne(o)}).join("&nbsp;&nbsp;")+"</span>"}function yS(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function h2(r,t,e,i,n){var a=[n],o=i?10:20;return e&&a.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(z(t)?t.join(" "):t,a)}function mS(r,t){var e=r.getData().getItemVisual(t,"style"),i=e[r.visualDrawType];return cn(i)}function _S(r,t){var e=r.get("padding");return e!=null?e:t==="richText"?[8,10]:10}var Tf=(function(){function r(){this.richTextStyles={},this._nextStyleNameId=z_()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,i){var n=i==="richText"?this._generateStyleName():null,a=H1({color:e,type:t,renderMode:i,markerId:n});return G(a)?a:(this.richTextStyles[n]=a.style,a.content)},r.prototype.wrapRichTextStyle=function(t,e){var i={};z(e)?w(e,function(a){return O(i,a)}):O(i,e);var n=this._generateStyleName();return this.richTextStyles[n]=i,"{"+n+"|"+t+"}"},r})();function v2(r){var t=r.series,e=r.dataIndex,i=r.multipleSeries,n=t.getData(),a=n.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(e),l=z(s),u=mS(t,e),f,h,c,v;if(o>1||l&&!o){var p=c2(s,t,e,a,u);f=p.inlineValues,h=p.inlineValueTypes,c=p.blocks,v=p.inlineValues[0]}else if(o){var d=n.getDimensionInfo(a[0]);v=f=ra(n,e,a[0]),h=d.type}else v=f=l?s[0]:s;var g=nc(t),y=g&&t.name||"",m=n.getName(e),_=i?y:m;return br("section",{header:y,noHeader:i||!g,sortParam:v,blocks:[br("nameValue",{markerType:"item",markerColor:u,name:_,noName:!ze(_),value:f,valueType:h,dataIndex:e})].concat(c||[])})}function c2(r,t,e,i,n){var a=t.getData(),o=Fe(r,function(h,c,v){var p=a.getDimensionInfo(v);return h=h||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],l=[],u=[];i.length?w(i,function(h){f(ra(a,e,h),h)}):w(r,f);function f(h,c){var v=a.getDimensionInfo(c);!v||v.otherDims.tooltip===!1||(o?u.push(br("nameValue",{markerType:"subIt
`+g.message)}var n=new nt;n.add(i),n.isGeoSVGGraphicRoot=!0;var a=e.width,o=e.height,s=e.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,f=void 0,h=void 0,c=void 0;if(a!=null?(u=0,h=a):s&&(u=s.x,h=s.width),o!=null?(f=0,c=o):s&&(f=s.y,c=s.height),u==null||f==null){var v=i.getBoundingRect();u==null&&(u=v.x,h=v.width),f==null&&(f=v.y,c=v.height)}l=this._boundingRect=new st(u,f,h,c)}if(s){var p=cb(s,l);i.scaleX=i.scaleY=p.scale,i.x=p.x,i.y=p.y}n.setClipPath(new vt({shape:l.plain()}));var d=[];return w(e.named,function(g){bE.get(g.svgNodeTagLower)!=null&&(d.push(g),TE(g.el))}),{root:n,boundingRect:l,named:d}},r.prototype.useGraphic=function(t){var e=this._usedGraphicMap,i=e.get(t);return i||(i=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,i),i)},r.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,i=e.get(t);i&&(e.removeKey(t),this._freedGraphics.push(i))},r})();function TE(r){r.silent=!1,r.isGroup&&r.traverse(function(t){t.silent=!1})}function CE(r){var t=[],e=U();return w(r,function(i){if(i.namedFrom==null){var n=new qP(i.name,i.el);t.push(n),e.set(i.name,n)}}),{regions:t,regionsMap:e}}var Sv=[126,25],rm="南海诸岛",Yi=[[[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]]];for(var Hi=0;Hi<Yi.length;Hi++)for(var Bn=0;Bn<Yi[Hi].length;Bn++)Yi[Hi][Bn][0]/=10.5,Yi[Hi][Bn][1]/=-10.5/.75,Yi[Hi][Bn][0]+=Sv[0],Yi[Hi][Bn][1]+=Sv[1];function AE(r,t){if(r==="china"){for(var e=0;e<t.length;e++)if(t[e].name===rm)return;t.push(new Ax(rm,F(Yi,function(i){return{type:"polygon",exterior:i}}),Sv))}}var ME={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function DE(r,t){if(r==="china"){var e=ME[t.name];if(e){var i=t.getCenter();i[0]+=e[0]/10.5,i[1]+=-e[1]/(10.5/.75),t.setCenter(i)}}}var LE=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function PE(r,t){r==="china"&&t.name==="台湾"&&t.geometries.push({type:"polygon",exterior:LE[0]})}var IE="name",RE=(function(){function r(t,e,i){this.type="geoJSON",this._parsedMap=U(),this._mapName=t,this._specialAreas=i,this._geoJSON=kE(e)}return r.prototype.load=function(t,e){e=e||IE;var i=this._parsedMap.get(e);if(!i){var n=this._parseToRegions(e);i=this._parsedMap.set(e,{regions:n,boundingRect:EE(n)})}var a=U(),o=[];return w(i.regions,function(s){var l=s.name;t&&H(t,l)&&(s=s.cloneShallow(l=t[l])),o.push(s),a.set(l,s)}),{regions:o,boundingRect:i.boundingRect||new st(0,0,0,0),regionsMap:a}},r.prototype._parseToRegions=function(t){var e=this._mapName,i=this._geoJSON,n;try{n=i?cv(i,t):[]}catch(a){throw new Error(`Invalid geoJson format
`+a.message)}return AE(e,n),w(n,function(a){var o=a.name;DE(e,a),PE(e,a);var s=this._specialAreas&&this._specialAreas[o];s&&a.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 EE(r){for(var t,e=0;e<r.length;e++){var i=r[e].getBoundingRect();t=t||i.clone(),t.union(i)}return t}function kE(r){return G(r)?typeof JSON!="undefined"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r}var za=U();const Yr={registerMap:function(r,t,e){if(t.svg){var i=new wE(r,t.svg);za.set(r,i)}else{var n=t.geoJson||t.geoJSON;n&&!t.features?e=t.specialAreas:n=t;var i=new RE(r,n,e);za.set(r,i)}},getGeoResource:function(r){return za.get(r)},getMapForUser:function(r){var t=za.get(r);return t&&t.type==="geoJSON"&&t.getMapForUser()},load:function(r,t,e){var i=za.get(r);if(i)return i.load(t,e)}};var hp=["rect","circle","line","ellipse","polygon","polyline","path"],OE=U(hp),BE=U(hp.concat(["g"])),NE=U(hp.concat(["g"])),pb=St();function Os(r){var t=r.getItemStyle(),e=r.get("areaColor");return e!=null&&(t.fill=e),t}function im(r){var t=r.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var db=(function(){function r(t){var e=new nt;this.uid=va("ec_map_draw"),this._controller=new lb(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new nt),e.add(this._svgGroup=new nt)}return r.prototype.draw=function(t,e,i,n,a){var o=t.mainType==="geo",s=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(y){!s&&y.getHostGeoModel()===t&&(s=y.getData())});var l=t.coordinateSystem,u=this._regionsGroup,f=this.group,h=l.getTransformInfo(),c=h.raw,v=h.roam,p=!u.childAt(0)||a;p?(f.x=v.x,f.y=v.y,f.scaleX=v.scaleX,f.scaleY=v.scaleY,f.dirty()):Mt(f,v,t);var d=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,g={api:i,geo:l,mapOrGeoModel:t,data:s,isVisualEncodedByVisualMap:d,isGeo:o,transformInfoRaw:c};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,e,i),this._updateMapSelectHandler(t,u,i,n)},r.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=U(),i=U(),n=this._regionsGroup,a=t.transformInfoRaw,o=t.mapOrGeoModel,s=t.data,l=t.geo.projection,u=l&&l.stream;function f(v,p){return p&&(v=p(v)),v&&[v[0]*a.scaleX+a.x,v[1]*a.scaleY+a.y]}function h(v){for(var p=[],d=!u&&l&&l.project,g=0;g<v.length;++g){var y=f(v[g],d);y&&p.push(y)}return p}function c(v){return{shape:{points:h(v)}}}n.removeAll(),w(t.geo.regions,function(v){var p=v.name,d=e.get(p),g=i.get(p)||{},y=g.dataIdx,m=g.regionModel;if(!d){d=e.set(p,new nt),n.add(d),y=s?s.indexOfName(p):null,m=t.isGeo?o.getRegionModel(p):s?s.getItemModel(y):null;var _=m.get("silent",!0);_!=null&&(d.silent=_),i.set(p,{dataIdx:y,regionModel:m})}var S=[],b=[];w(v.geometries,function(C){if(C.type==="polygon"){var A=[C.exterior].concat(C.interiors||[]);u&&(A=um(A,u)),w(A,function(D){S.push(new ir(c(D)))})}else{var M=C.points;u&&(M=um(M,u,!0)),w(M,function(D){b.push(new Ce(c(D)))})}});var x=f(v.getCenter(),l&&l.project);function T(C,A){if(C.length){var M=new cc({culling:!0,segmentIgnoreThreshold:1,shape:{paths:C}});d.add(M),nm(t,M,y,m),am(t,M,p,m,o,y,x),A&&(im(M),w(M.states,im))}}T(S),T(b,!0)}),e.each(function(v,p){var d=i.get(p),g=d.dataIdx,y=d.regionModel;om(t,v,p,y,o,g),sm(t,v,p,y,o),lm(t,v,p,y,o)},this)},r.prototype._buildSVG=function(t){var e=t.geo.map,i=t.transformInfoRaw;this._svgGroup.x=i.x,this._svgGroup.y=i.y,this._svgGroup.scaleX=i.scaleX,this._svgGroup.scaleY=i.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var n=this._svgDispatcherMap=U(),a=!1;w(this._svgGraphicRecord.named,function(o){var s=o.name,l=t.mapOrGeoModel,u=t.data,f=o.svgNodeTagLower,h=o.el,c=u?u.indexOfName(s):null,v=l.getRegionModel(s);OE.get(f)!=null&&h instanceof Hr&&nm(t,h,c,v),h instanceof Hr&&(h.culling=!0);var p=v.get("silent",!0);if(p!=null&&(h.silent=p),h.z2EmphasisLift=0,!o.namedFrom&&(NE.get(f)!=null&&am(t,h,s,v,l,c,null),om(t,h,s,v,l,c),sm(t
`))}),t.join(`
`+Pu+`
`)}function NB(r){return F(r,function(t){var e=t.getRawData(),i=[t.name],n=[];return e.each(e.dimensions,function(){for(var a=arguments.length,o=arguments[a-1],s=e.getName(o),l=0;l<a-1;l++)n[l]=arguments[l];i.push((s?s+oa:"")+n.join(oa))}),i.join(`
`)}).join(`
`+Pu+`
`)}function zB(r){var t=OB(r);return{value:wt([BB(t.seriesGroupByCategoryAxis),NB(t.other)],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join(`
`+Pu+`
`),meta:t.meta}}function Wl(r){return r.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function FB(r){var t=r.slice(0,r.indexOf(`
`));if(t.indexOf(oa)>=0)return!0}var Ev=new RegExp("["+oa+"]+","g");function VB(r){for(var t=r.split(/\n+/g),e=Wl(t.shift()).split(Ev),i=[],n=F(e,function(l){return{name:l,data:[]}}),a=0;a<t.length;a++){var o=Wl(t[a]).split(Ev);i.push(o.shift());for(var s=0;s<o.length;s++)n[s]&&(n[s].data[a]=o[s])}return{series:n,categories:i}}function GB(r){for(var t=r.split(/\n+/g),e=Wl(t.shift()),i=[],n=0;n<t.length;n++){var a=Wl(t[n]);if(a){var o=a.split(Ev),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),i[n]={name:s,value:[]},l=i[n].value):l=i[n]=[];for(var f=0;f<o.length;f++)l.push(+o[f]);l.length===1&&(u?i[n].value=l[0]:i[n]=l[0])}}return{name:e,data:i}}function HB(r,t){var e=r.split(new RegExp(`
*`+Pu+`
*`,"g")),i={series:[]};return w(e,function(n,a){if(FB(n)){var o=VB(n),s=t[a],l=s.axisDim+"Axis";s&&(i[l]=i[l]||[],i[l][s.axisIndex]={data:o.categories},i.series=i.series.concat(o.series))}else{var o=GB(n);i.series.push(o)}}),i}var WB=(function(r){E(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,i){setTimeout(function(){i.dispatchAction({type:"hideTip"})});var n=i.getDom(),a=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=a.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=a.get("lang")||[];s.innerHTML=l[0]||a.get("title"),s.style.cssText="margin:10px 20px",s.style.color=a.get("textColor");var u=document.createElement("div"),f=document.createElement("textarea");u.style.cssText="overflow:auto";var h=a.get("optionToContent"),c=a.get("contentToOption"),v=zB(e);if(j(h)){var p=h(i.getOption());G(p)?u.innerHTML=p:hn(p)&&u.appendChild(p)}else{f.readOnly=a.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=a.get("textColor"),d.borderColor=a.get("textareaBorderColor"),d.backgroundColor=a.get("textareaColor"),f.value=v.value,u.appendChild(f)}var g=v.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:"+a.get("buttonColor"),m+=";color:"+a.get("buttonTextColor");var b=this;function x(){n.removeChild(o),b._dom=null}wh(_,"click",x),wh(S,"click",function(){if(c==null&&h!=null||c!=null&&h==null){x();return}var T;try{j(c)?T=c(u,i.getOption()):T=HB(f.value,g)}catch(C){throw x(),new Error("Data view format error "+C)}T&&i.dispatchAction({type:"changeDataView",newOption:T}),x()}),_.innerHTML=l[1],S.innerHTML=l[2],S.style.cssText=_.style.cssText=m,!a.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},t.prototype.remove=function(e,i){this._dom&&i.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,i){this.remove(e,i)},t.getDefaultOption=function(e){var i={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:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return i},t})(Ke);function YB(r,t){return F(r,function(e,i){var n=t&&t[i];if(X(n)&&!z(n)){var a=X(e)&&!z(e);a||(e={value:e});var o=n.name!=null&&e.name==null;return e=K(e,n),o&&delete e.name,e}else return e})}ar({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(r,t){var e=[];w(r.newOption.series,function(i){var n=t.getSeriesByName(i.name)[0];if(!n)e.push(O({type:"scatter"},i));else{var a=n.get("data");e.push({name:i.name,data:YB(i.data,a)})}}),t.mergeOption(K({series:e},r.newOption))});var uw=w,fw=St();function UB(r,t){var e=Ap(r);uw(t,function(i,n){for(var a=e.length-1;a>=0;a--){var o=e[a];if(o[n])break}if(a<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:n})[0];if(s){var l=s.getPercentRange();e[0][n]={dataZoomId:n,start:l[0],end:l[1]}}}}),e.push(t)}function XB(r){var t=Ap(r),e=t[t.length-1];t.length>1&&t.pop();var i={};return uw(e,function(n,a){for(var o=t.length-1;o>=0;o--)if(n=t[o][a],n){i[a]=n;break}}),i}function ZB(r){fw(r).snapshots=null}function $B(r){return Ap(r).length}function Ap(r){var t=fw(r);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var qB=(function(r){E(t,r);function t(){return r
`:"<br/>",y=h.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,u)?this._updatePosition(s,v,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,y,u,Math.random()+"",o[0],o[1],v,null,c)})},t.prototype._showSeriesItemTooltip=function(e,i,n){var a=this._ecModel,o=ot(i),s=o.seriesIndex,l=a.getSeriesByIndex(s),u=o.dataModel||l,f=o.dataIndex,h=o.dataType,c=u.getData(h),v=this._renderMode,p=e.positionDefault,d=Ga([c.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 Tf;y.marker=m.makeTooltipMarker("item",cn(y.color),v);var _=gg(u.formatTooltip(f,!1,h)),S=d.get("order"),b=d.get("valueFormatter"),x=_.frag,T=x?xg(b?O({valueFormatter:b},x):x,m,v,S,a.get("useUTC"),d.get("textStyle")):_.text,C="item_"+u.name+"_"+f;this._showOrMove(d,function(){this._showTooltipContent(d,T,y,C,e.offsetX,e.offsetY,e.position,e.target,m)}),n({type:"showTip",dataIndexInside:f,dataIndex:c.getRawIndex(f),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,i,n){var a=this._renderMode==="html",o=ot(i),s=o.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(G(l)){var f=l;l={content:f,formatter:f},u=!0}u&&a&&l.content&&(l=q(l),l.content=ne(l.content));var h=[l],c=this._ecModel.getComponent(o.componentMainType,o.componentIndex);c&&h.push(c),h.push({formatter:l.content});var v=e.positionDefault,p=Ga(h,this._tooltipModel,v?{position:v}:null),d=p.get("content"),g=Math.random()+"",y=new Tf;this._showOrMove(p,function(){var m=q(p.get("formatterParams")||{});this._showTooltipContent(p,d,m,g,e.offsetX,e.offsetY,e.position,i,y)}),n({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,i,n,a,o,s,l,u,f){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var h=this._tooltipContent;h.setEnterable(e.get("enterable"));var c=e.get("formatter");l=l||e.get("position");var v=i,p=this._getNearestPoint([o,s],n,e.get("trigger"),e.get("borderColor")),d=p.color;if(c)if(G(c)){var g=e.ecModel.get("useUTC"),y=z(n)?n[0]:n,m=y&&y.axisType&&y.axisType.indexOf("time")>=0;v=c,m&&(v=Zo(y.axisValue,v,g)),v=Lc(v,n,!0)}else if(j(c)){var _=W(function(S,b){S===this._ticket&&(h.setContent(b,f,e,d,l),this._updatePosition(e,l,o,s,h,n,u))},this);this._ticket=a,v=c(n,a,_)}else v=c;h.setContent(v,f,e,d,l),h.show(e,d),this._updatePosition(e,l,o,s,h,n,u)}},t.prototype._getNearestPoint=function(e,i,n,a){if(n==="axis"||z(i))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!z(i))return{color:a||i.color||i.borderColor}},t.prototype._updatePosition=function(e,i,n,a,o,s,l){var u=this._api.getWidth(),f=this._api.getHeight();i=i||e.get("position");var h=o.getSize(),c=e.get("align"),v=e.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),j(i)&&(i=i([n,a],s,o.el,p,{viewSize:[u,f],contentSize:h.slice()})),z(i))n=Q(i[0],u),a=Q(i[1],f);else if(X(i)){var d=i;d.width=h[0],d.height=h[1];var g=le(d,{width:u,height:f});n=g.x,a=g.y,c=null,v=null}else if(G(i)&&l){var y=x5(i,p,h,e.get("borderWidth"));n=y[0],a=y[1]}else{var y=_5(n,a,o,u,f,c?null:20,v?null:20);n=y[0],a=y[1]}if(c&&(n-=S0(c)?h[0]/2:c==="right"?h[0]:0),v&&(a-=S0(v)?h[1]/2:v==="bottom"?h[1]:0),vw(e)){var y=S5(n,a,o,u,f);n=y[0],a=y[1]}o.moveTo(n,a)},t.prototype._updateContentNotChangedOnAxis=function(e,i){var n=this._lastDataByCoordSys,a=this._cbParamsList,o=!!n&&n.length===e.length;return o&&w(n,function(s,l){var u=s.dataByAxis||[],f=e[l]||{},h=f.dataByAxis||[];o=o&&u.length===h.length,o&&w(u,function(c,v){var p=h[v]||{},d=c.seriesDataIndices||[],g=p.seriesDataIndices||[];o=o&&c.value===p.value&&c.axisType===p.axisType&&c.axisId===p.axisId&&d.length===g.length,o&&w(d,function(y,m){var _=g[m];o=o&&y.seriesIndex===_.seriesIndex&&y.dataIndex===_.dataIndex}),a&&w(c.seriesDataIndices,function(y){var m=y.seriesIndex,_=i[m],S=a[m];_&&S&&S.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=i,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.u
`)){var g=new Hs;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,v,i,e,_,b,S,h,a);x.on("click",zn(L0,d,null,a,c)).on("mouseover",zn(zv,y.name,null,a,c)).on("mouseout",zn(Fv,y.name,null,a,c)),n.ssr&&x.eachChild(function(T){var C=ot(T);C.seriesIndex=y.seriesIndex,C.dataIndex=p,C.ssrType="legend"}),f.set(d,!0)}else n.eachRawSeries(function(T){if(!f.get(d)&&T.legendVisualProvider){var C=T.legendVisualProvider;if(!C.containName(d))return;var A=C.indexOfName(d),M=C.getItemVisual(A,"style"),D=C.getItemVisual(A,"legendIcon"),L=oe(M.fill);L&&L[3]===0&&(L[3]=.2,M=O(O({},M),{fill:Qe(L,"rgba")}));var P=this._createItem(T,d,p,v,i,e,{},M,D,h,a);P.on("click",zn(L0,null,d,a,c)).on("mouseover",zn(zv,null,d,a,c)).on("mouseout",zn(Fv,null,d,a,c)),n.ssr&&P.eachChild(function(I){var R=ot(I);R.seriesIndex=T.seriesIndex,R.dataIndex=p,R.ssrType="legend"}),f.set(d,!0)}},this)},this),o&&this._createSelector(o,i,a,s,l)},t.prototype._createSelector=function(e,i,n,a,o){var s=this.getSelectorGroup();Nv(e,function(u){var f=u.type,h=new ct({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:f==="all"?"legendAllSelect":"legendInverseSelect",legendId:i.id})}});s.add(h);var c=i.getModel("selectorLabel"),v=i.getModel(["emphasis","selectorLabel"]);Xr(h,{normal:c,emphasis:v},{defaultText:u.title}),hi(h)})},t.prototype._createItem=function(e,i,n,a,o,s,l,u,f,h,c){var v=e.visualDrawType,p=o.get("itemWidth"),d=o.get("itemHeight"),g=o.isSelected(i),y=a.get("symbolRotate"),m=a.get("symbolKeepAspect"),_=a.get("icon");f=_||f||"roundRect";var S=V5(f,a,l,u,v,g,c),b=new Hs,x=a.getModel("textStyle");if(j(e.getLegendIcon)&&(!_||_==="inherit"))b.add(e.getLegendIcon({itemWidth:p,itemHeight:d,icon:f,iconRotate:y,itemStyle:S.itemStyle,lineStyle:S.lineStyle,symbolKeepAspect:m}));else{var T=_==="inherit"&&e.getData().getVisual("symbol")?y==="inherit"?e.getData().getVisual("symbolRotate"):y:0;b.add(G5({itemWidth:p,itemHeight:d,icon:f,iconRotate:T,itemStyle:S.itemStyle,symbolKeepAspect:m}))}var C=s==="left"?p+5:-5,A=s,M=o.get("formatter"),D=i;G(M)&&M?D=M.replace("{name}",i!=null?i:""):j(M)&&(D=M(i));var L=g?x.getTextColor():a.get("inactiveColor");b.add(new ct({style:Rt(x,{text:D,x:C,y:d/2,fill:L,align:A,verticalAlign:"middle"},{inheritColor:L})}));var P=new vt({shape:b.getBoundingRect(),style:{fill:"transparent"}}),I=a.getModel("tooltip");return I.get("show")&&mn({el:P,componentModel:o,itemName:i,itemTooltipOption:I.option}),b.add(P),b.eachChild(function(R){R.silent=!0}),P.silent=!h,this.getContentGroup().add(b),hi(b),b.__legendDataIndex=n,b},t.prototype.layoutInner=function(e,i,n,a,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();on(e.get("orient"),l,e.get("itemGap"),n.width,n.height);var f=l.getBoundingRect(),h=[-f.x,-f.y];if(u.markRedraw(),l.markRedraw(),o){on("horizontal",u,e.get("selectorItemGap",!0));var c=u.getBoundingRect(),v=[-c.x,-c.y],p=e.get("selectorButtonGap",!0),d=e.getOrient().index,g=d===0?"width":"height",y=d===0?"height":"width",m=d===0?"y":"x";s==="end"?v[d]+=f[g]+p:h[d]+=c[g]+p,v[1-d]+=f[y]/2-c[y]/2,u.x=v[0],u.y=v[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=f[g]+p+c[g],_[y]=Math.max(f[y],c[y]),_[m]=Math.min(0,c[m]+v[1-d]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t})(Ct);function V5(r,t,e,i,n,a,o){function s(g,y){g.lineWidth==="auto"&&(g.lineWidth=y.lineWidth>0?2:0),Nv(g,function(m,_){g[_]==="inherit"&&(g[_]=y[_])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),f=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?i.decal:Il(h,o),u.fill==="inherit"&&(u.fill=i[n]),u.stroke==="inherit"&&(u.stroke=i[f]),u.opacity==="inherit"&&(u.opacity=(n==="fill"?i:e).opacity),s(u,i);var c=t.getModel("lineStyle"),v=c.getLineStyle();if(s(v,e),u.fill==="auto"&&(u.fill=i.fill),u.stroke=
`||n==="")){var a=r.isSelected(n);H(e,n)?e[n]=e[n]&&a:e[n]=a}}),e}function W5(r){r.registerAction("legendToggleSelect","legendselectchanged",ft(Ha,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",ft(Ha,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",ft(Ha,"inverseSelect")),r.registerAction("legendSelect","legendselected",ft(Ha,"select")),r.registerAction("legendUnSelect","legendunselected",ft(Ha,"unSelect"))}function _w(r){r.registerComponentModel(Bv),r.registerComponentView(yw),r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,H5),r.registerSubTypeDefaulter("legend",function(){return"plain"}),W5(r)}var Y5=(function(r){E(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(e,i,n){var a=ca(e);r.prototype.init.call(this,e,i,n),I0(this,e,a)},t.prototype.mergeOption=function(e,i){r.prototype.mergeOption.call(this,e,i),I0(this,this.option,e)},t.type="legend.scroll",t.defaultOption=_i(Bv.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}),t})(Bv);function I0(r,t,e){var i=r.getOrient(),n=[1,1];n[i.index]=0,gi(t,e,{type:"box",ignoreSize:!!n})}var R0=nt,fh=["width","height"],hh=["x","y"],U5=(function(r){E(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!0,e._currentIndex=0,e}return t.prototype.init=function(){r.prototype.init.call(this),this.group.add(this._containerGroup=new R0),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new R0)},t.prototype.resetInner=function(){r.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(e,i,n,a,o,s,l){var u=this;r.prototype.renderInner.call(this,e,i,n,a,o,s,l);var f=this._controllerGroup,h=i.get("pageIconSize",!0),c=z(h)?h:[h,h];p("pagePrev",0);var v=i.getModel("pageTextStyle");f.add(new ct({name:"pageText",style:{text:"xx/xx",fill:v.getTextColor(),font:v.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1);function p(d,g){var y=d+"DataIndex",m=fa(i.get("pageIcons",!0)[i.getOrient().name][g],{onclick:W(u._pageGo,u,y,i,a)},{x:-c[0]/2,y:-c[1]/2,width:c[0],height:c[1]});m.name=d,f.add(m)}},t.prototype.layoutInner=function(e,i,n,a,o,s){var l=this.getSelectorGroup(),u=e.getOrient().index,f=fh[u],h=hh[u],c=fh[1-u],v=hh[1-u];o&&on("horizontal",l,e.get("selectorItemGap",!0));var p=e.get("selectorButtonGap",!0),d=l.getBoundingRect(),g=[-d.x,-d.y],y=q(n);o&&(y[f]=n[f]-d[f]-p);var m=this._layoutContentAndController(e,a,y,u,f,c,v,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[v]+m[c]/2-d[c]/2,m[c]=Math.max(m[c],d[c]),m[v]=Math.min(m[v],d[v]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return m},t.prototype._layoutContentAndController=function(e,i,n,a,o,s,l,u){var f=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;on(e.get("orient"),f,e.get("itemGap"),a?n.width:null,a?null:n.height),on("horizontal",c,e.get("pageButtonItemGap",!0));var v=f.getBoundingRect(),p=c.getBoundingRect(),d=this._showController=v[o]>n[o],g=[-v.x,-v.y];i||(g[a]=f[u]);var y=[0,0],m=[-p.x,-p.y],_=rt(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(d){var S=e.get("pageButtonPosition",!0);S==="end"?m[a]+=n[o]-p[o]:y[a]+=p[o]+_}m[1-a]+=v[s]/2-p[s]/2,f.setPosition(g),h.setPosition(y),c.setPosition(m);var b={x:0,y:0};if(b[o]=d?n[o]:v[o],b[s]=Math.max(v[s],p[s]),b[l]=Math.min(0,p[l]+m[1-a]),h.__rectSize=n[o],d){var x={x:0,y:0};x[o]=Math.max(n[o]-p[o]-_,0),x[s]=b[s],h.setClipPath(new vt({shape:x})),h.__rectSize=x[o]}else c.eachChild(