lke-component 2.0.0-beta.3 → 2.0.0-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lke-component.cjs.js +122 -1
- package/dist/lke-component.es.js +61321 -18
- package/dist/lke-component.umd.js +68 -1586
- package/dist/style.css +1 -1
- package/package.json +1 -2
- package/dist/index-064ecbfd.js +0 -1517
- package/dist/index-5b5496b2.js +0 -124
- package/dist/index-65aa684b.mjs +0 -60656
- package/dist/index-bdfc2b64.mjs +0 -26233
|
@@ -1 +1,122 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const Pa=require("vue");function mE(t){if(!t||typeof t!="string")return t;const e=document.createElement("textarea");e.innerHTML=t;const r=e.value;return e.remove(),r}function An(t){const e=t;return e.install=r=>{r.component(e.name,t)},e}var dp=11;function yE(t,e){var r=e.attributes,n,i,a,o,s;if(!(e.nodeType===dp||t.nodeType===dp)){for(var u=r.length-1;u>=0;u--)n=r[u],i=n.name,a=n.namespaceURI,o=n.value,a?(i=n.localName||i,s=t.getAttributeNS(a,i),s!==o&&(n.prefix==="xmlns"&&(i=n.name),t.setAttributeNS(a,i,o))):(s=t.getAttribute(i),s!==o&&t.setAttribute(i,o));for(var l=t.attributes,c=l.length-1;c>=0;c--)n=l[c],i=n.name,a=n.namespaceURI,a?(i=n.localName||i,e.hasAttributeNS(a,i)||t.removeAttributeNS(a,i)):e.hasAttribute(i)||t.removeAttribute(i)}}var n1,_E="http://www.w3.org/1999/xhtml",Wt=typeof document>"u"?void 0:document,bE=!!Wt&&"content"in Wt.createElement("template"),xE=!!Wt&&Wt.createRange&&"createContextualFragment"in Wt.createRange();function wE(t){var e=Wt.createElement("template");return e.innerHTML=t,e.content.childNodes[0]}function SE(t){n1||(n1=Wt.createRange(),n1.selectNode(Wt.body));var e=n1.createContextualFragment(t);return e.childNodes[0]}function CE(t){var e=Wt.createElement("body");return e.innerHTML=t,e.childNodes[0]}function AE(t){return t=t.trim(),bE?wE(t):xE?SE(t):CE(t)}function i1(t,e){var r=t.nodeName,n=e.nodeName,i,a;return r===n?!0:(i=r.charCodeAt(0),a=n.charCodeAt(0),i<=90&&a>=97?r===n.toUpperCase():a<=90&&i>=97?n===r.toUpperCase():!1)}function TE(t,e){return!e||e===_E?Wt.createElement(t):Wt.createElementNS(e,t)}function DE(t,e){for(var r=t.firstChild;r;){var n=r.nextSibling;e.appendChild(r),r=n}return e}function X2(t,e,r){t[r]!==e[r]&&(t[r]=e[r],t[r]?t.setAttribute(r,""):t.removeAttribute(r))}var pp={OPTION:function(t,e){var r=t.parentNode;if(r){var n=r.nodeName.toUpperCase();n==="OPTGROUP"&&(r=r.parentNode,n=r&&r.nodeName.toUpperCase()),n==="SELECT"&&!r.hasAttribute("multiple")&&(t.hasAttribute("selected")&&!e.selected&&(t.setAttribute("selected","selected"),t.removeAttribute("selected")),r.selectedIndex=-1)}X2(t,e,"selected")},INPUT:function(t,e){X2(t,e,"checked"),X2(t,e,"disabled"),t.value!==e.value&&(t.value=e.value),e.hasAttribute("value")||t.removeAttribute("value")},TEXTAREA:function(t,e){var r=e.value;t.value!==r&&(t.value=r);var n=t.firstChild;if(n){var i=n.nodeValue;if(i==r||!r&&i==t.placeholder)return;n.nodeValue=r}},SELECT:function(t,e){if(!e.hasAttribute("multiple")){for(var r=-1,n=0,i=t.firstChild,a,o;i;)if(o=i.nodeName&&i.nodeName.toUpperCase(),o==="OPTGROUP")a=i,i=a.firstChild,i||(i=a.nextSibling,a=null);else{if(o==="OPTION"){if(i.hasAttribute("selected")){r=n;break}n++}i=i.nextSibling,!i&&a&&(i=a.nextSibling,a=null)}t.selectedIndex=r}}},qs=1,vp=11,gp=3,mp=8;function ti(){}function EE(t){if(t)return t.getAttribute&&t.getAttribute("id")||t.id}function kE(t){return function(r,n,i){if(i||(i={}),typeof n=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"){var a=n;n=Wt.createElement("html"),n.innerHTML=a}else if(r.nodeName==="BODY"){var o=n;n=Wt.createElement("html"),n.innerHTML=o;var s=n.querySelector("body");s&&(n=s)}else n=AE(n);else n.nodeType===vp&&(n=n.firstElementChild);var u=i.getNodeKey||EE,l=i.onBeforeNodeAdded||ti,c=i.onNodeAdded||ti,f=i.onBeforeElUpdated||ti,h=i.onElUpdated||ti,d=i.onBeforeNodeDiscarded||ti,p=i.onNodeDiscarded||ti,v=i.onBeforeElChildrenUpdated||ti,g=i.skipFromChildren||ti,m=i.addChild||function(R,B){return R.appendChild(B)},y=i.childrenOnly===!0,_=Object.create(null),b=[];function x(R){b.push(R)}function w(R,B){if(R.nodeType===qs)for(var z=R.firstChild;z;){var V=void 0;B&&(V=u(z))?x(V):(p(z),z.firstChild&&w(z,B)),z=z.nextSibling}}function S(R,B,z){d(R)!==!1&&(B&&B.removeChild(R),p(R),w(R,z))}function C(R){if(R.nodeType===qs||R.nodeType===vp)for(var B=R.firstChild;B;){var z=u(B);z&&(_[z]=B),C(B),B=B.nextSibling}}C(r);function A(R){c(R);for(var B=R.firstChild;B;){var z=B.nextSibling,V=u(B);if(V){var U=_[V];U&&i1(B,U)?(B.parentNode.replaceChild(U,B),D(U,B)):A(B)}else A(B);B=z}}function T(R,B,z){for(;B;){var V=B.nextSibling;(z=u(B))?x(z):S(B,R,!0),B=V}}function D(R,B,z){var V=u(B);if(V&&delete _[V],!z){var U=f(R,B);if(U===!1||(U instanceof HTMLElement&&(R=U,C(R)),t(R,B),h(R),v(R,B)===!1))return}R.nodeName!=="TEXTAREA"?k(R,B):pp.TEXTAREA(R,B)}function k(R,B){var z=g(R,B),V=B.firstChild,U=R.firstChild,q,K,xe,Ve,ue;e:for(;V;){for(Ve=V.nextSibling,q=u(V);!z&&U;){if(xe=U.nextSibling,V.isSameNode&&V.isSameNode(U)){V=Ve,U=xe;continue e}K=u(U);var ee=U.nodeType,he=void 0;if(ee===V.nodeType&&(ee===qs?(q?q!==K&&((ue=_[q])?xe===ue?he=!1:(R.insertBefore(ue,U),K?x(K):S(U,R,!0),U=ue,K=u(U)):he=!1):K&&(he=!1),he=he!==!1&&i1(U,V),he&&D(U,V)):(ee===gp||ee==mp)&&(he=!0,U.nodeValue!==V.nodeValue&&(U.nodeValue=V.nodeValue))),he){V=Ve,U=xe;continue e}K?x(K):S(U,R,!0),U=xe}if(q&&(ue=_[q])&&i1(ue,V))z||m(R,ue),D(ue,V);else{var Q=l(V);Q!==!1&&(Q&&(V=Q),V.actualize&&(V=V.actualize(R.ownerDocument||Wt)),m(R,V),A(V))}V=Ve,U=xe}T(R,U,K);var se=pp[R.nodeName];se&&se(R,B)}var M=r,I=M.nodeType,N=n.nodeType;if(!y){if(I===qs)N===qs?i1(r,n)||(p(r),M=DE(r,TE(n.nodeName,n.namespaceURI))):M=n;else if(I===gp||I===mp){if(N===I)return M.nodeValue!==n.nodeValue&&(M.nodeValue=n.nodeValue),M;M=n}}if(M===n)p(r);else{if(n.isSameNode&&n.isSameNode(M))return;if(D(M,n,y),b)for(var L=0,O=b.length;L<O;L++){var P=_[b[L]];P&&S(P,P.parentNode,!1)}}return!y&&M!==r&&r.parentNode&&(M.actualize&&(M=M.actualize(r.ownerDocument||Wt)),r.parentNode.replaceChild(M,r)),M}}var ME=kE(yE);const yp={};function LE(t){let e=yp[t];if(e)return e;e=yp[t]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);e.push(n)}for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);e[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return e}function ps(t,e){typeof e!="string"&&(e=ps.defaultChars);const r=LE(e);return t.replace(/(%[a-f0-9]{2})+/gi,function(n){let i="";for(let a=0,o=n.length;a<o;a+=3){const s=parseInt(n.slice(a+1,a+3),16);if(s<128){i+=r[s];continue}if((s&224)===192&&a+3<o){const u=parseInt(n.slice(a+4,a+6),16);if((u&192)===128){const l=s<<6&1984|u&63;l<128?i+="��":i+=String.fromCharCode(l),a+=3;continue}}if((s&240)===224&&a+6<o){const u=parseInt(n.slice(a+4,a+6),16),l=parseInt(n.slice(a+7,a+9),16);if((u&192)===128&&(l&192)===128){const c=s<<12&61440|u<<6&4032|l&63;c<2048||c>=55296&&c<=57343?i+="���":i+=String.fromCharCode(c),a+=6;continue}}if((s&248)===240&&a+9<o){const u=parseInt(n.slice(a+4,a+6),16),l=parseInt(n.slice(a+7,a+9),16),c=parseInt(n.slice(a+10,a+12),16);if((u&192)===128&&(l&192)===128&&(c&192)===128){let f=s<<18&1835008|u<<12&258048|l<<6&4032|c&63;f<65536||f>1114111?i+="����":(f-=65536,i+=String.fromCharCode(55296+(f>>10),56320+(f&1023))),a+=9;continue}}i+="�"}return i})}ps.defaultChars=";/?:@&=+$,#";ps.componentChars="";const _p={};function IE(t){let e=_p[t];if(e)return e;e=_p[t]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<t.length;r++)e[t.charCodeAt(r)]=t[r];return e}function Nl(t,e,r){typeof e!="string"&&(r=e,e=Nl.defaultChars),typeof r>"u"&&(r=!0);const n=IE(e);let i="";for(let a=0,o=t.length;a<o;a++){const s=t.charCodeAt(a);if(r&&s===37&&a+2<o&&/^[0-9a-f]{2}$/i.test(t.slice(a+1,a+3))){i+=t.slice(a,a+3),a+=2;continue}if(s<128){i+=n[s];continue}if(s>=55296&&s<=57343){if(s>=55296&&s<=56319&&a+1<o){const u=t.charCodeAt(a+1);if(u>=56320&&u<=57343){i+=encodeURIComponent(t[a]+t[a+1]),a++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(t[a])}return i}Nl.defaultChars=";/?:@&=+$,-_.!~*'()#";Nl.componentChars="-_.!~*'()";function I4(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function G0(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const PE=/^([a-z0-9.+-]+:)/i,RE=/:[0-9]*$/,NE=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,OE=["<",">",'"',"`"," ","\r",`
|
|
2
|
+
`," "],BE=["{","}","|","\\","^","`"].concat(OE),FE=["'"].concat(BE),bp=["%","/","?",";","#"].concat(FE),xp=["/","?","#"],zE=255,wp=/^[+a-z0-9A-Z_-]{0,63}$/,VE=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Sp={javascript:!0,"javascript:":!0},Cp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function P4(t,e){if(t&&t instanceof G0)return t;const r=new G0;return r.parse(t,e),r}G0.prototype.parse=function(t,e){let r,n,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){const l=NE.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let o=PE.exec(a);if(o&&(o=o[0],r=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(e||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(o&&Sp[o])&&(a=a.substr(2),this.slashes=!0)),!Sp[o]&&(i||o&&!Cp[o])){let l=-1;for(let p=0;p<xp.length;p++)n=a.indexOf(xp[p]),n!==-1&&(l===-1||n<l)&&(l=n);let c,f;l===-1?f=a.lastIndexOf("@"):f=a.lastIndexOf("@",l),f!==-1&&(c=a.slice(0,f),a=a.slice(f+1),this.auth=c),l=-1;for(let p=0;p<bp.length;p++)n=a.indexOf(bp[p]),n!==-1&&(l===-1||n<l)&&(l=n);l===-1&&(l=a.length),a[l-1]===":"&&l--;const h=a.slice(0,l);a=a.slice(l),this.parseHost(h),this.hostname=this.hostname||"";const d=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!d){const p=this.hostname.split(/\./);for(let v=0,g=p.length;v<g;v++){const m=p[v];if(m&&!m.match(wp)){let y="";for(let _=0,b=m.length;_<b;_++)m.charCodeAt(_)>127?y+="x":y+=m[_];if(!y.match(wp)){const _=p.slice(0,v),b=p.slice(v+1),x=m.match(VE);x&&(_.push(x[1]),b.unshift(x[2])),b.length&&(a=b.join(".")+a),this.hostname=_.join(".");break}}}}this.hostname.length>zE&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const s=a.indexOf("#");s!==-1&&(this.hash=a.substr(s),a=a.slice(0,s));const u=a.indexOf("?");return u!==-1&&(this.search=a.substr(u),a=a.slice(0,u)),a&&(this.pathname=a),Cp[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};G0.prototype.parseHost=function(t){let e=RE.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const $E=Object.freeze(Object.defineProperty({__proto__:null,decode:ps,encode:Nl,format:I4,parse:P4},Symbol.toStringTag,{value:"Module"})),__=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,b_=/[\0-\x1F\x7F-\x9F]/,GE=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,R4=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,x_=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,w_=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,HE=Object.freeze(Object.defineProperty({__proto__:null,Any:__,Cc:b_,Cf:GE,P:R4,S:x_,Z:w_},Symbol.toStringTag,{value:"Module"})),UE=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),WE=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var j2;const qE=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),ZE=(j2=String.fromCodePoint)!==null&&j2!==void 0?j2:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function YE(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=qE.get(t))!==null&&e!==void 0?e:t}var bt;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(bt||(bt={}));const XE=32;var bi;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(bi||(bi={}));function Rh(t){return t>=bt.ZERO&&t<=bt.NINE}function jE(t){return t>=bt.UPPER_A&&t<=bt.UPPER_F||t>=bt.LOWER_A&&t<=bt.LOWER_F}function KE(t){return t>=bt.UPPER_A&&t<=bt.UPPER_Z||t>=bt.LOWER_A&&t<=bt.LOWER_Z||Rh(t)}function QE(t){return t===bt.EQUALS||KE(t)}var yt;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(yt||(yt={}));var yi;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(yi||(yi={}));class JE{constructor(e,r,n){this.decodeTree=e,this.emitCodePoint=r,this.errors=n,this.state=yt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=yi.Strict}startEntity(e){this.decodeMode=e,this.state=yt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case yt.EntityStart:return e.charCodeAt(r)===bt.NUM?(this.state=yt.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=yt.NamedEntity,this.stateNamedEntity(e,r));case yt.NumericStart:return this.stateNumericStart(e,r);case yt.NumericDecimal:return this.stateNumericDecimal(e,r);case yt.NumericHex:return this.stateNumericHex(e,r);case yt.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|XE)===bt.LOWER_X?(this.state=yt.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=yt.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,n,i){if(r!==n){const a=n-r;this.result=this.result*Math.pow(i,a)+parseInt(e.substr(r,a),i),this.consumed+=a}}stateNumericHex(e,r){const n=r;for(;r<e.length;){const i=e.charCodeAt(r);if(Rh(i)||jE(i))r+=1;else return this.addToNumericResult(e,n,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(e,n,r,16),-1}stateNumericDecimal(e,r){const n=r;for(;r<e.length;){const i=e.charCodeAt(r);if(Rh(i))r+=1;else return this.addToNumericResult(e,n,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(e,n,r,10),-1}emitNumericEntity(e,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===bt.SEMI)this.consumed+=1;else if(this.decodeMode===yi.Strict)return 0;return this.emitCodePoint(YE(this.result),this.consumed),this.errors&&(e!==bt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){const{decodeTree:n}=this;let i=n[this.treeIndex],a=(i&bi.VALUE_LENGTH)>>14;for(;r<e.length;r++,this.excess++){const o=e.charCodeAt(r);if(this.treeIndex=ek(n,i,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return this.result===0||this.decodeMode===yi.Attribute&&(a===0||QE(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],a=(i&bi.VALUE_LENGTH)>>14,a!==0){if(o===bt.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==yi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:r,decodeTree:n}=this,i=(n[r]&bi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,n){const{decodeTree:i}=this;return this.emitCodePoint(r===1?i[e]&~bi.VALUE_LENGTH:i[e+1],n),r===3&&this.emitCodePoint(i[e+2],n),n}end(){var e;switch(this.state){case yt.NamedEntity:return this.result!==0&&(this.decodeMode!==yi.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case yt.NumericDecimal:return this.emitNumericEntity(0,2);case yt.NumericHex:return this.emitNumericEntity(0,3);case yt.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case yt.EntityStart:return 0}}}function S_(t){let e="";const r=new JE(t,n=>e+=ZE(n));return function(i,a){let o=0,s=0;for(;(s=i.indexOf("&",s))>=0;){e+=i.slice(o,s),r.startEntity(a);const l=r.write(i,s+1);if(l<0){o=s+r.end();break}o=s+l,s=l===0?o+1:o}const u=e+i.slice(o);return e="",u}}function ek(t,e,r,n){const i=(e&bi.BRANCH_LENGTH)>>7,a=e&bi.JUMP_TABLE;if(i===0)return a!==0&&n===a?r:-1;if(a){const u=n-a;return u<0||u>=i?-1:t[r+u]-1}let o=r,s=o+i-1;for(;o<=s;){const u=o+s>>>1,l=t[u];if(l<n)o=u+1;else if(l>n)s=u-1;else return t[u+i]}return-1}const tk=S_(UE);S_(WE);function C_(t,e=yi.Legacy){return tk(t,e)}function rk(t){return Object.prototype.toString.call(t)}function N4(t){return rk(t)==="[object String]"}const nk=Object.prototype.hasOwnProperty;function ik(t,e){return nk.call(t,e)}function Xc(t){return Array.prototype.slice.call(arguments,1).forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(n){t[n]=r[n]})}}),t}function A_(t,e,r){return[].concat(t.slice(0,e),r,t.slice(e+1))}function O4(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function H0(t){if(t>65535){t-=65536;const e=55296+(t>>10),r=56320+(t&1023);return String.fromCharCode(e,r)}return String.fromCharCode(t)}const T_=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,ak=/&([a-z#][a-z0-9]{1,31});/gi,ok=new RegExp(T_.source+"|"+ak.source,"gi"),sk=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function uk(t,e){if(e.charCodeAt(0)===35&&sk.test(e)){const n=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return O4(n)?H0(n):t}const r=C_(t);return r!==t?r:t}function lk(t){return t.indexOf("\\")<0?t:t.replace(T_,"$1")}function vs(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(ok,function(e,r,n){return r||uk(e,n)})}const ck=/[&<>"]/,fk=/[&<>"]/g,hk={"&":"&","<":"<",">":">",'"':"""};function dk(t){return hk[t]}function Ni(t){return ck.test(t)?t.replace(fk,dk):t}const pk=/[.?*+^$[\]\\(){}|-]/g;function vk(t){return t.replace(pk,"\\$&")}function Xe(t){switch(t){case 9:case 32:return!0}return!1}function nl(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function il(t){return R4.test(t)||x_.test(t)}function al(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function jc(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const gk={mdurl:$E,ucmicro:HE},mk=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:A_,assign:Xc,escapeHtml:Ni,escapeRE:vk,fromCodePoint:H0,has:ik,isMdAsciiPunct:al,isPunctChar:il,isSpace:Xe,isString:N4,isValidEntityCode:O4,isWhiteSpace:nl,lib:gk,normalizeReference:jc,unescapeAll:vs,unescapeMd:lk},Symbol.toStringTag,{value:"Module"}));function yk(t,e,r){let n,i,a,o;const s=t.posMax,u=t.pos;for(t.pos=e+1,n=1;t.pos<s;){if(a=t.src.charCodeAt(t.pos),a===93&&(n--,n===0)){i=!0;break}if(o=t.pos,t.md.inline.skipToken(t),a===91){if(o===t.pos-1)n++;else if(r)return t.pos=u,-1}}let l=-1;return i&&(l=t.pos),t.pos=u,l}function _k(t,e,r){let n,i=e;const a={ok:!1,pos:0,str:""};if(t.charCodeAt(i)===60){for(i++;i<r;){if(n=t.charCodeAt(i),n===10||n===60)return a;if(n===62)return a.pos=i+1,a.str=vs(t.slice(e+1,i)),a.ok=!0,a;if(n===92&&i+1<r){i+=2;continue}i++}return a}let o=0;for(;i<r&&(n=t.charCodeAt(i),!(n===32||n<32||n===127));){if(n===92&&i+1<r){if(t.charCodeAt(i+1)===32)break;i+=2;continue}if(n===40&&(o++,o>32))return a;if(n===41){if(o===0)break;o--}i++}return e===i||o!==0||(a.str=vs(t.slice(e,i)),a.pos=i,a.ok=!0),a}function bk(t,e,r,n){let i,a=e;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(a>=r)return o;let s=t.charCodeAt(a);if(s!==34&&s!==39&&s!==40)return o;e++,a++,s===40&&(s=41),o.marker=s}for(;a<r;){if(i=t.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=vs(t.slice(e,a)),o.ok=!0,o;if(i===40&&o.marker===41)return o;i===92&&a+1<r&&a++,a++}return o.can_continue=!0,o.str+=vs(t.slice(e,a)),o}const xk=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:_k,parseLinkLabel:yk,parseLinkTitle:bk},Symbol.toStringTag,{value:"Module"})),Tn={};Tn.code_inline=function(t,e,r,n,i){const a=t[e];return"<code"+i.renderAttrs(a)+">"+Ni(a.content)+"</code>"};Tn.code_block=function(t,e,r,n,i){const a=t[e];return"<pre"+i.renderAttrs(a)+"><code>"+Ni(t[e].content)+`</code></pre>
|
|
3
|
+
`};Tn.fence=function(t,e,r,n,i){const a=t[e],o=a.info?vs(a.info).trim():"";let s="",u="";if(o){const c=o.split(/(\s+)/g);s=c[0],u=c.slice(2).join("")}let l;if(r.highlight?l=r.highlight(a.content,s,u)||Ni(a.content):l=Ni(a.content),l.indexOf("<pre")===0)return l+`
|
|
4
|
+
`;if(o){const c=a.attrIndex("class"),f=a.attrs?a.attrs.slice():[];c<0?f.push(["class",r.langPrefix+s]):(f[c]=f[c].slice(),f[c][1]+=" "+r.langPrefix+s);const h={attrs:f};return`<pre><code${i.renderAttrs(h)}>${l}</code></pre>
|
|
5
|
+
`}return`<pre><code${i.renderAttrs(a)}>${l}</code></pre>
|
|
6
|
+
`};Tn.image=function(t,e,r,n,i){const a=t[e];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,r,n),i.renderToken(t,e,r)};Tn.hardbreak=function(t,e,r){return r.xhtmlOut?`<br />
|
|
7
|
+
`:`<br>
|
|
8
|
+
`};Tn.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?`<br />
|
|
9
|
+
`:`<br>
|
|
10
|
+
`:`
|
|
11
|
+
`};Tn.text=function(t,e){return Ni(t[e].content)};Tn.html_block=function(t,e){return t[e].content};Tn.html_inline=function(t,e){return t[e].content};function Ds(){this.rules=Xc({},Tn)}Ds.prototype.renderAttrs=function(e){let r,n,i;if(!e.attrs)return"";for(i="",r=0,n=e.attrs.length;r<n;r++)i+=" "+Ni(e.attrs[r][0])+'="'+Ni(e.attrs[r][1])+'"';return i};Ds.prototype.renderToken=function(e,r,n){const i=e[r];let a="";if(i.hidden)return"";i.block&&i.nesting!==-1&&r&&e[r-1].hidden&&(a+=`
|
|
12
|
+
`),a+=(i.nesting===-1?"</":"<")+i.tag,a+=this.renderAttrs(i),i.nesting===0&&n.xhtmlOut&&(a+=" /");let o=!1;if(i.block&&(o=!0,i.nesting===1&&r+1<e.length)){const s=e[r+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===i.tag)&&(o=!1)}return a+=o?`>
|
|
13
|
+
`:">",a};Ds.prototype.renderInline=function(t,e,r){let n="";const i=this.rules;for(let a=0,o=t.length;a<o;a++){const s=t[a].type;typeof i[s]<"u"?n+=i[s](t,a,e,r,this):n+=this.renderToken(t,a,e)}return n};Ds.prototype.renderInlineAsText=function(t,e,r){let n="";for(let i=0,a=t.length;i<a;i++)switch(t[i].type){case"text":n+=t[i].content;break;case"image":n+=this.renderInlineAsText(t[i].children,e,r);break;case"html_inline":case"html_block":n+=t[i].content;break;case"softbreak":case"hardbreak":n+=`
|
|
14
|
+
`;break}return n};Ds.prototype.render=function(t,e,r){let n="";const i=this.rules;for(let a=0,o=t.length;a<o;a++){const s=t[a].type;s==="inline"?n+=this.renderInline(t[a].children,e,r):typeof i[s]<"u"?n+=i[s](t,a,e,r,this):n+=this.renderToken(t,a,e,r)}return n};function tr(){this.__rules__=[],this.__cache__=null}tr.prototype.__find__=function(t){for(let e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1};tr.prototype.__compile__=function(){const t=this,e=[""];t.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),t.__cache__={},e.forEach(function(r){t.__cache__[r]=[],t.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||t.__cache__[r].push(n.fn))})})};tr.prototype.at=function(t,e,r){const n=this.__find__(t),i=r||{};if(n===-1)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=i.alt||[],this.__cache__=null};tr.prototype.before=function(t,e,r,n){const i=this.__find__(t),a=n||{};if(i===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(i,0,{name:e,enabled:!0,fn:r,alt:a.alt||[]}),this.__cache__=null};tr.prototype.after=function(t,e,r,n){const i=this.__find__(t),a=n||{};if(i===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(i+1,0,{name:e,enabled:!0,fn:r,alt:a.alt||[]}),this.__cache__=null};tr.prototype.push=function(t,e,r){const n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null};tr.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);const r=[];return t.forEach(function(n){const i=this.__find__(n);if(i<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[i].enabled=!0,r.push(n)},this),this.__cache__=null,r};tr.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(t,e)};tr.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);const r=[];return t.forEach(function(n){const i=this.__find__(n);if(i<0){if(e)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[i].enabled=!1,r.push(n)},this),this.__cache__=null,r};tr.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};function Nr(t,e,r){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Nr.prototype.attrIndex=function(e){if(!this.attrs)return-1;const r=this.attrs;for(let n=0,i=r.length;n<i;n++)if(r[n][0]===e)return n;return-1};Nr.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]};Nr.prototype.attrSet=function(e,r){const n=this.attrIndex(e),i=[e,r];n<0?this.attrPush(i):this.attrs[n]=i};Nr.prototype.attrGet=function(e){const r=this.attrIndex(e);let n=null;return r>=0&&(n=this.attrs[r][1]),n};Nr.prototype.attrJoin=function(e,r){const n=this.attrIndex(e);n<0?this.attrPush([e,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};const wk=Object.freeze(Object.defineProperty({__proto__:null,default:Nr},Symbol.toStringTag,{value:"Module"}));function D_(t,e,r){this.src=t,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=e}D_.prototype.Token=Nr;const Sk=/\r\n?|\n/g,Ck=/\0/g;function Ak(t){let e;e=t.src.replace(Sk,`
|
|
15
|
+
`),e=e.replace(Ck,"�"),t.src=e}function Tk(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function Dk(t){const e=t.tokens;for(let r=0,n=e.length;r<n;r++){const i=e[r];i.type==="inline"&&t.md.inline.parse(i.content,t.md,t.env,i.children)}}function Ek(t){return/^<a[>\s]/i.test(t)}function kk(t){return/^<\/a\s*>/i.test(t)}function Mk(t){const e=t.tokens;if(t.md.options.linkify)for(let r=0,n=e.length;r<n;r++){if(e[r].type!=="inline"||!t.md.linkify.pretest(e[r].content))continue;let i=e[r].children,a=0;for(let o=i.length-1;o>=0;o--){const s=i[o];if(s.type==="link_close"){for(o--;i[o].level!==s.level&&i[o].type!=="link_open";)o--;continue}if(s.type==="html_inline"&&(Ek(s.content)&&a>0&&a--,kk(s.content)&&a++),!(a>0)&&s.type==="text"&&t.md.linkify.test(s.content)){const u=s.content;let l=t.md.linkify.match(u);const c=[];let f=s.level,h=0;l.length>0&&l[0].index===0&&o>0&&i[o-1].type==="text_special"&&(l=l.slice(1));for(let d=0;d<l.length;d++){const p=l[d].url,v=t.md.normalizeLink(p);if(!t.md.validateLink(v))continue;let g=l[d].text;l[d].schema?l[d].schema==="mailto:"&&!/^mailto:/i.test(g)?g=t.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):g=t.md.normalizeLinkText(g):g=t.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,"");const m=l[d].index;if(m>h){const x=new t.Token("text","",0);x.content=u.slice(h,m),x.level=f,c.push(x)}const y=new t.Token("link_open","a",1);y.attrs=[["href",v]],y.level=f++,y.markup="linkify",y.info="auto",c.push(y);const _=new t.Token("text","",0);_.content=g,_.level=f,c.push(_);const b=new t.Token("link_close","a",-1);b.level=--f,b.markup="linkify",b.info="auto",c.push(b),h=l[d].lastIndex}if(h<u.length){const d=new t.Token("text","",0);d.content=u.slice(h),d.level=f,c.push(d)}e[r].children=i=A_(i,o,c)}}}}const E_=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Lk=/\((c|tm|r)\)/i,Ik=/\((c|tm|r)\)/ig,Pk={c:"©",r:"®",tm:"™"};function Rk(t,e){return Pk[e.toLowerCase()]}function Nk(t){let e=0;for(let r=t.length-1;r>=0;r--){const n=t[r];n.type==="text"&&!e&&(n.content=n.content.replace(Ik,Rk)),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function Ok(t){let e=0;for(let r=t.length-1;r>=0;r--){const n=t[r];n.type==="text"&&!e&&E_.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function Bk(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(Lk.test(t.tokens[e].content)&&Nk(t.tokens[e].children),E_.test(t.tokens[e].content)&&Ok(t.tokens[e].children))}const Fk=/['"]/,Ap=/['"]/g,Tp="’";function a1(t,e,r){return t.slice(0,e)+r+t.slice(e+1)}function zk(t,e){let r;const n=[];for(let i=0;i<t.length;i++){const a=t[i],o=t[i].level;for(r=n.length-1;r>=0&&!(n[r].level<=o);r--);if(n.length=r+1,a.type!=="text")continue;let s=a.content,u=0,l=s.length;e:for(;u<l;){Ap.lastIndex=u;const c=Ap.exec(s);if(!c)break;let f=!0,h=!0;u=c.index+1;const d=c[0]==="'";let p=32;if(c.index-1>=0)p=s.charCodeAt(c.index-1);else for(r=i-1;r>=0&&!(t[r].type==="softbreak"||t[r].type==="hardbreak");r--)if(t[r].content){p=t[r].content.charCodeAt(t[r].content.length-1);break}let v=32;if(u<l)v=s.charCodeAt(u);else for(r=i+1;r<t.length&&!(t[r].type==="softbreak"||t[r].type==="hardbreak");r++)if(t[r].content){v=t[r].content.charCodeAt(0);break}const g=al(p)||il(String.fromCharCode(p)),m=al(v)||il(String.fromCharCode(v)),y=nl(p),_=nl(v);if(_?f=!1:m&&(y||g||(f=!1)),y?h=!1:g&&(_||m||(h=!1)),v===34&&c[0]==='"'&&p>=48&&p<=57&&(h=f=!1),f&&h&&(f=g,h=m),!f&&!h){d&&(a.content=a1(a.content,c.index,Tp));continue}if(h)for(r=n.length-1;r>=0;r--){let b=n[r];if(n[r].level<o)break;if(b.single===d&&n[r].level===o){b=n[r];let x,w;d?(x=e.md.options.quotes[2],w=e.md.options.quotes[3]):(x=e.md.options.quotes[0],w=e.md.options.quotes[1]),a.content=a1(a.content,c.index,w),t[b.token].content=a1(t[b.token].content,b.pos,x),u+=w.length-1,b.token===i&&(u+=x.length-1),s=a.content,l=s.length,n.length=r;continue e}}f?n.push({token:i,pos:c.index,single:d,level:o}):h&&d&&(a.content=a1(a.content,c.index,Tp))}}}function Vk(t){if(t.md.options.typographer)for(let e=t.tokens.length-1;e>=0;e--)t.tokens[e].type!=="inline"||!Fk.test(t.tokens[e].content)||zk(t.tokens[e].children,t)}function $k(t){let e,r;const n=t.tokens,i=n.length;for(let a=0;a<i;a++){if(n[a].type!=="inline")continue;const o=n[a].children,s=o.length;for(e=0;e<s;e++)o[e].type==="text_special"&&(o[e].type="text");for(e=r=0;e<s;e++)o[e].type==="text"&&e+1<s&&o[e+1].type==="text"?o[e+1].content=o[e].content+o[e+1].content:(e!==r&&(o[r]=o[e]),r++);e!==r&&(o.length=r)}}const K2=[["normalize",Ak],["block",Tk],["inline",Dk],["linkify",Mk],["replacements",Bk],["smartquotes",Vk],["text_join",$k]];function B4(){this.ruler=new tr;for(let t=0;t<K2.length;t++)this.ruler.push(K2[t][0],K2[t][1])}B4.prototype.process=function(t){const e=this.ruler.getRules("");for(let r=0,n=e.length;r<n;r++)e[r](t)};B4.prototype.State=D_;function Dn(t,e,r,n){this.src=t,this.md=e,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0;const i=this.src;for(let a=0,o=0,s=0,u=0,l=i.length,c=!1;o<l;o++){const f=i.charCodeAt(o);if(!c)if(Xe(f)){s++,f===9?u+=4-u%4:u++;continue}else c=!0;(f===10||o===l-1)&&(f!==10&&o++,this.bMarks.push(a),this.eMarks.push(o),this.tShift.push(s),this.sCount.push(u),this.bsCount.push(0),c=!1,s=0,u=0,a=o+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Dn.prototype.push=function(t,e,r){const n=new Nr(t,e,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n};Dn.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Dn.prototype.skipEmptyLines=function(e){for(let r=this.lineMax;e<r&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};Dn.prototype.skipSpaces=function(e){for(let r=this.src.length;e<r;e++){const n=this.src.charCodeAt(e);if(!Xe(n))break}return e};Dn.prototype.skipSpacesBack=function(e,r){if(e<=r)return e;for(;e>r;)if(!Xe(this.src.charCodeAt(--e)))return e+1;return e};Dn.prototype.skipChars=function(e,r){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===r;e++);return e};Dn.prototype.skipCharsBack=function(e,r,n){if(e<=n)return e;for(;e>n;)if(r!==this.src.charCodeAt(--e))return e+1;return e};Dn.prototype.getLines=function(e,r,n,i){if(e>=r)return"";const a=new Array(r-e);for(let o=0,s=e;s<r;s++,o++){let u=0;const l=this.bMarks[s];let c=l,f;for(s+1<r||i?f=this.eMarks[s]+1:f=this.eMarks[s];c<f&&u<n;){const h=this.src.charCodeAt(c);if(Xe(h))h===9?u+=4-(u+this.bsCount[s])%4:u++;else if(c-l<this.tShift[s])u++;else break;c++}u>n?a[o]=new Array(u-n+1).join(" ")+this.src.slice(c,f):a[o]=this.src.slice(c,f)}return a.join("")};Dn.prototype.Token=Nr;const Gk=65536;function Q2(t,e){const r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(r,n)}function Dp(t){const e=[],r=t.length;let n=0,i=t.charCodeAt(n),a=!1,o=0,s="";for(;n<r;)i===124&&(a?(s+=t.substring(o,n-1),o=n):(e.push(s+t.substring(o,n)),s="",o=n+1)),a=i===92,n++,i=t.charCodeAt(n);return e.push(s+t.substring(o)),e}function Hk(t,e,r,n){if(e+2>r)return!1;let i=e+1;if(t.sCount[i]<t.blkIndent||t.sCount[i]-t.blkIndent>=4)return!1;let a=t.bMarks[i]+t.tShift[i];if(a>=t.eMarks[i])return!1;const o=t.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58||a>=t.eMarks[i])return!1;const s=t.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!Xe(s)||o===45&&Xe(s))return!1;for(;a<t.eMarks[i];){const b=t.src.charCodeAt(a);if(b!==124&&b!==45&&b!==58&&!Xe(b))return!1;a++}let u=Q2(t,e+1),l=u.split("|");const c=[];for(let b=0;b<l.length;b++){const x=l[b].trim();if(!x){if(b===0||b===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(x))return!1;x.charCodeAt(x.length-1)===58?c.push(x.charCodeAt(0)===58?"center":"right"):x.charCodeAt(0)===58?c.push("left"):c.push("")}if(u=Q2(t,e).trim(),u.indexOf("|")===-1||t.sCount[e]-t.blkIndent>=4)return!1;l=Dp(u),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop();const f=l.length;if(f===0||f!==c.length)return!1;if(n)return!0;const h=t.parentType;t.parentType="table";const d=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),v=[e,0];p.map=v;const g=t.push("thead_open","thead",1);g.map=[e,e+1];const m=t.push("tr_open","tr",1);m.map=[e,e+1];for(let b=0;b<l.length;b++){const x=t.push("th_open","th",1);c[b]&&(x.attrs=[["style","text-align:"+c[b]]]);const w=t.push("inline","",0);w.content=l[b].trim(),w.children=[],t.push("th_close","th",-1)}t.push("tr_close","tr",-1),t.push("thead_close","thead",-1);let y,_=0;for(i=e+2;i<r&&!(t.sCount[i]<t.blkIndent);i++){let b=!1;for(let w=0,S=d.length;w<S;w++)if(d[w](t,i,r,!0)){b=!0;break}if(b||(u=Q2(t,i).trim(),!u)||t.sCount[i]-t.blkIndent>=4||(l=Dp(u),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),_+=f-l.length,_>Gk))break;if(i===e+2){const w=t.push("tbody_open","tbody",1);w.map=y=[e+2,0]}const x=t.push("tr_open","tr",1);x.map=[i,i+1];for(let w=0;w<f;w++){const S=t.push("td_open","td",1);c[w]&&(S.attrs=[["style","text-align:"+c[w]]]);const C=t.push("inline","",0);C.content=l[w]?l[w].trim():"",C.children=[],t.push("td_close","td",-1)}t.push("tr_close","tr",-1)}return y&&(t.push("tbody_close","tbody",-1),y[1]=i),t.push("table_close","table",-1),v[1]=i,t.parentType=h,t.line=i,!0}function Uk(t,e,r){if(t.sCount[e]-t.blkIndent<4)return!1;let n=e+1,i=n;for(;n<r;){if(t.isEmpty(n)){n++;continue}if(t.sCount[n]-t.blkIndent>=4){n++,i=n;continue}break}t.line=i;const a=t.push("code_block","code",0);return a.content=t.getLines(e,i,4+t.blkIndent,!1)+`
|
|
16
|
+
`,a.map=[e,t.line],!0}function Wk(t,e,r,n){let i=t.bMarks[e]+t.tShift[e],a=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||i+3>a)return!1;const o=t.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=t.skipChars(i,o);let u=i-s;if(u<3)return!1;const l=t.src.slice(s,i),c=t.src.slice(i,a);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let f=e,h=!1;for(;f++,!(f>=r||(i=s=t.bMarks[f]+t.tShift[f],a=t.eMarks[f],i<a&&t.sCount[f]<t.blkIndent));)if(t.src.charCodeAt(i)===o&&!(t.sCount[f]-t.blkIndent>=4)&&(i=t.skipChars(i,o),!(i-s<u)&&(i=t.skipSpaces(i),!(i<a)))){h=!0;break}u=t.sCount[e],t.line=f+(h?1:0);const d=t.push("fence","code",0);return d.info=c,d.content=t.getLines(e+1,f,u,!0),d.markup=l,d.map=[e,t.line],!0}function qk(t,e,r,n){let i=t.bMarks[e]+t.tShift[e],a=t.eMarks[e];const o=t.lineMax;if(t.sCount[e]-t.blkIndent>=4||t.src.charCodeAt(i)!==62)return!1;if(n)return!0;const s=[],u=[],l=[],c=[],f=t.md.block.ruler.getRules("blockquote"),h=t.parentType;t.parentType="blockquote";let d=!1,p;for(p=e;p<r;p++){const _=t.sCount[p]<t.blkIndent;if(i=t.bMarks[p]+t.tShift[p],a=t.eMarks[p],i>=a)break;if(t.src.charCodeAt(i++)===62&&!_){let x=t.sCount[p]+1,w,S;t.src.charCodeAt(i)===32?(i++,x++,S=!1,w=!0):t.src.charCodeAt(i)===9?(w=!0,(t.bsCount[p]+x)%4===3?(i++,x++,S=!1):S=!0):w=!1;let C=x;for(s.push(t.bMarks[p]),t.bMarks[p]=i;i<a;){const A=t.src.charCodeAt(i);if(Xe(A))A===9?C+=4-(C+t.bsCount[p]+(S?1:0))%4:C++;else break;i++}d=i>=a,u.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(w?1:0),l.push(t.sCount[p]),t.sCount[p]=C-x,c.push(t.tShift[p]),t.tShift[p]=i-t.bMarks[p];continue}if(d)break;let b=!1;for(let x=0,w=f.length;x<w;x++)if(f[x](t,p,r,!0)){b=!0;break}if(b){t.lineMax=p,t.blkIndent!==0&&(s.push(t.bMarks[p]),u.push(t.bsCount[p]),c.push(t.tShift[p]),l.push(t.sCount[p]),t.sCount[p]-=t.blkIndent);break}s.push(t.bMarks[p]),u.push(t.bsCount[p]),c.push(t.tShift[p]),l.push(t.sCount[p]),t.sCount[p]=-1}const v=t.blkIndent;t.blkIndent=0;const g=t.push("blockquote_open","blockquote",1);g.markup=">";const m=[e,0];g.map=m,t.md.block.tokenize(t,e,p);const y=t.push("blockquote_close","blockquote",-1);y.markup=">",t.lineMax=o,t.parentType=h,m[1]=t.line;for(let _=0;_<c.length;_++)t.bMarks[_+e]=s[_],t.tShift[_+e]=c[_],t.sCount[_+e]=l[_],t.bsCount[_+e]=u[_];return t.blkIndent=v,!0}function Zk(t,e,r,n){const i=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;let a=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){const l=t.src.charCodeAt(a++);if(l!==o&&!Xe(l))return!1;l===o&&s++}if(s<3)return!1;if(n)return!0;t.line=e+1;const u=t.push("hr","hr",0);return u.map=[e,t.line],u.markup=Array(s+1).join(String.fromCharCode(o)),!0}function Ep(t,e){const r=t.eMarks[e];let n=t.bMarks[e]+t.tShift[e];const i=t.src.charCodeAt(n++);if(i!==42&&i!==45&&i!==43)return-1;if(n<r){const a=t.src.charCodeAt(n);if(!Xe(a))return-1}return n}function kp(t,e){const r=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];let i=r;if(i+1>=n)return-1;let a=t.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=n)return-1;if(a=t.src.charCodeAt(i++),a>=48&&a<=57){if(i-r>=10)return-1;continue}if(a===41||a===46)break;return-1}return i<n&&(a=t.src.charCodeAt(i),!Xe(a))?-1:i}function Yk(t,e){const r=t.level+2;for(let n=e+2,i=t.tokens.length-2;n<i;n++)t.tokens[n].level===r&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}function Xk(t,e,r,n){let i,a,o,s,u=e,l=!0;if(t.sCount[u]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[u]-t.listIndent>=4&&t.sCount[u]<t.blkIndent)return!1;let c=!1;n&&t.parentType==="paragraph"&&t.sCount[u]>=t.blkIndent&&(c=!0);let f,h,d;if((d=kp(t,u))>=0){if(f=!0,o=t.bMarks[u]+t.tShift[u],h=Number(t.src.slice(o,d-1)),c&&h!==1)return!1}else if((d=Ep(t,u))>=0)f=!1;else return!1;if(c&&t.skipSpaces(d)>=t.eMarks[u])return!1;if(n)return!0;const p=t.src.charCodeAt(d-1),v=t.tokens.length;f?(s=t.push("ordered_list_open","ol",1),h!==1&&(s.attrs=[["start",h]])):s=t.push("bullet_list_open","ul",1);const g=[u,0];s.map=g,s.markup=String.fromCharCode(p);let m=!1;const y=t.md.block.ruler.getRules("list"),_=t.parentType;for(t.parentType="list";u<r;){a=d,i=t.eMarks[u];const b=t.sCount[u]+d-(t.bMarks[u]+t.tShift[u]);let x=b;for(;a<i;){const N=t.src.charCodeAt(a);if(N===9)x+=4-(x+t.bsCount[u])%4;else if(N===32)x++;else break;a++}const w=a;let S;w>=i?S=1:S=x-b,S>4&&(S=1);const C=b+S;s=t.push("list_item_open","li",1),s.markup=String.fromCharCode(p);const A=[u,0];s.map=A,f&&(s.info=t.src.slice(o,d-1));const T=t.tight,D=t.tShift[u],k=t.sCount[u],M=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=C,t.tight=!0,t.tShift[u]=w-t.bMarks[u],t.sCount[u]=x,w>=i&&t.isEmpty(u+1)?t.line=Math.min(t.line+2,r):t.md.block.tokenize(t,u,r,!0),(!t.tight||m)&&(l=!1),m=t.line-u>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=M,t.tShift[u]=D,t.sCount[u]=k,t.tight=T,s=t.push("list_item_close","li",-1),s.markup=String.fromCharCode(p),u=t.line,A[1]=u,u>=r||t.sCount[u]<t.blkIndent||t.sCount[u]-t.blkIndent>=4)break;let I=!1;for(let N=0,L=y.length;N<L;N++)if(y[N](t,u,r,!0)){I=!0;break}if(I)break;if(f){if(d=kp(t,u),d<0)break;o=t.bMarks[u]+t.tShift[u]}else if(d=Ep(t,u),d<0)break;if(p!==t.src.charCodeAt(d-1))break}return f?s=t.push("ordered_list_close","ol",-1):s=t.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(p),g[1]=u,t.line=u,t.parentType=_,l&&Yk(t,v),!0}function jk(t,e,r,n){let i=t.bMarks[e]+t.tShift[e],a=t.eMarks[e],o=e+1;if(t.sCount[e]-t.blkIndent>=4||t.src.charCodeAt(i)!==91)return!1;function s(y){const _=t.lineMax;if(y>=_||t.isEmpty(y))return null;let b=!1;if(t.sCount[y]-t.blkIndent>3&&(b=!0),t.sCount[y]<0&&(b=!0),!b){const S=t.md.block.ruler.getRules("reference"),C=t.parentType;t.parentType="reference";let A=!1;for(let T=0,D=S.length;T<D;T++)if(S[T](t,y,_,!0)){A=!0;break}if(t.parentType=C,A)return null}const x=t.bMarks[y]+t.tShift[y],w=t.eMarks[y];return t.src.slice(x,w+1)}let u=t.src.slice(i,a+1);a=u.length;let l=-1;for(i=1;i<a;i++){const y=u.charCodeAt(i);if(y===91)return!1;if(y===93){l=i;break}else if(y===10){const _=s(o);_!==null&&(u+=_,a=u.length,o++)}else if(y===92&&(i++,i<a&&u.charCodeAt(i)===10)){const _=s(o);_!==null&&(u+=_,a=u.length,o++)}}if(l<0||u.charCodeAt(l+1)!==58)return!1;for(i=l+2;i<a;i++){const y=u.charCodeAt(i);if(y===10){const _=s(o);_!==null&&(u+=_,a=u.length,o++)}else if(!Xe(y))break}const c=t.md.helpers.parseLinkDestination(u,i,a);if(!c.ok)return!1;const f=t.md.normalizeLink(c.str);if(!t.md.validateLink(f))return!1;i=c.pos;const h=i,d=o,p=i;for(;i<a;i++){const y=u.charCodeAt(i);if(y===10){const _=s(o);_!==null&&(u+=_,a=u.length,o++)}else if(!Xe(y))break}let v=t.md.helpers.parseLinkTitle(u,i,a);for(;v.can_continue;){const y=s(o);if(y===null)break;u+=y,i=a,a=u.length,o++,v=t.md.helpers.parseLinkTitle(u,i,a,v)}let g;for(i<a&&p!==i&&v.ok?(g=v.str,i=v.pos):(g="",i=h,o=d);i<a;){const y=u.charCodeAt(i);if(!Xe(y))break;i++}if(i<a&&u.charCodeAt(i)!==10&&g)for(g="",i=h,o=d;i<a;){const y=u.charCodeAt(i);if(!Xe(y))break;i++}if(i<a&&u.charCodeAt(i)!==10)return!1;const m=jc(u.slice(1,l));return m?(n||(typeof t.env.references>"u"&&(t.env.references={}),typeof t.env.references[m]>"u"&&(t.env.references[m]={title:g,href:f}),t.line=o),!0):!1}const Kk=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Qk="[a-zA-Z_:][a-zA-Z0-9:._-]*",Jk="[^\"'=<>`\\x00-\\x20]+",eM="'[^']*'",tM='"[^"]*"',rM="(?:"+Jk+"|"+eM+"|"+tM+")",nM="(?:\\s+"+Qk+"(?:\\s*=\\s*"+rM+")?)",k_="<[A-Za-z][A-Za-z0-9\\-]*"+nM+"*\\s*\\/?>",M_="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",iM="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",aM="<[?][\\s\\S]*?[?]>",oM="<![A-Za-z][^>]*>",sM="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",uM=new RegExp("^(?:"+k_+"|"+M_+"|"+iM+"|"+aM+"|"+oM+"|"+sM+")"),lM=new RegExp("^(?:"+k_+"|"+M_+")"),wo=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Kk.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(lM.source+"\\s*$"),/^$/,!1]];function cM(t,e,r,n){let i=t.bMarks[e]+t.tShift[e],a=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(i)!==60)return!1;let o=t.src.slice(i,a),s=0;for(;s<wo.length&&!wo[s][0].test(o);s++);if(s===wo.length)return!1;if(n)return wo[s][2];let u=e+1;if(!wo[s][1].test(o)){for(;u<r&&!(t.sCount[u]<t.blkIndent);u++)if(i=t.bMarks[u]+t.tShift[u],a=t.eMarks[u],o=t.src.slice(i,a),wo[s][1].test(o)){o.length!==0&&u++;break}}t.line=u;const l=t.push("html_block","",0);return l.map=[e,u],l.content=t.getLines(e,u,t.blkIndent,!0),!0}function fM(t,e,r,n){let i=t.bMarks[e]+t.tShift[e],a=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4)return!1;let o=t.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=t.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=t.src.charCodeAt(++i);if(s>6||i<a&&!Xe(o))return!1;if(n)return!0;a=t.skipSpacesBack(a,i);const u=t.skipCharsBack(a,35,i);u>i&&Xe(t.src.charCodeAt(u-1))&&(a=u),t.line=e+1;const l=t.push("heading_open","h"+String(s),1);l.markup="########".slice(0,s),l.map=[e,t.line];const c=t.push("inline","",0);c.content=t.src.slice(i,a).trim(),c.map=[e,t.line],c.children=[];const f=t.push("heading_close","h"+String(s),-1);return f.markup="########".slice(0,s),!0}function hM(t,e,r){const n=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const i=t.parentType;t.parentType="paragraph";let a=0,o,s=e+1;for(;s<r&&!t.isEmpty(s);s++){if(t.sCount[s]-t.blkIndent>3)continue;if(t.sCount[s]>=t.blkIndent){let d=t.bMarks[s]+t.tShift[s];const p=t.eMarks[s];if(d<p&&(o=t.src.charCodeAt(d),(o===45||o===61)&&(d=t.skipChars(d,o),d=t.skipSpaces(d),d>=p))){a=o===61?1:2;break}}if(t.sCount[s]<0)continue;let h=!1;for(let d=0,p=n.length;d<p;d++)if(n[d](t,s,r,!0)){h=!0;break}if(h)break}if(!a)return!1;const u=t.getLines(e,s,t.blkIndent,!1).trim();t.line=s+1;const l=t.push("heading_open","h"+String(a),1);l.markup=String.fromCharCode(o),l.map=[e,t.line];const c=t.push("inline","",0);c.content=u,c.map=[e,t.line-1],c.children=[];const f=t.push("heading_close","h"+String(a),-1);return f.markup=String.fromCharCode(o),t.parentType=i,!0}function dM(t,e,r){const n=t.md.block.ruler.getRules("paragraph"),i=t.parentType;let a=e+1;for(t.parentType="paragraph";a<r&&!t.isEmpty(a);a++){if(t.sCount[a]-t.blkIndent>3||t.sCount[a]<0)continue;let l=!1;for(let c=0,f=n.length;c<f;c++)if(n[c](t,a,r,!0)){l=!0;break}if(l)break}const o=t.getLines(e,a,t.blkIndent,!1).trim();t.line=a;const s=t.push("paragraph_open","p",1);s.map=[e,t.line];const u=t.push("inline","",0);return u.content=o,u.map=[e,t.line],u.children=[],t.push("paragraph_close","p",-1),t.parentType=i,!0}const o1=[["table",Hk,["paragraph","reference"]],["code",Uk],["fence",Wk,["paragraph","reference","blockquote","list"]],["blockquote",qk,["paragraph","reference","blockquote","list"]],["hr",Zk,["paragraph","reference","blockquote","list"]],["list",Xk,["paragraph","reference","blockquote"]],["reference",jk],["html_block",cM,["paragraph","reference","blockquote"]],["heading",fM,["paragraph","reference","blockquote"]],["lheading",hM],["paragraph",dM]];function Kc(){this.ruler=new tr;for(let t=0;t<o1.length;t++)this.ruler.push(o1[t][0],o1[t][1],{alt:(o1[t][2]||[]).slice()})}Kc.prototype.tokenize=function(t,e,r){const n=this.ruler.getRules(""),i=n.length,a=t.md.options.maxNesting;let o=e,s=!1;for(;o<r&&(t.line=o=t.skipEmptyLines(o),!(o>=r||t.sCount[o]<t.blkIndent));){if(t.level>=a){t.line=r;break}const u=t.line;let l=!1;for(let c=0;c<i;c++)if(l=n[c](t,o,r,!1),l){if(u>=t.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");t.tight=!s,t.isEmpty(t.line-1)&&(s=!0),o=t.line,o<r&&t.isEmpty(o)&&(s=!0,o++,t.line=o)}};Kc.prototype.parse=function(t,e,r,n){if(!t)return;const i=new this.State(t,e,r,n);this.tokenize(i,i.line,i.lineMax)};Kc.prototype.State=Dn;function Ol(t,e,r,n){this.src=t,this.env=r,this.md=e,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Ol.prototype.pushPending=function(){const t=new Nr("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t};Ol.prototype.push=function(t,e,r){this.pending&&this.pushPending();const n=new Nr(t,e,r);let i=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(i),n};Ol.prototype.scanDelims=function(t,e){const r=this.posMax,n=this.src.charCodeAt(t),i=t>0?this.src.charCodeAt(t-1):32;let a=t;for(;a<r&&this.src.charCodeAt(a)===n;)a++;const o=a-t,s=a<r?this.src.charCodeAt(a):32,u=al(i)||il(String.fromCharCode(i)),l=al(s)||il(String.fromCharCode(s)),c=nl(i),f=nl(s),h=!f&&(!l||c||u),d=!c&&(!u||f||l);return{can_open:h&&(e||!d||u),can_close:d&&(e||!h||l),length:o}};Ol.prototype.Token=Nr;function pM(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function vM(t,e){let r=t.pos;for(;r<t.posMax&&!pM(t.src.charCodeAt(r));)r++;return r===t.pos?!1:(e||(t.pending+=t.src.slice(t.pos,r)),t.pos=r,!0)}const gM=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function mM(t,e){if(!t.md.options.linkify||t.linkLevel>0)return!1;const r=t.pos,n=t.posMax;if(r+3>n||t.src.charCodeAt(r)!==58||t.src.charCodeAt(r+1)!==47||t.src.charCodeAt(r+2)!==47)return!1;const i=t.pending.match(gM);if(!i)return!1;const a=i[1],o=t.md.linkify.matchAtStart(t.src.slice(r-a.length));if(!o)return!1;let s=o.url;if(s.length<=a.length)return!1;let u=s.length;for(;u>0&&s.charCodeAt(u-1)===42;)u--;u!==s.length&&(s=s.slice(0,u));const l=t.md.normalizeLink(s);if(!t.md.validateLink(l))return!1;if(!e){t.pending=t.pending.slice(0,-a.length);const c=t.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";const f=t.push("text","",0);f.content=t.md.normalizeLinkText(s);const h=t.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return t.pos+=s.length-a.length,!0}function yM(t,e){let r=t.pos;if(t.src.charCodeAt(r)!==10)return!1;const n=t.pending.length-1,i=t.posMax;if(!e)if(n>=0&&t.pending.charCodeAt(n)===32)if(n>=1&&t.pending.charCodeAt(n-1)===32){let a=n-1;for(;a>=1&&t.pending.charCodeAt(a-1)===32;)a--;t.pending=t.pending.slice(0,a),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(r++;r<i&&Xe(t.src.charCodeAt(r));)r++;return t.pos=r,!0}const F4=[];for(let t=0;t<256;t++)F4.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){F4[t.charCodeAt(0)]=1});function _M(t,e){let r=t.pos;const n=t.posMax;if(t.src.charCodeAt(r)!==92||(r++,r>=n))return!1;let i=t.src.charCodeAt(r);if(i===10){for(e||t.push("hardbreak","br",0),r++;r<n&&(i=t.src.charCodeAt(r),!!Xe(i));)r++;return t.pos=r,!0}let a=t.src[r];if(i>=55296&&i<=56319&&r+1<n){const s=t.src.charCodeAt(r+1);s>=56320&&s<=57343&&(a+=t.src[r+1],r++)}const o="\\"+a;if(!e){const s=t.push("text_special","",0);i<256&&F4[i]!==0?s.content=a:s.content=o,s.markup=o,s.info="escape"}return t.pos=r+1,!0}function bM(t,e){let r=t.pos;if(t.src.charCodeAt(r)!==96)return!1;const i=r;r++;const a=t.posMax;for(;r<a&&t.src.charCodeAt(r)===96;)r++;const o=t.src.slice(i,r),s=o.length;if(t.backticksScanned&&(t.backticks[s]||0)<=i)return e||(t.pending+=o),t.pos+=s,!0;let u=r,l;for(;(l=t.src.indexOf("`",u))!==-1;){for(u=l+1;u<a&&t.src.charCodeAt(u)===96;)u++;const c=u-l;if(c===s){if(!e){const f=t.push("code_inline","code",0);f.markup=o,f.content=t.src.slice(r,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return t.pos=u,!0}t.backticks[c]=l}return t.backticksScanned=!0,e||(t.pending+=o),t.pos+=s,!0}function xM(t,e){const r=t.pos,n=t.src.charCodeAt(r);if(e||n!==126)return!1;const i=t.scanDelims(t.pos,!0);let a=i.length;const o=String.fromCharCode(n);if(a<2)return!1;let s;a%2&&(s=t.push("text","",0),s.content=o,a--);for(let u=0;u<a;u+=2)s=t.push("text","",0),s.content=o+o,t.delimiters.push({marker:n,length:0,token:t.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return t.pos+=i.length,!0}function Mp(t,e){let r;const n=[],i=e.length;for(let a=0;a<i;a++){const o=e[a];if(o.marker!==126||o.end===-1)continue;const s=e[o.end];r=t.tokens[o.token],r.type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",r=t.tokens[s.token],r.type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="",t.tokens[s.token-1].type==="text"&&t.tokens[s.token-1].content==="~"&&n.push(s.token-1)}for(;n.length;){const a=n.pop();let o=a+1;for(;o<t.tokens.length&&t.tokens[o].type==="s_close";)o++;o--,a!==o&&(r=t.tokens[o],t.tokens[o]=t.tokens[a],t.tokens[a]=r)}}function wM(t){const e=t.tokens_meta,r=t.tokens_meta.length;Mp(t,t.delimiters);for(let n=0;n<r;n++)e[n]&&e[n].delimiters&&Mp(t,e[n].delimiters)}const L_={tokenize:xM,postProcess:wM};function SM(t,e){const r=t.pos,n=t.src.charCodeAt(r);if(e||n!==95&&n!==42)return!1;const i=t.scanDelims(t.pos,n===42);for(let a=0;a<i.length;a++){const o=t.push("text","",0);o.content=String.fromCharCode(n),t.delimiters.push({marker:n,length:i.length,token:t.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return t.pos+=i.length,!0}function Lp(t,e){const r=e.length;for(let n=r-1;n>=0;n--){const i=e[n];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const a=e[i.end],o=n>0&&e[n-1].end===i.end+1&&e[n-1].marker===i.marker&&e[n-1].token===i.token-1&&e[i.end+1].token===a.token+1,s=String.fromCharCode(i.marker),u=t.tokens[i.token];u.type=o?"strong_open":"em_open",u.tag=o?"strong":"em",u.nesting=1,u.markup=o?s+s:s,u.content="";const l=t.tokens[a.token];l.type=o?"strong_close":"em_close",l.tag=o?"strong":"em",l.nesting=-1,l.markup=o?s+s:s,l.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[i.end+1].token].content="",n--)}}function CM(t){const e=t.tokens_meta,r=t.tokens_meta.length;Lp(t,t.delimiters);for(let n=0;n<r;n++)e[n]&&e[n].delimiters&&Lp(t,e[n].delimiters)}const I_={tokenize:SM,postProcess:CM};function AM(t,e){let r,n,i,a,o="",s="",u=t.pos,l=!0;if(t.src.charCodeAt(t.pos)!==91)return!1;const c=t.pos,f=t.posMax,h=t.pos+1,d=t.md.helpers.parseLinkLabel(t,t.pos,!0);if(d<0)return!1;let p=d+1;if(p<f&&t.src.charCodeAt(p)===40){for(l=!1,p++;p<f&&(r=t.src.charCodeAt(p),!(!Xe(r)&&r!==10));p++);if(p>=f)return!1;if(u=p,i=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),i.ok){for(o=t.md.normalizeLink(i.str),t.md.validateLink(o)?p=i.pos:o="",u=p;p<f&&(r=t.src.charCodeAt(p),!(!Xe(r)&&r!==10));p++);if(i=t.md.helpers.parseLinkTitle(t.src,p,t.posMax),p<f&&u!==p&&i.ok)for(s=i.str,p=i.pos;p<f&&(r=t.src.charCodeAt(p),!(!Xe(r)&&r!==10));p++);}(p>=f||t.src.charCodeAt(p)!==41)&&(l=!0),p++}if(l){if(typeof t.env.references>"u")return!1;if(p<f&&t.src.charCodeAt(p)===91?(u=p+1,p=t.md.helpers.parseLinkLabel(t,p),p>=0?n=t.src.slice(u,p++):p=d+1):p=d+1,n||(n=t.src.slice(h,d)),a=t.env.references[jc(n)],!a)return t.pos=c,!1;o=a.href,s=a.title}if(!e){t.pos=h,t.posMax=d;const v=t.push("link_open","a",1),g=[["href",o]];v.attrs=g,s&&g.push(["title",s]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=f,!0}function TM(t,e){let r,n,i,a,o,s,u,l,c="";const f=t.pos,h=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(a=p+1,a<h&&t.src.charCodeAt(a)===40){for(a++;a<h&&(r=t.src.charCodeAt(a),!(!Xe(r)&&r!==10));a++);if(a>=h)return!1;for(l=a,s=t.md.helpers.parseLinkDestination(t.src,a,t.posMax),s.ok&&(c=t.md.normalizeLink(s.str),t.md.validateLink(c)?a=s.pos:c=""),l=a;a<h&&(r=t.src.charCodeAt(a),!(!Xe(r)&&r!==10));a++);if(s=t.md.helpers.parseLinkTitle(t.src,a,t.posMax),a<h&&l!==a&&s.ok)for(u=s.str,a=s.pos;a<h&&(r=t.src.charCodeAt(a),!(!Xe(r)&&r!==10));a++);else u="";if(a>=h||t.src.charCodeAt(a)!==41)return t.pos=f,!1;a++}else{if(typeof t.env.references>"u")return!1;if(a<h&&t.src.charCodeAt(a)===91?(l=a+1,a=t.md.helpers.parseLinkLabel(t,a),a>=0?i=t.src.slice(l,a++):a=p+1):a=p+1,i||(i=t.src.slice(d,p)),o=t.env.references[jc(i)],!o)return t.pos=f,!1;c=o.href,u=o.title}if(!e){n=t.src.slice(d,p);const v=[];t.md.inline.parse(n,t.md,t.env,v);const g=t.push("image","img",0),m=[["src",c],["alt",""]];g.attrs=m,g.children=v,g.content=n,u&&m.push(["title",u])}return t.pos=a,t.posMax=h,!0}const DM=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,EM=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function kM(t,e){let r=t.pos;if(t.src.charCodeAt(r)!==60)return!1;const n=t.pos,i=t.posMax;for(;;){if(++r>=i)return!1;const o=t.src.charCodeAt(r);if(o===60)return!1;if(o===62)break}const a=t.src.slice(n+1,r);if(EM.test(a)){const o=t.md.normalizeLink(a);if(!t.md.validateLink(o))return!1;if(!e){const s=t.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const u=t.push("text","",0);u.content=t.md.normalizeLinkText(a);const l=t.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return t.pos+=a.length+2,!0}if(DM.test(a)){const o=t.md.normalizeLink("mailto:"+a);if(!t.md.validateLink(o))return!1;if(!e){const s=t.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const u=t.push("text","",0);u.content=t.md.normalizeLinkText(a);const l=t.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return t.pos+=a.length+2,!0}return!1}function MM(t){return/^<a[>\s]/i.test(t)}function LM(t){return/^<\/a\s*>/i.test(t)}function IM(t){const e=t|32;return e>=97&&e<=122}function PM(t,e){if(!t.md.options.html)return!1;const r=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==60||n+2>=r)return!1;const i=t.src.charCodeAt(n+1);if(i!==33&&i!==63&&i!==47&&!IM(i))return!1;const a=t.src.slice(n).match(uM);if(!a)return!1;if(!e){const o=t.push("html_inline","",0);o.content=a[0],MM(o.content)&&t.linkLevel++,LM(o.content)&&t.linkLevel--}return t.pos+=a[0].length,!0}const RM=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,NM=/^&([a-z][a-z0-9]{1,31});/i;function OM(t,e){const r=t.pos,n=t.posMax;if(t.src.charCodeAt(r)!==38||r+1>=n)return!1;if(t.src.charCodeAt(r+1)===35){const a=t.src.slice(r).match(RM);if(a){if(!e){const o=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),s=t.push("text_special","",0);s.content=O4(o)?H0(o):H0(65533),s.markup=a[0],s.info="entity"}return t.pos+=a[0].length,!0}}else{const a=t.src.slice(r).match(NM);if(a){const o=C_(a[0]);if(o!==a[0]){if(!e){const s=t.push("text_special","",0);s.content=o,s.markup=a[0],s.info="entity"}return t.pos+=a[0].length,!0}}}return!1}function Ip(t){const e={},r=t.length;if(!r)return;let n=0,i=-2;const a=[];for(let o=0;o<r;o++){const s=t[o];if(a.push(0),(t[n].marker!==s.marker||i!==s.token-1)&&(n=o),i=s.token,s.length=s.length||0,!s.close)continue;e.hasOwnProperty(s.marker)||(e[s.marker]=[-1,-1,-1,-1,-1,-1]);const u=e[s.marker][(s.open?3:0)+s.length%3];let l=n-a[n]-1,c=l;for(;l>u;l-=a[l]+1){const f=t[l];if(f.marker===s.marker&&f.open&&f.end<0){let h=!1;if((f.close||s.open)&&(f.length+s.length)%3===0&&(f.length%3!==0||s.length%3!==0)&&(h=!0),!h){const d=l>0&&!t[l-1].open?a[l-1]+1:0;a[o]=o-l+d,a[l]=d,s.open=!1,f.end=o,f.close=!1,c=-1,i=-2;break}}}c!==-1&&(e[s.marker][(s.open?3:0)+(s.length||0)%3]=c)}}function BM(t){const e=t.tokens_meta,r=t.tokens_meta.length;Ip(t.delimiters);for(let n=0;n<r;n++)e[n]&&e[n].delimiters&&Ip(e[n].delimiters)}function FM(t){let e,r,n=0;const i=t.tokens,a=t.tokens.length;for(e=r=0;e<a;e++)i[e].nesting<0&&n--,i[e].level=n,i[e].nesting>0&&n++,i[e].type==="text"&&e+1<a&&i[e+1].type==="text"?i[e+1].content=i[e].content+i[e+1].content:(e!==r&&(i[r]=i[e]),r++);e!==r&&(i.length=r)}const J2=[["text",vM],["linkify",mM],["newline",yM],["escape",_M],["backticks",bM],["strikethrough",L_.tokenize],["emphasis",I_.tokenize],["link",AM],["image",TM],["autolink",kM],["html_inline",PM],["entity",OM]],ef=[["balance_pairs",BM],["strikethrough",L_.postProcess],["emphasis",I_.postProcess],["fragments_join",FM]];function Bl(){this.ruler=new tr;for(let t=0;t<J2.length;t++)this.ruler.push(J2[t][0],J2[t][1]);this.ruler2=new tr;for(let t=0;t<ef.length;t++)this.ruler2.push(ef[t][0],ef[t][1])}Bl.prototype.skipToken=function(t){const e=t.pos,r=this.ruler.getRules(""),n=r.length,i=t.md.options.maxNesting,a=t.cache;if(typeof a[e]<"u"){t.pos=a[e];return}let o=!1;if(t.level<i){for(let s=0;s<n;s++)if(t.level++,o=r[s](t,!0),t.level--,o){if(e>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,a[e]=t.pos};Bl.prototype.tokenize=function(t){const e=this.ruler.getRules(""),r=e.length,n=t.posMax,i=t.md.options.maxNesting;for(;t.pos<n;){const a=t.pos;let o=!1;if(t.level<i){for(let s=0;s<r;s++)if(o=e[s](t,!1),o){if(a>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Bl.prototype.parse=function(t,e,r,n){const i=new this.State(t,e,r,n);this.tokenize(i);const a=this.ruler2.getRules(""),o=a.length;for(let s=0;s<o;s++)a[s](i)};Bl.prototype.State=Ol;function zM(t){const e={};t=t||{},e.src_Any=__.source,e.src_Cc=b_.source,e.src_Z=w_.source,e.src_P=R4.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");const r="[><|]";return e.src_pseudo_letter="(?:(?!"+r+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+r+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function Nh(t){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(n){t[n]=r[n]})}),t}function Qc(t){return Object.prototype.toString.call(t)}function VM(t){return Qc(t)==="[object String]"}function $M(t){return Qc(t)==="[object Object]"}function GM(t){return Qc(t)==="[object RegExp]"}function Pp(t){return Qc(t)==="[object Function]"}function HM(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const P_={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function UM(t){return Object.keys(t||{}).reduce(function(e,r){return e||P_.hasOwnProperty(r)},!1)}const WM={"http:":{validate:function(t,e,r){const n=t.slice(e);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,r){const n=t.slice(e);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,r){const n=t.slice(e);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},qM="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",ZM="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function YM(t){t.__index__=-1,t.__text_cache__=""}function XM(t){return function(e,r){const n=e.slice(r);return t.test(n)?n.match(t)[0].length:0}}function Rp(){return function(t,e){e.normalize(t)}}function U0(t){const e=t.re=zM(t.__opts__),r=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||r.push(qM),r.push(e.src_xn),e.src_tlds=r.join("|");function n(s){return s.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const i=[];t.__compiled__={};function a(s,u){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+u)}Object.keys(t.__schemas__).forEach(function(s){const u=t.__schemas__[s];if(u===null)return;const l={validate:null,link:null};if(t.__compiled__[s]=l,$M(u)){GM(u.validate)?l.validate=XM(u.validate):Pp(u.validate)?l.validate=u.validate:a(s,u),Pp(u.normalize)?l.normalize=u.normalize:u.normalize?a(s,u):l.normalize=Rp();return}if(VM(u)){i.push(s);return}a(s,u)}),i.forEach(function(s){t.__compiled__[t.__schemas__[s]]&&(t.__compiled__[s].validate=t.__compiled__[t.__schemas__[s]].validate,t.__compiled__[s].normalize=t.__compiled__[t.__schemas__[s]].normalize)}),t.__compiled__[""]={validate:null,normalize:Rp()};const o=Object.keys(t.__compiled__).filter(function(s){return s.length>0&&t.__compiled__[s]}).map(HM).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),YM(t)}function jM(t,e){const r=t.__index__,n=t.__last_index__,i=t.__text_cache__.slice(r,n);this.schema=t.__schema__.toLowerCase(),this.index=r+e,this.lastIndex=n+e,this.raw=i,this.text=i,this.url=i}function Oh(t,e){const r=new jM(t,e);return t.__compiled__[r.schema].normalize(r,t),r}function dr(t,e){if(!(this instanceof dr))return new dr(t,e);e||UM(t)&&(e=t,t={}),this.__opts__=Nh({},P_,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Nh({},WM,t),this.__compiled__={},this.__tlds__=ZM,this.__tlds_replaced__=!1,this.re={},U0(this)}dr.prototype.add=function(e,r){return this.__schemas__[e]=r,U0(this),this};dr.prototype.set=function(e){return this.__opts__=Nh(this.__opts__,e),this};dr.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let r,n,i,a,o,s,u,l,c;if(this.re.schema_test.test(e)){for(u=this.re.schema_search,u.lastIndex=0;(r=u.exec(e))!==null;)if(a=this.testSchemaAt(e,r[2],u.lastIndex),a){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+a;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(o=n.index+n[1].length,(this.__index__<0||o<this.__index__)&&(this.__schema__="",this.__index__=o,this.__last_index__=n.index+n[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(c=e.indexOf("@"),c>=0&&(i=e.match(this.re.email_fuzzy))!==null&&(o=i.index+i[1].length,s=i.index+i[0].length,(this.__index__<0||o<this.__index__||o===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=s))),this.__index__>=0};dr.prototype.pretest=function(e){return this.re.pretest.test(e)};dr.prototype.testSchemaAt=function(e,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(e,n,this):0};dr.prototype.match=function(e){const r=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(r.push(Oh(this,n)),n=this.__last_index__);let i=n?e.slice(n):e;for(;this.test(i);)r.push(Oh(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};dr.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const r=this.re.schema_at_start.exec(e);if(!r)return null;const n=this.testSchemaAt(e,r[2],r[0].length);return n?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+n,Oh(this,0)):null};dr.prototype.tlds=function(e,r){return e=Array.isArray(e)?e:[e],r?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,i,a){return n!==a[i-1]}).reverse(),U0(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,U0(this),this)};dr.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};dr.prototype.onCompile=function(){};const os=2147483647,hn=36,z4=1,ol=26,KM=38,QM=700,R_=72,N_=128,O_="-",JM=/^xn--/,eL=/[^\0-\x7F]/,tL=/[\x2E\u3002\uFF0E\uFF61]/g,rL={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},tf=hn-z4,dn=Math.floor,rf=String.fromCharCode;function pi(t){throw new RangeError(rL[t])}function nL(t,e){const r=[];let n=t.length;for(;n--;)r[n]=e(t[n]);return r}function B_(t,e){const r=t.split("@");let n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace(tL,".");const i=t.split("."),a=nL(i,e).join(".");return n+a}function F_(t){const e=[];let r=0;const n=t.length;for(;r<n;){const i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){const a=t.charCodeAt(r++);(a&64512)==56320?e.push(((i&1023)<<10)+(a&1023)+65536):(e.push(i),r--)}else e.push(i)}return e}const iL=t=>String.fromCodePoint(...t),aL=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:hn},Np=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},z_=function(t,e,r){let n=0;for(t=r?dn(t/QM):t>>1,t+=dn(t/e);t>tf*ol>>1;n+=hn)t=dn(t/tf);return dn(n+(tf+1)*t/(t+KM))},V_=function(t){const e=[],r=t.length;let n=0,i=N_,a=R_,o=t.lastIndexOf(O_);o<0&&(o=0);for(let s=0;s<o;++s)t.charCodeAt(s)>=128&&pi("not-basic"),e.push(t.charCodeAt(s));for(let s=o>0?o+1:0;s<r;){const u=n;for(let c=1,f=hn;;f+=hn){s>=r&&pi("invalid-input");const h=aL(t.charCodeAt(s++));h>=hn&&pi("invalid-input"),h>dn((os-n)/c)&&pi("overflow"),n+=h*c;const d=f<=a?z4:f>=a+ol?ol:f-a;if(h<d)break;const p=hn-d;c>dn(os/p)&&pi("overflow"),c*=p}const l=e.length+1;a=z_(n-u,l,u==0),dn(n/l)>os-i&&pi("overflow"),i+=dn(n/l),n%=l,e.splice(n++,0,i)}return String.fromCodePoint(...e)},$_=function(t){const e=[];t=F_(t);const r=t.length;let n=N_,i=0,a=R_;for(const u of t)u<128&&e.push(rf(u));const o=e.length;let s=o;for(o&&e.push(O_);s<r;){let u=os;for(const c of t)c>=n&&c<u&&(u=c);const l=s+1;u-n>dn((os-i)/l)&&pi("overflow"),i+=(u-n)*l,n=u;for(const c of t)if(c<n&&++i>os&&pi("overflow"),c===n){let f=i;for(let h=hn;;h+=hn){const d=h<=a?z4:h>=a+ol?ol:h-a;if(f<d)break;const p=f-d,v=hn-d;e.push(rf(Np(d+p%v,0))),f=dn(p/v)}e.push(rf(Np(f,0))),a=z_(i,l,s===o),i=0,++s}++i,++n}return e.join("")},oL=function(t){return B_(t,function(e){return JM.test(e)?V_(e.slice(4).toLowerCase()):e})},sL=function(t){return B_(t,function(e){return eL.test(e)?"xn--"+$_(e):e})},G_={version:"2.3.1",ucs2:{decode:F_,encode:iL},decode:V_,encode:$_,toASCII:sL,toUnicode:oL},uL={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},lL={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},cL={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},fL={default:uL,zero:lL,commonmark:cL},hL=/^(vbscript|javascript|file|data):/,dL=/^data:image\/(gif|png|jpeg|webp);/;function pL(t){const e=t.trim().toLowerCase();return hL.test(e)?dL.test(e):!0}const H_=["http:","https:","mailto:"];function vL(t){const e=P4(t,!0);if(e.hostname&&(!e.protocol||H_.indexOf(e.protocol)>=0))try{e.hostname=G_.toASCII(e.hostname)}catch{}return Nl(I4(e))}function gL(t){const e=P4(t,!0);if(e.hostname&&(!e.protocol||H_.indexOf(e.protocol)>=0))try{e.hostname=G_.toUnicode(e.hostname)}catch{}return ps(I4(e),ps.defaultChars+"%")}function Pr(t,e){if(!(this instanceof Pr))return new Pr(t,e);e||N4(t)||(e=t||{},t="default"),this.inline=new Bl,this.block=new Kc,this.core=new B4,this.renderer=new Ds,this.linkify=new dr,this.validateLink=pL,this.normalizeLink=vL,this.normalizeLinkText=gL,this.utils=mk,this.helpers=Xc({},xk),this.options={},this.configure(t),e&&this.set(e)}Pr.prototype.set=function(t){return Xc(this.options,t),this};Pr.prototype.configure=function(t){const e=this;if(N4(t)){const r=t;if(t=fL[r],!t)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this};Pr.prototype.enable=function(t,e){let r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){r=r.concat(this[i].ruler.enable(t,!0))},this),r=r.concat(this.inline.ruler2.enable(t,!0));const n=t.filter(function(i){return r.indexOf(i)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Pr.prototype.disable=function(t,e){let r=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(i){r=r.concat(this[i].ruler.disable(t,!0))},this),r=r.concat(this.inline.ruler2.disable(t,!0));const n=t.filter(function(i){return r.indexOf(i)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Pr.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Pr.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const r=new this.core.State(t,this,e);return this.core.process(r),r.tokens};Pr.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Pr.prototype.parseInline=function(t,e){const r=new this.core.State(t,this,e);return r.inlineMode=!0,this.core.process(r),r.tokens};Pr.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};function mL(t,e){return t[e].content}function yL(t,e,r,n,i){const a=t.utils.arrayReplaceAt,o=t.utils.lib.ucmicro,s=t.utils.has,u=new RegExp([o.Z.source,o.P.source,o.Cc.source].join("|"));function l(c,f,h){let d=0;const p=[];if(c.replace(i,function(v,g,m){let y;if(s(r,v)){if(y=r[v],g>0&&!u.test(m[g-1])||g+v.length<m.length&&!u.test(m[g+v.length]))return}else y=v.slice(1,-1);if(g>d){const b=new h("text","",0);b.content=c.slice(d,g),p.push(b)}const _=new h("emoji","",0);_.markup=y,_.content=e[y],p.push(_),d=g+v.length}),d<c.length){const v=new h("text","",0);v.content=c.slice(d),p.push(v)}return p}return function(f){let h;const d=f.tokens;let p=0;for(let v=0,g=d.length;v<g;v++){if(d[v].type!=="inline")continue;let m=d[v].children;for(let y=m.length-1;y>=0;y--)h=m[y],(h.type==="link_open"||h.type==="link_close")&&h.info==="auto"&&(p-=h.nesting),h.type==="text"&&p===0&&n.test(h.content)&&(d[v].children=m=a(m,y,l(h.content,h.level,f.Token)))}}}function _L(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function bL(t){let e=t.defs;t.enabled.length&&(e=Object.keys(e).reduce((s,u)=>(t.enabled.indexOf(u)>=0&&(s[u]=e[u]),s),{}));const r=Object.keys(t.shortcuts).reduce((s,u)=>e[u]?Array.isArray(t.shortcuts[u])?(t.shortcuts[u].forEach(l=>{s[l]=u}),s):(s[t.shortcuts[u]]=u,s):s,{}),n=Object.keys(e);let i;n.length===0?i="^$":i=n.map(s=>`:${s}:`).concat(Object.keys(r)).sort().reverse().map(s=>_L(s)).join("|");const a=RegExp(i),o=RegExp(i,"g");return{defs:e,shortcuts:r,scanRE:a,replaceRE:o}}function xL(t,e){const r={defs:{},shortcuts:{},enabled:[]},n=bL(t.utils.assign({},r,e||{}));t.renderer.rules.emoji=mL,t.core.ruler.after("linkify","emoji",yL(t,n.defs,n.shortcuts,n.scanRE,n.replaceRE))}const wL={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]},SL={100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",melting_face:"🫠",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",face_with_open_eyes_and_hand_over_mouth:"🫢",face_with_peeking_eye:"🫣",shushing_face:"🤫",thinking:"🤔",saluting_face:"🫡",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",dotted_line_face:"🫥",face_in_clouds:"😶🌫️",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",face_exhaling:"😮💨",lying_face:"🤥",shaking_face:"🫨",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",face_with_spiral_eyes:"😵💫",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",face_with_diagonal_mouth:"🫤",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",face_holding_back_tears:"🥹",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart_on_fire:"❤️🔥",mending_heart:"❤️🩹",heart:"❤️",pink_heart:"🩷",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",light_blue_heart:"🩵",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",grey_heart:"🩶",white_heart:"🤍",kiss:"💋",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",speech_balloon:"💬",eye_speech_bubble:"👁️🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",rightwards_hand:"🫱",leftwards_hand:"🫲",palm_down_hand:"🫳",palm_up_hand:"🫴",leftwards_pushing_hand:"🫷",rightwards_pushing_hand:"🫸",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",hand_with_index_finger_and_thumb_crossed:"🫰",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️",index_pointing_at_the_viewer:"🫵","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",heart_hands:"🫶",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",biting_lip:"🫦",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",man_beard:"🧔♂️",woman_beard:"🧔♀️",red_haired_man:"👨🦰",curly_haired_man:"👨🦱",white_haired_man:"👨🦳",bald_man:"👨🦲",woman:"👩",red_haired_woman:"👩🦰",person_red_hair:"🧑🦰",curly_haired_woman:"👩🦱",person_curly_hair:"🧑🦱",white_haired_woman:"👩🦳",person_white_hair:"🧑🦳",bald_woman:"👩🦲",person_bald:"🧑🦲",blond_haired_woman:"👱♀️",blonde_woman:"👱♀️",blond_haired_man:"👱♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍♂️",frowning_woman:"🙍♀️",pouting_face:"🙎",pouting_man:"🙎♂️",pouting_woman:"🙎♀️",no_good:"🙅",no_good_man:"🙅♂️",ng_man:"🙅♂️",no_good_woman:"🙅♀️",ng_woman:"🙅♀️",ok_person:"🙆",ok_man:"🙆♂️",ok_woman:"🙆♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁♂️",sassy_man:"💁♂️",tipping_hand_woman:"💁♀️",sassy_woman:"💁♀️",raising_hand:"🙋",raising_hand_man:"🙋♂️",raising_hand_woman:"🙋♀️",deaf_person:"🧏",deaf_man:"🧏♂️",deaf_woman:"🧏♀️",bow:"🙇",bowing_man:"🙇♂️",bowing_woman:"🙇♀️",facepalm:"🤦",man_facepalming:"🤦♂️",woman_facepalming:"🤦♀️",shrug:"🤷",man_shrugging:"🤷♂️",woman_shrugging:"🤷♀️",health_worker:"🧑⚕️",man_health_worker:"👨⚕️",woman_health_worker:"👩⚕️",student:"🧑🎓",man_student:"👨🎓",woman_student:"👩🎓",teacher:"🧑🏫",man_teacher:"👨🏫",woman_teacher:"👩🏫",judge:"🧑⚖️",man_judge:"👨⚖️",woman_judge:"👩⚖️",farmer:"🧑🌾",man_farmer:"👨🌾",woman_farmer:"👩🌾",cook:"🧑🍳",man_cook:"👨🍳",woman_cook:"👩🍳",mechanic:"🧑🔧",man_mechanic:"👨🔧",woman_mechanic:"👩🔧",factory_worker:"🧑🏭",man_factory_worker:"👨🏭",woman_factory_worker:"👩🏭",office_worker:"🧑💼",man_office_worker:"👨💼",woman_office_worker:"👩💼",scientist:"🧑🔬",man_scientist:"👨🔬",woman_scientist:"👩🔬",technologist:"🧑💻",man_technologist:"👨💻",woman_technologist:"👩💻",singer:"🧑🎤",man_singer:"👨🎤",woman_singer:"👩🎤",artist:"🧑🎨",man_artist:"👨🎨",woman_artist:"👩🎨",pilot:"🧑✈️",man_pilot:"👨✈️",woman_pilot:"👩✈️",astronaut:"🧑🚀",man_astronaut:"👨🚀",woman_astronaut:"👩🚀",firefighter:"🧑🚒",man_firefighter:"👨🚒",woman_firefighter:"👩🚒",police_officer:"👮",cop:"👮",policeman:"👮♂️",policewoman:"👮♀️",detective:"🕵️",male_detective:"🕵️♂️",female_detective:"🕵️♀️",guard:"💂",guardsman:"💂♂️",guardswoman:"💂♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷♂️",construction_worker_woman:"👷♀️",person_with_crown:"🫅",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳♂️",woman_with_turban:"👳♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵♂️",woman_in_tuxedo:"🤵♀️",person_with_veil:"👰",man_with_veil:"👰♂️",woman_with_veil:"👰♀️",bride_with_veil:"👰♀️",pregnant_woman:"🤰",pregnant_man:"🫃",pregnant_person:"🫄",breast_feeding:"🤱",woman_feeding_baby:"👩🍼",man_feeding_baby:"👨🍼",person_feeding_baby:"🧑🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑🎄",superhero:"🦸",superhero_man:"🦸♂️",superhero_woman:"🦸♀️",supervillain:"🦹",supervillain_man:"🦹♂️",supervillain_woman:"🦹♀️",mage:"🧙",mage_man:"🧙♂️",mage_woman:"🧙♀️",fairy:"🧚",fairy_man:"🧚♂️",fairy_woman:"🧚♀️",vampire:"🧛",vampire_man:"🧛♂️",vampire_woman:"🧛♀️",merperson:"🧜",merman:"🧜♂️",mermaid:"🧜♀️",elf:"🧝",elf_man:"🧝♂️",elf_woman:"🧝♀️",genie:"🧞",genie_man:"🧞♂️",genie_woman:"🧞♀️",zombie:"🧟",zombie_man:"🧟♂️",zombie_woman:"🧟♀️",troll:"🧌",massage:"💆",massage_man:"💆♂️",massage_woman:"💆♀️",haircut:"💇",haircut_man:"💇♂️",haircut_woman:"💇♀️",walking:"🚶",walking_man:"🚶♂️",walking_woman:"🚶♀️",standing_person:"🧍",standing_man:"🧍♂️",standing_woman:"🧍♀️",kneeling_person:"🧎",kneeling_man:"🧎♂️",kneeling_woman:"🧎♀️",person_with_probing_cane:"🧑🦯",man_with_probing_cane:"👨🦯",woman_with_probing_cane:"👩🦯",person_in_motorized_wheelchair:"🧑🦼",man_in_motorized_wheelchair:"👨🦼",woman_in_motorized_wheelchair:"👩🦼",person_in_manual_wheelchair:"🧑🦽",man_in_manual_wheelchair:"👨🦽",woman_in_manual_wheelchair:"👩🦽",runner:"🏃",running:"🏃",running_man:"🏃♂️",running_woman:"🏃♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯♂️",dancing_women:"👯♀️",sauna_person:"🧖",sauna_man:"🧖♂️",sauna_woman:"🧖♀️",climbing:"🧗",climbing_man:"🧗♂️",climbing_woman:"🧗♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️♂️",golfing_woman:"🏌️♀️",surfer:"🏄",surfing_man:"🏄♂️",surfing_woman:"🏄♀️",rowboat:"🚣",rowing_man:"🚣♂️",rowing_woman:"🚣♀️",swimmer:"🏊",swimming_man:"🏊♂️",swimming_woman:"🏊♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️♂️",basketball_man:"⛹️♂️",bouncing_ball_woman:"⛹️♀️",basketball_woman:"⛹️♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️♂️",weight_lifting_woman:"🏋️♀️",bicyclist:"🚴",biking_man:"🚴♂️",biking_woman:"🚴♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵♂️",mountain_biking_woman:"🚵♀️",cartwheeling:"🤸",man_cartwheeling:"🤸♂️",woman_cartwheeling:"🤸♀️",wrestling:"🤼",men_wrestling:"🤼♂️",women_wrestling:"🤼♀️",water_polo:"🤽",man_playing_water_polo:"🤽♂️",woman_playing_water_polo:"🤽♀️",handball_person:"🤾",man_playing_handball:"🤾♂️",woman_playing_handball:"🤾♀️",juggling_person:"🤹",man_juggling:"🤹♂️",woman_juggling:"🤹♀️",lotus_position:"🧘",lotus_position_man:"🧘♂️",lotus_position_woman:"🧘♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑🤝🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:"👩❤️💋👨",couplekiss_man_man:"👨❤️💋👨",couplekiss_woman_woman:"👩❤️💋👩",couple_with_heart:"💑",couple_with_heart_woman_man:"👩❤️👨",couple_with_heart_man_man:"👨❤️👨",couple_with_heart_woman_woman:"👩❤️👩",family:"👪",family_man_woman_boy:"👨👩👦",family_man_woman_girl:"👨👩👧",family_man_woman_girl_boy:"👨👩👧👦",family_man_woman_boy_boy:"👨👩👦👦",family_man_woman_girl_girl:"👨👩👧👧",family_man_man_boy:"👨👨👦",family_man_man_girl:"👨👨👧",family_man_man_girl_boy:"👨👨👧👦",family_man_man_boy_boy:"👨👨👦👦",family_man_man_girl_girl:"👨👨👧👧",family_woman_woman_boy:"👩👩👦",family_woman_woman_girl:"👩👩👧",family_woman_woman_girl_boy:"👩👩👧👦",family_woman_woman_boy_boy:"👩👩👦👦",family_woman_woman_girl_girl:"👩👩👧👧",family_man_boy:"👨👦",family_man_boy_boy:"👨👦👦",family_man_girl:"👨👧",family_man_girl_boy:"👨👧👦",family_man_girl_girl:"👨👧👧",family_woman_boy:"👩👦",family_woman_boy_boy:"👩👦👦",family_woman_girl:"👩👧",family_woman_girl_boy:"👩👧👦",family_woman_girl_girl:"👩👧👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",moose:"🫎",donkey:"🫏",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",wing:"🪽",black_bird:"🐦⬛",goose:"🪿",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",coral:"🪸",jellyfish:"🪼",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",lotus:"🪷",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",hyacinth:"🪻",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",empty_nest:"🪹",nest_with_eggs:"🪺",mushroom:"🍄",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",peanuts:"🥜",beans:"🫘",chestnut:"🌰",ginger_root:"🫚",pea_pod:"🫛",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",pouring_liquid:"🫗",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",jar:"🫙",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",playground_slide:"🛝",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",wheel:"🛞",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",ring_buoy:"🛟",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁",gun:"🔫","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",mirror_ball:"🪩",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",folding_hand_fan:"🪭",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",hair_pick:"🪮",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",maracas:"🪇",flute:"🪈",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",low_battery:"🪫",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",bomb:"💣",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",crutch:"🩼",stethoscope:"🩺",x_ray:"🩻",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",bubbles:"🫧",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",nazar_amulet:"🧿",hamsa:"🪬",moyai:"🗿",placard:"🪧",identification_card:"🪪",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",khanda:"🪯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",wireless:"🛜",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",heavy_equals_sign:"🟰",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",ideograph_advantage:"🉐",accept:"🉑",congratulations:"㊗️",secret:"㊙️",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️🌈",transgender_flag:"🏳️⚧️",pirate_flag:"🏴☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:"🏴",scotland:"🏴",wales:"🏴"};function CL(t,e){const r={defs:SL,shortcuts:wL,enabled:[]},n=t.utils.assign({},r,e||{});xL(t,n)}const AL=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function TL(t,e){const r=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==126||e||n+2>=r)return!1;t.pos=n+1;let i=!1;for(;t.pos<r;){if(t.src.charCodeAt(t.pos)===126){i=!0;break}t.md.inline.skipToken(t)}if(!i||n+1===t.pos)return t.pos=n,!1;const a=t.src.slice(n+1,t.pos);if(a.match(/(^|[^\\])(\\\\)*\s/))return t.pos=n,!1;t.posMax=t.pos,t.pos=n+1;const o=t.push("sub_open","sub",1);o.markup="~";const s=t.push("text","",0);s.content=a.replace(AL,"$1");const u=t.push("sub_close","sub",-1);return u.markup="~",t.pos=t.posMax+1,t.posMax=r,!0}function DL(t){t.inline.ruler.after("emphasis","sub",TL)}const EL=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function kL(t,e){const r=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==94||e||n+2>=r)return!1;t.pos=n+1;let i=!1;for(;t.pos<r;){if(t.src.charCodeAt(t.pos)===94){i=!0;break}t.md.inline.skipToken(t)}if(!i||n+1===t.pos)return t.pos=n,!1;const a=t.src.slice(n+1,t.pos);if(a.match(/(^|[^\\])(\\\\)*\s/))return t.pos=n,!1;t.posMax=t.pos,t.pos=n+1;const o=t.push("sup_open","sup",1);o.markup="^";const s=t.push("text","",0);s.content=a.replace(EL,"$1");const u=t.push("sup_close","sup",-1);return u.markup="^",t.pos=t.posMax+1,t.posMax=r,!0}function ML(t){t.inline.ruler.after("emphasis","sup",kL)}function LL(t,e,r,n){const i=Number(t[e].meta.id+1).toString();let a="";return typeof n.docId=="string"&&(a=`-${n.docId}-`),a+i}function IL(t,e){let r=Number(t[e].meta.id+1).toString();return t[e].meta.subId>0&&(r+=`:${t[e].meta.subId}`),`[${r}]`}function PL(t,e,r,n,i){const a=i.rules.footnote_anchor_name(t,e,r,n,i),o=i.rules.footnote_caption(t,e,r,n,i);let s=a;return t[e].meta.subId>0&&(s+=`:${t[e].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${a}" id="fnref${s}">${o}</a></sup>`}function RL(t,e,r){return(r.xhtmlOut?`<hr class="footnotes-sep" />
|
|
17
|
+
`:`<hr class="footnotes-sep">
|
|
18
|
+
`)+`<section class="footnotes">
|
|
19
|
+
<ol class="footnotes-list">
|
|
20
|
+
`}function NL(){return`</ol>
|
|
21
|
+
</section>
|
|
22
|
+
`}function OL(t,e,r,n,i){let a=i.rules.footnote_anchor_name(t,e,r,n,i);return t[e].meta.subId>0&&(a+=`:${t[e].meta.subId}`),`<li id="fn${a}" class="footnote-item">`}function BL(){return`</li>
|
|
23
|
+
`}function FL(t,e,r,n,i){let a=i.rules.footnote_anchor_name(t,e,r,n,i);return t[e].meta.subId>0&&(a+=`:${t[e].meta.subId}`),` <a href="#fnref${a}" class="footnote-backref">↩︎</a>`}function zL(t){const e=t.helpers.parseLinkLabel,r=t.utils.isSpace;t.renderer.rules.footnote_ref=PL,t.renderer.rules.footnote_block_open=RL,t.renderer.rules.footnote_block_close=NL,t.renderer.rules.footnote_open=OL,t.renderer.rules.footnote_close=BL,t.renderer.rules.footnote_anchor=FL,t.renderer.rules.footnote_caption=IL,t.renderer.rules.footnote_anchor_name=LL;function n(s,u,l,c){const f=s.bMarks[u]+s.tShift[u],h=s.eMarks[u];if(f+4>h||s.src.charCodeAt(f)!==91||s.src.charCodeAt(f+1)!==94)return!1;let d;for(d=f+2;d<h;d++){if(s.src.charCodeAt(d)===32)return!1;if(s.src.charCodeAt(d)===93)break}if(d===f+2||d+1>=h||s.src.charCodeAt(++d)!==58)return!1;if(c)return!0;d++,s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.refs||(s.env.footnotes.refs={});const p=s.src.slice(f+2,d-2);s.env.footnotes.refs[`:${p}`]=-1;const v=new s.Token("footnote_reference_open","",1);v.meta={label:p},v.level=s.level++,s.tokens.push(v);const g=s.bMarks[u],m=s.tShift[u],y=s.sCount[u],_=s.parentType,b=d,x=s.sCount[u]+d-(s.bMarks[u]+s.tShift[u]);let w=x;for(;d<h;){const C=s.src.charCodeAt(d);if(r(C))C===9?w+=4-w%4:w++;else break;d++}s.tShift[u]=d-b,s.sCount[u]=w-x,s.bMarks[u]=b,s.blkIndent+=4,s.parentType="footnote",s.sCount[u]<s.blkIndent&&(s.sCount[u]+=s.blkIndent),s.md.block.tokenize(s,u,l,!0),s.parentType=_,s.blkIndent-=4,s.tShift[u]=m,s.sCount[u]=y,s.bMarks[u]=g;const S=new s.Token("footnote_reference_close","",-1);return S.level=--s.level,s.tokens.push(S),!0}function i(s,u){const l=s.posMax,c=s.pos;if(c+2>=l||s.src.charCodeAt(c)!==94||s.src.charCodeAt(c+1)!==91)return!1;const f=c+2,h=e(s,c+1);if(h<0)return!1;if(!u){s.env.footnotes||(s.env.footnotes={}),s.env.footnotes.list||(s.env.footnotes.list=[]);const d=s.env.footnotes.list.length,p=[];s.md.inline.parse(s.src.slice(f,h),s.md,s.env,p);const v=s.push("footnote_ref","",0);v.meta={id:d},s.env.footnotes.list[d]={content:s.src.slice(f,h),tokens:p}}return s.pos=h+1,s.posMax=l,!0}function a(s,u){const l=s.posMax,c=s.pos;if(c+3>l||!s.env.footnotes||!s.env.footnotes.refs||s.src.charCodeAt(c)!==91||s.src.charCodeAt(c+1)!==94)return!1;let f;for(f=c+2;f<l;f++){if(s.src.charCodeAt(f)===32||s.src.charCodeAt(f)===10)return!1;if(s.src.charCodeAt(f)===93)break}if(f===c+2||f>=l)return!1;f++;const h=s.src.slice(c+2,f-1);if(typeof s.env.footnotes.refs[`:${h}`]>"u")return!1;if(!u){s.env.footnotes.list||(s.env.footnotes.list=[]);let d;s.env.footnotes.refs[`:${h}`]<0?(d=s.env.footnotes.list.length,s.env.footnotes.list[d]={label:h,count:0},s.env.footnotes.refs[`:${h}`]=d):d=s.env.footnotes.refs[`:${h}`];const p=s.env.footnotes.list[d].count;s.env.footnotes.list[d].count++;const v=s.push("footnote_ref","",0);v.meta={id:d,subId:p,label:h}}return s.pos=f,s.posMax=l,!0}function o(s){let u,l,c,f=!1;const h={};if(!s.env.footnotes||(s.tokens=s.tokens.filter(function(p){return p.type==="footnote_reference_open"?(f=!0,l=[],c=p.meta.label,!1):p.type==="footnote_reference_close"?(f=!1,h[":"+c]=l,!1):(f&&l.push(p),!f)}),!s.env.footnotes.list))return;const d=s.env.footnotes.list;s.tokens.push(new s.Token("footnote_block_open","",1));for(let p=0,v=d.length;p<v;p++){const g=new s.Token("footnote_open","",1);if(g.meta={id:p,label:d[p].label},s.tokens.push(g),d[p].tokens){u=[];const _=new s.Token("paragraph_open","p",1);_.block=!0,u.push(_);const b=new s.Token("inline","",0);b.children=d[p].tokens,b.content=d[p].content,u.push(b);const x=new s.Token("paragraph_close","p",-1);x.block=!0,u.push(x)}else d[p].label&&(u=h[`:${d[p].label}`]);u&&(s.tokens=s.tokens.concat(u));let m;s.tokens[s.tokens.length-1].type==="paragraph_close"?m=s.tokens.pop():m=null;const y=d[p].count>0?d[p].count:1;for(let _=0;_<y;_++){const b=new s.Token("footnote_anchor","",0);b.meta={id:p,subId:_,label:d[p].label},s.tokens.push(b)}m&&s.tokens.push(m),s.tokens.push(new s.Token("footnote_close","",-1))}s.tokens.push(new s.Token("footnote_block_close","",-1))}t.block.ruler.before("reference","footnote_def",n,{alt:["paragraph","reference"]}),t.inline.ruler.after("image","footnote_inline",i),t.inline.ruler.after("footnote_inline","footnote_ref",a),t.core.ruler.after("inline","footnote_tail",o)}function VL(t){const e=t.utils.isSpace;function r(a,o){let s=a.bMarks[o]+a.tShift[o];const u=a.eMarks[o];if(s>=u)return-1;const l=a.src.charCodeAt(s++);if(l!==126&&l!==58)return-1;const c=a.skipSpaces(s);return s===c||c>=u?-1:s}function n(a,o){const s=a.level+2;for(let u=o+2,l=a.tokens.length-2;u<l;u++)a.tokens[u].level===s&&a.tokens[u].type==="paragraph_open"&&(a.tokens[u+2].hidden=!0,a.tokens[u].hidden=!0,u+=2)}function i(a,o,s,u){if(u)return a.ddIndent<0?!1:r(a,o)>=0;let l=o+1;if(l>=s||a.isEmpty(l)&&(l++,l>=s)||a.sCount[l]<a.blkIndent)return!1;let c=r(a,l);if(c<0)return!1;const f=a.tokens.length;let h=!0;const d=a.push("dl_open","dl",1),p=[o,0];d.map=p;let v=o,g=l;e:for(;;){let m=!1;const y=a.push("dt_open","dt",1);y.map=[v,v];const _=a.push("inline","",0);for(_.map=[v,v],_.content=a.getLines(v,v+1,a.blkIndent,!1).trim(),_.children=[],a.push("dt_close","dt",-1);;){const b=a.push("dd_open","dd",1),x=[l,0];b.map=x;let w=c;const S=a.eMarks[g];let C=a.sCount[g]+c-(a.bMarks[g]+a.tShift[g]);for(;w<S;){const N=a.src.charCodeAt(w);if(e(N))N===9?C+=4-C%4:C++;else break;w++}c=w;const A=a.tight,T=a.ddIndent,D=a.blkIndent,k=a.tShift[g],M=a.sCount[g],I=a.parentType;if(a.blkIndent=a.ddIndent=a.sCount[g]+2,a.tShift[g]=c-a.bMarks[g],a.sCount[g]=C,a.tight=!0,a.parentType="deflist",a.md.block.tokenize(a,g,s,!0),(!a.tight||m)&&(h=!1),m=a.line-g>1&&a.isEmpty(a.line-1),a.tShift[g]=k,a.sCount[g]=M,a.tight=A,a.parentType=I,a.blkIndent=D,a.ddIndent=T,a.push("dd_close","dd",-1),x[1]=l=a.line,l>=s||a.sCount[l]<a.blkIndent)break e;if(c=r(a,l),c<0)break;g=l}if(l>=s||(v=l,a.isEmpty(v))||a.sCount[v]<a.blkIndent||(g=v+1,g>=s)||(a.isEmpty(g)&&g++,g>=s)||a.sCount[g]<a.blkIndent||(c=r(a,g),c<0))break}return a.push("dl_close","dl",-1),p[1]=l,a.line=l,h&&n(a,f),!0}t.block.ruler.before("paragraph","deflist",i,{alt:["paragraph","reference","blockquote"]})}function $L(t){const e=t.utils.escapeRE,r=t.utils.arrayReplaceAt,n=" \r\n$+<=>^`|~",i=t.utils.lib.ucmicro.P.source,a=t.utils.lib.ucmicro.Z.source;function o(u,l,c,f){let h,d=u.bMarks[l]+u.tShift[l];const p=u.eMarks[l];if(d+2>=p||u.src.charCodeAt(d++)!==42||u.src.charCodeAt(d++)!==91)return!1;const v=d;for(;d<p;d++){const y=u.src.charCodeAt(d);if(y===91)return!1;if(y===93){h=d;break}else y===92&&d++}if(h<0||u.src.charCodeAt(h+1)!==58)return!1;if(f)return!0;const g=u.src.slice(v,h).replace(/\\(.)/g,"$1"),m=u.src.slice(h+2,p).trim();return g.length===0||m.length===0?!1:(u.env.abbreviations||(u.env.abbreviations={}),typeof u.env.abbreviations[":"+g]>"u"&&(u.env.abbreviations[":"+g]=m),u.line=l+1,!0)}function s(u){const l=u.tokens;if(!u.env.abbreviations)return;const c=new RegExp("(?:"+Object.keys(u.env.abbreviations).map(function(d){return d.substr(1)}).sort(function(d,p){return p.length-d.length}).map(e).join("|")+")"),f="(^|"+i+"|"+a+"|["+n.split("").map(e).join("")+"])("+Object.keys(u.env.abbreviations).map(function(d){return d.substr(1)}).sort(function(d,p){return p.length-d.length}).map(e).join("|")+")($|"+i+"|"+a+"|["+n.split("").map(e).join("")+"])",h=new RegExp(f,"g");for(let d=0,p=l.length;d<p;d++){if(l[d].type!=="inline")continue;let v=l[d].children;for(let g=v.length-1;g>=0;g--){const m=v[g];if(m.type!=="text")continue;let y=0;const _=m.content;h.lastIndex=0;const b=[];if(!c.test(_))continue;let x;for(;x=h.exec(_);){if(x.index>0||x[1].length>0){const A=new u.Token("text","",0);A.content=_.slice(y,x.index+x[1].length),b.push(A)}const w=new u.Token("abbr_open","abbr",1);w.attrs=[["title",u.env.abbreviations[":"+x[2]]]],b.push(w);const S=new u.Token("text","",0);S.content=x[2],b.push(S);const C=new u.Token("abbr_close","abbr",-1);b.push(C),h.lastIndex-=x[3].length,y=h.lastIndex}if(b.length){if(y<_.length){const w=new u.Token("text","",0);w.content=_.slice(y),b.push(w)}l[d].children=v=r(v,g,b)}}}}t.block.ruler.before("reference","abbr_def",o,{alt:["paragraph","reference"]}),t.core.ruler.after("linkify","abbr_replace",s)}function GL(t){function e(n,i){const a=n.pos,o=n.src.charCodeAt(a);if(i||o!==43)return!1;const s=n.scanDelims(n.pos,!0);let u=s.length;const l=String.fromCharCode(o);if(u<2)return!1;if(u%2){const c=n.push("text","",0);c.content=l,u--}for(let c=0;c<u;c+=2){const f=n.push("text","",0);f.content=l+l,!(!s.can_open&&!s.can_close)&&n.delimiters.push({marker:o,length:0,jump:c/2,token:n.tokens.length-1,end:-1,open:s.can_open,close:s.can_close})}return n.pos+=s.length,!0}function r(n,i){let a;const o=[],s=i.length;for(let u=0;u<s;u++){const l=i[u];if(l.marker!==43||l.end===-1)continue;const c=i[l.end];a=n.tokens[l.token],a.type="ins_open",a.tag="ins",a.nesting=1,a.markup="++",a.content="",a=n.tokens[c.token],a.type="ins_close",a.tag="ins",a.nesting=-1,a.markup="++",a.content="",n.tokens[c.token-1].type==="text"&&n.tokens[c.token-1].content==="+"&&o.push(c.token-1)}for(;o.length;){const u=o.pop();let l=u+1;for(;l<n.tokens.length&&n.tokens[l].type==="ins_close";)l++;l--,u!==l&&(a=n.tokens[l],n.tokens[l]=n.tokens[u],n.tokens[u]=a)}}t.inline.ruler.before("emphasis","ins",e),t.inline.ruler2.before("emphasis","ins",function(n){const i=n.tokens_meta,a=(n.tokens_meta||[]).length;r(n,n.delimiters);for(let o=0;o<a;o++)i[o]&&i[o].delimiters&&r(n,i[o].delimiters)})}function HL(t){function e(n,i){const a=n.pos,o=n.src.charCodeAt(a);if(i||o!==61)return!1;const s=n.scanDelims(n.pos,!0);let u=s.length;const l=String.fromCharCode(o);if(u<2)return!1;if(u%2){const c=n.push("text","",0);c.content=l,u--}for(let c=0;c<u;c+=2){const f=n.push("text","",0);f.content=l+l,!(!s.can_open&&!s.can_close)&&n.delimiters.push({marker:o,length:0,jump:c/2,token:n.tokens.length-1,end:-1,open:s.can_open,close:s.can_close})}return n.pos+=s.length,!0}function r(n,i){const a=[],o=i.length;for(let s=0;s<o;s++){const u=i[s];if(u.marker!==61||u.end===-1)continue;const l=i[u.end],c=n.tokens[u.token];c.type="mark_open",c.tag="mark",c.nesting=1,c.markup="==",c.content="";const f=n.tokens[l.token];f.type="mark_close",f.tag="mark",f.nesting=-1,f.markup="==",f.content="",n.tokens[l.token-1].type==="text"&&n.tokens[l.token-1].content==="="&&a.push(l.token-1)}for(;a.length;){const s=a.pop();let u=s+1;for(;u<n.tokens.length&&n.tokens[u].type==="mark_close";)u++;if(u--,s!==u){const l=n.tokens[u];n.tokens[u]=n.tokens[s],n.tokens[s]=l}}}t.inline.ruler.before("emphasis","mark",e),t.inline.ruler2.before("emphasis","mark",function(n){let i;const a=n.tokens_meta,o=(n.tokens_meta||[]).length;for(r(n,n.delimiters),i=0;i<o;i++)a[i]&&a[i].delimiters&&r(n,a[i].delimiters)})}function ir(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function UL(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Bh=!0,U_=!1,W_=!1,WL=function(t,e){e&&(Bh=!e.enabled,U_=!!e.label,W_=!!e.labelAfter),t.core.ruler.after("inline","github-task-lists",function(r){for(var n=r.tokens,i=2;i<n.length;i++)ZL(n,i)&&(YL(n[i],r.Token),Op(n[i-2],"class","task-list-item"+(Bh?"":" enabled")),Op(n[qL(n,i-2)],"class","contains-task-list"))})};function Op(t,e,r){var n=t.attrIndex(e),i=[e,r];n<0?t.attrPush(i):t.attrs[n]=i}function qL(t,e){for(var r=t[e].level-1,n=e-1;n>=0;n--)if(t[n].level===r)return n;return-1}function ZL(t,e){return JL(t[e])&&eI(t[e-1])&&tI(t[e-2])&&rI(t[e])}function YL(t,e){if(t.children.unshift(XL(t,e)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),U_)if(W_){t.children.pop();var r="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+r+'">',t.children.push(QL(t.content,r,e))}else t.children.unshift(jL(e)),t.children.push(KL(e))}function XL(t,e){var r=new e("html_inline","",0),n=Bh?' disabled="" ':"";return t.content.indexOf("[ ] ")===0?r.content='<input class="task-list-item-checkbox"'+n+'type="checkbox">':(t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0)&&(r.content='<input class="task-list-item-checkbox" checked=""'+n+'type="checkbox">'),r}function jL(t){var e=new t("html_inline","",0);return e.content="<label>",e}function KL(t){var e=new t("html_inline","",0);return e.content="</label>",e}function QL(t,e,r){var n=new r("html_inline","",0);return n.content='<label class="task-list-item-label" for="'+e+'">'+t+"</label>",n.attrs=[{for:e}],n}function JL(t){return t.type==="inline"}function eI(t){return t.type==="paragraph_open"}function tI(t){return t.type==="list_item_open"}function rI(t){return t.content.indexOf("[ ] ")===0||t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0}const nI=ir(WL);var q_={},Z_={exports:{}};(function(t){var e=function(){function r(h,d){return d!=null&&h instanceof d}var n;try{n=Map}catch{n=function(){}}var i;try{i=Set}catch{i=function(){}}var a;try{a=Promise}catch{a=function(){}}function o(h,d,p,v,g){typeof d=="object"&&(p=d.depth,v=d.prototype,g=d.includeNonEnumerable,d=d.circular);var m=[],y=[],_=typeof Buffer<"u";typeof d>"u"&&(d=!0),typeof p>"u"&&(p=1/0);function b(x,w){if(x===null)return null;if(w===0)return x;var S,C;if(typeof x!="object")return x;if(r(x,n))S=new n;else if(r(x,i))S=new i;else if(r(x,a))S=new a(function(O,P){x.then(function(R){O(b(R,w-1))},function(R){P(b(R,w-1))})});else if(o.__isArray(x))S=[];else if(o.__isRegExp(x))S=new RegExp(x.source,f(x)),x.lastIndex&&(S.lastIndex=x.lastIndex);else if(o.__isDate(x))S=new Date(x.getTime());else{if(_&&Buffer.isBuffer(x))return Buffer.allocUnsafe?S=Buffer.allocUnsafe(x.length):S=new Buffer(x.length),x.copy(S),S;r(x,Error)?S=Object.create(x):typeof v>"u"?(C=Object.getPrototypeOf(x),S=Object.create(C)):(S=Object.create(v),C=v)}if(d){var A=m.indexOf(x);if(A!=-1)return y[A];m.push(x),y.push(S)}r(x,n)&&x.forEach(function(O,P){var R=b(P,w-1),B=b(O,w-1);S.set(R,B)}),r(x,i)&&x.forEach(function(O){var P=b(O,w-1);S.add(P)});for(var T in x){var D;C&&(D=Object.getOwnPropertyDescriptor(C,T)),!(D&&D.set==null)&&(S[T]=b(x[T],w-1))}if(Object.getOwnPropertySymbols)for(var k=Object.getOwnPropertySymbols(x),T=0;T<k.length;T++){var M=k[T],I=Object.getOwnPropertyDescriptor(x,M);I&&!I.enumerable&&!g||(S[M]=b(x[M],w-1),I.enumerable||Object.defineProperty(S,M,{enumerable:!1}))}if(g)for(var N=Object.getOwnPropertyNames(x),T=0;T<N.length;T++){var L=N[T],I=Object.getOwnPropertyDescriptor(x,L);I&&I.enumerable||(S[L]=b(x[L],w-1),Object.defineProperty(S,L,{enumerable:!1}))}return S}return b(h,p)}o.clonePrototype=function(d){if(d===null)return null;var p=function(){};return p.prototype=d,new p};function s(h){return Object.prototype.toString.call(h)}o.__objToStr=s;function u(h){return typeof h=="object"&&s(h)==="[object Date]"}o.__isDate=u;function l(h){return typeof h=="object"&&s(h)==="[object Array]"}o.__isArray=l;function c(h){return typeof h=="object"&&s(h)==="[object RegExp]"}o.__isRegExp=c;function f(h){var d="";return h.global&&(d+="g"),h.ignoreCase&&(d+="i"),h.multiline&&(d+="m"),d}return o.__getRegExpFlags=f,o}();t.exports&&(t.exports=e)})(Z_);var iI=Z_.exports,Y_={exports:{}},X_={};X_.L=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,170,181,186,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,710,711,712,713,714,715,716,717,718,719,720,721,736,737,738,739,740,748,750,880,881,882,883,884,886,887,890,891,892,893,895,902,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1e3,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1162,1163,1164,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,1292,1293,1294,1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1369,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1749,1765,1766,1774,1775,1786,1787,1788,1791,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2208,2209,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,2221,2222,2223,2224,2225,2226,2227,2228,2308,2309,2310,2311,2312,2313,2314,2315,2316,2317,2318,2319,2320,2321,2322,2323,2324,2325,2326,2327,2328,2329,2330,2331,2332,2333,2334,2335,2336,2337,2338,2339,2340,2341,2342,2343,2344,2345,2346,2347,2348,2349,2350,2351,2352,2353,2354,2355,2356,2357,2358,2359,2360,2361,2365,2384,2392,2393,2394,2395,2396,2397,2398,2399,2400,2401,2417,2418,2419,2420,2421,2422,2423,2424,2425,2426,2427,2428,2429,2430,2431,2432,2437,2438,2439,2440,2441,2442,2443,2444,2447,2448,2451,2452,2453,2454,2455,2456,2457,2458,2459,2460,2461,2462,2463,2464,2465,2466,2467,2468,2469,2470,2471,2472,2474,2475,2476,2477,2478,2479,2480,2482,2486,2487,2488,2489,2493,2510,2524,2525,2527,2528,2529,2544,2545,2565,2566,2567,2568,2569,2570,2575,2576,2579,2580,2581,2582,2583,2584,2585,2586,2587,2588,2589,2590,2591,2592,2593,2594,2595,2596,2597,2598,2599,2600,2602,2603,2604,2605,2606,2607,2608,2610,2611,2613,2614,2616,2617,2649,2650,2651,2652,2654,2674,2675,2676,2693,2694,2695,2696,2697,2698,2699,2700,2701,2703,2704,2705,2707,2708,2709,2710,2711,2712,2713,2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,2726,2727,2728,2730,2731,2732,2733,2734,2735,2736,2738,2739,2741,2742,2743,2744,2745,2749,2768,2784,2785,2809,2821,2822,2823,2824,2825,2826,2827,2828,2831,2832,2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2852,2853,2854,2855,2856,2858,2859,2860,2861,2862,2863,2864,2866,2867,2869,2870,2871,2872,2873,2877,2908,2909,2911,2912,2913,2929,2947,2949,2950,2951,2952,2953,2954,2958,2959,2960,2962,2963,2964,2965,2969,2970,2972,2974,2975,2979,2980,2984,2985,2986,2990,2991,2992,2993,2994,2995,2996,2997,2998,2999,3e3,3001,3024,3077,3078,3079,3080,3081,3082,3083,3084,3086,3087,3088,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3105,3106,3107,3108,3109,3110,3111,3112,3114,3115,3116,3117,3118,3119,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3133,3160,3161,3162,3168,3169,3205,3206,3207,3208,3209,3210,3211,3212,3214,3215,3216,3218,3219,3220,3221,3222,3223,3224,3225,3226,3227,3228,3229,3230,3231,3232,3233,3234,3235,3236,3237,3238,3239,3240,3242,3243,3244,3245,3246,3247,3248,3249,3250,3251,3253,3254,3255,3256,3257,3261,3294,3296,3297,3313,3314,3333,3334,3335,3336,3337,3338,3339,3340,3342,3343,3344,3346,3347,3348,3349,3350,3351,3352,3353,3354,3355,3356,3357,3358,3359,3360,3361,3362,3363,3364,3365,3366,3367,3368,3369,3370,3371,3372,3373,3374,3375,3376,3377,3378,3379,3380,3381,3382,3383,3384,3385,3386,3389,3406,3423,3424,3425,3450,3451,3452,3453,3454,3455,3461,3462,3463,3464,3465,3466,3467,3468,3469,3470,3471,3472,3473,3474,3475,3476,3477,3478,3482,3483,3484,3485,3486,3487,3488,3489,3490,3491,3492,3493,3494,3495,3496,3497,3498,3499,3500,3501,3502,3503,3504,3505,3507,3508,3509,3510,3511,3512,3513,3514,3515,3517,3520,3521,3522,3523,3524,3525,3526,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,3630,3631,3632,3634,3635,3648,3649,3650,3651,3652,3653,3654,3713,3714,3716,3719,3720,3722,3725,3732,3733,3734,3735,3737,3738,3739,3740,3741,3742,3743,3745,3746,3747,3749,3751,3754,3755,3757,3758,3759,3760,3762,3763,3773,3776,3777,3778,3779,3780,3782,3804,3805,3806,3807,3840,3904,3905,3906,3907,3908,3909,3910,3911,3913,3914,3915,3916,3917,3918,3919,3920,3921,3922,3923,3924,3925,3926,3927,3928,3929,3930,3931,3932,3933,3934,3935,3936,3937,3938,3939,3940,3941,3942,3943,3944,3945,3946,3947,3948,3976,3977,3978,3979,3980,4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,4111,4112,4113,4114,4115,4116,4117,4118,4119,4120,4121,4122,4123,4124,4125,4126,4127,4128,4129,4130,4131,4132,4133,4134,4135,4136,4137,4138,4159,4176,4177,4178,4179,4180,4181,4186,4187,4188,4189,4193,4197,4198,4206,4207,4208,4213,4214,4215,4216,4217,4218,4219,4220,4221,4222,4223,4224,4225,4238,4256,4257,4258,4259,4260,4261,4262,4263,4264,4265,4266,4267,4268,4269,4270,4271,4272,4273,4274,4275,4276,4277,4278,4279,4280,4281,4282,4283,4284,4285,4286,4287,4288,4289,4290,4291,4292,4293,4295,4301,4304,4305,4306,4307,4308,4309,4310,4311,4312,4313,4314,4315,4316,4317,4318,4319,4320,4321,4322,4323,4324,4325,4326,4327,4328,4329,4330,4331,4332,4333,4334,4335,4336,4337,4338,4339,4340,4341,4342,4343,4344,4345,4346,4348,4349,4350,4351,4352,4353,4354,4355,4356,4357,4358,4359,4360,4361,4362,4363,4364,4365,4366,4367,4368,4369,4370,4371,4372,4373,4374,4375,4376,4377,4378,4379,4380,4381,4382,4383,4384,4385,4386,4387,4388,4389,4390,4391,4392,4393,4394,4395,4396,4397,4398,4399,4400,4401,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,4417,4418,4419,4420,4421,4422,4423,4424,4425,4426,4427,4428,4429,4430,4431,4432,4433,4434,4435,4436,4437,4438,4439,4440,4441,4442,4443,4444,4445,4446,4447,4448,4449,4450,4451,4452,4453,4454,4455,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,4466,4467,4468,4469,4470,4471,4472,4473,4474,4475,4476,4477,4478,4479,4480,4481,4482,4483,4484,4485,4486,4487,4488,4489,4490,4491,4492,4493,4494,4495,4496,4497,4498,4499,4500,4501,4502,4503,4504,4505,4506,4507,4508,4509,4510,4511,4512,4513,4514,4515,4516,4517,4518,4519,4520,4521,4522,4523,4524,4525,4526,4527,4528,4529,4530,4531,4532,4533,4534,4535,4536,4537,4538,4539,4540,4541,4542,4543,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,4562,4563,4564,4565,4566,4567,4568,4569,4570,4571,4572,4573,4574,4575,4576,4577,4578,4579,4580,4581,4582,4583,4584,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4595,4596,4597,4598,4599,4600,4601,4602,4603,4604,4605,4606,4607,4608,4609,4610,4611,4612,4613,4614,4615,4616,4617,4618,4619,4620,4621,4622,4623,4624,4625,4626,4627,4628,4629,4630,4631,4632,4633,4634,4635,4636,4637,4638,4639,4640,4641,4642,4643,4644,4645,4646,4647,4648,4649,4650,4651,4652,4653,4654,4655,4656,4657,4658,4659,4660,4661,4662,4663,4664,4665,4666,4667,4668,4669,4670,4671,4672,4673,4674,4675,4676,4677,4678,4679,4680,4682,4683,4684,4685,4688,4689,4690,4691,4692,4693,4694,4696,4698,4699,4700,4701,4704,4705,4706,4707,4708,4709,4710,4711,4712,4713,4714,4715,4716,4717,4718,4719,4720,4721,4722,4723,4724,4725,4726,4727,4728,4729,4730,4731,4732,4733,4734,4735,4736,4737,4738,4739,4740,4741,4742,4743,4744,4746,4747,4748,4749,4752,4753,4754,4755,4756,4757,4758,4759,4760,4761,4762,4763,4764,4765,4766,4767,4768,4769,4770,4771,4772,4773,4774,4775,4776,4777,4778,4779,4780,4781,4782,4783,4784,4786,4787,4788,4789,4792,4793,4794,4795,4796,4797,4798,4800,4802,4803,4804,4805,4808,4809,4810,4811,4812,4813,4814,4815,4816,4817,4818,4819,4820,4821,4822,4824,4825,4826,4827,4828,4829,4830,4831,4832,4833,4834,4835,4836,4837,4838,4839,4840,4841,4842,4843,4844,4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,4861,4862,4863,4864,4865,4866,4867,4868,4869,4870,4871,4872,4873,4874,4875,4876,4877,4878,4879,4880,4882,4883,4884,4885,4888,4889,4890,4891,4892,4893,4894,4895,4896,4897,4898,4899,4900,4901,4902,4903,4904,4905,4906,4907,4908,4909,4910,4911,4912,4913,4914,4915,4916,4917,4918,4919,4920,4921,4922,4923,4924,4925,4926,4927,4928,4929,4930,4931,4932,4933,4934,4935,4936,4937,4938,4939,4940,4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,4992,4993,4994,4995,4996,4997,4998,4999,5e3,5001,5002,5003,5004,5005,5006,5007,5024,5025,5026,5027,5028,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,5040,5041,5042,5043,5044,5045,5046,5047,5048,5049,5050,5051,5052,5053,5054,5055,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5072,5073,5074,5075,5076,5077,5078,5079,5080,5081,5082,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5112,5113,5114,5115,5116,5117,5121,5122,5123,5124,5125,5126,5127,5128,5129,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,5150,5151,5152,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,5176,5177,5178,5179,5180,5181,5182,5183,5184,5185,5186,5187,5188,5189,5190,5191,5192,5193,5194,5195,5196,5197,5198,5199,5200,5201,5202,5203,5204,5205,5206,5207,5208,5209,5210,5211,5212,5213,5214,5215,5216,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,5237,5238,5239,5240,5241,5242,5243,5244,5245,5246,5247,5248,5249,5250,5251,5252,5253,5254,5255,5256,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,5382,5383,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,5413,5414,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5873,5874,5875,5876,5877,5878,5879,5880,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5902,5903,5904,5905,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5998,5999,6e3,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6103,6108,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6307,6308,6309,6310,6311,6312,6314,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,6340,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,6411,6412,6413,6414,6415,6416,6417,6418,6419,6420,6421,6422,6423,6424,6425,6426,6427,6428,6429,6430,6480,6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6498,6499,6500,6501,6502,6503,6504,6505,6506,6507,6508,6509,6512,6513,6514,6515,6516,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,6570,6571,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6656,6657,6658,6659,6660,6661,6662,6663,6664,6665,6666,6667,6668,6669,6670,6671,6672,6673,6674,6675,6676,6677,6678,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,6726,6727,6728,6729,6730,6731,6732,6733,6734,6735,6736,6737,6738,6739,6740,6823,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,6928,6929,6930,6931,6932,6933,6934,6935,6936,6937,6938,6939,6940,6941,6942,6943,6944,6945,6946,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6981,6982,6983,6984,6985,6986,6987,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,7071,7072,7086,7087,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7245,7246,7247,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7401,7402,7403,7404,7406,7407,7408,7409,7413,7414,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,7454,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,7475,7476,7477,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,7698,7699,7700,7701,7702,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,7751,7752,7753,7754,7755,7756,7757,7758,7759,7760,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7960,7961,7962,7963,7964,7965,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8e3,8001,8002,8003,8004,8005,8008,8009,8010,8011,8012,8013,8016,8017,8018,8019,8020,8021,8022,8023,8025,8027,8029,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8118,8119,8120,8121,8122,8123,8124,8126,8130,8131,8132,8134,8135,8136,8137,8138,8139,8140,8144,8145,8146,8147,8150,8151,8152,8153,8154,8155,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8178,8179,8180,8182,8183,8184,8185,8186,8187,8188,8305,8319,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8450,8455,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8469,8473,8474,8475,8476,8477,8484,8486,8488,8490,8491,8492,8493,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8508,8509,8510,8511,8517,8518,8519,8520,8521,8526,8579,8580,11264,11265,11266,11267,11268,11269,11270,11271,11272,11273,11274,11275,11276,11277,11278,11279,11280,11281,11282,11283,11284,11285,11286,11287,11288,11289,11290,11291,11292,11293,11294,11295,11296,11297,11298,11299,11300,11301,11302,11303,11304,11305,11306,11307,11308,11309,11310,11312,11313,11314,11315,11316,11317,11318,11319,11320,11321,11322,11323,11324,11325,11326,11327,11328,11329,11330,11331,11332,11333,11334,11335,11336,11337,11338,11339,11340,11341,11342,11343,11344,11345,11346,11347,11348,11349,11350,11351,11352,11353,11354,11355,11356,11357,11358,11360,11361,11362,11363,11364,11365,11366,11367,11368,11369,11370,11371,11372,11373,11374,11375,11376,11377,11378,11379,11380,11381,11382,11383,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11395,11396,11397,11398,11399,11400,11401,11402,11403,11404,11405,11406,11407,11408,11409,11410,11411,11412,11413,11414,11415,11416,11417,11418,11419,11420,11421,11422,11423,11424,11425,11426,11427,11428,11429,11430,11431,11432,11433,11434,11435,11436,11437,11438,11439,11440,11441,11442,11443,11444,11445,11446,11447,11448,11449,11450,11451,11452,11453,11454,11455,11456,11457,11458,11459,11460,11461,11462,11463,11464,11465,11466,11467,11468,11469,11470,11471,11472,11473,11474,11475,11476,11477,11478,11479,11480,11481,11482,11483,11484,11485,11486,11487,11488,11489,11490,11491,11492,11499,11500,11501,11502,11506,11507,11520,11521,11522,11523,11524,11525,11526,11527,11528,11529,11530,11531,11532,11533,11534,11535,11536,11537,11538,11539,11540,11541,11542,11543,11544,11545,11546,11547,11548,11549,11550,11551,11552,11553,11554,11555,11556,11557,11559,11565,11568,11569,11570,11571,11572,11573,11574,11575,11576,11577,11578,11579,11580,11581,11582,11583,11584,11585,11586,11587,11588,11589,11590,11591,11592,11593,11594,11595,11596,11597,11598,11599,11600,11601,11602,11603,11604,11605,11606,11607,11608,11609,11610,11611,11612,11613,11614,11615,11616,11617,11618,11619,11620,11621,11622,11623,11631,11648,11649,11650,11651,11652,11653,11654,11655,11656,11657,11658,11659,11660,11661,11662,11663,11664,11665,11666,11667,11668,11669,11670,11680,11681,11682,11683,11684,11685,11686,11688,11689,11690,11691,11692,11693,11694,11696,11697,11698,11699,11700,11701,11702,11704,11705,11706,11707,11708,11709,11710,11712,11713,11714,11715,11716,11717,11718,11720,11721,11722,11723,11724,11725,11726,11728,11729,11730,11731,11732,11733,11734,11736,11737,11738,11739,11740,11741,11742,11823,12293,12294,12337,12338,12339,12340,12341,12347,12348,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12436,12437,12438,12445,12446,12447,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,12535,12536,12537,12538,12540,12541,12542,12543,12549,12550,12551,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,12579,12580,12581,12582,12583,12584,12585,12586,12587,12588,12589,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,12704,12705,12706,12707,12708,12709,12710,12711,12712,12713,12714,12715,12716,12717,12718,12719,12720,12721,12722,12723,12724,12725,12726,12727,12728,12729,12730,12784,12785,12786,12787,12788,12789,12790,12791,12792,12793,12794,12795,12796,12797,12798,12799,13312,19893,19968,40917,40960,40961,40962,40963,40964,40965,40966,40967,40968,40969,40970,40971,40972,40973,40974,40975,40976,40977,40978,40979,40980,40981,40982,40983,40984,40985,40986,40987,40988,40989,40990,40991,40992,40993,40994,40995,40996,40997,40998,40999,41e3,41001,41002,41003,41004,41005,41006,41007,41008,41009,41010,41011,41012,41013,41014,41015,41016,41017,41018,41019,41020,41021,41022,41023,41024,41025,41026,41027,41028,41029,41030,41031,41032,41033,41034,41035,41036,41037,41038,41039,41040,41041,41042,41043,41044,41045,41046,41047,41048,41049,41050,41051,41052,41053,41054,41055,41056,41057,41058,41059,41060,41061,41062,41063,41064,41065,41066,41067,41068,41069,41070,41071,41072,41073,41074,41075,41076,41077,41078,41079,41080,41081,41082,41083,41084,41085,41086,41087,41088,41089,41090,41091,41092,41093,41094,41095,41096,41097,41098,41099,41100,41101,41102,41103,41104,41105,41106,41107,41108,41109,41110,41111,41112,41113,41114,41115,41116,41117,41118,41119,41120,41121,41122,41123,41124,41125,41126,41127,41128,41129,41130,41131,41132,41133,41134,41135,41136,41137,41138,41139,41140,41141,41142,41143,41144,41145,41146,41147,41148,41149,41150,41151,41152,41153,41154,41155,41156,41157,41158,41159,41160,41161,41162,41163,41164,41165,41166,41167,41168,41169,41170,41171,41172,41173,41174,41175,41176,41177,41178,41179,41180,41181,41182,41183,41184,41185,41186,41187,41188,41189,41190,41191,41192,41193,41194,41195,41196,41197,41198,41199,41200,41201,41202,41203,41204,41205,41206,41207,41208,41209,41210,41211,41212,41213,41214,41215,41216,41217,41218,41219,41220,41221,41222,41223,41224,41225,41226,41227,41228,41229,41230,41231,41232,41233,41234,41235,41236,41237,41238,41239,41240,41241,41242,41243,41244,41245,41246,41247,41248,41249,41250,41251,41252,41253,41254,41255,41256,41257,41258,41259,41260,41261,41262,41263,41264,41265,41266,41267,41268,41269,41270,41271,41272,41273,41274,41275,41276,41277,41278,41279,41280,41281,41282,41283,41284,41285,41286,41287,41288,41289,41290,41291,41292,41293,41294,41295,41296,41297,41298,41299,41300,41301,41302,41303,41304,41305,41306,41307,41308,41309,41310,41311,41312,41313,41314,41315,41316,41317,41318,41319,41320,41321,41322,41323,41324,41325,41326,41327,41328,41329,41330,41331,41332,41333,41334,41335,41336,41337,41338,41339,41340,41341,41342,41343,41344,41345,41346,41347,41348,41349,41350,41351,41352,41353,41354,41355,41356,41357,41358,41359,41360,41361,41362,41363,41364,41365,41366,41367,41368,41369,41370,41371,41372,41373,41374,41375,41376,41377,41378,41379,41380,41381,41382,41383,41384,41385,41386,41387,41388,41389,41390,41391,41392,41393,41394,41395,41396,41397,41398,41399,41400,41401,41402,41403,41404,41405,41406,41407,41408,41409,41410,41411,41412,41413,41414,41415,41416,41417,41418,41419,41420,41421,41422,41423,41424,41425,41426,41427,41428,41429,41430,41431,41432,41433,41434,41435,41436,41437,41438,41439,41440,41441,41442,41443,41444,41445,41446,41447,41448,41449,41450,41451,41452,41453,41454,41455,41456,41457,41458,41459,41460,41461,41462,41463,41464,41465,41466,41467,41468,41469,41470,41471,41472,41473,41474,41475,41476,41477,41478,41479,41480,41481,41482,41483,41484,41485,41486,41487,41488,41489,41490,41491,41492,41493,41494,41495,41496,41497,41498,41499,41500,41501,41502,41503,41504,41505,41506,41507,41508,41509,41510,41511,41512,41513,41514,41515,41516,41517,41518,41519,41520,41521,41522,41523,41524,41525,41526,41527,41528,41529,41530,41531,41532,41533,41534,41535,41536,41537,41538,41539,41540,41541,41542,41543,41544,41545,41546,41547,41548,41549,41550,41551,41552,41553,41554,41555,41556,41557,41558,41559,41560,41561,41562,41563,41564,41565,41566,41567,41568,41569,41570,41571,41572,41573,41574,41575,41576,41577,41578,41579,41580,41581,41582,41583,41584,41585,41586,41587,41588,41589,41590,41591,41592,41593,41594,41595,41596,41597,41598,41599,41600,41601,41602,41603,41604,41605,41606,41607,41608,41609,41610,41611,41612,41613,41614,41615,41616,41617,41618,41619,41620,41621,41622,41623,41624,41625,41626,41627,41628,41629,41630,41631,41632,41633,41634,41635,41636,41637,41638,41639,41640,41641,41642,41643,41644,41645,41646,41647,41648,41649,41650,41651,41652,41653,41654,41655,41656,41657,41658,41659,41660,41661,41662,41663,41664,41665,41666,41667,41668,41669,41670,41671,41672,41673,41674,41675,41676,41677,41678,41679,41680,41681,41682,41683,41684,41685,41686,41687,41688,41689,41690,41691,41692,41693,41694,41695,41696,41697,41698,41699,41700,41701,41702,41703,41704,41705,41706,41707,41708,41709,41710,41711,41712,41713,41714,41715,41716,41717,41718,41719,41720,41721,41722,41723,41724,41725,41726,41727,41728,41729,41730,41731,41732,41733,41734,41735,41736,41737,41738,41739,41740,41741,41742,41743,41744,41745,41746,41747,41748,41749,41750,41751,41752,41753,41754,41755,41756,41757,41758,41759,41760,41761,41762,41763,41764,41765,41766,41767,41768,41769,41770,41771,41772,41773,41774,41775,41776,41777,41778,41779,41780,41781,41782,41783,41784,41785,41786,41787,41788,41789,41790,41791,41792,41793,41794,41795,41796,41797,41798,41799,41800,41801,41802,41803,41804,41805,41806,41807,41808,41809,41810,41811,41812,41813,41814,41815,41816,41817,41818,41819,41820,41821,41822,41823,41824,41825,41826,41827,41828,41829,41830,41831,41832,41833,41834,41835,41836,41837,41838,41839,41840,41841,41842,41843,41844,41845,41846,41847,41848,41849,41850,41851,41852,41853,41854,41855,41856,41857,41858,41859,41860,41861,41862,41863,41864,41865,41866,41867,41868,41869,41870,41871,41872,41873,41874,41875,41876,41877,41878,41879,41880,41881,41882,41883,41884,41885,41886,41887,41888,41889,41890,41891,41892,41893,41894,41895,41896,41897,41898,41899,41900,41901,41902,41903,41904,41905,41906,41907,41908,41909,41910,41911,41912,41913,41914,41915,41916,41917,41918,41919,41920,41921,41922,41923,41924,41925,41926,41927,41928,41929,41930,41931,41932,41933,41934,41935,41936,41937,41938,41939,41940,41941,41942,41943,41944,41945,41946,41947,41948,41949,41950,41951,41952,41953,41954,41955,41956,41957,41958,41959,41960,41961,41962,41963,41964,41965,41966,41967,41968,41969,41970,41971,41972,41973,41974,41975,41976,41977,41978,41979,41980,41981,41982,41983,41984,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,41997,41998,41999,42e3,42001,42002,42003,42004,42005,42006,42007,42008,42009,42010,42011,42012,42013,42014,42015,42016,42017,42018,42019,42020,42021,42022,42023,42024,42025,42026,42027,42028,42029,42030,42031,42032,42033,42034,42035,42036,42037,42038,42039,42040,42041,42042,42043,42044,42045,42046,42047,42048,42049,42050,42051,42052,42053,42054,42055,42056,42057,42058,42059,42060,42061,42062,42063,42064,42065,42066,42067,42068,42069,42070,42071,42072,42073,42074,42075,42076,42077,42078,42079,42080,42081,42082,42083,42084,42085,42086,42087,42088,42089,42090,42091,42092,42093,42094,42095,42096,42097,42098,42099,42100,42101,42102,42103,42104,42105,42106,42107,42108,42109,42110,42111,42112,42113,42114,42115,42116,42117,42118,42119,42120,42121,42122,42123,42124,42192,42193,42194,42195,42196,42197,42198,42199,42200,42201,42202,42203,42204,42205,42206,42207,42208,42209,42210,42211,42212,42213,42214,42215,42216,42217,42218,42219,42220,42221,42222,42223,42224,42225,42226,42227,42228,42229,42230,42231,42232,42233,42234,42235,42236,42237,42240,42241,42242,42243,42244,42245,42246,42247,42248,42249,42250,42251,42252,42253,42254,42255,42256,42257,42258,42259,42260,42261,42262,42263,42264,42265,42266,42267,42268,42269,42270,42271,42272,42273,42274,42275,42276,42277,42278,42279,42280,42281,42282,42283,42284,42285,42286,42287,42288,42289,42290,42291,42292,42293,42294,42295,42296,42297,42298,42299,42300,42301,42302,42303,42304,42305,42306,42307,42308,42309,42310,42311,42312,42313,42314,42315,42316,42317,42318,42319,42320,42321,42322,42323,42324,42325,42326,42327,42328,42329,42330,42331,42332,42333,42334,42335,42336,42337,42338,42339,42340,42341,42342,42343,42344,42345,42346,42347,42348,42349,42350,42351,42352,42353,42354,42355,42356,42357,42358,42359,42360,42361,42362,42363,42364,42365,42366,42367,42368,42369,42370,42371,42372,42373,42374,42375,42376,42377,42378,42379,42380,42381,42382,42383,42384,42385,42386,42387,42388,42389,42390,42391,42392,42393,42394,42395,42396,42397,42398,42399,42400,42401,42402,42403,42404,42405,42406,42407,42408,42409,42410,42411,42412,42413,42414,42415,42416,42417,42418,42419,42420,42421,42422,42423,42424,42425,42426,42427,42428,42429,42430,42431,42432,42433,42434,42435,42436,42437,42438,42439,42440,42441,42442,42443,42444,42445,42446,42447,42448,42449,42450,42451,42452,42453,42454,42455,42456,42457,42458,42459,42460,42461,42462,42463,42464,42465,42466,42467,42468,42469,42470,42471,42472,42473,42474,42475,42476,42477,42478,42479,42480,42481,42482,42483,42484,42485,42486,42487,42488,42489,42490,42491,42492,42493,42494,42495,42496,42497,42498,42499,42500,42501,42502,42503,42504,42505,42506,42507,42508,42512,42513,42514,42515,42516,42517,42518,42519,42520,42521,42522,42523,42524,42525,42526,42527,42538,42539,42560,42561,42562,42563,42564,42565,42566,42567,42568,42569,42570,42571,42572,42573,42574,42575,42576,42577,42578,42579,42580,42581,42582,42583,42584,42585,42586,42587,42588,42589,42590,42591,42592,42593,42594,42595,42596,42597,42598,42599,42600,42601,42602,42603,42604,42605,42606,42623,42624,42625,42626,42627,42628,42629,42630,42631,42632,42633,42634,42635,42636,42637,42638,42639,42640,42641,42642,42643,42644,42645,42646,42647,42648,42649,42650,42651,42652,42653,42656,42657,42658,42659,42660,42661,42662,42663,42664,42665,42666,42667,42668,42669,42670,42671,42672,42673,42674,42675,42676,42677,42678,42679,42680,42681,42682,42683,42684,42685,42686,42687,42688,42689,42690,42691,42692,42693,42694,42695,42696,42697,42698,42699,42700,42701,42702,42703,42704,42705,42706,42707,42708,42709,42710,42711,42712,42713,42714,42715,42716,42717,42718,42719,42720,42721,42722,42723,42724,42725,42775,42776,42777,42778,42779,42780,42781,42782,42783,42786,42787,42788,42789,42790,42791,42792,42793,42794,42795,42796,42797,42798,42799,42800,42801,42802,42803,42804,42805,42806,42807,42808,42809,42810,42811,42812,42813,42814,42815,42816,42817,42818,42819,42820,42821,42822,42823,42824,42825,42826,42827,42828,42829,42830,42831,42832,42833,42834,42835,42836,42837,42838,42839,42840,42841,42842,42843,42844,42845,42846,42847,42848,42849,42850,42851,42852,42853,42854,42855,42856,42857,42858,42859,42860,42861,42862,42863,42864,42865,42866,42867,42868,42869,42870,42871,42872,42873,42874,42875,42876,42877,42878,42879,42880,42881,42882,42883,42884,42885,42886,42887,42888,42891,42892,42893,42894,42895,42896,42897,42898,42899,42900,42901,42902,42903,42904,42905,42906,42907,42908,42909,42910,42911,42912,42913,42914,42915,42916,42917,42918,42919,42920,42921,42922,42923,42924,42925,42928,42929,42930,42931,42932,42933,42934,42935,42999,43e3,43001,43002,43003,43004,43005,43006,43007,43008,43009,43011,43012,43013,43015,43016,43017,43018,43020,43021,43022,43023,43024,43025,43026,43027,43028,43029,43030,43031,43032,43033,43034,43035,43036,43037,43038,43039,43040,43041,43042,43072,43073,43074,43075,43076,43077,43078,43079,43080,43081,43082,43083,43084,43085,43086,43087,43088,43089,43090,43091,43092,43093,43094,43095,43096,43097,43098,43099,43100,43101,43102,43103,43104,43105,43106,43107,43108,43109,43110,43111,43112,43113,43114,43115,43116,43117,43118,43119,43120,43121,43122,43123,43138,43139,43140,43141,43142,43143,43144,43145,43146,43147,43148,43149,43150,43151,43152,43153,43154,43155,43156,43157,43158,43159,43160,43161,43162,43163,43164,43165,43166,43167,43168,43169,43170,43171,43172,43173,43174,43175,43176,43177,43178,43179,43180,43181,43182,43183,43184,43185,43186,43187,43250,43251,43252,43253,43254,43255,43259,43261,43274,43275,43276,43277,43278,43279,43280,43281,43282,43283,43284,43285,43286,43287,43288,43289,43290,43291,43292,43293,43294,43295,43296,43297,43298,43299,43300,43301,43312,43313,43314,43315,43316,43317,43318,43319,43320,43321,43322,43323,43324,43325,43326,43327,43328,43329,43330,43331,43332,43333,43334,43360,43361,43362,43363,43364,43365,43366,43367,43368,43369,43370,43371,43372,43373,43374,43375,43376,43377,43378,43379,43380,43381,43382,43383,43384,43385,43386,43387,43388,43396,43397,43398,43399,43400,43401,43402,43403,43404,43405,43406,43407,43408,43409,43410,43411,43412,43413,43414,43415,43416,43417,43418,43419,43420,43421,43422,43423,43424,43425,43426,43427,43428,43429,43430,43431,43432,43433,43434,43435,43436,43437,43438,43439,43440,43441,43442,43471,43488,43489,43490,43491,43492,43494,43495,43496,43497,43498,43499,43500,43501,43502,43503,43514,43515,43516,43517,43518,43520,43521,43522,43523,43524,43525,43526,43527,43528,43529,43530,43531,43532,43533,43534,43535,43536,43537,43538,43539,43540,43541,43542,43543,43544,43545,43546,43547,43548,43549,43550,43551,43552,43553,43554,43555,43556,43557,43558,43559,43560,43584,43585,43586,43588,43589,43590,43591,43592,43593,43594,43595,43616,43617,43618,43619,43620,43621,43622,43623,43624,43625,43626,43627,43628,43629,43630,43631,43632,43633,43634,43635,43636,43637,43638,43642,43646,43647,43648,43649,43650,43651,43652,43653,43654,43655,43656,43657,43658,43659,43660,43661,43662,43663,43664,43665,43666,43667,43668,43669,43670,43671,43672,43673,43674,43675,43676,43677,43678,43679,43680,43681,43682,43683,43684,43685,43686,43687,43688,43689,43690,43691,43692,43693,43694,43695,43697,43701,43702,43705,43706,43707,43708,43709,43712,43714,43739,43740,43741,43744,43745,43746,43747,43748,43749,43750,43751,43752,43753,43754,43762,43763,43764,43777,43778,43779,43780,43781,43782,43785,43786,43787,43788,43789,43790,43793,43794,43795,43796,43797,43798,43808,43809,43810,43811,43812,43813,43814,43816,43817,43818,43819,43820,43821,43822,43824,43825,43826,43827,43828,43829,43830,43831,43832,43833,43834,43835,43836,43837,43838,43839,43840,43841,43842,43843,43844,43845,43846,43847,43848,43849,43850,43851,43852,43853,43854,43855,43856,43857,43858,43859,43860,43861,43862,43863,43864,43865,43866,43868,43869,43870,43871,43872,43873,43874,43875,43876,43877,43888,43889,43890,43891,43892,43893,43894,43895,43896,43897,43898,43899,43900,43901,43902,43903,43904,43905,43906,43907,43908,43909,43910,43911,43912,43913,43914,43915,43916,43917,43918,43919,43920,43921,43922,43923,43924,43925,43926,43927,43928,43929,43930,43931,43932,43933,43934,43935,43936,43937,43938,43939,43940,43941,43942,43943,43944,43945,43946,43947,43948,43949,43950,43951,43952,43953,43954,43955,43956,43957,43958,43959,43960,43961,43962,43963,43964,43965,43966,43967,43968,43969,43970,43971,43972,43973,43974,43975,43976,43977,43978,43979,43980,43981,43982,43983,43984,43985,43986,43987,43988,43989,43990,43991,43992,43993,43994,43995,43996,43997,43998,43999,44e3,44001,44002,44032,55203,55216,55217,55218,55219,55220,55221,55222,55223,55224,55225,55226,55227,55228,55229,55230,55231,55232,55233,55234,55235,55236,55237,55238,55243,55244,55245,55246,55247,55248,55249,55250,55251,55252,55253,55254,55255,55256,55257,55258,55259,55260,55261,55262,55263,55264,55265,55266,55267,55268,55269,55270,55271,55272,55273,55274,55275,55276,55277,55278,55279,55280,55281,55282,55283,55284,55285,55286,55287,55288,55289,55290,55291,63744,63745,63746,63747,63748,63749,63750,63751,63752,63753,63754,63755,63756,63757,63758,63759,63760,63761,63762,63763,63764,63765,63766,63767,63768,63769,63770,63771,63772,63773,63774,63775,63776,63777,63778,63779,63780,63781,63782,63783,63784,63785,63786,63787,63788,63789,63790,63791,63792,63793,63794,63795,63796,63797,63798,63799,63800,63801,63802,63803,63804,63805,63806,63807,63808,63809,63810,63811,63812,63813,63814,63815,63816,63817,63818,63819,63820,63821,63822,63823,63824,63825,63826,63827,63828,63829,63830,63831,63832,63833,63834,63835,63836,63837,63838,63839,63840,63841,63842,63843,63844,63845,63846,63847,63848,63849,63850,63851,63852,63853,63854,63855,63856,63857,63858,63859,63860,63861,63862,63863,63864,63865,63866,63867,63868,63869,63870,63871,63872,63873,63874,63875,63876,63877,63878,63879,63880,63881,63882,63883,63884,63885,63886,63887,63888,63889,63890,63891,63892,63893,63894,63895,63896,63897,63898,63899,63900,63901,63902,63903,63904,63905,63906,63907,63908,63909,63910,63911,63912,63913,63914,63915,63916,63917,63918,63919,63920,63921,63922,63923,63924,63925,63926,63927,63928,63929,63930,63931,63932,63933,63934,63935,63936,63937,63938,63939,63940,63941,63942,63943,63944,63945,63946,63947,63948,63949,63950,63951,63952,63953,63954,63955,63956,63957,63958,63959,63960,63961,63962,63963,63964,63965,63966,63967,63968,63969,63970,63971,63972,63973,63974,63975,63976,63977,63978,63979,63980,63981,63982,63983,63984,63985,63986,63987,63988,63989,63990,63991,63992,63993,63994,63995,63996,63997,63998,63999,64e3,64001,64002,64003,64004,64005,64006,64007,64008,64009,64010,64011,64012,64013,64014,64015,64016,64017,64018,64019,64020,64021,64022,64023,64024,64025,64026,64027,64028,64029,64030,64031,64032,64033,64034,64035,64036,64037,64038,64039,64040,64041,64042,64043,64044,64045,64046,64047,64048,64049,64050,64051,64052,64053,64054,64055,64056,64057,64058,64059,64060,64061,64062,64063,64064,64065,64066,64067,64068,64069,64070,64071,64072,64073,64074,64075,64076,64077,64078,64079,64080,64081,64082,64083,64084,64085,64086,64087,64088,64089,64090,64091,64092,64093,64094,64095,64096,64097,64098,64099,64100,64101,64102,64103,64104,64105,64106,64107,64108,64109,64112,64113,64114,64115,64116,64117,64118,64119,64120,64121,64122,64123,64124,64125,64126,64127,64128,64129,64130,64131,64132,64133,64134,64135,64136,64137,64138,64139,64140,64141,64142,64143,64144,64145,64146,64147,64148,64149,64150,64151,64152,64153,64154,64155,64156,64157,64158,64159,64160,64161,64162,64163,64164,64165,64166,64167,64168,64169,64170,64171,64172,64173,64174,64175,64176,64177,64178,64179,64180,64181,64182,64183,64184,64185,64186,64187,64188,64189,64190,64191,64192,64193,64194,64195,64196,64197,64198,64199,64200,64201,64202,64203,64204,64205,64206,64207,64208,64209,64210,64211,64212,64213,64214,64215,64216,64217,64256,64257,64258,64259,64260,64261,64262,64275,64276,64277,64278,64279,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,65382,65383,65384,65385,65386,65387,65388,65389,65390,65391,65392,65393,65394,65395,65396,65397,65398,65399,65400,65401,65402,65403,65404,65405,65406,65407,65408,65409,65410,65411,65412,65413,65414,65415,65416,65417,65418,65419,65420,65421,65422,65423,65424,65425,65426,65427,65428,65429,65430,65431,65432,65433,65434,65435,65436,65437,65438,65439,65440,65441,65442,65443,65444,65445,65446,65447,65448,65449,65450,65451,65452,65453,65454,65455,65456,65457,65458,65459,65460,65461,65462,65463,65464,65465,65466,65467,65468,65469,65470,65474,65475,65476,65477,65478,65479,65482,65483,65484,65485,65486,65487,65490,65491,65492,65493,65494,65495,65498,65499,65500,65536,65537,65538,65539,65540,65541,65542,65543,65544,65545,65546,65547,65549,65550,65551,65552,65553,65554,65555,65556,65557,65558,65559,65560,65561,65562,65563,65564,65565,65566,65567,65568,65569,65570,65571,65572,65573,65574,65576,65577,65578,65579,65580,65581,65582,65583,65584,65585,65586,65587,65588,65589,65590,65591,65592,65593,65594,65596,65597,65599,65600,65601,65602,65603,65604,65605,65606,65607,65608,65609,65610,65611,65612,65613,65616,65617,65618,65619,65620,65621,65622,65623,65624,65625,65626,65627,65628,65629,65664,65665,65666,65667,65668,65669,65670,65671,65672,65673,65674,65675,65676,65677,65678,65679,65680,65681,65682,65683,65684,65685,65686,65687,65688,65689,65690,65691,65692,65693,65694,65695,65696,65697,65698,65699,65700,65701,65702,65703,65704,65705,65706,65707,65708,65709,65710,65711,65712,65713,65714,65715,65716,65717,65718,65719,65720,65721,65722,65723,65724,65725,65726,65727,65728,65729,65730,65731,65732,65733,65734,65735,65736,65737,65738,65739,65740,65741,65742,65743,65744,65745,65746,65747,65748,65749,65750,65751,65752,65753,65754,65755,65756,65757,65758,65759,65760,65761,65762,65763,65764,65765,65766,65767,65768,65769,65770,65771,65772,65773,65774,65775,65776,65777,65778,65779,65780,65781,65782,65783,65784,65785,65786,66176,66177,66178,66179,66180,66181,66182,66183,66184,66185,66186,66187,66188,66189,66190,66191,66192,66193,66194,66195,66196,66197,66198,66199,66200,66201,66202,66203,66204,66208,66209,66210,66211,66212,66213,66214,66215,66216,66217,66218,66219,66220,66221,66222,66223,66224,66225,66226,66227,66228,66229,66230,66231,66232,66233,66234,66235,66236,66237,66238,66239,66240,66241,66242,66243,66244,66245,66246,66247,66248,66249,66250,66251,66252,66253,66254,66255,66256,66304,66305,66306,66307,66308,66309,66310,66311,66312,66313,66314,66315,66316,66317,66318,66319,66320,66321,66322,66323,66324,66325,66326,66327,66328,66329,66330,66331,66332,66333,66334,66335,66352,66353,66354,66355,66356,66357,66358,66359,66360,66361,66362,66363,66364,66365,66366,66367,66368,66370,66371,66372,66373,66374,66375,66376,66377,66384,66385,66386,66387,66388,66389,66390,66391,66392,66393,66394,66395,66396,66397,66398,66399,66400,66401,66402,66403,66404,66405,66406,66407,66408,66409,66410,66411,66412,66413,66414,66415,66416,66417,66418,66419,66420,66421,66432,66433,66434,66435,66436,66437,66438,66439,66440,66441,66442,66443,66444,66445,66446,66447,66448,66449,66450,66451,66452,66453,66454,66455,66456,66457,66458,66459,66460,66461,66464,66465,66466,66467,66468,66469,66470,66471,66472,66473,66474,66475,66476,66477,66478,66479,66480,66481,66482,66483,66484,66485,66486,66487,66488,66489,66490,66491,66492,66493,66494,66495,66496,66497,66498,66499,66504,66505,66506,66507,66508,66509,66510,66511,66560,66561,66562,66563,66564,66565,66566,66567,66568,66569,66570,66571,66572,66573,66574,66575,66576,66577,66578,66579,66580,66581,66582,66583,66584,66585,66586,66587,66588,66589,66590,66591,66592,66593,66594,66595,66596,66597,66598,66599,66600,66601,66602,66603,66604,66605,66606,66607,66608,66609,66610,66611,66612,66613,66614,66615,66616,66617,66618,66619,66620,66621,66622,66623,66624,66625,66626,66627,66628,66629,66630,66631,66632,66633,66634,66635,66636,66637,66638,66639,66640,66641,66642,66643,66644,66645,66646,66647,66648,66649,66650,66651,66652,66653,66654,66655,66656,66657,66658,66659,66660,66661,66662,66663,66664,66665,66666,66667,66668,66669,66670,66671,66672,66673,66674,66675,66676,66677,66678,66679,66680,66681,66682,66683,66684,66685,66686,66687,66688,66689,66690,66691,66692,66693,66694,66695,66696,66697,66698,66699,66700,66701,66702,66703,66704,66705,66706,66707,66708,66709,66710,66711,66712,66713,66714,66715,66716,66717,66816,66817,66818,66819,66820,66821,66822,66823,66824,66825,66826,66827,66828,66829,66830,66831,66832,66833,66834,66835,66836,66837,66838,66839,66840,66841,66842,66843,66844,66845,66846,66847,66848,66849,66850,66851,66852,66853,66854,66855,66864,66865,66866,66867,66868,66869,66870,66871,66872,66873,66874,66875,66876,66877,66878,66879,66880,66881,66882,66883,66884,66885,66886,66887,66888,66889,66890,66891,66892,66893,66894,66895,66896,66897,66898,66899,66900,66901,66902,66903,66904,66905,66906,66907,66908,66909,66910,66911,66912,66913,66914,66915,67072,67073,67074,67075,67076,67077,67078,67079,67080,67081,67082,67083,67084,67085,67086,67087,67088,67089,67090,67091,67092,67093,67094,67095,67096,67097,67098,67099,67100,67101,67102,67103,67104,67105,67106,67107,67108,67109,67110,67111,67112,67113,67114,67115,67116,67117,67118,67119,67120,67121,67122,67123,67124,67125,67126,67127,67128,67129,67130,67131,67132,67133,67134,67135,67136,67137,67138,67139,67140,67141,67142,67143,67144,67145,67146,67147,67148,67149,67150,67151,67152,67153,67154,67155,67156,67157,67158,67159,67160,67161,67162,67163,67164,67165,67166,67167,67168,67169,67170,67171,67172,67173,67174,67175,67176,67177,67178,67179,67180,67181,67182,67183,67184,67185,67186,67187,67188,67189,67190,67191,67192,67193,67194,67195,67196,67197,67198,67199,67200,67201,67202,67203,67204,67205,67206,67207,67208,67209,67210,67211,67212,67213,67214,67215,67216,67217,67218,67219,67220,67221,67222,67223,67224,67225,67226,67227,67228,67229,67230,67231,67232,67233,67234,67235,67236,67237,67238,67239,67240,67241,67242,67243,67244,67245,67246,67247,67248,67249,67250,67251,67252,67253,67254,67255,67256,67257,67258,67259,67260,67261,67262,67263,67264,67265,67266,67267,67268,67269,67270,67271,67272,67273,67274,67275,67276,67277,67278,67279,67280,67281,67282,67283,67284,67285,67286,67287,67288,67289,67290,67291,67292,67293,67294,67295,67296,67297,67298,67299,67300,67301,67302,67303,67304,67305,67306,67307,67308,67309,67310,67311,67312,67313,67314,67315,67316,67317,67318,67319,67320,67321,67322,67323,67324,67325,67326,67327,67328,67329,67330,67331,67332,67333,67334,67335,67336,67337,67338,67339,67340,67341,67342,67343,67344,67345,67346,67347,67348,67349,67350,67351,67352,67353,67354,67355,67356,67357,67358,67359,67360,67361,67362,67363,67364,67365,67366,67367,67368,67369,67370,67371,67372,67373,67374,67375,67376,67377,67378,67379,67380,67381,67382,67392,67393,67394,67395,67396,67397,67398,67399,67400,67401,67402,67403,67404,67405,67406,67407,67408,67409,67410,67411,67412,67413,67424,67425,67426,67427,67428,67429,67430,67431,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67680,67681,67682,67683,67684,67685,67686,67687,67688,67689,67690,67691,67692,67693,67694,67695,67696,67697,67698,67699,67700,67701,67702,67712,67713,67714,67715,67716,67717,67718,67719,67720,67721,67722,67723,67724,67725,67726,67727,67728,67729,67730,67731,67732,67733,67734,67735,67736,67737,67738,67739,67740,67741,67742,67808,67809,67810,67811,67812,67813,67814,67815,67816,67817,67818,67819,67820,67821,67822,67823,67824,67825,67826,67828,67829,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68224,68225,68226,68227,68228,68229,68230,68231,68232,68233,68234,68235,68236,68237,68238,68239,68240,68241,68242,68243,68244,68245,68246,68247,68248,68249,68250,68251,68252,68288,68289,68290,68291,68292,68293,68294,68295,68297,68298,68299,68300,68301,68302,68303,68304,68305,68306,68307,68308,68309,68310,68311,68312,68313,68314,68315,68316,68317,68318,68319,68320,68321,68322,68323,68324,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68480,68481,68482,68483,68484,68485,68486,68487,68488,68489,68490,68491,68492,68493,68494,68495,68496,68497,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,68736,68737,68738,68739,68740,68741,68742,68743,68744,68745,68746,68747,68748,68749,68750,68751,68752,68753,68754,68755,68756,68757,68758,68759,68760,68761,68762,68763,68764,68765,68766,68767,68768,68769,68770,68771,68772,68773,68774,68775,68776,68777,68778,68779,68780,68781,68782,68783,68784,68785,68786,68800,68801,68802,68803,68804,68805,68806,68807,68808,68809,68810,68811,68812,68813,68814,68815,68816,68817,68818,68819,68820,68821,68822,68823,68824,68825,68826,68827,68828,68829,68830,68831,68832,68833,68834,68835,68836,68837,68838,68839,68840,68841,68842,68843,68844,68845,68846,68847,68848,68849,68850,69635,69636,69637,69638,69639,69640,69641,69642,69643,69644,69645,69646,69647,69648,69649,69650,69651,69652,69653,69654,69655,69656,69657,69658,69659,69660,69661,69662,69663,69664,69665,69666,69667,69668,69669,69670,69671,69672,69673,69674,69675,69676,69677,69678,69679,69680,69681,69682,69683,69684,69685,69686,69687,69763,69764,69765,69766,69767,69768,69769,69770,69771,69772,69773,69774,69775,69776,69777,69778,69779,69780,69781,69782,69783,69784,69785,69786,69787,69788,69789,69790,69791,69792,69793,69794,69795,69796,69797,69798,69799,69800,69801,69802,69803,69804,69805,69806,69807,69840,69841,69842,69843,69844,69845,69846,69847,69848,69849,69850,69851,69852,69853,69854,69855,69856,69857,69858,69859,69860,69861,69862,69863,69864,69891,69892,69893,69894,69895,69896,69897,69898,69899,69900,69901,69902,69903,69904,69905,69906,69907,69908,69909,69910,69911,69912,69913,69914,69915,69916,69917,69918,69919,69920,69921,69922,69923,69924,69925,69926,69968,69969,69970,69971,69972,69973,69974,69975,69976,69977,69978,69979,69980,69981,69982,69983,69984,69985,69986,69987,69988,69989,69990,69991,69992,69993,69994,69995,69996,69997,69998,69999,7e4,70001,70002,70006,70019,70020,70021,70022,70023,70024,70025,70026,70027,70028,70029,70030,70031,70032,70033,70034,70035,70036,70037,70038,70039,70040,70041,70042,70043,70044,70045,70046,70047,70048,70049,70050,70051,70052,70053,70054,70055,70056,70057,70058,70059,70060,70061,70062,70063,70064,70065,70066,70081,70082,70083,70084,70106,70108,70144,70145,70146,70147,70148,70149,70150,70151,70152,70153,70154,70155,70156,70157,70158,70159,70160,70161,70163,70164,70165,70166,70167,70168,70169,70170,70171,70172,70173,70174,70175,70176,70177,70178,70179,70180,70181,70182,70183,70184,70185,70186,70187,70272,70273,70274,70275,70276,70277,70278,70280,70282,70283,70284,70285,70287,70288,70289,70290,70291,70292,70293,70294,70295,70296,70297,70298,70299,70300,70301,70303,70304,70305,70306,70307,70308,70309,70310,70311,70312,70320,70321,70322,70323,70324,70325,70326,70327,70328,70329,70330,70331,70332,70333,70334,70335,70336,70337,70338,70339,70340,70341,70342,70343,70344,70345,70346,70347,70348,70349,70350,70351,70352,70353,70354,70355,70356,70357,70358,70359,70360,70361,70362,70363,70364,70365,70366,70405,70406,70407,70408,70409,70410,70411,70412,70415,70416,70419,70420,70421,70422,70423,70424,70425,70426,70427,70428,70429,70430,70431,70432,70433,70434,70435,70436,70437,70438,70439,70440,70442,70443,70444,70445,70446,70447,70448,70450,70451,70453,70454,70455,70456,70457,70461,70480,70493,70494,70495,70496,70497,70784,70785,70786,70787,70788,70789,70790,70791,70792,70793,70794,70795,70796,70797,70798,70799,70800,70801,70802,70803,70804,70805,70806,70807,70808,70809,70810,70811,70812,70813,70814,70815,70816,70817,70818,70819,70820,70821,70822,70823,70824,70825,70826,70827,70828,70829,70830,70831,70852,70853,70855,71040,71041,71042,71043,71044,71045,71046,71047,71048,71049,71050,71051,71052,71053,71054,71055,71056,71057,71058,71059,71060,71061,71062,71063,71064,71065,71066,71067,71068,71069,71070,71071,71072,71073,71074,71075,71076,71077,71078,71079,71080,71081,71082,71083,71084,71085,71086,71128,71129,71130,71131,71168,71169,71170,71171,71172,71173,71174,71175,71176,71177,71178,71179,71180,71181,71182,71183,71184,71185,71186,71187,71188,71189,71190,71191,71192,71193,71194,71195,71196,71197,71198,71199,71200,71201,71202,71203,71204,71205,71206,71207,71208,71209,71210,71211,71212,71213,71214,71215,71236,71296,71297,71298,71299,71300,71301,71302,71303,71304,71305,71306,71307,71308,71309,71310,71311,71312,71313,71314,71315,71316,71317,71318,71319,71320,71321,71322,71323,71324,71325,71326,71327,71328,71329,71330,71331,71332,71333,71334,71335,71336,71337,71338,71424,71425,71426,71427,71428,71429,71430,71431,71432,71433,71434,71435,71436,71437,71438,71439,71440,71441,71442,71443,71444,71445,71446,71447,71448,71449,71840,71841,71842,71843,71844,71845,71846,71847,71848,71849,71850,71851,71852,71853,71854,71855,71856,71857,71858,71859,71860,71861,71862,71863,71864,71865,71866,71867,71868,71869,71870,71871,71872,71873,71874,71875,71876,71877,71878,71879,71880,71881,71882,71883,71884,71885,71886,71887,71888,71889,71890,71891,71892,71893,71894,71895,71896,71897,71898,71899,71900,71901,71902,71903,71935,72384,72385,72386,72387,72388,72389,72390,72391,72392,72393,72394,72395,72396,72397,72398,72399,72400,72401,72402,72403,72404,72405,72406,72407,72408,72409,72410,72411,72412,72413,72414,72415,72416,72417,72418,72419,72420,72421,72422,72423,72424,72425,72426,72427,72428,72429,72430,72431,72432,72433,72434,72435,72436,72437,72438,72439,72440,73728,73729,73730,73731,73732,73733,73734,73735,73736,73737,73738,73739,73740,73741,73742,73743,73744,73745,73746,73747,73748,73749,73750,73751,73752,73753,73754,73755,73756,73757,73758,73759,73760,73761,73762,73763,73764,73765,73766,73767,73768,73769,73770,73771,73772,73773,73774,73775,73776,73777,73778,73779,73780,73781,73782,73783,73784,73785,73786,73787,73788,73789,73790,73791,73792,73793,73794,73795,73796,73797,73798,73799,73800,73801,73802,73803,73804,73805,73806,73807,73808,73809,73810,73811,73812,73813,73814,73815,73816,73817,73818,73819,73820,73821,73822,73823,73824,73825,73826,73827,73828,73829,73830,73831,73832,73833,73834,73835,73836,73837,73838,73839,73840,73841,73842,73843,73844,73845,73846,73847,73848,73849,73850,73851,73852,73853,73854,73855,73856,73857,73858,73859,73860,73861,73862,73863,73864,73865,73866,73867,73868,73869,73870,73871,73872,73873,73874,73875,73876,73877,73878,73879,73880,73881,73882,73883,73884,73885,73886,73887,73888,73889,73890,73891,73892,73893,73894,73895,73896,73897,73898,73899,73900,73901,73902,73903,73904,73905,73906,73907,73908,73909,73910,73911,73912,73913,73914,73915,73916,73917,73918,73919,73920,73921,73922,73923,73924,73925,73926,73927,73928,73929,73930,73931,73932,73933,73934,73935,73936,73937,73938,73939,73940,73941,73942,73943,73944,73945,73946,73947,73948,73949,73950,73951,73952,73953,73954,73955,73956,73957,73958,73959,73960,73961,73962,73963,73964,73965,73966,73967,73968,73969,73970,73971,73972,73973,73974,73975,73976,73977,73978,73979,73980,73981,73982,73983,73984,73985,73986,73987,73988,73989,73990,73991,73992,73993,73994,73995,73996,73997,73998,73999,74e3,74001,74002,74003,74004,74005,74006,74007,74008,74009,74010,74011,74012,74013,74014,74015,74016,74017,74018,74019,74020,74021,74022,74023,74024,74025,74026,74027,74028,74029,74030,74031,74032,74033,74034,74035,74036,74037,74038,74039,74040,74041,74042,74043,74044,74045,74046,74047,74048,74049,74050,74051,74052,74053,74054,74055,74056,74057,74058,74059,74060,74061,74062,74063,74064,74065,74066,74067,74068,74069,74070,74071,74072,74073,74074,74075,74076,74077,74078,74079,74080,74081,74082,74083,74084,74085,74086,74087,74088,74089,74090,74091,74092,74093,74094,74095,74096,74097,74098,74099,74100,74101,74102,74103,74104,74105,74106,74107,74108,74109,74110,74111,74112,74113,74114,74115,74116,74117,74118,74119,74120,74121,74122,74123,74124,74125,74126,74127,74128,74129,74130,74131,74132,74133,74134,74135,74136,74137,74138,74139,74140,74141,74142,74143,74144,74145,74146,74147,74148,74149,74150,74151,74152,74153,74154,74155,74156,74157,74158,74159,74160,74161,74162,74163,74164,74165,74166,74167,74168,74169,74170,74171,74172,74173,74174,74175,74176,74177,74178,74179,74180,74181,74182,74183,74184,74185,74186,74187,74188,74189,74190,74191,74192,74193,74194,74195,74196,74197,74198,74199,74200,74201,74202,74203,74204,74205,74206,74207,74208,74209,74210,74211,74212,74213,74214,74215,74216,74217,74218,74219,74220,74221,74222,74223,74224,74225,74226,74227,74228,74229,74230,74231,74232,74233,74234,74235,74236,74237,74238,74239,74240,74241,74242,74243,74244,74245,74246,74247,74248,74249,74250,74251,74252,74253,74254,74255,74256,74257,74258,74259,74260,74261,74262,74263,74264,74265,74266,74267,74268,74269,74270,74271,74272,74273,74274,74275,74276,74277,74278,74279,74280,74281,74282,74283,74284,74285,74286,74287,74288,74289,74290,74291,74292,74293,74294,74295,74296,74297,74298,74299,74300,74301,74302,74303,74304,74305,74306,74307,74308,74309,74310,74311,74312,74313,74314,74315,74316,74317,74318,74319,74320,74321,74322,74323,74324,74325,74326,74327,74328,74329,74330,74331,74332,74333,74334,74335,74336,74337,74338,74339,74340,74341,74342,74343,74344,74345,74346,74347,74348,74349,74350,74351,74352,74353,74354,74355,74356,74357,74358,74359,74360,74361,74362,74363,74364,74365,74366,74367,74368,74369,74370,74371,74372,74373,74374,74375,74376,74377,74378,74379,74380,74381,74382,74383,74384,74385,74386,74387,74388,74389,74390,74391,74392,74393,74394,74395,74396,74397,74398,74399,74400,74401,74402,74403,74404,74405,74406,74407,74408,74409,74410,74411,74412,74413,74414,74415,74416,74417,74418,74419,74420,74421,74422,74423,74424,74425,74426,74427,74428,74429,74430,74431,74432,74433,74434,74435,74436,74437,74438,74439,74440,74441,74442,74443,74444,74445,74446,74447,74448,74449,74450,74451,74452,74453,74454,74455,74456,74457,74458,74459,74460,74461,74462,74463,74464,74465,74466,74467,74468,74469,74470,74471,74472,74473,74474,74475,74476,74477,74478,74479,74480,74481,74482,74483,74484,74485,74486,74487,74488,74489,74490,74491,74492,74493,74494,74495,74496,74497,74498,74499,74500,74501,74502,74503,74504,74505,74506,74507,74508,74509,74510,74511,74512,74513,74514,74515,74516,74517,74518,74519,74520,74521,74522,74523,74524,74525,74526,74527,74528,74529,74530,74531,74532,74533,74534,74535,74536,74537,74538,74539,74540,74541,74542,74543,74544,74545,74546,74547,74548,74549,74550,74551,74552,74553,74554,74555,74556,74557,74558,74559,74560,74561,74562,74563,74564,74565,74566,74567,74568,74569,74570,74571,74572,74573,74574,74575,74576,74577,74578,74579,74580,74581,74582,74583,74584,74585,74586,74587,74588,74589,74590,74591,74592,74593,74594,74595,74596,74597,74598,74599,74600,74601,74602,74603,74604,74605,74606,74607,74608,74609,74610,74611,74612,74613,74614,74615,74616,74617,74618,74619,74620,74621,74622,74623,74624,74625,74626,74627,74628,74629,74630,74631,74632,74633,74634,74635,74636,74637,74638,74639,74640,74641,74642,74643,74644,74645,74646,74647,74648,74649,74880,74881,74882,74883,74884,74885,74886,74887,74888,74889,74890,74891,74892,74893,74894,74895,74896,74897,74898,74899,74900,74901,74902,74903,74904,74905,74906,74907,74908,74909,74910,74911,74912,74913,74914,74915,74916,74917,74918,74919,74920,74921,74922,74923,74924,74925,74926,74927,74928,74929,74930,74931,74932,74933,74934,74935,74936,74937,74938,74939,74940,74941,74942,74943,74944,74945,74946,74947,74948,74949,74950,74951,74952,74953,74954,74955,74956,74957,74958,74959,74960,74961,74962,74963,74964,74965,74966,74967,74968,74969,74970,74971,74972,74973,74974,74975,74976,74977,74978,74979,74980,74981,74982,74983,74984,74985,74986,74987,74988,74989,74990,74991,74992,74993,74994,74995,74996,74997,74998,74999,75e3,75001,75002,75003,75004,75005,75006,75007,75008,75009,75010,75011,75012,75013,75014,75015,75016,75017,75018,75019,75020,75021,75022,75023,75024,75025,75026,75027,75028,75029,75030,75031,75032,75033,75034,75035,75036,75037,75038,75039,75040,75041,75042,75043,75044,75045,75046,75047,75048,75049,75050,75051,75052,75053,75054,75055,75056,75057,75058,75059,75060,75061,75062,75063,75064,75065,75066,75067,75068,75069,75070,75071,75072,75073,75074,75075,77824,77825,77826,77827,77828,77829,77830,77831,77832,77833,77834,77835,77836,77837,77838,77839,77840,77841,77842,77843,77844,77845,77846,77847,77848,77849,77850,77851,77852,77853,77854,77855,77856,77857,77858,77859,77860,77861,77862,77863,77864,77865,77866,77867,77868,77869,77870,77871,77872,77873,77874,77875,77876,77877,77878,77879,77880,77881,77882,77883,77884,77885,77886,77887,77888,77889,77890,77891,77892,77893,77894,77895,77896,77897,77898,77899,77900,77901,77902,77903,77904,77905,77906,77907,77908,77909,77910,77911,77912,77913,77914,77915,77916,77917,77918,77919,77920,77921,77922,77923,77924,77925,77926,77927,77928,77929,77930,77931,77932,77933,77934,77935,77936,77937,77938,77939,77940,77941,77942,77943,77944,77945,77946,77947,77948,77949,77950,77951,77952,77953,77954,77955,77956,77957,77958,77959,77960,77961,77962,77963,77964,77965,77966,77967,77968,77969,77970,77971,77972,77973,77974,77975,77976,77977,77978,77979,77980,77981,77982,77983,77984,77985,77986,77987,77988,77989,77990,77991,77992,77993,77994,77995,77996,77997,77998,77999,78e3,78001,78002,78003,78004,78005,78006,78007,78008,78009,78010,78011,78012,78013,78014,78015,78016,78017,78018,78019,78020,78021,78022,78023,78024,78025,78026,78027,78028,78029,78030,78031,78032,78033,78034,78035,78036,78037,78038,78039,78040,78041,78042,78043,78044,78045,78046,78047,78048,78049,78050,78051,78052,78053,78054,78055,78056,78057,78058,78059,78060,78061,78062,78063,78064,78065,78066,78067,78068,78069,78070,78071,78072,78073,78074,78075,78076,78077,78078,78079,78080,78081,78082,78083,78084,78085,78086,78087,78088,78089,78090,78091,78092,78093,78094,78095,78096,78097,78098,78099,78100,78101,78102,78103,78104,78105,78106,78107,78108,78109,78110,78111,78112,78113,78114,78115,78116,78117,78118,78119,78120,78121,78122,78123,78124,78125,78126,78127,78128,78129,78130,78131,78132,78133,78134,78135,78136,78137,78138,78139,78140,78141,78142,78143,78144,78145,78146,78147,78148,78149,78150,78151,78152,78153,78154,78155,78156,78157,78158,78159,78160,78161,78162,78163,78164,78165,78166,78167,78168,78169,78170,78171,78172,78173,78174,78175,78176,78177,78178,78179,78180,78181,78182,78183,78184,78185,78186,78187,78188,78189,78190,78191,78192,78193,78194,78195,78196,78197,78198,78199,78200,78201,78202,78203,78204,78205,78206,78207,78208,78209,78210,78211,78212,78213,78214,78215,78216,78217,78218,78219,78220,78221,78222,78223,78224,78225,78226,78227,78228,78229,78230,78231,78232,78233,78234,78235,78236,78237,78238,78239,78240,78241,78242,78243,78244,78245,78246,78247,78248,78249,78250,78251,78252,78253,78254,78255,78256,78257,78258,78259,78260,78261,78262,78263,78264,78265,78266,78267,78268,78269,78270,78271,78272,78273,78274,78275,78276,78277,78278,78279,78280,78281,78282,78283,78284,78285,78286,78287,78288,78289,78290,78291,78292,78293,78294,78295,78296,78297,78298,78299,78300,78301,78302,78303,78304,78305,78306,78307,78308,78309,78310,78311,78312,78313,78314,78315,78316,78317,78318,78319,78320,78321,78322,78323,78324,78325,78326,78327,78328,78329,78330,78331,78332,78333,78334,78335,78336,78337,78338,78339,78340,78341,78342,78343,78344,78345,78346,78347,78348,78349,78350,78351,78352,78353,78354,78355,78356,78357,78358,78359,78360,78361,78362,78363,78364,78365,78366,78367,78368,78369,78370,78371,78372,78373,78374,78375,78376,78377,78378,78379,78380,78381,78382,78383,78384,78385,78386,78387,78388,78389,78390,78391,78392,78393,78394,78395,78396,78397,78398,78399,78400,78401,78402,78403,78404,78405,78406,78407,78408,78409,78410,78411,78412,78413,78414,78415,78416,78417,78418,78419,78420,78421,78422,78423,78424,78425,78426,78427,78428,78429,78430,78431,78432,78433,78434,78435,78436,78437,78438,78439,78440,78441,78442,78443,78444,78445,78446,78447,78448,78449,78450,78451,78452,78453,78454,78455,78456,78457,78458,78459,78460,78461,78462,78463,78464,78465,78466,78467,78468,78469,78470,78471,78472,78473,78474,78475,78476,78477,78478,78479,78480,78481,78482,78483,78484,78485,78486,78487,78488,78489,78490,78491,78492,78493,78494,78495,78496,78497,78498,78499,78500,78501,78502,78503,78504,78505,78506,78507,78508,78509,78510,78511,78512,78513,78514,78515,78516,78517,78518,78519,78520,78521,78522,78523,78524,78525,78526,78527,78528,78529,78530,78531,78532,78533,78534,78535,78536,78537,78538,78539,78540,78541,78542,78543,78544,78545,78546,78547,78548,78549,78550,78551,78552,78553,78554,78555,78556,78557,78558,78559,78560,78561,78562,78563,78564,78565,78566,78567,78568,78569,78570,78571,78572,78573,78574,78575,78576,78577,78578,78579,78580,78581,78582,78583,78584,78585,78586,78587,78588,78589,78590,78591,78592,78593,78594,78595,78596,78597,78598,78599,78600,78601,78602,78603,78604,78605,78606,78607,78608,78609,78610,78611,78612,78613,78614,78615,78616,78617,78618,78619,78620,78621,78622,78623,78624,78625,78626,78627,78628,78629,78630,78631,78632,78633,78634,78635,78636,78637,78638,78639,78640,78641,78642,78643,78644,78645,78646,78647,78648,78649,78650,78651,78652,78653,78654,78655,78656,78657,78658,78659,78660,78661,78662,78663,78664,78665,78666,78667,78668,78669,78670,78671,78672,78673,78674,78675,78676,78677,78678,78679,78680,78681,78682,78683,78684,78685,78686,78687,78688,78689,78690,78691,78692,78693,78694,78695,78696,78697,78698,78699,78700,78701,78702,78703,78704,78705,78706,78707,78708,78709,78710,78711,78712,78713,78714,78715,78716,78717,78718,78719,78720,78721,78722,78723,78724,78725,78726,78727,78728,78729,78730,78731,78732,78733,78734,78735,78736,78737,78738,78739,78740,78741,78742,78743,78744,78745,78746,78747,78748,78749,78750,78751,78752,78753,78754,78755,78756,78757,78758,78759,78760,78761,78762,78763,78764,78765,78766,78767,78768,78769,78770,78771,78772,78773,78774,78775,78776,78777,78778,78779,78780,78781,78782,78783,78784,78785,78786,78787,78788,78789,78790,78791,78792,78793,78794,78795,78796,78797,78798,78799,78800,78801,78802,78803,78804,78805,78806,78807,78808,78809,78810,78811,78812,78813,78814,78815,78816,78817,78818,78819,78820,78821,78822,78823,78824,78825,78826,78827,78828,78829,78830,78831,78832,78833,78834,78835,78836,78837,78838,78839,78840,78841,78842,78843,78844,78845,78846,78847,78848,78849,78850,78851,78852,78853,78854,78855,78856,78857,78858,78859,78860,78861,78862,78863,78864,78865,78866,78867,78868,78869,78870,78871,78872,78873,78874,78875,78876,78877,78878,78879,78880,78881,78882,78883,78884,78885,78886,78887,78888,78889,78890,78891,78892,78893,78894,82944,82945,82946,82947,82948,82949,82950,82951,82952,82953,82954,82955,82956,82957,82958,82959,82960,82961,82962,82963,82964,82965,82966,82967,82968,82969,82970,82971,82972,82973,82974,82975,82976,82977,82978,82979,82980,82981,82982,82983,82984,82985,82986,82987,82988,82989,82990,82991,82992,82993,82994,82995,82996,82997,82998,82999,83e3,83001,83002,83003,83004,83005,83006,83007,83008,83009,83010,83011,83012,83013,83014,83015,83016,83017,83018,83019,83020,83021,83022,83023,83024,83025,83026,83027,83028,83029,83030,83031,83032,83033,83034,83035,83036,83037,83038,83039,83040,83041,83042,83043,83044,83045,83046,83047,83048,83049,83050,83051,83052,83053,83054,83055,83056,83057,83058,83059,83060,83061,83062,83063,83064,83065,83066,83067,83068,83069,83070,83071,83072,83073,83074,83075,83076,83077,83078,83079,83080,83081,83082,83083,83084,83085,83086,83087,83088,83089,83090,83091,83092,83093,83094,83095,83096,83097,83098,83099,83100,83101,83102,83103,83104,83105,83106,83107,83108,83109,83110,83111,83112,83113,83114,83115,83116,83117,83118,83119,83120,83121,83122,83123,83124,83125,83126,83127,83128,83129,83130,83131,83132,83133,83134,83135,83136,83137,83138,83139,83140,83141,83142,83143,83144,83145,83146,83147,83148,83149,83150,83151,83152,83153,83154,83155,83156,83157,83158,83159,83160,83161,83162,83163,83164,83165,83166,83167,83168,83169,83170,83171,83172,83173,83174,83175,83176,83177,83178,83179,83180,83181,83182,83183,83184,83185,83186,83187,83188,83189,83190,83191,83192,83193,83194,83195,83196,83197,83198,83199,83200,83201,83202,83203,83204,83205,83206,83207,83208,83209,83210,83211,83212,83213,83214,83215,83216,83217,83218,83219,83220,83221,83222,83223,83224,83225,83226,83227,83228,83229,83230,83231,83232,83233,83234,83235,83236,83237,83238,83239,83240,83241,83242,83243,83244,83245,83246,83247,83248,83249,83250,83251,83252,83253,83254,83255,83256,83257,83258,83259,83260,83261,83262,83263,83264,83265,83266,83267,83268,83269,83270,83271,83272,83273,83274,83275,83276,83277,83278,83279,83280,83281,83282,83283,83284,83285,83286,83287,83288,83289,83290,83291,83292,83293,83294,83295,83296,83297,83298,83299,83300,83301,83302,83303,83304,83305,83306,83307,83308,83309,83310,83311,83312,83313,83314,83315,83316,83317,83318,83319,83320,83321,83322,83323,83324,83325,83326,83327,83328,83329,83330,83331,83332,83333,83334,83335,83336,83337,83338,83339,83340,83341,83342,83343,83344,83345,83346,83347,83348,83349,83350,83351,83352,83353,83354,83355,83356,83357,83358,83359,83360,83361,83362,83363,83364,83365,83366,83367,83368,83369,83370,83371,83372,83373,83374,83375,83376,83377,83378,83379,83380,83381,83382,83383,83384,83385,83386,83387,83388,83389,83390,83391,83392,83393,83394,83395,83396,83397,83398,83399,83400,83401,83402,83403,83404,83405,83406,83407,83408,83409,83410,83411,83412,83413,83414,83415,83416,83417,83418,83419,83420,83421,83422,83423,83424,83425,83426,83427,83428,83429,83430,83431,83432,83433,83434,83435,83436,83437,83438,83439,83440,83441,83442,83443,83444,83445,83446,83447,83448,83449,83450,83451,83452,83453,83454,83455,83456,83457,83458,83459,83460,83461,83462,83463,83464,83465,83466,83467,83468,83469,83470,83471,83472,83473,83474,83475,83476,83477,83478,83479,83480,83481,83482,83483,83484,83485,83486,83487,83488,83489,83490,83491,83492,83493,83494,83495,83496,83497,83498,83499,83500,83501,83502,83503,83504,83505,83506,83507,83508,83509,83510,83511,83512,83513,83514,83515,83516,83517,83518,83519,83520,83521,83522,83523,83524,83525,83526,92160,92161,92162,92163,92164,92165,92166,92167,92168,92169,92170,92171,92172,92173,92174,92175,92176,92177,92178,92179,92180,92181,92182,92183,92184,92185,92186,92187,92188,92189,92190,92191,92192,92193,92194,92195,92196,92197,92198,92199,92200,92201,92202,92203,92204,92205,92206,92207,92208,92209,92210,92211,92212,92213,92214,92215,92216,92217,92218,92219,92220,92221,92222,92223,92224,92225,92226,92227,92228,92229,92230,92231,92232,92233,92234,92235,92236,92237,92238,92239,92240,92241,92242,92243,92244,92245,92246,92247,92248,92249,92250,92251,92252,92253,92254,92255,92256,92257,92258,92259,92260,92261,92262,92263,92264,92265,92266,92267,92268,92269,92270,92271,92272,92273,92274,92275,92276,92277,92278,92279,92280,92281,92282,92283,92284,92285,92286,92287,92288,92289,92290,92291,92292,92293,92294,92295,92296,92297,92298,92299,92300,92301,92302,92303,92304,92305,92306,92307,92308,92309,92310,92311,92312,92313,92314,92315,92316,92317,92318,92319,92320,92321,92322,92323,92324,92325,92326,92327,92328,92329,92330,92331,92332,92333,92334,92335,92336,92337,92338,92339,92340,92341,92342,92343,92344,92345,92346,92347,92348,92349,92350,92351,92352,92353,92354,92355,92356,92357,92358,92359,92360,92361,92362,92363,92364,92365,92366,92367,92368,92369,92370,92371,92372,92373,92374,92375,92376,92377,92378,92379,92380,92381,92382,92383,92384,92385,92386,92387,92388,92389,92390,92391,92392,92393,92394,92395,92396,92397,92398,92399,92400,92401,92402,92403,92404,92405,92406,92407,92408,92409,92410,92411,92412,92413,92414,92415,92416,92417,92418,92419,92420,92421,92422,92423,92424,92425,92426,92427,92428,92429,92430,92431,92432,92433,92434,92435,92436,92437,92438,92439,92440,92441,92442,92443,92444,92445,92446,92447,92448,92449,92450,92451,92452,92453,92454,92455,92456,92457,92458,92459,92460,92461,92462,92463,92464,92465,92466,92467,92468,92469,92470,92471,92472,92473,92474,92475,92476,92477,92478,92479,92480,92481,92482,92483,92484,92485,92486,92487,92488,92489,92490,92491,92492,92493,92494,92495,92496,92497,92498,92499,92500,92501,92502,92503,92504,92505,92506,92507,92508,92509,92510,92511,92512,92513,92514,92515,92516,92517,92518,92519,92520,92521,92522,92523,92524,92525,92526,92527,92528,92529,92530,92531,92532,92533,92534,92535,92536,92537,92538,92539,92540,92541,92542,92543,92544,92545,92546,92547,92548,92549,92550,92551,92552,92553,92554,92555,92556,92557,92558,92559,92560,92561,92562,92563,92564,92565,92566,92567,92568,92569,92570,92571,92572,92573,92574,92575,92576,92577,92578,92579,92580,92581,92582,92583,92584,92585,92586,92587,92588,92589,92590,92591,92592,92593,92594,92595,92596,92597,92598,92599,92600,92601,92602,92603,92604,92605,92606,92607,92608,92609,92610,92611,92612,92613,92614,92615,92616,92617,92618,92619,92620,92621,92622,92623,92624,92625,92626,92627,92628,92629,92630,92631,92632,92633,92634,92635,92636,92637,92638,92639,92640,92641,92642,92643,92644,92645,92646,92647,92648,92649,92650,92651,92652,92653,92654,92655,92656,92657,92658,92659,92660,92661,92662,92663,92664,92665,92666,92667,92668,92669,92670,92671,92672,92673,92674,92675,92676,92677,92678,92679,92680,92681,92682,92683,92684,92685,92686,92687,92688,92689,92690,92691,92692,92693,92694,92695,92696,92697,92698,92699,92700,92701,92702,92703,92704,92705,92706,92707,92708,92709,92710,92711,92712,92713,92714,92715,92716,92717,92718,92719,92720,92721,92722,92723,92724,92725,92726,92727,92728,92736,92737,92738,92739,92740,92741,92742,92743,92744,92745,92746,92747,92748,92749,92750,92751,92752,92753,92754,92755,92756,92757,92758,92759,92760,92761,92762,92763,92764,92765,92766,92880,92881,92882,92883,92884,92885,92886,92887,92888,92889,92890,92891,92892,92893,92894,92895,92896,92897,92898,92899,92900,92901,92902,92903,92904,92905,92906,92907,92908,92909,92928,92929,92930,92931,92932,92933,92934,92935,92936,92937,92938,92939,92940,92941,92942,92943,92944,92945,92946,92947,92948,92949,92950,92951,92952,92953,92954,92955,92956,92957,92958,92959,92960,92961,92962,92963,92964,92965,92966,92967,92968,92969,92970,92971,92972,92973,92974,92975,92992,92993,92994,92995,93027,93028,93029,93030,93031,93032,93033,93034,93035,93036,93037,93038,93039,93040,93041,93042,93043,93044,93045,93046,93047,93053,93054,93055,93056,93057,93058,93059,93060,93061,93062,93063,93064,93065,93066,93067,93068,93069,93070,93071,93952,93953,93954,93955,93956,93957,93958,93959,93960,93961,93962,93963,93964,93965,93966,93967,93968,93969,93970,93971,93972,93973,93974,93975,93976,93977,93978,93979,93980,93981,93982,93983,93984,93985,93986,93987,93988,93989,93990,93991,93992,93993,93994,93995,93996,93997,93998,93999,94e3,94001,94002,94003,94004,94005,94006,94007,94008,94009,94010,94011,94012,94013,94014,94015,94016,94017,94018,94019,94020,94032,94099,94100,94101,94102,94103,94104,94105,94106,94107,94108,94109,94110,94111,110592,110593,113664,113665,113666,113667,113668,113669,113670,113671,113672,113673,113674,113675,113676,113677,113678,113679,113680,113681,113682,113683,113684,113685,113686,113687,113688,113689,113690,113691,113692,113693,113694,113695,113696,113697,113698,113699,113700,113701,113702,113703,113704,113705,113706,113707,113708,113709,113710,113711,113712,113713,113714,113715,113716,113717,113718,113719,113720,113721,113722,113723,113724,113725,113726,113727,113728,113729,113730,113731,113732,113733,113734,113735,113736,113737,113738,113739,113740,113741,113742,113743,113744,113745,113746,113747,113748,113749,113750,113751,113752,113753,113754,113755,113756,113757,113758,113759,113760,113761,113762,113763,113764,113765,113766,113767,113768,113769,113770,113776,113777,113778,113779,113780,113781,113782,113783,113784,113785,113786,113787,113788,113792,113793,113794,113795,113796,113797,113798,113799,113800,113808,113809,113810,113811,113812,113813,113814,113815,113816,113817,119808,119809,119810,119811,119812,119813,119814,119815,119816,119817,119818,119819,119820,119821,119822,119823,119824,119825,119826,119827,119828,119829,119830,119831,119832,119833,119834,119835,119836,119837,119838,119839,119840,119841,119842,119843,119844,119845,119846,119847,119848,119849,119850,119851,119852,119853,119854,119855,119856,119857,119858,119859,119860,119861,119862,119863,119864,119865,119866,119867,119868,119869,119870,119871,119872,119873,119874,119875,119876,119877,119878,119879,119880,119881,119882,119883,119884,119885,119886,119887,119888,119889,119890,119891,119892,119894,119895,119896,119897,119898,119899,119900,119901,119902,119903,119904,119905,119906,119907,119908,119909,119910,119911,119912,119913,119914,119915,119916,119917,119918,119919,119920,119921,119922,119923,119924,119925,119926,119927,119928,119929,119930,119931,119932,119933,119934,119935,119936,119937,119938,119939,119940,119941,119942,119943,119944,119945,119946,119947,119948,119949,119950,119951,119952,119953,119954,119955,119956,119957,119958,119959,119960,119961,119962,119963,119964,119966,119967,119970,119973,119974,119977,119978,119979,119980,119982,119983,119984,119985,119986,119987,119988,119989,119990,119991,119992,119993,119995,119997,119998,119999,12e4,120001,120002,120003,120005,120006,120007,120008,120009,120010,120011,120012,120013,120014,120015,120016,120017,120018,120019,120020,120021,120022,120023,120024,120025,120026,120027,120028,120029,120030,120031,120032,120033,120034,120035,120036,120037,120038,120039,120040,120041,120042,120043,120044,120045,120046,120047,120048,120049,120050,120051,120052,120053,120054,120055,120056,120057,120058,120059,120060,120061,120062,120063,120064,120065,120066,120067,120068,120069,120071,120072,120073,120074,120077,120078,120079,120080,120081,120082,120083,120084,120086,120087,120088,120089,120090,120091,120092,120094,120095,120096,120097,120098,120099,120100,120101,120102,120103,120104,120105,120106,120107,120108,120109,120110,120111,120112,120113,120114,120115,120116,120117,120118,120119,120120,120121,120123,120124,120125,120126,120128,120129,120130,120131,120132,120134,120138,120139,120140,120141,120142,120143,120144,120146,120147,120148,120149,120150,120151,120152,120153,120154,120155,120156,120157,120158,120159,120160,120161,120162,120163,120164,120165,120166,120167,120168,120169,120170,120171,120172,120173,120174,120175,120176,120177,120178,120179,120180,120181,120182,120183,120184,120185,120186,120187,120188,120189,120190,120191,120192,120193,120194,120195,120196,120197,120198,120199,120200,120201,120202,120203,120204,120205,120206,120207,120208,120209,120210,120211,120212,120213,120214,120215,120216,120217,120218,120219,120220,120221,120222,120223,120224,120225,120226,120227,120228,120229,120230,120231,120232,120233,120234,120235,120236,120237,120238,120239,120240,120241,120242,120243,120244,120245,120246,120247,120248,120249,120250,120251,120252,120253,120254,120255,120256,120257,120258,120259,120260,120261,120262,120263,120264,120265,120266,120267,120268,120269,120270,120271,120272,120273,120274,120275,120276,120277,120278,120279,120280,120281,120282,120283,120284,120285,120286,120287,120288,120289,120290,120291,120292,120293,120294,120295,120296,120297,120298,120299,120300,120301,120302,120303,120304,120305,120306,120307,120308,120309,120310,120311,120312,120313,120314,120315,120316,120317,120318,120319,120320,120321,120322,120323,120324,120325,120326,120327,120328,120329,120330,120331,120332,120333,120334,120335,120336,120337,120338,120339,120340,120341,120342,120343,120344,120345,120346,120347,120348,120349,120350,120351,120352,120353,120354,120355,120356,120357,120358,120359,120360,120361,120362,120363,120364,120365,120366,120367,120368,120369,120370,120371,120372,120373,120374,120375,120376,120377,120378,120379,120380,120381,120382,120383,120384,120385,120386,120387,120388,120389,120390,120391,120392,120393,120394,120395,120396,120397,120398,120399,120400,120401,120402,120403,120404,120405,120406,120407,120408,120409,120410,120411,120412,120413,120414,120415,120416,120417,120418,120419,120420,120421,120422,120423,120424,120425,120426,120427,120428,120429,120430,120431,120432,120433,120434,120435,120436,120437,120438,120439,120440,120441,120442,120443,120444,120445,120446,120447,120448,120449,120450,120451,120452,120453,120454,120455,120456,120457,120458,120459,120460,120461,120462,120463,120464,120465,120466,120467,120468,120469,120470,120471,120472,120473,120474,120475,120476,120477,120478,120479,120480,120481,120482,120483,120484,120485,120488,120489,120490,120491,120492,120493,120494,120495,120496,120497,120498,120499,120500,120501,120502,120503,120504,120505,120506,120507,120508,120509,120510,120511,120512,120514,120515,120516,120517,120518,120519,120520,120521,120522,120523,120524,120525,120526,120527,120528,120529,120530,120531,120532,120533,120534,120535,120536,120537,120538,120540,120541,120542,120543,120544,120545,120546,120547,120548,120549,120550,120551,120552,120553,120554,120555,120556,120557,120558,120559,120560,120561,120562,120563,120564,120565,120566,120567,120568,120569,120570,120572,120573,120574,120575,120576,120577,120578,120579,120580,120581,120582,120583,120584,120585,120586,120587,120588,120589,120590,120591,120592,120593,120594,120595,120596,120598,120599,120600,120601,120602,120603,120604,120605,120606,120607,120608,120609,120610,120611,120612,120613,120614,120615,120616,120617,120618,120619,120620,120621,120622,120623,120624,120625,120626,120627,120628,120630,120631,120632,120633,120634,120635,120636,120637,120638,120639,120640,120641,120642,120643,120644,120645,120646,120647,120648,120649,120650,120651,120652,120653,120654,120656,120657,120658,120659,120660,120661,120662,120663,120664,120665,120666,120667,120668,120669,120670,120671,120672,120673,120674,120675,120676,120677,120678,120679,120680,120681,120682,120683,120684,120685,120686,120688,120689,120690,120691,120692,120693,120694,120695,120696,120697,120698,120699,120700,120701,120702,120703,120704,120705,120706,120707,120708,120709,120710,120711,120712,120714,120715,120716,120717,120718,120719,120720,120721,120722,120723,120724,120725,120726,120727,120728,120729,120730,120731,120732,120733,120734,120735,120736,120737,120738,120739,120740,120741,120742,120743,120744,120746,120747,120748,120749,120750,120751,120752,120753,120754,120755,120756,120757,120758,120759,120760,120761,120762,120763,120764,120765,120766,120767,120768,120769,120770,120772,120773,120774,120775,120776,120777,120778,120779,124928,124929,124930,124931,124932,124933,124934,124935,124936,124937,124938,124939,124940,124941,124942,124943,124944,124945,124946,124947,124948,124949,124950,124951,124952,124953,124954,124955,124956,124957,124958,124959,124960,124961,124962,124963,124964,124965,124966,124967,124968,124969,124970,124971,124972,124973,124974,124975,124976,124977,124978,124979,124980,124981,124982,124983,124984,124985,124986,124987,124988,124989,124990,124991,124992,124993,124994,124995,124996,124997,124998,124999,125e3,125001,125002,125003,125004,125005,125006,125007,125008,125009,125010,125011,125012,125013,125014,125015,125016,125017,125018,125019,125020,125021,125022,125023,125024,125025,125026,125027,125028,125029,125030,125031,125032,125033,125034,125035,125036,125037,125038,125039,125040,125041,125042,125043,125044,125045,125046,125047,125048,125049,125050,125051,125052,125053,125054,125055,125056,125057,125058,125059,125060,125061,125062,125063,125064,125065,125066,125067,125068,125069,125070,125071,125072,125073,125074,125075,125076,125077,125078,125079,125080,125081,125082,125083,125084,125085,125086,125087,125088,125089,125090,125091,125092,125093,125094,125095,125096,125097,125098,125099,125100,125101,125102,125103,125104,125105,125106,125107,125108,125109,125110,125111,125112,125113,125114,125115,125116,125117,125118,125119,125120,125121,125122,125123,125124,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,131072,173782,173824,177972,177984,178205,178208,183969,194560,194561,194562,194563,194564,194565,194566,194567,194568,194569,194570,194571,194572,194573,194574,194575,194576,194577,194578,194579,194580,194581,194582,194583,194584,194585,194586,194587,194588,194589,194590,194591,194592,194593,194594,194595,194596,194597,194598,194599,194600,194601,194602,194603,194604,194605,194606,194607,194608,194609,194610,194611,194612,194613,194614,194615,194616,194617,194618,194619,194620,194621,194622,194623,194624,194625,194626,194627,194628,194629,194630,194631,194632,194633,194634,194635,194636,194637,194638,194639,194640,194641,194642,194643,194644,194645,194646,194647,194648,194649,194650,194651,194652,194653,194654,194655,194656,194657,194658,194659,194660,194661,194662,194663,194664,194665,194666,194667,194668,194669,194670,194671,194672,194673,194674,194675,194676,194677,194678,194679,194680,194681,194682,194683,194684,194685,194686,194687,194688,194689,194690,194691,194692,194693,194694,194695,194696,194697,194698,194699,194700,194701,194702,194703,194704,194705,194706,194707,194708,194709,194710,194711,194712,194713,194714,194715,194716,194717,194718,194719,194720,194721,194722,194723,194724,194725,194726,194727,194728,194729,194730,194731,194732,194733,194734,194735,194736,194737,194738,194739,194740,194741,194742,194743,194744,194745,194746,194747,194748,194749,194750,194751,194752,194753,194754,194755,194756,194757,194758,194759,194760,194761,194762,194763,194764,194765,194766,194767,194768,194769,194770,194771,194772,194773,194774,194775,194776,194777,194778,194779,194780,194781,194782,194783,194784,194785,194786,194787,194788,194789,194790,194791,194792,194793,194794,194795,194796,194797,194798,194799,194800,194801,194802,194803,194804,194805,194806,194807,194808,194809,194810,194811,194812,194813,194814,194815,194816,194817,194818,194819,194820,194821,194822,194823,194824,194825,194826,194827,194828,194829,194830,194831,194832,194833,194834,194835,194836,194837,194838,194839,194840,194841,194842,194843,194844,194845,194846,194847,194848,194849,194850,194851,194852,194853,194854,194855,194856,194857,194858,194859,194860,194861,194862,194863,194864,194865,194866,194867,194868,194869,194870,194871,194872,194873,194874,194875,194876,194877,194878,194879,194880,194881,194882,194883,194884,194885,194886,194887,194888,194889,194890,194891,194892,194893,194894,194895,194896,194897,194898,194899,194900,194901,194902,194903,194904,194905,194906,194907,194908,194909,194910,194911,194912,194913,194914,194915,194916,194917,194918,194919,194920,194921,194922,194923,194924,194925,194926,194927,194928,194929,194930,194931,194932,194933,194934,194935,194936,194937,194938,194939,194940,194941,194942,194943,194944,194945,194946,194947,194948,194949,194950,194951,194952,194953,194954,194955,194956,194957,194958,194959,194960,194961,194962,194963,194964,194965,194966,194967,194968,194969,194970,194971,194972,194973,194974,194975,194976,194977,194978,194979,194980,194981,194982,194983,194984,194985,194986,194987,194988,194989,194990,194991,194992,194993,194994,194995,194996,194997,194998,194999,195e3,195001,195002,195003,195004,195005,195006,195007,195008,195009,195010,195011,195012,195013,195014,195015,195016,195017,195018,195019,195020,195021,195022,195023,195024,195025,195026,195027,195028,195029,195030,195031,195032,195033,195034,195035,195036,195037,195038,195039,195040,195041,195042,195043,195044,195045,195046,195047,195048,195049,195050,195051,195052,195053,195054,195055,195056,195057,195058,195059,195060,195061,195062,195063,195064,195065,195066,195067,195068,195069,195070,195071,195072,195073,195074,195075,195076,195077,195078,195079,195080,195081,195082,195083,195084,195085,195086,195087,195088,195089,195090,195091,195092,195093,195094,195095,195096,195097,195098,195099,195100,195101];var j_={};j_.N=[48,49,50,51,52,53,54,55,56,57,178,179,185,188,189,190,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,1776,1777,1778,1779,1780,1781,1782,1783,1784,1785,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,2406,2407,2408,2409,2410,2411,2412,2413,2414,2415,2534,2535,2536,2537,2538,2539,2540,2541,2542,2543,2548,2549,2550,2551,2552,2553,2662,2663,2664,2665,2666,2667,2668,2669,2670,2671,2790,2791,2792,2793,2794,2795,2796,2797,2798,2799,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927,2930,2931,2932,2933,2934,2935,3046,3047,3048,3049,3050,3051,3052,3053,3054,3055,3056,3057,3058,3174,3175,3176,3177,3178,3179,3180,3181,3182,3183,3192,3193,3194,3195,3196,3197,3198,3302,3303,3304,3305,3306,3307,3308,3309,3310,3311,3430,3431,3432,3433,3434,3435,3436,3437,3438,3439,3440,3441,3442,3443,3444,3445,3558,3559,3560,3561,3562,3563,3564,3565,3566,3567,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3792,3793,3794,3795,3796,3797,3798,3799,3800,3801,3872,3873,3874,3875,3876,3877,3878,3879,3880,3881,3882,3883,3884,3885,3886,3887,3888,3889,3890,3891,4160,4161,4162,4163,4164,4165,4166,4167,4168,4169,4240,4241,4242,4243,4244,4245,4246,4247,4248,4249,4969,4970,4971,4972,4973,4974,4975,4976,4977,4978,4979,4980,4981,4982,4983,4984,4985,4986,4987,4988,5870,5871,5872,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6128,6129,6130,6131,6132,6133,6134,6135,6136,6137,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6470,6471,6472,6473,6474,6475,6476,6477,6478,6479,6608,6609,6610,6611,6612,6613,6614,6615,6616,6617,6618,6784,6785,6786,6787,6788,6789,6790,6791,6792,6793,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,6992,6993,6994,6995,6996,6997,6998,6999,7e3,7001,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,8304,8308,8309,8310,8311,8312,8313,8320,8321,8322,8323,8324,8325,8326,8327,8328,8329,8528,8529,8530,8531,8532,8533,8534,8535,8536,8537,8538,8539,8540,8541,8542,8543,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8581,8582,8583,8584,8585,9312,9313,9314,9315,9316,9317,9318,9319,9320,9321,9322,9323,9324,9325,9326,9327,9328,9329,9330,9331,9332,9333,9334,9335,9336,9337,9338,9339,9340,9341,9342,9343,9344,9345,9346,9347,9348,9349,9350,9351,9352,9353,9354,9355,9356,9357,9358,9359,9360,9361,9362,9363,9364,9365,9366,9367,9368,9369,9370,9371,9450,9451,9452,9453,9454,9455,9456,9457,9458,9459,9460,9461,9462,9463,9464,9465,9466,9467,9468,9469,9470,9471,10102,10103,10104,10105,10106,10107,10108,10109,10110,10111,10112,10113,10114,10115,10116,10117,10118,10119,10120,10121,10122,10123,10124,10125,10126,10127,10128,10129,10130,10131,11517,12295,12321,12322,12323,12324,12325,12326,12327,12328,12329,12344,12345,12346,12690,12691,12692,12693,12832,12833,12834,12835,12836,12837,12838,12839,12840,12841,12872,12873,12874,12875,12876,12877,12878,12879,12881,12882,12883,12884,12885,12886,12887,12888,12889,12890,12891,12892,12893,12894,12895,12928,12929,12930,12931,12932,12933,12934,12935,12936,12937,12977,12978,12979,12980,12981,12982,12983,12984,12985,12986,12987,12988,12989,12990,12991,42528,42529,42530,42531,42532,42533,42534,42535,42536,42537,42726,42727,42728,42729,42730,42731,42732,42733,42734,42735,43056,43057,43058,43059,43060,43061,43216,43217,43218,43219,43220,43221,43222,43223,43224,43225,43264,43265,43266,43267,43268,43269,43270,43271,43272,43273,43472,43473,43474,43475,43476,43477,43478,43479,43480,43481,43504,43505,43506,43507,43508,43509,43510,43511,43512,43513,43600,43601,43602,43603,43604,43605,43606,43607,43608,43609,44016,44017,44018,44019,44020,44021,44022,44023,44024,44025,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,65799,65800,65801,65802,65803,65804,65805,65806,65807,65808,65809,65810,65811,65812,65813,65814,65815,65816,65817,65818,65819,65820,65821,65822,65823,65824,65825,65826,65827,65828,65829,65830,65831,65832,65833,65834,65835,65836,65837,65838,65839,65840,65841,65842,65843,65856,65857,65858,65859,65860,65861,65862,65863,65864,65865,65866,65867,65868,65869,65870,65871,65872,65873,65874,65875,65876,65877,65878,65879,65880,65881,65882,65883,65884,65885,65886,65887,65888,65889,65890,65891,65892,65893,65894,65895,65896,65897,65898,65899,65900,65901,65902,65903,65904,65905,65906,65907,65908,65909,65910,65911,65912,65930,65931,66273,66274,66275,66276,66277,66278,66279,66280,66281,66282,66283,66284,66285,66286,66287,66288,66289,66290,66291,66292,66293,66294,66295,66296,66297,66298,66299,66336,66337,66338,66339,66369,66378,66513,66514,66515,66516,66517,66720,66721,66722,66723,66724,66725,66726,66727,66728,66729,67672,67673,67674,67675,67676,67677,67678,67679,67705,67706,67707,67708,67709,67710,67711,67751,67752,67753,67754,67755,67756,67757,67758,67759,67835,67836,67837,67838,67839,67862,67863,67864,67865,67866,67867,68028,68029,68032,68033,68034,68035,68036,68037,68038,68039,68040,68041,68042,68043,68044,68045,68046,68047,68050,68051,68052,68053,68054,68055,68056,68057,68058,68059,68060,68061,68062,68063,68064,68065,68066,68067,68068,68069,68070,68071,68072,68073,68074,68075,68076,68077,68078,68079,68080,68081,68082,68083,68084,68085,68086,68087,68088,68089,68090,68091,68092,68093,68094,68095,68160,68161,68162,68163,68164,68165,68166,68167,68221,68222,68253,68254,68255,68331,68332,68333,68334,68335,68440,68441,68442,68443,68444,68445,68446,68447,68472,68473,68474,68475,68476,68477,68478,68479,68521,68522,68523,68524,68525,68526,68527,68858,68859,68860,68861,68862,68863,69216,69217,69218,69219,69220,69221,69222,69223,69224,69225,69226,69227,69228,69229,69230,69231,69232,69233,69234,69235,69236,69237,69238,69239,69240,69241,69242,69243,69244,69245,69246,69714,69715,69716,69717,69718,69719,69720,69721,69722,69723,69724,69725,69726,69727,69728,69729,69730,69731,69732,69733,69734,69735,69736,69737,69738,69739,69740,69741,69742,69743,69872,69873,69874,69875,69876,69877,69878,69879,69880,69881,69942,69943,69944,69945,69946,69947,69948,69949,69950,69951,70096,70097,70098,70099,70100,70101,70102,70103,70104,70105,70113,70114,70115,70116,70117,70118,70119,70120,70121,70122,70123,70124,70125,70126,70127,70128,70129,70130,70131,70132,70384,70385,70386,70387,70388,70389,70390,70391,70392,70393,70864,70865,70866,70867,70868,70869,70870,70871,70872,70873,71248,71249,71250,71251,71252,71253,71254,71255,71256,71257,71360,71361,71362,71363,71364,71365,71366,71367,71368,71369,71472,71473,71474,71475,71476,71477,71478,71479,71480,71481,71482,71483,71904,71905,71906,71907,71908,71909,71910,71911,71912,71913,71914,71915,71916,71917,71918,71919,71920,71921,71922,74752,74753,74754,74755,74756,74757,74758,74759,74760,74761,74762,74763,74764,74765,74766,74767,74768,74769,74770,74771,74772,74773,74774,74775,74776,74777,74778,74779,74780,74781,74782,74783,74784,74785,74786,74787,74788,74789,74790,74791,74792,74793,74794,74795,74796,74797,74798,74799,74800,74801,74802,74803,74804,74805,74806,74807,74808,74809,74810,74811,74812,74813,74814,74815,74816,74817,74818,74819,74820,74821,74822,74823,74824,74825,74826,74827,74828,74829,74830,74831,74832,74833,74834,74835,74836,74837,74838,74839,74840,74841,74842,74843,74844,74845,74846,74847,74848,74849,74850,74851,74852,74853,74854,74855,74856,74857,74858,74859,74860,74861,74862,92768,92769,92770,92771,92772,92773,92774,92775,92776,92777,93008,93009,93010,93011,93012,93013,93014,93015,93016,93017,93019,93020,93021,93022,93023,93024,93025,119648,119649,119650,119651,119652,119653,119654,119655,119656,119657,119658,119659,119660,119661,119662,119663,119664,119665,120782,120783,120784,120785,120786,120787,120788,120789,120790,120791,120792,120793,120794,120795,120796,120797,120798,120799,120800,120801,120802,120803,120804,120805,120806,120807,120808,120809,120810,120811,120812,120813,120814,120815,120816,120817,120818,120819,120820,120821,120822,120823,120824,120825,120826,120827,120828,120829,120830,120831,125127,125128,125129,125130,125131,125132,125133,125134,125135,127232,127233,127234,127235,127236,127237,127238,127239,127240,127241,127242,127243,127244];var K_={};K_.Z=[32,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];var Q_={};Q_.M=[768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,1155,1156,1157,1158,1159,1160,1161,1425,1426,1427,1428,1429,1430,1431,1432,1433,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1471,1473,1474,1476,1477,1479,1552,1553,1554,1555,1556,1557,1558,1559,1560,1561,1562,1611,1612,1613,1614,1615,1616,1617,1618,1619,1620,1621,1622,1623,1624,1625,1626,1627,1628,1629,1630,1631,1648,1750,1751,1752,1753,1754,1755,1756,1759,1760,1761,1762,1763,1764,1767,1768,1770,1771,1772,1773,1809,1840,1841,1842,1843,1844,1845,1846,1847,1848,1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862,1863,1864,1865,1866,1958,1959,1960,1961,1962,1963,1964,1965,1966,1967,1968,2027,2028,2029,2030,2031,2032,2033,2034,2035,2070,2071,2072,2073,2075,2076,2077,2078,2079,2080,2081,2082,2083,2085,2086,2087,2089,2090,2091,2092,2093,2137,2138,2139,2275,2276,2277,2278,2279,2280,2281,2282,2283,2284,2285,2286,2287,2288,2289,2290,2291,2292,2293,2294,2295,2296,2297,2298,2299,2300,2301,2302,2303,2304,2305,2306,2307,2362,2363,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2385,2386,2387,2388,2389,2390,2391,2402,2403,2433,2434,2435,2492,2494,2495,2496,2497,2498,2499,2500,2503,2504,2507,2508,2509,2519,2530,2531,2561,2562,2563,2620,2622,2623,2624,2625,2626,2631,2632,2635,2636,2637,2641,2672,2673,2677,2689,2690,2691,2748,2750,2751,2752,2753,2754,2755,2756,2757,2759,2760,2761,2763,2764,2765,2786,2787,2817,2818,2819,2876,2878,2879,2880,2881,2882,2883,2884,2887,2888,2891,2892,2893,2902,2903,2914,2915,2946,3006,3007,3008,3009,3010,3014,3015,3016,3018,3019,3020,3021,3031,3072,3073,3074,3075,3134,3135,3136,3137,3138,3139,3140,3142,3143,3144,3146,3147,3148,3149,3157,3158,3170,3171,3201,3202,3203,3260,3262,3263,3264,3265,3266,3267,3268,3270,3271,3272,3274,3275,3276,3277,3285,3286,3298,3299,3329,3330,3331,3390,3391,3392,3393,3394,3395,3396,3398,3399,3400,3402,3403,3404,3405,3415,3426,3427,3458,3459,3530,3535,3536,3537,3538,3539,3540,3542,3544,3545,3546,3547,3548,3549,3550,3551,3570,3571,3633,3636,3637,3638,3639,3640,3641,3642,3655,3656,3657,3658,3659,3660,3661,3662,3761,3764,3765,3766,3767,3768,3769,3771,3772,3784,3785,3786,3787,3788,3789,3864,3865,3893,3895,3897,3902,3903,3953,3954,3955,3956,3957,3958,3959,3960,3961,3962,3963,3964,3965,3966,3967,3968,3969,3970,3971,3972,3974,3975,3981,3982,3983,3984,3985,3986,3987,3988,3989,3990,3991,3993,3994,3995,3996,3997,3998,3999,4e3,4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4014,4015,4016,4017,4018,4019,4020,4021,4022,4023,4024,4025,4026,4027,4028,4038,4139,4140,4141,4142,4143,4144,4145,4146,4147,4148,4149,4150,4151,4152,4153,4154,4155,4156,4157,4158,4182,4183,4184,4185,4190,4191,4192,4194,4195,4196,4199,4200,4201,4202,4203,4204,4205,4209,4210,4211,4212,4226,4227,4228,4229,4230,4231,4232,4233,4234,4235,4236,4237,4239,4250,4251,4252,4253,4957,4958,4959,5906,5907,5908,5938,5939,5940,5970,5971,6002,6003,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6109,6155,6156,6157,6313,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6679,6680,6681,6682,6683,6741,6742,6743,6744,6745,6746,6747,6748,6749,6750,6752,6753,6754,6755,6756,6757,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,6783,6832,6833,6834,6835,6836,6837,6838,6839,6840,6841,6842,6843,6844,6845,6846,6912,6913,6914,6915,6916,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,6975,6976,6977,6978,6979,6980,7019,7020,7021,7022,7023,7024,7025,7026,7027,7040,7041,7042,7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7142,7143,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7204,7205,7206,7207,7208,7209,7210,7211,7212,7213,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7376,7377,7378,7380,7381,7382,7383,7384,7385,7386,7387,7388,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7405,7410,7411,7412,7416,7417,7616,7617,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7676,7677,7678,7679,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8413,8414,8415,8416,8417,8418,8419,8420,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,11503,11504,11505,11647,11744,11745,11746,11747,11748,11749,11750,11751,11752,11753,11754,11755,11756,11757,11758,11759,11760,11761,11762,11763,11764,11765,11766,11767,11768,11769,11770,11771,11772,11773,11774,11775,12330,12331,12332,12333,12334,12335,12441,12442,42607,42608,42609,42610,42612,42613,42614,42615,42616,42617,42618,42619,42620,42621,42654,42655,42736,42737,43010,43014,43019,43043,43044,43045,43046,43047,43136,43137,43188,43189,43190,43191,43192,43193,43194,43195,43196,43197,43198,43199,43200,43201,43202,43203,43204,43232,43233,43234,43235,43236,43237,43238,43239,43240,43241,43242,43243,43244,43245,43246,43247,43248,43249,43302,43303,43304,43305,43306,43307,43308,43309,43335,43336,43337,43338,43339,43340,43341,43342,43343,43344,43345,43346,43347,43392,43393,43394,43395,43443,43444,43445,43446,43447,43448,43449,43450,43451,43452,43453,43454,43455,43456,43493,43561,43562,43563,43564,43565,43566,43567,43568,43569,43570,43571,43572,43573,43574,43587,43596,43597,43643,43644,43645,43696,43698,43699,43700,43703,43704,43710,43711,43713,43755,43756,43757,43758,43759,43765,43766,44003,44004,44005,44006,44007,44008,44009,44010,44012,44013,64286,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65056,65057,65058,65059,65060,65061,65062,65063,65064,65065,65066,65067,65068,65069,65070,65071,66045,66272,66422,66423,66424,66425,66426,68097,68098,68099,68101,68102,68108,68109,68110,68111,68152,68153,68154,68159,68325,68326,69632,69633,69634,69688,69689,69690,69691,69692,69693,69694,69695,69696,69697,69698,69699,69700,69701,69702,69759,69760,69761,69762,69808,69809,69810,69811,69812,69813,69814,69815,69816,69817,69818,69888,69889,69890,69927,69928,69929,69930,69931,69932,69933,69934,69935,69936,69937,69938,69939,69940,70003,70016,70017,70018,70067,70068,70069,70070,70071,70072,70073,70074,70075,70076,70077,70078,70079,70080,70090,70091,70092,70188,70189,70190,70191,70192,70193,70194,70195,70196,70197,70198,70199,70367,70368,70369,70370,70371,70372,70373,70374,70375,70376,70377,70378,70400,70401,70402,70403,70460,70462,70463,70464,70465,70466,70467,70468,70471,70472,70475,70476,70477,70487,70498,70499,70502,70503,70504,70505,70506,70507,70508,70512,70513,70514,70515,70516,70832,70833,70834,70835,70836,70837,70838,70839,70840,70841,70842,70843,70844,70845,70846,70847,70848,70849,70850,70851,71087,71088,71089,71090,71091,71092,71093,71096,71097,71098,71099,71100,71101,71102,71103,71104,71132,71133,71216,71217,71218,71219,71220,71221,71222,71223,71224,71225,71226,71227,71228,71229,71230,71231,71232,71339,71340,71341,71342,71343,71344,71345,71346,71347,71348,71349,71350,71351,71453,71454,71455,71456,71457,71458,71459,71460,71461,71462,71463,71464,71465,71466,71467,92912,92913,92914,92915,92916,92976,92977,92978,92979,92980,92981,92982,94033,94034,94035,94036,94037,94038,94039,94040,94041,94042,94043,94044,94045,94046,94047,94048,94049,94050,94051,94052,94053,94054,94055,94056,94057,94058,94059,94060,94061,94062,94063,94064,94065,94066,94067,94068,94069,94070,94071,94072,94073,94074,94075,94076,94077,94078,94095,94096,94097,94098,113821,113822,119141,119142,119143,119144,119145,119149,119150,119151,119152,119153,119154,119163,119164,119165,119166,119167,119168,119169,119170,119173,119174,119175,119176,119177,119178,119179,119210,119211,119212,119213,119362,119363,119364,121344,121345,121346,121347,121348,121349,121350,121351,121352,121353,121354,121355,121356,121357,121358,121359,121360,121361,121362,121363,121364,121365,121366,121367,121368,121369,121370,121371,121372,121373,121374,121375,121376,121377,121378,121379,121380,121381,121382,121383,121384,121385,121386,121387,121388,121389,121390,121391,121392,121393,121394,121395,121396,121397,121398,121403,121404,121405,121406,121407,121408,121409,121410,121411,121412,121413,121414,121415,121416,121417,121418,121419,121420,121421,121422,121423,121424,121425,121426,121427,121428,121429,121430,121431,121432,121433,121434,121435,121436,121437,121438,121439,121440,121441,121442,121443,121444,121445,121446,121447,121448,121449,121450,121451,121452,121461,121476,121499,121500,121501,121502,121503,121505,121506,121507,121508,121509,121510,121511,121512,121513,121514,121515,121516,121517,121518,121519,125136,125137,125138,125139,125140,125141,125142,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999];var J_={exports:{}};(function(t){(function(e){for(var r=[null,0,{}],n=10,i=44032,a=4352,o=4449,s=4519,u=19,l=21,c=28,f=l*c,h=u*f,d=function(P,R){this.codepoint=P,this.feature=R},p={},v=[],g=0;g<=255;++g)v[g]=0;function m(P,R,B){var z=p[R];return z||(z=P(R,B),z.feature&&++v[R>>8&255]>n&&(p[R]=z)),z}function y(P,R,B){var z=R&65280,V=d.udata[z]||{},U=V[R];return U?new d(R,U):new d(R,r)}function _(P,R,B){return B?P(R,B):new d(R,null)}function b(P,R,B){var z;if(R<a||a+u<=R&&R<i||i+h<R)return P(R,B);if(a<=R&&R<a+u){var V={},U=(R-a)*l;for(z=0;z<l;++z)V[o+z]=i+c*(z+U);return new d(R,[,,V])}var q=R-i,K=q%c,xe=[];if(K!==0)xe[0]=[i+q-K,s+K];else for(xe[0]=[a+Math.floor(q/f),o+Math.floor(q%f/c)],xe[2]={},z=1;z<c;++z)xe[2][s+z]=R+z;return new d(R,xe)}function x(P,R,B){return R<60||13311<R&&R<42607?new d(R,r):P(R,B)}var w=[x,m,_,b,y];d.fromCharCode=w.reduceRight(function(P,R){return function(B,z){return R(P,B,z)}},null),d.isHighSurrogate=function(P){return P>=55296&&P<=56319},d.isLowSurrogate=function(P){return P>=56320&&P<=57343},d.prototype.prepFeature=function(){this.feature||(this.feature=d.fromCharCode(this.codepoint,!0).feature)},d.prototype.toString=function(){if(this.codepoint<65536)return String.fromCharCode(this.codepoint);var P=this.codepoint-65536;return String.fromCharCode(Math.floor(P/1024)+55296,P%1024+56320)},d.prototype.getDecomp=function(){return this.prepFeature(),this.feature[0]||null},d.prototype.isCompatibility=function(){return this.prepFeature(),!!this.feature[1]&&this.feature[1]&256},d.prototype.isExclude=function(){return this.prepFeature(),!!this.feature[1]&&this.feature[1]&512},d.prototype.getCanonicalClass=function(){return this.prepFeature(),this.feature[1]?this.feature[1]&255:0},d.prototype.getComposite=function(P){if(this.prepFeature(),!this.feature[2])return null;var R=this.feature[2][P.codepoint];return R?d.fromCharCode(R):null};var S=function(P){this.str=P,this.cursor=0};S.prototype.next=function(){if(this.str&&this.cursor<this.str.length){var P=this.str.charCodeAt(this.cursor++),R;return d.isHighSurrogate(P)&&this.cursor<this.str.length&&d.isLowSurrogate(R=this.str.charCodeAt(this.cursor))&&(P=(P-55296)*1024+(R-56320)+65536,++this.cursor),d.fromCharCode(P)}else return this.str=null,null};var C=function(P,R){this.it=P,this.canonical=R,this.resBuf=[]};C.prototype.next=function(){function P(B,z){var V=z.getDecomp();if(V&&!(B&&z.isCompatibility())){for(var U=[],q=0;q<V.length;++q){var K=P(B,d.fromCharCode(V[q]));U=U.concat(K)}return U}else return[z]}if(this.resBuf.length===0){var R=this.it.next();if(!R)return null;this.resBuf=P(this.canonical,R)}return this.resBuf.shift()};var A=function(P){this.it=P,this.resBuf=[]};A.prototype.next=function(){var P;if(this.resBuf.length===0)do{var R=this.it.next();if(!R)break;P=R.getCanonicalClass();var B=this.resBuf.length;if(P!==0)for(;B>0;--B){var z=this.resBuf[B-1],V=z.getCanonicalClass();if(V<=P)break}this.resBuf.splice(B,0,R)}while(P!==0);return this.resBuf.shift()};var T=function(P){this.it=P,this.procBuf=[],this.resBuf=[],this.lastClass=null};T.prototype.next=function(){for(;this.resBuf.length===0;){var P=this.it.next();if(!P){this.resBuf=this.procBuf,this.procBuf=[];break}if(this.procBuf.length===0)this.lastClass=P.getCanonicalClass(),this.procBuf.push(P);else{var R=this.procBuf[0],B=R.getComposite(P),z=P.getCanonicalClass();B&&(this.lastClass<z||this.lastClass===0)?this.procBuf[0]=B:(z===0&&(this.resBuf=this.procBuf,this.procBuf=[]),this.lastClass=z,this.procBuf.push(P))}}return this.resBuf.shift()};var D=function(P,R){switch(P){case"NFD":return new A(new C(new S(R),!0));case"NFKD":return new A(new C(new S(R),!1));case"NFC":return new T(new A(new C(new S(R),!0)));case"NFKC":return new T(new A(new C(new S(R),!1)))}throw P+" is invalid"},k=function(P,R){for(var B=D(P,R),z="",V;V=B.next();)z+=V.toString();return z};function M(P){return k("NFD",P)}function I(P){return k("NFKD",P)}function N(P){return k("NFC",P)}function L(P){return k("NFKC",P)}d.udata={0:{60:[,,{824:8814}],61:[,,{824:8800}],62:[,,{824:8815}],65:[,,{768:192,769:193,770:194,771:195,772:256,774:258,775:550,776:196,777:7842,778:197,780:461,783:512,785:514,803:7840,805:7680,808:260}],66:[,,{775:7682,803:7684,817:7686}],67:[,,{769:262,770:264,775:266,780:268,807:199}],68:[,,{775:7690,780:270,803:7692,807:7696,813:7698,817:7694}],69:[,,{768:200,769:201,770:202,771:7868,772:274,774:276,775:278,776:203,777:7866,780:282,783:516,785:518,803:7864,807:552,808:280,813:7704,816:7706}],70:[,,{775:7710}],71:[,,{769:500,770:284,772:7712,774:286,775:288,780:486,807:290}],72:[,,{770:292,775:7714,776:7718,780:542,803:7716,807:7720,814:7722}],73:[,,{768:204,769:205,770:206,771:296,772:298,774:300,775:304,776:207,777:7880,780:463,783:520,785:522,803:7882,808:302,816:7724}],74:[,,{770:308}],75:[,,{769:7728,780:488,803:7730,807:310,817:7732}],76:[,,{769:313,780:317,803:7734,807:315,813:7740,817:7738}],77:[,,{769:7742,775:7744,803:7746}],78:[,,{768:504,769:323,771:209,775:7748,780:327,803:7750,807:325,813:7754,817:7752}],79:[,,{768:210,769:211,770:212,771:213,772:332,774:334,775:558,776:214,777:7886,779:336,780:465,783:524,785:526,795:416,803:7884,808:490}],80:[,,{769:7764,775:7766}],82:[,,{769:340,775:7768,780:344,783:528,785:530,803:7770,807:342,817:7774}],83:[,,{769:346,770:348,775:7776,780:352,803:7778,806:536,807:350}],84:[,,{775:7786,780:356,803:7788,806:538,807:354,813:7792,817:7790}],85:[,,{768:217,769:218,770:219,771:360,772:362,774:364,776:220,777:7910,778:366,779:368,780:467,783:532,785:534,795:431,803:7908,804:7794,808:370,813:7798,816:7796}],86:[,,{771:7804,803:7806}],87:[,,{768:7808,769:7810,770:372,775:7814,776:7812,803:7816}],88:[,,{775:7818,776:7820}],89:[,,{768:7922,769:221,770:374,771:7928,772:562,775:7822,776:376,777:7926,803:7924}],90:[,,{769:377,770:7824,775:379,780:381,803:7826,817:7828}],97:[,,{768:224,769:225,770:226,771:227,772:257,774:259,775:551,776:228,777:7843,778:229,780:462,783:513,785:515,803:7841,805:7681,808:261}],98:[,,{775:7683,803:7685,817:7687}],99:[,,{769:263,770:265,775:267,780:269,807:231}],100:[,,{775:7691,780:271,803:7693,807:7697,813:7699,817:7695}],101:[,,{768:232,769:233,770:234,771:7869,772:275,774:277,775:279,776:235,777:7867,780:283,783:517,785:519,803:7865,807:553,808:281,813:7705,816:7707}],102:[,,{775:7711}],103:[,,{769:501,770:285,772:7713,774:287,775:289,780:487,807:291}],104:[,,{770:293,775:7715,776:7719,780:543,803:7717,807:7721,814:7723,817:7830}],105:[,,{768:236,769:237,770:238,771:297,772:299,774:301,776:239,777:7881,780:464,783:521,785:523,803:7883,808:303,816:7725}],106:[,,{770:309,780:496}],107:[,,{769:7729,780:489,803:7731,807:311,817:7733}],108:[,,{769:314,780:318,803:7735,807:316,813:7741,817:7739}],109:[,,{769:7743,775:7745,803:7747}],110:[,,{768:505,769:324,771:241,775:7749,780:328,803:7751,807:326,813:7755,817:7753}],111:[,,{768:242,769:243,770:244,771:245,772:333,774:335,775:559,776:246,777:7887,779:337,780:466,783:525,785:527,795:417,803:7885,808:491}],112:[,,{769:7765,775:7767}],114:[,,{769:341,775:7769,780:345,783:529,785:531,803:7771,807:343,817:7775}],115:[,,{769:347,770:349,775:7777,780:353,803:7779,806:537,807:351}],116:[,,{775:7787,776:7831,780:357,803:7789,806:539,807:355,813:7793,817:7791}],117:[,,{768:249,769:250,770:251,771:361,772:363,774:365,776:252,777:7911,778:367,779:369,780:468,783:533,785:535,795:432,803:7909,804:7795,808:371,813:7799,816:7797}],118:[,,{771:7805,803:7807}],119:[,,{768:7809,769:7811,770:373,775:7815,776:7813,778:7832,803:7817}],120:[,,{775:7819,776:7821}],121:[,,{768:7923,769:253,770:375,771:7929,772:563,775:7823,776:255,777:7927,778:7833,803:7925}],122:[,,{769:378,770:7825,775:380,780:382,803:7827,817:7829}],160:[[32],256],168:[[32,776],256,{768:8173,769:901,834:8129}],170:[[97],256],175:[[32,772],256],178:[[50],256],179:[[51],256],180:[[32,769],256],181:[[956],256],184:[[32,807],256],185:[[49],256],186:[[111],256],188:[[49,8260,52],256],189:[[49,8260,50],256],190:[[51,8260,52],256],192:[[65,768]],193:[[65,769]],194:[[65,770],,{768:7846,769:7844,771:7850,777:7848}],195:[[65,771]],196:[[65,776],,{772:478}],197:[[65,778],,{769:506}],198:[,,{769:508,772:482}],199:[[67,807],,{769:7688}],200:[[69,768]],201:[[69,769]],202:[[69,770],,{768:7872,769:7870,771:7876,777:7874}],203:[[69,776]],204:[[73,768]],205:[[73,769]],206:[[73,770]],207:[[73,776],,{769:7726}],209:[[78,771]],210:[[79,768]],211:[[79,769]],212:[[79,770],,{768:7890,769:7888,771:7894,777:7892}],213:[[79,771],,{769:7756,772:556,776:7758}],214:[[79,776],,{772:554}],216:[,,{769:510}],217:[[85,768]],218:[[85,769]],219:[[85,770]],220:[[85,776],,{768:475,769:471,772:469,780:473}],221:[[89,769]],224:[[97,768]],225:[[97,769]],226:[[97,770],,{768:7847,769:7845,771:7851,777:7849}],227:[[97,771]],228:[[97,776],,{772:479}],229:[[97,778],,{769:507}],230:[,,{769:509,772:483}],231:[[99,807],,{769:7689}],232:[[101,768]],233:[[101,769]],234:[[101,770],,{768:7873,769:7871,771:7877,777:7875}],235:[[101,776]],236:[[105,768]],237:[[105,769]],238:[[105,770]],239:[[105,776],,{769:7727}],241:[[110,771]],242:[[111,768]],243:[[111,769]],244:[[111,770],,{768:7891,769:7889,771:7895,777:7893}],245:[[111,771],,{769:7757,772:557,776:7759}],246:[[111,776],,{772:555}],248:[,,{769:511}],249:[[117,768]],250:[[117,769]],251:[[117,770]],252:[[117,776],,{768:476,769:472,772:470,780:474}],253:[[121,769]],255:[[121,776]]},256:{256:[[65,772]],257:[[97,772]],258:[[65,774],,{768:7856,769:7854,771:7860,777:7858}],259:[[97,774],,{768:7857,769:7855,771:7861,777:7859}],260:[[65,808]],261:[[97,808]],262:[[67,769]],263:[[99,769]],264:[[67,770]],265:[[99,770]],266:[[67,775]],267:[[99,775]],268:[[67,780]],269:[[99,780]],270:[[68,780]],271:[[100,780]],274:[[69,772],,{768:7700,769:7702}],275:[[101,772],,{768:7701,769:7703}],276:[[69,774]],277:[[101,774]],278:[[69,775]],279:[[101,775]],280:[[69,808]],281:[[101,808]],282:[[69,780]],283:[[101,780]],284:[[71,770]],285:[[103,770]],286:[[71,774]],287:[[103,774]],288:[[71,775]],289:[[103,775]],290:[[71,807]],291:[[103,807]],292:[[72,770]],293:[[104,770]],296:[[73,771]],297:[[105,771]],298:[[73,772]],299:[[105,772]],300:[[73,774]],301:[[105,774]],302:[[73,808]],303:[[105,808]],304:[[73,775]],306:[[73,74],256],307:[[105,106],256],308:[[74,770]],309:[[106,770]],310:[[75,807]],311:[[107,807]],313:[[76,769]],314:[[108,769]],315:[[76,807]],316:[[108,807]],317:[[76,780]],318:[[108,780]],319:[[76,183],256],320:[[108,183],256],323:[[78,769]],324:[[110,769]],325:[[78,807]],326:[[110,807]],327:[[78,780]],328:[[110,780]],329:[[700,110],256],332:[[79,772],,{768:7760,769:7762}],333:[[111,772],,{768:7761,769:7763}],334:[[79,774]],335:[[111,774]],336:[[79,779]],337:[[111,779]],340:[[82,769]],341:[[114,769]],342:[[82,807]],343:[[114,807]],344:[[82,780]],345:[[114,780]],346:[[83,769],,{775:7780}],347:[[115,769],,{775:7781}],348:[[83,770]],349:[[115,770]],350:[[83,807]],351:[[115,807]],352:[[83,780],,{775:7782}],353:[[115,780],,{775:7783}],354:[[84,807]],355:[[116,807]],356:[[84,780]],357:[[116,780]],360:[[85,771],,{769:7800}],361:[[117,771],,{769:7801}],362:[[85,772],,{776:7802}],363:[[117,772],,{776:7803}],364:[[85,774]],365:[[117,774]],366:[[85,778]],367:[[117,778]],368:[[85,779]],369:[[117,779]],370:[[85,808]],371:[[117,808]],372:[[87,770]],373:[[119,770]],374:[[89,770]],375:[[121,770]],376:[[89,776]],377:[[90,769]],378:[[122,769]],379:[[90,775]],380:[[122,775]],381:[[90,780]],382:[[122,780]],383:[[115],256,{775:7835}],416:[[79,795],,{768:7900,769:7898,771:7904,777:7902,803:7906}],417:[[111,795],,{768:7901,769:7899,771:7905,777:7903,803:7907}],431:[[85,795],,{768:7914,769:7912,771:7918,777:7916,803:7920}],432:[[117,795],,{768:7915,769:7913,771:7919,777:7917,803:7921}],439:[,,{780:494}],452:[[68,381],256],453:[[68,382],256],454:[[100,382],256],455:[[76,74],256],456:[[76,106],256],457:[[108,106],256],458:[[78,74],256],459:[[78,106],256],460:[[110,106],256],461:[[65,780]],462:[[97,780]],463:[[73,780]],464:[[105,780]],465:[[79,780]],466:[[111,780]],467:[[85,780]],468:[[117,780]],469:[[220,772]],470:[[252,772]],471:[[220,769]],472:[[252,769]],473:[[220,780]],474:[[252,780]],475:[[220,768]],476:[[252,768]],478:[[196,772]],479:[[228,772]],480:[[550,772]],481:[[551,772]],482:[[198,772]],483:[[230,772]],486:[[71,780]],487:[[103,780]],488:[[75,780]],489:[[107,780]],490:[[79,808],,{772:492}],491:[[111,808],,{772:493}],492:[[490,772]],493:[[491,772]],494:[[439,780]],495:[[658,780]],496:[[106,780]],497:[[68,90],256],498:[[68,122],256],499:[[100,122],256],500:[[71,769]],501:[[103,769]],504:[[78,768]],505:[[110,768]],506:[[197,769]],507:[[229,769]],508:[[198,769]],509:[[230,769]],510:[[216,769]],511:[[248,769]],66045:[,220]},512:{512:[[65,783]],513:[[97,783]],514:[[65,785]],515:[[97,785]],516:[[69,783]],517:[[101,783]],518:[[69,785]],519:[[101,785]],520:[[73,783]],521:[[105,783]],522:[[73,785]],523:[[105,785]],524:[[79,783]],525:[[111,783]],526:[[79,785]],527:[[111,785]],528:[[82,783]],529:[[114,783]],530:[[82,785]],531:[[114,785]],532:[[85,783]],533:[[117,783]],534:[[85,785]],535:[[117,785]],536:[[83,806]],537:[[115,806]],538:[[84,806]],539:[[116,806]],542:[[72,780]],543:[[104,780]],550:[[65,775],,{772:480}],551:[[97,775],,{772:481}],552:[[69,807],,{774:7708}],553:[[101,807],,{774:7709}],554:[[214,772]],555:[[246,772]],556:[[213,772]],557:[[245,772]],558:[[79,775],,{772:560}],559:[[111,775],,{772:561}],560:[[558,772]],561:[[559,772]],562:[[89,772]],563:[[121,772]],658:[,,{780:495}],688:[[104],256],689:[[614],256],690:[[106],256],691:[[114],256],692:[[633],256],693:[[635],256],694:[[641],256],695:[[119],256],696:[[121],256],728:[[32,774],256],729:[[32,775],256],730:[[32,778],256],731:[[32,808],256],732:[[32,771],256],733:[[32,779],256],736:[[611],256],737:[[108],256],738:[[115],256],739:[[120],256],740:[[661],256],66272:[,220]},768:{768:[,230],769:[,230],770:[,230],771:[,230],772:[,230],773:[,230],774:[,230],775:[,230],776:[,230,{769:836}],777:[,230],778:[,230],779:[,230],780:[,230],781:[,230],782:[,230],783:[,230],784:[,230],785:[,230],786:[,230],787:[,230],788:[,230],789:[,232],790:[,220],791:[,220],792:[,220],793:[,220],794:[,232],795:[,216],796:[,220],797:[,220],798:[,220],799:[,220],800:[,220],801:[,202],802:[,202],803:[,220],804:[,220],805:[,220],806:[,220],807:[,202],808:[,202],809:[,220],810:[,220],811:[,220],812:[,220],813:[,220],814:[,220],815:[,220],816:[,220],817:[,220],818:[,220],819:[,220],820:[,1],821:[,1],822:[,1],823:[,1],824:[,1],825:[,220],826:[,220],827:[,220],828:[,220],829:[,230],830:[,230],831:[,230],832:[[768],230],833:[[769],230],834:[,230],835:[[787],230],836:[[776,769],230],837:[,240],838:[,230],839:[,220],840:[,220],841:[,220],842:[,230],843:[,230],844:[,230],845:[,220],846:[,220],848:[,230],849:[,230],850:[,230],851:[,220],852:[,220],853:[,220],854:[,220],855:[,230],856:[,232],857:[,220],858:[,220],859:[,230],860:[,233],861:[,234],862:[,234],863:[,233],864:[,234],865:[,234],866:[,233],867:[,230],868:[,230],869:[,230],870:[,230],871:[,230],872:[,230],873:[,230],874:[,230],875:[,230],876:[,230],877:[,230],878:[,230],879:[,230],884:[[697]],890:[[32,837],256],894:[[59]],900:[[32,769],256],901:[[168,769]],902:[[913,769]],903:[[183]],904:[[917,769]],905:[[919,769]],906:[[921,769]],908:[[927,769]],910:[[933,769]],911:[[937,769]],912:[[970,769]],913:[,,{768:8122,769:902,772:8121,774:8120,787:7944,788:7945,837:8124}],917:[,,{768:8136,769:904,787:7960,788:7961}],919:[,,{768:8138,769:905,787:7976,788:7977,837:8140}],921:[,,{768:8154,769:906,772:8153,774:8152,776:938,787:7992,788:7993}],927:[,,{768:8184,769:908,787:8008,788:8009}],929:[,,{788:8172}],933:[,,{768:8170,769:910,772:8169,774:8168,776:939,788:8025}],937:[,,{768:8186,769:911,787:8040,788:8041,837:8188}],938:[[921,776]],939:[[933,776]],940:[[945,769],,{837:8116}],941:[[949,769]],942:[[951,769],,{837:8132}],943:[[953,769]],944:[[971,769]],945:[,,{768:8048,769:940,772:8113,774:8112,787:7936,788:7937,834:8118,837:8115}],949:[,,{768:8050,769:941,787:7952,788:7953}],951:[,,{768:8052,769:942,787:7968,788:7969,834:8134,837:8131}],953:[,,{768:8054,769:943,772:8145,774:8144,776:970,787:7984,788:7985,834:8150}],959:[,,{768:8056,769:972,787:8e3,788:8001}],961:[,,{787:8164,788:8165}],965:[,,{768:8058,769:973,772:8161,774:8160,776:971,787:8016,788:8017,834:8166}],969:[,,{768:8060,769:974,787:8032,788:8033,834:8182,837:8179}],970:[[953,776],,{768:8146,769:912,834:8151}],971:[[965,776],,{768:8162,769:944,834:8167}],972:[[959,769]],973:[[965,769]],974:[[969,769],,{837:8180}],976:[[946],256],977:[[952],256],978:[[933],256,{769:979,776:980}],979:[[978,769]],980:[[978,776]],981:[[966],256],982:[[960],256],1008:[[954],256],1009:[[961],256],1010:[[962],256],1012:[[920],256],1013:[[949],256],1017:[[931],256],66422:[,230],66423:[,230],66424:[,230],66425:[,230],66426:[,230]},1024:{1024:[[1045,768]],1025:[[1045,776]],1027:[[1043,769]],1030:[,,{776:1031}],1031:[[1030,776]],1036:[[1050,769]],1037:[[1048,768]],1038:[[1059,774]],1040:[,,{774:1232,776:1234}],1043:[,,{769:1027}],1045:[,,{768:1024,774:1238,776:1025}],1046:[,,{774:1217,776:1244}],1047:[,,{776:1246}],1048:[,,{768:1037,772:1250,774:1049,776:1252}],1049:[[1048,774]],1050:[,,{769:1036}],1054:[,,{776:1254}],1059:[,,{772:1262,774:1038,776:1264,779:1266}],1063:[,,{776:1268}],1067:[,,{776:1272}],1069:[,,{776:1260}],1072:[,,{774:1233,776:1235}],1075:[,,{769:1107}],1077:[,,{768:1104,774:1239,776:1105}],1078:[,,{774:1218,776:1245}],1079:[,,{776:1247}],1080:[,,{768:1117,772:1251,774:1081,776:1253}],1081:[[1080,774]],1082:[,,{769:1116}],1086:[,,{776:1255}],1091:[,,{772:1263,774:1118,776:1265,779:1267}],1095:[,,{776:1269}],1099:[,,{776:1273}],1101:[,,{776:1261}],1104:[[1077,768]],1105:[[1077,776]],1107:[[1075,769]],1110:[,,{776:1111}],1111:[[1110,776]],1116:[[1082,769]],1117:[[1080,768]],1118:[[1091,774]],1140:[,,{783:1142}],1141:[,,{783:1143}],1142:[[1140,783]],1143:[[1141,783]],1155:[,230],1156:[,230],1157:[,230],1158:[,230],1159:[,230],1217:[[1046,774]],1218:[[1078,774]],1232:[[1040,774]],1233:[[1072,774]],1234:[[1040,776]],1235:[[1072,776]],1238:[[1045,774]],1239:[[1077,774]],1240:[,,{776:1242}],1241:[,,{776:1243}],1242:[[1240,776]],1243:[[1241,776]],1244:[[1046,776]],1245:[[1078,776]],1246:[[1047,776]],1247:[[1079,776]],1250:[[1048,772]],1251:[[1080,772]],1252:[[1048,776]],1253:[[1080,776]],1254:[[1054,776]],1255:[[1086,776]],1256:[,,{776:1258}],1257:[,,{776:1259}],1258:[[1256,776]],1259:[[1257,776]],1260:[[1069,776]],1261:[[1101,776]],1262:[[1059,772]],1263:[[1091,772]],1264:[[1059,776]],1265:[[1091,776]],1266:[[1059,779]],1267:[[1091,779]],1268:[[1063,776]],1269:[[1095,776]],1272:[[1067,776]],1273:[[1099,776]]},1280:{1415:[[1381,1410],256],1425:[,220],1426:[,230],1427:[,230],1428:[,230],1429:[,230],1430:[,220],1431:[,230],1432:[,230],1433:[,230],1434:[,222],1435:[,220],1436:[,230],1437:[,230],1438:[,230],1439:[,230],1440:[,230],1441:[,230],1442:[,220],1443:[,220],1444:[,220],1445:[,220],1446:[,220],1447:[,220],1448:[,230],1449:[,230],1450:[,220],1451:[,230],1452:[,230],1453:[,222],1454:[,228],1455:[,230],1456:[,10],1457:[,11],1458:[,12],1459:[,13],1460:[,14],1461:[,15],1462:[,16],1463:[,17],1464:[,18],1465:[,19],1466:[,19],1467:[,20],1468:[,21],1469:[,22],1471:[,23],1473:[,24],1474:[,25],1476:[,230],1477:[,220],1479:[,18]},1536:{1552:[,230],1553:[,230],1554:[,230],1555:[,230],1556:[,230],1557:[,230],1558:[,230],1559:[,230],1560:[,30],1561:[,31],1562:[,32],1570:[[1575,1619]],1571:[[1575,1620]],1572:[[1608,1620]],1573:[[1575,1621]],1574:[[1610,1620]],1575:[,,{1619:1570,1620:1571,1621:1573}],1608:[,,{1620:1572}],1610:[,,{1620:1574}],1611:[,27],1612:[,28],1613:[,29],1614:[,30],1615:[,31],1616:[,32],1617:[,33],1618:[,34],1619:[,230],1620:[,230],1621:[,220],1622:[,220],1623:[,230],1624:[,230],1625:[,230],1626:[,230],1627:[,230],1628:[,220],1629:[,230],1630:[,230],1631:[,220],1648:[,35],1653:[[1575,1652],256],1654:[[1608,1652],256],1655:[[1735,1652],256],1656:[[1610,1652],256],1728:[[1749,1620]],1729:[,,{1620:1730}],1730:[[1729,1620]],1746:[,,{1620:1747}],1747:[[1746,1620]],1749:[,,{1620:1728}],1750:[,230],1751:[,230],1752:[,230],1753:[,230],1754:[,230],1755:[,230],1756:[,230],1759:[,230],1760:[,230],1761:[,230],1762:[,230],1763:[,220],1764:[,230],1767:[,230],1768:[,230],1770:[,220],1771:[,230],1772:[,230],1773:[,220]},1792:{1809:[,36],1840:[,230],1841:[,220],1842:[,230],1843:[,230],1844:[,220],1845:[,230],1846:[,230],1847:[,220],1848:[,220],1849:[,220],1850:[,230],1851:[,220],1852:[,220],1853:[,230],1854:[,220],1855:[,230],1856:[,230],1857:[,230],1858:[,220],1859:[,230],1860:[,220],1861:[,230],1862:[,220],1863:[,230],1864:[,220],1865:[,230],1866:[,230],2027:[,230],2028:[,230],2029:[,230],2030:[,230],2031:[,230],2032:[,230],2033:[,230],2034:[,220],2035:[,230]},2048:{2070:[,230],2071:[,230],2072:[,230],2073:[,230],2075:[,230],2076:[,230],2077:[,230],2078:[,230],2079:[,230],2080:[,230],2081:[,230],2082:[,230],2083:[,230],2085:[,230],2086:[,230],2087:[,230],2089:[,230],2090:[,230],2091:[,230],2092:[,230],2093:[,230],2137:[,220],2138:[,220],2139:[,220],2276:[,230],2277:[,230],2278:[,220],2279:[,230],2280:[,230],2281:[,220],2282:[,230],2283:[,230],2284:[,230],2285:[,220],2286:[,220],2287:[,220],2288:[,27],2289:[,28],2290:[,29],2291:[,230],2292:[,230],2293:[,230],2294:[,220],2295:[,230],2296:[,230],2297:[,220],2298:[,220],2299:[,230],2300:[,230],2301:[,230],2302:[,230],2303:[,230]},2304:{2344:[,,{2364:2345}],2345:[[2344,2364]],2352:[,,{2364:2353}],2353:[[2352,2364]],2355:[,,{2364:2356}],2356:[[2355,2364]],2364:[,7],2381:[,9],2385:[,230],2386:[,220],2387:[,230],2388:[,230],2392:[[2325,2364],512],2393:[[2326,2364],512],2394:[[2327,2364],512],2395:[[2332,2364],512],2396:[[2337,2364],512],2397:[[2338,2364],512],2398:[[2347,2364],512],2399:[[2351,2364],512],2492:[,7],2503:[,,{2494:2507,2519:2508}],2507:[[2503,2494]],2508:[[2503,2519]],2509:[,9],2524:[[2465,2492],512],2525:[[2466,2492],512],2527:[[2479,2492],512]},2560:{2611:[[2610,2620],512],2614:[[2616,2620],512],2620:[,7],2637:[,9],2649:[[2582,2620],512],2650:[[2583,2620],512],2651:[[2588,2620],512],2654:[[2603,2620],512],2748:[,7],2765:[,9],68109:[,220],68111:[,230],68152:[,230],68153:[,1],68154:[,220],68159:[,9],68325:[,230],68326:[,220]},2816:{2876:[,7],2887:[,,{2878:2891,2902:2888,2903:2892}],2888:[[2887,2902]],2891:[[2887,2878]],2892:[[2887,2903]],2893:[,9],2908:[[2849,2876],512],2909:[[2850,2876],512],2962:[,,{3031:2964}],2964:[[2962,3031]],3014:[,,{3006:3018,3031:3020}],3015:[,,{3006:3019}],3018:[[3014,3006]],3019:[[3015,3006]],3020:[[3014,3031]],3021:[,9]},3072:{3142:[,,{3158:3144}],3144:[[3142,3158]],3149:[,9],3157:[,84],3158:[,91],3260:[,7],3263:[,,{3285:3264}],3264:[[3263,3285]],3270:[,,{3266:3274,3285:3271,3286:3272}],3271:[[3270,3285]],3272:[[3270,3286]],3274:[[3270,3266],,{3285:3275}],3275:[[3274,3285]],3277:[,9]},3328:{3398:[,,{3390:3402,3415:3404}],3399:[,,{3390:3403}],3402:[[3398,3390]],3403:[[3399,3390]],3404:[[3398,3415]],3405:[,9],3530:[,9],3545:[,,{3530:3546,3535:3548,3551:3550}],3546:[[3545,3530]],3548:[[3545,3535],,{3530:3549}],3549:[[3548,3530]],3550:[[3545,3551]]},3584:{3635:[[3661,3634],256],3640:[,103],3641:[,103],3642:[,9],3656:[,107],3657:[,107],3658:[,107],3659:[,107],3763:[[3789,3762],256],3768:[,118],3769:[,118],3784:[,122],3785:[,122],3786:[,122],3787:[,122],3804:[[3755,3737],256],3805:[[3755,3745],256]},3840:{3852:[[3851],256],3864:[,220],3865:[,220],3893:[,220],3895:[,220],3897:[,216],3907:[[3906,4023],512],3917:[[3916,4023],512],3922:[[3921,4023],512],3927:[[3926,4023],512],3932:[[3931,4023],512],3945:[[3904,4021],512],3953:[,129],3954:[,130],3955:[[3953,3954],512],3956:[,132],3957:[[3953,3956],512],3958:[[4018,3968],512],3959:[[4018,3969],256],3960:[[4019,3968],512],3961:[[4019,3969],256],3962:[,130],3963:[,130],3964:[,130],3965:[,130],3968:[,130],3969:[[3953,3968],512],3970:[,230],3971:[,230],3972:[,9],3974:[,230],3975:[,230],3987:[[3986,4023],512],3997:[[3996,4023],512],4002:[[4001,4023],512],4007:[[4006,4023],512],4012:[[4011,4023],512],4025:[[3984,4021],512],4038:[,220]},4096:{4133:[,,{4142:4134}],4134:[[4133,4142]],4151:[,7],4153:[,9],4154:[,9],4237:[,220],4348:[[4316],256],69702:[,9],69759:[,9],69785:[,,{69818:69786}],69786:[[69785,69818]],69787:[,,{69818:69788}],69788:[[69787,69818]],69797:[,,{69818:69803}],69803:[[69797,69818]],69817:[,9],69818:[,7]},4352:{69888:[,230],69889:[,230],69890:[,230],69934:[[69937,69927]],69935:[[69938,69927]],69937:[,,{69927:69934}],69938:[,,{69927:69935}],69939:[,9],69940:[,9],70003:[,7],70080:[,9]},4608:{70197:[,9],70198:[,7],70377:[,7],70378:[,9]},4864:{4957:[,230],4958:[,230],4959:[,230],70460:[,7],70471:[,,{70462:70475,70487:70476}],70475:[[70471,70462]],70476:[[70471,70487]],70477:[,9],70502:[,230],70503:[,230],70504:[,230],70505:[,230],70506:[,230],70507:[,230],70508:[,230],70512:[,230],70513:[,230],70514:[,230],70515:[,230],70516:[,230]},5120:{70841:[,,{70832:70844,70842:70843,70845:70846}],70843:[[70841,70842]],70844:[[70841,70832]],70846:[[70841,70845]],70850:[,9],70851:[,7]},5376:{71096:[,,{71087:71098}],71097:[,,{71087:71099}],71098:[[71096,71087]],71099:[[71097,71087]],71103:[,9],71104:[,7]},5632:{71231:[,9],71350:[,9],71351:[,7]},5888:{5908:[,9],5940:[,9],6098:[,9],6109:[,230]},6144:{6313:[,228]},6400:{6457:[,222],6458:[,230],6459:[,220]},6656:{6679:[,230],6680:[,220],6752:[,9],6773:[,230],6774:[,230],6775:[,230],6776:[,230],6777:[,230],6778:[,230],6779:[,230],6780:[,230],6783:[,220],6832:[,230],6833:[,230],6834:[,230],6835:[,230],6836:[,230],6837:[,220],6838:[,220],6839:[,220],6840:[,220],6841:[,220],6842:[,220],6843:[,230],6844:[,230],6845:[,220]},6912:{6917:[,,{6965:6918}],6918:[[6917,6965]],6919:[,,{6965:6920}],6920:[[6919,6965]],6921:[,,{6965:6922}],6922:[[6921,6965]],6923:[,,{6965:6924}],6924:[[6923,6965]],6925:[,,{6965:6926}],6926:[[6925,6965]],6929:[,,{6965:6930}],6930:[[6929,6965]],6964:[,7],6970:[,,{6965:6971}],6971:[[6970,6965]],6972:[,,{6965:6973}],6973:[[6972,6965]],6974:[,,{6965:6976}],6975:[,,{6965:6977}],6976:[[6974,6965]],6977:[[6975,6965]],6978:[,,{6965:6979}],6979:[[6978,6965]],6980:[,9],7019:[,230],7020:[,220],7021:[,230],7022:[,230],7023:[,230],7024:[,230],7025:[,230],7026:[,230],7027:[,230],7082:[,9],7083:[,9],7142:[,7],7154:[,9],7155:[,9]},7168:{7223:[,7],7376:[,230],7377:[,230],7378:[,230],7380:[,1],7381:[,220],7382:[,220],7383:[,220],7384:[,220],7385:[,220],7386:[,230],7387:[,230],7388:[,220],7389:[,220],7390:[,220],7391:[,220],7392:[,230],7394:[,1],7395:[,1],7396:[,1],7397:[,1],7398:[,1],7399:[,1],7400:[,1],7405:[,220],7412:[,230],7416:[,230],7417:[,230]},7424:{7468:[[65],256],7469:[[198],256],7470:[[66],256],7472:[[68],256],7473:[[69],256],7474:[[398],256],7475:[[71],256],7476:[[72],256],7477:[[73],256],7478:[[74],256],7479:[[75],256],7480:[[76],256],7481:[[77],256],7482:[[78],256],7484:[[79],256],7485:[[546],256],7486:[[80],256],7487:[[82],256],7488:[[84],256],7489:[[85],256],7490:[[87],256],7491:[[97],256],7492:[[592],256],7493:[[593],256],7494:[[7426],256],7495:[[98],256],7496:[[100],256],7497:[[101],256],7498:[[601],256],7499:[[603],256],7500:[[604],256],7501:[[103],256],7503:[[107],256],7504:[[109],256],7505:[[331],256],7506:[[111],256],7507:[[596],256],7508:[[7446],256],7509:[[7447],256],7510:[[112],256],7511:[[116],256],7512:[[117],256],7513:[[7453],256],7514:[[623],256],7515:[[118],256],7516:[[7461],256],7517:[[946],256],7518:[[947],256],7519:[[948],256],7520:[[966],256],7521:[[967],256],7522:[[105],256],7523:[[114],256],7524:[[117],256],7525:[[118],256],7526:[[946],256],7527:[[947],256],7528:[[961],256],7529:[[966],256],7530:[[967],256],7544:[[1085],256],7579:[[594],256],7580:[[99],256],7581:[[597],256],7582:[[240],256],7583:[[604],256],7584:[[102],256],7585:[[607],256],7586:[[609],256],7587:[[613],256],7588:[[616],256],7589:[[617],256],7590:[[618],256],7591:[[7547],256],7592:[[669],256],7593:[[621],256],7594:[[7557],256],7595:[[671],256],7596:[[625],256],7597:[[624],256],7598:[[626],256],7599:[[627],256],7600:[[628],256],7601:[[629],256],7602:[[632],256],7603:[[642],256],7604:[[643],256],7605:[[427],256],7606:[[649],256],7607:[[650],256],7608:[[7452],256],7609:[[651],256],7610:[[652],256],7611:[[122],256],7612:[[656],256],7613:[[657],256],7614:[[658],256],7615:[[952],256],7616:[,230],7617:[,230],7618:[,220],7619:[,230],7620:[,230],7621:[,230],7622:[,230],7623:[,230],7624:[,230],7625:[,230],7626:[,220],7627:[,230],7628:[,230],7629:[,234],7630:[,214],7631:[,220],7632:[,202],7633:[,230],7634:[,230],7635:[,230],7636:[,230],7637:[,230],7638:[,230],7639:[,230],7640:[,230],7641:[,230],7642:[,230],7643:[,230],7644:[,230],7645:[,230],7646:[,230],7647:[,230],7648:[,230],7649:[,230],7650:[,230],7651:[,230],7652:[,230],7653:[,230],7654:[,230],7655:[,230],7656:[,230],7657:[,230],7658:[,230],7659:[,230],7660:[,230],7661:[,230],7662:[,230],7663:[,230],7664:[,230],7665:[,230],7666:[,230],7667:[,230],7668:[,230],7669:[,230],7676:[,233],7677:[,220],7678:[,230],7679:[,220]},7680:{7680:[[65,805]],7681:[[97,805]],7682:[[66,775]],7683:[[98,775]],7684:[[66,803]],7685:[[98,803]],7686:[[66,817]],7687:[[98,817]],7688:[[199,769]],7689:[[231,769]],7690:[[68,775]],7691:[[100,775]],7692:[[68,803]],7693:[[100,803]],7694:[[68,817]],7695:[[100,817]],7696:[[68,807]],7697:[[100,807]],7698:[[68,813]],7699:[[100,813]],7700:[[274,768]],7701:[[275,768]],7702:[[274,769]],7703:[[275,769]],7704:[[69,813]],7705:[[101,813]],7706:[[69,816]],7707:[[101,816]],7708:[[552,774]],7709:[[553,774]],7710:[[70,775]],7711:[[102,775]],7712:[[71,772]],7713:[[103,772]],7714:[[72,775]],7715:[[104,775]],7716:[[72,803]],7717:[[104,803]],7718:[[72,776]],7719:[[104,776]],7720:[[72,807]],7721:[[104,807]],7722:[[72,814]],7723:[[104,814]],7724:[[73,816]],7725:[[105,816]],7726:[[207,769]],7727:[[239,769]],7728:[[75,769]],7729:[[107,769]],7730:[[75,803]],7731:[[107,803]],7732:[[75,817]],7733:[[107,817]],7734:[[76,803],,{772:7736}],7735:[[108,803],,{772:7737}],7736:[[7734,772]],7737:[[7735,772]],7738:[[76,817]],7739:[[108,817]],7740:[[76,813]],7741:[[108,813]],7742:[[77,769]],7743:[[109,769]],7744:[[77,775]],7745:[[109,775]],7746:[[77,803]],7747:[[109,803]],7748:[[78,775]],7749:[[110,775]],7750:[[78,803]],7751:[[110,803]],7752:[[78,817]],7753:[[110,817]],7754:[[78,813]],7755:[[110,813]],7756:[[213,769]],7757:[[245,769]],7758:[[213,776]],7759:[[245,776]],7760:[[332,768]],7761:[[333,768]],7762:[[332,769]],7763:[[333,769]],7764:[[80,769]],7765:[[112,769]],7766:[[80,775]],7767:[[112,775]],7768:[[82,775]],7769:[[114,775]],7770:[[82,803],,{772:7772}],7771:[[114,803],,{772:7773}],7772:[[7770,772]],7773:[[7771,772]],7774:[[82,817]],7775:[[114,817]],7776:[[83,775]],7777:[[115,775]],7778:[[83,803],,{775:7784}],7779:[[115,803],,{775:7785}],7780:[[346,775]],7781:[[347,775]],7782:[[352,775]],7783:[[353,775]],7784:[[7778,775]],7785:[[7779,775]],7786:[[84,775]],7787:[[116,775]],7788:[[84,803]],7789:[[116,803]],7790:[[84,817]],7791:[[116,817]],7792:[[84,813]],7793:[[116,813]],7794:[[85,804]],7795:[[117,804]],7796:[[85,816]],7797:[[117,816]],7798:[[85,813]],7799:[[117,813]],7800:[[360,769]],7801:[[361,769]],7802:[[362,776]],7803:[[363,776]],7804:[[86,771]],7805:[[118,771]],7806:[[86,803]],7807:[[118,803]],7808:[[87,768]],7809:[[119,768]],7810:[[87,769]],7811:[[119,769]],7812:[[87,776]],7813:[[119,776]],7814:[[87,775]],7815:[[119,775]],7816:[[87,803]],7817:[[119,803]],7818:[[88,775]],7819:[[120,775]],7820:[[88,776]],7821:[[120,776]],7822:[[89,775]],7823:[[121,775]],7824:[[90,770]],7825:[[122,770]],7826:[[90,803]],7827:[[122,803]],7828:[[90,817]],7829:[[122,817]],7830:[[104,817]],7831:[[116,776]],7832:[[119,778]],7833:[[121,778]],7834:[[97,702],256],7835:[[383,775]],7840:[[65,803],,{770:7852,774:7862}],7841:[[97,803],,{770:7853,774:7863}],7842:[[65,777]],7843:[[97,777]],7844:[[194,769]],7845:[[226,769]],7846:[[194,768]],7847:[[226,768]],7848:[[194,777]],7849:[[226,777]],7850:[[194,771]],7851:[[226,771]],7852:[[7840,770]],7853:[[7841,770]],7854:[[258,769]],7855:[[259,769]],7856:[[258,768]],7857:[[259,768]],7858:[[258,777]],7859:[[259,777]],7860:[[258,771]],7861:[[259,771]],7862:[[7840,774]],7863:[[7841,774]],7864:[[69,803],,{770:7878}],7865:[[101,803],,{770:7879}],7866:[[69,777]],7867:[[101,777]],7868:[[69,771]],7869:[[101,771]],7870:[[202,769]],7871:[[234,769]],7872:[[202,768]],7873:[[234,768]],7874:[[202,777]],7875:[[234,777]],7876:[[202,771]],7877:[[234,771]],7878:[[7864,770]],7879:[[7865,770]],7880:[[73,777]],7881:[[105,777]],7882:[[73,803]],7883:[[105,803]],7884:[[79,803],,{770:7896}],7885:[[111,803],,{770:7897}],7886:[[79,777]],7887:[[111,777]],7888:[[212,769]],7889:[[244,769]],7890:[[212,768]],7891:[[244,768]],7892:[[212,777]],7893:[[244,777]],7894:[[212,771]],7895:[[244,771]],7896:[[7884,770]],7897:[[7885,770]],7898:[[416,769]],7899:[[417,769]],7900:[[416,768]],7901:[[417,768]],7902:[[416,777]],7903:[[417,777]],7904:[[416,771]],7905:[[417,771]],7906:[[416,803]],7907:[[417,803]],7908:[[85,803]],7909:[[117,803]],7910:[[85,777]],7911:[[117,777]],7912:[[431,769]],7913:[[432,769]],7914:[[431,768]],7915:[[432,768]],7916:[[431,777]],7917:[[432,777]],7918:[[431,771]],7919:[[432,771]],7920:[[431,803]],7921:[[432,803]],7922:[[89,768]],7923:[[121,768]],7924:[[89,803]],7925:[[121,803]],7926:[[89,777]],7927:[[121,777]],7928:[[89,771]],7929:[[121,771]]},7936:{7936:[[945,787],,{768:7938,769:7940,834:7942,837:8064}],7937:[[945,788],,{768:7939,769:7941,834:7943,837:8065}],7938:[[7936,768],,{837:8066}],7939:[[7937,768],,{837:8067}],7940:[[7936,769],,{837:8068}],7941:[[7937,769],,{837:8069}],7942:[[7936,834],,{837:8070}],7943:[[7937,834],,{837:8071}],7944:[[913,787],,{768:7946,769:7948,834:7950,837:8072}],7945:[[913,788],,{768:7947,769:7949,834:7951,837:8073}],7946:[[7944,768],,{837:8074}],7947:[[7945,768],,{837:8075}],7948:[[7944,769],,{837:8076}],7949:[[7945,769],,{837:8077}],7950:[[7944,834],,{837:8078}],7951:[[7945,834],,{837:8079}],7952:[[949,787],,{768:7954,769:7956}],7953:[[949,788],,{768:7955,769:7957}],7954:[[7952,768]],7955:[[7953,768]],7956:[[7952,769]],7957:[[7953,769]],7960:[[917,787],,{768:7962,769:7964}],7961:[[917,788],,{768:7963,769:7965}],7962:[[7960,768]],7963:[[7961,768]],7964:[[7960,769]],7965:[[7961,769]],7968:[[951,787],,{768:7970,769:7972,834:7974,837:8080}],7969:[[951,788],,{768:7971,769:7973,834:7975,837:8081}],7970:[[7968,768],,{837:8082}],7971:[[7969,768],,{837:8083}],7972:[[7968,769],,{837:8084}],7973:[[7969,769],,{837:8085}],7974:[[7968,834],,{837:8086}],7975:[[7969,834],,{837:8087}],7976:[[919,787],,{768:7978,769:7980,834:7982,837:8088}],7977:[[919,788],,{768:7979,769:7981,834:7983,837:8089}],7978:[[7976,768],,{837:8090}],7979:[[7977,768],,{837:8091}],7980:[[7976,769],,{837:8092}],7981:[[7977,769],,{837:8093}],7982:[[7976,834],,{837:8094}],7983:[[7977,834],,{837:8095}],7984:[[953,787],,{768:7986,769:7988,834:7990}],7985:[[953,788],,{768:7987,769:7989,834:7991}],7986:[[7984,768]],7987:[[7985,768]],7988:[[7984,769]],7989:[[7985,769]],7990:[[7984,834]],7991:[[7985,834]],7992:[[921,787],,{768:7994,769:7996,834:7998}],7993:[[921,788],,{768:7995,769:7997,834:7999}],7994:[[7992,768]],7995:[[7993,768]],7996:[[7992,769]],7997:[[7993,769]],7998:[[7992,834]],7999:[[7993,834]],8e3:[[959,787],,{768:8002,769:8004}],8001:[[959,788],,{768:8003,769:8005}],8002:[[8e3,768]],8003:[[8001,768]],8004:[[8e3,769]],8005:[[8001,769]],8008:[[927,787],,{768:8010,769:8012}],8009:[[927,788],,{768:8011,769:8013}],8010:[[8008,768]],8011:[[8009,768]],8012:[[8008,769]],8013:[[8009,769]],8016:[[965,787],,{768:8018,769:8020,834:8022}],8017:[[965,788],,{768:8019,769:8021,834:8023}],8018:[[8016,768]],8019:[[8017,768]],8020:[[8016,769]],8021:[[8017,769]],8022:[[8016,834]],8023:[[8017,834]],8025:[[933,788],,{768:8027,769:8029,834:8031}],8027:[[8025,768]],8029:[[8025,769]],8031:[[8025,834]],8032:[[969,787],,{768:8034,769:8036,834:8038,837:8096}],8033:[[969,788],,{768:8035,769:8037,834:8039,837:8097}],8034:[[8032,768],,{837:8098}],8035:[[8033,768],,{837:8099}],8036:[[8032,769],,{837:8100}],8037:[[8033,769],,{837:8101}],8038:[[8032,834],,{837:8102}],8039:[[8033,834],,{837:8103}],8040:[[937,787],,{768:8042,769:8044,834:8046,837:8104}],8041:[[937,788],,{768:8043,769:8045,834:8047,837:8105}],8042:[[8040,768],,{837:8106}],8043:[[8041,768],,{837:8107}],8044:[[8040,769],,{837:8108}],8045:[[8041,769],,{837:8109}],8046:[[8040,834],,{837:8110}],8047:[[8041,834],,{837:8111}],8048:[[945,768],,{837:8114}],8049:[[940]],8050:[[949,768]],8051:[[941]],8052:[[951,768],,{837:8130}],8053:[[942]],8054:[[953,768]],8055:[[943]],8056:[[959,768]],8057:[[972]],8058:[[965,768]],8059:[[973]],8060:[[969,768],,{837:8178}],8061:[[974]],8064:[[7936,837]],8065:[[7937,837]],8066:[[7938,837]],8067:[[7939,837]],8068:[[7940,837]],8069:[[7941,837]],8070:[[7942,837]],8071:[[7943,837]],8072:[[7944,837]],8073:[[7945,837]],8074:[[7946,837]],8075:[[7947,837]],8076:[[7948,837]],8077:[[7949,837]],8078:[[7950,837]],8079:[[7951,837]],8080:[[7968,837]],8081:[[7969,837]],8082:[[7970,837]],8083:[[7971,837]],8084:[[7972,837]],8085:[[7973,837]],8086:[[7974,837]],8087:[[7975,837]],8088:[[7976,837]],8089:[[7977,837]],8090:[[7978,837]],8091:[[7979,837]],8092:[[7980,837]],8093:[[7981,837]],8094:[[7982,837]],8095:[[7983,837]],8096:[[8032,837]],8097:[[8033,837]],8098:[[8034,837]],8099:[[8035,837]],8100:[[8036,837]],8101:[[8037,837]],8102:[[8038,837]],8103:[[8039,837]],8104:[[8040,837]],8105:[[8041,837]],8106:[[8042,837]],8107:[[8043,837]],8108:[[8044,837]],8109:[[8045,837]],8110:[[8046,837]],8111:[[8047,837]],8112:[[945,774]],8113:[[945,772]],8114:[[8048,837]],8115:[[945,837]],8116:[[940,837]],8118:[[945,834],,{837:8119}],8119:[[8118,837]],8120:[[913,774]],8121:[[913,772]],8122:[[913,768]],8123:[[902]],8124:[[913,837]],8125:[[32,787],256],8126:[[953]],8127:[[32,787],256,{768:8141,769:8142,834:8143}],8128:[[32,834],256],8129:[[168,834]],8130:[[8052,837]],8131:[[951,837]],8132:[[942,837]],8134:[[951,834],,{837:8135}],8135:[[8134,837]],8136:[[917,768]],8137:[[904]],8138:[[919,768]],8139:[[905]],8140:[[919,837]],8141:[[8127,768]],8142:[[8127,769]],8143:[[8127,834]],8144:[[953,774]],8145:[[953,772]],8146:[[970,768]],8147:[[912]],8150:[[953,834]],8151:[[970,834]],8152:[[921,774]],8153:[[921,772]],8154:[[921,768]],8155:[[906]],8157:[[8190,768]],8158:[[8190,769]],8159:[[8190,834]],8160:[[965,774]],8161:[[965,772]],8162:[[971,768]],8163:[[944]],8164:[[961,787]],8165:[[961,788]],8166:[[965,834]],8167:[[971,834]],8168:[[933,774]],8169:[[933,772]],8170:[[933,768]],8171:[[910]],8172:[[929,788]],8173:[[168,768]],8174:[[901]],8175:[[96]],8178:[[8060,837]],8179:[[969,837]],8180:[[974,837]],8182:[[969,834],,{837:8183}],8183:[[8182,837]],8184:[[927,768]],8185:[[908]],8186:[[937,768]],8187:[[911]],8188:[[937,837]],8189:[[180]],8190:[[32,788],256,{768:8157,769:8158,834:8159}]},8192:{8192:[[8194]],8193:[[8195]],8194:[[32],256],8195:[[32],256],8196:[[32],256],8197:[[32],256],8198:[[32],256],8199:[[32],256],8200:[[32],256],8201:[[32],256],8202:[[32],256],8209:[[8208],256],8215:[[32,819],256],8228:[[46],256],8229:[[46,46],256],8230:[[46,46,46],256],8239:[[32],256],8243:[[8242,8242],256],8244:[[8242,8242,8242],256],8246:[[8245,8245],256],8247:[[8245,8245,8245],256],8252:[[33,33],256],8254:[[32,773],256],8263:[[63,63],256],8264:[[63,33],256],8265:[[33,63],256],8279:[[8242,8242,8242,8242],256],8287:[[32],256],8304:[[48],256],8305:[[105],256],8308:[[52],256],8309:[[53],256],8310:[[54],256],8311:[[55],256],8312:[[56],256],8313:[[57],256],8314:[[43],256],8315:[[8722],256],8316:[[61],256],8317:[[40],256],8318:[[41],256],8319:[[110],256],8320:[[48],256],8321:[[49],256],8322:[[50],256],8323:[[51],256],8324:[[52],256],8325:[[53],256],8326:[[54],256],8327:[[55],256],8328:[[56],256],8329:[[57],256],8330:[[43],256],8331:[[8722],256],8332:[[61],256],8333:[[40],256],8334:[[41],256],8336:[[97],256],8337:[[101],256],8338:[[111],256],8339:[[120],256],8340:[[601],256],8341:[[104],256],8342:[[107],256],8343:[[108],256],8344:[[109],256],8345:[[110],256],8346:[[112],256],8347:[[115],256],8348:[[116],256],8360:[[82,115],256],8400:[,230],8401:[,230],8402:[,1],8403:[,1],8404:[,230],8405:[,230],8406:[,230],8407:[,230],8408:[,1],8409:[,1],8410:[,1],8411:[,230],8412:[,230],8417:[,230],8421:[,1],8422:[,1],8423:[,230],8424:[,220],8425:[,230],8426:[,1],8427:[,1],8428:[,220],8429:[,220],8430:[,220],8431:[,220],8432:[,230]},8448:{8448:[[97,47,99],256],8449:[[97,47,115],256],8450:[[67],256],8451:[[176,67],256],8453:[[99,47,111],256],8454:[[99,47,117],256],8455:[[400],256],8457:[[176,70],256],8458:[[103],256],8459:[[72],256],8460:[[72],256],8461:[[72],256],8462:[[104],256],8463:[[295],256],8464:[[73],256],8465:[[73],256],8466:[[76],256],8467:[[108],256],8469:[[78],256],8470:[[78,111],256],8473:[[80],256],8474:[[81],256],8475:[[82],256],8476:[[82],256],8477:[[82],256],8480:[[83,77],256],8481:[[84,69,76],256],8482:[[84,77],256],8484:[[90],256],8486:[[937]],8488:[[90],256],8490:[[75]],8491:[[197]],8492:[[66],256],8493:[[67],256],8495:[[101],256],8496:[[69],256],8497:[[70],256],8499:[[77],256],8500:[[111],256],8501:[[1488],256],8502:[[1489],256],8503:[[1490],256],8504:[[1491],256],8505:[[105],256],8507:[[70,65,88],256],8508:[[960],256],8509:[[947],256],8510:[[915],256],8511:[[928],256],8512:[[8721],256],8517:[[68],256],8518:[[100],256],8519:[[101],256],8520:[[105],256],8521:[[106],256],8528:[[49,8260,55],256],8529:[[49,8260,57],256],8530:[[49,8260,49,48],256],8531:[[49,8260,51],256],8532:[[50,8260,51],256],8533:[[49,8260,53],256],8534:[[50,8260,53],256],8535:[[51,8260,53],256],8536:[[52,8260,53],256],8537:[[49,8260,54],256],8538:[[53,8260,54],256],8539:[[49,8260,56],256],8540:[[51,8260,56],256],8541:[[53,8260,56],256],8542:[[55,8260,56],256],8543:[[49,8260],256],8544:[[73],256],8545:[[73,73],256],8546:[[73,73,73],256],8547:[[73,86],256],8548:[[86],256],8549:[[86,73],256],8550:[[86,73,73],256],8551:[[86,73,73,73],256],8552:[[73,88],256],8553:[[88],256],8554:[[88,73],256],8555:[[88,73,73],256],8556:[[76],256],8557:[[67],256],8558:[[68],256],8559:[[77],256],8560:[[105],256],8561:[[105,105],256],8562:[[105,105,105],256],8563:[[105,118],256],8564:[[118],256],8565:[[118,105],256],8566:[[118,105,105],256],8567:[[118,105,105,105],256],8568:[[105,120],256],8569:[[120],256],8570:[[120,105],256],8571:[[120,105,105],256],8572:[[108],256],8573:[[99],256],8574:[[100],256],8575:[[109],256],8585:[[48,8260,51],256],8592:[,,{824:8602}],8594:[,,{824:8603}],8596:[,,{824:8622}],8602:[[8592,824]],8603:[[8594,824]],8622:[[8596,824]],8653:[[8656,824]],8654:[[8660,824]],8655:[[8658,824]],8656:[,,{824:8653}],8658:[,,{824:8655}],8660:[,,{824:8654}]},8704:{8707:[,,{824:8708}],8708:[[8707,824]],8712:[,,{824:8713}],8713:[[8712,824]],8715:[,,{824:8716}],8716:[[8715,824]],8739:[,,{824:8740}],8740:[[8739,824]],8741:[,,{824:8742}],8742:[[8741,824]],8748:[[8747,8747],256],8749:[[8747,8747,8747],256],8751:[[8750,8750],256],8752:[[8750,8750,8750],256],8764:[,,{824:8769}],8769:[[8764,824]],8771:[,,{824:8772}],8772:[[8771,824]],8773:[,,{824:8775}],8775:[[8773,824]],8776:[,,{824:8777}],8777:[[8776,824]],8781:[,,{824:8813}],8800:[[61,824]],8801:[,,{824:8802}],8802:[[8801,824]],8804:[,,{824:8816}],8805:[,,{824:8817}],8813:[[8781,824]],8814:[[60,824]],8815:[[62,824]],8816:[[8804,824]],8817:[[8805,824]],8818:[,,{824:8820}],8819:[,,{824:8821}],8820:[[8818,824]],8821:[[8819,824]],8822:[,,{824:8824}],8823:[,,{824:8825}],8824:[[8822,824]],8825:[[8823,824]],8826:[,,{824:8832}],8827:[,,{824:8833}],8828:[,,{824:8928}],8829:[,,{824:8929}],8832:[[8826,824]],8833:[[8827,824]],8834:[,,{824:8836}],8835:[,,{824:8837}],8836:[[8834,824]],8837:[[8835,824]],8838:[,,{824:8840}],8839:[,,{824:8841}],8840:[[8838,824]],8841:[[8839,824]],8849:[,,{824:8930}],8850:[,,{824:8931}],8866:[,,{824:8876}],8872:[,,{824:8877}],8873:[,,{824:8878}],8875:[,,{824:8879}],8876:[[8866,824]],8877:[[8872,824]],8878:[[8873,824]],8879:[[8875,824]],8882:[,,{824:8938}],8883:[,,{824:8939}],8884:[,,{824:8940}],8885:[,,{824:8941}],8928:[[8828,824]],8929:[[8829,824]],8930:[[8849,824]],8931:[[8850,824]],8938:[[8882,824]],8939:[[8883,824]],8940:[[8884,824]],8941:[[8885,824]]},8960:{9001:[[12296]],9002:[[12297]]},9216:{9312:[[49],256],9313:[[50],256],9314:[[51],256],9315:[[52],256],9316:[[53],256],9317:[[54],256],9318:[[55],256],9319:[[56],256],9320:[[57],256],9321:[[49,48],256],9322:[[49,49],256],9323:[[49,50],256],9324:[[49,51],256],9325:[[49,52],256],9326:[[49,53],256],9327:[[49,54],256],9328:[[49,55],256],9329:[[49,56],256],9330:[[49,57],256],9331:[[50,48],256],9332:[[40,49,41],256],9333:[[40,50,41],256],9334:[[40,51,41],256],9335:[[40,52,41],256],9336:[[40,53,41],256],9337:[[40,54,41],256],9338:[[40,55,41],256],9339:[[40,56,41],256],9340:[[40,57,41],256],9341:[[40,49,48,41],256],9342:[[40,49,49,41],256],9343:[[40,49,50,41],256],9344:[[40,49,51,41],256],9345:[[40,49,52,41],256],9346:[[40,49,53,41],256],9347:[[40,49,54,41],256],9348:[[40,49,55,41],256],9349:[[40,49,56,41],256],9350:[[40,49,57,41],256],9351:[[40,50,48,41],256],9352:[[49,46],256],9353:[[50,46],256],9354:[[51,46],256],9355:[[52,46],256],9356:[[53,46],256],9357:[[54,46],256],9358:[[55,46],256],9359:[[56,46],256],9360:[[57,46],256],9361:[[49,48,46],256],9362:[[49,49,46],256],9363:[[49,50,46],256],9364:[[49,51,46],256],9365:[[49,52,46],256],9366:[[49,53,46],256],9367:[[49,54,46],256],9368:[[49,55,46],256],9369:[[49,56,46],256],9370:[[49,57,46],256],9371:[[50,48,46],256],9372:[[40,97,41],256],9373:[[40,98,41],256],9374:[[40,99,41],256],9375:[[40,100,41],256],9376:[[40,101,41],256],9377:[[40,102,41],256],9378:[[40,103,41],256],9379:[[40,104,41],256],9380:[[40,105,41],256],9381:[[40,106,41],256],9382:[[40,107,41],256],9383:[[40,108,41],256],9384:[[40,109,41],256],9385:[[40,110,41],256],9386:[[40,111,41],256],9387:[[40,112,41],256],9388:[[40,113,41],256],9389:[[40,114,41],256],9390:[[40,115,41],256],9391:[[40,116,41],256],9392:[[40,117,41],256],9393:[[40,118,41],256],9394:[[40,119,41],256],9395:[[40,120,41],256],9396:[[40,121,41],256],9397:[[40,122,41],256],9398:[[65],256],9399:[[66],256],9400:[[67],256],9401:[[68],256],9402:[[69],256],9403:[[70],256],9404:[[71],256],9405:[[72],256],9406:[[73],256],9407:[[74],256],9408:[[75],256],9409:[[76],256],9410:[[77],256],9411:[[78],256],9412:[[79],256],9413:[[80],256],9414:[[81],256],9415:[[82],256],9416:[[83],256],9417:[[84],256],9418:[[85],256],9419:[[86],256],9420:[[87],256],9421:[[88],256],9422:[[89],256],9423:[[90],256],9424:[[97],256],9425:[[98],256],9426:[[99],256],9427:[[100],256],9428:[[101],256],9429:[[102],256],9430:[[103],256],9431:[[104],256],9432:[[105],256],9433:[[106],256],9434:[[107],256],9435:[[108],256],9436:[[109],256],9437:[[110],256],9438:[[111],256],9439:[[112],256],9440:[[113],256],9441:[[114],256],9442:[[115],256],9443:[[116],256],9444:[[117],256],9445:[[118],256],9446:[[119],256],9447:[[120],256],9448:[[121],256],9449:[[122],256],9450:[[48],256]},10752:{10764:[[8747,8747,8747,8747],256],10868:[[58,58,61],256],10869:[[61,61],256],10870:[[61,61,61],256],10972:[[10973,824],512]},11264:{11388:[[106],256],11389:[[86],256],11503:[,230],11504:[,230],11505:[,230]},11520:{11631:[[11617],256],11647:[,9],11744:[,230],11745:[,230],11746:[,230],11747:[,230],11748:[,230],11749:[,230],11750:[,230],11751:[,230],11752:[,230],11753:[,230],11754:[,230],11755:[,230],11756:[,230],11757:[,230],11758:[,230],11759:[,230],11760:[,230],11761:[,230],11762:[,230],11763:[,230],11764:[,230],11765:[,230],11766:[,230],11767:[,230],11768:[,230],11769:[,230],11770:[,230],11771:[,230],11772:[,230],11773:[,230],11774:[,230],11775:[,230]},11776:{11935:[[27597],256],12019:[[40863],256]},12032:{12032:[[19968],256],12033:[[20008],256],12034:[[20022],256],12035:[[20031],256],12036:[[20057],256],12037:[[20101],256],12038:[[20108],256],12039:[[20128],256],12040:[[20154],256],12041:[[20799],256],12042:[[20837],256],12043:[[20843],256],12044:[[20866],256],12045:[[20886],256],12046:[[20907],256],12047:[[20960],256],12048:[[20981],256],12049:[[20992],256],12050:[[21147],256],12051:[[21241],256],12052:[[21269],256],12053:[[21274],256],12054:[[21304],256],12055:[[21313],256],12056:[[21340],256],12057:[[21353],256],12058:[[21378],256],12059:[[21430],256],12060:[[21448],256],12061:[[21475],256],12062:[[22231],256],12063:[[22303],256],12064:[[22763],256],12065:[[22786],256],12066:[[22794],256],12067:[[22805],256],12068:[[22823],256],12069:[[22899],256],12070:[[23376],256],12071:[[23424],256],12072:[[23544],256],12073:[[23567],256],12074:[[23586],256],12075:[[23608],256],12076:[[23662],256],12077:[[23665],256],12078:[[24027],256],12079:[[24037],256],12080:[[24049],256],12081:[[24062],256],12082:[[24178],256],12083:[[24186],256],12084:[[24191],256],12085:[[24308],256],12086:[[24318],256],12087:[[24331],256],12088:[[24339],256],12089:[[24400],256],12090:[[24417],256],12091:[[24435],256],12092:[[24515],256],12093:[[25096],256],12094:[[25142],256],12095:[[25163],256],12096:[[25903],256],12097:[[25908],256],12098:[[25991],256],12099:[[26007],256],12100:[[26020],256],12101:[[26041],256],12102:[[26080],256],12103:[[26085],256],12104:[[26352],256],12105:[[26376],256],12106:[[26408],256],12107:[[27424],256],12108:[[27490],256],12109:[[27513],256],12110:[[27571],256],12111:[[27595],256],12112:[[27604],256],12113:[[27611],256],12114:[[27663],256],12115:[[27668],256],12116:[[27700],256],12117:[[28779],256],12118:[[29226],256],12119:[[29238],256],12120:[[29243],256],12121:[[29247],256],12122:[[29255],256],12123:[[29273],256],12124:[[29275],256],12125:[[29356],256],12126:[[29572],256],12127:[[29577],256],12128:[[29916],256],12129:[[29926],256],12130:[[29976],256],12131:[[29983],256],12132:[[29992],256],12133:[[3e4],256],12134:[[30091],256],12135:[[30098],256],12136:[[30326],256],12137:[[30333],256],12138:[[30382],256],12139:[[30399],256],12140:[[30446],256],12141:[[30683],256],12142:[[30690],256],12143:[[30707],256],12144:[[31034],256],12145:[[31160],256],12146:[[31166],256],12147:[[31348],256],12148:[[31435],256],12149:[[31481],256],12150:[[31859],256],12151:[[31992],256],12152:[[32566],256],12153:[[32593],256],12154:[[32650],256],12155:[[32701],256],12156:[[32769],256],12157:[[32780],256],12158:[[32786],256],12159:[[32819],256],12160:[[32895],256],12161:[[32905],256],12162:[[33251],256],12163:[[33258],256],12164:[[33267],256],12165:[[33276],256],12166:[[33292],256],12167:[[33307],256],12168:[[33311],256],12169:[[33390],256],12170:[[33394],256],12171:[[33400],256],12172:[[34381],256],12173:[[34411],256],12174:[[34880],256],12175:[[34892],256],12176:[[34915],256],12177:[[35198],256],12178:[[35211],256],12179:[[35282],256],12180:[[35328],256],12181:[[35895],256],12182:[[35910],256],12183:[[35925],256],12184:[[35960],256],12185:[[35997],256],12186:[[36196],256],12187:[[36208],256],12188:[[36275],256],12189:[[36523],256],12190:[[36554],256],12191:[[36763],256],12192:[[36784],256],12193:[[36789],256],12194:[[37009],256],12195:[[37193],256],12196:[[37318],256],12197:[[37324],256],12198:[[37329],256],12199:[[38263],256],12200:[[38272],256],12201:[[38428],256],12202:[[38582],256],12203:[[38585],256],12204:[[38632],256],12205:[[38737],256],12206:[[38750],256],12207:[[38754],256],12208:[[38761],256],12209:[[38859],256],12210:[[38893],256],12211:[[38899],256],12212:[[38913],256],12213:[[39080],256],12214:[[39131],256],12215:[[39135],256],12216:[[39318],256],12217:[[39321],256],12218:[[39340],256],12219:[[39592],256],12220:[[39640],256],12221:[[39647],256],12222:[[39717],256],12223:[[39727],256],12224:[[39730],256],12225:[[39740],256],12226:[[39770],256],12227:[[40165],256],12228:[[40565],256],12229:[[40575],256],12230:[[40613],256],12231:[[40635],256],12232:[[40643],256],12233:[[40653],256],12234:[[40657],256],12235:[[40697],256],12236:[[40701],256],12237:[[40718],256],12238:[[40723],256],12239:[[40736],256],12240:[[40763],256],12241:[[40778],256],12242:[[40786],256],12243:[[40845],256],12244:[[40860],256],12245:[[40864],256]},12288:{12288:[[32],256],12330:[,218],12331:[,228],12332:[,232],12333:[,222],12334:[,224],12335:[,224],12342:[[12306],256],12344:[[21313],256],12345:[[21316],256],12346:[[21317],256],12358:[,,{12441:12436}],12363:[,,{12441:12364}],12364:[[12363,12441]],12365:[,,{12441:12366}],12366:[[12365,12441]],12367:[,,{12441:12368}],12368:[[12367,12441]],12369:[,,{12441:12370}],12370:[[12369,12441]],12371:[,,{12441:12372}],12372:[[12371,12441]],12373:[,,{12441:12374}],12374:[[12373,12441]],12375:[,,{12441:12376}],12376:[[12375,12441]],12377:[,,{12441:12378}],12378:[[12377,12441]],12379:[,,{12441:12380}],12380:[[12379,12441]],12381:[,,{12441:12382}],12382:[[12381,12441]],12383:[,,{12441:12384}],12384:[[12383,12441]],12385:[,,{12441:12386}],12386:[[12385,12441]],12388:[,,{12441:12389}],12389:[[12388,12441]],12390:[,,{12441:12391}],12391:[[12390,12441]],12392:[,,{12441:12393}],12393:[[12392,12441]],12399:[,,{12441:12400,12442:12401}],12400:[[12399,12441]],12401:[[12399,12442]],12402:[,,{12441:12403,12442:12404}],12403:[[12402,12441]],12404:[[12402,12442]],12405:[,,{12441:12406,12442:12407}],12406:[[12405,12441]],12407:[[12405,12442]],12408:[,,{12441:12409,12442:12410}],12409:[[12408,12441]],12410:[[12408,12442]],12411:[,,{12441:12412,12442:12413}],12412:[[12411,12441]],12413:[[12411,12442]],12436:[[12358,12441]],12441:[,8],12442:[,8],12443:[[32,12441],256],12444:[[32,12442],256],12445:[,,{12441:12446}],12446:[[12445,12441]],12447:[[12424,12426],256],12454:[,,{12441:12532}],12459:[,,{12441:12460}],12460:[[12459,12441]],12461:[,,{12441:12462}],12462:[[12461,12441]],12463:[,,{12441:12464}],12464:[[12463,12441]],12465:[,,{12441:12466}],12466:[[12465,12441]],12467:[,,{12441:12468}],12468:[[12467,12441]],12469:[,,{12441:12470}],12470:[[12469,12441]],12471:[,,{12441:12472}],12472:[[12471,12441]],12473:[,,{12441:12474}],12474:[[12473,12441]],12475:[,,{12441:12476}],12476:[[12475,12441]],12477:[,,{12441:12478}],12478:[[12477,12441]],12479:[,,{12441:12480}],12480:[[12479,12441]],12481:[,,{12441:12482}],12482:[[12481,12441]],12484:[,,{12441:12485}],12485:[[12484,12441]],12486:[,,{12441:12487}],12487:[[12486,12441]],12488:[,,{12441:12489}],12489:[[12488,12441]],12495:[,,{12441:12496,12442:12497}],12496:[[12495,12441]],12497:[[12495,12442]],12498:[,,{12441:12499,12442:12500}],12499:[[12498,12441]],12500:[[12498,12442]],12501:[,,{12441:12502,12442:12503}],12502:[[12501,12441]],12503:[[12501,12442]],12504:[,,{12441:12505,12442:12506}],12505:[[12504,12441]],12506:[[12504,12442]],12507:[,,{12441:12508,12442:12509}],12508:[[12507,12441]],12509:[[12507,12442]],12527:[,,{12441:12535}],12528:[,,{12441:12536}],12529:[,,{12441:12537}],12530:[,,{12441:12538}],12532:[[12454,12441]],12535:[[12527,12441]],12536:[[12528,12441]],12537:[[12529,12441]],12538:[[12530,12441]],12541:[,,{12441:12542}],12542:[[12541,12441]],12543:[[12467,12488],256]},12544:{12593:[[4352],256],12594:[[4353],256],12595:[[4522],256],12596:[[4354],256],12597:[[4524],256],12598:[[4525],256],12599:[[4355],256],12600:[[4356],256],12601:[[4357],256],12602:[[4528],256],12603:[[4529],256],12604:[[4530],256],12605:[[4531],256],12606:[[4532],256],12607:[[4533],256],12608:[[4378],256],12609:[[4358],256],12610:[[4359],256],12611:[[4360],256],12612:[[4385],256],12613:[[4361],256],12614:[[4362],256],12615:[[4363],256],12616:[[4364],256],12617:[[4365],256],12618:[[4366],256],12619:[[4367],256],12620:[[4368],256],12621:[[4369],256],12622:[[4370],256],12623:[[4449],256],12624:[[4450],256],12625:[[4451],256],12626:[[4452],256],12627:[[4453],256],12628:[[4454],256],12629:[[4455],256],12630:[[4456],256],12631:[[4457],256],12632:[[4458],256],12633:[[4459],256],12634:[[4460],256],12635:[[4461],256],12636:[[4462],256],12637:[[4463],256],12638:[[4464],256],12639:[[4465],256],12640:[[4466],256],12641:[[4467],256],12642:[[4468],256],12643:[[4469],256],12644:[[4448],256],12645:[[4372],256],12646:[[4373],256],12647:[[4551],256],12648:[[4552],256],12649:[[4556],256],12650:[[4558],256],12651:[[4563],256],12652:[[4567],256],12653:[[4569],256],12654:[[4380],256],12655:[[4573],256],12656:[[4575],256],12657:[[4381],256],12658:[[4382],256],12659:[[4384],256],12660:[[4386],256],12661:[[4387],256],12662:[[4391],256],12663:[[4393],256],12664:[[4395],256],12665:[[4396],256],12666:[[4397],256],12667:[[4398],256],12668:[[4399],256],12669:[[4402],256],12670:[[4406],256],12671:[[4416],256],12672:[[4423],256],12673:[[4428],256],12674:[[4593],256],12675:[[4594],256],12676:[[4439],256],12677:[[4440],256],12678:[[4441],256],12679:[[4484],256],12680:[[4485],256],12681:[[4488],256],12682:[[4497],256],12683:[[4498],256],12684:[[4500],256],12685:[[4510],256],12686:[[4513],256],12690:[[19968],256],12691:[[20108],256],12692:[[19977],256],12693:[[22235],256],12694:[[19978],256],12695:[[20013],256],12696:[[19979],256],12697:[[30002],256],12698:[[20057],256],12699:[[19993],256],12700:[[19969],256],12701:[[22825],256],12702:[[22320],256],12703:[[20154],256]},12800:{12800:[[40,4352,41],256],12801:[[40,4354,41],256],12802:[[40,4355,41],256],12803:[[40,4357,41],256],12804:[[40,4358,41],256],12805:[[40,4359,41],256],12806:[[40,4361,41],256],12807:[[40,4363,41],256],12808:[[40,4364,41],256],12809:[[40,4366,41],256],12810:[[40,4367,41],256],12811:[[40,4368,41],256],12812:[[40,4369,41],256],12813:[[40,4370,41],256],12814:[[40,4352,4449,41],256],12815:[[40,4354,4449,41],256],12816:[[40,4355,4449,41],256],12817:[[40,4357,4449,41],256],12818:[[40,4358,4449,41],256],12819:[[40,4359,4449,41],256],12820:[[40,4361,4449,41],256],12821:[[40,4363,4449,41],256],12822:[[40,4364,4449,41],256],12823:[[40,4366,4449,41],256],12824:[[40,4367,4449,41],256],12825:[[40,4368,4449,41],256],12826:[[40,4369,4449,41],256],12827:[[40,4370,4449,41],256],12828:[[40,4364,4462,41],256],12829:[[40,4363,4457,4364,4453,4523,41],256],12830:[[40,4363,4457,4370,4462,41],256],12832:[[40,19968,41],256],12833:[[40,20108,41],256],12834:[[40,19977,41],256],12835:[[40,22235,41],256],12836:[[40,20116,41],256],12837:[[40,20845,41],256],12838:[[40,19971,41],256],12839:[[40,20843,41],256],12840:[[40,20061,41],256],12841:[[40,21313,41],256],12842:[[40,26376,41],256],12843:[[40,28779,41],256],12844:[[40,27700,41],256],12845:[[40,26408,41],256],12846:[[40,37329,41],256],12847:[[40,22303,41],256],12848:[[40,26085,41],256],12849:[[40,26666,41],256],12850:[[40,26377,41],256],12851:[[40,31038,41],256],12852:[[40,21517,41],256],12853:[[40,29305,41],256],12854:[[40,36001,41],256],12855:[[40,31069,41],256],12856:[[40,21172,41],256],12857:[[40,20195,41],256],12858:[[40,21628,41],256],12859:[[40,23398,41],256],12860:[[40,30435,41],256],12861:[[40,20225,41],256],12862:[[40,36039,41],256],12863:[[40,21332,41],256],12864:[[40,31085,41],256],12865:[[40,20241,41],256],12866:[[40,33258,41],256],12867:[[40,33267,41],256],12868:[[21839],256],12869:[[24188],256],12870:[[25991],256],12871:[[31631],256],12880:[[80,84,69],256],12881:[[50,49],256],12882:[[50,50],256],12883:[[50,51],256],12884:[[50,52],256],12885:[[50,53],256],12886:[[50,54],256],12887:[[50,55],256],12888:[[50,56],256],12889:[[50,57],256],12890:[[51,48],256],12891:[[51,49],256],12892:[[51,50],256],12893:[[51,51],256],12894:[[51,52],256],12895:[[51,53],256],12896:[[4352],256],12897:[[4354],256],12898:[[4355],256],12899:[[4357],256],12900:[[4358],256],12901:[[4359],256],12902:[[4361],256],12903:[[4363],256],12904:[[4364],256],12905:[[4366],256],12906:[[4367],256],12907:[[4368],256],12908:[[4369],256],12909:[[4370],256],12910:[[4352,4449],256],12911:[[4354,4449],256],12912:[[4355,4449],256],12913:[[4357,4449],256],12914:[[4358,4449],256],12915:[[4359,4449],256],12916:[[4361,4449],256],12917:[[4363,4449],256],12918:[[4364,4449],256],12919:[[4366,4449],256],12920:[[4367,4449],256],12921:[[4368,4449],256],12922:[[4369,4449],256],12923:[[4370,4449],256],12924:[[4366,4449,4535,4352,4457],256],12925:[[4364,4462,4363,4468],256],12926:[[4363,4462],256],12928:[[19968],256],12929:[[20108],256],12930:[[19977],256],12931:[[22235],256],12932:[[20116],256],12933:[[20845],256],12934:[[19971],256],12935:[[20843],256],12936:[[20061],256],12937:[[21313],256],12938:[[26376],256],12939:[[28779],256],12940:[[27700],256],12941:[[26408],256],12942:[[37329],256],12943:[[22303],256],12944:[[26085],256],12945:[[26666],256],12946:[[26377],256],12947:[[31038],256],12948:[[21517],256],12949:[[29305],256],12950:[[36001],256],12951:[[31069],256],12952:[[21172],256],12953:[[31192],256],12954:[[30007],256],12955:[[22899],256],12956:[[36969],256],12957:[[20778],256],12958:[[21360],256],12959:[[27880],256],12960:[[38917],256],12961:[[20241],256],12962:[[20889],256],12963:[[27491],256],12964:[[19978],256],12965:[[20013],256],12966:[[19979],256],12967:[[24038],256],12968:[[21491],256],12969:[[21307],256],12970:[[23447],256],12971:[[23398],256],12972:[[30435],256],12973:[[20225],256],12974:[[36039],256],12975:[[21332],256],12976:[[22812],256],12977:[[51,54],256],12978:[[51,55],256],12979:[[51,56],256],12980:[[51,57],256],12981:[[52,48],256],12982:[[52,49],256],12983:[[52,50],256],12984:[[52,51],256],12985:[[52,52],256],12986:[[52,53],256],12987:[[52,54],256],12988:[[52,55],256],12989:[[52,56],256],12990:[[52,57],256],12991:[[53,48],256],12992:[[49,26376],256],12993:[[50,26376],256],12994:[[51,26376],256],12995:[[52,26376],256],12996:[[53,26376],256],12997:[[54,26376],256],12998:[[55,26376],256],12999:[[56,26376],256],13e3:[[57,26376],256],13001:[[49,48,26376],256],13002:[[49,49,26376],256],13003:[[49,50,26376],256],13004:[[72,103],256],13005:[[101,114,103],256],13006:[[101,86],256],13007:[[76,84,68],256],13008:[[12450],256],13009:[[12452],256],13010:[[12454],256],13011:[[12456],256],13012:[[12458],256],13013:[[12459],256],13014:[[12461],256],13015:[[12463],256],13016:[[12465],256],13017:[[12467],256],13018:[[12469],256],13019:[[12471],256],13020:[[12473],256],13021:[[12475],256],13022:[[12477],256],13023:[[12479],256],13024:[[12481],256],13025:[[12484],256],13026:[[12486],256],13027:[[12488],256],13028:[[12490],256],13029:[[12491],256],13030:[[12492],256],13031:[[12493],256],13032:[[12494],256],13033:[[12495],256],13034:[[12498],256],13035:[[12501],256],13036:[[12504],256],13037:[[12507],256],13038:[[12510],256],13039:[[12511],256],13040:[[12512],256],13041:[[12513],256],13042:[[12514],256],13043:[[12516],256],13044:[[12518],256],13045:[[12520],256],13046:[[12521],256],13047:[[12522],256],13048:[[12523],256],13049:[[12524],256],13050:[[12525],256],13051:[[12527],256],13052:[[12528],256],13053:[[12529],256],13054:[[12530],256]},13056:{13056:[[12450,12497,12540,12488],256],13057:[[12450,12523,12501,12449],256],13058:[[12450,12531,12506,12450],256],13059:[[12450,12540,12523],256],13060:[[12452,12491,12531,12464],256],13061:[[12452,12531,12481],256],13062:[[12454,12457,12531],256],13063:[[12456,12473,12463,12540,12489],256],13064:[[12456,12540,12459,12540],256],13065:[[12458,12531,12473],256],13066:[[12458,12540,12512],256],13067:[[12459,12452,12522],256],13068:[[12459,12521,12483,12488],256],13069:[[12459,12525,12522,12540],256],13070:[[12460,12525,12531],256],13071:[[12460,12531,12510],256],13072:[[12462,12460],256],13073:[[12462,12491,12540],256],13074:[[12461,12517,12522,12540],256],13075:[[12462,12523,12480,12540],256],13076:[[12461,12525],256],13077:[[12461,12525,12464,12521,12512],256],13078:[[12461,12525,12513,12540,12488,12523],256],13079:[[12461,12525,12527,12483,12488],256],13080:[[12464,12521,12512],256],13081:[[12464,12521,12512,12488,12531],256],13082:[[12463,12523,12476,12452,12525],256],13083:[[12463,12525,12540,12493],256],13084:[[12465,12540,12473],256],13085:[[12467,12523,12490],256],13086:[[12467,12540,12509],256],13087:[[12469,12452,12463,12523],256],13088:[[12469,12531,12481,12540,12512],256],13089:[[12471,12522,12531,12464],256],13090:[[12475,12531,12481],256],13091:[[12475,12531,12488],256],13092:[[12480,12540,12473],256],13093:[[12487,12471],256],13094:[[12489,12523],256],13095:[[12488,12531],256],13096:[[12490,12494],256],13097:[[12494,12483,12488],256],13098:[[12495,12452,12484],256],13099:[[12497,12540,12475,12531,12488],256],13100:[[12497,12540,12484],256],13101:[[12496,12540,12524,12523],256],13102:[[12500,12450,12473,12488,12523],256],13103:[[12500,12463,12523],256],13104:[[12500,12467],256],13105:[[12499,12523],256],13106:[[12501,12449,12521,12483,12489],256],13107:[[12501,12451,12540,12488],256],13108:[[12502,12483,12471,12455,12523],256],13109:[[12501,12521,12531],256],13110:[[12504,12463,12479,12540,12523],256],13111:[[12506,12477],256],13112:[[12506,12491,12498],256],13113:[[12504,12523,12484],256],13114:[[12506,12531,12473],256],13115:[[12506,12540,12472],256],13116:[[12505,12540,12479],256],13117:[[12509,12452,12531,12488],256],13118:[[12508,12523,12488],256],13119:[[12507,12531],256],13120:[[12509,12531,12489],256],13121:[[12507,12540,12523],256],13122:[[12507,12540,12531],256],13123:[[12510,12452,12463,12525],256],13124:[[12510,12452,12523],256],13125:[[12510,12483,12495],256],13126:[[12510,12523,12463],256],13127:[[12510,12531,12471,12519,12531],256],13128:[[12511,12463,12525,12531],256],13129:[[12511,12522],256],13130:[[12511,12522,12496,12540,12523],256],13131:[[12513,12460],256],13132:[[12513,12460,12488,12531],256],13133:[[12513,12540,12488,12523],256],13134:[[12516,12540,12489],256],13135:[[12516,12540,12523],256],13136:[[12518,12450,12531],256],13137:[[12522,12483,12488,12523],256],13138:[[12522,12521],256],13139:[[12523,12500,12540],256],13140:[[12523,12540,12502,12523],256],13141:[[12524,12512],256],13142:[[12524,12531,12488,12466,12531],256],13143:[[12527,12483,12488],256],13144:[[48,28857],256],13145:[[49,28857],256],13146:[[50,28857],256],13147:[[51,28857],256],13148:[[52,28857],256],13149:[[53,28857],256],13150:[[54,28857],256],13151:[[55,28857],256],13152:[[56,28857],256],13153:[[57,28857],256],13154:[[49,48,28857],256],13155:[[49,49,28857],256],13156:[[49,50,28857],256],13157:[[49,51,28857],256],13158:[[49,52,28857],256],13159:[[49,53,28857],256],13160:[[49,54,28857],256],13161:[[49,55,28857],256],13162:[[49,56,28857],256],13163:[[49,57,28857],256],13164:[[50,48,28857],256],13165:[[50,49,28857],256],13166:[[50,50,28857],256],13167:[[50,51,28857],256],13168:[[50,52,28857],256],13169:[[104,80,97],256],13170:[[100,97],256],13171:[[65,85],256],13172:[[98,97,114],256],13173:[[111,86],256],13174:[[112,99],256],13175:[[100,109],256],13176:[[100,109,178],256],13177:[[100,109,179],256],13178:[[73,85],256],13179:[[24179,25104],256],13180:[[26157,21644],256],13181:[[22823,27491],256],13182:[[26126,27835],256],13183:[[26666,24335,20250,31038],256],13184:[[112,65],256],13185:[[110,65],256],13186:[[956,65],256],13187:[[109,65],256],13188:[[107,65],256],13189:[[75,66],256],13190:[[77,66],256],13191:[[71,66],256],13192:[[99,97,108],256],13193:[[107,99,97,108],256],13194:[[112,70],256],13195:[[110,70],256],13196:[[956,70],256],13197:[[956,103],256],13198:[[109,103],256],13199:[[107,103],256],13200:[[72,122],256],13201:[[107,72,122],256],13202:[[77,72,122],256],13203:[[71,72,122],256],13204:[[84,72,122],256],13205:[[956,8467],256],13206:[[109,8467],256],13207:[[100,8467],256],13208:[[107,8467],256],13209:[[102,109],256],13210:[[110,109],256],13211:[[956,109],256],13212:[[109,109],256],13213:[[99,109],256],13214:[[107,109],256],13215:[[109,109,178],256],13216:[[99,109,178],256],13217:[[109,178],256],13218:[[107,109,178],256],13219:[[109,109,179],256],13220:[[99,109,179],256],13221:[[109,179],256],13222:[[107,109,179],256],13223:[[109,8725,115],256],13224:[[109,8725,115,178],256],13225:[[80,97],256],13226:[[107,80,97],256],13227:[[77,80,97],256],13228:[[71,80,97],256],13229:[[114,97,100],256],13230:[[114,97,100,8725,115],256],13231:[[114,97,100,8725,115,178],256],13232:[[112,115],256],13233:[[110,115],256],13234:[[956,115],256],13235:[[109,115],256],13236:[[112,86],256],13237:[[110,86],256],13238:[[956,86],256],13239:[[109,86],256],13240:[[107,86],256],13241:[[77,86],256],13242:[[112,87],256],13243:[[110,87],256],13244:[[956,87],256],13245:[[109,87],256],13246:[[107,87],256],13247:[[77,87],256],13248:[[107,937],256],13249:[[77,937],256],13250:[[97,46,109,46],256],13251:[[66,113],256],13252:[[99,99],256],13253:[[99,100],256],13254:[[67,8725,107,103],256],13255:[[67,111,46],256],13256:[[100,66],256],13257:[[71,121],256],13258:[[104,97],256],13259:[[72,80],256],13260:[[105,110],256],13261:[[75,75],256],13262:[[75,77],256],13263:[[107,116],256],13264:[[108,109],256],13265:[[108,110],256],13266:[[108,111,103],256],13267:[[108,120],256],13268:[[109,98],256],13269:[[109,105,108],256],13270:[[109,111,108],256],13271:[[80,72],256],13272:[[112,46,109,46],256],13273:[[80,80,77],256],13274:[[80,82],256],13275:[[115,114],256],13276:[[83,118],256],13277:[[87,98],256],13278:[[86,8725,109],256],13279:[[65,8725,109],256],13280:[[49,26085],256],13281:[[50,26085],256],13282:[[51,26085],256],13283:[[52,26085],256],13284:[[53,26085],256],13285:[[54,26085],256],13286:[[55,26085],256],13287:[[56,26085],256],13288:[[57,26085],256],13289:[[49,48,26085],256],13290:[[49,49,26085],256],13291:[[49,50,26085],256],13292:[[49,51,26085],256],13293:[[49,52,26085],256],13294:[[49,53,26085],256],13295:[[49,54,26085],256],13296:[[49,55,26085],256],13297:[[49,56,26085],256],13298:[[49,57,26085],256],13299:[[50,48,26085],256],13300:[[50,49,26085],256],13301:[[50,50,26085],256],13302:[[50,51,26085],256],13303:[[50,52,26085],256],13304:[[50,53,26085],256],13305:[[50,54,26085],256],13306:[[50,55,26085],256],13307:[[50,56,26085],256],13308:[[50,57,26085],256],13309:[[51,48,26085],256],13310:[[51,49,26085],256],13311:[[103,97,108],256]},27136:{92912:[,1],92913:[,1],92914:[,1],92915:[,1],92916:[,1]},27392:{92976:[,230],92977:[,230],92978:[,230],92979:[,230],92980:[,230],92981:[,230],92982:[,230]},42496:{42607:[,230],42612:[,230],42613:[,230],42614:[,230],42615:[,230],42616:[,230],42617:[,230],42618:[,230],42619:[,230],42620:[,230],42621:[,230],42652:[[1098],256],42653:[[1100],256],42655:[,230],42736:[,230],42737:[,230]},42752:{42864:[[42863],256],43e3:[[294],256],43001:[[339],256]},43008:{43014:[,9],43204:[,9],43232:[,230],43233:[,230],43234:[,230],43235:[,230],43236:[,230],43237:[,230],43238:[,230],43239:[,230],43240:[,230],43241:[,230],43242:[,230],43243:[,230],43244:[,230],43245:[,230],43246:[,230],43247:[,230],43248:[,230],43249:[,230]},43264:{43307:[,220],43308:[,220],43309:[,220],43347:[,9],43443:[,7],43456:[,9]},43520:{43696:[,230],43698:[,230],43699:[,230],43700:[,220],43703:[,230],43704:[,230],43710:[,230],43711:[,230],43713:[,230],43766:[,9]},43776:{43868:[[42791],256],43869:[[43831],256],43870:[[619],256],43871:[[43858],256],44013:[,9]},48128:{113822:[,1]},53504:{119134:[[119127,119141],512],119135:[[119128,119141],512],119136:[[119135,119150],512],119137:[[119135,119151],512],119138:[[119135,119152],512],119139:[[119135,119153],512],119140:[[119135,119154],512],119141:[,216],119142:[,216],119143:[,1],119144:[,1],119145:[,1],119149:[,226],119150:[,216],119151:[,216],119152:[,216],119153:[,216],119154:[,216],119163:[,220],119164:[,220],119165:[,220],119166:[,220],119167:[,220],119168:[,220],119169:[,220],119170:[,220],119173:[,230],119174:[,230],119175:[,230],119176:[,230],119177:[,230],119178:[,220],119179:[,220],119210:[,230],119211:[,230],119212:[,230],119213:[,230],119227:[[119225,119141],512],119228:[[119226,119141],512],119229:[[119227,119150],512],119230:[[119228,119150],512],119231:[[119227,119151],512],119232:[[119228,119151],512]},53760:{119362:[,230],119363:[,230],119364:[,230]},54272:{119808:[[65],256],119809:[[66],256],119810:[[67],256],119811:[[68],256],119812:[[69],256],119813:[[70],256],119814:[[71],256],119815:[[72],256],119816:[[73],256],119817:[[74],256],119818:[[75],256],119819:[[76],256],119820:[[77],256],119821:[[78],256],119822:[[79],256],119823:[[80],256],119824:[[81],256],119825:[[82],256],119826:[[83],256],119827:[[84],256],119828:[[85],256],119829:[[86],256],119830:[[87],256],119831:[[88],256],119832:[[89],256],119833:[[90],256],119834:[[97],256],119835:[[98],256],119836:[[99],256],119837:[[100],256],119838:[[101],256],119839:[[102],256],119840:[[103],256],119841:[[104],256],119842:[[105],256],119843:[[106],256],119844:[[107],256],119845:[[108],256],119846:[[109],256],119847:[[110],256],119848:[[111],256],119849:[[112],256],119850:[[113],256],119851:[[114],256],119852:[[115],256],119853:[[116],256],119854:[[117],256],119855:[[118],256],119856:[[119],256],119857:[[120],256],119858:[[121],256],119859:[[122],256],119860:[[65],256],119861:[[66],256],119862:[[67],256],119863:[[68],256],119864:[[69],256],119865:[[70],256],119866:[[71],256],119867:[[72],256],119868:[[73],256],119869:[[74],256],119870:[[75],256],119871:[[76],256],119872:[[77],256],119873:[[78],256],119874:[[79],256],119875:[[80],256],119876:[[81],256],119877:[[82],256],119878:[[83],256],119879:[[84],256],119880:[[85],256],119881:[[86],256],119882:[[87],256],119883:[[88],256],119884:[[89],256],119885:[[90],256],119886:[[97],256],119887:[[98],256],119888:[[99],256],119889:[[100],256],119890:[[101],256],119891:[[102],256],119892:[[103],256],119894:[[105],256],119895:[[106],256],119896:[[107],256],119897:[[108],256],119898:[[109],256],119899:[[110],256],119900:[[111],256],119901:[[112],256],119902:[[113],256],119903:[[114],256],119904:[[115],256],119905:[[116],256],119906:[[117],256],119907:[[118],256],119908:[[119],256],119909:[[120],256],119910:[[121],256],119911:[[122],256],119912:[[65],256],119913:[[66],256],119914:[[67],256],119915:[[68],256],119916:[[69],256],119917:[[70],256],119918:[[71],256],119919:[[72],256],119920:[[73],256],119921:[[74],256],119922:[[75],256],119923:[[76],256],119924:[[77],256],119925:[[78],256],119926:[[79],256],119927:[[80],256],119928:[[81],256],119929:[[82],256],119930:[[83],256],119931:[[84],256],119932:[[85],256],119933:[[86],256],119934:[[87],256],119935:[[88],256],119936:[[89],256],119937:[[90],256],119938:[[97],256],119939:[[98],256],119940:[[99],256],119941:[[100],256],119942:[[101],256],119943:[[102],256],119944:[[103],256],119945:[[104],256],119946:[[105],256],119947:[[106],256],119948:[[107],256],119949:[[108],256],119950:[[109],256],119951:[[110],256],119952:[[111],256],119953:[[112],256],119954:[[113],256],119955:[[114],256],119956:[[115],256],119957:[[116],256],119958:[[117],256],119959:[[118],256],119960:[[119],256],119961:[[120],256],119962:[[121],256],119963:[[122],256],119964:[[65],256],119966:[[67],256],119967:[[68],256],119970:[[71],256],119973:[[74],256],119974:[[75],256],119977:[[78],256],119978:[[79],256],119979:[[80],256],119980:[[81],256],119982:[[83],256],119983:[[84],256],119984:[[85],256],119985:[[86],256],119986:[[87],256],119987:[[88],256],119988:[[89],256],119989:[[90],256],119990:[[97],256],119991:[[98],256],119992:[[99],256],119993:[[100],256],119995:[[102],256],119997:[[104],256],119998:[[105],256],119999:[[106],256],12e4:[[107],256],120001:[[108],256],120002:[[109],256],120003:[[110],256],120005:[[112],256],120006:[[113],256],120007:[[114],256],120008:[[115],256],120009:[[116],256],120010:[[117],256],120011:[[118],256],120012:[[119],256],120013:[[120],256],120014:[[121],256],120015:[[122],256],120016:[[65],256],120017:[[66],256],120018:[[67],256],120019:[[68],256],120020:[[69],256],120021:[[70],256],120022:[[71],256],120023:[[72],256],120024:[[73],256],120025:[[74],256],120026:[[75],256],120027:[[76],256],120028:[[77],256],120029:[[78],256],120030:[[79],256],120031:[[80],256],120032:[[81],256],120033:[[82],256],120034:[[83],256],120035:[[84],256],120036:[[85],256],120037:[[86],256],120038:[[87],256],120039:[[88],256],120040:[[89],256],120041:[[90],256],120042:[[97],256],120043:[[98],256],120044:[[99],256],120045:[[100],256],120046:[[101],256],120047:[[102],256],120048:[[103],256],120049:[[104],256],120050:[[105],256],120051:[[106],256],120052:[[107],256],120053:[[108],256],120054:[[109],256],120055:[[110],256],120056:[[111],256],120057:[[112],256],120058:[[113],256],120059:[[114],256],120060:[[115],256],120061:[[116],256],120062:[[117],256],120063:[[118],256]},54528:{120064:[[119],256],120065:[[120],256],120066:[[121],256],120067:[[122],256],120068:[[65],256],120069:[[66],256],120071:[[68],256],120072:[[69],256],120073:[[70],256],120074:[[71],256],120077:[[74],256],120078:[[75],256],120079:[[76],256],120080:[[77],256],120081:[[78],256],120082:[[79],256],120083:[[80],256],120084:[[81],256],120086:[[83],256],120087:[[84],256],120088:[[85],256],120089:[[86],256],120090:[[87],256],120091:[[88],256],120092:[[89],256],120094:[[97],256],120095:[[98],256],120096:[[99],256],120097:[[100],256],120098:[[101],256],120099:[[102],256],120100:[[103],256],120101:[[104],256],120102:[[105],256],120103:[[106],256],120104:[[107],256],120105:[[108],256],120106:[[109],256],120107:[[110],256],120108:[[111],256],120109:[[112],256],120110:[[113],256],120111:[[114],256],120112:[[115],256],120113:[[116],256],120114:[[117],256],120115:[[118],256],120116:[[119],256],120117:[[120],256],120118:[[121],256],120119:[[122],256],120120:[[65],256],120121:[[66],256],120123:[[68],256],120124:[[69],256],120125:[[70],256],120126:[[71],256],120128:[[73],256],120129:[[74],256],120130:[[75],256],120131:[[76],256],120132:[[77],256],120134:[[79],256],120138:[[83],256],120139:[[84],256],120140:[[85],256],120141:[[86],256],120142:[[87],256],120143:[[88],256],120144:[[89],256],120146:[[97],256],120147:[[98],256],120148:[[99],256],120149:[[100],256],120150:[[101],256],120151:[[102],256],120152:[[103],256],120153:[[104],256],120154:[[105],256],120155:[[106],256],120156:[[107],256],120157:[[108],256],120158:[[109],256],120159:[[110],256],120160:[[111],256],120161:[[112],256],120162:[[113],256],120163:[[114],256],120164:[[115],256],120165:[[116],256],120166:[[117],256],120167:[[118],256],120168:[[119],256],120169:[[120],256],120170:[[121],256],120171:[[122],256],120172:[[65],256],120173:[[66],256],120174:[[67],256],120175:[[68],256],120176:[[69],256],120177:[[70],256],120178:[[71],256],120179:[[72],256],120180:[[73],256],120181:[[74],256],120182:[[75],256],120183:[[76],256],120184:[[77],256],120185:[[78],256],120186:[[79],256],120187:[[80],256],120188:[[81],256],120189:[[82],256],120190:[[83],256],120191:[[84],256],120192:[[85],256],120193:[[86],256],120194:[[87],256],120195:[[88],256],120196:[[89],256],120197:[[90],256],120198:[[97],256],120199:[[98],256],120200:[[99],256],120201:[[100],256],120202:[[101],256],120203:[[102],256],120204:[[103],256],120205:[[104],256],120206:[[105],256],120207:[[106],256],120208:[[107],256],120209:[[108],256],120210:[[109],256],120211:[[110],256],120212:[[111],256],120213:[[112],256],120214:[[113],256],120215:[[114],256],120216:[[115],256],120217:[[116],256],120218:[[117],256],120219:[[118],256],120220:[[119],256],120221:[[120],256],120222:[[121],256],120223:[[122],256],120224:[[65],256],120225:[[66],256],120226:[[67],256],120227:[[68],256],120228:[[69],256],120229:[[70],256],120230:[[71],256],120231:[[72],256],120232:[[73],256],120233:[[74],256],120234:[[75],256],120235:[[76],256],120236:[[77],256],120237:[[78],256],120238:[[79],256],120239:[[80],256],120240:[[81],256],120241:[[82],256],120242:[[83],256],120243:[[84],256],120244:[[85],256],120245:[[86],256],120246:[[87],256],120247:[[88],256],120248:[[89],256],120249:[[90],256],120250:[[97],256],120251:[[98],256],120252:[[99],256],120253:[[100],256],120254:[[101],256],120255:[[102],256],120256:[[103],256],120257:[[104],256],120258:[[105],256],120259:[[106],256],120260:[[107],256],120261:[[108],256],120262:[[109],256],120263:[[110],256],120264:[[111],256],120265:[[112],256],120266:[[113],256],120267:[[114],256],120268:[[115],256],120269:[[116],256],120270:[[117],256],120271:[[118],256],120272:[[119],256],120273:[[120],256],120274:[[121],256],120275:[[122],256],120276:[[65],256],120277:[[66],256],120278:[[67],256],120279:[[68],256],120280:[[69],256],120281:[[70],256],120282:[[71],256],120283:[[72],256],120284:[[73],256],120285:[[74],256],120286:[[75],256],120287:[[76],256],120288:[[77],256],120289:[[78],256],120290:[[79],256],120291:[[80],256],120292:[[81],256],120293:[[82],256],120294:[[83],256],120295:[[84],256],120296:[[85],256],120297:[[86],256],120298:[[87],256],120299:[[88],256],120300:[[89],256],120301:[[90],256],120302:[[97],256],120303:[[98],256],120304:[[99],256],120305:[[100],256],120306:[[101],256],120307:[[102],256],120308:[[103],256],120309:[[104],256],120310:[[105],256],120311:[[106],256],120312:[[107],256],120313:[[108],256],120314:[[109],256],120315:[[110],256],120316:[[111],256],120317:[[112],256],120318:[[113],256],120319:[[114],256]},54784:{120320:[[115],256],120321:[[116],256],120322:[[117],256],120323:[[118],256],120324:[[119],256],120325:[[120],256],120326:[[121],256],120327:[[122],256],120328:[[65],256],120329:[[66],256],120330:[[67],256],120331:[[68],256],120332:[[69],256],120333:[[70],256],120334:[[71],256],120335:[[72],256],120336:[[73],256],120337:[[74],256],120338:[[75],256],120339:[[76],256],120340:[[77],256],120341:[[78],256],120342:[[79],256],120343:[[80],256],120344:[[81],256],120345:[[82],256],120346:[[83],256],120347:[[84],256],120348:[[85],256],120349:[[86],256],120350:[[87],256],120351:[[88],256],120352:[[89],256],120353:[[90],256],120354:[[97],256],120355:[[98],256],120356:[[99],256],120357:[[100],256],120358:[[101],256],120359:[[102],256],120360:[[103],256],120361:[[104],256],120362:[[105],256],120363:[[106],256],120364:[[107],256],120365:[[108],256],120366:[[109],256],120367:[[110],256],120368:[[111],256],120369:[[112],256],120370:[[113],256],120371:[[114],256],120372:[[115],256],120373:[[116],256],120374:[[117],256],120375:[[118],256],120376:[[119],256],120377:[[120],256],120378:[[121],256],120379:[[122],256],120380:[[65],256],120381:[[66],256],120382:[[67],256],120383:[[68],256],120384:[[69],256],120385:[[70],256],120386:[[71],256],120387:[[72],256],120388:[[73],256],120389:[[74],256],120390:[[75],256],120391:[[76],256],120392:[[77],256],120393:[[78],256],120394:[[79],256],120395:[[80],256],120396:[[81],256],120397:[[82],256],120398:[[83],256],120399:[[84],256],120400:[[85],256],120401:[[86],256],120402:[[87],256],120403:[[88],256],120404:[[89],256],120405:[[90],256],120406:[[97],256],120407:[[98],256],120408:[[99],256],120409:[[100],256],120410:[[101],256],120411:[[102],256],120412:[[103],256],120413:[[104],256],120414:[[105],256],120415:[[106],256],120416:[[107],256],120417:[[108],256],120418:[[109],256],120419:[[110],256],120420:[[111],256],120421:[[112],256],120422:[[113],256],120423:[[114],256],120424:[[115],256],120425:[[116],256],120426:[[117],256],120427:[[118],256],120428:[[119],256],120429:[[120],256],120430:[[121],256],120431:[[122],256],120432:[[65],256],120433:[[66],256],120434:[[67],256],120435:[[68],256],120436:[[69],256],120437:[[70],256],120438:[[71],256],120439:[[72],256],120440:[[73],256],120441:[[74],256],120442:[[75],256],120443:[[76],256],120444:[[77],256],120445:[[78],256],120446:[[79],256],120447:[[80],256],120448:[[81],256],120449:[[82],256],120450:[[83],256],120451:[[84],256],120452:[[85],256],120453:[[86],256],120454:[[87],256],120455:[[88],256],120456:[[89],256],120457:[[90],256],120458:[[97],256],120459:[[98],256],120460:[[99],256],120461:[[100],256],120462:[[101],256],120463:[[102],256],120464:[[103],256],120465:[[104],256],120466:[[105],256],120467:[[106],256],120468:[[107],256],120469:[[108],256],120470:[[109],256],120471:[[110],256],120472:[[111],256],120473:[[112],256],120474:[[113],256],120475:[[114],256],120476:[[115],256],120477:[[116],256],120478:[[117],256],120479:[[118],256],120480:[[119],256],120481:[[120],256],120482:[[121],256],120483:[[122],256],120484:[[305],256],120485:[[567],256],120488:[[913],256],120489:[[914],256],120490:[[915],256],120491:[[916],256],120492:[[917],256],120493:[[918],256],120494:[[919],256],120495:[[920],256],120496:[[921],256],120497:[[922],256],120498:[[923],256],120499:[[924],256],120500:[[925],256],120501:[[926],256],120502:[[927],256],120503:[[928],256],120504:[[929],256],120505:[[1012],256],120506:[[931],256],120507:[[932],256],120508:[[933],256],120509:[[934],256],120510:[[935],256],120511:[[936],256],120512:[[937],256],120513:[[8711],256],120514:[[945],256],120515:[[946],256],120516:[[947],256],120517:[[948],256],120518:[[949],256],120519:[[950],256],120520:[[951],256],120521:[[952],256],120522:[[953],256],120523:[[954],256],120524:[[955],256],120525:[[956],256],120526:[[957],256],120527:[[958],256],120528:[[959],256],120529:[[960],256],120530:[[961],256],120531:[[962],256],120532:[[963],256],120533:[[964],256],120534:[[965],256],120535:[[966],256],120536:[[967],256],120537:[[968],256],120538:[[969],256],120539:[[8706],256],120540:[[1013],256],120541:[[977],256],120542:[[1008],256],120543:[[981],256],120544:[[1009],256],120545:[[982],256],120546:[[913],256],120547:[[914],256],120548:[[915],256],120549:[[916],256],120550:[[917],256],120551:[[918],256],120552:[[919],256],120553:[[920],256],120554:[[921],256],120555:[[922],256],120556:[[923],256],120557:[[924],256],120558:[[925],256],120559:[[926],256],120560:[[927],256],120561:[[928],256],120562:[[929],256],120563:[[1012],256],120564:[[931],256],120565:[[932],256],120566:[[933],256],120567:[[934],256],120568:[[935],256],120569:[[936],256],120570:[[937],256],120571:[[8711],256],120572:[[945],256],120573:[[946],256],120574:[[947],256],120575:[[948],256]},55040:{120576:[[949],256],120577:[[950],256],120578:[[951],256],120579:[[952],256],120580:[[953],256],120581:[[954],256],120582:[[955],256],120583:[[956],256],120584:[[957],256],120585:[[958],256],120586:[[959],256],120587:[[960],256],120588:[[961],256],120589:[[962],256],120590:[[963],256],120591:[[964],256],120592:[[965],256],120593:[[966],256],120594:[[967],256],120595:[[968],256],120596:[[969],256],120597:[[8706],256],120598:[[1013],256],120599:[[977],256],120600:[[1008],256],120601:[[981],256],120602:[[1009],256],120603:[[982],256],120604:[[913],256],120605:[[914],256],120606:[[915],256],120607:[[916],256],120608:[[917],256],120609:[[918],256],120610:[[919],256],120611:[[920],256],120612:[[921],256],120613:[[922],256],120614:[[923],256],120615:[[924],256],120616:[[925],256],120617:[[926],256],120618:[[927],256],120619:[[928],256],120620:[[929],256],120621:[[1012],256],120622:[[931],256],120623:[[932],256],120624:[[933],256],120625:[[934],256],120626:[[935],256],120627:[[936],256],120628:[[937],256],120629:[[8711],256],120630:[[945],256],120631:[[946],256],120632:[[947],256],120633:[[948],256],120634:[[949],256],120635:[[950],256],120636:[[951],256],120637:[[952],256],120638:[[953],256],120639:[[954],256],120640:[[955],256],120641:[[956],256],120642:[[957],256],120643:[[958],256],120644:[[959],256],120645:[[960],256],120646:[[961],256],120647:[[962],256],120648:[[963],256],120649:[[964],256],120650:[[965],256],120651:[[966],256],120652:[[967],256],120653:[[968],256],120654:[[969],256],120655:[[8706],256],120656:[[1013],256],120657:[[977],256],120658:[[1008],256],120659:[[981],256],120660:[[1009],256],120661:[[982],256],120662:[[913],256],120663:[[914],256],120664:[[915],256],120665:[[916],256],120666:[[917],256],120667:[[918],256],120668:[[919],256],120669:[[920],256],120670:[[921],256],120671:[[922],256],120672:[[923],256],120673:[[924],256],120674:[[925],256],120675:[[926],256],120676:[[927],256],120677:[[928],256],120678:[[929],256],120679:[[1012],256],120680:[[931],256],120681:[[932],256],120682:[[933],256],120683:[[934],256],120684:[[935],256],120685:[[936],256],120686:[[937],256],120687:[[8711],256],120688:[[945],256],120689:[[946],256],120690:[[947],256],120691:[[948],256],120692:[[949],256],120693:[[950],256],120694:[[951],256],120695:[[952],256],120696:[[953],256],120697:[[954],256],120698:[[955],256],120699:[[956],256],120700:[[957],256],120701:[[958],256],120702:[[959],256],120703:[[960],256],120704:[[961],256],120705:[[962],256],120706:[[963],256],120707:[[964],256],120708:[[965],256],120709:[[966],256],120710:[[967],256],120711:[[968],256],120712:[[969],256],120713:[[8706],256],120714:[[1013],256],120715:[[977],256],120716:[[1008],256],120717:[[981],256],120718:[[1009],256],120719:[[982],256],120720:[[913],256],120721:[[914],256],120722:[[915],256],120723:[[916],256],120724:[[917],256],120725:[[918],256],120726:[[919],256],120727:[[920],256],120728:[[921],256],120729:[[922],256],120730:[[923],256],120731:[[924],256],120732:[[925],256],120733:[[926],256],120734:[[927],256],120735:[[928],256],120736:[[929],256],120737:[[1012],256],120738:[[931],256],120739:[[932],256],120740:[[933],256],120741:[[934],256],120742:[[935],256],120743:[[936],256],120744:[[937],256],120745:[[8711],256],120746:[[945],256],120747:[[946],256],120748:[[947],256],120749:[[948],256],120750:[[949],256],120751:[[950],256],120752:[[951],256],120753:[[952],256],120754:[[953],256],120755:[[954],256],120756:[[955],256],120757:[[956],256],120758:[[957],256],120759:[[958],256],120760:[[959],256],120761:[[960],256],120762:[[961],256],120763:[[962],256],120764:[[963],256],120765:[[964],256],120766:[[965],256],120767:[[966],256],120768:[[967],256],120769:[[968],256],120770:[[969],256],120771:[[8706],256],120772:[[1013],256],120773:[[977],256],120774:[[1008],256],120775:[[981],256],120776:[[1009],256],120777:[[982],256],120778:[[988],256],120779:[[989],256],120782:[[48],256],120783:[[49],256],120784:[[50],256],120785:[[51],256],120786:[[52],256],120787:[[53],256],120788:[[54],256],120789:[[55],256],120790:[[56],256],120791:[[57],256],120792:[[48],256],120793:[[49],256],120794:[[50],256],120795:[[51],256],120796:[[52],256],120797:[[53],256],120798:[[54],256],120799:[[55],256],120800:[[56],256],120801:[[57],256],120802:[[48],256],120803:[[49],256],120804:[[50],256],120805:[[51],256],120806:[[52],256],120807:[[53],256],120808:[[54],256],120809:[[55],256],120810:[[56],256],120811:[[57],256],120812:[[48],256],120813:[[49],256],120814:[[50],256],120815:[[51],256],120816:[[52],256],120817:[[53],256],120818:[[54],256],120819:[[55],256],120820:[[56],256],120821:[[57],256],120822:[[48],256],120823:[[49],256],120824:[[50],256],120825:[[51],256],120826:[[52],256],120827:[[53],256],120828:[[54],256],120829:[[55],256],120830:[[56],256],120831:[[57],256]},59392:{125136:[,220],125137:[,220],125138:[,220],125139:[,220],125140:[,220],125141:[,220],125142:[,220]},60928:{126464:[[1575],256],126465:[[1576],256],126466:[[1580],256],126467:[[1583],256],126469:[[1608],256],126470:[[1586],256],126471:[[1581],256],126472:[[1591],256],126473:[[1610],256],126474:[[1603],256],126475:[[1604],256],126476:[[1605],256],126477:[[1606],256],126478:[[1587],256],126479:[[1593],256],126480:[[1601],256],126481:[[1589],256],126482:[[1602],256],126483:[[1585],256],126484:[[1588],256],126485:[[1578],256],126486:[[1579],256],126487:[[1582],256],126488:[[1584],256],126489:[[1590],256],126490:[[1592],256],126491:[[1594],256],126492:[[1646],256],126493:[[1722],256],126494:[[1697],256],126495:[[1647],256],126497:[[1576],256],126498:[[1580],256],126500:[[1607],256],126503:[[1581],256],126505:[[1610],256],126506:[[1603],256],126507:[[1604],256],126508:[[1605],256],126509:[[1606],256],126510:[[1587],256],126511:[[1593],256],126512:[[1601],256],126513:[[1589],256],126514:[[1602],256],126516:[[1588],256],126517:[[1578],256],126518:[[1579],256],126519:[[1582],256],126521:[[1590],256],126523:[[1594],256],126530:[[1580],256],126535:[[1581],256],126537:[[1610],256],126539:[[1604],256],126541:[[1606],256],126542:[[1587],256],126543:[[1593],256],126545:[[1589],256],126546:[[1602],256],126548:[[1588],256],126551:[[1582],256],126553:[[1590],256],126555:[[1594],256],126557:[[1722],256],126559:[[1647],256],126561:[[1576],256],126562:[[1580],256],126564:[[1607],256],126567:[[1581],256],126568:[[1591],256],126569:[[1610],256],126570:[[1603],256],126572:[[1605],256],126573:[[1606],256],126574:[[1587],256],126575:[[1593],256],126576:[[1601],256],126577:[[1589],256],126578:[[1602],256],126580:[[1588],256],126581:[[1578],256],126582:[[1579],256],126583:[[1582],256],126585:[[1590],256],126586:[[1592],256],126587:[[1594],256],126588:[[1646],256],126590:[[1697],256],126592:[[1575],256],126593:[[1576],256],126594:[[1580],256],126595:[[1583],256],126596:[[1607],256],126597:[[1608],256],126598:[[1586],256],126599:[[1581],256],126600:[[1591],256],126601:[[1610],256],126603:[[1604],256],126604:[[1605],256],126605:[[1606],256],126606:[[1587],256],126607:[[1593],256],126608:[[1601],256],126609:[[1589],256],126610:[[1602],256],126611:[[1585],256],126612:[[1588],256],126613:[[1578],256],126614:[[1579],256],126615:[[1582],256],126616:[[1584],256],126617:[[1590],256],126618:[[1592],256],126619:[[1594],256],126625:[[1576],256],126626:[[1580],256],126627:[[1583],256],126629:[[1608],256],126630:[[1586],256],126631:[[1581],256],126632:[[1591],256],126633:[[1610],256],126635:[[1604],256],126636:[[1605],256],126637:[[1606],256],126638:[[1587],256],126639:[[1593],256],126640:[[1601],256],126641:[[1589],256],126642:[[1602],256],126643:[[1585],256],126644:[[1588],256],126645:[[1578],256],126646:[[1579],256],126647:[[1582],256],126648:[[1584],256],126649:[[1590],256],126650:[[1592],256],126651:[[1594],256]},61696:{127232:[[48,46],256],127233:[[48,44],256],127234:[[49,44],256],127235:[[50,44],256],127236:[[51,44],256],127237:[[52,44],256],127238:[[53,44],256],127239:[[54,44],256],127240:[[55,44],256],127241:[[56,44],256],127242:[[57,44],256],127248:[[40,65,41],256],127249:[[40,66,41],256],127250:[[40,67,41],256],127251:[[40,68,41],256],127252:[[40,69,41],256],127253:[[40,70,41],256],127254:[[40,71,41],256],127255:[[40,72,41],256],127256:[[40,73,41],256],127257:[[40,74,41],256],127258:[[40,75,41],256],127259:[[40,76,41],256],127260:[[40,77,41],256],127261:[[40,78,41],256],127262:[[40,79,41],256],127263:[[40,80,41],256],127264:[[40,81,41],256],127265:[[40,82,41],256],127266:[[40,83,41],256],127267:[[40,84,41],256],127268:[[40,85,41],256],127269:[[40,86,41],256],127270:[[40,87,41],256],127271:[[40,88,41],256],127272:[[40,89,41],256],127273:[[40,90,41],256],127274:[[12308,83,12309],256],127275:[[67],256],127276:[[82],256],127277:[[67,68],256],127278:[[87,90],256],127280:[[65],256],127281:[[66],256],127282:[[67],256],127283:[[68],256],127284:[[69],256],127285:[[70],256],127286:[[71],256],127287:[[72],256],127288:[[73],256],127289:[[74],256],127290:[[75],256],127291:[[76],256],127292:[[77],256],127293:[[78],256],127294:[[79],256],127295:[[80],256],127296:[[81],256],127297:[[82],256],127298:[[83],256],127299:[[84],256],127300:[[85],256],127301:[[86],256],127302:[[87],256],127303:[[88],256],127304:[[89],256],127305:[[90],256],127306:[[72,86],256],127307:[[77,86],256],127308:[[83,68],256],127309:[[83,83],256],127310:[[80,80,86],256],127311:[[87,67],256],127338:[[77,67],256],127339:[[77,68],256],127376:[[68,74],256]},61952:{127488:[[12411,12363],256],127489:[[12467,12467],256],127490:[[12469],256],127504:[[25163],256],127505:[[23383],256],127506:[[21452],256],127507:[[12487],256],127508:[[20108],256],127509:[[22810],256],127510:[[35299],256],127511:[[22825],256],127512:[[20132],256],127513:[[26144],256],127514:[[28961],256],127515:[[26009],256],127516:[[21069],256],127517:[[24460],256],127518:[[20877],256],127519:[[26032],256],127520:[[21021],256],127521:[[32066],256],127522:[[29983],256],127523:[[36009],256],127524:[[22768],256],127525:[[21561],256],127526:[[28436],256],127527:[[25237],256],127528:[[25429],256],127529:[[19968],256],127530:[[19977],256],127531:[[36938],256],127532:[[24038],256],127533:[[20013],256],127534:[[21491],256],127535:[[25351],256],127536:[[36208],256],127537:[[25171],256],127538:[[31105],256],127539:[[31354],256],127540:[[21512],256],127541:[[28288],256],127542:[[26377],256],127543:[[26376],256],127544:[[30003],256],127545:[[21106],256],127546:[[21942],256],127552:[[12308,26412,12309],256],127553:[[12308,19977,12309],256],127554:[[12308,20108,12309],256],127555:[[12308,23433,12309],256],127556:[[12308,28857,12309],256],127557:[[12308,25171,12309],256],127558:[[12308,30423,12309],256],127559:[[12308,21213,12309],256],127560:[[12308,25943,12309],256],127568:[[24471],256],127569:[[21487],256]},63488:{194560:[[20029]],194561:[[20024]],194562:[[20033]],194563:[[131362]],194564:[[20320]],194565:[[20398]],194566:[[20411]],194567:[[20482]],194568:[[20602]],194569:[[20633]],194570:[[20711]],194571:[[20687]],194572:[[13470]],194573:[[132666]],194574:[[20813]],194575:[[20820]],194576:[[20836]],194577:[[20855]],194578:[[132380]],194579:[[13497]],194580:[[20839]],194581:[[20877]],194582:[[132427]],194583:[[20887]],194584:[[20900]],194585:[[20172]],194586:[[20908]],194587:[[20917]],194588:[[168415]],194589:[[20981]],194590:[[20995]],194591:[[13535]],194592:[[21051]],194593:[[21062]],194594:[[21106]],194595:[[21111]],194596:[[13589]],194597:[[21191]],194598:[[21193]],194599:[[21220]],194600:[[21242]],194601:[[21253]],194602:[[21254]],194603:[[21271]],194604:[[21321]],194605:[[21329]],194606:[[21338]],194607:[[21363]],194608:[[21373]],194609:[[21375]],194610:[[21375]],194611:[[21375]],194612:[[133676]],194613:[[28784]],194614:[[21450]],194615:[[21471]],194616:[[133987]],194617:[[21483]],194618:[[21489]],194619:[[21510]],194620:[[21662]],194621:[[21560]],194622:[[21576]],194623:[[21608]],194624:[[21666]],194625:[[21750]],194626:[[21776]],194627:[[21843]],194628:[[21859]],194629:[[21892]],194630:[[21892]],194631:[[21913]],194632:[[21931]],194633:[[21939]],194634:[[21954]],194635:[[22294]],194636:[[22022]],194637:[[22295]],194638:[[22097]],194639:[[22132]],194640:[[20999]],194641:[[22766]],194642:[[22478]],194643:[[22516]],194644:[[22541]],194645:[[22411]],194646:[[22578]],194647:[[22577]],194648:[[22700]],194649:[[136420]],194650:[[22770]],194651:[[22775]],194652:[[22790]],194653:[[22810]],194654:[[22818]],194655:[[22882]],194656:[[136872]],194657:[[136938]],194658:[[23020]],194659:[[23067]],194660:[[23079]],194661:[[23e3]],194662:[[23142]],194663:[[14062]],194664:[[14076]],194665:[[23304]],194666:[[23358]],194667:[[23358]],194668:[[137672]],194669:[[23491]],194670:[[23512]],194671:[[23527]],194672:[[23539]],194673:[[138008]],194674:[[23551]],194675:[[23558]],194676:[[24403]],194677:[[23586]],194678:[[14209]],194679:[[23648]],194680:[[23662]],194681:[[23744]],194682:[[23693]],194683:[[138724]],194684:[[23875]],194685:[[138726]],194686:[[23918]],194687:[[23915]],194688:[[23932]],194689:[[24033]],194690:[[24034]],194691:[[14383]],194692:[[24061]],194693:[[24104]],194694:[[24125]],194695:[[24169]],194696:[[14434]],194697:[[139651]],194698:[[14460]],194699:[[24240]],194700:[[24243]],194701:[[24246]],194702:[[24266]],194703:[[172946]],194704:[[24318]],194705:[[140081]],194706:[[140081]],194707:[[33281]],194708:[[24354]],194709:[[24354]],194710:[[14535]],194711:[[144056]],194712:[[156122]],194713:[[24418]],194714:[[24427]],194715:[[14563]],194716:[[24474]],194717:[[24525]],194718:[[24535]],194719:[[24569]],194720:[[24705]],194721:[[14650]],194722:[[14620]],194723:[[24724]],194724:[[141012]],194725:[[24775]],194726:[[24904]],194727:[[24908]],194728:[[24910]],194729:[[24908]],194730:[[24954]],194731:[[24974]],194732:[[25010]],194733:[[24996]],194734:[[25007]],194735:[[25054]],194736:[[25074]],194737:[[25078]],194738:[[25104]],194739:[[25115]],194740:[[25181]],194741:[[25265]],194742:[[25300]],194743:[[25424]],194744:[[142092]],194745:[[25405]],194746:[[25340]],194747:[[25448]],194748:[[25475]],194749:[[25572]],194750:[[142321]],194751:[[25634]],194752:[[25541]],194753:[[25513]],194754:[[14894]],194755:[[25705]],194756:[[25726]],194757:[[25757]],194758:[[25719]],194759:[[14956]],194760:[[25935]],194761:[[25964]],194762:[[143370]],194763:[[26083]],194764:[[26360]],194765:[[26185]],194766:[[15129]],194767:[[26257]],194768:[[15112]],194769:[[15076]],194770:[[20882]],194771:[[20885]],194772:[[26368]],194773:[[26268]],194774:[[32941]],194775:[[17369]],194776:[[26391]],194777:[[26395]],194778:[[26401]],194779:[[26462]],194780:[[26451]],194781:[[144323]],194782:[[15177]],194783:[[26618]],194784:[[26501]],194785:[[26706]],194786:[[26757]],194787:[[144493]],194788:[[26766]],194789:[[26655]],194790:[[26900]],194791:[[15261]],194792:[[26946]],194793:[[27043]],194794:[[27114]],194795:[[27304]],194796:[[145059]],194797:[[27355]],194798:[[15384]],194799:[[27425]],194800:[[145575]],194801:[[27476]],194802:[[15438]],194803:[[27506]],194804:[[27551]],194805:[[27578]],194806:[[27579]],194807:[[146061]],194808:[[138507]],194809:[[146170]],194810:[[27726]],194811:[[146620]],194812:[[27839]],194813:[[27853]],194814:[[27751]],194815:[[27926]]},63744:{63744:[[35912]],63745:[[26356]],63746:[[36554]],63747:[[36040]],63748:[[28369]],63749:[[20018]],63750:[[21477]],63751:[[40860]],63752:[[40860]],63753:[[22865]],63754:[[37329]],63755:[[21895]],63756:[[22856]],63757:[[25078]],63758:[[30313]],63759:[[32645]],63760:[[34367]],63761:[[34746]],63762:[[35064]],63763:[[37007]],63764:[[27138]],63765:[[27931]],63766:[[28889]],63767:[[29662]],63768:[[33853]],63769:[[37226]],63770:[[39409]],63771:[[20098]],63772:[[21365]],63773:[[27396]],63774:[[29211]],63775:[[34349]],63776:[[40478]],63777:[[23888]],63778:[[28651]],63779:[[34253]],63780:[[35172]],63781:[[25289]],63782:[[33240]],63783:[[34847]],63784:[[24266]],63785:[[26391]],63786:[[28010]],63787:[[29436]],63788:[[37070]],63789:[[20358]],63790:[[20919]],63791:[[21214]],63792:[[25796]],63793:[[27347]],63794:[[29200]],63795:[[30439]],63796:[[32769]],63797:[[34310]],63798:[[34396]],63799:[[36335]],63800:[[38706]],63801:[[39791]],63802:[[40442]],63803:[[30860]],63804:[[31103]],63805:[[32160]],63806:[[33737]],63807:[[37636]],63808:[[40575]],63809:[[35542]],63810:[[22751]],63811:[[24324]],63812:[[31840]],63813:[[32894]],63814:[[29282]],63815:[[30922]],63816:[[36034]],63817:[[38647]],63818:[[22744]],63819:[[23650]],63820:[[27155]],63821:[[28122]],63822:[[28431]],63823:[[32047]],63824:[[32311]],63825:[[38475]],63826:[[21202]],63827:[[32907]],63828:[[20956]],63829:[[20940]],63830:[[31260]],63831:[[32190]],63832:[[33777]],63833:[[38517]],63834:[[35712]],63835:[[25295]],63836:[[27138]],63837:[[35582]],63838:[[20025]],63839:[[23527]],63840:[[24594]],63841:[[29575]],63842:[[30064]],63843:[[21271]],63844:[[30971]],63845:[[20415]],63846:[[24489]],63847:[[19981]],63848:[[27852]],63849:[[25976]],63850:[[32034]],63851:[[21443]],63852:[[22622]],63853:[[30465]],63854:[[33865]],63855:[[35498]],63856:[[27578]],63857:[[36784]],63858:[[27784]],63859:[[25342]],63860:[[33509]],63861:[[25504]],63862:[[30053]],63863:[[20142]],63864:[[20841]],63865:[[20937]],63866:[[26753]],63867:[[31975]],63868:[[33391]],63869:[[35538]],63870:[[37327]],63871:[[21237]],63872:[[21570]],63873:[[22899]],63874:[[24300]],63875:[[26053]],63876:[[28670]],63877:[[31018]],63878:[[38317]],63879:[[39530]],63880:[[40599]],63881:[[40654]],63882:[[21147]],63883:[[26310]],63884:[[27511]],63885:[[36706]],63886:[[24180]],63887:[[24976]],63888:[[25088]],63889:[[25754]],63890:[[28451]],63891:[[29001]],63892:[[29833]],63893:[[31178]],63894:[[32244]],63895:[[32879]],63896:[[36646]],63897:[[34030]],63898:[[36899]],63899:[[37706]],63900:[[21015]],63901:[[21155]],63902:[[21693]],63903:[[28872]],63904:[[35010]],63905:[[35498]],63906:[[24265]],63907:[[24565]],63908:[[25467]],63909:[[27566]],63910:[[31806]],63911:[[29557]],63912:[[20196]],63913:[[22265]],63914:[[23527]],63915:[[23994]],63916:[[24604]],63917:[[29618]],63918:[[29801]],63919:[[32666]],63920:[[32838]],63921:[[37428]],63922:[[38646]],63923:[[38728]],63924:[[38936]],63925:[[20363]],63926:[[31150]],63927:[[37300]],63928:[[38584]],63929:[[24801]],63930:[[20102]],63931:[[20698]],63932:[[23534]],63933:[[23615]],63934:[[26009]],63935:[[27138]],63936:[[29134]],63937:[[30274]],63938:[[34044]],63939:[[36988]],63940:[[40845]],63941:[[26248]],63942:[[38446]],63943:[[21129]],63944:[[26491]],63945:[[26611]],63946:[[27969]],63947:[[28316]],63948:[[29705]],63949:[[30041]],63950:[[30827]],63951:[[32016]],63952:[[39006]],63953:[[20845]],63954:[[25134]],63955:[[38520]],63956:[[20523]],63957:[[23833]],63958:[[28138]],63959:[[36650]],63960:[[24459]],63961:[[24900]],63962:[[26647]],63963:[[29575]],63964:[[38534]],63965:[[21033]],63966:[[21519]],63967:[[23653]],63968:[[26131]],63969:[[26446]],63970:[[26792]],63971:[[27877]],63972:[[29702]],63973:[[30178]],63974:[[32633]],63975:[[35023]],63976:[[35041]],63977:[[37324]],63978:[[38626]],63979:[[21311]],63980:[[28346]],63981:[[21533]],63982:[[29136]],63983:[[29848]],63984:[[34298]],63985:[[38563]],63986:[[40023]],63987:[[40607]],63988:[[26519]],63989:[[28107]],63990:[[33256]],63991:[[31435]],63992:[[31520]],63993:[[31890]],63994:[[29376]],63995:[[28825]],63996:[[35672]],63997:[[20160]],63998:[[33590]],63999:[[21050]],194816:[[27966]],194817:[[28023]],194818:[[27969]],194819:[[28009]],194820:[[28024]],194821:[[28037]],194822:[[146718]],194823:[[27956]],194824:[[28207]],194825:[[28270]],194826:[[15667]],194827:[[28363]],194828:[[28359]],194829:[[147153]],194830:[[28153]],194831:[[28526]],194832:[[147294]],194833:[[147342]],194834:[[28614]],194835:[[28729]],194836:[[28702]],194837:[[28699]],194838:[[15766]],194839:[[28746]],194840:[[28797]],194841:[[28791]],194842:[[28845]],194843:[[132389]],194844:[[28997]],194845:[[148067]],194846:[[29084]],194847:[[148395]],194848:[[29224]],194849:[[29237]],194850:[[29264]],194851:[[149e3]],194852:[[29312]],194853:[[29333]],194854:[[149301]],194855:[[149524]],194856:[[29562]],194857:[[29579]],194858:[[16044]],194859:[[29605]],194860:[[16056]],194861:[[16056]],194862:[[29767]],194863:[[29788]],194864:[[29809]],194865:[[29829]],194866:[[29898]],194867:[[16155]],194868:[[29988]],194869:[[150582]],194870:[[30014]],194871:[[150674]],194872:[[30064]],194873:[[139679]],194874:[[30224]],194875:[[151457]],194876:[[151480]],194877:[[151620]],194878:[[16380]],194879:[[16392]],194880:[[30452]],194881:[[151795]],194882:[[151794]],194883:[[151833]],194884:[[151859]],194885:[[30494]],194886:[[30495]],194887:[[30495]],194888:[[30538]],194889:[[16441]],194890:[[30603]],194891:[[16454]],194892:[[16534]],194893:[[152605]],194894:[[30798]],194895:[[30860]],194896:[[30924]],194897:[[16611]],194898:[[153126]],194899:[[31062]],194900:[[153242]],194901:[[153285]],194902:[[31119]],194903:[[31211]],194904:[[16687]],194905:[[31296]],194906:[[31306]],194907:[[31311]],194908:[[153980]],194909:[[154279]],194910:[[154279]],194911:[[31470]],194912:[[16898]],194913:[[154539]],194914:[[31686]],194915:[[31689]],194916:[[16935]],194917:[[154752]],194918:[[31954]],194919:[[17056]],194920:[[31976]],194921:[[31971]],194922:[[32e3]],194923:[[155526]],194924:[[32099]],194925:[[17153]],194926:[[32199]],194927:[[32258]],194928:[[32325]],194929:[[17204]],194930:[[156200]],194931:[[156231]],194932:[[17241]],194933:[[156377]],194934:[[32634]],194935:[[156478]],194936:[[32661]],194937:[[32762]],194938:[[32773]],194939:[[156890]],194940:[[156963]],194941:[[32864]],194942:[[157096]],194943:[[32880]],194944:[[144223]],194945:[[17365]],194946:[[32946]],194947:[[33027]],194948:[[17419]],194949:[[33086]],194950:[[23221]],194951:[[157607]],194952:[[157621]],194953:[[144275]],194954:[[144284]],194955:[[33281]],194956:[[33284]],194957:[[36766]],194958:[[17515]],194959:[[33425]],194960:[[33419]],194961:[[33437]],194962:[[21171]],194963:[[33457]],194964:[[33459]],194965:[[33469]],194966:[[33510]],194967:[[158524]],194968:[[33509]],194969:[[33565]],194970:[[33635]],194971:[[33709]],194972:[[33571]],194973:[[33725]],194974:[[33767]],194975:[[33879]],194976:[[33619]],194977:[[33738]],194978:[[33740]],194979:[[33756]],194980:[[158774]],194981:[[159083]],194982:[[158933]],194983:[[17707]],194984:[[34033]],194985:[[34035]],194986:[[34070]],194987:[[160714]],194988:[[34148]],194989:[[159532]],194990:[[17757]],194991:[[17761]],194992:[[159665]],194993:[[159954]],194994:[[17771]],194995:[[34384]],194996:[[34396]],194997:[[34407]],194998:[[34409]],194999:[[34473]],195e3:[[34440]],195001:[[34574]],195002:[[34530]],195003:[[34681]],195004:[[34600]],195005:[[34667]],195006:[[34694]],195007:[[17879]],195008:[[34785]],195009:[[34817]],195010:[[17913]],195011:[[34912]],195012:[[34915]],195013:[[161383]],195014:[[35031]],195015:[[35038]],195016:[[17973]],195017:[[35066]],195018:[[13499]],195019:[[161966]],195020:[[162150]],195021:[[18110]],195022:[[18119]],195023:[[35488]],195024:[[35565]],195025:[[35722]],195026:[[35925]],195027:[[162984]],195028:[[36011]],195029:[[36033]],195030:[[36123]],195031:[[36215]],195032:[[163631]],195033:[[133124]],195034:[[36299]],195035:[[36284]],195036:[[36336]],195037:[[133342]],195038:[[36564]],195039:[[36664]],195040:[[165330]],195041:[[165357]],195042:[[37012]],195043:[[37105]],195044:[[37137]],195045:[[165678]],195046:[[37147]],195047:[[37432]],195048:[[37591]],195049:[[37592]],195050:[[37500]],195051:[[37881]],195052:[[37909]],195053:[[166906]],195054:[[38283]],195055:[[18837]],195056:[[38327]],195057:[[167287]],195058:[[18918]],195059:[[38595]],195060:[[23986]],195061:[[38691]],195062:[[168261]],195063:[[168474]],195064:[[19054]],195065:[[19062]],195066:[[38880]],195067:[[168970]],195068:[[19122]],195069:[[169110]],195070:[[38923]],195071:[[38923]]},64e3:{64e3:[[20999]],64001:[[24230]],64002:[[25299]],64003:[[31958]],64004:[[23429]],64005:[[27934]],64006:[[26292]],64007:[[36667]],64008:[[34892]],64009:[[38477]],64010:[[35211]],64011:[[24275]],64012:[[20800]],64013:[[21952]],64016:[[22618]],64018:[[26228]],64021:[[20958]],64022:[[29482]],64023:[[30410]],64024:[[31036]],64025:[[31070]],64026:[[31077]],64027:[[31119]],64028:[[38742]],64029:[[31934]],64030:[[32701]],64032:[[34322]],64034:[[35576]],64037:[[36920]],64038:[[37117]],64042:[[39151]],64043:[[39164]],64044:[[39208]],64045:[[40372]],64046:[[37086]],64047:[[38583]],64048:[[20398]],64049:[[20711]],64050:[[20813]],64051:[[21193]],64052:[[21220]],64053:[[21329]],64054:[[21917]],64055:[[22022]],64056:[[22120]],64057:[[22592]],64058:[[22696]],64059:[[23652]],64060:[[23662]],64061:[[24724]],64062:[[24936]],64063:[[24974]],64064:[[25074]],64065:[[25935]],64066:[[26082]],64067:[[26257]],64068:[[26757]],64069:[[28023]],64070:[[28186]],64071:[[28450]],64072:[[29038]],64073:[[29227]],64074:[[29730]],64075:[[30865]],64076:[[31038]],64077:[[31049]],64078:[[31048]],64079:[[31056]],64080:[[31062]],64081:[[31069]],64082:[[31117]],64083:[[31118]],64084:[[31296]],64085:[[31361]],64086:[[31680]],64087:[[32244]],64088:[[32265]],64089:[[32321]],64090:[[32626]],64091:[[32773]],64092:[[33261]],64093:[[33401]],64094:[[33401]],64095:[[33879]],64096:[[35088]],64097:[[35222]],64098:[[35585]],64099:[[35641]],64100:[[36051]],64101:[[36104]],64102:[[36790]],64103:[[36920]],64104:[[38627]],64105:[[38911]],64106:[[38971]],64107:[[24693]],64108:[[148206]],64109:[[33304]],64112:[[20006]],64113:[[20917]],64114:[[20840]],64115:[[20352]],64116:[[20805]],64117:[[20864]],64118:[[21191]],64119:[[21242]],64120:[[21917]],64121:[[21845]],64122:[[21913]],64123:[[21986]],64124:[[22618]],64125:[[22707]],64126:[[22852]],64127:[[22868]],64128:[[23138]],64129:[[23336]],64130:[[24274]],64131:[[24281]],64132:[[24425]],64133:[[24493]],64134:[[24792]],64135:[[24910]],64136:[[24840]],64137:[[24974]],64138:[[24928]],64139:[[25074]],64140:[[25140]],64141:[[25540]],64142:[[25628]],64143:[[25682]],64144:[[25942]],64145:[[26228]],64146:[[26391]],64147:[[26395]],64148:[[26454]],64149:[[27513]],64150:[[27578]],64151:[[27969]],64152:[[28379]],64153:[[28363]],64154:[[28450]],64155:[[28702]],64156:[[29038]],64157:[[30631]],64158:[[29237]],64159:[[29359]],64160:[[29482]],64161:[[29809]],64162:[[29958]],64163:[[30011]],64164:[[30237]],64165:[[30239]],64166:[[30410]],64167:[[30427]],64168:[[30452]],64169:[[30538]],64170:[[30528]],64171:[[30924]],64172:[[31409]],64173:[[31680]],64174:[[31867]],64175:[[32091]],64176:[[32244]],64177:[[32574]],64178:[[32773]],64179:[[33618]],64180:[[33775]],64181:[[34681]],64182:[[35137]],64183:[[35206]],64184:[[35222]],64185:[[35519]],64186:[[35576]],64187:[[35531]],64188:[[35585]],64189:[[35582]],64190:[[35565]],64191:[[35641]],64192:[[35722]],64193:[[36104]],64194:[[36664]],64195:[[36978]],64196:[[37273]],64197:[[37494]],64198:[[38524]],64199:[[38627]],64200:[[38742]],64201:[[38875]],64202:[[38911]],64203:[[38923]],64204:[[38971]],64205:[[39698]],64206:[[40860]],64207:[[141386]],64208:[[141380]],64209:[[144341]],64210:[[15261]],64211:[[16408]],64212:[[16441]],64213:[[152137]],64214:[[154832]],64215:[[163539]],64216:[[40771]],64217:[[40846]],195072:[[38953]],195073:[[169398]],195074:[[39138]],195075:[[19251]],195076:[[39209]],195077:[[39335]],195078:[[39362]],195079:[[39422]],195080:[[19406]],195081:[[170800]],195082:[[39698]],195083:[[4e4]],195084:[[40189]],195085:[[19662]],195086:[[19693]],195087:[[40295]],195088:[[172238]],195089:[[19704]],195090:[[172293]],195091:[[172558]],195092:[[172689]],195093:[[40635]],195094:[[19798]],195095:[[40697]],195096:[[40702]],195097:[[40709]],195098:[[40719]],195099:[[40726]],195100:[[40763]],195101:[[173568]]},64256:{64256:[[102,102],256],64257:[[102,105],256],64258:[[102,108],256],64259:[[102,102,105],256],64260:[[102,102,108],256],64261:[[383,116],256],64262:[[115,116],256],64275:[[1396,1398],256],64276:[[1396,1381],256],64277:[[1396,1387],256],64278:[[1406,1398],256],64279:[[1396,1389],256],64285:[[1497,1460],512],64286:[,26],64287:[[1522,1463],512],64288:[[1506],256],64289:[[1488],256],64290:[[1491],256],64291:[[1492],256],64292:[[1499],256],64293:[[1500],256],64294:[[1501],256],64295:[[1512],256],64296:[[1514],256],64297:[[43],256],64298:[[1513,1473],512],64299:[[1513,1474],512],64300:[[64329,1473],512],64301:[[64329,1474],512],64302:[[1488,1463],512],64303:[[1488,1464],512],64304:[[1488,1468],512],64305:[[1489,1468],512],64306:[[1490,1468],512],64307:[[1491,1468],512],64308:[[1492,1468],512],64309:[[1493,1468],512],64310:[[1494,1468],512],64312:[[1496,1468],512],64313:[[1497,1468],512],64314:[[1498,1468],512],64315:[[1499,1468],512],64316:[[1500,1468],512],64318:[[1502,1468],512],64320:[[1504,1468],512],64321:[[1505,1468],512],64323:[[1507,1468],512],64324:[[1508,1468],512],64326:[[1510,1468],512],64327:[[1511,1468],512],64328:[[1512,1468],512],64329:[[1513,1468],512],64330:[[1514,1468],512],64331:[[1493,1465],512],64332:[[1489,1471],512],64333:[[1499,1471],512],64334:[[1508,1471],512],64335:[[1488,1500],256],64336:[[1649],256],64337:[[1649],256],64338:[[1659],256],64339:[[1659],256],64340:[[1659],256],64341:[[1659],256],64342:[[1662],256],64343:[[1662],256],64344:[[1662],256],64345:[[1662],256],64346:[[1664],256],64347:[[1664],256],64348:[[1664],256],64349:[[1664],256],64350:[[1658],256],64351:[[1658],256],64352:[[1658],256],64353:[[1658],256],64354:[[1663],256],64355:[[1663],256],64356:[[1663],256],64357:[[1663],256],64358:[[1657],256],64359:[[1657],256],64360:[[1657],256],64361:[[1657],256],64362:[[1700],256],64363:[[1700],256],64364:[[1700],256],64365:[[1700],256],64366:[[1702],256],64367:[[1702],256],64368:[[1702],256],64369:[[1702],256],64370:[[1668],256],64371:[[1668],256],64372:[[1668],256],64373:[[1668],256],64374:[[1667],256],64375:[[1667],256],64376:[[1667],256],64377:[[1667],256],64378:[[1670],256],64379:[[1670],256],64380:[[1670],256],64381:[[1670],256],64382:[[1671],256],64383:[[1671],256],64384:[[1671],256],64385:[[1671],256],64386:[[1677],256],64387:[[1677],256],64388:[[1676],256],64389:[[1676],256],64390:[[1678],256],64391:[[1678],256],64392:[[1672],256],64393:[[1672],256],64394:[[1688],256],64395:[[1688],256],64396:[[1681],256],64397:[[1681],256],64398:[[1705],256],64399:[[1705],256],64400:[[1705],256],64401:[[1705],256],64402:[[1711],256],64403:[[1711],256],64404:[[1711],256],64405:[[1711],256],64406:[[1715],256],64407:[[1715],256],64408:[[1715],256],64409:[[1715],256],64410:[[1713],256],64411:[[1713],256],64412:[[1713],256],64413:[[1713],256],64414:[[1722],256],64415:[[1722],256],64416:[[1723],256],64417:[[1723],256],64418:[[1723],256],64419:[[1723],256],64420:[[1728],256],64421:[[1728],256],64422:[[1729],256],64423:[[1729],256],64424:[[1729],256],64425:[[1729],256],64426:[[1726],256],64427:[[1726],256],64428:[[1726],256],64429:[[1726],256],64430:[[1746],256],64431:[[1746],256],64432:[[1747],256],64433:[[1747],256],64467:[[1709],256],64468:[[1709],256],64469:[[1709],256],64470:[[1709],256],64471:[[1735],256],64472:[[1735],256],64473:[[1734],256],64474:[[1734],256],64475:[[1736],256],64476:[[1736],256],64477:[[1655],256],64478:[[1739],256],64479:[[1739],256],64480:[[1733],256],64481:[[1733],256],64482:[[1737],256],64483:[[1737],256],64484:[[1744],256],64485:[[1744],256],64486:[[1744],256],64487:[[1744],256],64488:[[1609],256],64489:[[1609],256],64490:[[1574,1575],256],64491:[[1574,1575],256],64492:[[1574,1749],256],64493:[[1574,1749],256],64494:[[1574,1608],256],64495:[[1574,1608],256],64496:[[1574,1735],256],64497:[[1574,1735],256],64498:[[1574,1734],256],64499:[[1574,1734],256],64500:[[1574,1736],256],64501:[[1574,1736],256],64502:[[1574,1744],256],64503:[[1574,1744],256],64504:[[1574,1744],256],64505:[[1574,1609],256],64506:[[1574,1609],256],64507:[[1574,1609],256],64508:[[1740],256],64509:[[1740],256],64510:[[1740],256],64511:[[1740],256]},64512:{64512:[[1574,1580],256],64513:[[1574,1581],256],64514:[[1574,1605],256],64515:[[1574,1609],256],64516:[[1574,1610],256],64517:[[1576,1580],256],64518:[[1576,1581],256],64519:[[1576,1582],256],64520:[[1576,1605],256],64521:[[1576,1609],256],64522:[[1576,1610],256],64523:[[1578,1580],256],64524:[[1578,1581],256],64525:[[1578,1582],256],64526:[[1578,1605],256],64527:[[1578,1609],256],64528:[[1578,1610],256],64529:[[1579,1580],256],64530:[[1579,1605],256],64531:[[1579,1609],256],64532:[[1579,1610],256],64533:[[1580,1581],256],64534:[[1580,1605],256],64535:[[1581,1580],256],64536:[[1581,1605],256],64537:[[1582,1580],256],64538:[[1582,1581],256],64539:[[1582,1605],256],64540:[[1587,1580],256],64541:[[1587,1581],256],64542:[[1587,1582],256],64543:[[1587,1605],256],64544:[[1589,1581],256],64545:[[1589,1605],256],64546:[[1590,1580],256],64547:[[1590,1581],256],64548:[[1590,1582],256],64549:[[1590,1605],256],64550:[[1591,1581],256],64551:[[1591,1605],256],64552:[[1592,1605],256],64553:[[1593,1580],256],64554:[[1593,1605],256],64555:[[1594,1580],256],64556:[[1594,1605],256],64557:[[1601,1580],256],64558:[[1601,1581],256],64559:[[1601,1582],256],64560:[[1601,1605],256],64561:[[1601,1609],256],64562:[[1601,1610],256],64563:[[1602,1581],256],64564:[[1602,1605],256],64565:[[1602,1609],256],64566:[[1602,1610],256],64567:[[1603,1575],256],64568:[[1603,1580],256],64569:[[1603,1581],256],64570:[[1603,1582],256],64571:[[1603,1604],256],64572:[[1603,1605],256],64573:[[1603,1609],256],64574:[[1603,1610],256],64575:[[1604,1580],256],64576:[[1604,1581],256],64577:[[1604,1582],256],64578:[[1604,1605],256],64579:[[1604,1609],256],64580:[[1604,1610],256],64581:[[1605,1580],256],64582:[[1605,1581],256],64583:[[1605,1582],256],64584:[[1605,1605],256],64585:[[1605,1609],256],64586:[[1605,1610],256],64587:[[1606,1580],256],64588:[[1606,1581],256],64589:[[1606,1582],256],64590:[[1606,1605],256],64591:[[1606,1609],256],64592:[[1606,1610],256],64593:[[1607,1580],256],64594:[[1607,1605],256],64595:[[1607,1609],256],64596:[[1607,1610],256],64597:[[1610,1580],256],64598:[[1610,1581],256],64599:[[1610,1582],256],64600:[[1610,1605],256],64601:[[1610,1609],256],64602:[[1610,1610],256],64603:[[1584,1648],256],64604:[[1585,1648],256],64605:[[1609,1648],256],64606:[[32,1612,1617],256],64607:[[32,1613,1617],256],64608:[[32,1614,1617],256],64609:[[32,1615,1617],256],64610:[[32,1616,1617],256],64611:[[32,1617,1648],256],64612:[[1574,1585],256],64613:[[1574,1586],256],64614:[[1574,1605],256],64615:[[1574,1606],256],64616:[[1574,1609],256],64617:[[1574,1610],256],64618:[[1576,1585],256],64619:[[1576,1586],256],64620:[[1576,1605],256],64621:[[1576,1606],256],64622:[[1576,1609],256],64623:[[1576,1610],256],64624:[[1578,1585],256],64625:[[1578,1586],256],64626:[[1578,1605],256],64627:[[1578,1606],256],64628:[[1578,1609],256],64629:[[1578,1610],256],64630:[[1579,1585],256],64631:[[1579,1586],256],64632:[[1579,1605],256],64633:[[1579,1606],256],64634:[[1579,1609],256],64635:[[1579,1610],256],64636:[[1601,1609],256],64637:[[1601,1610],256],64638:[[1602,1609],256],64639:[[1602,1610],256],64640:[[1603,1575],256],64641:[[1603,1604],256],64642:[[1603,1605],256],64643:[[1603,1609],256],64644:[[1603,1610],256],64645:[[1604,1605],256],64646:[[1604,1609],256],64647:[[1604,1610],256],64648:[[1605,1575],256],64649:[[1605,1605],256],64650:[[1606,1585],256],64651:[[1606,1586],256],64652:[[1606,1605],256],64653:[[1606,1606],256],64654:[[1606,1609],256],64655:[[1606,1610],256],64656:[[1609,1648],256],64657:[[1610,1585],256],64658:[[1610,1586],256],64659:[[1610,1605],256],64660:[[1610,1606],256],64661:[[1610,1609],256],64662:[[1610,1610],256],64663:[[1574,1580],256],64664:[[1574,1581],256],64665:[[1574,1582],256],64666:[[1574,1605],256],64667:[[1574,1607],256],64668:[[1576,1580],256],64669:[[1576,1581],256],64670:[[1576,1582],256],64671:[[1576,1605],256],64672:[[1576,1607],256],64673:[[1578,1580],256],64674:[[1578,1581],256],64675:[[1578,1582],256],64676:[[1578,1605],256],64677:[[1578,1607],256],64678:[[1579,1605],256],64679:[[1580,1581],256],64680:[[1580,1605],256],64681:[[1581,1580],256],64682:[[1581,1605],256],64683:[[1582,1580],256],64684:[[1582,1605],256],64685:[[1587,1580],256],64686:[[1587,1581],256],64687:[[1587,1582],256],64688:[[1587,1605],256],64689:[[1589,1581],256],64690:[[1589,1582],256],64691:[[1589,1605],256],64692:[[1590,1580],256],64693:[[1590,1581],256],64694:[[1590,1582],256],64695:[[1590,1605],256],64696:[[1591,1581],256],64697:[[1592,1605],256],64698:[[1593,1580],256],64699:[[1593,1605],256],64700:[[1594,1580],256],64701:[[1594,1605],256],64702:[[1601,1580],256],64703:[[1601,1581],256],64704:[[1601,1582],256],64705:[[1601,1605],256],64706:[[1602,1581],256],64707:[[1602,1605],256],64708:[[1603,1580],256],64709:[[1603,1581],256],64710:[[1603,1582],256],64711:[[1603,1604],256],64712:[[1603,1605],256],64713:[[1604,1580],256],64714:[[1604,1581],256],64715:[[1604,1582],256],64716:[[1604,1605],256],64717:[[1604,1607],256],64718:[[1605,1580],256],64719:[[1605,1581],256],64720:[[1605,1582],256],64721:[[1605,1605],256],64722:[[1606,1580],256],64723:[[1606,1581],256],64724:[[1606,1582],256],64725:[[1606,1605],256],64726:[[1606,1607],256],64727:[[1607,1580],256],64728:[[1607,1605],256],64729:[[1607,1648],256],64730:[[1610,1580],256],64731:[[1610,1581],256],64732:[[1610,1582],256],64733:[[1610,1605],256],64734:[[1610,1607],256],64735:[[1574,1605],256],64736:[[1574,1607],256],64737:[[1576,1605],256],64738:[[1576,1607],256],64739:[[1578,1605],256],64740:[[1578,1607],256],64741:[[1579,1605],256],64742:[[1579,1607],256],64743:[[1587,1605],256],64744:[[1587,1607],256],64745:[[1588,1605],256],64746:[[1588,1607],256],64747:[[1603,1604],256],64748:[[1603,1605],256],64749:[[1604,1605],256],64750:[[1606,1605],256],64751:[[1606,1607],256],64752:[[1610,1605],256],64753:[[1610,1607],256],64754:[[1600,1614,1617],256],64755:[[1600,1615,1617],256],64756:[[1600,1616,1617],256],64757:[[1591,1609],256],64758:[[1591,1610],256],64759:[[1593,1609],256],64760:[[1593,1610],256],64761:[[1594,1609],256],64762:[[1594,1610],256],64763:[[1587,1609],256],64764:[[1587,1610],256],64765:[[1588,1609],256],64766:[[1588,1610],256],64767:[[1581,1609],256]},64768:{64768:[[1581,1610],256],64769:[[1580,1609],256],64770:[[1580,1610],256],64771:[[1582,1609],256],64772:[[1582,1610],256],64773:[[1589,1609],256],64774:[[1589,1610],256],64775:[[1590,1609],256],64776:[[1590,1610],256],64777:[[1588,1580],256],64778:[[1588,1581],256],64779:[[1588,1582],256],64780:[[1588,1605],256],64781:[[1588,1585],256],64782:[[1587,1585],256],64783:[[1589,1585],256],64784:[[1590,1585],256],64785:[[1591,1609],256],64786:[[1591,1610],256],64787:[[1593,1609],256],64788:[[1593,1610],256],64789:[[1594,1609],256],64790:[[1594,1610],256],64791:[[1587,1609],256],64792:[[1587,1610],256],64793:[[1588,1609],256],64794:[[1588,1610],256],64795:[[1581,1609],256],64796:[[1581,1610],256],64797:[[1580,1609],256],64798:[[1580,1610],256],64799:[[1582,1609],256],64800:[[1582,1610],256],64801:[[1589,1609],256],64802:[[1589,1610],256],64803:[[1590,1609],256],64804:[[1590,1610],256],64805:[[1588,1580],256],64806:[[1588,1581],256],64807:[[1588,1582],256],64808:[[1588,1605],256],64809:[[1588,1585],256],64810:[[1587,1585],256],64811:[[1589,1585],256],64812:[[1590,1585],256],64813:[[1588,1580],256],64814:[[1588,1581],256],64815:[[1588,1582],256],64816:[[1588,1605],256],64817:[[1587,1607],256],64818:[[1588,1607],256],64819:[[1591,1605],256],64820:[[1587,1580],256],64821:[[1587,1581],256],64822:[[1587,1582],256],64823:[[1588,1580],256],64824:[[1588,1581],256],64825:[[1588,1582],256],64826:[[1591,1605],256],64827:[[1592,1605],256],64828:[[1575,1611],256],64829:[[1575,1611],256],64848:[[1578,1580,1605],256],64849:[[1578,1581,1580],256],64850:[[1578,1581,1580],256],64851:[[1578,1581,1605],256],64852:[[1578,1582,1605],256],64853:[[1578,1605,1580],256],64854:[[1578,1605,1581],256],64855:[[1578,1605,1582],256],64856:[[1580,1605,1581],256],64857:[[1580,1605,1581],256],64858:[[1581,1605,1610],256],64859:[[1581,1605,1609],256],64860:[[1587,1581,1580],256],64861:[[1587,1580,1581],256],64862:[[1587,1580,1609],256],64863:[[1587,1605,1581],256],64864:[[1587,1605,1581],256],64865:[[1587,1605,1580],256],64866:[[1587,1605,1605],256],64867:[[1587,1605,1605],256],64868:[[1589,1581,1581],256],64869:[[1589,1581,1581],256],64870:[[1589,1605,1605],256],64871:[[1588,1581,1605],256],64872:[[1588,1581,1605],256],64873:[[1588,1580,1610],256],64874:[[1588,1605,1582],256],64875:[[1588,1605,1582],256],64876:[[1588,1605,1605],256],64877:[[1588,1605,1605],256],64878:[[1590,1581,1609],256],64879:[[1590,1582,1605],256],64880:[[1590,1582,1605],256],64881:[[1591,1605,1581],256],64882:[[1591,1605,1581],256],64883:[[1591,1605,1605],256],64884:[[1591,1605,1610],256],64885:[[1593,1580,1605],256],64886:[[1593,1605,1605],256],64887:[[1593,1605,1605],256],64888:[[1593,1605,1609],256],64889:[[1594,1605,1605],256],64890:[[1594,1605,1610],256],64891:[[1594,1605,1609],256],64892:[[1601,1582,1605],256],64893:[[1601,1582,1605],256],64894:[[1602,1605,1581],256],64895:[[1602,1605,1605],256],64896:[[1604,1581,1605],256],64897:[[1604,1581,1610],256],64898:[[1604,1581,1609],256],64899:[[1604,1580,1580],256],64900:[[1604,1580,1580],256],64901:[[1604,1582,1605],256],64902:[[1604,1582,1605],256],64903:[[1604,1605,1581],256],64904:[[1604,1605,1581],256],64905:[[1605,1581,1580],256],64906:[[1605,1581,1605],256],64907:[[1605,1581,1610],256],64908:[[1605,1580,1581],256],64909:[[1605,1580,1605],256],64910:[[1605,1582,1580],256],64911:[[1605,1582,1605],256],64914:[[1605,1580,1582],256],64915:[[1607,1605,1580],256],64916:[[1607,1605,1605],256],64917:[[1606,1581,1605],256],64918:[[1606,1581,1609],256],64919:[[1606,1580,1605],256],64920:[[1606,1580,1605],256],64921:[[1606,1580,1609],256],64922:[[1606,1605,1610],256],64923:[[1606,1605,1609],256],64924:[[1610,1605,1605],256],64925:[[1610,1605,1605],256],64926:[[1576,1582,1610],256],64927:[[1578,1580,1610],256],64928:[[1578,1580,1609],256],64929:[[1578,1582,1610],256],64930:[[1578,1582,1609],256],64931:[[1578,1605,1610],256],64932:[[1578,1605,1609],256],64933:[[1580,1605,1610],256],64934:[[1580,1581,1609],256],64935:[[1580,1605,1609],256],64936:[[1587,1582,1609],256],64937:[[1589,1581,1610],256],64938:[[1588,1581,1610],256],64939:[[1590,1581,1610],256],64940:[[1604,1580,1610],256],64941:[[1604,1605,1610],256],64942:[[1610,1581,1610],256],64943:[[1610,1580,1610],256],64944:[[1610,1605,1610],256],64945:[[1605,1605,1610],256],64946:[[1602,1605,1610],256],64947:[[1606,1581,1610],256],64948:[[1602,1605,1581],256],64949:[[1604,1581,1605],256],64950:[[1593,1605,1610],256],64951:[[1603,1605,1610],256],64952:[[1606,1580,1581],256],64953:[[1605,1582,1610],256],64954:[[1604,1580,1605],256],64955:[[1603,1605,1605],256],64956:[[1604,1580,1605],256],64957:[[1606,1580,1581],256],64958:[[1580,1581,1610],256],64959:[[1581,1580,1610],256],64960:[[1605,1580,1610],256],64961:[[1601,1605,1610],256],64962:[[1576,1581,1610],256],64963:[[1603,1605,1605],256],64964:[[1593,1580,1605],256],64965:[[1589,1605,1605],256],64966:[[1587,1582,1610],256],64967:[[1606,1580,1610],256],65008:[[1589,1604,1746],256],65009:[[1602,1604,1746],256],65010:[[1575,1604,1604,1607],256],65011:[[1575,1603,1576,1585],256],65012:[[1605,1581,1605,1583],256],65013:[[1589,1604,1593,1605],256],65014:[[1585,1587,1608,1604],256],65015:[[1593,1604,1610,1607],256],65016:[[1608,1587,1604,1605],256],65017:[[1589,1604,1609],256],65018:[[1589,1604,1609,32,1575,1604,1604,1607,32,1593,1604,1610,1607,32,1608,1587,1604,1605],256],65019:[[1580,1604,32,1580,1604,1575,1604,1607],256],65020:[[1585,1740,1575,1604],256]},65024:{65040:[[44],256],65041:[[12289],256],65042:[[12290],256],65043:[[58],256],65044:[[59],256],65045:[[33],256],65046:[[63],256],65047:[[12310],256],65048:[[12311],256],65049:[[8230],256],65056:[,230],65057:[,230],65058:[,230],65059:[,230],65060:[,230],65061:[,230],65062:[,230],65063:[,220],65064:[,220],65065:[,220],65066:[,220],65067:[,220],65068:[,220],65069:[,220],65072:[[8229],256],65073:[[8212],256],65074:[[8211],256],65075:[[95],256],65076:[[95],256],65077:[[40],256],65078:[[41],256],65079:[[123],256],65080:[[125],256],65081:[[12308],256],65082:[[12309],256],65083:[[12304],256],65084:[[12305],256],65085:[[12298],256],65086:[[12299],256],65087:[[12296],256],65088:[[12297],256],65089:[[12300],256],65090:[[12301],256],65091:[[12302],256],65092:[[12303],256],65095:[[91],256],65096:[[93],256],65097:[[8254],256],65098:[[8254],256],65099:[[8254],256],65100:[[8254],256],65101:[[95],256],65102:[[95],256],65103:[[95],256],65104:[[44],256],65105:[[12289],256],65106:[[46],256],65108:[[59],256],65109:[[58],256],65110:[[63],256],65111:[[33],256],65112:[[8212],256],65113:[[40],256],65114:[[41],256],65115:[[123],256],65116:[[125],256],65117:[[12308],256],65118:[[12309],256],65119:[[35],256],65120:[[38],256],65121:[[42],256],65122:[[43],256],65123:[[45],256],65124:[[60],256],65125:[[62],256],65126:[[61],256],65128:[[92],256],65129:[[36],256],65130:[[37],256],65131:[[64],256],65136:[[32,1611],256],65137:[[1600,1611],256],65138:[[32,1612],256],65140:[[32,1613],256],65142:[[32,1614],256],65143:[[1600,1614],256],65144:[[32,1615],256],65145:[[1600,1615],256],65146:[[32,1616],256],65147:[[1600,1616],256],65148:[[32,1617],256],65149:[[1600,1617],256],65150:[[32,1618],256],65151:[[1600,1618],256],65152:[[1569],256],65153:[[1570],256],65154:[[1570],256],65155:[[1571],256],65156:[[1571],256],65157:[[1572],256],65158:[[1572],256],65159:[[1573],256],65160:[[1573],256],65161:[[1574],256],65162:[[1574],256],65163:[[1574],256],65164:[[1574],256],65165:[[1575],256],65166:[[1575],256],65167:[[1576],256],65168:[[1576],256],65169:[[1576],256],65170:[[1576],256],65171:[[1577],256],65172:[[1577],256],65173:[[1578],256],65174:[[1578],256],65175:[[1578],256],65176:[[1578],256],65177:[[1579],256],65178:[[1579],256],65179:[[1579],256],65180:[[1579],256],65181:[[1580],256],65182:[[1580],256],65183:[[1580],256],65184:[[1580],256],65185:[[1581],256],65186:[[1581],256],65187:[[1581],256],65188:[[1581],256],65189:[[1582],256],65190:[[1582],256],65191:[[1582],256],65192:[[1582],256],65193:[[1583],256],65194:[[1583],256],65195:[[1584],256],65196:[[1584],256],65197:[[1585],256],65198:[[1585],256],65199:[[1586],256],65200:[[1586],256],65201:[[1587],256],65202:[[1587],256],65203:[[1587],256],65204:[[1587],256],65205:[[1588],256],65206:[[1588],256],65207:[[1588],256],65208:[[1588],256],65209:[[1589],256],65210:[[1589],256],65211:[[1589],256],65212:[[1589],256],65213:[[1590],256],65214:[[1590],256],65215:[[1590],256],65216:[[1590],256],65217:[[1591],256],65218:[[1591],256],65219:[[1591],256],65220:[[1591],256],65221:[[1592],256],65222:[[1592],256],65223:[[1592],256],65224:[[1592],256],65225:[[1593],256],65226:[[1593],256],65227:[[1593],256],65228:[[1593],256],65229:[[1594],256],65230:[[1594],256],65231:[[1594],256],65232:[[1594],256],65233:[[1601],256],65234:[[1601],256],65235:[[1601],256],65236:[[1601],256],65237:[[1602],256],65238:[[1602],256],65239:[[1602],256],65240:[[1602],256],65241:[[1603],256],65242:[[1603],256],65243:[[1603],256],65244:[[1603],256],65245:[[1604],256],65246:[[1604],256],65247:[[1604],256],65248:[[1604],256],65249:[[1605],256],65250:[[1605],256],65251:[[1605],256],65252:[[1605],256],65253:[[1606],256],65254:[[1606],256],65255:[[1606],256],65256:[[1606],256],65257:[[1607],256],65258:[[1607],256],65259:[[1607],256],65260:[[1607],256],65261:[[1608],256],65262:[[1608],256],65263:[[1609],256],65264:[[1609],256],65265:[[1610],256],65266:[[1610],256],65267:[[1610],256],65268:[[1610],256],65269:[[1604,1570],256],65270:[[1604,1570],256],65271:[[1604,1571],256],65272:[[1604,1571],256],65273:[[1604,1573],256],65274:[[1604,1573],256],65275:[[1604,1575],256],65276:[[1604,1575],256]},65280:{65281:[[33],256],65282:[[34],256],65283:[[35],256],65284:[[36],256],65285:[[37],256],65286:[[38],256],65287:[[39],256],65288:[[40],256],65289:[[41],256],65290:[[42],256],65291:[[43],256],65292:[[44],256],65293:[[45],256],65294:[[46],256],65295:[[47],256],65296:[[48],256],65297:[[49],256],65298:[[50],256],65299:[[51],256],65300:[[52],256],65301:[[53],256],65302:[[54],256],65303:[[55],256],65304:[[56],256],65305:[[57],256],65306:[[58],256],65307:[[59],256],65308:[[60],256],65309:[[61],256],65310:[[62],256],65311:[[63],256],65312:[[64],256],65313:[[65],256],65314:[[66],256],65315:[[67],256],65316:[[68],256],65317:[[69],256],65318:[[70],256],65319:[[71],256],65320:[[72],256],65321:[[73],256],65322:[[74],256],65323:[[75],256],65324:[[76],256],65325:[[77],256],65326:[[78],256],65327:[[79],256],65328:[[80],256],65329:[[81],256],65330:[[82],256],65331:[[83],256],65332:[[84],256],65333:[[85],256],65334:[[86],256],65335:[[87],256],65336:[[88],256],65337:[[89],256],65338:[[90],256],65339:[[91],256],65340:[[92],256],65341:[[93],256],65342:[[94],256],65343:[[95],256],65344:[[96],256],65345:[[97],256],65346:[[98],256],65347:[[99],256],65348:[[100],256],65349:[[101],256],65350:[[102],256],65351:[[103],256],65352:[[104],256],65353:[[105],256],65354:[[106],256],65355:[[107],256],65356:[[108],256],65357:[[109],256],65358:[[110],256],65359:[[111],256],65360:[[112],256],65361:[[113],256],65362:[[114],256],65363:[[115],256],65364:[[116],256],65365:[[117],256],65366:[[118],256],65367:[[119],256],65368:[[120],256],65369:[[121],256],65370:[[122],256],65371:[[123],256],65372:[[124],256],65373:[[125],256],65374:[[126],256],65375:[[10629],256],65376:[[10630],256],65377:[[12290],256],65378:[[12300],256],65379:[[12301],256],65380:[[12289],256],65381:[[12539],256],65382:[[12530],256],65383:[[12449],256],65384:[[12451],256],65385:[[12453],256],65386:[[12455],256],65387:[[12457],256],65388:[[12515],256],65389:[[12517],256],65390:[[12519],256],65391:[[12483],256],65392:[[12540],256],65393:[[12450],256],65394:[[12452],256],65395:[[12454],256],65396:[[12456],256],65397:[[12458],256],65398:[[12459],256],65399:[[12461],256],65400:[[12463],256],65401:[[12465],256],65402:[[12467],256],65403:[[12469],256],65404:[[12471],256],65405:[[12473],256],65406:[[12475],256],65407:[[12477],256],65408:[[12479],256],65409:[[12481],256],65410:[[12484],256],65411:[[12486],256],65412:[[12488],256],65413:[[12490],256],65414:[[12491],256],65415:[[12492],256],65416:[[12493],256],65417:[[12494],256],65418:[[12495],256],65419:[[12498],256],65420:[[12501],256],65421:[[12504],256],65422:[[12507],256],65423:[[12510],256],65424:[[12511],256],65425:[[12512],256],65426:[[12513],256],65427:[[12514],256],65428:[[12516],256],65429:[[12518],256],65430:[[12520],256],65431:[[12521],256],65432:[[12522],256],65433:[[12523],256],65434:[[12524],256],65435:[[12525],256],65436:[[12527],256],65437:[[12531],256],65438:[[12441],256],65439:[[12442],256],65440:[[12644],256],65441:[[12593],256],65442:[[12594],256],65443:[[12595],256],65444:[[12596],256],65445:[[12597],256],65446:[[12598],256],65447:[[12599],256],65448:[[12600],256],65449:[[12601],256],65450:[[12602],256],65451:[[12603],256],65452:[[12604],256],65453:[[12605],256],65454:[[12606],256],65455:[[12607],256],65456:[[12608],256],65457:[[12609],256],65458:[[12610],256],65459:[[12611],256],65460:[[12612],256],65461:[[12613],256],65462:[[12614],256],65463:[[12615],256],65464:[[12616],256],65465:[[12617],256],65466:[[12618],256],65467:[[12619],256],65468:[[12620],256],65469:[[12621],256],65470:[[12622],256],65474:[[12623],256],65475:[[12624],256],65476:[[12625],256],65477:[[12626],256],65478:[[12627],256],65479:[[12628],256],65482:[[12629],256],65483:[[12630],256],65484:[[12631],256],65485:[[12632],256],65486:[[12633],256],65487:[[12634],256],65490:[[12635],256],65491:[[12636],256],65492:[[12637],256],65493:[[12638],256],65494:[[12639],256],65495:[[12640],256],65498:[[12641],256],65499:[[12642],256],65500:[[12643],256],65504:[[162],256],65505:[[163],256],65506:[[172],256],65507:[[175],256],65508:[[166],256],65509:[[165],256],65510:[[8361],256],65512:[[9474],256],65513:[[8592],256],65514:[[8593],256],65515:[[8594],256],65516:[[8595],256],65517:[[9632],256],65518:[[9675],256]}};var O={nfc:N,nfd:M,nfkc:L,nfkd:I};t.exports=O,O.shimApplied=!1,String.prototype.normalize||(Object.defineProperty(String.prototype,"normalize",{enumerable:!1,configurable:!0,writable:!0,value:function(){var R=""+this,B=arguments[0]===void 0?"NFC":arguments[0];if(this===null||this===void 0)throw new TypeError("Cannot call method on "+Object.prototype.toString.call(this));if(B==="NFC")return O.nfc(R);if(B==="NFD")return O.nfd(R);if(B==="NFKC")return O.nfkc(R);if(B==="NFKD")return O.nfkd(R);throw new RangeError("Invalid normalization form: "+B)}}),O.shimApplied=!0)})()})(J_);var aI=J_.exports;(function(){var t=X_.L,e=j_.N,r=K_.Z,n=Q_.M,i=aI,a=function(o){if(~t.indexOf(o))return"L";if(~e.indexOf(o))return"N";if(~r.indexOf(o))return"Z";if(~n.indexOf(o))return"M"};Y_.exports=function(o,s){o=o||"",s=s||{};for(var u=s.allowedChars||"-_~",l=typeof s.lower=="boolean"?s.lower:!0,c=typeof s.spaces=="boolean"?s.spaces:!1,f=[],h=i.nfkc(o),d=0;d<h.length;d++){var p=h[d],v=p.charCodeAt(0);if(19968<=v&&v<=40959){f.push(p);continue}if(44032<=v&&v<=55203){f.push(p);continue}if((12288<=v&&v<=12290||65281<=v&&v<=65282)&&f.push(" "),u.indexOf(p)!=-1){f.push(p);continue}var g=a(v);g&&~"LNM".indexOf(g)&&f.push(p),g&&~"Z".indexOf(g)&&f.push(" ")}var m=f.join("").replace(/^\s+|\s+$/g,"").replace(/\s+/g," ");return c||(m=m.replace(/[\s\-]+/g,"-")),l&&(m=m.toLowerCase()),m}})();var oI=Y_.exports,sI=oI;const uI=UL(wk);Object.defineProperty(q_,"__esModule",{value:!0});var lI=q_.default=CI,cI=V4(iI),fI=V4(sI),Ra=V4(uI);function V4(t){return t&&t.__esModule?t:{default:t}}function b0(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b0=function(r){return typeof r}:b0=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},b0(t)}function Bp(t){return pI(t)||dI(t)||hI()}function hI(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function dI(t){if(Symbol.iterator in Object(t)||Object.prototype.toString.call(t)==="[object Arguments]")return Array.from(t)}function pI(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}function ss(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable}))),n.forEach(function(i){vI(t,i,r[i])})}return t}function vI(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var gI="@[toc]",mI=/^@\[toc\]/im,s1=function(){},u1={},Zs="",yI=function(e,r){return new Array(r+1).join(e)},Fp=function(e,r,n){var i=n(e);return r[i]||(r[i]=0),r[i]++,i+(r[i]>1?"-".concat(r[i]):"")},_I=function(){return ss({},new Ra.default("text","",0),{content:" "})},bI=function(e){return e.anchorLinkSymbolClassName?[ss({},new Ra.default("span_open","span",1),{attrs:[["class",e.anchorLinkSymbolClassName]]}),ss({},new Ra.default("text","",0),{content:e.anchorLinkSymbol}),new Ra.default("span_close","span",-1)]:[ss({},new Ra.default("text","",0),{content:e.anchorLinkSymbol})]},xI=function(e,r,n,i){var a=[];r.anchorClassName!=null&&a.push(["class",r.anchorClassName]),a.push(["href","#".concat(e)]);var o=ss({},new Ra.default("link_open","a",1),{attrs:a}),s=new Ra.default("link_close","a",-1);if(r.wrapHeadingTextInAnchor)n[i+1].children.unshift(o),n[i+1].children.push(s);else{var u,l=[o].concat(Bp(bI(r)),[s]),c={false:"push",true:"unshift"};r.anchorLinkSpace&&l[c[!r.anchorLinkBefore]](_I()),(u=n[i+1].children)[c[r.anchorLinkBefore]].apply(u,Bp(l))}},wI=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.map(function(n){var i=" ",a="".concat(yI(i,r),"*");if(n.heading.content){var o=n.heading.content.replace(/\[([^\]]*)\]\([^)]*\)/g,"$1");a+=" "+"[".concat(o,"](#").concat(n.heading.anchor,`)
|
|
24
|
+
`)}else a+=`
|
|
25
|
+
`;return n.nodes.length&&(a+=t(n.nodes,r+1)),a}).join("")},SI=function(e,r){var n={nodes:[]};return e.forEach(function(i){if(!(i.level<r.tocFirstLevel||i.level>r.tocLastLevel)){for(var a=1,o=n;a<i.level-r.tocFirstLevel+1;a++)o.nodes.length===0&&o.nodes.push({heading:{},nodes:[]}),o=o.nodes[o.nodes.length-1];o.nodes.push({heading:i,nodes:[]})}}),wI(n.nodes)};function CI(t,e){e=ss({toc:!0,tocClassName:"markdownIt-TOC",tocFirstLevel:1,tocLastLevel:6,tocCallback:null,anchorLink:!0,anchorLinkSymbol:"#",anchorLinkBefore:!0,anchorClassName:"markdownIt-Anchor",resetIds:!0,anchorLinkSpace:!0,anchorLinkSymbolClassName:null,wrapHeadingTextInAnchor:!1},e),s1=(0,cI.default)(t),u1={},t.core.ruler.push("init_toc",function(n){var i=n.tokens;e.resetIds&&(u1={});for(var a=[],o="",s=[],u=typeof e.slugify=="function"&&e.slugify||fI.default,l=0;l<i.length;l++)if(i[l].type==="heading_close"){var c=i[l-1],f=i[l];if(c.type==="inline"){var h=void 0;c.children&&c.children.length>0&&c.children[0].type==="link_open"?(h=c.children[1].content,c._tocAnchor=Fp(h,u1,u)):(h=c.content,c._tocAnchor=Fp(c.children.reduce(function(p,v){return p+v.content},""),u1,u)),e.anchorLinkPrefix&&(c._tocAnchor=e.anchorLinkPrefix+c._tocAnchor),a.push({content:h,anchor:c._tocAnchor,level:+f.tag.substr(1,1)})}}if(o=SI(a,e),s=s1.parse(o,{}),b0(s[0])==="object"&&s[0].type==="bullet_list_open"){var d=s[0].attrs=s[0].attrs||[];e.tocClassName!=null&&d.push(["class",e.tocClassName])}Zs=s1.renderer.render(s,s1.options),typeof n.env.tocCallback=="function"?n.env.tocCallback.call(void 0,o,a,Zs):typeof e.tocCallback=="function"?e.tocCallback.call(void 0,o,a,Zs):typeof t.options.tocCallback=="function"&&t.options.tocCallback.call(void 0,o,a,Zs)}),t.inline.ruler.after("emphasis","toc",function(n,i){var a,o;return n.src.charCodeAt(n.pos)!==64||n.src.charCodeAt(n.pos+1)!==91||i||(o=mI.exec(n.src),o=o?o.filter(function(s){return s}):[],o.length<1)?!1:(a=n.push("toc_open","toc",1),a.markup=gI,a=n.push("toc_body","",0),a=n.push("toc_close","toc",-1),n.pos=n.pos+6,!0)});var r=t.renderer.rules.heading_open||function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i[0],s=i[1],u=i[2],l=i[4];return l.renderToken(o,s,u)};t.renderer.rules.heading_open=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];var o=i[0],s=i[1],u=o[s].attrs=o[s].attrs||[],l=o[s+1]._tocAnchor;return u.push(["id",l]),e.anchorLink&&xI.apply(void 0,[l,e].concat(i)),r.apply(this,i)},t.renderer.rules.toc_open=function(){return""},t.renderer.rules.toc_close=function(){return""},t.renderer.rules.toc_body=function(){return""},e.toc&&(t.renderer.rules.toc_body=function(){return Zs})}function AI(t){if(!t.linkify)return;const e=t.linkify,r=e.match;e.match=function(n){const i=r.call(this,n);return i?i.filter(a=>{const o=a.raw||a.text;return/\.sh$/i.test(o)?!1:!!(/^(https?|ftp|mailto):\/\//i.test(o)||/^www\./i.test(o)||/\/|\?|:|#/.test(o))}):null}}function eb(t={}){const{html:e=!0,xhtmlOut:r=!0,breaks:n=!0,linkify:i=!1,emoji:a=!0,typographer:o=!1,langPrefix:s="language-",quotes:u="“”‘’",taskLists:l=!0,tableClass:c="table",anchorAttributes:f={},toc:h=!1,tocClass:d="table-of-contents",tocFirstLevel:p=2,tocLastLevel:v,tocAnchorLink:g=!0,tocAnchorLinkSymbol:m="#",tocAnchorLinkSpace:y=!0,tocAnchorClass:_="toc-anchor",tocAnchorLinkClass:b="toc-anchor-link",tocId:x,onTocRendered:w}=t,S=new Pr().use(DL).use(ML).use(zL).use(VL).use($L).use(GL).use(HL).use(nI,{enabled:l});if(a&&S.use(CL,{shortcuts:{}}),S.set({html:e,xhtmlOut:r,breaks:n,linkify:i,typographer:o,langPrefix:s,quotes:u}),AI(S),S.renderer.rules.table_open=()=>`<table class="${c}">
|
|
26
|
+
`,f&&Object.keys(f).length>0){const C=S.renderer.rules.link_open||function(A,T,D,k,M){return M.renderToken(A,T,D)};S.renderer.rules.link_open=(A,T,D,k,M)=>(Object.keys(f).map(I=>{let N=A[T].attrIndex(I),L=f[I];N<0?A[T].attrPush([I,L]):A[T].attrs[N][1]=L}),C(A,T,D,k,M))}return h&&S.use(lI,{tocClassName:d,tocFirstLevel:p,...v?{tocLastLevel:v}:{},anchorLink:g,anchorLinkSymbol:m,anchorLinkSpace:y,anchorClassName:_,anchorLinkSymbolClassName:b,tocCallback:(C,A,T)=>{T&&(x&&document.getElementById(x)&&(document.getElementById(x).innerHTML=T),w&&w(T))}}),S}function TI(t){for(var e=t.split(`
|
|
27
|
+
`),r="",n=!1,i=0;i<e.length;i++)e[i].startsWith(">")&&(e[i]=e[i].replace(/>/g,">")),n&&(e[i]=e[i].replace(new RegExp("<","g"),"<").replace(new RegExp(">","g"),">").replace(new RegExp(""","g"),'"').replace(new RegExp("'","g"),"'")),e[i].startsWith("```")&&(n=!n),r+=e[i]+`
|
|
28
|
+
`;return r.replace(/<span>\\<\/span>/g,"\\\\")}function tb(t,e){const r=new RegExp("&(?!#?\\w+;)","g");return t&&t.replace?t.replace(e?new RegExp("&","g"):r,"&").replace(new RegExp("<","g"),"<").replace(new RegExp(">","g"),">").replace(new RegExp('"',"g"),""").replace(new RegExp("'","g"),"'"):t}function rb(t){return t&&t.replace?t.replace(new RegExp(""","g"),'"').replace(new RegExp("'","g"),"'").replace(new RegExp("<","g"),"<").replace(new RegExp(">","g"),">").replace(new RegExp("&","g"),"&").replace(new RegExp("<span>\\\\<\\/span>","g"),"\\\\"):t}function nb(t){const e=[],r=new RegExp("```[\\s\\S]*?```","g");return{modifiedMdString:t.replace(r,i=>(e.push(i),"{{CODE_BLOCK}}")),codeBlocks:e}}function ib(t,e){const r=new RegExp("\\{\\{CODE_BLOCK\\}\\}","g");let n=0;return t.replace(r,()=>e[n++])}function ab(t){const e=new RegExp("<video[\\s\\S]*?<\\/video>","gi"),r=[];return{replacedString:t.replace(e,i=>{const a=i.replace(/>\s+</g,"><").replace(/\n\s*/g," ").trim();return r.push(a),"HTML@@Video"}),videoTags:r}}function ob(t,e){let r=t;return e.forEach(n=>{r=r.replace("HTML@@Video",n)}),r}const DI={"$@$":"DEOLLERQ1","$@":"DEOLLERQ2"};Object.fromEntries(Object.entries(DI).map(([t,e])=>[e,t]));let Ys;const zp=()=>{if(typeof Ys=="boolean")return Ys;try{new RegExp("(?<!x)y"),Ys=!0}catch{Ys=!1}return Ys},EI=t=>(console.log(9999,zp()),zp()?t.replace(new RegExp("(?<!!)\\[\\]\\((https?:\\/\\/[^)]+)\\)","g"),function(r,n){return"["+n+"]("+n+")"}):t.replace(new RegExp("(\\!?)(\\[\\]\\((https?:\\/\\/[^)]+)\\))","g"),function(e,r,n,i){return r==="!"?e:"["+i+"]("+i+")"}));var Fh={exports:{}},tt={},zh={exports:{}},lo={};function sb(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function kI(t,e,r){}function MI(t,e,r){}var LI=/javascript\s*\:/img;function II(t,e){return LI.test(e)?"":e}lo.whiteList=sb();lo.getDefaultWhiteList=sb;lo.onAttr=kI;lo.onIgnoreAttr=MI;lo.safeAttrValue=II;var PI={indexOf:function(t,e){var r,n;if(Array.prototype.indexOf)return t.indexOf(e);for(r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1},forEach:function(t,e,r){var n,i;if(Array.prototype.forEach)return t.forEach(e,r);for(n=0,i=t.length;n<i;n++)e.call(r,t[n],n,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(t){return String.prototype.trimRight?t.trimRight():t.replace(/(\s*$)/g,"")}},Xs=PI;function RI(t,e){t=Xs.trimRight(t),t[t.length-1]!==";"&&(t+=";");var r=t.length,n=!1,i=0,a=0,o="";function s(){if(!n){var c=Xs.trim(t.slice(i,a)),f=c.indexOf(":");if(f!==-1){var h=Xs.trim(c.slice(0,f)),d=Xs.trim(c.slice(f+1));if(h){var p=e(i,o.length,h,d,c);p&&(o+=p+"; ")}}}i=a+1}for(;a<r;a++){var u=t[a];if(u==="/"&&t[a+1]==="*"){var l=t.indexOf("*/",a+2);if(l===-1)break;a=l+1,i=a+1,n=!1}else u==="("?n=!0:u===")"?n=!1:u===";"?n||s():u===`
|
|
29
|
+
`&&s()}return Xs.trim(o)}var NI=RI,l1=lo,OI=NI;function Vp(t){return t==null}function BI(t){var e={};for(var r in t)e[r]=t[r];return e}function ub(t){t=BI(t||{}),t.whiteList=t.whiteList||l1.whiteList,t.onAttr=t.onAttr||l1.onAttr,t.onIgnoreAttr=t.onIgnoreAttr||l1.onIgnoreAttr,t.safeAttrValue=t.safeAttrValue||l1.safeAttrValue,this.options=t}ub.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,r=e.options,n=r.whiteList,i=r.onAttr,a=r.onIgnoreAttr,o=r.safeAttrValue,s=OI(t,function(u,l,c,f,h){var d=n[c],p=!1;if(d===!0?p=d:typeof d=="function"?p=d(f):d instanceof RegExp&&(p=d.test(f)),p!==!0&&(p=!1),f=o(c,f),!!f){var v={position:l,sourcePosition:u,source:h,isWhite:p};if(p){var g=i(c,f,v);return Vp(g)?c+":"+f:g}else{var g=a(c,f,v);if(!Vp(g))return g}}});return s};var FI=ub;(function(t,e){var r=lo,n=FI;function i(o,s){var u=new n(s);return u.process(o)}e=t.exports=i,e.FilterCSS=n;for(var a in r)e[a]=r[a];typeof window<"u"&&(window.filterCSS=t.exports)})(zh,zh.exports);var $4=zh.exports,G4={indexOf:function(t,e){var r,n;if(Array.prototype.indexOf)return t.indexOf(e);for(r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1},forEach:function(t,e,r){var n,i;if(Array.prototype.forEach)return t.forEach(e,r);for(n=0,i=t.length;n<i;n++)e.call(r,t[n],n,t)},trim:function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(t){var e=/\s|\n|\t/,r=e.exec(t);return r?r.index:-1}},zI=$4.FilterCSS,VI=$4.getDefaultWhiteList,W0=G4;function lb(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height","loading"],ins:["datetime"],kbd:[],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var cb=new zI;function $I(t,e,r){}function GI(t,e,r){}function HI(t,e,r){}function UI(t,e,r){}function fb(t){return t.replace(qI,"<").replace(ZI,">")}function WI(t,e,r,n){if(r=mb(r),e==="href"||e==="src"){if(r=W0.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(e==="background"){if(c1.lastIndex=0,c1.test(r))return""}else if(e==="style"){if($p.lastIndex=0,$p.test(r)||(Gp.lastIndex=0,Gp.test(r)&&(c1.lastIndex=0,c1.test(r))))return"";n!==!1&&(n=n||cb,r=n.process(r))}return r=yb(r),r}var qI=/</g,ZI=/>/g,YI=/"/g,XI=/"/g,jI=/&#([a-zA-Z0-9]*);?/gim,KI=/:?/gim,QI=/&newline;?/gim,c1=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,$p=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Gp=/u\s*r\s*l\s*\(.*/gi;function hb(t){return t.replace(YI,""")}function db(t){return t.replace(XI,'"')}function pb(t){return t.replace(jI,function(r,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function vb(t){return t.replace(KI,":").replace(QI," ")}function gb(t){for(var e="",r=0,n=t.length;r<n;r++)e+=t.charCodeAt(r)<32?" ":t.charAt(r);return W0.trim(e)}function mb(t){return t=db(t),t=pb(t),t=vb(t),t=gb(t),t}function yb(t){return t=hb(t),t=fb(t),t}function JI(){return""}function eP(t,e){typeof e!="function"&&(e=function(){});var r=!Array.isArray(t);function n(o){return r?!0:W0.indexOf(t,o)!==-1}var i=[],a=!1;return{onIgnoreTag:function(o,s,u){if(n(o))if(u.isClosing){var l="[/removed]",c=u.position+l.length;return i.push([a!==!1?a:u.position,c]),a=!1,l}else return a||(a=u.position),"[removed]";else return e(o,s,u)},remove:function(o){var s="",u=0;return W0.forEach(i,function(l){s+=o.slice(u,l[0]),u=l[1]}),s+=o.slice(u),s}}}function tP(t){for(var e="",r=0;r<t.length;){var n=t.indexOf("<!--",r);if(n===-1){e+=t.slice(r);break}e+=t.slice(r,n);var i=t.indexOf("-->",n);if(i===-1)break;r=i+3}return e}function rP(t){var e=t.split("");return e=e.filter(function(r){var n=r.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),e.join("")}tt.whiteList=lb();tt.getDefaultWhiteList=lb;tt.onTag=$I;tt.onIgnoreTag=GI;tt.onTagAttr=HI;tt.onIgnoreTagAttr=UI;tt.safeAttrValue=WI;tt.escapeHtml=fb;tt.escapeQuote=hb;tt.unescapeQuote=db;tt.escapeHtmlEntities=pb;tt.escapeDangerHtml5Entities=vb;tt.clearNonPrintableCharacter=gb;tt.friendlyAttrValue=mb;tt.escapeAttrValue=yb;tt.onIgnoreTagStripAll=JI;tt.StripTagBody=eP;tt.stripCommentTag=tP;tt.stripBlankChar=rP;tt.attributeWrapSign='"';tt.cssFilter=cb;tt.getDefaultCSSWhiteList=VI;var Jc={},vi=G4;function nP(t){var e=vi.spaceIndex(t),r;return e===-1?r=t.slice(1,-1):r=t.slice(1,e+1),r=vi.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function iP(t){return t.slice(0,2)==="</"}function aP(t,e,r){var n="",i=0,a=!1,o=!1,s=0,u=t.length,l="",c="";e:for(s=0;s<u;s++){var f=t.charAt(s);if(a===!1){if(f==="<"){a=s;continue}}else if(o===!1){if(f==="<"){n+=r(t.slice(i,s)),a=s,i=s;continue}if(f===">"||s===u-1){n+=r(t.slice(i,a)),c=t.slice(a,s+1),l=nP(c),n+=e(a,n.length,l,c,iP(c)),i=s+1,a=!1;continue}if(f==='"'||f==="'")for(var h=1,d=t.charAt(s-h);d.trim()===""||d==="=";){if(d==="="){o=f;continue e}d=t.charAt(s-++h)}}else if(f===o){o=!1;continue}}return i<u&&(n+=r(t.substr(i))),n}var oP=/[^a-zA-Z0-9\\_:.-]/gim;function sP(t,e){var r=0,n=0,i=[],a=!1,o=t.length;function s(h,d){if(h=vi.trim(h),h=h.replace(oP,"").toLowerCase(),!(h.length<1)){var p=e(h,d||"");p&&i.push(p)}}for(var u=0;u<o;u++){var l=t.charAt(u),c,f;if(a===!1&&l==="="){a=t.slice(r,u),r=u+1,n=t.charAt(r)==='"'||t.charAt(r)==="'"?r:lP(t,u+1);continue}if(a!==!1&&u===n){if(f=t.indexOf(l,u+1),f===-1)break;c=vi.trim(t.slice(n+1,f)),s(a,c),a=!1,u=f,r=u+1;continue}if(/\s|\n|\t/.test(l))if(t=t.replace(/\s|\n|\t/g," "),a===!1)if(f=uP(t,u),f===-1){c=vi.trim(t.slice(r,u)),s(c),a=!1,r=u+1;continue}else{u=f-1;continue}else if(f=cP(t,u-1),f===-1){c=vi.trim(t.slice(r,u)),c=Hp(c),s(a,c),a=!1,r=u+1;continue}else continue}return r<t.length&&(a===!1?s(t.slice(r)):s(a,Hp(vi.trim(t.slice(r))))),vi.trim(i.join(" "))}function uP(t,e){for(;e<t.length;e++){var r=t[e];if(r!==" ")return r==="="?e:-1}}function lP(t,e){for(;e<t.length;e++){var r=t[e];if(r!==" ")return r==="'"||r==='"'?e:-1}}function cP(t,e){for(;e>0;e--){var r=t[e];if(r!==" ")return r==="="?e:-1}}function fP(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function Hp(t){return fP(t)?t.substr(1,t.length-2):t}Jc.parseTag=aP;Jc.parseAttr=sP;var hP=$4.FilterCSS,xr=tt,_b=Jc,dP=_b.parseTag,pP=_b.parseAttr,x0=G4;function f1(t){return t==null}function vP(t){var e=x0.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=x0.trim(t.slice(e+1,-1));var r=t[t.length-1]==="/";return r&&(t=x0.trim(t.slice(0,-1))),{html:t,closing:r}}function gP(t){var e={};for(var r in t)e[r]=t[r];return e}function mP(t){var e={};for(var r in t)Array.isArray(t[r])?e[r.toLowerCase()]=t[r].map(function(n){return n.toLowerCase()}):e[r.toLowerCase()]=t[r];return e}function bb(t){t=gP(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=xr.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=mP(t.whiteList||t.allowList):t.whiteList=xr.whiteList,this.attributeWrapSign=t.singleQuotedAttributeValue===!0?"'":xr.attributeWrapSign,t.onTag=t.onTag||xr.onTag,t.onTagAttr=t.onTagAttr||xr.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||xr.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||xr.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||xr.safeAttrValue,t.escapeHtml=t.escapeHtml||xr.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new hP(t.css))}bb.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,r=e.options,n=r.whiteList,i=r.onTag,a=r.onIgnoreTag,o=r.onTagAttr,s=r.onIgnoreTagAttr,u=r.safeAttrValue,l=r.escapeHtml,c=e.attributeWrapSign,f=e.cssFilter;r.stripBlankChar&&(t=xr.stripBlankChar(t)),r.allowCommentTag||(t=xr.stripCommentTag(t));var h=!1;r.stripIgnoreTagBody&&(h=xr.StripTagBody(r.stripIgnoreTagBody,a),a=h.onIgnoreTag);var d=dP(t,function(p,v,g,m,y){var _={sourcePosition:p,position:v,isClosing:y,isWhite:Object.prototype.hasOwnProperty.call(n,g)},b=i(g,m,_);if(!f1(b))return b;if(_.isWhite){if(_.isClosing)return"</"+g+">";var x=vP(m),w=n[g],S=pP(x.html,function(C,A){var T=x0.indexOf(w,C)!==-1,D=o(g,C,A,T);return f1(D)?T?(A=u(g,C,A,f),A?C+"="+c+A+c:C):(D=s(g,C,A,T),f1(D)?void 0:D):D});return m="<"+g,S&&(m+=" "+S),x.closing&&(m+=" /"),m+=">",m}else return b=a(g,m,_),f1(b)?l(m):b},l);return h&&(d=h.remove(d)),d};var yP=bb;(function(t,e){var r=tt,n=Jc,i=yP;function a(s,u){var l=new i(u);return l.process(s)}e=t.exports=a,e.filterXSS=a,e.FilterXSS=i,function(){for(var s in r)e[s]=r[s];for(var u in n)e[u]=n[u]}(),typeof window<"u"&&(window.filterXSS=t.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(Fh,Fh.exports);var Un=Fh.exports;const e2=Un.getDefaultWhiteList();e2.a=["href","title","target"];e2.source=["src","type"];console.log("myWhiteList",e2);const xb={css:!1,whiteList:e2,onTag:function(t,e,r){return t.startsWith("mjx-")||t.startsWith("mjx")||t.startsWith("mj")?e:null},onTagAttr(t,e,r,n){if((f=>f?/[<>]|[\"']\\s*>|=\\s*[\"'][^\"']*>|javascript:|data:text\/html|onerror|onload|onclick|onmouseover|on\\w+\\s*=|vbscript:/i.test(f):!1)(r))return console.log(`阻止包含危险字符的属性: ${t} ${e}="${r}"`),"";if(t.indexOf("_")!==-1)return`${e}="${r}"`;if(["div","span","strong","p","mark"].includes(t)&&!new RegExp("^on").test(e))return`${e}="${r}"`;if(["class","style"].includes(e))return`${e}="${r}"`;if(t==="a"&&["rel","data-link-url"].includes(e))return`${e}="${r}"`;if(t==="a"&&e==="href"){const f=["qdweb","qdim","mqqwpa"],h=r.split(":")[0];if(f.includes(h))return`${e}="${Un.escapeAttrValue(r)}"`}if(t==="video"&&["rel","webkit-playsinline","x5-playsinline","title","size","format"].includes(e))return`${e}="${r}"`;if(t==="audio"&&["controls","controlslist","id","speed","title","size","format","data-duration-ms"].includes(e))return`${e}="${r}"`;if(t==="img"&&["alt","data-value"].includes(e))return`${e}="${r}"`;if((t.startsWith("mjx-")||t.startsWith("mjx")||t.startsWith("mj")||t.startsWith("mo"))&&(e==="class"||e==="style"))return`${e}="${Un.escapeAttrValue(r)}"`}},H4=Un.getDefaultWhiteList();H4.a=["href","title","target"];H4.source=["src","type"];const _P={css:!1,whiteList:H4,onTag:function(t,e,r){return t.startsWith("mjx-")||t.startsWith("mjx")||t.startsWith("mj")?e:null},onTagAttr(t,e,r,n){if((f=>f?/[<>]|["']\s*>|=\s*["'][^"']*>|javascript:|data:text\/html|onerror|onload|onclick|onmouseover|on\w+\s*=|vbscript:/i.test(f):!1)(r))return console.log(`阻止包含危险字符的属性: ${t} ${e}="${r}"`),"";if(t.indexOf("_")!==-1)return`${e}="${r}"`;if(["div","span","strong","p","mark"].includes(t)&&!new RegExp("^on").test(e))return`${e}="${r}"`;if(["class","style"].includes(e))return`${e}="${r}"`;if(t==="a"&&["rel","data-link-url"].includes(e))return`${e}="${r}"`;if(t==="a"&&e==="href"){const f=["qdweb","qdim","mqqwpa"],h=r.split(":")[0];if(f.includes(h))return`${e}="${Un.escapeAttrValue(r)}"`}if(t==="video"&&["rel","webkit-playsinline","x5-playsinline","title","size","format"].includes(e))return`${e}="${r}"`;if(t==="audio"&&["controls","controlslist","id","speed","title","size","format","data-duration-ms"].includes(e))return`${e}="${r}"`;if(t==="img"&&["alt","data-value"].includes(e))return`${e}="${r}"`;if((t.startsWith("mjx-")||t.startsWith("mjx")||t.startsWith("mj")||t.startsWith("mo"))&&(e==="class"||e==="style"))return`${e}="${Un.escapeAttrValue(r)}"`}},bP={success:"success",failed:"failed",processing:"processing",stop:"stop"};window.isMathJaxLoaded=!1;function xP({loadType:t,url:e}){if(console.log("injectMathJax 3"),!window.isMathJaxLoaded){const r=document.createElement("script");r.src=window.mathjaxSrc?window.mathjaxSrc:"https://cdn.xiaowei.qq.com/webim/assets/static/mathjax/es5/tex-chtml.min.es5.js",r.async=!0,document.head.appendChild(r)}}function wb(t={},e){if(window.isMathJaxLoaded)e&&e();else if(window.MathJax){const r=window.MathJax.startup.pageReady;window.MathJax.startup.pageReady=()=>{console.log("MathJax callback"),e&&e(),window.isMathJaxLoaded=!0,r()}}else xP({}),window.MathJax={loader:{load:["[tex]/mhchem"]},tex:{inlineMath:[["$","$"],["\\(","\\)"]],displayMath:[["$$","$$"],["\\[","\\]"]],processEnvironments:!0,processRefs:!0,processEscapes:!0,packages:{"[+]":["mhchem"]},equationNumbers:{autoNumber:"AMS"}},options:{skipHtmlTags:["script","noscript","style","textarea","pre","code","a"],ignoreHtmlClass:"tex2jax_ignore"},startup:{pageReady:()=>{console.log("initMathJax 4 pageReady"),e&&e(),window.isMathJaxLoaded=!0}},svg:{fontCache:"global"}}}function Sb(t){return t&&!Array.isArray(t)&&(t=[t]),new Promise((e,r)=>{wb({},()=>{window.MathJax.typesetPromise(t).then(()=>{e(void 0)}).catch(n=>r(n))})})}function Up(t){let e="$"+t+"$";return console.log("isMathJaxFormula 66",e),[/\$\d+(\.\d+)?.*(change|up|down|gain|loss|move).*([\+\-]?\d+(\.\d+)?).*([\+\-]?\d+(\.\d+)?%)/i,/(market\s+cap|capitalization|market\s+value).*(is|\:)\s*\$\d+/i,/(trading|volume|shares|stock).*(at|\@)\s*\$\d+/i,/\$\d+(\.\d+)?\s*(to|-|~)\s*\$\d+(\.\d+)?/i].some(n=>n.test(e))}function Wp(t){if(console.log("isMathJaxFormula 6",Up(t),t),Up(t)||t.includes("\\"")&&(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")||/\\"[^\\]+\\"\s*:\s*\\"[^\\]*\\"/.test(t))||(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]"))&&(t.includes('\\"')||t.includes('\\"')||t.includes("\\"")||t.includes("""))&&t.includes(":")||/^#{1,6}\s+/.test(t.trim())||t.includes("###")||t.includes("##")||/^#\s+/.test(t.trim())||!t||t.trim()===""||t.match(/^CONST\[/)||t.match(/^[A-Z_]+\[/)||t.includes("@\\`")||t.startsWith("$")&&t.endsWith("$")&&t.includes("\\`")||/\$[a-zA-Z0-9_]+\\`/.test(t)||/`[^`]*`/.test(t)||/\*\*.*?\*\*|__.*?__|_.*?_|\*.*?\*|~~.*?~~|\[.*?\]\(.*?\)/.test(t)&&!/(\\frac|\\sum|\\int|\\prod|\\lim|\\{|\\}|\\[|\\]|\\(|\\))/.test(t))return!1;if(t.includes(`
|
|
30
|
+
`)){const d=t.trim().split(`
|
|
31
|
+
`);if(d.length>=2&&/^(\$)?\s*\d+(\.\d+)?\s*$/.test(d[0].trim())){const p=d[1].trim();if(/^\*\*.*?(价格|原价|折扣|优惠|促销|售价).*?\*\*\s*:/.test(p)||/^\*\*(Price|Original|Discount|Sale|Special).*?\*\*\s*:/i.test(p))return!1}for(const p of d)if(/^#{1,6}\s+/.test(p.trim()))return!1}const e=t.trim();if(/^(Based on|According to|From|In|The) .*(answer|correct|material|provided|explanation).*:?$/i.test(e)||/(at least|\bat\b|\bof\b|\bis\b|\bfine\b|\bpay\b|\bfees?\b|\bprice\b|\bcosts?\b|\bpenalty|\bpenalties)\s+(\*\*)?\$\d+/i.test(t)||/^[-•*]\s+.*\$\d+/.test(t)||/^[\d]+\.?\s+.*\$\d+/.test(t)||/table\s+\d+|general\s+impairment|high\s+rate|highest\s+rate/i.test(t)&&/\$\d+/.test(t)||/^(\$)?\s*\d+(\.\d+)?\s*$/.test(e))return!1;const r=[/(原价|现价|优惠价|折扣价|促销价|售价|定价|价格|折扣信息|优惠信息)\s*[::]?\s*$/,/(价格|费用|金额)\s*[::]?\s*$/,/^\s*([¥$€₤₹₽¢₩]|USD|CAD|EUR|GBP|JPY|RMB|CNY)/,/\b(quotation|budget|controller|department|head|manager|director|verbal|approval|vendor|supplier)\b/i,/^(price|cost|fee|amount|fine|penalty|minimum)\s*:?\s*$/i,/(original|discount|sale|special|retail|list|offer)\s+(price|cost)\s*:?\s*$/i,/(price|cost|fine)\s+(before|after|is|of|at least)\s+(tax|discount)\s*:?\s*$/i,/(minimum|maximum|guaranteed)\s+(fine|penalty|cost|payment)/i];for(const d of r)if(d.test(e))return!1;const n=[/\|.*\|/,/\n.*\|/,/^\s*\$?\d{1,3}(,\d{3})+(\.\d{2})?\s*$/,/\$\d+,\d+/,/[A-Z][a-z]+\s+[A-Z][a-z]+/];for(const d of n)if(d.test(e))return!1;const i=[/^\*\*[\s\S]*?(价格|折扣|优惠|促销|售价|特价|打折|fine|penalty|payment|fee)[\s\S]*?\*\*\s*:?$/i,/^\*\*(商品|产品|规格|型号|尺寸|数量|Table|BAC|Rate|offense|conviction|Explanation|Notes|Additional)[\s\S]*?\*\*\s*:?$/i];for(const d of i)if(d.test(e))return!1;if(/\$\d+(\.\d+)?([\s,]+(across|for|in|when|per|each|every|all|any|most|minimum|maximum))/i.test(t)||/^(\d+)?\.?\d+$/.test(e)||/['"][^'"]*\$\d+[^'"]*['"]/.test(t)||/^>.*\$\d+/.test(e))return!1;if(t.startsWith("$")&&t.endsWith("$")&&t.length>2){const d=t.slice(1,-1);if(/^\s*\d+(\.\d+)?\s*$/.test(d)||/.*\\`.*/.test(d)||d.includes("#"))return!1;if(/^[a-zA-Z]+$/.test(d.trim()))return!0}if(/^[A-Za-z]$/.test(e)||/^[A-Z]{2}$/.test(e))return!0;const o=t.replace(/\\\\(?=\w)/g,"\\");if(/\([^()]+,[^()]+\)|\[[^[\]]+,[^[\]]+\]/.test(o))return!0;if(/\\`/.test(o)&&/\$[a-zA-Z0-9_]+\\`/.test(o)||o.includes("#"))return!1;if(/\\([a-zA-Z]+|[=<>])/.test(o)||/\b[a-zA-Z]\s*[\+\-\*\/]?\s*\d+\s*[=<>]?\s*\d*\b/.test(o)||/\b[a-zA-Z]\s*[=<>≤≥]\s*[a-zA-Z0-9]\b/.test(o))return!0;const c=["geq","leq","gt","lt","neq","approx","equiv","geqslant","leqslant","sim","simeq","cong"];if(new RegExp(`\\\\(${c.join("|")})`).test(o)||/\\text\{[^}]*\}.*?[=+\-*\/\^_\\]/.test(o))return!0;const h=[/\\frac/,/(?!^\s*[\[\{].*?\\\".*?[\]\}]\s*$)[\{\}\(\)\[\]]{2,}/,/[+\-*\/=<>^_]/,/\\(times|div|cdot|pm|mp|sum|int|infty|partial|sqrt|over)/,/\\(begin|end)\{(matrix|pmatrix|bmatrix|vmatrix)\}/,/\\(sum|int|prod|lim)/];for(const d of h)if(d.test(o))return!0;return!!(o.match(/[\\^_{}]|\\[a-z]+/)&&!o.match(/\\`/)&&!o.includes("\\""))}function Cb(t){let e=[],r=t,n=0;const i=[],a=/\$\$([\s\S]*?)\$\$/g;let o,s=[];for(;(o=a.exec(t))!==null;)s.push({start:o.index,end:o.index+o[0].length-1}),i.push(o[0]);for(let v=0;v<i.length;v++){const g=`__DOUBLE_DOLLAR_TEMP_${v}__`;r=r.replace(i[v],g)}const u=/\\\[([\s\S]*?)\\\]/g;let l,c=[];for(;(l=u.exec(r))!==null;)c.push({full:l[0],content:l[1],start:l.index,end:l.index+l[0].length});for(let v=c.length-1;v>=0;v--){const g=c[v];if(!Wp(g.content)){const m=`__PLACEHOLDER_${n}__`;e[n]=g.full,n++,r=r.substring(0,g.start)+m+r.substring(g.end)}}const f=/\$([^\$]+?)\$/g;let h;const d=r;let p=[];for(;(h=f.exec(d))!==null;){const v=h[0],g=h[1],m=h.index,y=m+v.length;let _=!1;for(const b of s)if(m>=b.start&&y<=b.end){_=!0;break}!_&&g.trim()!==""&&p.push({full:v,content:g,start:m,end:y})}for(let v=p.length-1;v>=0;v--){const g=p[v];if(console.log("isMathJaxFormula111"),!Wp(g.content)){const m=`__PLACEHOLDER_${n}__`;e[n]=g.full,n++,r=r.substring(0,g.start)+m+r.substring(g.end)}}for(let v=0;v<i.length;v++){const g=`__DOUBLE_DOLLAR_TEMP_${v}__`;r=r.replace(g,i[v])}return console.log("extractDollarEnclosedStrings1",r,e),{transformed:r,extracted:e}}function Ab(t,e,r=[]){let n=t;const i=new RegExp("__PLACEHOLDER_(\\d+)__","g");n=n.replace(i,(o,s)=>{const u=parseInt(s,10);return u<e.length?e[u]:o});const a=new RegExp("__DOUBLE_DOLLAR_TEMP_(\\d+)__","g");return n=n.replace(a,(o,s)=>{const u=parseInt(s,10);return u<r.length?r[u]:o}),n}window.isMermaidLoaded=!1;window.mermaidLoadError=!1;function wP(t){if(!t)return"";try{const r=new DOMParser().parseFromString(t,"image/svg+xml"),n=r.querySelector("parsererror");if(n)return console.error("SVG 解析错误:",n.textContent),"";const i=r.querySelector("svg");return i?(["script","iframe","object","embed","link","style","img","video","audio","frame","frameset","base","meta","form"].forEach(l=>{i.querySelectorAll(l).forEach(f=>f.remove())}),["foreignObject","use","animate","animateTransform","set"].forEach(l=>{i.querySelectorAll(l).forEach(f=>{if(l==="use"){const h=f.getAttribute("href")||f.getAttribute("xlink:href");h&&!h.startsWith("#")&&f.remove()}else f.remove()})}),[i,...i.querySelectorAll("*")].forEach(l=>{Array.from(l.attributes).forEach(f=>{const h=f.name.toLowerCase(),d=f.value;if(h.startsWith("on")){l.removeAttribute(f.name);return}if(d){const p=d.toLowerCase();if(p.includes("javascript:")||p.includes("data:text/html")||p.includes("vbscript:")||p.includes("data:application/")||/<script/i.test(d)){l.removeAttribute(f.name);return}}(h==="href"||h==="xlink:href")&&d&&!d.startsWith("#")&&!d.startsWith("http://")&&!d.startsWith("https://")&&l.removeAttribute(f.name)})}),new XMLSerializer().serializeToString(i)):(console.warn("未找到 SVG 元素"),t)}catch(e){return console.error("清理 SVG 时发生错误:",e),""}}function SP(t){if(!t||typeof t!="string")return"";let e=t;return e=e.replace(/<\s*\/?\s*(script|style|iframe|object|embed|form|input|button|select|textarea|link|meta|base|applet)[\s>\/][^>]*>/gi,""),e=e.replace(/\bon\w+\s*=\s*["'][^"']*["']/gi,""),e=e.replace(/\bon\w+\s*=\s*[^\s>]*/gi,""),e=e.replace(/javascript:/gi,""),e=e.replace(/vbscript:/gi,""),e=e.replace(/data:text\/html/gi,""),e=e.replace(/data:application/gi,""),e=e.replace(/<script[\s\S]*?<\/script>/gi,""),e=e.replace(/<script/gi,""),e=e.replace(/<img/gi,""),e=e.replace(/<iframe/gi,""),e}const Tb="data-mermaid-source",xi="data-mermaid-rendered",zu="data-mermaid-rendering",ts="data-mermaid-rendered-source",Oi="data-mermaid-key",CP="[MermaidTrace]";function At(t,e={}){const r=window.__MERMAID_TRACE_SEQ__=(window.__MERMAID_TRACE_SEQ__||0)+1;console.log(`${CP}[${r}][${t}]`,e)}function q0(t){var e;return t&&(t.getAttribute(Tb)||((e=t.querySelector("pre > code.language-mermaid"))==null?void 0:e.textContent))||""}function AP(t,e=0){return`mermaid-slot-${e}`}function yn(t=""){return SP(t).trim()}function TP(t="",e=""){if(!t||!e||t===e)return!1;const r=yn(t),n=yn(e);return!!r&&!!n&&n.startsWith(r)}function DP(t="",e=""){if(!t||!e||t===e)return!1;const r=yn(t),n=yn(e);if(!r||!n||!r.startsWith(n))return!1;const i=r.length-n.length;return i>0&&i<=4}function Z0(t,e){t.setAttribute(Tb,e||"")}function qp(t,e,r){t.setAttribute(Oi,AP(e,r))}function EP(t){var e;if(!(!t||t.nodeType!==1))return(e=t.classList)!=null&&e.contains("mermaid-container")?t.getAttribute(Oi)||void 0:t.id||void 0}function js(t){var e,r;return!t||t.nodeType!==1?!1:(e=t.classList)!=null&&e.contains("mermaid-container")||t.tagName==="PRE"&&t.querySelector("code.language-mermaid")?!0:t.tagName==="CODE"&&((r=t.classList)==null?void 0:r.contains("language-mermaid"))}function Qi(t){var i,a,o,s,u;if(!t||t.nodeType!==1)return null;const e=(i=t.classList)!=null&&i.contains("mermaid-container")?t:(a=t.closest)==null?void 0:a.call(t,".mermaid-container"),r=t.tagName==="CODE"&&((o=t.classList)!=null&&o.contains("language-mermaid"))?t:((s=t.querySelector)==null?void 0:s.call(t,"code.language-mermaid"))||((u=e==null?void 0:e.querySelector)==null?void 0:u.call(e,"code.language-mermaid")),n=e?q0(e):(r==null?void 0:r.textContent)||"";return{tag:t.tagName,key:(e==null?void 0:e.getAttribute(Oi))||"",rendered:(e==null?void 0:e.getAttribute(xi))||"",rendering:(e==null?void 0:e.getAttribute(zu))||"",sourceLen:n.length,textPreview:n.slice(0,80)}}function kP(t,e){const r=document.createElement("pre"),n=document.createElement("code");n.className="language-mermaid",n.textContent=e||"",r.appendChild(n),t.innerHTML="",t.appendChild(r)}function Db(t=document){return t.querySelectorAll("pre > code.language-mermaid").forEach((r,n)=>{var u;const i=r.parentElement,a=i==null?void 0:i.parentElement,o=r.textContent||"";if(!i||!a)return;if((u=a.classList)!=null&&u.contains("mermaid-container")){Z0(a,o),qp(a,o,n),At("prepare.update",{index:n,key:a.getAttribute(Oi),sourceLen:o.length});return}const s=document.createElement("div");s.className="mermaid-container",Z0(s,o),qp(s,o,n),s.appendChild(i.cloneNode(!0)),a.replaceChild(s,i),At("prepare.wrap",{index:n,key:s.getAttribute(Oi),sourceLen:o.length})}),t}function MP(t,e){var g,m;if(!t||!e||t.nodeType!==1||e.nodeType!==1||!((g=t.classList)!=null&&g.contains("mermaid-container"))||!((m=e.classList)!=null&&m.contains("mermaid-container")))return!1;const r=t.getAttribute(Oi)||"",n=e.getAttribute(Oi)||"";if(r&&n&&r!==n)return At("preserve.key_mismatch",{fromKey:r,toKey:n}),!1;const i=q0(t),a=q0(e);if(!a)return At("preserve.source_mismatch",{fromKey:r,toKey:n,fromSourceLen:i.length,toSourceLen:0}),!1;Array.from(e.attributes).forEach(y=>{t.setAttribute(y.name,y.value)});const o=yn(t.getAttribute(ts)||""),s=yn(a),u=yn(i),l=t.getAttribute(zu)==="true",c=t.getAttribute(xi)==="true",f=c&&!!t.querySelector("svg"),h=u===s,d=f&&TP(o||u,s),p=f&&DP(u||o,s),v=l||c&&h||d||p;return At(v?"preserve.hit":"preserve.miss",{key:r||n,isRendering:l,isRendered:c,hasRenderedSvg:f,isSameSource:h,isStreamingUpdate:d,isSettlingUpdate:p,currentSourceLen:u.length,renderedSourceLen:o.length,nextSourceLen:s.length}),v}function LP(t,e){if(!window.isMermaidLoaded){const r=document.createElement("script");r.src=window.MermaidSrc?window.MermaidSrc:"https://cdn.xiaowei.qq.com/webim/assets/static/mermaid.min.js",r.async=!0,At("script.inject",{src:r.src}),r.onload=()=>{window.isMermaidLoaded=!0,At("script.loaded",{src:r.src}),e()},r.onerror=n=>{console.error("Mermaid script加载失败:",n),window.mermaidLoadError=!0,At("script.error",{message:(n==null?void 0:n.message)||String(n)})},document.head.appendChild(r)}}const IP=80;function Vh(t){t!=null&&t.__mermaidRenderTimer&&(clearTimeout(t.__mermaidRenderTimer),t.__mermaidRenderTimer=null)}async function Zp(t,e){if(!t||!e)return;const{index:r,key:n,code:i,comparableCode:a}=e;if(t.getAttribute(zu)==="true"){t.__mermaidPendingPayload=e,At("render.defer.rendering",{index:r,key:n,sourceLen:a.length});return}const o=t.getAttribute(xi)==="true"&&!!t.querySelector("svg"),s=yn(t.getAttribute(ts)||"");Z0(t,i),t.setAttribute(zu,"true"),At("render.begin",{index:r,key:n,sourceLen:a.length,hadRenderedSvg:o,previousRenderedSourceLen:s.length});try{const u=`mermaid-${Date.now()}-${Math.random().toString(36).substring(2,11)}`,{svg:l}=await window.mermaid.render(u,a),c=wP(l);if(!c)throw new Error("Mermaid SVG 清理结果为空");t.innerHTML=c,t.setAttribute(xi,"true"),t.setAttribute(ts,a),t.removeAttribute("data-mermaid-error"),At("render.success",{index:r,key:n,svgLen:c.length})}catch(u){console.error(`MermaidService: 渲染失败 #${r+1}:`,u),o?(t.setAttribute(xi,"true"),t.setAttribute(ts,s),t.setAttribute("data-mermaid-error","stale"),At("render.keep_previous",{index:r,key:n,previousRenderedSourceLen:s.length,nextSourceLen:a.length,message:(u==null?void 0:u.message)||String(u)})):(kP(t,a),t.setAttribute(xi,"error"),t.setAttribute(ts,a),t.setAttribute("data-mermaid-error","true"),At("render.error",{index:r,key:n,message:(u==null?void 0:u.message)||String(u)}))}finally{t.removeAttribute(zu);const u=t.__mermaidPendingPayload;t.__mermaidPendingPayload=null,u&&Eb(t,u)}}function Eb(t,e){if(!t||!e)return;Vh(t);const r=e.hadRenderedSvg?IP:0;if(!r){Zp(t,e);return}t.__mermaidRenderTimer=setTimeout(()=>{t.__mermaidRenderTimer=null,Zp(t,e)},r),At("render.schedule",{index:e.index,key:e.key,sourceLen:e.comparableCode.length,delay:r})}const h1={initialized:!1,init(){this.initialized||(window.mermaid&&window.mermaid.initialize?(window.mermaid.initialize({startOnLoad:!1,theme:"default",suppressErrorRendering:!0,securityLevel:"strict"}),this.initialized=!0):console.error("Mermaid library not loaded"))},async renderAll(t=document){this.init(),Db(t);const e=t.querySelectorAll(".mermaid-container");At("renderAll.start",{count:e.length});for(let r=0;r<e.length;r++){const n=e[r],i=q0(n),a=n.getAttribute(Oi)||"",o=yn(i);if(!o){Vh(n),n.__mermaidPendingPayload=null,At("render.skip.empty",{index:r,key:a,sourceLen:i.length});continue}const s=yn(n.getAttribute(ts)||"");if(n.getAttribute(xi)==="true"&&s===o){Vh(n),n.__mermaidPendingPayload=null,At("render.skip.rendered",{index:r,key:a,sourceLen:o.length});continue}Z0(n,i),Eb(n,{index:r,key:a,code:i,comparableCode:o,hadRenderedSvg:n.getAttribute(xi)==="true"&&!!n.querySelector("svg")})}},onMermaidLoaded(t){if(window.isMermaidLoaded)t();else{if(window.mermaidLoadError)return;const e=setInterval(()=>{window.isMermaidLoaded&&(clearInterval(e),t())},500);setTimeout(()=>{clearInterval(e),console.error("Mermaid加载超时")},3e4)}}};function pr(t,e,r,n,i,a,o,s){var u=typeof t=="function"?t.options:t;e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),a&&(u._scopeId="data-v-"+a);var l;if(o?(l=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__<"u"&&(h=__VUE_SSR_CONTEXT__),i&&i.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(d,p){return l.call(p),c(d,p)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:u}}const PP={name:"MDRender",props:{className:{type:String,default:""},source:{type:String,default:""},show:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0},html:{type:Boolean,default:!0},xhtmlOut:{type:Boolean,default:!0},breaks:{type:Boolean,default:!0},linkify:{type:Boolean,default:!0},emoji:{type:Boolean,default:!0},typographer:{type:Boolean,default:!1},langPrefix:{type:String,default:"language-"},quotes:{type:String,default:"“”‘’"},tableClass:{type:String,default:"table"},taskLists:{type:Boolean,default:!0},toc:{type:Boolean,default:!1},tocId:String,tocClass:{type:String,default:"table-of-contents"},tocFirstLevel:{type:Number,default:2},tocLastLevel:Number,tocAnchorLink:{type:Boolean,default:!0},tocAnchorClass:{type:String,default:"toc-anchor"},tocAnchorLinkSymbol:{type:String,default:"#"},tocAnchorLinkSpace:{type:Boolean,default:!0},tocAnchorLinkClass:{type:String,default:"toc-anchor-link"},anchorAttributes:{type:Object,default:()=>({})},prerender:{type:Function,default:t=>t},postrender:{type:Function,default:t=>t},onRendered:Function,onDestroy:{type:Function,default:()=>{}},onTocRendered:Function,incremental:{type:Boolean,default:!0}},data(){return{sourceData:"",renderSeq:0}},computed:{tocLastLevelComputed(){return this.tocLastLevel>this.tocFirstLevel?this.tocLastLevel:this.tocFirstLevel+1},renderContent(){if(!this.show)return"";const e=this.configureMd().render(this.prerender(this.sourceData.replace(/-->/g,"-->").replace(/(^|[^~\\])~([^~]|$)/g,"$1\\~$2")));return this.postrender(e)}},watch:{source:{handler(t){const e=++this.renderSeq,r=document.createElement("div"),{replacedString:n,videoTags:i}=ab(t),{modifiedMdString:a,codeBlocks:o}=nb(n),s=tb(a),{transformed:u,extracted:l}=Cb(s);r.innerHTML=u;const c=()=>{if(e!==this.renderSeq)return;const f=this.prerender(EI(Ab(rb(ob(ib(r.innerHTML,o),i)),l)));this.sourceData=TI(this.xssHandler.process(f))};Sb(r).then(c).catch(c)},immediate:!0},renderContent:{handler(t){const e=this.$refs.container;if(!e)return;if(!t){e.innerHTML="",this.$nextTick(()=>this.$emit("rendered",e));return}if(!this.incremental){e.innerHTML=t,this.$nextTick(()=>this.$emit("rendered",e));return}const r=document.createElement("div");r.innerHTML=t,ME(e,r,{childrenOnly:!0,getNodeKey(n){return EP(n)},onBeforeElUpdated(n,i){return MP(n,i)?(console.log("[MermaidTrace][Vue2][morph.preserve]",{from:Qi(n),to:Qi(i)}),!1):((js(n)||js(i))&&console.log("[MermaidTrace][Vue2][morph.update]",{from:Qi(n),to:Qi(i)}),n._widgetMounted&&n.classList.contains("widget-container")?(Array.from(i.attributes).forEach(a=>{a.name.startsWith("data-")&&n.setAttribute(a.name,a.value)}),!1):!(n._classifyTagMounted&&n.classList.contains("classify-tag-container")||n._planConfirmMounted&&n.classList.contains("plan-confirm-container")||n.classList.contains("audio-stream-container")&&n.children.length>0||n.tagName==="CODE"&&n.classList.contains("hljs")&&n.textContent===i.textContent))},onBeforeNodeDiscarded(n){return js(n)&&console.log("[MermaidTrace][Vue2][morph.beforeDiscard]",Qi(n)),!0},onNodeDiscarded(n){js(n)&&console.log("[MermaidTrace][Vue2][morph.discarded]",Qi(n))},onNodeAdded(n){return n.nodeType===1&&n.tagName==="CODE"&&n.parentElement&&n.parentElement.tagName==="PRE"&&(n._needsHighlight=!0),js(n)&&console.log("[MermaidTrace][Vue2][morph.added]",Qi(n)),n}}),this.$nextTick(()=>{this.$emit("rendered",e)})},immediate:!0}},created(){this.xssHandler=new Un.FilterXSS(xb)},mounted(){LP({},()=>{})},beforeDestroy(){this.$refs.container&&this.$emit("destroy",this.$refs.container)},methods:{configureMd(){return eb({html:this.html,xhtmlOut:this.xhtmlOut,breaks:this.breaks,linkify:this.linkify,emoji:this.emoji,typographer:this.typographer,langPrefix:this.langPrefix,quotes:this.quotes,taskLists:this.taskLists,tableClass:this.tableClass,anchorAttributes:this.anchorAttributes,toc:this.toc,tocClass:this.tocClass,tocFirstLevel:this.tocFirstLevel,tocLastLevel:this.tocLastLevelComputed,tocAnchorLink:this.tocAnchorLink,tocAnchorLinkSymbol:this.tocAnchorLinkSymbol,tocAnchorLinkSpace:this.tocAnchorLinkSpace,tocAnchorClass:this.tocAnchorClass,tocAnchorLinkClass:this.tocAnchorLinkClass,tocId:this.tocId,onTocRendered:t=>{this.$emit("tocRendered",t),this.$emit("toc-rendered",t)}})}}};var RP=function(){var e=this,r=e._self._c;return r("div",{ref:"container",class:e.className})},NP=[],OP=pr(PP,RP,NP,!1,null,null,null,null);const BP=OP.exports;function kb(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const r=t[e],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&kb(r)}),t}class Yp{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Mb(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function wi(t,...e){const r=Object.create(null);for(const n in t)r[n]=t[n];return e.forEach(function(n){for(const i in n)r[i]=n[i]}),r}const FP="</span>",Xp=t=>!!t.scope,zP=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const r=t.split(".");return[`${e}${r.shift()}`,...r.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${e}${t}`};class VP{constructor(e,r){this.buffer="",this.classPrefix=r.classPrefix,e.walk(this)}addText(e){this.buffer+=Mb(e)}openNode(e){if(!Xp(e))return;const r=zP(e.scope,{prefix:this.classPrefix});this.span(r)}closeNode(e){Xp(e)&&(this.buffer+=FP)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const jp=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class U4{constructor(){this.rootNode=jp(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const r=jp({scope:e});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,r){return typeof r=="string"?e.addText(r):r.children&&(e.openNode(r),r.children.forEach(n=>this._walk(e,n)),e.closeNode(r)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(r=>typeof r=="string")?e.children=[e.children.join("")]:e.children.forEach(r=>{U4._collapse(r)}))}}class $P extends U4{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,r){const n=e.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new VP(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function sl(t){return t?typeof t=="string"?t:t.source:null}function Lb(t){return co("(?=",t,")")}function GP(t){return co("(?:",t,")*")}function HP(t){return co("(?:",t,")?")}function co(...t){return t.map(r=>sl(r)).join("")}function UP(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function W4(...t){return"("+(UP(t).capture?"":"?:")+t.map(n=>sl(n)).join("|")+")"}function Ib(t){return new RegExp(t.toString()+"|").exec("").length-1}function WP(t,e){const r=t&&t.exec(e);return r&&r.index===0}const qP=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function q4(t,{joinWith:e}){let r=0;return t.map(n=>{r+=1;const i=r;let a=sl(n),o="";for(;a.length>0;){const s=qP.exec(a);if(!s){o+=a;break}o+=a.substring(0,s.index),a=a.substring(s.index+s[0].length),s[0][0]==="\\"&&s[1]?o+="\\"+String(Number(s[1])+i):(o+=s[0],s[0]==="("&&r++)}return o}).map(n=>`(${n})`).join(e)}const ZP=/\b\B/,Pb="[a-zA-Z]\\w*",Z4="[a-zA-Z_]\\w*",Rb="\\b\\d+(\\.\\d+)?",Nb="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ob="\\b(0b[01]+)",YP="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",XP=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=co(e,/.*\b/,t.binary,/\b.*/)),wi({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},t)},ul={begin:"\\\\[\\s\\S]",relevance:0},jP={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ul]},KP={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ul]},QP={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},t2=function(t,e,r={}){const n=wi({scope:"comment",begin:t,end:e,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=W4("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:co(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},JP=t2("//","$"),eR=t2("/\\*","\\*/"),tR=t2("#","$"),rR={scope:"number",begin:Rb,relevance:0},nR={scope:"number",begin:Nb,relevance:0},iR={scope:"number",begin:Ob,relevance:0},aR={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ul,{begin:/\[/,end:/\]/,relevance:0,contains:[ul]}]},oR={scope:"title",begin:Pb,relevance:0},sR={scope:"title",begin:Z4,relevance:0},uR={begin:"\\.\\s*"+Z4,relevance:0},lR=function(t){return Object.assign(t,{"on:begin":(e,r)=>{r.data._beginMatch=e[1]},"on:end":(e,r)=>{r.data._beginMatch!==e[1]&&r.ignoreMatch()}})};var d1=Object.freeze({__proto__:null,APOS_STRING_MODE:jP,BACKSLASH_ESCAPE:ul,BINARY_NUMBER_MODE:iR,BINARY_NUMBER_RE:Ob,COMMENT:t2,C_BLOCK_COMMENT_MODE:eR,C_LINE_COMMENT_MODE:JP,C_NUMBER_MODE:nR,C_NUMBER_RE:Nb,END_SAME_AS_BEGIN:lR,HASH_COMMENT_MODE:tR,IDENT_RE:Pb,MATCH_NOTHING_RE:ZP,METHOD_GUARD:uR,NUMBER_MODE:rR,NUMBER_RE:Rb,PHRASAL_WORDS_MODE:QP,QUOTE_STRING_MODE:KP,REGEXP_MODE:aR,RE_STARTERS_RE:YP,SHEBANG:XP,TITLE_MODE:oR,UNDERSCORE_IDENT_RE:Z4,UNDERSCORE_TITLE_MODE:sR});function cR(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function fR(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function hR(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=cR,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function dR(t,e){Array.isArray(t.illegal)&&(t.illegal=W4(...t.illegal))}function pR(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function vR(t,e){t.relevance===void 0&&(t.relevance=1)}const gR=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},t);Object.keys(t).forEach(n=>{delete t[n]}),t.keywords=r.keywords,t.begin=co(r.beforeMatch,Lb(r.begin)),t.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},t.relevance=0,delete r.beforeMatch},mR=["of","and","for","in","not","or","if","then","parent","list","value"],yR="keyword";function Bb(t,e,r=yR){const n=Object.create(null);return typeof t=="string"?i(r,t.split(" ")):Array.isArray(t)?i(r,t):Object.keys(t).forEach(function(a){Object.assign(n,Bb(t[a],e,a))}),n;function i(a,o){e&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const u=s.split("|");n[u[0]]=[a,_R(u[0],u[1])]})}}function _R(t,e){return e?Number(e):bR(t)?0:1}function bR(t){return mR.includes(t.toLowerCase())}const Kp={},Ha=t=>{console.error(t)},Qp=(t,...e)=>{console.log(`WARN: ${t}`,...e)},So=(t,e)=>{Kp[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Kp[`${t}/${e}`]=!0)},Y0=new Error;function Fb(t,e,{key:r}){let n=0;const i=t[r],a={},o={};for(let s=1;s<=e.length;s++)o[s+n]=i[s],a[s+n]=!0,n+=Ib(e[s-1]);t[r]=o,t[r]._emit=a,t[r]._multi=!0}function xR(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Ha("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Y0;if(typeof t.beginScope!="object"||t.beginScope===null)throw Ha("beginScope must be object"),Y0;Fb(t,t.begin,{key:"beginScope"}),t.begin=q4(t.begin,{joinWith:""})}}function wR(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Ha("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Y0;if(typeof t.endScope!="object"||t.endScope===null)throw Ha("endScope must be object"),Y0;Fb(t,t.end,{key:"endScope"}),t.end=q4(t.end,{joinWith:""})}}function SR(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function CR(t){SR(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),xR(t),wR(t)}function AR(t){function e(o,s){return new RegExp(sl(o),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(s?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(s,u){u.position=this.position++,this.matchIndexes[this.matchAt]=u,this.regexes.push([u,s]),this.matchAt+=Ib(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(u=>u[1]);this.matcherRe=e(q4(s,{joinWith:"|"}),!0),this.lastIndex=0}exec(s){this.matcherRe.lastIndex=this.lastIndex;const u=this.matcherRe.exec(s);if(!u)return null;const l=u.findIndex((f,h)=>h>0&&f!==void 0),c=this.matchIndexes[l];return u.splice(0,l),Object.assign(u,c)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(s){if(this.multiRegexes[s])return this.multiRegexes[s];const u=new r;return this.rules.slice(s).forEach(([l,c])=>u.addRule(l,c)),u.compile(),this.multiRegexes[s]=u,u}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(s,u){this.rules.push([s,u]),u.type==="begin"&&this.count++}exec(s){const u=this.getMatcher(this.regexIndex);u.lastIndex=this.lastIndex;let l=u.exec(s);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const c=this.getMatcher(0);c.lastIndex=this.lastIndex+1,l=c.exec(s)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function i(o){const s=new n;return o.contains.forEach(u=>s.addRule(u.begin,{rule:u,type:"begin"})),o.terminatorEnd&&s.addRule(o.terminatorEnd,{type:"end"}),o.illegal&&s.addRule(o.illegal,{type:"illegal"}),s}function a(o,s){const u=o;if(o.isCompiled)return u;[fR,pR,CR,gR].forEach(c=>c(o,s)),t.compilerExtensions.forEach(c=>c(o,s)),o.__beforeBegin=null,[hR,dR,vR].forEach(c=>c(o,s)),o.isCompiled=!0;let l=null;return typeof o.keywords=="object"&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),l=o.keywords.$pattern,delete o.keywords.$pattern),l=l||/\w+/,o.keywords&&(o.keywords=Bb(o.keywords,t.case_insensitive)),u.keywordPatternRe=e(l,!0),s&&(o.begin||(o.begin=/\B|\b/),u.beginRe=e(u.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(u.endRe=e(u.end)),u.terminatorEnd=sl(u.end)||"",o.endsWithParent&&s.terminatorEnd&&(u.terminatorEnd+=(o.end?"|":"")+s.terminatorEnd)),o.illegal&&(u.illegalRe=e(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(c){return TR(c==="self"?o:c)})),o.contains.forEach(function(c){a(c,u)}),o.starts&&a(o.starts,s),u.matcher=i(u),u}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=wi(t.classNameAliases||{}),a(t)}function zb(t){return t?t.endsWithParent||zb(t.starts):!1}function TR(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return wi(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:zb(t)?wi(t,{starts:t.starts?wi(t.starts):null}):Object.isFrozen(t)?wi(t):t}var DR="11.11.1";class ER extends Error{constructor(e,r){super(e),this.name="HTMLInjectionError",this.html=r}}const nf=Mb,Jp=wi,ev=Symbol("nomatch"),kR=7,Vb=function(t){const e=Object.create(null),r=Object.create(null),n=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",o={disableAutodetect:!0,name:"Plain text",contains:[]};let s={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:$P};function u(L){return s.noHighlightRe.test(L)}function l(L){let O=L.className+" ";O+=L.parentNode?L.parentNode.className:"";const P=s.languageDetectRe.exec(O);if(P){const R=C(P[1]);return R||(Qp(a.replace("{}",P[1])),Qp("Falling back to no-highlight mode for this block.",L)),R?P[1]:"no-highlight"}return O.split(/\s+/).find(R=>u(R)||C(R))}function c(L,O,P){let R="",B="";typeof O=="object"?(R=L,P=O.ignoreIllegals,B=O.language):(So("10.7.0","highlight(lang, code, ...args) has been deprecated."),So("10.7.0",`Please use highlight(code, options) instead.
|
|
32
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),B=L,R=O),P===void 0&&(P=!0);const z={code:R,language:B};I("before:highlight",z);const V=z.result?z.result:f(z.language,z.code,P);return V.code=z.code,I("after:highlight",V),V}function f(L,O,P,R){const B=Object.create(null);function z(re,pe){return re.keywords[pe]}function V(){if(!de.keywords){Ke.addText(Oe);return}let re=0;de.keywordPatternRe.lastIndex=0;let pe=de.keywordPatternRe.exec(Oe),Le="";for(;pe;){Le+=Oe.substring(re,pe.index);const Ge=Te.case_insensitive?pe[0].toLowerCase():pe[0],It=z(de,Ge);if(It){const[Mn,vE]=It;if(Ke.addText(Le),Le="",B[Ge]=(B[Ge]||0)+1,B[Ge]<=kR&&(Ki+=vE),Mn.startsWith("_"))Le+=pe[0];else{const gE=Te.classNameAliases[Mn]||Mn;K(pe[0],gE)}}else Le+=pe[0];re=de.keywordPatternRe.lastIndex,pe=de.keywordPatternRe.exec(Oe)}Le+=Oe.substring(re),Ke.addText(Le)}function U(){if(Oe==="")return;let re=null;if(typeof de.subLanguage=="string"){if(!e[de.subLanguage]){Ke.addText(Oe);return}re=f(de.subLanguage,Oe,!0,wt[de.subLanguage]),wt[de.subLanguage]=re._top}else re=d(Oe,de.subLanguage.length?de.subLanguage:null);de.relevance>0&&(Ki+=re.relevance),Ke.__addSublanguage(re._emitter,re.language)}function q(){de.subLanguage!=null?U():V(),Oe=""}function K(re,pe){re!==""&&(Ke.startScope(pe),Ke.addText(re),Ke.endScope())}function xe(re,pe){let Le=1;const Ge=pe.length-1;for(;Le<=Ge;){if(!re._emit[Le]){Le++;continue}const It=Te.classNameAliases[re[Le]]||re[Le],Mn=pe[Le];It?K(Mn,It):(Oe=Mn,V(),Oe=""),Le++}}function Ve(re,pe){return re.scope&&typeof re.scope=="string"&&Ke.openNode(Te.classNameAliases[re.scope]||re.scope),re.beginScope&&(re.beginScope._wrap?(K(Oe,Te.classNameAliases[re.beginScope._wrap]||re.beginScope._wrap),Oe=""):re.beginScope._multi&&(xe(re.beginScope,pe),Oe="")),de=Object.create(re,{parent:{value:de}}),de}function ue(re,pe,Le){let Ge=WP(re.endRe,Le);if(Ge){if(re["on:end"]){const It=new Yp(re);re["on:end"](pe,It),It.isMatchIgnored&&(Ge=!1)}if(Ge){for(;re.endsParent&&re.parent;)re=re.parent;return re}}if(re.endsWithParent)return ue(re.parent,pe,Le)}function ee(re){return de.matcher.regexIndex===0?(Oe+=re[0],1):(Y2=!0,0)}function he(re){const pe=re[0],Le=re.rule,Ge=new Yp(Le),It=[Le.__beforeBegin,Le["on:begin"]];for(const Mn of It)if(Mn&&(Mn(re,Ge),Ge.isMatchIgnored))return ee(pe);return Le.skip?Oe+=pe:(Le.excludeBegin&&(Oe+=pe),q(),!Le.returnBegin&&!Le.excludeBegin&&(Oe=pe)),Ve(Le,re),Le.returnBegin?0:pe.length}function Q(re){const pe=re[0],Le=O.substring(re.index),Ge=ue(de,re,Le);if(!Ge)return ev;const It=de;de.endScope&&de.endScope._wrap?(q(),K(pe,de.endScope._wrap)):de.endScope&&de.endScope._multi?(q(),xe(de.endScope,re)):It.skip?Oe+=pe:(It.returnEnd||It.excludeEnd||(Oe+=pe),q(),It.excludeEnd&&(Oe=pe));do de.scope&&Ke.closeNode(),!de.skip&&!de.subLanguage&&(Ki+=de.relevance),de=de.parent;while(de!==Ge.parent);return Ge.starts&&Ve(Ge.starts,re),It.returnEnd?0:pe.length}function se(){const re=[];for(let pe=de;pe!==Te;pe=pe.parent)pe.scope&&re.unshift(pe.scope);re.forEach(pe=>Ke.openNode(pe))}let Fe={};function Pe(re,pe){const Le=pe&&pe[0];if(Oe+=re,Le==null)return q(),0;if(Fe.type==="begin"&&pe.type==="end"&&Fe.index===pe.index&&Le===""){if(Oe+=O.slice(pe.index,pe.index+1),!i){const Ge=new Error(`0 width match regex (${L})`);throw Ge.languageName=L,Ge.badRule=Fe.rule,Ge}return 1}if(Fe=pe,pe.type==="begin")return he(pe);if(pe.type==="illegal"&&!P){const Ge=new Error('Illegal lexeme "'+Le+'" for mode "'+(de.scope||"<unnamed>")+'"');throw Ge.mode=de,Ge}else if(pe.type==="end"){const Ge=Q(pe);if(Ge!==ev)return Ge}if(pe.type==="illegal"&&Le==="")return Oe+=`
|
|
33
|
+
`,1;if(Z2>1e5&&Z2>pe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Oe+=Le,Le.length}const Te=C(L);if(!Te)throw Ha(a.replace("{}",L)),new Error('Unknown language: "'+L+'"');const Ze=AR(Te);let rt="",de=R||Ze;const wt={},Ke=new s.__emitter(s);se();let Oe="",Ki=0,zr=0,Z2=0,Y2=!1;try{if(Te.__emitTokens)Te.__emitTokens(O,Ke);else{for(de.matcher.considerAll();;){Z2++,Y2?Y2=!1:de.matcher.considerAll(),de.matcher.lastIndex=zr;const re=de.matcher.exec(O);if(!re)break;const pe=O.substring(zr,re.index),Le=Pe(pe,re);zr=re.index+Le}Pe(O.substring(zr))}return Ke.finalize(),rt=Ke.toHTML(),{language:L,value:rt,relevance:Ki,illegal:!1,_emitter:Ke,_top:de}}catch(re){if(re.message&&re.message.includes("Illegal"))return{language:L,value:nf(O),illegal:!0,relevance:0,_illegalBy:{message:re.message,index:zr,context:O.slice(zr-100,zr+100),mode:re.mode,resultSoFar:rt},_emitter:Ke};if(i)return{language:L,value:nf(O),illegal:!1,relevance:0,errorRaised:re,_emitter:Ke,_top:de};throw re}}function h(L){const O={value:nf(L),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return O._emitter.addText(L),O}function d(L,O){O=O||s.languages||Object.keys(e);const P=h(L),R=O.filter(C).filter(T).map(q=>f(q,L,!1));R.unshift(P);const B=R.sort((q,K)=>{if(q.relevance!==K.relevance)return K.relevance-q.relevance;if(q.language&&K.language){if(C(q.language).supersetOf===K.language)return 1;if(C(K.language).supersetOf===q.language)return-1}return 0}),[z,V]=B,U=z;return U.secondBest=V,U}function p(L,O,P){const R=O&&r[O]||P;L.classList.add("hljs"),L.classList.add(`language-${R}`)}function v(L){let O=null;const P=l(L);if(u(P))return;if(I("before:highlightElement",{el:L,language:P}),L.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",L);return}if(L.children.length>0&&(s.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(L)),s.throwUnescapedHTML))throw new ER("One of your code blocks includes unescaped HTML.",L.innerHTML);O=L;const R=O.textContent,B=P?c(R,{language:P,ignoreIllegals:!0}):d(R);L.innerHTML=B.value,L.dataset.highlighted="yes",p(L,P,B.language),L.result={language:B.language,re:B.relevance,relevance:B.relevance},B.secondBest&&(L.secondBest={language:B.secondBest.language,relevance:B.secondBest.relevance}),I("after:highlightElement",{el:L,result:B,text:R})}function g(L){s=Jp(s,L)}const m=()=>{b(),So("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){b(),So("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function b(){function L(){b()}if(document.readyState==="loading"){_||window.addEventListener("DOMContentLoaded",L,!1),_=!0;return}document.querySelectorAll(s.cssSelector).forEach(v)}function x(L,O){let P=null;try{P=O(t)}catch(R){if(Ha("Language definition for '{}' could not be registered.".replace("{}",L)),i)Ha(R);else throw R;P=o}P.name||(P.name=L),e[L]=P,P.rawDefinition=O.bind(null,t),P.aliases&&A(P.aliases,{languageName:L})}function w(L){delete e[L];for(const O of Object.keys(r))r[O]===L&&delete r[O]}function S(){return Object.keys(e)}function C(L){return L=(L||"").toLowerCase(),e[L]||e[r[L]]}function A(L,{languageName:O}){typeof L=="string"&&(L=[L]),L.forEach(P=>{r[P.toLowerCase()]=O})}function T(L){const O=C(L);return O&&!O.disableAutodetect}function D(L){L["before:highlightBlock"]&&!L["before:highlightElement"]&&(L["before:highlightElement"]=O=>{L["before:highlightBlock"](Object.assign({block:O.el},O))}),L["after:highlightBlock"]&&!L["after:highlightElement"]&&(L["after:highlightElement"]=O=>{L["after:highlightBlock"](Object.assign({block:O.el},O))})}function k(L){D(L),n.push(L)}function M(L){const O=n.indexOf(L);O!==-1&&n.splice(O,1)}function I(L,O){const P=L;n.forEach(function(R){R[P]&&R[P](O)})}function N(L){return So("10.7.0","highlightBlock will be removed entirely in v12.0"),So("10.7.0","Please use highlightElement now."),v(L)}Object.assign(t,{highlight:c,highlightAuto:d,highlightAll:b,highlightElement:v,highlightBlock:N,configure:g,initHighlighting:m,initHighlightingOnLoad:y,registerLanguage:x,unregisterLanguage:w,listLanguages:S,getLanguage:C,registerAliases:A,autoDetection:T,inherit:Jp,addPlugin:k,removePlugin:M}),t.debugMode=function(){i=!1},t.safeMode=function(){i=!0},t.versionString=DR,t.regex={concat:co,lookahead:Lb,either:W4,optional:HP,anyNumberOfTimes:GP};for(const L in d1)typeof d1[L]=="object"&&kb(d1[L]);return Object.assign(t,d1),t},gs=Vb({});gs.newInstance=()=>Vb({});var MR=gs;gs.HighlightJS=gs;gs.default=gs;const Ft=ir(MR),tv="[A-Za-z$_][0-9A-Za-z$_]*",LR=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],IR=["true","false","null","undefined","NaN","Infinity"],$b=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Gb=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Hb=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],PR=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],RR=[].concat(Hb,$b,Gb);function NR(t){const e=t.regex,r=(P,{after:R})=>{const B="</"+P[0].slice(1);return P.input.indexOf(B,R)!==-1},n=tv,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(P,R)=>{const B=P[0].length+P.index,z=P.input[B];if(z==="<"||z===","){R.ignoreMatch();return}z===">"&&(r(P,{after:B})||R.ignoreMatch());let V;const U=P.input.substring(B);if(V=U.match(/^\s*=/)){R.ignoreMatch();return}if((V=U.match(/^\s+extends\s+/))&&V.index===0){R.ignoreMatch();return}}},s={$pattern:tv,keyword:LR,literal:IR,built_in:RR,"variable.language":PR},u="[0-9](_?[0-9])*",l=`\\.(${u})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${u})\\b`},{begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:s,contains:[]},d={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},p={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"css"}},v={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},g={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,h]},y={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},_=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,p,v,g,{match:/\$\d+/},f];h.contains=_.concat({begin:/\{/,end:/\}/,keywords:s,contains:["self"].concat(_)});const b=[].concat(y,h.contains),x=b.concat([{begin:/(\s*)\(/,end:/\)/,keywords:s,contains:["self"].concat(b)}]),w={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:x},S={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,e.concat(n,"(",e.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},C={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...$b,...Gb]}},A={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[w],illegal:/%/},D={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function k(P){return e.concat("(?!",P.join("|"),")")}const M={match:e.concat(/\b/,k([...Hb,"super","import"].map(P=>`${P}\\s*\\(`)),n,e.lookahead(/\s*\(/)),className:"title.function",relevance:0},I={begin:e.concat(/\./,e.lookahead(e.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},N={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},w]},L="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",O={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(L)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[w]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:s,exports:{PARAMS_CONTAINS:x,CLASS_REFERENCE:C},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),A,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,p,v,g,y,{match:/\$\d+/},f,C,{scope:"attr",match:n+e.lookahead(":"),relevance:0},O,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,t.REGEXP_MODE,{className:"function",begin:L,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:x}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},T,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[w,t.inherit(t.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},I,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[w]},M,D,S,N,{match:/\$[(.]/}]}}var OR=NR;const BR=ir(OR);function FR(t){const e=t.regex,r=/[\p{XID_Start}_]\p{XID_Continue}*/u,n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],s={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},u={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:s,illegal:/#/},c={begin:/\{\{/,relevance:0},f={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,u,c,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,u,c,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,c,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,c,l]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},h="[0-9](_?[0-9])*",d=`(\\b(${h}))?\\.(${h})|\\b(${h})\\.`,p=`\\b|${n.join("|")}`,v={className:"number",relevance:0,variants:[{begin:`(\\b(${h})|(${d}))[eE][+-]?(${h})[jJ]?(?=${p})`},{begin:`(${d})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${p})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${p})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${p})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${p})`},{begin:`\\b(${h})[jJ](?=${p})`}]},g={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:s,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},m={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,contains:["self",u,v,f,t.HASH_COMMENT_MODE]}]};return l.contains=[f,v,u],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:s,illegal:/(<\/|\?)|=>/,contains:[u,v,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},f,g,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[m]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[v,m,f]}]}}var zR=FR;const VR=ir(zR);function $R(t){const e=t.regex,r=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),n=/[\p{L}0-9._:-]+/u,i={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=t.inherit(a,{begin:/\(/,end:/\)/}),s=t.inherit(t.APOS_STRING_MODE,{className:"string"}),u=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:n,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[a,u,s,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[a,o,u,s]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},i,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[u]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(r,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:l}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var GR=$R;const HR=ir(GR);function UR(t){const e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},r={match:/[{}[\],:]/,className:"punctuation",relevance:0},n=["true","false","null"],i={scope:"literal",beginKeywords:n.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:n},contains:[e,r,t.QUOTE_STRING_MODE,i,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var WR=UR;const qR=ir(WR);function ZR(t){const e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="<[^<>]+>",o="("+n+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional(a)+")",s={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},u="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},d=e.optional(i)+t.IDENT_RE+"\\s*\\(",g={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},m=[f,s,r,t.C_BLOCK_COMMENT_MODE,c,l],y={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:g,contains:m.concat([{begin:/\(/,end:/\)/,keywords:g,contains:m.concat(["self"]),relevance:0}]),relevance:0},_={begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:g,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:g,relevance:0},{begin:d,returnBegin:!0,contains:[t.inherit(h,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,l,c,s,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,l,c,s]}]},s,r,t.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:g,disableAutodetect:!0,illegal:"</",contains:[].concat(y,_,m,[f,{begin:t.IDENT_RE+"::",keywords:g},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},t.TITLE_MODE]}]),exports:{preprocessor:f,strings:l,keywords:g}}}var YR=ZR;const XR=ir(YR);function jR(t){const a={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:a,illegal:"</",contains:[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"string",variants:[t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[t.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,illegal:/["']/}]}]}}var KR=jR;const QR=ir(KR);var Xo="[0-9](_*[0-9])*",p1=`\\.(${Xo})`,v1="[0-9a-fA-F](_*[0-9a-fA-F])*",rv={className:"number",variants:[{begin:`(\\b(${Xo})((${p1})|\\.)?|(${p1}))[eE][+-]?(${Xo})[fFdD]?\\b`},{begin:`\\b(${Xo})((${p1})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${p1})[fFdD]?\\b`},{begin:`\\b(${Xo})[fFdD]\\b`},{begin:`\\b0[xX]((${v1})\\.?|(${v1})?\\.(${v1}))[pP][+-]?(${Xo})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${v1})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Ub(t,e,r){return r===-1?"":t.replace(e,n=>Ub(t,e,r-1))}function JR(t){const e=t.regex,r="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=r+Ub("(?:<"+r+"~~~(?:\\s*,\\s*"+r+"~~~)*>)?",/~~~/g,2),u={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},l={className:"meta",begin:"@"+r,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},c={className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:u,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,r],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,r),/\s+/,r,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,r],className:{1:"keyword",3:"title.class"},contains:[c,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:u,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[l,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,rv,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},rv,l]}}var eN=JR;const tN=ir(eN);function rN(t){const e=t.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=e.concat(n,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},s={className:"doctag",begin:"@[A-Za-z]+"},u={begin:"#<",end:">"},l=[t.COMMENT("#","$",{contains:[s]}),t.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:o},f={className:"string",contains:[t.BACKSLASH_ESCAPE,c],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,c]})]}]},h="[1-9](_?[0-9])*|0",d="[0-9](_?[0-9])*",p={className:"number",relevance:0,variants:[{begin:`\\b(${h})(\\.(${d}))?([eE][+-]?(${d})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},v={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},w=[f,{variants:[{match:[/class\s+/,i,/\s+<\s+/,i]},{match:[/\b(class|module)\s+/,i]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,i],scope:{2:"title.class"},keywords:o},{relevance:0,match:[i,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:n,scope:"title.class"},{match:[/def/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[v]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:r}],relevance:0},p,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,c],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(u,l),relevance:0}].concat(u,l);c.contains=w,v.contains=w;const S="[>?]>",C="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",A="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",T=[{begin:/^\s*=>/,starts:{end:"$",contains:w}},{className:"meta.prompt",begin:"^("+S+"|"+C+"|"+A+")(?=[ ])",starts:{end:"$",keywords:o,contains:w}}];return l.unshift(u),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(T).concat(l).concat(w)}}var nN=rN;const iN=ir(nN);function aN(t){const e="true false yes no null",r="[\\w#;/?:@&=+$,.~*'()[\\]]+",n={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},o={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},s=t.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),u="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",f="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",h={className:"number",begin:"\\b"+u+l+c+f+"\\b"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},p={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},v={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},g=[n,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+r},{className:"type",begin:"!<"+r+">"},{className:"type",begin:"!"+r},{className:"type",begin:"!!"+r},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},h,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},p,v,a,o],m=[...g];return m.pop(),m.push(s),d.contains=m,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:g}}var oN=aN;const sN=ir(oN);function uN(t){const e=t.regex,r=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="<[^<>]+>",o="(?!struct)("+n+"|"+e.optional(i)+"[a-zA-Z_]\\w*"+e.optional(a)+")",s={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},u="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",l={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},c={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},r,t.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:e.optional(i)+t.IDENT_RE,relevance:0},d=e.optional(i)+t.IDENT_RE+"\\s*\\(",p=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],v=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],g=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],m=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],b={type:v,keyword:p,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:g},x={className:"function.dispatch",relevance:0,keywords:{_hint:m},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},w=[x,f,s,r,t.C_BLOCK_COMMENT_MODE,c,l],S={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:b,contains:w.concat([{begin:/\(/,end:/\)/,keywords:b,contains:w.concat(["self"]),relevance:0}]),relevance:0},C={className:"function",begin:"("+o+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:b,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:n,keywords:b,relevance:0},{begin:d,returnBegin:!0,contains:[h],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[l,c]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:[r,t.C_BLOCK_COMMENT_MODE,l,c,s,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",r,t.C_BLOCK_COMMENT_MODE,l,c,s]}]},s,r,t.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:b,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(S,C,x,w,[f,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:b,contains:["self",s]},{begin:t.IDENT_RE+"::",keywords:b},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}var lN=uN;const cN=ir(lN),fN=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),hN=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],dN=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],pN=[...hN,...dN],vN=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),gN=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),mN=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),yN=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function _N(t){const e=t.regex,r=fN(t),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",a=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",s=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,n,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+gN.join("|")+")"},{begin:":(:)?("+mN.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+yN.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...s,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...s,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:vN.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+pN.join("|")+")\\b"}]}}var bN=_N;const xN=ir(bN);function wN(t){const e={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},r={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},n={className:"number",relevance:0,variants:[{match:/\b[0-9][0-9_]*(\.[0-9][0-9_]*)?([eE][+-]?[0-9][0-9_]*)?\b/},{match:/\b0[xX][0-9A-Fa-f][0-9A-Fa-f_]*\b/}]},i={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[t.BACKSLASH_ESCAPE,e,r]},{begin:'"""',end:'"""',contains:[t.BACKSLASH_ESCAPE,e,r]},{begin:"'",end:"'",illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,e,r]},{begin:'"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE,e,r]}]};r.contains=[n,i];const a=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],o=a.map(l=>`${l}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:a.concat(o).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[i,t.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),t.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},n,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}var SN=wN;const CN=ir(SN);Ft.registerLanguage("javascript",BR);Ft.registerLanguage("python",VR);Ft.registerLanguage("xml",HR);Ft.registerLanguage("json",qR);Ft.registerLanguage("c",XR);Ft.registerLanguage("go",QR);Ft.registerLanguage("java",tN);Ft.registerLanguage("ruby",iN);Ft.registerLanguage("yaml",sN);Ft.registerLanguage("cpp",cN);Ft.registerLanguage("css",xN);Ft.registerLanguage("dart",CN);window.hljs=Ft;let nv=!1;async function AN(){if(!nv)try{await Promise.resolve().then(()=>require("./highlightjs-line-numbers.min-b98a1afd.js")),window.hljs&&window.hljs.initLineNumbersOnLoad&&window.hljs.initLineNumbersOnLoad(),nv=!0}catch(t){console.error("Failed to load highlightjs-line-numbers:",t)}}function af(t){Ft.highlightBlock(t)}function iv(t){Ft.lineNumbersBlock&&Ft.lineNumbersBlock(t)}const TN=t=>t.replace(/(\d)\*(\d)/g,"$1\\*$2"),DN=t=>{const e=/(^|\n\n)?(\$\$(.*?)\$\$)(\n\n|$)?/g;return t.replace(e,(n,i,a,o,s)=>`
|
|
34
|
+
|
|
35
|
+
`+a+`
|
|
36
|
+
|
|
37
|
+
`)},EN=t=>{const e=/(\d|\))\*(\d|\()/g;return t.replace(e,(r,n,i)=>`${n}\\*${i}`)},kN=t=>{const e=/!\[.*?\]\([^)]*$/g;return t.replace(e,"[正在输出图片...]")},MN=t=>{const e=t.split(`
|
|
38
|
+
`);for(let n=0;n<e.length;n++)/^\d+\.\s/.test(e[n])&&e[n+1]&&/^\d+\.\S/.test(e[n+1])&&(e[n+1]=e[n+1].replace(/(\d+)\.(\S)/,"$1. $2"));return e.join(`
|
|
39
|
+
`)},LN=t=>{const e=/\\boxed\{([^}]+)\}$/;return t.replace(e,"\\( \\boxed{$1} \\)")},IN=t=>{const e=/(\^?)(\[[^\[\]]+\])(\{[\d,]+\}|[\+\*\?])(\$?)/g;return t.replace(e,(r,n,i,a,o)=>`\`${n||""}${i}${a}${o||""}\``)},PN=t=>{const e=/(\d)(\*{2,})(\d)/g;return t.replace(e,(r,n,i,a)=>{const o=i.split("").map(()=>"\\*").join("");return`${n}${o}${a}`})},RN=t=>{const r=["mg","μg","ng","pg","kg","g","mL","ml","L","片","板","盒","粒","袋","支","瓶","包","条","贴","颗","滴","hrs","hr","h","小时","天","日"].sort((i,a)=>a.length-i.length);let n=t;for(const i of r){const a=new RegExp(`(\\d+(?:\\.\\d+)?)${i}\\*(\\d+)`,"g"),o=[];let s;for(;(s=a.exec(n))!==null;)o.push({fullMatch:s[0],number1:s[1],number2:s[2],index:s.index});for(let u=o.length-1;u>=0;u--){const l=o[u],c=`${l.number1}${i}\\*${l.number2}`;n=n.substring(0,l.index)+c+n.substring(l.index+l.fullMatch.length)}}return n},NN=(t,e)=>{let r=[],n="@CODE@BLOCK@PLACEHOLDER@",i=0,a=t.replace(/```[\s\S]*?```/g,function(o){return r.push(o),n+i++});return a=e(a),a=a.replace(new RegExp(n+"\\d+","g"),function(o){let s=parseInt(o.replace(n,""));return r[s]}),a};class ON{constructor(e={}){this.options={removeZeroWidth:!0,preserveEmoji:!0,preserveComplexScripts:!1,normalizeWhitespace:!0}}clean(e){let r=e;return this.options.preserveEmoji&&(r=this.protectEmojis(r)),this.options.removeZeroWidth&&(this.options.preserveComplexScripts?r=r.replace(/[\u200B\uFEFF]/g,""):r=r.replace(/[\u200B-\u200D\uFEFF]/g,"")),this.options.preserveEmoji&&(r=this.restoreEmojis(r)),r}protectEmojis(e){return this.emojiStore=[],e.replace(/([\u{1F000}-\u{1F9FF}\u{2600}-\u{26FF}][\u200D\u{1F000}-\u{1F9FF}\u{2600}-\u{26FF}\u{FE0F}]*)/gu,r=>(this.emojiStore.push(r),`__EMOJI_PLACEHOLDER_${this.emojiStore.length-1}__`))}restoreEmojis(e){return e.replace(/__EMOJI_PLACEHOLDER_(\d+)__/g,(r,n)=>this.emojiStore[parseInt(n)]||"")}}const BN=(t,e)=>{const r=/\(\[@widget-([a-zA-Z0-9_\-.:=+]+)-symbol@\]\)/g;return t.replace(r,(n,i)=>{const a=e==null?void 0:e.find(o=>o.widget_run_id===i);if(a){const o=a.state?btoa(unescape(encodeURIComponent(a.state))):"",s=a.payload?btoa(unescape(encodeURIComponent(a.payload))):"",u=a.view?btoa(unescape(encodeURIComponent(a.view))):"",l=a.disable===!0?"true":"false";return`<div class="widget-container" data-widget-run-id="${i}" data-widget-id="${a.widget_id||""}" data-widget-view="${u}" data-widget-disable="${l}" data-widget-encoded-widget="${a.encoded_widget||""}" data-widget-state="${o||""}" data-widget-payload="${s||""}"></div>`}return""})},FN=t=>t.replace(/\(\[@widget-[a-zA-Z0-9_\-.:=+]+-symbol@\]\)/g,""),zN=(t,e)=>{const r=/\(\[@stream-audio-([a-zA-Z0-9_-]+)-symbol@\]\)/g;return t.replace(r,(n,i)=>(e==null?void 0:e.find(o=>o.audioSymbolId===i))?`<div class="audio-stream-container" data-audio-symbol-id="${i}"></div>`:"")},VN=t=>t.replace(/\(\[@stream-audio-[a-zA-Z0-9_-]+-symbol@\]\)/g,""),$N=(t,e)=>{const r="https://cdn.xiaowei.qq.com/static/lke/icon/file_icon_other_file_light.svg";let n=t;if((e==null?void 0:e.length)>0){let i,a=[];const o=/\[\[(\d+)\]@file\]/g;for(;(i=o.exec(n))!==null;)a.push(i);a.forEach(s=>{let u=e.find(l=>l.id.toString()===s[1]);u&&(n=n.replace(s[0],`
|
|
40
|
+
|
|
41
|
+
<div class="download-card" data-file-id="${u.id}"><div class="file-icon-logo"><img src="${u.iconUrl||r}"></div><div class="download-card-content"><div class="name">${u.file_name}</div><div class="size">${u.file_size}</div></div><div class="basic_download2_line"></div></div>`))})}return n},GN=t=>{const e=/\[(\d+(?:\s*,\s*\d+)*)\]\(@ref\)/g;return t.replace(e,(r,n)=>`<span class="tags-container">${n.split(/\s*,\s*/).map(a=>`<span class="little-tags">${a}</span>`).join("")}</span>`)},HN=t=>{const e=/##classifyTag##([\s\S]*?)##\/classifyTag##/g;return t.replace(e,(r,n)=>{try{const i=n.trim().replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),a=JSON.parse(i);return`<div class="classify-tag-container" data-classify-tag="${btoa(unescape(encodeURIComponent(JSON.stringify(a))))}"></div>`}catch(i){return console.error("[ClassifyTag] JSON parse error:",i),r}})},UN=t=>t.replace(/##classifyTag##[\s\S]*?##\/classifyTag##/g,""),WN=t=>{const e=/##planconfirm##([\s\S]*?)##\/planconfirm##/g;return t.replace(e,(r,n)=>{try{const i=n.trim().replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t"),a=JSON.parse(i);return`<div class="plan-confirm-container" data-plan-confirm="${btoa(unescape(encodeURIComponent(JSON.stringify(a))))}"></div>`}catch(i){return console.error("[PlanConfirm] JSON parse error:",i),r}})},qN=t=>t.replace(/##planconfirm##[\s\S]*?##\/planconfirm##/g,""),ZN=t=>{const e=/!\[([^\]]*)\]\(([^)]+)\)/g,r=[];let n;for(;(n=e.exec(t))!==null;)r.push(n[0]);return r},Wb=(t,e)=>{const r=t.split("?");if(r.length<2)return"";const n=r[1].split("&");for(let i=0;i<n.length;i++){const a=n[i].split("=");if(a[0]===e)return decodeURI(a[1])}return""},YN=t=>{const e=/<table>([\s\S]*?)<\/table>/g,r=/!\[([^\]]*)\]\(([^)]+)\)/g;return t.replace(e,(n,i)=>`<table>${i.replace(r,(o,s,u)=>`<img src="${u}" alt="${s}">`)}</table>`)},XN=t=>{const e=`[^\\s\\u4e00-\\u9fa5\\u3000-\\u303f\\uff00-\\uffef"']`;if(!new RegExp(`https?:\\/\\/${e}+[\\u4e00-\\u9fa5\\u3000-\\u303f\\uff00-\\uffef]`).test(t))return t;const n=new RegExp(`(https?:\\/\\/${e}+)([\\u4e00-\\u9fa5\\u3000-\\u303f\\uff00-\\uffef])`,"g");return t.replace(n,(i,a,o)=>{const s=t.indexOf(a);return s>=2&&t.substring(s-2,s)==="]("?i:`[${a}](${a})${o}`})},Co={},jN=t=>{if(t.indexOf("<video")<0)return t;Object.keys(Co).forEach(i=>{Co[i]===null&&delete Co[i]});let e=t;const r=/<video\b[^>]*>[\s\S]*?<\/video>/gi;e=e.replace(r,i=>i);const n=/<video\b[^>]*>(?:(?!<\/video>)[\s\S])*$/gi;if(e=e.replace(n,i=>{const a=`video-placeholder-${Date.now()}-${Math.random().toString(16).slice(2)}`;return Co[a]=i,`<div class="video-placeholder" data-video-id="${a}"></div>`}),e.includes("</video>")){const i=/<div class="video-placeholder" data-video-id="([^"]+)"><\/div>/g;e=e.replace(i,(a,o)=>{const s=Co[o];if(s){const u=e.split(a)[1];if(u&&u.startsWith("</video>"))return delete Co[o],s}return a})}return e};function KN(t){let e=JSON.stringify(t,null,0);return qb(e)}function qb(t){return t.replace(/https?:\/\//g,e=>e.replace("://","\\://"))}function QN(t){return/```(\w*)\n([\s\S]*?)\n```/g.test(t)}function JN(t){const e=t.trim();if(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))return qb(t);const r=/([\s\S]*?[\]\}]|[\s\S]*?[\[\{])/g;let n=0,i="",a;for(;(a=r.exec(t))!==null;){if(a.index>n){const s=t.substring(n,a.index);i+=s}const o=a[0];try{const s=JSON.parse(o),u=KN(s);i+=u}catch{i+=o}n=a.index+a[0].length}return n<t.length&&(i+=t.substring(n)),i}const eO=new Un.FilterXSS(xb),tO=new ON({removeZeroWidth:!0,preserveEmoji:!0,preserveComplexScripts:!1});function rO(t,e={}){const{isReplaceLinks:r=!1,replaceLinksWhitelist:n,isFinal:i=!1,showTags:a=!1,showDownloadCard:o=!1,fullFiles:s=[],showWidget:u=!1,widgetList:l=[],audioList:c=[],showClassifyTag:f=!1,showPlanConfirm:h=!1}=e;if(/<video/i.test(t)){const d=/<video\b[^>]*$/i,p=/<video\b[^>]*>(?:(?!<\/video>)[\s\S])*$/i;d.test(t)?t=t.replace(d,`
|
|
42
|
+
|
|
43
|
+
<div class="video-placeholder"></div>
|
|
44
|
+
|
|
45
|
+
`):p.test(t)&&(t=t.replace(p,`
|
|
46
|
+
|
|
47
|
+
<div class="video-placeholder"></div>
|
|
48
|
+
|
|
49
|
+
`))}return t=jN(t),t=XN(t),r&&(t=nO(t,n)),QN(t)||(t=JN(t),t=tO.clean(t)),t=IN(t),t=PN(t),t=EN(t),t=RN(t),t=TN(t),t=DN(t),t=YN(t),i||(t=kN(t)),t=MN(t),a&&(t=GN(t)),o&&(t=$N(t,s)),u?t=BN(t,l):t=FN(t),c&&c.length>0?t=zN(t,c):t=VN(t),f?t=HN(t):t=UN(t),h?t=WN(t):t=qN(t),t=LN(t),t=eO.process(mE(t)),t}function nO(t,e){if(!t||Wb(window.location.hash,"from"))return t;let n=["lke.cloud.tencent.com","qidian"];e&&(n=e.concat(n));const i=ZN(t);i.forEach((u,l)=>{t=t.replace(u,`IMG_URL${l}`)});const a=`${window.location.protocol}//${window.location.host}/lke#/link-info/redirect?target=`,o=n.map(u=>`(?!.*${u})`).join(""),s=new RegExp(`(\\[([^\\]]+)\\]\\((https?:\\/\\/${o}[^\\s)]+)\\))|(<a\\s+[^>]*href="(${o}[^"]+)"[^>]*>(.*?)<\\/a>)`,"gi");return t=t.replace(s,(u,l,c,f,h,d,p)=>l&&c?`[${c}](${a}${encodeURIComponent(f)})`:d&&!d.startsWith("#")?`<a href="${a}${encodeURIComponent(d)}">${p}</a>`:u),i.forEach((u,l)=>{t=t.replace(`IMG_URL${l}`,u)}),t}function of(t,e={}){return NN(t,r=>rO(r,e))}const iO={data(){return{currentTimer:null,currentIndex:0}},methods:{clearTimer(){this.currentTimer&&(clearTimeout(this.currentTimer),this.currentTimer=null)},startCurrentTimer(t={}){const{printCount:e=1,printCountTime:r=16,hideCursorPoint:n=!1,isFinal:i=!1}=t;this.clearTimer(),this.currentTimer=setTimeout(()=>{const a=e;this.currentIndex+=a,this.renderText=n?this.currentText.substring(0,this.currentIndex):this.currentText.substring(0,this.currentIndex)+"CURSOR_POINT",(this.currentIndex<this.currentText.length||!i)&&this.startCurrentTimer(t)},r)}},beforeDestroy(){this.clearTimer()}};function aO(t,e={}){const{type:r="text/javascript",crossOrigin:n}=e;return new Promise((i,a)=>{if(document.querySelector(`script[src="${t}"]`)){i();return}const o=document.createElement("script");o.src=t,o.type=r,n&&(o.crossOrigin=n),o.onload=i,o.onerror=()=>a(new Error(`Failed to load: ${t}`)),document.head.appendChild(o)})}function oO(){const t=Date.now(),e=5*60*1e3;return Math.floor(t/e)*e}async function sO(){try{const t=window.tdWidgetSrc||"https://cdn.xiaowei.qq.com/webim/assets/static/widget/release/lib/js/",e=oO();return await aO(`${t}adp-widget.js?nounce=${e}`,{type:"module"}),!0}catch(t){throw console.error("Failed to load adp-widget:",t),t}}Pa.config&&!Pa.config.ignoredElements.includes("adp-widget")&&Pa.config.ignoredElements.push("adp-widget");const uO={name:"MsgWidget",props:{output:{type:String,default:""},locale:{type:String,default:"zh-CN"},disable:{type:Boolean,default:!1}},data(){return{loaded:!1}},async mounted(){try{await sO(),this.loaded=!0}catch(t){console.error("[MsgWidget] 加载 adp-widget 失败:",t)}},methods:{handleAction(t){const{action:e}=t.detail||{};this.$emit("widget-action",e),this.$emit("widget-event",t)},handleRendered(t){const{success:e,config:r,error:n,timestamp:i}=t.detail||{};this.$emit("widget-rendered",{success:e,config:r,error:n,timestamp:i})}}};var lO=function(){var e=this,r=e._self._c;return r("div",{staticClass:"lke__widget-container"},[e.output&&e.loaded?r("adp-widget",{ref:"widget",attrs:{locale:e.locale,"widget-json":e.output,disable:e.disable},on:{"widget-rendered":e.handleRendered,"widget-action":e.handleAction}}):e._e()],1)},cO=[],fO=pr(uO,lO,cO,!1,null,"c152fdb4",null,null);const Zb=fO.exports,Y=(...t)=>{console.log("[StreamAudioPlayer24]",...t)};let Yb=class{constructor(){this.playMode=null,this.audioContext=null,this.audioQueue=[],this.pendingChunks=[],this.isPlaying=!1,this.totalDuration=0,this.estimatedDuration=0,this.pausedAt=0,this.startedAt=0,this.timeUpdateInterval=null,this.scheduledSources=[],this.nextScheduleTime=0,this.scheduledCount=0,this.autoPlayCheckInterval=null,this.autoPlayCheckWaitTime=0,this.processedChunkCount=0,this.decodingInProgress=!1,this.isSchedulingFromPosition=!1,this.decodeAheadCount=1;const e=this.isMobileDevice();this.maxDecodedBuffers=e?8:20,this.playedBufferCount=0,this.audioElement=null,this.iosUnlockAudio=null,this.mediaStreamDestination=null,this.wasPlayingBeforeHidden=!1,this.handleVisibilityChange=null,this.onPlayCallback=null,this.onPauseCallback=null,this.onEndCallback=null,this.onErrorCallback=null,this.onTimeUpdateCallback=null,this.onDurationChangeCallback=null,this.onUrlReadyCallback=null,this.generationComplete=!1,this.durationFromUrlSet=!1,this.urlReady=!1,this.fullAudioUrl=null,this.preloadedAudioElement=null}isMobileDevice(){return typeof navigator>"u"?!1:/Android|iPhone|iPad|iPod|webOS|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}initAudioContext(){if(!this.audioContext)try{const e=window.AudioContext||window.webkitAudioContext;this.audioContext=new e,Y("[initAudioContext] AudioContext 创建成功",{state:this.audioContext.state,sampleRate:this.audioContext.sampleRate,isIOS:/iPhone|iPad|iPod/i.test(navigator.userAgent)}),this.audioContext.onstatechange=()=>{if(Y("[AudioContext.onstatechange] 状态变化:",this.audioContext.state),(this.audioContext.state==="interrupted"||this.audioContext.state==="suspended")&&this.isPlaying&&this.iosUnlockAudio)try{this.iosUnlockAudio.pause(),Y("[AudioContext.onstatechange] iOS audio 元素已暂停")}catch{}},this.handleVisibilityChange=()=>{var r,n,i,a;document.hidden?(this.wasPlayingBeforeHidden=this.isPlaying,Y("[visibilitychange] 页面隐藏,记录播放状态:",this.wasPlayingBeforeHidden)):(Y("[visibilitychange] 页面可见",{wasPlayingBeforeHidden:this.wasPlayingBeforeHidden,isPlaying:this.isPlaying,audioContextState:(r=this.audioContext)==null?void 0:r.state}),this.wasPlayingBeforeHidden&&(((n=this.audioContext)==null?void 0:n.state)==="suspended"||((i=this.audioContext)==null?void 0:i.state)==="interrupted"?this.audioContext.resume().then(()=>{Y("[visibilitychange] AudioContext 已恢复"),this.isPlaying&&this.iosUnlockAudio&&this.iosUnlockAudio.play().catch(o=>{Y("[visibilitychange] iOS audio 恢复播放失败:",o)})}).catch(o=>{Y("[visibilitychange] AudioContext 恢复失败:",o),this.isPlaying&&(this.isPlaying=!1,this.onPauseCallback&&this.onPauseCallback())}):((a=this.audioContext)==null?void 0:a.state)==="running"&&this.isPlaying&&this.iosUnlockAudio&&this.iosUnlockAudio.play().catch(o=>{Y("[visibilitychange] iOS audio 恢复播放失败:",o)})),this.wasPlayingBeforeHidden=!1)},document.addEventListener("visibilitychange",this.handleVisibilityChange),/iPhone|iPad|iPod/i.test(navigator.userAgent)&&this.setupIOSAudioRoute()}catch(e){console.error("[initAudioContext] 创建 AudioContext 失败:",e),this.onErrorCallback&&this.onErrorCallback(new Error("浏览器不支持音频播放"))}}setupIOSAudioRoute(){if(this.audioContext)try{if(typeof this.audioContext.createMediaStreamDestination!="function"){Y("[setupIOSAudioRoute] 浏览器不支持 createMediaStreamDestination");return}this.mediaStreamDestination=this.audioContext.createMediaStreamDestination(),this.iosUnlockAudio=document.createElement("audio"),this.iosUnlockAudio.srcObject=this.mediaStreamDestination.stream,this.iosUnlockAudio.setAttribute("playsinline","true"),this.iosUnlockAudio.setAttribute("webkit-playsinline","true"),this.iosUnlockAudio.onerror=e=>{Y("[setupIOSAudioRoute] iOS audio 元素错误:",e)},Y("[setupIOSAudioRoute] iOS 音频路由设置完成")}catch(e){console.error("[setupIOSAudioRoute] 设置失败:",e),this.mediaStreamDestination=null,this.iosUnlockAudio=null}}getAudioDestination(){return this.mediaStreamDestination?this.mediaStreamDestination:this.audioContext?this.audioContext.destination:null}async startIOSAudioElement(){if(this.iosUnlockAudio)try{await this.iosUnlockAudio.play(),Y("[startIOSAudioElement] iOS audio 元素播放启动成功")}catch(e){Y("[startIOSAudioElement] iOS audio 元素播放失败:",e)}}initAudioElement(){this.audioElement||(this.audioElement=new Audio,this.audioElement.preload="metadata",this.audioElement.addEventListener("play",()=>{this.isPlaying=!0,this.onPlayCallback&&this.onPlayCallback()}),this.audioElement.addEventListener("pause",()=>{this.isPlaying=!1,this.onPauseCallback&&this.onPauseCallback()}),this.audioElement.addEventListener("ended",()=>{this.isPlaying=!1,this.onEndCallback&&this.onEndCallback()}),this.audioElement.addEventListener("timeupdate",()=>{this.onTimeUpdateCallback&&this.onTimeUpdateCallback(this.audioElement.currentTime,this.audioElement.duration||0)}),this.audioElement.addEventListener("durationchange",()=>{this.totalDuration=this.audioElement.duration||0,this.onDurationChangeCallback&&this.onDurationChangeCallback(this.totalDuration)}),this.audioElement.addEventListener("error",e=>{this.onErrorCallback&&this.onErrorCallback(new Error("音频加载失败: "+(e.message||"未知错误")))}),this.audioElement.addEventListener("loadedmetadata",()=>{this.totalDuration=this.audioElement.duration||0,this.onDurationChangeCallback&&this.onDurationChangeCallback(this.totalDuration)}))}setPlayMode(e){this.playMode!==e&&(this.playMode==="stream"?this.clearStreamMode():this.playMode==="url"&&this.clearUrlMode(),this.playMode=e,e==="stream"?this.initAudioContext():e==="url"&&this.initAudioElement())}clearStreamMode(){this.stop(),this.audioQueue=[],this.pendingChunks=[],this.totalDuration=0,this.estimatedDuration=0,this.scheduledCount=0,this.nextScheduleTime=0,this.processedChunkCount=0,this.decodingInProgress=!1,this.isSchedulingFromPosition=!1,this.playedBufferCount=0,this.generationComplete=!1,this.fullAudioUrl=null,this.urlReady=!1,this.preloadedAudioElement=null,this.iosUnlockAudio&&(this.iosUnlockAudio.pause(),this.iosUnlockAudio.srcObject=null,this.iosUnlockAudio=null),this.mediaStreamDestination=null,this.handleVisibilityChange&&(document.removeEventListener("visibilitychange",this.handleVisibilityChange),this.handleVisibilityChange=null),this.audioContext&&(this.audioContext.onstatechange=null,this.audioContext.close().catch(()=>{}),this.audioContext=null),this.wasPlayingBeforeHidden=!1}clearUrlMode(){this.audioElement&&(this.audioElement.pause(),this.audioElement.src="")}setAudioUrl(e){e&&(this.setPlayMode("url"),this.audioElement.src=e,this.audioElement.load())}async ensureAudioContextRunning(){if(!this.audioContext)throw new Error("AudioContext not initialized");if(Y("[ensureAudioContextRunning] 当前状态:",this.audioContext.state),this.audioContext.state==="suspended")try{await this.audioContext.resume(),Y("[ensureAudioContextRunning] resume 成功,新状态:",this.audioContext.state),/iPhone|iPad|iPod/i.test(navigator.userAgent)&&await this.playUnlockSound()}catch(e){throw console.error("[ensureAudioContextRunning] resume 失败:",e),new Error("无法激活音频上下文")}else if(this.audioContext.state==="interrupted")try{await this.audioContext.resume(),Y("[ensureAudioContextRunning] 从 interrupted 状态恢复")}catch(e){throw console.error("[ensureAudioContextRunning] 从 interrupted 恢复失败:",e),new Error("无法恢复音频上下文")}}async playUnlockSound(){if(this.audioContext)try{const e=this.audioContext.createBuffer(1,1,this.audioContext.sampleRate),r=this.audioContext.createBufferSource();r.buffer=e,r.connect(this.getAudioDestination()),r.start(0),Y("[playUnlockSound] 播放解锁音频完成")}catch(e){Y("[playUnlockSound] 播放解锁音频失败(可忽略):",e)}}addBase64ChunkLazy(e,r=1){if(!e)return;this.setPlayMode("stream"),this.pendingChunks.push(e);const n=(e.length*.75/1024).toFixed(2);Y(`[addBase64ChunkLazy] 添加第 ${this.pendingChunks.length+this.processedChunkCount} 个chunk`,{chunkSize:`${n} KB`,pendingChunks:this.pendingChunks.length,processedChunkCount:this.processedChunkCount,audioQueueLength:this.audioQueue.length,scheduledCount:this.scheduledCount,isPlaying:this.isPlaying,totalDuration:this.totalDuration.toFixed(2),estimatedDuration:this.estimatedDuration.toFixed(2)}),this.estimatedDuration+=r,this.onDurationChangeCallback&&this.onDurationChangeCallback(this.getDisplayDuration()),this.autoPlayCheckWaitTime>0&&(Y("[addBase64ChunkLazy] 重置等待超时时间"),this.autoPlayCheckWaitTime=0),this.isPlaying?(Y("[addBase64ChunkLazy] 正在播放,触发 decodeAhead"),this.decodeAhead()):Y("[addBase64ChunkLazy] 未在播放状态,不触发解码")}async addBase64Chunk(e){e&&this.addBase64ChunkLazy(e)}getDisplayDuration(){return Math.floor(this.totalDuration+this.estimatedDuration)}async decodeAhead(){let e=0;if(this.audioQueue.forEach(i=>{e+=i.duration}),Y("[decodeAhead] 开始",{decodingInProgress:this.decodingInProgress,pendingChunks:this.pendingChunks.length,audioQueueLength:this.audioQueue.length,currentQueueDuration:e.toFixed(2),scheduledCount:this.scheduledCount,isPlaying:this.isPlaying,generationComplete:this.generationComplete,totalDuration:this.totalDuration.toFixed(2)}),this.decodingInProgress){Y("[decodeAhead] 已在解码中,跳过");return}if(this.pendingChunks.length===0){Y("[decodeAhead] 没有待解码的 chunk,跳过");return}const r=this.audioQueue.length-this.scheduledCount;if(Y("[decodeAhead] 未调度数量检查",{unscheduledCount:r,decodeAheadCount:this.decodeAheadCount,needMoreDecode:r<this.decodeAheadCount}),r>=this.decodeAheadCount&&this.pendingChunks.length>0){Y("[decodeAhead] 已有足够预解码 buffer,100ms 后再检查"),setTimeout(()=>this.decodeAhead(),100);return}this.decodingInProgress=!0;const n=this.processedChunkCount+1;try{const i=this.pendingChunks.shift(),a=(i.length*.75/1024).toFixed(2);Y(`[decodeAhead] 开始解码第 ${n} 个chunk`,{size:`${a} KB`});const o=window.atob(i),s=new Uint8Array(o.length);for(let l=0;l<o.length;l++)s[l]=o.charCodeAt(l);const u=s.buffer;await this.addAudioChunkInternal(u),Y(`[decodeAhead] 第 ${n} 个chunk 解码完成`,{audioQueueLength:this.audioQueue.length,totalDuration:this.totalDuration.toFixed(2),durationFromUrlSet:this.durationFromUrlSet}),this.durationFromUrlSet||(this.estimatedDuration>0&&(this.estimatedDuration=Math.max(0,this.estimatedDuration-1)),this.onDurationChangeCallback&&this.onDurationChangeCallback(this.getDisplayDuration()))}catch(i){console.error(`[decodeAhead] 解码第 ${n} 个chunk 失败:`,i),this.onErrorCallback&&this.onErrorCallback(i)}finally{this.decodingInProgress=!1}this.pendingChunks.length>0&&this.isPlaying?(Y("[decodeAhead] 继续解码下一个chunk"),setTimeout(()=>this.decodeAhead(),0)):Y("[decodeAhead] 解码结束",{pendingChunks:this.pendingChunks.length,isPlaying:this.isPlaying})}async processAudioDataArray(e){if(!e||!Array.isArray(e))return;const r=e.slice(this.processedChunkCount);Y("[processAudioDataArray] 处理音频数据数组",{totalLength:e.length,processedChunkCount:this.processedChunkCount,newChunksCount:r.length});for(const n of r)await this.addBase64Chunk(n),this.processedChunkCount++;Y("[processAudioDataArray] 处理完成",{processedChunkCount:this.processedChunkCount})}decodeAudioDataCompat(e){const r=(e.byteLength/1024).toFixed(2);return Y("[decodeAudioDataCompat] 开始解码",{size:`${r} KB`}),new Promise((n,i)=>{const a=this.audioContext.decodeAudioData(e,o=>{Y("[decodeAudioDataCompat] 解码成功",{duration:o.duration.toFixed(2),sampleRate:o.sampleRate,channels:o.numberOfChannels}),n(o)},o=>{console.error("[decodeAudioDataCompat] 解码失败",{error:(o==null?void 0:o.message)||o,bufferSize:`${r} KB`}),i(o||new Error("解码音频数据失败"))});a&&typeof a.then=="function"&&a.then(n).catch(o=>{console.error("[decodeAudioDataCompat] Promise 解码失败",{error:(o==null?void 0:o.message)||o,bufferSize:`${r} KB`}),i(o)})})}async addAudioChunk(e){return this.addAudioChunkInternal(e)}async addAudioChunkInternal(e){if(this.setPlayMode("stream"),!this.audioContext)throw new Error("AudioContext not initialized");try{let r;e instanceof Blob?r=await e.arrayBuffer():r=e;const n=(r.byteLength/1024).toFixed(2);Y("[addAudioChunkInternal] 开始解码 ArrayBuffer",{size:`${n} KB`});const i=r.slice(0),a=await this.decodeAudioDataCompat(i),o=this.audioQueue.length,s=this.totalDuration;this.audioQueue.push(a),this.durationFromUrlSet||(this.totalDuration+=a.duration),Y("[addAudioChunkInternal] 解码成功",{bufferDuration:a.duration.toFixed(2),sampleRate:a.sampleRate,numberOfChannels:a.numberOfChannels,length:a.length,audioQueueLength:`${o} -> ${this.audioQueue.length}`,totalDuration:`${s.toFixed(2)} -> ${this.totalDuration.toFixed(2)}`,durationFromUrlSet:this.durationFromUrlSet}),this.isPlaying&&!this.isSchedulingFromPosition?(Y("[addAudioChunkInternal] 正在播放,调用 scheduleNewChunks"),this.scheduleNewChunks()):this.isSchedulingFromPosition?Y("[addAudioChunkInternal] 正在执行 scheduleFromPosition,跳过 scheduleNewChunks"):Y("[addAudioChunkInternal] 未在播放状态,不调度"),this.onDurationChangeCallback&&!this.durationFromUrlSet&&this.onDurationChangeCallback(this.getDisplayDuration())}catch(r){console.error("[addAudioChunkInternal] 解码音频数据失败:",r),this.onErrorCallback&&this.onErrorCallback(r)}}async addPCMChunk(e,r=24e3,n=1,i=16){if(this.setPlayMode("stream"),!this.audioContext)throw new Error("AudioContext not initialized");try{const a=i/8,o=e.byteLength/(a*n),s=this.audioContext.createBuffer(n,o,r),u=new DataView(e);for(let l=0;l<n;l++){const c=s.getChannelData(l);for(let f=0;f<o;f++){let h;if(i===16)h=u.getInt16((f*n+l)*2,!0)/32768;else if(i===8)h=(u.getUint8(f*n+l)-128)/128;else if(i===32)h=u.getFloat32((f*n+l)*4,!0);else throw new Error(`Unsupported bits per sample: ${i}`);c[f]=h}}this.audioQueue.push(s),this.totalDuration+=s.duration,this.isPlaying&&this.audioContext&&this.scheduleNewChunks(),this.onDurationChangeCallback&&this.onDurationChangeCallback(this.totalDuration)}catch(a){this.onErrorCallback&&this.onErrorCallback(a)}}scheduleNewChunks(){if(!this.audioContext||!this.isPlaying){Y("[scheduleNewChunks] 跳过",{hasAudioContext:!!this.audioContext,isPlaying:this.isPlaying});return}const e=this.audioContext.currentTime,r=this.scheduledCount;this.scheduledCount>this.audioQueue.length&&(Y("[scheduleNewChunks] 警告:scheduledCount 超出 audioQueue 长度!",{scheduledCount:this.scheduledCount,audioQueueLength:this.audioQueue.length,playedBufferCount:this.playedBufferCount}),this.scheduledCount=this.audioQueue.length),Y("[scheduleNewChunks] 开始调度",{audioQueueLength:this.audioQueue.length,scheduledCount:this.scheduledCount,toSchedule:this.audioQueue.length-this.scheduledCount,currentTime:e.toFixed(3),nextScheduleTime:this.nextScheduleTime.toFixed(3),pendingChunks:this.pendingChunks.length});for(let n=this.scheduledCount;n<this.audioQueue.length;n++){const i=this.audioQueue[n],a=this.audioContext.createBufferSource();a.buffer=i,a.connect(this.getAudioDestination());const o=Math.max(e,this.nextScheduleTime);Y(`[scheduleNewChunks] 调度第 ${n+1} 个buffer`,{bufferDuration:i.duration.toFixed(2),scheduleTime:o.toFixed(3),currentTime:e.toFixed(3)}),a.start(o,0,i.duration),this.nextScheduleTime=o+i.duration,this.scheduledCount++,this.scheduledSources.push(a),a.onended=()=>{const s=this.scheduledSources.indexOf(a);if(s===-1){Y(`[sourceNode.onended] 第 ${n+1} 个buffer 被手动停止,跳过后续逻辑`);return}if(this.scheduledSources.splice(s,1),this.playedBufferCount++,this.cleanupOldBuffers(),Y(`[sourceNode.onended] 第 ${n+1} 个buffer 播放结束`,{scheduledSourcesLength:this.scheduledSources.length,isPlaying:this.isPlaying,pendingChunks:this.pendingChunks.length,audioQueueLength:this.audioQueue.length,scheduledCount:this.scheduledCount,generationComplete:this.generationComplete,playedBufferCount:this.playedBufferCount}),this.decodeAhead(),this.scheduledSources.length===0&&this.isPlaying){let u=0;this.audioQueue.forEach(l=>{u+=l.duration}),Y("[sourceNode.onended] 所有已调度片段播放完毕,尝试调度新片段",{audioQueueLength:this.audioQueue.length,scheduledCount:this.scheduledCount,unscheduledCount:this.audioQueue.length-this.scheduledCount,remainingQueueDuration:u.toFixed(2),pendingChunks:this.pendingChunks.length}),this.scheduleNewChunks(),this.scheduledSources.length===0&&(Y("[sourceNode.onended] 调度后仍无片段",{pendingChunks:this.pendingChunks.length,generationComplete:this.generationComplete,audioQueueLength:this.audioQueue.length,scheduledCount:this.scheduledCount,unscheduledBuffers:this.audioQueue.length-this.scheduledCount}),this.pendingChunks.length>0?(Y("[sourceNode.onended] 还有待解码chunk,启动 autoPlayCheck"),this.startAutoPlayCheck()):this.audioQueue.length>this.scheduledCount?(Y("[sourceNode.onended] 还有未调度的buffer,重新调度"),this.scheduleNewChunks()):this.generationComplete?(Y("[sourceNode.onended] 生成完成,结束播放"),this.handlePlaybackEnd()):(Y("[sourceNode.onended] 等待新数据,启动 autoPlayCheck"),this.startAutoPlayCheck()))}}}Y("[scheduleNewChunks] 调度完成",{scheduledCount:`${r} -> ${this.scheduledCount}`,scheduledSourcesLength:this.scheduledSources.length,nextScheduleTime:this.nextScheduleTime.toFixed(3)})}async play(){if(this.playMode==="url"&&this.audioElement){try{await this.audioElement.play()}catch(e){this.onErrorCallback&&this.onErrorCallback(e)}return}if(!this.audioContext){this.onErrorCallback&&this.onErrorCallback(new Error("AudioContext not initialized"));return}if(!this.isPlaying){try{await this.ensureAudioContextRunning(),await this.startIOSAudioElement()}catch(e){this.onErrorCallback&&this.onErrorCallback(e);return}if(this.audioQueue.length===0&&this.pendingChunks.length>0&&await this.decodeFirstChunk(),this.audioQueue.length===0){Y("[play] 没有可播放的音频数据");return}this.isPlaying=!0,this.startedAt=this.audioContext.currentTime-this.pausedAt,this.pausedAt===0&&(this.scheduledCount=0,this.nextScheduleTime=this.audioContext.currentTime),this.pausedAt===0?this.scheduleNewChunks():this.scheduleFromPosition(this.pausedAt),this.decodeAhead(),this.onPlayCallback&&this.onPlayCallback(),this.startTimeUpdate(),Y("[play] 播放开始",{audioContextState:this.audioContext.state,audioQueueLength:this.audioQueue.length,pausedAt:this.pausedAt,isIOS:/iPhone|iPad|iPod/i.test(navigator.userAgent)})}}async decodeFirstChunk(){if(this.pendingChunks.length===0)return;const e=this.pendingChunks.shift();try{const r=window.atob(e),n=new Uint8Array(r.length);for(let a=0;a<r.length;a++)n[a]=r.charCodeAt(a);const i=n.buffer;await this.addAudioChunkInternal(i),this.estimatedDuration>0&&(this.estimatedDuration=Math.max(0,this.estimatedDuration-1))}catch(r){console.error("解码首个 chunk 失败:",r)}}scheduleFromPosition(e){if(!this.audioContext)return;this.isSchedulingFromPosition=!0;let r=0;const n=this.audioContext.currentTime;let i=n,a=0;for(let o=0;o<this.audioQueue.length;o++){const s=this.audioQueue[o],u=r,l=r+s.duration;if(l>e){const c=this.audioContext.createBufferSource();c.buffer=s,c.connect(this.getAudioDestination());let f=0,h=s.duration;e>u&&(f=e-u,h=s.duration-f,i=n),c.start(i,f,h),i+=h,this.scheduledSources.push(c),a++,c.onended=()=>{const d=this.scheduledSources.indexOf(c);if(d===-1){Y("[scheduleFromPosition.onended] sourceNode 被手动停止,跳过后续逻辑");return}this.scheduledSources.splice(d,1),this.playedBufferCount++,this.cleanupOldBuffers(),this.decodeAhead(),this.scheduledSources.length===0&&this.isPlaying&&(this.scheduleNewChunks(),this.scheduledSources.length===0&&(Y("[scheduleFromPosition.onended] 调度后仍无片段",{pendingChunks:this.pendingChunks.length,generationComplete:this.generationComplete,audioQueueLength:this.audioQueue.length,scheduledCount:this.scheduledCount,unscheduledBuffers:this.audioQueue.length-this.scheduledCount}),this.pendingChunks.length>0?(Y("[scheduleFromPosition.onended] 还有待解码chunk,启动 autoPlayCheck"),this.startAutoPlayCheck()):this.audioQueue.length>this.scheduledCount?(Y("[scheduleFromPosition.onended] 还有未调度的buffer,重新调度"),this.scheduleNewChunks()):this.generationComplete?(Y("[scheduleFromPosition.onended] 生成完成,结束播放"),this.handlePlaybackEnd()):(Y("[scheduleFromPosition.onended] 等待新数据,启动 autoPlayCheck"),this.startAutoPlayCheck())))}}r=l}this.scheduledCount=this.audioQueue.length,this.nextScheduleTime=i,this.isSchedulingFromPosition=!1,Y("[scheduleFromPosition] 调度完成",{startPosition:e.toFixed(2),scheduledInThisCall:a,scheduledCount:this.scheduledCount,nextScheduleTime:this.nextScheduleTime.toFixed(3),scheduledSourcesLength:this.scheduledSources.length})}pause(){if(this.playMode==="url"&&this.audioElement){this.audioElement.pause();return}if(!(!this.isPlaying||!this.audioContext)){this.pausedAt=this.audioContext.currentTime-this.startedAt;for(const e of this.scheduledSources)try{e.stop()}catch{}if(this.scheduledSources=[],this.iosUnlockAudio)try{this.iosUnlockAudio.pause(),Y("[pause] iOS audio 元素已暂停")}catch{}this.isPlaying=!1,this.onPauseCallback&&this.onPauseCallback(),this.stopTimeUpdate(),this.stopAutoPlayCheck()}}stop(){if(this.playMode==="url"&&this.audioElement){this.audioElement.pause(),this.audioElement.currentTime=0,this.isPlaying=!1;return}this.pause(),this.pausedAt=0,this.startedAt=0,this.scheduledCount=0,this.nextScheduleTime=0,this.stopTimeUpdate(),this.stopAutoPlayCheck()}clear(){this.stop(),this.audioQueue=[],this.pendingChunks=[],this.totalDuration=0,this.estimatedDuration=0,this.scheduledCount=0,this.nextScheduleTime=0,this.processedChunkCount=0,this.generationComplete=!1,this.decodingInProgress=!1,this.isSchedulingFromPosition=!1,this.durationFromUrlSet=!1}handlePlaybackEnd(){let e=0;if(this.audioQueue.forEach(r=>{e+=r.duration}),Y("[handlePlaybackEnd] 播放结束",{totalDuration:this.totalDuration.toFixed(2),actualDecodedDuration:e.toFixed(2),audioQueueLength:this.audioQueue.length,pendingChunks:this.pendingChunks.length,processedChunkCount:this.processedChunkCount,scheduledCount:this.scheduledCount,playedBufferCount:this.playedBufferCount,generationComplete:this.generationComplete,durationFromUrlSet:this.durationFromUrlSet}),this.isPlaying=!1,this.pausedAt=0,this.startedAt=0,this.stopTimeUpdate(),this.stopAutoPlayCheck(),this.iosUnlockAudio)try{this.iosUnlockAudio.pause(),Y("[handlePlaybackEnd] iOS audio 元素已暂停")}catch{}this.onEndCallback&&this.onEndCallback()}async markGenerationComplete(e){let r=0;this.audioQueue.forEach(n=>{r+=n.duration}),Y("[markGenerationComplete] 标记生成完成",{audioQueueLength:this.audioQueue.length,pendingChunks:this.pendingChunks.length,scheduledSourcesLength:this.scheduledSources.length,totalDuration:this.totalDuration.toFixed(2),currentDecodedDuration:r.toFixed(2),estimatedDuration:this.estimatedDuration.toFixed(2),isPlaying:this.isPlaying,hasAudioUrl:!!e,processedChunkCount:this.processedChunkCount}),this.generationComplete=!0,e&&(this.fullAudioUrl=e),this.isPlaying&&this.pendingChunks.length>0&&(Y("[markGenerationComplete] 正在播放,触发按需解码"),this.decodeAhead()),this.autoPlayCheckInterval&&this.scheduledSources.length===0&&this.pendingChunks.length===0&&(Y("[markGenerationComplete] 正在等待且无剩余片段,立即结束"),this.handlePlaybackEnd()),e?this.getDurationFromUrl(e):this.onDurationChangeCallback&&this.onDurationChangeCallback(this.getDisplayDuration())}getDurationFromUrl(e){Y("[getDurationFromUrl] 开始从 URL 获取时长并预加载",{audioUrl:e}),this.preloadedAudioElement=new Audio,this.preloadedAudioElement.preload="auto";const r=this.preloadedAudioElement;let n=!1;const i=()=>{if(n)return;n=!0;const s=r.duration;Y("[getDurationFromUrl] 获取时长成功",{duration:s.toFixed(2)}),this.totalDuration=s,this.estimatedDuration=0,this.durationFromUrlSet=!0,this.onDurationChangeCallback&&this.onDurationChangeCallback(Math.floor(s))},a=()=>{Y("[getDurationFromUrl] URL 预加载完成,可以 seek"),this.urlReady=!0,this.onUrlReadyCallback&&this.onUrlReadyCallback()},o=s=>{Y("[getDurationFromUrl] 获取时长/预加载失败",s),this.urlReady=!0,this.preloadedAudioElement=null,this.onDurationChangeCallback&&!n&&this.onDurationChangeCallback(this.getDisplayDuration()),this.onUrlReadyCallback&&this.onUrlReadyCallback()};r.addEventListener("loadedmetadata",i),r.addEventListener("canplay",a),r.addEventListener("canplaythrough",a),r.addEventListener("error",o),r.src=e,r.load()}async decodeAllPendingChunks(){for(Y("[decodeAllPendingChunks] 开始解码所有待解码 chunk",{pendingChunks:this.pendingChunks.length});this.pendingChunks.length>0;){const e=this.pendingChunks.shift(),r=this.processedChunkCount+1;try{const n=(e.length*.75/1024).toFixed(2);Y(`[decodeAllPendingChunks] 解码第 ${r} 个chunk`,{size:`${n} KB`});const i=window.atob(e),a=new Uint8Array(i.length);for(let s=0;s<i.length;s++)a[s]=i.charCodeAt(s);const o=a.buffer;await this.addAudioChunkInternal(o),this.processedChunkCount++,Y(`[decodeAllPendingChunks] 第 ${r} 个chunk 解码完成`,{totalDuration:this.totalDuration.toFixed(2)})}catch(n){console.error(`[decodeAllPendingChunks] 解码第 ${r} 个chunk 失败:`,n)}}Y("[decodeAllPendingChunks] 所有 chunk 解码完成",{audioQueueLength:this.audioQueue.length,totalDuration:this.totalDuration.toFixed(2)})}cleanupOldBuffers(){const e=this.audioQueue.length;if(Y("[cleanupOldBuffers] 检查",{currentQueueLength:e,maxDecodedBuffers:this.maxDecodedBuffers,playedBufferCount:this.playedBufferCount,scheduledCount:this.scheduledCount,pendingChunks:this.pendingChunks.length,totalDuration:this.totalDuration.toFixed(2)}),e>this.maxDecodedBuffers&&this.playedBufferCount>0){const r=Math.min(e-this.maxDecodedBuffers,this.playedBufferCount);if(r>0){let n=0;for(let o=0;o<r;o++)n+=this.audioQueue[o].duration;const i=this.audioQueue.splice(0,r);this.scheduledCount=Math.max(0,this.scheduledCount-r),this.playedBufferCount=Math.max(0,this.playedBufferCount-r);let a=0;i.forEach(o=>{a+=o.length*o.numberOfChannels*4/1024}),Y("[cleanupOldBuffers] 内存回收",{cleanedCount:r,cleanedDuration:n.toFixed(2),freedMemoryKB:a.toFixed(2),remainingQueueLength:this.audioQueue.length,newScheduledCount:this.scheduledCount,newPlayedBufferCount:this.playedBufferCount,isMobile:this.isMobileDevice()})}}}startAutoPlayCheck(){if(this.autoPlayCheckInterval){Y("[startAutoPlayCheck] 已有检查定时器,跳过");return}Y("[startAutoPlayCheck] 启动等待新数据检查"),this.autoPlayCheckWaitTime=0;const e=180*1e3;this.autoPlayCheckInterval=window.setInterval(()=>{this.autoPlayCheckWaitTime+=200,Y("[autoPlayCheck] 检查",{waitTime:this.autoPlayCheckWaitTime,scheduledCount:this.scheduledCount,audioQueueLength:this.audioQueue.length,pendingChunks:this.pendingChunks.length,generationComplete:this.generationComplete,scheduledSourcesLength:this.scheduledSources.length}),this.scheduledCount<this.audioQueue.length?(Y("[autoPlayCheck] 发现新片段,调度"),this.scheduleNewChunks(),this.scheduledSources.length>0&&(Y("[autoPlayCheck] 调度成功,停止检查"),this.stopAutoPlayCheck())):this.scheduledSources.length>0?(Y("[autoPlayCheck] 还有片段在播放中,停止检查"),this.stopAutoPlayCheck()):this.pendingChunks.length>0?(Y("[autoPlayCheck] 还有待解码chunk,触发解码"),this.decodeAhead()):this.generationComplete?(Y("[autoPlayCheck] 生成完成且无播放片段和待解码chunk,结束播放"),this.handlePlaybackEnd()):this.autoPlayCheckWaitTime>=e&&(Y("[autoPlayCheck] 等待超时,结束播放"),this.handlePlaybackEnd())},200)}stopAutoPlayCheck(){this.autoPlayCheckInterval&&(clearInterval(this.autoPlayCheckInterval),this.autoPlayCheckInterval=null)}startTimeUpdate(){this.timeUpdateInterval||(this.timeUpdateInterval=window.setInterval(()=>{if(this.isPlaying&&this.audioContext){const e=this.audioContext.currentTime-this.startedAt;this.onTimeUpdateCallback&&this.onTimeUpdateCallback(e,this.totalDuration)}},100))}stopTimeUpdate(){this.timeUpdateInterval&&(clearInterval(this.timeUpdateInterval),this.timeUpdateInterval=null)}seek(e){if(Y("[seek] 开始",{time:e,playMode:this.playMode,generationComplete:this.generationComplete,urlReady:this.urlReady,hasPreloadedAudio:!!this.preloadedAudioElement,isPlaying:this.isPlaying}),this.playMode==="url"&&this.audioElement){this.audioElement.currentTime=Math.max(0,Math.min(e,this.audioElement.duration||0));return}if(this.playMode==="stream"){if(this.generationComplete&&this.urlReady&&this.preloadedAudioElement){Y("[seek] 切换到 URL 模式(使用预加载的 audio 元素)");const n=this.isPlaying;this.stopTimeUpdate();for(const i of this.scheduledSources)try{i.stop()}catch{}this.scheduledSources=[],this.isPlaying=!1,this.audioElement=this.preloadedAudioElement,this.preloadedAudioElement=null,this.playMode="url",this.bindAudioElementEvents(),this.audioElement.currentTime=Math.max(0,Math.min(e,this.audioElement.duration||0)),n&&this.audioElement.play().catch(i=>{Y("[seek] 播放失败:",i)});return}const r=this.isPlaying;r&&this.pause(),this.pausedAt=Math.max(0,Math.min(e,this.totalDuration)),r&&this.play()}}bindAudioElementEvents(){this.audioElement&&(this.audioElement.addEventListener("play",()=>{this.isPlaying=!0,this.onPlayCallback&&this.onPlayCallback()}),this.audioElement.addEventListener("pause",()=>{this.isPlaying=!1,this.onPauseCallback&&this.onPauseCallback()}),this.audioElement.addEventListener("ended",()=>{this.isPlaying=!1,this.onEndCallback&&this.onEndCallback()}),this.audioElement.addEventListener("timeupdate",()=>{this.onTimeUpdateCallback&&this.onTimeUpdateCallback(this.audioElement.currentTime,this.audioElement.duration||0)}),this.audioElement.addEventListener("error",e=>{this.onErrorCallback&&this.onErrorCallback(new Error("音频加载失败: "+(e.message||"未知错误")))}))}getPlayState(){return this.isPlaying}getDuration(){return this.playMode==="url"&&this.audioElement?this.audioElement.duration||0:this.getDisplayDuration()}getCurrentTime(){return this.playMode==="url"&&this.audioElement?this.audioElement.currentTime||0:this.isPlaying&&this.audioContext?this.audioContext.currentTime-this.startedAt:this.pausedAt}getAudioQueue(){return[...this.audioQueue]}async getAudioData(){const e=[];for(const r of this.audioQueue){const n=r.numberOfChannels,i=r.length,a=new ArrayBuffer(i*n*2),o=new DataView(a);for(let s=0;s<n;s++){const u=r.getChannelData(s);for(let l=0;l<i;l++){const c=Math.max(-1,Math.min(1,u[l])),f=c<0?c*32768:c*32767;o.setInt16((l*n+s)*2,f,!0)}}e.push(a)}return e}onPlay(e){this.onPlayCallback=e}onPause(e){this.onPauseCallback=e}onEnd(e){this.onEndCallback=e}onError(e){this.onErrorCallback=e}onTimeUpdate(e){this.onTimeUpdateCallback=e}onDurationChange(e){this.onDurationChangeCallback=e}onUrlReady(e){this.onUrlReadyCallback=e}isUrlReady(){return this.urlReady}destroy(){this.stop(),this.stopTimeUpdate(),this.stopAutoPlayCheck(),this.handleVisibilityChange&&(document.removeEventListener("visibilitychange",this.handleVisibilityChange),this.handleVisibilityChange=null),this.audioContext&&(this.audioContext.onstatechange=null,this.audioContext.close(),this.audioContext=null),this.audioQueue=[],this.iosUnlockAudio&&(this.iosUnlockAudio.pause(),this.iosUnlockAudio.srcObject=null,this.iosUnlockAudio=null),this.mediaStreamDestination=null,this.audioElement&&(this.audioElement.pause(),this.audioElement.src="",this.audioElement=null),this.playMode=null}},sf="https://cdn.xiaowei.qq.com/adp/assets/static/iconfont-XzKaDZdEa7j2GPL-1201.js",Vu={};function hO(t){const e={};return t.props.size&&(e.width=`${t.props.size}px`,e.height=`${t.props.size}px`),t.props.valign&&(e.verticalAlign=`${t.props.valign}px`),t.props.rotate&&(e.transform=`rotate(${t.props.rotate}deg)`),e}function dO(t){const e=t.props;return{"v-icon":!0,"is-horizontal":e.flip==="horizontal","is-vertical":e.flip==="vertical","v-icon--stroke":e.useStroke,"v-icon--fill":!e.useStroke}}function Xb(t){let e=document.createElement("script");e.type="text/javascript",e.src=t,document.getElementsByTagName("head")[0].appendChild(e)}const pO=t=>{let e=!1,r=Object.keys(Vu);r.forEach(n=>{Vu[n]===t&&(e=!0)}),e||(Vu[r.length]=t,Xb(t))},vO={name:"VIcon",functional:!0,props:{name:{type:String,required:!0},remote:{type:Boolean,default:!1},remoteSrc:{type:String,default:""},remotePrefix:{type:String,default:"v-"},loadDefaultRemoteIcons:{type:Boolean,default:!0},label:String,rotate:[Number,String],size:[Number,String],valign:[Number,String],flip:String,useStroke:Boolean,clazz:String,scoped:String},render(t,e){const r=hO(e);if(e.data.style)for(let n in e.data.style)r[n]=e.data.style[n];return!Vu.defaultRemoteSrc&&sf&&e.props.loadDefaultRemoteIcons&&(Vu.defaultRemoteSrc=sf,Xb(sf)),e.props.remoteSrc&&pO(e.props.remoteSrc),t("svg",{class:dO(e),style:r,attrs:{role:e.props.label?"img":"presentation","aria-label":e.props.label},on:e.data.nativeOn},[t("use",{attrs:{"xlink:href":"#"+e.props.remotePrefix+e.props.name,class:e.props.clazz},style:{pointerEvents:"none"}})])}},gO=vO,mO=null,yO=null;var _O=pr(gO,mO,yO,!1,null,null,null,null);const r2=_O.exports;const bO={name:"StreamAudioPlayer",components:{VIcon:r2},props:{audioData:{type:Object,required:!0}},data(){return{player:null,internalStatus:"pending",currentTime:0,duration:0,isDragging:!1,isHoveringProgress:!1,lastProcessedChunkCount:0,playModeDecided:!1,lastKnownIsComplete:!1,urlReady:!1,dragCleanup:null}},computed:{isGenerating(){return!this.audioData.isComplete},hasPlayableContent(){const t=!!this.audioData.audio_url,e=this.audioData.audio_data&&this.audioData.audio_data.length>0;return t||e},isDisabled(){return!this.hasPlayableContent},canSeek(){return!this.isGenerating&&this.urlReady},displayFileName(){return this.audioData.title?this.audioData.title:this.isGenerating?"音频生成中...":"音频文件"},statusText(){if(this.isDisabled)return"暂无音频";if(this.isGenerating&&this.duration===0)return"生成中...";const t=this.formatTime(this.currentTime),e=this.isGenerating?"生成中":this.formatTime(this.duration);return`${t} / ${e}`},statusClass(){return{generating:this.isGenerating,completed:this.internalStatus==="completed",playing:this.internalStatus==="playing",paused:this.internalStatus==="paused",disabled:this.isDisabled}},cardClass(){return{generating:this.isGenerating,completed:this.internalStatus==="completed",playing:this.internalStatus==="playing",paused:this.internalStatus==="paused",disabled:this.isDisabled,hoverable:!this.isDisabled&&!this.isGenerating}},progressPercentage(){return this.duration===0?0:this.currentTime/this.duration*100},showHandle(){return(this.isHoveringProgress||this.isDragging)&&!this.isDisabled&&!this.isGenerating},canPlay(){return!(this.isDisabled||this.isGenerating&&this.duration===0)},canDownload(){return!!this.audioData.audio_url},playButtonTitle(){return this.isDisabled?"暂无音频":this.isGenerating&&this.duration===0?"等待音频生成":this.internalStatus==="playing"?"暂停":"播放"},downloadButtonTitle(){return this.canDownload?"下载":this.isGenerating?"生成中,暂不可下载":"暂无可下载的音频"}},watch:{audioData:{handler(t){var r;if(!t||!this.player)return;console.log("[StreamAudioPlayer] audioData watch 触发:",{hasAudioUrl:!!t.audio_url,audioDataLength:(r=t.audio_data)==null?void 0:r.length,isComplete:t.isComplete,playModeDecided:this.playModeDecided,lastProcessedChunkCount:this.lastProcessedChunkCount,lastKnownIsComplete:this.lastKnownIsComplete,internalStatus:this.internalStatus}),!this.playModeDecided&&t.audio_url&&(console.log("[StreamAudioPlayer] 切换到 URL 模式"),this.handleAudioUrlChange(t.audio_url)),t.audio_data&&Array.isArray(t.audio_data)&&t.audio_data.length>this.lastProcessedChunkCount&&(!this.playModeDecided||this.player.playMode==="stream")&&(console.log("[StreamAudioPlayer] 处理新的音频片段"),this.handleAudioDataChange(t.audio_data)),!!t.isComplete&&!this.lastKnownIsComplete&&(this.lastKnownIsComplete=!0,this.handleGenerationComplete())},deep:!0,immediate:!1}},mounted(){this.initPlayer(),this.audioData&&(this.audioData.audio_data&&this.audioData.audio_data.length>0?this.handleAudioDataChange(this.audioData.audio_data):this.audioData.audio_url&&this.handleAudioUrlChange(this.audioData.audio_url),this.audioData.isComplete&&(this.lastKnownIsComplete=!0,this.handleGenerationComplete()))},beforeDestroy(){this.destroyPlayer()},beforeUnmount(){this.destroyPlayer()},methods:{initPlayer(){this.player=new Yb,this.player.onPlay(()=>{this.internalStatus="playing",this.$emit("play",this.audioData)}),this.player.onPause(()=>{this.internalStatus="paused",this.$emit("pause",this.audioData)}),this.player.onEnd(()=>{this.player.playMode==="url"?this.internalStatus="completed":this.isGenerating?this.internalStatus="paused":this.internalStatus="completed",this.currentTime=0,this.$emit("end",this.audioData)}),this.player.onTimeUpdate((t,e)=>{this.isDragging||(this.currentTime=t),this.duration=e,t>=e&&e>0&&!this.isGenerating&&(this.player.pause(),this.internalStatus="completed",this.currentTime=e)}),this.player.onDurationChange(t=>{this.duration=t}),this.player.onError(t=>{console.error("音频播放错误:",t),this.$emit("error",t)}),this.player.onUrlReady(()=>{console.log("[StreamAudioPlayer.vue] URL 预加载完成回调"),this.urlReady=!0}),this.checkInitialState()},checkInitialState(){this.isDisabled?this.internalStatus="disabled":this.isGenerating?this.internalStatus="generating":this.internalStatus="completed"},handleAudioUrlChange(t){!this.player||!t||this.playModeDecided&&this.player.playMode!=="url"||(this.player.setAudioUrl(t),this.playModeDecided=!0,this.internalStatus="completed")},handleAudioDataChange(t){var r,n,i,a,o;if(!this.player||!t)return;this.playModeDecided=!0;const e=t.length-this.lastProcessedChunkCount;if(console.log("[StreamAudioPlayer.vue] handleAudioDataChange",{totalChunks:t.length,lastProcessedChunkCount:this.lastProcessedChunkCount,newChunksCount:e,playerPendingChunks:(r=this.player.pendingChunks)==null?void 0:r.length,playerAudioQueueLength:(n=this.player.audioQueue)==null?void 0:n.length,playerScheduledCount:this.player.scheduledCount,playerIsPlaying:this.player.isPlaying,internalStatus:this.internalStatus}),e<=0){console.log("[StreamAudioPlayer.vue] 没有新片段,跳过");return}(this.internalStatus==="disabled"||this.internalStatus==="pending")&&(this.internalStatus="generating");for(let s=this.lastProcessedChunkCount;s<t.length;s++){const u=t[s];console.log(`[StreamAudioPlayer.vue] 添加第 ${s+1} 个chunk,大小: ${(u.length*.75/1024).toFixed(2)} KB`),this.player.addBase64Chunk(u),this.lastProcessedChunkCount++,this.$emit("chunk-added",{duration:this.duration,queueLength:((i=this.player.pendingChunks)==null?void 0:i.length)||0})}console.log("[StreamAudioPlayer.vue] handleAudioDataChange 完成",{lastProcessedChunkCount:this.lastProcessedChunkCount,playerPendingChunks:(a=this.player.pendingChunks)==null?void 0:a.length,playerAudioQueueLength:(o=this.player.audioQueue)==null?void 0:o.length})},handleGenerationComplete(){var t,e,r,n,i,a,o;console.log("[StreamAudioPlayer.vue] handleGenerationComplete",{playerAudioQueueLength:(e=(t=this.player)==null?void 0:t.audioQueue)==null?void 0:e.length,playerPendingChunks:(n=(r=this.player)==null?void 0:r.pendingChunks)==null?void 0:n.length,playerTotalDuration:(a=(i=this.player)==null?void 0:i.totalDuration)==null?void 0:a.toFixed(2),playerScheduledCount:(o=this.player)==null?void 0:o.scheduledCount,internalStatus:this.internalStatus,hasAudioUrl:!!this.audioData.audio_url}),this.player&&this.player.markGenerationComplete(this.audioData.audio_url),this.player&&(this.duration=this.player.getDuration(),console.log("[StreamAudioPlayer.vue] 最终时长:",this.duration.toFixed(2))),this.internalStatus!=="playing"&&(this.internalStatus="completed"),this.audioData.audio_url||(this.urlReady=!0)},async addAudioChunk(t){var e;if(!this.player){console.warn("播放器未初始化");return}try{typeof t=="string"?await this.player.addBase64Chunk(t):await this.player.addAudioChunk(t),this.$emit("chunk-added",{duration:this.duration,queueLength:((e=this.player.audioQueue)==null?void 0:e.length)||0})}catch(r){console.error("添加音频片段失败:",r),this.$emit("error",r)}},markGenerationComplete(){this.handleGenerationComplete()},async handlePlayPause(){if(!(!this.player||!this.canPlay))try{this.internalStatus==="playing"?this.player.pause():(this.currentTime>=this.duration&&this.duration>0&&(this.currentTime=0,this.player.pausedAt=0),await this.player.play())}catch(t){console.error("播放控制错误:",t)}},handleDownload(){if(!this.canDownload)return;const t=this.audioData.audio_url,e=this.audioData.title||"音频文件",r=document.createElement("a");r.href=t,r.download=e,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),this.$emit("audio-download",{url:t,fileName:e})},formatTime(t){if(!t||isNaN(t))return"00:00";const e=Math.floor(t/60),r=Math.floor(t%60);return`${e.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`},handleMouseEnter(){},handleMouseLeave(){},handleProgressMouseEnter(){!this.isDisabled&&!this.isGenerating&&(this.isHoveringProgress=!0)},handleProgressMouseLeave(){this.isDragging||(this.isHoveringProgress=!1)},handleProgressMouseDown(t){this.isDisabled||!this.canSeek||this.seekToPosition(t)},handleDragStart(t){if(this.isDisabled||!this.canSeek)return;this.isDragging=!0,t.preventDefault();const e=n=>{this.seekToPosition(n)},r=()=>{this.isDragging=!1,this.isHoveringProgress||(this.isHoveringProgress=!1),document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",r),this.dragCleanup=null};this.dragCleanup=()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",r)},document.addEventListener("mousemove",e),document.addEventListener("mouseup",r)},seekToPosition(t){if(!this.player||!this.$refs.progressTrack)return;const r=this.$refs.progressTrack.getBoundingClientRect(),n=t.clientX-r.left,a=Math.max(0,Math.min(1,n/r.width))*this.duration;this.currentTime=a,this.player.seek(a)},destroyPlayer(){this.dragCleanup&&(this.dragCleanup(),this.dragCleanup=null),this.player&&(this.player.destroy(),this.player=null),this.internalStatus="pending",this.currentTime=0,this.duration=0,this.lastProcessedChunkCount=0,this.playModeDecided=!1,this.urlReady=!1,this.lastKnownIsComplete=!1}}};var xO=function(){var e=this,r=e._self._c;return r("div",{staticClass:"stream-audio-player-card",class:e.cardClass,on:{mouseenter:e.handleMouseEnter,mouseleave:e.handleMouseLeave}},[r("div",{staticClass:"audio-content"},[r("div",{staticClass:"audio-icon"},[r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"34",viewBox:"0 0 30 34",fill:"none"}},[r("path",{staticStyle:{fill:"color(display-p3 0.9569 0.9333 0.9882)","fill-opacity":"1"},attrs:{d:"M1.55782e-06 5.33333C1.66168e-06 3.46649 1.71361e-06 2.53307 0.363313 1.82003C0.682891 1.19282 1.19283 0.682889 1.82003 0.363312C2.53307 1.40931e-07 3.46649 1.92863e-07 5.33334 2.96727e-07L21.1242 1.17527e-06C21.9395 1.22063e-06 22.3472 1.24331e-06 22.7308 0.0921015C23.0709 0.173757 23.396 0.308438 23.6943 0.491201C24.0307 0.69734 24.3189 0.985593 24.8954 1.5621L28.4379 5.10457C29.0144 5.68108 29.3027 5.96933 29.5088 6.30572C29.6916 6.60396 29.8262 6.92911 29.9079 7.26923C30 7.65285 30 8.0605 30 8.87581L30 28C30 29.8668 30 30.8003 29.6367 31.5133C29.3171 32.1405 28.8072 32.6504 28.18 32.97C27.4669 33.3333 26.5335 33.3333 24.6667 33.3333L5.33333 33.3333C3.46649 33.3333 2.53307 33.3333 1.82003 32.97C1.19282 32.6504 0.68289 32.1405 0.363312 31.5133C1.40931e-07 30.8003 1.92863e-07 29.8668 2.96727e-07 28L1.55782e-06 5.33333Z",fill:"#F4EEFC"}}),r("path",{staticStyle:{fill:"color(display-p3 0.8863 0.8353 0.9725)","fill-opacity":"1"},attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M29.1667 28L29.1667 8.87581C29.1667 8.02084 29.1613 7.72918 29.0976 7.46377C29.0364 7.20868 28.9353 6.96481 28.7983 6.74113C28.6557 6.5084 28.4532 6.29838 27.8487 5.69383L24.3062 2.15135C23.7016 1.5468 23.4916 1.34435 23.2589 1.20173C23.0352 1.06466 22.7913 0.963651 22.5362 0.90241C22.2708 0.83869 21.9792 0.833334 21.1242 0.833334L5.33334 0.833333C4.38616 0.833333 3.7259 0.833981 3.21187 0.87598C2.70756 0.917183 2.41782 0.993995 2.19836 1.10582C1.72795 1.3455 1.3455 1.72795 1.10582 2.19836C0.993997 2.41782 0.917185 2.70756 0.875981 3.21187C0.833983 3.7259 0.833335 4.38616 0.833335 5.33333L0.833334 28C0.833334 28.9472 0.833982 29.6074 0.87598 30.1215C0.917183 30.6258 0.993995 30.9155 1.10582 31.135C1.3455 31.6054 1.72795 31.9878 2.19836 32.2275C2.41782 32.3393 2.70756 32.4161 3.21187 32.4573C3.7259 32.4993 4.38616 32.5 5.33333 32.5L24.6667 32.5C25.6138 32.5 26.2741 32.4993 26.7881 32.4573C27.2924 32.4161 27.5822 32.3393 27.8016 32.2275C28.2721 31.9878 28.6545 31.6054 28.8942 31.135C29.006 30.9155 29.0828 30.6258 29.124 30.1215C29.166 29.6074 29.1667 28.9472 29.1667 28ZM0.363313 1.82003C1.71361e-06 2.53307 1.66168e-06 3.46649 1.55782e-06 5.33333L2.96727e-07 28C1.92863e-07 29.8668 1.40931e-07 30.8003 0.363312 31.5133C0.68289 32.1405 1.19282 32.6504 1.82003 32.97C2.53307 33.3333 3.46649 33.3333 5.33333 33.3333L24.6667 33.3333C26.5335 33.3333 27.4669 33.3333 28.18 32.97C28.8072 32.6504 29.3171 32.1405 29.6367 31.5133C30 30.8003 30 29.8668 30 28L30 8.87581C30 8.0605 30 7.65285 29.9079 7.26923C29.8262 6.92911 29.6916 6.60396 29.5088 6.30572C29.3027 5.96933 29.0144 5.68108 28.4379 5.10457L24.8954 1.5621C24.3189 0.985593 24.0307 0.69734 23.6943 0.491201C23.396 0.308438 23.0709 0.173757 22.7308 0.0921015C22.3472 1.24331e-06 21.9395 1.22063e-06 21.1242 1.17527e-06L5.33334 2.96727e-07C3.46649 1.92863e-07 2.53307 1.40931e-07 1.82003 0.363312C1.19283 0.682889 0.682891 1.19282 0.363313 1.82003Z",fill:"#E2D5F8"}}),r("path",{staticStyle:{fill:"color(display-p3 0.4157 0.2706 0.8980)","fill-opacity":"1"},attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.1277 22.689L22.129 8.92249L10.0345 10.5529L10.0335 22.0895C9.69971 21.9846 9.34054 21.9276 8.96638 21.9276C7.19825 21.9276 5.76489 23.2017 5.76489 24.7734C5.76489 26.345 7.19825 27.6191 8.96638 27.6191C10.7157 27.6191 12.1374 26.3719 12.1674 24.8233L12.1676 24.8233L12.1676 24.8123L12.1679 24.7734L12.1676 24.7347L12.168 13.7622L19.9939 12.5435L19.9935 19.9543C19.6596 19.8493 19.3001 19.7922 18.9257 19.7922C17.1576 19.7922 15.7242 21.0663 15.7242 22.6379C15.7242 24.2096 17.1576 25.4837 18.9257 25.4837C20.6746 25.4837 22.096 24.2371 22.1267 22.689L22.1277 22.689Z",fill:"#6A45E5"}})])]),r("div",{staticClass:"file-info"},[r("div",{staticClass:"file-name",attrs:{title:e.displayFileName}},[e._v(e._s(e.displayFileName))]),r("div",{staticClass:"file-status"},[r("span",{staticClass:"status-text",class:e.statusClass},[e._v(" "+e._s(e.statusText)+" ")])])]),r("div",{staticClass:"audio-controls"},[r("button",{staticClass:"control-btn download-btn",attrs:{disabled:!e.canDownload,title:e.downloadButtonTitle},on:{click:e.handleDownload}},[r("v-icon",{attrs:{name:"basic_download2_line",size:18}})],1),r("button",{staticClass:"control-btn play-btn",attrs:{disabled:!e.canPlay,title:e.playButtonTitle},on:{click:e.handlePlayPause}},[e.internalStatus==="playing"?r("v-icon",{attrs:{name:"basic_pause_line",size:18}}):r("v-icon",{attrs:{name:"basic_play_line",size:18}})],1)])]),r("div",{staticClass:"progress-container"},[r("div",{ref:"progressTrack",staticClass:"progress-track",on:{mousedown:e.handleProgressMouseDown,mouseenter:e.handleProgressMouseEnter,mouseleave:e.handleProgressMouseLeave}},[e.isGenerating?e._e():r("div",{staticClass:"progress-played",class:{"no-transition":e.isDragging},style:{width:e.progressPercentage+"%"}}),e.showHandle?r("div",{staticClass:"progress-handle",class:{"no-transition":e.isDragging},style:{left:e.progressPercentage+"%"},on:{mousedown:function(n){return n.stopPropagation(),e.handleDragStart.apply(null,arguments)}}}):e._e()])])])},wO=[],SO=pr(bO,xO,wO,!1,null,"c74077bd",null,null);const jb=SO.exports,av={"zh-CN":{MsgTaskList:{allCompleted:"已完成所有任务",stopped:"已停止",taskProgress:"任务进度"},ClassifyTag:{title:"问题澄清",multiHint:"(支持多选)",submit:"提交",submitted:"已提交",skip:"跳过"}},"en-US":{MsgTaskList:{allCompleted:"All tasks completed",stopped:"Stopped",taskProgress:"Task progress"},ClassifyTag:{title:"Question Clarification",multiHint:"(Multiple selection)",submit:"Submit",submitted:"Submitted",skip:"Skip"}}},ov="zh-CN";function _i(t,e=ov,r=""){const n=av[e]?e:ov,i=av[n];if(r&&i[r]){const a=i[r][t];if(a!==void 0)return a}for(const a of Object.keys(i))if(i[a][t]!==void 0)return i[a][t];return t}const CO={name:"ClassifyTag",props:{title:{type:String,default:""},questions:{type:Array,default:()=>[]},disabled:{type:Boolean,default:!1},defaultAnswers:{type:Array,default:()=>[]},locale:{type:String,default:"zh-CN"}},data(){return{collapsed:!1,selectedAnswers:{},submitted:!1}},watch:{defaultAnswers:{handler(t){t&&t.length>0&&this._applyDefaultAnswers(t)},immediate:!0}},computed:{i18nText(){return{title:_i("title",this.locale,"ClassifyTag"),multiHint:_i("multiHint",this.locale,"ClassifyTag"),submit:_i("submit",this.locale,"ClassifyTag"),submitted:_i("submitted",this.locale,"ClassifyTag"),skip:_i("skip",this.locale,"ClassifyTag")}},displayTitle(){return this.title||this.i18nText.title},normalizedQuestions(){return!this.questions||!this.questions.length?[]:this.questions.map((t,e)=>({id:t.id!==void 0?t.id:e,text:t.text||t.question||"",isMulti:t.type===2,options:(t.options||[]).map(r=>typeof r=="string"?{label:r,description:""}:{label:r.label||r.Label||"",description:r.description||r.Description||""})}))},allAnswered(){return!this.normalizedQuestions||this.normalizedQuestions.length===0?!1:this.normalizedQuestions.every(t=>{const e=this.selectedAnswers[t.id];return t.isMulti?Array.isArray(e)&&e.length>0:e!==void 0})}},methods:{_applyDefaultAnswers(t){t.forEach(e=>{if(e.questionId!==void 0){if(e.selectedIndices&&Array.isArray(e.selectedIndices))this.$set(this.selectedAnswers,e.questionId,[...e.selectedIndices]);else if(e.selectedIndex!==void 0){const r=this.normalizedQuestions.find(n=>n.id===e.questionId);r&&r.isMulti?this.$set(this.selectedAnswers,e.questionId,[e.selectedIndex]):this.$set(this.selectedAnswers,e.questionId,e.selectedIndex)}}}),this.submitted=!0},toggleCollapse(){this.collapsed=!this.collapsed},selectOption(t,e){this.submitted||this.disabled||this.$set(this.selectedAnswers,t,e)},isChecked(t,e){const r=this.selectedAnswers[t];return Array.isArray(r)&&r.includes(e)},toggleCheckbox(t,e){if(this.submitted||this.disabled)return;let r=this.selectedAnswers[t];Array.isArray(r)?r=[...r]:r=[];const n=r.indexOf(e);n!==-1?r.splice(n,1):r.push(e),this.$set(this.selectedAnswers,t,r)},handleSubmit(){if(!this.allAnswered||this.submitted)return;this.submitted=!0;const t=this.normalizedQuestions.map(e=>{const r=this.selectedAnswers[e.id];if(e.isMulti){const i=Array.isArray(r)?r:[],a=i.map(o=>e.options[o]?e.options[o].label:"");return{questionId:String(e.id),questionText:e.text,isMulti:!0,selectedOptions:a,selectedOption:a[0]||"",selectedIndices:i,selectedIndex:i[0]!==void 0?i[0]:-1}}const n=e.options[r];return{questionId:String(e.id),questionText:e.text,isMulti:!1,selectedOption:n?n.label:"",selectedOptions:[n?n.label:""],selectedIndex:r,selectedIndices:[r]}});this.$emit("submit",t)},handleSkip(){this.submitted||this.disabled||this.$emit("skip")}}};var AO=function(){var e=this,r=e._self._c;return r("div",{staticClass:"classify-tag",class:{"classify-tag--collapsed":e.collapsed}},[r("div",{staticClass:"classify-tag__header",on:{click:e.toggleCollapse}},[r("svg",{staticClass:"classify-tag__icon",attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M8 1C4.13401 1 1 4.13401 1 8C1 11.866 4.13401 15 8 15C11.866 15 8 15 8 15",stroke:"#4A70FF","stroke-width":"1.5","stroke-linecap":"round",fill:"none"}}),r("path",{attrs:{d:"M8 5V8.5",stroke:"#4A70FF","stroke-width":"1.5","stroke-linecap":"round"}}),r("circle",{attrs:{cx:"8",cy:"11",r:"0.75",fill:"#4A70FF"}}),r("path",{attrs:{d:"M8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1Z",stroke:"#4A70FF","stroke-width":"1.5",fill:"none"}})]),r("span",{staticClass:"classify-tag__title"},[e._v(e._s(e.displayTitle))]),r("svg",{staticClass:"classify-tag__arrow",class:{"classify-tag__arrow--up":!e.collapsed},attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M4 6L8 10L12 6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.collapsed,expression:"!collapsed"}],staticClass:"classify-tag__content"},e._l(e.normalizedQuestions,function(n,i){return r("div",{key:n.id||i,staticClass:"classify-tag__question-group"},[r("div",{staticClass:"classify-tag__question-text"},[e._v(" "+e._s(i+1)+"、"+e._s(n.text)+" "),n.isMulti?r("span",{staticClass:"classify-tag__multi-hint"},[e._v(e._s(e.i18nText.multiHint))]):e._e()]),r("div",{staticClass:"classify-tag__options"},[n.isMulti?e._l(n.options,function(a,o){return r("label",{key:o,staticClass:"classify-tag__checkbox",class:{"classify-tag__checkbox--checked":e.isChecked(n.id||i,o),"classify-tag__checkbox--rich":a.description},on:{click:function(s){return e.toggleCheckbox(n.id||i,o)}}},[r("span",{staticClass:"classify-tag__checkbox-box"},[e.isChecked(n.id||i,o)?r("svg",{staticClass:"classify-tag__checkbox-tick",attrs:{width:"10",height:"8",viewBox:"0 0 10 8",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M1 4L3.5 6.5L9 1",stroke:"#fff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})]):e._e()]),r("span",{staticClass:"classify-tag__radio-content"},[r("span",{staticClass:"classify-tag__radio-label"},[e._v(e._s(a.label))]),a.description?r("span",{staticClass:"classify-tag__radio-desc"},[e._v(e._s(a.description))]):e._e()])])}):e._l(n.options,function(a,o){return r("label",{key:o,staticClass:"classify-tag__radio",class:{"classify-tag__radio--checked":e.selectedAnswers[n.id||i]===o,"classify-tag__radio--rich":a.description},on:{click:function(s){return e.selectOption(n.id||i,o)}}},[r("span",{staticClass:"classify-tag__radio-circle"},[e.selectedAnswers[n.id||i]===o?r("span",{staticClass:"classify-tag__radio-dot"}):e._e()]),r("span",{staticClass:"classify-tag__radio-content"},[r("span",{staticClass:"classify-tag__radio-label"},[e._v(e._s(a.label))]),a.description?r("span",{staticClass:"classify-tag__radio-desc"},[e._v(e._s(a.description))]):e._e()])])})],2)])}),0),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.collapsed,expression:"!collapsed"}],staticClass:"classify-tag__footer"},[r("div",{staticClass:"classify-tag__footer-divider"}),r("div",{staticClass:"classify-tag__footer-actions"},[r("button",{staticClass:"classify-tag__btn classify-tag__btn--primary",attrs:{disabled:!e.allAnswered||e.submitted},on:{click:e.handleSubmit}},[e._v(" "+e._s(e.submitted?e.i18nText.submitted:e.i18nText.submit)+" ")]),e.submitted?e._e():r("button",{staticClass:"classify-tag__btn classify-tag__btn--secondary",on:{click:e.handleSkip}},[e._v(" "+e._s(e.i18nText.skip)+" ")])])])])},TO=[],DO=pr(CO,AO,TO,!1,null,"075718a5",null,null);const n2=DO.exports;const EO={name:"PlanConfirm",props:{title:{type:String,default:"计划确认"},planText:{type:String,default:""},disabled:{type:Boolean,default:!1}},data(){return{collapsed:!1,confirmed:!1,skipped:!1}},methods:{toggleCollapse(){this.collapsed=!this.collapsed},handleConfirm(){this.confirmed||this.skipped||this.disabled||(this.confirmed=!0,this.$emit("confirm",this.planText))},handleSkip(){this.confirmed||this.skipped||this.disabled||(this.skipped=!0,this.$emit("skip",this.planText))}}};var kO=function(){var e=this,r=e._self._c;return r("div",{staticClass:"plan-confirm",class:{"plan-confirm--collapsed":e.collapsed}},[r("div",{staticClass:"plan-confirm__header",on:{click:e.toggleCollapse}},[r("svg",{staticClass:"plan-confirm__icon",attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M13.5 5.5L6.5 12.5L2.5 8.5",stroke:"#4A70FF","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}}),r("rect",{attrs:{x:"1",y:"1",width:"14",height:"14",rx:"2",stroke:"#4A70FF","stroke-width":"1.5",fill:"none"}})]),r("span",{staticClass:"plan-confirm__title"},[e._v(e._s(e.title))]),r("svg",{staticClass:"plan-confirm__arrow",class:{"plan-confirm__arrow--up":!e.collapsed},attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M4 6L8 10L12 6",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.collapsed,expression:"!collapsed"}],staticClass:"plan-confirm__content"},[r("div",{staticClass:"plan-confirm__text"},[e._v(e._s(e.planText))])]),r("div",{directives:[{name:"show",rawName:"v-show",value:!e.collapsed,expression:"!collapsed"}],staticClass:"plan-confirm__footer"},[r("div",{staticClass:"plan-confirm__footer-divider"}),r("div",{staticClass:"plan-confirm__footer-actions"},[!e.confirmed&&!e.skipped?r("button",{staticClass:"plan-confirm__btn plan-confirm__btn--primary",on:{click:e.handleConfirm}},[e._v(" 确定 ")]):e._e(),e.confirmed?r("button",{staticClass:"plan-confirm__btn plan-confirm__btn--primary",attrs:{disabled:""}},[e._v(" 已确定 ")]):e._e(),!e.confirmed&&!e.skipped?r("button",{staticClass:"plan-confirm__btn plan-confirm__btn--secondary",on:{click:e.handleSkip}},[e._v(" 跳过 ")]):e._e(),e.skipped?r("button",{staticClass:"plan-confirm__btn plan-confirm__btn--secondary",attrs:{disabled:""}},[e._v(" 已跳过 ")]):e._e()])])])},MO=[],LO=pr(EO,kO,MO,!1,null,"99c3033c",null,null);const IO=LO.exports;let g1;const PO=new Uint8Array(16);function RO(){if(!g1&&(g1=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!g1))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return g1(PO)}const St=[];for(let t=0;t<256;++t)St.push((t+256).toString(16).slice(1));function NO(t,e=0){return St[t[e+0]]+St[t[e+1]]+St[t[e+2]]+St[t[e+3]]+"-"+St[t[e+4]]+St[t[e+5]]+"-"+St[t[e+6]]+St[t[e+7]]+"-"+St[t[e+8]]+St[t[e+9]]+"-"+St[t[e+10]]+St[t[e+11]]+St[t[e+12]]+St[t[e+13]]+St[t[e+14]]+St[t[e+15]]}const OO=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),sv={randomUUID:OO};function Kb(t,e,r){if(sv.randomUUID&&!e&&!t)return sv.randomUUID();t=t||{};const n=t.random||(t.rng||RO)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,e){r=r||0;for(let i=0;i<16;++i)e[r+i]=n[i];return e}return NO(n)}const BO=["Basic","Card","ListView","ListViewItem","Badge","Box","Row","Col","Button","Caption","Chart","Checkbox","DatePicker","Divider","Form","Icon","Image","Input","Label","Markdown","RadioGroup","Select","Spacer","Text","Textarea","Title","Transition","Video","Audio","Countdown","Clickable","ImageSelect"];class FO{constructor(){this.worker=null,this.callbacks=new Map,this.initializing=!1,this.initPromise=null,this.blobUrl=null}async init(){return this.worker?Promise.resolve():this.initializing&&this.initPromise?this.initPromise:(this.initializing=!0,this.initPromise=new Promise((e,r)=>{try{const n=window.tsxToJsonWorkerSrc||"https://cdn.xiaowei.qq.com/adp/assets/static/tsxToJSON.worker.js",i=new Blob([`importScripts('${n}')`],{type:"application/javascript"});this.blobUrl=URL.createObjectURL(i),this.worker=new Worker(this.blobUrl),this.worker.onmessage=a=>{const{ok:o,out:s,error:u,nonce:l}=a.data,c=this.callbacks.get(l);c&&(this.callbacks.delete(l),o?c.resolve(s):c.reject(new Error(u||"Worker Parse error")))},this.worker.onerror=a=>{console.error("tsxToJSON Worker 错误:",a)},this.initializing=!1,e()}catch(n){this.initializing=!1,console.error("初始化 tsxToJSON Worker 失败:",n),r(n)}}),this.initPromise)}destroy(){this.worker&&(this.worker.terminate(),this.worker=null),this.blobUrl&&(URL.revokeObjectURL(this.blobUrl),this.blobUrl=null),this.callbacks.forEach(e=>{e.reject(new Error("Worker destroy"))}),this.callbacks.clear(),this.initializing=!1,this.initPromise=null}async parse({view:e,state:r,keyMap:n,componentNames:i=BO}){return await this.init(),new Promise((a,o)=>{if(!this.worker){o(new Error("Worker not init"));return}const s=Kb();this.callbacks.set(s,{resolve:a,reject:o}),this.worker.postMessage({type:"parse",view:e,state:r||{},keyMap:n,componentNames:i||[],nonce:s})})}isInitialized(){return!!this.worker}}let m1=null;async function $h(){return m1||(m1=new FO),await m1.init(),m1}class zO{constructor(){this.worker=null,this.callbacks=new Map,this.initializing=!1,this.initPromise=null,this.blobUrl=null}async init(){return this.worker?Promise.resolve():this.initializing&&this.initPromise?this.initPromise:(this.initializing=!0,this.initPromise=new Promise((e,r)=>{try{const n=window.schemaWorkerSrc||"https://cdn.xiaowei.qq.com/adp/assets/static/schemaWorker.js",i=new Blob([`importScripts('${n}')`],{type:"application/javascript"});this.blobUrl=URL.createObjectURL(i),this.worker=new Worker(this.blobUrl),this.worker.onmessage=a=>{const{ok:o,keyMap:s,jsonSchema:u,error:l,nonce:c}=a.data,f=this.callbacks.get(c);f&&(this.callbacks.delete(c),o?f.resolve({keyMap:s,jsonSchema:u}):f.reject(new Error(l||"Worker parse failed")))},this.worker.onerror=a=>{console.error("zodSchema Worker 错误:",a)},this.initializing=!1,e()}catch(n){this.initializing=!1,console.error("初始化 zodSchema Worker 失败:",n),r(n)}}),this.initPromise)}destroy(){this.worker&&(this.worker.terminate(),this.worker=null),this.blobUrl&&(URL.revokeObjectURL(this.blobUrl),this.blobUrl=null),this.callbacks.forEach(e=>{e.reject(new Error("Worker destroyed"))}),this.callbacks.clear(),this.initializing=!1,this.initPromise=null}async zodToJsonSchema({src:e,includeJSONSchema:r=!0}){return await this.init(),new Promise((n,i)=>{if(!this.worker){i(new Error("Worker not init"));return}const a=Kb();this.callbacks.set(a,{resolve:n,reject:i}),this.worker.postMessage({type:"parse",src:e,includeJSONSchema:r,nonce:a})})}async zodToJsonSchemaAsync(e){return await this.zodToJsonSchema({src:e,includeJSONSchema:!0})}isInitialized(){return!!this.worker}}let y1=null;async function Qb(){return y1||(y1=new zO),await y1.init(),y1}async function X0(t){const r=await(await Qb()).zodToJsonSchemaAsync(t);return{keyMap:r.keyMap,jsonSchema:JSON.stringify(r.jsonSchema,null,2)}}function VO(t,e){let r;try{r=JSON.parse(t)}catch(i){return console.warn(`unmarshal view failed, err: ${i}`),t}let n;try{n=JSON.parse(e)}catch(i){return console.warn(`unmarshal payload failed, err: ${i}`),t}Gh(r,n);try{return JSON.stringify(r)}catch(i){return console.warn(`marshal view failed, err: ${i}`),t}}function Gh(t,e){if(Array.isArray(t))for(let r=0;r<t.length;r++)Gh(t[r],e);else if(t!==null&&typeof t=="object"){const r=t.name;if(typeof r=="string"){const n=typeof t.type=="string"?t.type:"unknown",i=$O(r,e);if(i.exists){const a=i.value;switch(n){case"DatePicker":t.defaultValue=a;break;case"Select":t.defaultValue=a;break;case"Checkbox":t.defaultChecked=a;break;case"RadioGroup":t.defaultValue=a;break;case"Input":t.defaultValue=a;break;case"Textarea":t.defaultValue=a;break;default:t.defaultValue=a}}}if(Array.isArray(t.children))for(let n=0;n<t.children.length;n++)Gh(t.children[n],e)}}function $O(t,e){const r=t.split(".");let n=e;for(const i of r){if(n===null||typeof n!="object"||Array.isArray(n))return{value:null,exists:!1};if(!(i in n))return{value:null,exists:!1};n=n[i]}return typeof n=="string"||typeof n=="number"||typeof n=="boolean"?{value:n,exists:!0}:{value:String(n),exists:!0}}class i2{constructor(){this.initPromise=null,this.initialized=!1,this._preload()}_preload(){return this.initPromise?this.initPromise:(this.initPromise=Promise.all([$h(),Qb()]).then(()=>{this.initialized=!0,console.log("WidgetHelper: Workers 预加载完成")}).catch(e=>{console.warn("WidgetHelper: Workers 预加载失败:",e.message)}),this.initPromise)}async waitForReady(){this.initPromise&&await this.initPromise}isReady(){return this.initialized}async getTemplate(e){try{return""}catch(r){return console.warn("getTemplate 执行出错:",r.message),""}}async getPreview({view:e,schema:r,defaultState:n}){try{if(await this.waitForReady(),n!=null&&n!==""){const s=typeof n=="string"?JSON.parse(n):n;if(typeof s!="object"||s===null)throw new Error("defaultState 必须是一个有效的 JSON 对象")}const{keyMap:i}=await X0(r);return await(await $h()).parse({view:e,state:JSON.parse(n),keyMap:i})}catch(i){return console.warn("getPreview 执行出错:",i.message),""}}async getJsonSchema(e){try{await this.waitForReady();const{jsonSchema:r}=await X0(e);return r}catch(r){return console.warn("getJsonSchema 执行出错:",r.message),""}}genarateSnapshot(...e){return VO(...e)}decodeWidget(e){try{return JSON.parse(Buffer.from(e,"base64").toString()||"")}catch{return""}}}function GO(){return new i2}function HO(t){try{return jsxToJinja(t)}catch(e){return console.warn("getTemplate 执行出错:",e.message),""}}async function UO({view:t,schema:e,defaultState:r}){try{if(r!=null&&r!==""){const o=typeof r=="string"?JSON.parse(r):r;if(typeof o!="object"||o===null)throw new Error("defaultState 必须是一个有效的 JSON 对象")}const{keyMap:n}=await X0(e);return await(await $h()).parse({view:t,state:JSON.parse(r),keyMap:n})}catch(n){return console.warn("getPreview 执行出错:",n.message),""}}async function WO(t){try{const{jsonSchema:e}=await X0(t);return e}catch(e){return console.warn("getJsonSchema 执行出错:",e.message),""}}const qO={data(){return{_widgetHelper:null}},created(){this._widgetHelper=new i2,this._widgetInstancesMap={},this._audioInstancesMap={},this._classifyTagInstancesMap={},this._planConfirmInstancesMap={},this._audioStateCache={}},methods:{_scaleWidgetIfNeeded(t,e){const r=this.widgetList&&this.widgetList.find(s=>s.widget_run_id===e),n=r&&r.scale,i=this._widgetInstancesMap[e],a=i&&i.instance&&i.instance.$el;if(!a)return;if(!n){t.style.width="",t.style.height="",a.style.transform="",a.style.transformOrigin="";return}let o;if(typeof n=="number")o=n;else if(n===!0){const s=this.$refs.containerRef&&(this.$refs.containerRef.$el||this.$refs.containerRef);if(!s)return;const u=s.clientWidth,l=a.style.transform;a.style.transform="";const c=a.scrollWidth||a.offsetWidth;if(a.style.transform=l,u<=0||c<=u){t.style.width="",t.style.height="",a.style.transform="",a.style.transformOrigin="";return}o=u/c}if(o&&o>0){a.style.transform="";const s=a.scrollWidth||a.offsetWidth,u=a.scrollHeight||a.offsetHeight;t.style.width=`${s*o}px`,t.style.height=`${u*o}px`,a.style.transform=`scale(${o})`,a.style.transformOrigin="top left"}},async _mountWidgets(t){if(!this.showWidget)return;const e=t.querySelectorAll(".widget-container");for(const r of e){if(r._widgetMounted||r._widgetMounting)continue;r._widgetMounting=!0;const n=r.getAttribute("data-widget-run-id"),i=r.getAttribute("data-widget-id"),a=r.getAttribute("data-widget-view"),o=r.getAttribute("data-widget-encoded-widget"),s=r.getAttribute("data-widget-state"),u=r.getAttribute("data-widget-payload"),l=r.getAttribute("data-widget-disable")==="true";if(!a&&!o){r._widgetMounting=!1;continue}const c=s?decodeURIComponent(escape(atob(s))):"",f=u?decodeURIComponent(escape(atob(u))):"",h=a?decodeURIComponent(escape(atob(a))):"";let d="";if(h)d=h;else try{const{view:b,schema:x}=this._widgetHelper.decodeWidget(o);d=await this._widgetHelper.getPreview({view:b,schema:x,defaultState:c}),d=JSON.stringify(d),f&&(d=this._widgetHelper.genarateSnapshot(d,f))}catch(b){console.error("[MsgContent] decodeWidget error",b),r._widgetMounting=!1;continue}const p=Pa.extend(Zb),v=new p({propsData:{output:d,disable:l,locale:this.locale}});v.$on("widget-action",b=>this.$emit("widget-action",b,n,i)),v.$on("widget-event",b=>this.$emit("widget-event",b,n,i)),v.$on("widget-rendered",b=>{this.$emit("widget-rendered",b,n,i),this.$nextTick(()=>this._scaleWidgetIfNeeded(r,n))}),v.$mount(),r.appendChild(v.$el),r._widgetMounted=!0,r._widgetMounting=!1;const g=r.getAttribute("data-widget-view")||"",m=r.getAttribute("data-widget-payload")||"",y=r.getAttribute("data-widget-state")||"",_=r.getAttribute("data-widget-encoded-widget")||"";this._widgetInstancesMap[n]={instance:v,container:r,_lastDataKey:`${g}|${m}|${y}|${_}`}}},_mountAudioPlayers(t){if(!this.audioList||this.audioList.length===0)return;t.querySelectorAll(".audio-stream-container").forEach(r=>{const n=r.getAttribute("data-audio-symbol-id");if(this._audioInstancesMap[n]){r.children.length===0&&r.appendChild(this._audioInstancesMap[n].instance.$el);return}if(r.children.length>0)return;const i=this.audioList&&this.audioList.find(a=>a.audioSymbolId===n);if(i)try{const a=Pa.extend(jb),o=new a({propsData:{audioData:i}});o.$on("play",s=>this.$emit("audio-play",s,n)),o.$on("pause",s=>this.$emit("audio-pause",s,n)),o.$on("end",s=>this.$emit("audio-end",s,n)),o.$on("audio-download",s=>this.$emit("audio-download",s,n)),o.$on("chunk-added",s=>this.$emit("audio-chunk-added",s,n)),o.$on("error",s=>this.$emit("audio-error",s,n)),o.$mount(),r.appendChild(o.$el),this._audioInstancesMap[n]={instance:o,container:r}}catch(a){console.error("[MsgContent] 创建音频播放器失败:",a)}})},_mountClassifyTags(t){if(!this.showClassifyTag)return;t.querySelectorAll(".classify-tag-container").forEach((r,n)=>{if(r._classifyTagMounted)return;const i=r.getAttribute("data-classify-tag");if(i)try{const a=decodeURIComponent(escape(atob(i))),o=JSON.parse(a),s=Pa.extend(n2),u=new s({propsData:{title:o.title||"",questions:o.questions||[],disabled:!1,locale:this.locale}});u.$on("submit",l=>this.$emit("classify-tag-submit",l,o)),u.$on("skip",()=>this.$emit("classify-tag-skip",o)),u.$mount(),r.appendChild(u.$el),r._classifyTagMounted=!0,this._classifyTagInstancesMap[n]={instance:u,container:r}}catch(a){console.error("[MsgContent] ClassifyTag mount error:",a)}})},_mountPlanConfirms(t){if(!this.showPlanConfirm)return;t.querySelectorAll(".plan-confirm-container").forEach((r,n)=>{if(r._planConfirmMounted)return;const i=r.getAttribute("data-plan-confirm");if(i)try{const a=decodeURIComponent(escape(atob(i))),o=JSON.parse(a),s=Pa.extend(IO),u=new s({propsData:{title:o.title||"计划确认",planText:o.planText||"",disabled:!1}});u.$on("confirm",l=>this.$emit("plan-confirm",l,o)),u.$on("skip",l=>this.$emit("plan-skip",l,o)),u.$mount(),r.appendChild(u.$el),r._planConfirmMounted=!0,this._planConfirmInstancesMap[n]={instance:u,container:r}}catch(a){console.error("[MsgContent] PlanConfirm mount error:",a)}})},_mountAll(t){this.$nextTick(()=>{this._mountWidgets(t),this._mountAudioPlayers(t),this._mountClassifyTags(t),this._mountPlanConfirms(t)})},async _updateWidgets(t){if(!t)return;const e=this.$refs.containerRef,r=e&&(e.$el||e);if(!r)return;await this.$nextTick();const n=r.querySelectorAll(".widget-container");for(const i of n){const a=i.getAttribute("data-widget-run-id"),o=this._widgetInstancesMap[a];if(!a||!o)continue;const s=i.getAttribute("data-widget-view")||"",u=i.getAttribute("data-widget-payload")||"",l=i.getAttribute("data-widget-state")||"",c=i.getAttribute("data-widget-encoded-widget")||"",f=i.getAttribute("data-widget-disable")==="true",h=`${s}|${u}|${l}|${c}`;if(o._lastDataKey!==h){o._lastDataKey=h;const d=s?decodeURIComponent(escape(atob(s))):"",p=u?decodeURIComponent(escape(atob(u))):"";let v="";if(d)v=d;else if(c){const g=l?decodeURIComponent(escape(atob(l))):"";try{const{view:m,schema:y}=this._widgetHelper.decodeWidget(c);v=await this._widgetHelper.getPreview({view:m,schema:y,defaultState:g}),v=JSON.stringify(v),p&&(v=this._widgetHelper.genarateSnapshot(v,p))}catch{}}o.instance&&(o.instance.output=v)}o.instance&&(o.instance.disable=f),this._scaleWidgetIfNeeded(i,a)}},_updateAudioPlayers(t){t&&Object.keys(this._audioInstancesMap).forEach(e=>{const r=this._audioInstancesMap[e];if(!r||!r.instance)return;const n=t.find(s=>s.audioSymbolId===e);if(!n)return;const i=n.audio_data&&n.audio_data.length||0,a=!!n.isComplete,o=this._audioStateCache[e]||{length:0,isComplete:!1};(i!==o.length||a!==o.isComplete)&&(this._audioStateCache[e]={length:i,isComplete:a},r.instance.audioData=n)})},_destroyAllEmbedded(){Object.keys(this._widgetInstancesMap).forEach(t=>{try{this._widgetInstancesMap[t].instance.$destroy()}catch{}delete this._widgetInstancesMap[t]}),Object.keys(this._audioInstancesMap).forEach(t=>{try{this._audioInstancesMap[t].instance.$destroy()}catch{}delete this._audioInstancesMap[t]}),Object.keys(this._classifyTagInstancesMap).forEach(t=>{try{this._classifyTagInstancesMap[t].instance.$destroy()}catch{}delete this._classifyTagInstancesMap[t]}),Object.keys(this._planConfirmInstancesMap).forEach(t=>{try{this._planConfirmInstancesMap[t].instance.$destroy()}catch{}delete this._planConfirmInstancesMap[t]}),this._audioStateCache={}}},beforeDestroy(){this._destroyAllEmbedded()}},ZO={methods:{_postrender(t){let e=t.replace(/&gt;/g,">").replace(/&lt;/g,"<").replace("CURSOR_POINT",'<span class="cursor"></span>');const r=document.createElement("div");return r.innerHTML=e,r.querySelectorAll("img").forEach(n=>{const i=Wb(n.src,"size"),a=i&&i.split("|")||[];let o,s;if(a[1]){const u=a[1].split("*");o=u[0],u[1]&&(s=u[0]/u[1])}a[0]&&(a[0]==="min"&&(!o||o<24)?o=this.imgMinWidth||"24":a[0]==="mid"&&o>320?o=this.imgMaxWidth||"320":a[0]==="max"&&(o=this.imgMaxWidth||"320")),o&&(n.style.width=o===this.imgMaxWidth||o===this.imgMinWidth?o:`${o}px`),s&&(n.style.height=`${o/s}px`)}),r.querySelectorAll("pre code:not(.language-mermaid)").forEach((n,i,a)=>{if(Array.from(n.classList).some(s=>s.startsWith("language-"))?this.incremental||af(n):n.classList.add("hljs"),this.isFinal){this.incremental||iv(n);const s=n.parentNode.querySelector(".cursor");s&&s.remove()}else if(this.isPrintAnimate&&!r.querySelector(".cursor")&&i===a.length-1&&!this.isFinal&&n.parentElement===r.lastElementChild){const s=document.createElement("span");s.className="cursor",n.append(s)}if(!this.incremental&&!n.parentNode.querySelector(".code-language-label")&&n.result&&n.result.language){const s=document.createElement("div");s.className="code-language-label",this.codeHeaderRender?s.innerHTML=this.codeHeaderRender(n.result.language,this.content,i):s.textContent=n.result.language,n.parentNode.insertBefore(s,n)}}),Db(r),this.$emit("postrender",this.currentIndex,this.$refs.containerRef&&(this.$refs.containerRef.$el||this.$refs.containerRef),this.recordId),r.innerHTML.replace(/-->/g,"-->")},_onImageClick(t){this.$emit("imageClick",t)},_onDownloadCardClick(t,e){this.$emit("downloadCardClick",t,e)},_onMDRendered(t){t&&(this.incremental&&t.querySelectorAll("pre code:not(.language-mermaid)").forEach((e,r,n)=>{if(Array.from(e.classList).some(a=>a.startsWith("language-"))&&!e._highlighted&&(r===n.length-1&&!this.isFinal?af(e):(af(e),e._highlighted=!0)),this.isFinal&&!e._lineNumbered&&(iv(e),e._lineNumbered=!0),!e.parentNode.querySelector(".code-language-label")&&e.result&&e.result.language){const a=document.createElement("div");a.className="code-language-label",this.codeHeaderRender?a.innerHTML=this.codeHeaderRender(e.result.language,this.content,r):a.textContent=e.result.language,e.parentNode.insertBefore(a,e)}}),this.isFinal?(this.incremental?t.querySelectorAll(".question-text img, .answer-md img").forEach(e=>{e._imgClickBound||(e.addEventListener("click",this._onImageClick),e._imgClickBound=!0)}):(t.querySelectorAll(".question-text img").forEach(e=>{e.removeEventListener("click",this._onImageClick),e.addEventListener("click",this._onImageClick)}),t.querySelectorAll(".answer-md img").forEach(e=>{e.removeEventListener("click",this._onImageClick),e.addEventListener("click",this._onImageClick)})),t.querySelectorAll(`.${this.clazzMd||"answer-md"} a`).forEach(e=>{e.setAttribute("target","_blank")}),t.querySelectorAll(".video-placeholder").forEach(e=>e.remove()),t.querySelectorAll("video").forEach(e=>{e.style.display="block"})):t.querySelectorAll(".video-placeholder").forEach(e=>{this.incremental&&e._videoPlaceholderSet||(e.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none" style="animation: video-placeholder-spin 1s linear infinite; flex-shrink: 0;"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.36131 2.32604C0.902925 3.77517 0 5.78264 0 8.00101C0 12.4193 3.58172 16.001 8 16.001C12.4183 16.001 16 12.4193 16 8.00101C16 3.58326 12.4191 0.00187492 8.00161 0.00100708L8.85183 1.6572C11.9837 2.07373 14.4 4.7552 14.4 8.00101C14.4 11.5356 11.5346 14.401 8 14.401C4.46538 14.401 1.6 11.5356 1.6 8.00101C1.6 6.40633 2.18324 4.94787 3.14803 3.82731L2.36131 2.32604Z" fill="currentColor"/></svg>视频加载中...',this.incremental&&(e._videoPlaceholderSet=!0))}),this.showTags&&t.querySelectorAll(".tags-container").forEach(e=>{this.incremental&&e._tagClickBound||(this.incremental?(e.addEventListener("click",()=>this.$emit("littleTagClick",e,this.recordId)),e._tagClickBound=!0):(e.removeEventListener("click",this._tagClickHandler),e.addEventListener("click",()=>this.$emit("littleTagClick",e,this.recordId))))}),this.showDownloadCard&&t.querySelectorAll(".download-card").forEach(e=>{this.incremental&&e._downloadClickBound||(e.addEventListener("click",r=>{const n=r.currentTarget.getAttribute("data-file-id");this._onDownloadCardClick(n,r);try{r&&r.preventDefault&&r.preventDefault()}catch{}}),this.incremental&&(e._downloadClickBound=!0))}),this.isMermaidRenderAfterOutput?this.isFinal&&setTimeout(()=>{h1.onMermaidLoaded(()=>{h1.renderAll(t)})},0):setTimeout(()=>{h1.onMermaidLoaded(()=>{h1.renderAll(t)})},0),this._mountAll(t))}}};const YO={name:"MsgContent",components:{MDRender:BP},mixins:[iO,qO,ZO],props:{showDownloadCard:{type:Boolean,default:!1},showTags:{type:Boolean,default:!1},fullFiles:{type:Array,default:()=>[]},recordId:String,content:{type:String,default:""},isFinal:{type:Boolean,default:!1},loadingMessage:{type:Boolean,default:!1},isMdExpand:{type:[Boolean,void 0],default:void 0},isReplaceLinks:{type:Boolean,default:!1},isPrintAnimate:{type:Boolean,default:!1},styleObj:Object,clazzTable:String,clazzMd:String,anchorAttributes:Object,linkify:{type:Boolean,default:!1},imgMinWidth:[Number,String],imgMaxWidth:[Number,String],printCount:Number,printCountTime:Number,hideCursorPoint:Boolean,chartDataArr:Array,codeHeaderRender:Function,replaceLinksWhitelist:Array,isMermaidRenderAfterOutput:{type:Boolean,default:!1},showWidget:{type:Boolean,default:!1},widgetList:{type:Array,default:()=>[]},audioList:{type:Array,default:()=>[]},locale:{type:String,default:"zh-CN"},incremental:{type:Boolean,default:!0},showClassifyTag:{type:Boolean,default:!1},showPlanConfirm:{type:Boolean,default:!1}},data(){return{currentText:"",renderText:""}},computed:{processOptions(){return{isReplaceLinks:this.isReplaceLinks,replaceLinksWhitelist:this.replaceLinksWhitelist,isFinal:this.isFinal,showTags:this.showTags,showDownloadCard:this.showDownloadCard,fullFiles:this.fullFiles,showWidget:this.showWidget,widgetList:this.widgetList,audioList:this.audioList,showClassifyTag:this.showClassifyTag,showPlanConfirm:this.showPlanConfirm}}},watch:{content(t){this.clearTimer(),this.currentIndex=this.currentText.length,this.currentText=this._getProcessedContent(t),this.isPrintAnimate?this._startPrint():this.renderText=this.currentText},isFinal(t){t&&this.content&&(this.clearTimer(),this.currentText=this._getProcessedContent(this.content),this.renderText=this.currentText,this.currentIndex=this.currentText.length)},isMdExpand(t){t?this.currentText=of(this.content,this.processOptions):this.currentText=of((this.content||"").substr(0,3e3),this.processOptions),this.renderText=this.currentText,this.clearTimer(),this.currentIndex=this.currentText.length},widgetList:{handler(t){this._updateWidgets(t)},deep:!0},audioList:{handler(t){this._updateAudioPlayers(t)},deep:!0}},created(){this._init()},mounted(){AN()},beforeDestroy(){this.clearTimer(),this._destroyAllEmbedded()},methods:{_getProcessedContent(t){if(!t)return"";const e=this.isMdExpand===void 0||this.isMdExpand?1e6:1e4;return of(t.substr(0,e),this.processOptions)},_startPrint(){this.startCurrentTimer({printCount:this.printCount||1,printCountTime:this.printCountTime||16,hideCursorPoint:this.hideCursorPoint,isFinal:this.isFinal})},_init(){const t=this._getProcessedContent(this.content||"");this.currentText=t,!this.isPrintAnimate||this.isFinal?(this.renderText=t,this.currentIndex=t.length,this.clearTimer()):this._startPrint()}}};var XO=function(){var e=this,r=e._self._c;return r("MDRender",{ref:"containerRef",class:e.clazzMd||"answer-md",style:e.styleObj,attrs:{highlight:!0,"table-class":e.clazzTable||(e.isFinal?"table-style":"table"),source:e.renderText,"anchor-attributes":e.anchorAttributes||{target:"_blank"},linkify:e.linkify,incremental:e.incremental,postrender:e._postrender},on:{rendered:e._onMDRendered}})},jO=[],KO=pr(YO,XO,jO,!1,null,null,null,null);const Jb=KO.exports,Y4=An(Jb);const QO={name:"MsgThought",components:{VIcon:r2},props:{titleRender:{type:[Object,Function],default:null},isMobile:Boolean,content:String,title:String,titleIcon:String,nodeName:String,status:String,elapsed:{type:Number,default:0},detailVisible:{type:Boolean,default:!0}},data(){return{THOUGHT_STATUS:bP,innerDetailVisible:this.detailVisible,renderedContent:"",xssHandler:new Un.FilterXSS(_P)}},computed:{elapsedSeconds(){return this.elapsed?(this.elapsed/1e3).toFixed(1):0}},watch:{content:{immediate:!0,handler(t){const e=(t||"").replace(/^\n+/,"").replace(/\n/g,"<br>");this.renderedContent=this.xssHandler.process(e)}},detailVisible(t){this.innerDetailVisible=t}},methods:{onTitleClick(){const t=!this.innerDetailVisible;this.innerDetailVisible=t,this.$emit("update:detailVisible",t)}}};var JO=function(){var e=this,r=e._self._c;return r("div",{staticClass:"thought-clps-content"},[e.titleRender?r(e.titleRender,{tag:"component"}):e._e(),e.titleRender?e._e():r("div",{staticClass:"thought-title",on:{click:e.onTitleClick}},[r("div",{staticClass:"thought-title-container"},[r("img",{staticClass:"thought-title-icon",attrs:{src:e.titleIcon}}),r("span",{staticClass:"thought-title-name"},[e._v(" "+e._s(e.title)+" "),e.nodeName?r("span",{staticClass:"thought-clps-modellabel"},[e._v(" -"+e._s(e.nodeName)+" ")]):e._e()]),e.status===e.THOUGHT_STATUS.failed?r("v-icon",{style:{color:"#FF8345"},attrs:{name:"basic_warning_line",size:"16"}}):e._e(),e.status===e.THOUGHT_STATUS.success?r("v-icon",{style:{color:"#0FB87F"},attrs:{name:"basic_finish_line",size:"16"}}):e._e(),e.status===e.THOUGHT_STATUS.stop?r("v-icon",{style:{color:"rgba(1,11,50,0.41)"},attrs:{name:"basic_stop_line",size:"16"}}):e._e()],1),r("div",{staticClass:"thought-title-container thought-title-elapsed"},[r("span",[e._v(e._s(e.elapsedSeconds)+"s")]),r("v-icon",{staticClass:"thought__header__icon",attrs:{name:"arrow_down_small_line",rotate:e.innerDetailVisible?180:0,size:"12"}})],1)]),e.innerDetailVisible?r("div",{staticClass:"thought-detail"},[r("div",{staticClass:"question-text",class:{"question-text-mobile":e.isMobile},domProps:{innerHTML:e._s(e.renderedContent)}})]):e._e()],1)},eB=[],tB=pr(QO,JO,eB,!1,null,"60c16159",null,null);const rB=tB.exports,X4=An(rB);/*! *****************************************************************************
|
|
50
|
+
Copyright (c) Microsoft Corporation.
|
|
51
|
+
|
|
52
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
53
|
+
purpose with or without fee is hereby granted.
|
|
54
|
+
|
|
55
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
56
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
57
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
58
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
59
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
60
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
61
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
62
|
+
***************************************************************************** */var Hh=function(t,e){return Hh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Hh(t,e)};function F(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");Hh(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var nB=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),iB=function(){function t(){this.browser=new nB,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<"u"}return t}(),fi=new iB;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(fi.wxa=!0,fi.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?fi.worker=!0:!fi.hasGlobalWindow||"Deno"in window?(fi.node=!0,fi.svgSupported=!0):aB(navigator.userAgent,fi);function aB(t,e){var r=e.browser,n=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),e.svgSupported=typeof SVGRect<"u",e.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,e.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),e.domSupported=typeof document<"u";var s=document.documentElement.style;e.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||r.ie&&+r.version>=9}const De=fi;var j4=12,ex="sans-serif",Bi=j4+"px "+ex,oB=20,sB=100,uB="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function lB(t){var e={};if(typeof JSON>"u")return e;for(var r=0;r<t.length;r++){var n=String.fromCharCode(r+32),i=(t.charCodeAt(r)-oB)/sB;e[n]=i}return e}var cB=lB(uB),Fi={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var t,e;return function(r,n){if(!t){var i=Fi.createCanvas();t=i&&i.getContext("2d")}if(t)return e!==n&&(e=t.font=n||Bi),t.measureText(r);r=r||"",n=n||Bi;var a=/((?:\d+)?\.?\d*)px/.exec(n),o=a&&+a[1]||j4,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var u=0;u<r.length;u++){var l=cB[r[u]];s+=l==null?o:l*o}return{width:s}}}(),loadImage:function(t,e,r){var n=new Image;return n.onload=e,n.onerror=r,n.src=t,n}},tx=bn(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),rx=bn(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),Es=Object.prototype.toString,a2=Array.prototype,fB=a2.forEach,hB=a2.filter,K4=a2.slice,dB=a2.map,uv=(function(){}).constructor,_1=uv?uv.prototype:null,Q4="__proto__",pB=2311;function nx(){return pB++}function Zr(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];typeof console<"u"&&console.error.apply(console,t)}function oe(t){if(t==null||typeof t!="object")return t;var e=t,r=Es.call(t);if(r==="[object Array]"){if(!$u(t)){e=[];for(var n=0,i=t.length;n<i;n++)e[n]=oe(t[n])}}else if(rx[r]){if(!$u(t)){var a=t.constructor;if(a.from)e=a.from(t);else{e=new a(t.length);for(var n=0,i=t.length;n<i;n++)e[n]=t[n]}}}else if(!tx[r]&&!$u(t)&&!eo(t)){e={};for(var o in t)t.hasOwnProperty(o)&&o!==Q4&&(e[o]=oe(t[o]))}return e}function ge(t,e,r){if(!ne(e)||!ne(t))return r?oe(e):t;for(var n in e)if(e.hasOwnProperty(n)&&n!==Q4){var i=t[n],a=e[n];ne(a)&&ne(i)&&!G(a)&&!G(i)&&!eo(a)&&!eo(i)&&!lv(a)&&!lv(i)&&!$u(a)&&!$u(i)?ge(i,a,r):(r||!(n in t))&&(t[n]=oe(e[n]))}return t}function J4(t,e){for(var r=t[0],n=1,i=t.length;n<i;n++)r=ge(r,t[n],e);return r}function $(t,e){if(Object.assign)Object.assign(t,e);else for(var r in e)e.hasOwnProperty(r)&&r!==Q4&&(t[r]=e[r]);return t}function ae(t,e,r){for(var n=Se(e),i=0,a=n.length;i<a;i++){var o=n[i];(r?e[o]!=null:t[o]==null)&&(t[o]=e[o])}return t}function _e(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r}return-1}function vB(t,e){var r=t.prototype;function n(){}n.prototype=e.prototype,t.prototype=new n;for(var i in r)r.hasOwnProperty(i)&&(t.prototype[i]=r[i]);t.prototype.constructor=t,t.superClass=e}function ft(t,e,r){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(e),i=0;i<n.length;i++){var a=n[i];a!=="constructor"&&(r?e[a]!=null:t[a]==null)&&(t[a]=e[a])}else ae(t,e,r)}function zt(t){return!t||typeof t=="string"?!1:typeof t.length=="number"}function E(t,e,r){if(t&&e)if(t.forEach&&t.forEach===fB)t.forEach(e,r);else if(t.length===+t.length)for(var n=0,i=t.length;n<i;n++)e.call(r,t[n],n,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(r,t[a],a,t)}function H(t,e,r){if(!t)return[];if(!e)return e5(t);if(t.map&&t.map===dB)return t.map(e,r);for(var n=[],i=0,a=t.length;i<a;i++)n.push(e.call(r,t[i],i,t));return n}function bn(t,e,r,n){if(t&&e){for(var i=0,a=t.length;i<a;i++)r=e.call(n,r,t[i],i,t);return r}}function Ne(t,e,r){if(!t)return[];if(!e)return e5(t);if(t.filter&&t.filter===hB)return t.filter(e,r);for(var n=[],i=0,a=t.length;i<a;i++)e.call(r,t[i],i,t)&&n.push(t[i]);return n}function gB(t,e,r){if(t&&e){for(var n=0,i=t.length;n<i;n++)if(e.call(r,t[n],n,t))return t[n]}}function Se(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var r in t)t.hasOwnProperty(r)&&e.push(r);return e}function mB(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return t.apply(e,r.concat(K4.call(arguments)))}}var X=_1&&te(_1.bind)?_1.call.bind(_1.bind):mB;function ve(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return function(){return t.apply(this,e.concat(K4.call(arguments)))}}function G(t){return Array.isArray?Array.isArray(t):Es.call(t)==="[object Array]"}function te(t){return typeof t=="function"}function Z(t){return typeof t=="string"}function j0(t){return Es.call(t)==="[object String]"}function Me(t){return typeof t=="number"}function ne(t){var e=typeof t;return e==="function"||!!t&&e==="object"}function lv(t){return!!tx[Es.call(t)]}function Zt(t){return!!rx[Es.call(t)]}function eo(t){return typeof t=="object"&&typeof t.nodeType=="number"&&typeof t.ownerDocument=="object"}function o2(t){return t.colorStops!=null}function yB(t){return t.image!=null}function ix(t){return Es.call(t)==="[object RegExp]"}function to(t){return t!==t}function ut(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=0,n=t.length;r<n;r++)if(t[r]!=null)return t[r]}function fe(t,e){return t??e}function Lr(t,e,r){return t??e??r}function e5(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];return K4.apply(t,e)}function t5(t){if(typeof t=="number")return[t,t,t,t];var e=t.length;return e===2?[t[0],t[1],t[0],t[1]]:e===3?[t[0],t[1],t[2],t[1]]:t}function ie(t,e){if(!t)throw new Error(e)}function Wr(t){return t==null?null:typeof t.trim=="function"?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var ax="__ec_primitive__";function K0(t){t[ax]=!0}function $u(t){return t[ax]}var _B=function(){function t(){this.data={}}return t.prototype.delete=function(e){var r=this.has(e);return r&&delete this.data[e],r},t.prototype.has=function(e){return this.data.hasOwnProperty(e)},t.prototype.get=function(e){return this.data[e]},t.prototype.set=function(e,r){return this.data[e]=r,this},t.prototype.keys=function(){return Se(this.data)},t.prototype.forEach=function(e){var r=this.data;for(var n in r)r.hasOwnProperty(n)&&e(r[n],n)},t}(),ox=typeof Map=="function";function bB(){return ox?new Map:new _B}var xB=function(){function t(e){var r=G(e);this.data=bB();var n=this;e instanceof t?e.each(i):e&&E(e,i);function i(a,o){r?n.set(a,o):n.set(o,a)}}return t.prototype.hasKey=function(e){return this.data.has(e)},t.prototype.get=function(e){return this.data.get(e)},t.prototype.set=function(e,r){return this.data.set(e,r),r},t.prototype.each=function(e,r){this.data.forEach(function(n,i){e.call(r,n,i)})},t.prototype.keys=function(){var e=this.data.keys();return ox?Array.from(e):e},t.prototype.removeKey=function(e){this.data.delete(e)},t}();function J(t){return new xB(t)}function ll(t,e){for(var r=new t.constructor(t.length+e.length),n=0;n<t.length;n++)r[n]=t[n];for(var i=t.length,n=0;n<e.length;n++)r[n+i]=e[n];return r}function s2(t,e){var r;if(Object.create)r=Object.create(t);else{var n=function(){};n.prototype=t,r=new n}return e&&$(r,e),r}function sx(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function j(t,e){return t.hasOwnProperty(e)}function at(){}var w0=180/Math.PI;function fo(t,e){return t==null&&(t=0),e==null&&(e=0),[t,e]}function Gt(t,e){return t[0]=e[0],t[1]=e[1],t}function Fn(t){return[t[0],t[1]]}function wB(t,e,r){return t[0]=e,t[1]=r,t}function cv(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t}function Uh(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t}function Na(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t}function Wh(t){return Math.sqrt(SB(t))}function SB(t){return t[0]*t[0]+t[1]*t[1]}function S0(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t}function ks(t,e){var r=Wh(e);return r===0?(t[0]=0,t[1]=0):(t[0]=e[0]/r,t[1]=e[1]/r),t}function qh(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var Si=qh;function CB(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])}var Ua=CB;function C0(t,e,r,n){return t[0]=e[0]+n*(r[0]-e[0]),t[1]=e[1]+n*(r[1]-e[1]),t}function Tt(t,e,r){var n=e[0],i=e[1];return t[0]=r[0]*n+r[2]*i+r[4],t[1]=r[1]*n+r[3]*i+r[5],t}function Ci(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t}function Ai(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t}var Ao=function(){function t(e,r){this.target=e,this.topTarget=r&&r.topTarget}return t}(),AB=function(){function t(e){this.handler=e,e.on("mousedown",this._dragStart,this),e.on("mousemove",this._drag,this),e.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(e){for(var r=e.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=e.offsetX,this._y=e.offsetY,this.handler.dispatchToElement(new Ao(r,e),"dragstart",e.event))},t.prototype._drag=function(e){var r=this._draggingTarget;if(r){var n=e.offsetX,i=e.offsetY,a=n-this._x,o=i-this._y;this._x=n,this._y=i,r.drift(a,o,e),this.handler.dispatchToElement(new Ao(r,e),"drag",e.event);var s=this.handler.findHover(n,i,r).target,u=this._dropTarget;this._dropTarget=s,r!==s&&(u&&s!==u&&this.handler.dispatchToElement(new Ao(u,e),"dragleave",e.event),s&&s!==u&&this.handler.dispatchToElement(new Ao(s,e),"dragenter",e.event))}},t.prototype._dragEnd=function(e){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new Ao(r,e),"dragend",e.event),this._dropTarget&&this.handler.dispatchToElement(new Ao(this._dropTarget,e),"drop",e.event),this._draggingTarget=null,this._dropTarget=null},t}();const TB=AB;var DB=function(){function t(e){e&&(this._$eventProcessor=e)}return t.prototype.on=function(e,r,n,i){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof r=="function"&&(i=n,n=r,r=null),!n||!e)return this;var o=this._$eventProcessor;r!=null&&o&&o.normalizeQuery&&(r=o.normalizeQuery(r)),a[e]||(a[e]=[]);for(var s=0;s<a[e].length;s++)if(a[e][s].h===n)return this;var u={h:n,query:r,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=a[e].length-1,c=a[e][l];return c&&c.callAtLast?a[e].splice(l,0,u):a[e].push(u),this},t.prototype.isSilent=function(e){var r=this._$handlers;return!r||!r[e]||!r[e].length},t.prototype.off=function(e,r){var n=this._$handlers;if(!n)return this;if(!e)return this._$handlers={},this;if(r){if(n[e]){for(var i=[],a=0,o=n[e].length;a<o;a++)n[e][a].h!==r&&i.push(n[e][a]);n[e]=i}n[e]&&n[e].length===0&&delete n[e]}else delete n[e];return this},t.prototype.trigger=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[e],a=this._$eventProcessor;if(i)for(var o=r.length,s=i.length,u=0;u<s;u++){var l=i[u];if(!(a&&a.filter&&l.query!=null&&!a.filter(e,l.query)))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,r[0]);break;case 2:l.h.call(l.ctx,r[0],r[1]);break;default:l.h.apply(l.ctx,r);break}}return a&&a.afterTrigger&&a.afterTrigger(e),this},t.prototype.triggerWithContext=function(e){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[e],a=this._$eventProcessor;if(i)for(var o=r.length,s=r[o-1],u=i.length,l=0;l<u;l++){var c=i[l];if(!(a&&a.filter&&c.query!=null&&!a.filter(e,c.query)))switch(o){case 0:c.h.call(s);break;case 1:c.h.call(s,r[0]);break;case 2:c.h.call(s,r[0],r[1]);break;default:c.h.apply(s,r.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(e),this},t}();const Or=DB;var EB=Math.log(2);function Zh(t,e,r,n,i,a){var o=n+"-"+i,s=t.length;if(a.hasOwnProperty(o))return a[o];if(e===1){var u=Math.round(Math.log((1<<s)-1&~i)/EB);return t[r][u]}for(var l=n|1<<r,c=r+1;n&1<<c;)c++;for(var f=0,h=0,d=0;h<s;h++){var p=1<<h;p&i||(f+=(d%2?-1:1)*t[r][h]*Zh(t,e-1,c,l,i|p,a),d++)}return a[o]=f,f}function fv(t,e){var r=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],n={},i=Zh(r,8,0,0,0,n);if(i!==0){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)a[s]==null&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*Zh(r,7,o===0?1:0,1<<o,1<<s,n)/i*e[o];return function(u,l,c){var f=l*a[6]+c*a[7]+1;u[0]=(l*a[0]+c*a[1]+a[2])/f,u[1]=(l*a[3]+c*a[4]+a[5])/f}}}var hv="___zrEVENTSAVED",uf=[];function kB(t,e,r,n,i){return Yh(uf,e,n,i,!0)&&Yh(t,r,uf[0],uf[1])}function Yh(t,e,r,n,i){if(e.getBoundingClientRect&&De.domSupported&&!ux(e)){var a=e[hv]||(e[hv]={}),o=MB(e,a),s=LB(o,a,i);if(s)return s(t,r,n),!0}return!1}function MB(t,e){var r=e.markers;if(r)return r;r=e.markers=[];for(var n=["left","right"],i=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,u=a%2,l=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[u]+":0",i[l]+":0",n[1-u]+":auto",i[1-l]+":auto",""].join("!important;"),t.appendChild(o),r.push(o)}return r}function LB(t,e,r){for(var n=r?"invTrans":"trans",i=e[n],a=e.srcCoords,o=[],s=[],u=!0,l=0;l<4;l++){var c=t[l].getBoundingClientRect(),f=2*l,h=c.left,d=c.top;o.push(h,d),u=u&&a&&h===a[f]&&d===a[f+1],s.push(t[l].offsetLeft,t[l].offsetTop)}return u&&i?i:(e.srcCoords=o,e[n]=r?fv(s,o):fv(o,s))}function ux(t){return t.nodeName.toUpperCase()==="CANVAS"}var IB=/([&<>"'])/g,PB={"&":"&","<":"<",">":">",'"':""","'":"'"};function Bt(t){return t==null?"":(t+"").replace(IB,function(e,r){return PB[r]})}var RB=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,lf=[],NB=De.browser.firefox&&+De.browser.version.split(".")[0]<39;function Xh(t,e,r,n){return r=r||{},n?dv(t,e,r):NB&&e.layerX!=null&&e.layerX!==e.offsetX?(r.zrX=e.layerX,r.zrY=e.layerY):e.offsetX!=null?(r.zrX=e.offsetX,r.zrY=e.offsetY):dv(t,e,r),r}function dv(t,e,r){if(De.domSupported&&t.getBoundingClientRect){var n=e.clientX,i=e.clientY;if(ux(t)){var a=t.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(Yh(lf,t,n,i)){r.zrX=lf[0],r.zrY=lf[1];return}}r.zrX=r.zrY=0}function r5(t){return t||window.event}function wr(t,e,r){if(e=r5(e),e.zrX!=null)return e;var n=e.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?e.targetTouches[0]:e.changedTouches[0];o&&Xh(t,o,e,r)}else{Xh(t,e,e,r);var a=OB(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return e.which==null&&s!==void 0&&RB.test(e.type)&&(e.which=s&1?1:s&2?3:s&4?2:0),e}function OB(t){var e=t.wheelDelta;if(e)return e;var r=t.deltaX,n=t.deltaY;if(r==null||n==null)return e;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function jh(t,e,r,n){t.addEventListener(e,r,n)}function BB(t,e,r,n){t.removeEventListener(e,r,n)}var Wn=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function pv(t){return t.which===2||t.which===3}var FB=function(){function t(){this._track=[]}return t.prototype.recognize=function(e,r,n){return this._doTrack(e,r,n),this._recognize(e)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(e,r,n){var i=e.touches;if(i){for(var a={points:[],touches:[],target:r,event:e},o=0,s=i.length;o<s;o++){var u=i[o],l=Xh(n,u,{});a.points.push([l.zrX,l.zrY]),a.touches.push(u)}this._track.push(a)}},t.prototype._recognize=function(e){for(var r in cf)if(cf.hasOwnProperty(r)){var n=cf[r](this._track,e);if(n)return n}},t}();function vv(t){var e=t[1][0]-t[0][0],r=t[1][1]-t[0][1];return Math.sqrt(e*e+r*r)}function zB(t){return[(t[0][0]+t[1][0])/2,(t[0][1]+t[1][1])/2]}var cf={pinch:function(t,e){var r=t.length;if(r){var n=(t[r-1]||{}).points,i=(t[r-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var a=vv(n)/vv(i);!isFinite(a)&&(a=1),e.pinchScale=a;var o=zB(n);return e.pinchX=o[0],e.pinchY=o[1],{type:"pinch",target:t[0].target,event:e}}}}};function cr(){return[1,0,0,1,0,0]}function u2(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function n5(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function zn(t,e,r){var n=e[0]*r[0]+e[2]*r[1],i=e[1]*r[0]+e[3]*r[1],a=e[0]*r[2]+e[2]*r[3],o=e[1]*r[2]+e[3]*r[3],s=e[0]*r[4]+e[2]*r[5]+e[4],u=e[1]*r[4]+e[3]*r[5]+e[5];return t[0]=n,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=u,t}function xn(t,e,r){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+r[0],t[5]=e[5]+r[1],t}function ho(t,e,r,n){n===void 0&&(n=[0,0]);var i=e[0],a=e[2],o=e[4],s=e[1],u=e[3],l=e[5],c=Math.sin(r),f=Math.cos(r);return t[0]=i*f+s*c,t[1]=-i*c+s*f,t[2]=a*f+u*c,t[3]=-a*c+f*u,t[4]=f*(o-n[0])+c*(l-n[1])+n[0],t[5]=f*(l-n[1])-c*(o-n[0])+n[1],t}function i5(t,e,r){var n=r[0],i=r[1];return t[0]=e[0]*n,t[1]=e[1]*i,t[2]=e[2]*n,t[3]=e[3]*i,t[4]=e[4]*n,t[5]=e[5]*i,t}function Ms(t,e){var r=e[0],n=e[2],i=e[4],a=e[1],o=e[3],s=e[5],u=r*o-a*n;return u?(u=1/u,t[0]=o*u,t[1]=-a*u,t[2]=-n*u,t[3]=r*u,t[4]=(n*s-o*i)*u,t[5]=(a*i-r*s)*u,t):null}function VB(t){var e=cr();return n5(e,t),e}var $B=function(){function t(e,r){this.x=e||0,this.y=r||0}return t.prototype.copy=function(e){return this.x=e.x,this.y=e.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(e,r){return this.x=e,this.y=r,this},t.prototype.equal=function(e){return e.x===this.x&&e.y===this.y},t.prototype.add=function(e){return this.x+=e.x,this.y+=e.y,this},t.prototype.scale=function(e){this.x*=e,this.y*=e},t.prototype.scaleAndAdd=function(e,r){this.x+=e.x*r,this.y+=e.y*r},t.prototype.sub=function(e){return this.x-=e.x,this.y-=e.y,this},t.prototype.dot=function(e){return this.x*e.x+this.y*e.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var e=this.len();return this.x/=e,this.y/=e,this},t.prototype.distance=function(e){var r=this.x-e.x,n=this.y-e.y;return Math.sqrt(r*r+n*n)},t.prototype.distanceSquare=function(e){var r=this.x-e.x,n=this.y-e.y;return r*r+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(e){if(e){var r=this.x,n=this.y;return this.x=e[0]*r+e[2]*n+e[4],this.y=e[1]*r+e[3]*n+e[5],this}},t.prototype.toArray=function(e){return e[0]=this.x,e[1]=this.y,e},t.prototype.fromArray=function(e){this.x=e[0],this.y=e[1]},t.set=function(e,r,n){e.x=r,e.y=n},t.copy=function(e,r){e.x=r.x,e.y=r.y},t.len=function(e){return Math.sqrt(e.x*e.x+e.y*e.y)},t.lenSquare=function(e){return e.x*e.x+e.y*e.y},t.dot=function(e,r){return e.x*r.x+e.y*r.y},t.add=function(e,r,n){e.x=r.x+n.x,e.y=r.y+n.y},t.sub=function(e,r,n){e.x=r.x-n.x,e.y=r.y-n.y},t.scale=function(e,r,n){e.x=r.x*n,e.y=r.y*n},t.scaleAndAdd=function(e,r,n,i){e.x=r.x+n.x*i,e.y=r.y+n.y*i},t.lerp=function(e,r,n,i){var a=1-i;e.x=a*r.x+i*n.x,e.y=a*r.y+i*n.y},t}();const me=$B;var b1=Math.min,x1=Math.max,Ji=new me,ea=new me,ta=new me,ra=new me,Ks=new me,Qs=new me,GB=function(){function t(e,r,n,i){n<0&&(e=e+n,n=-n),i<0&&(r=r+i,i=-i),this.x=e,this.y=r,this.width=n,this.height=i}return t.prototype.union=function(e){var r=b1(e.x,this.x),n=b1(e.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=x1(e.x+e.width,this.x+this.width)-r:this.width=e.width,isFinite(this.y)&&isFinite(this.height)?this.height=x1(e.y+e.height,this.y+this.height)-n:this.height=e.height,this.x=r,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(e){var r=this,n=e.width/r.width,i=e.height/r.height,a=cr();return xn(a,a,[-r.x,-r.y]),i5(a,a,[n,i]),xn(a,a,[e.x,e.y]),a},t.prototype.intersect=function(e,r){if(!e)return!1;e instanceof t||(e=t.create(e));var n=this,i=n.x,a=n.x+n.width,o=n.y,s=n.y+n.height,u=e.x,l=e.x+e.width,c=e.y,f=e.y+e.height,h=!(a<u||l<i||s<c||f<o);if(r){var d=1/0,p=0,v=Math.abs(a-u),g=Math.abs(l-i),m=Math.abs(s-c),y=Math.abs(f-o),_=Math.min(v,g),b=Math.min(m,y);a<u||l<i?_>p&&(p=_,v<g?me.set(Qs,-v,0):me.set(Qs,g,0)):_<d&&(d=_,v<g?me.set(Ks,v,0):me.set(Ks,-g,0)),s<c||f<o?b>p&&(p=b,m<y?me.set(Qs,0,-m):me.set(Qs,0,y)):_<d&&(d=_,m<y?me.set(Ks,0,m):me.set(Ks,0,-y))}return r&&me.copy(r,h?Ks:Qs),h},t.prototype.contain=function(e,r){var n=this;return e>=n.x&&e<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return this.width===0||this.height===0},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(e,r){e.x=r.x,e.y=r.y,e.width=r.width,e.height=r.height},t.applyTransform=function(e,r,n){if(!n){e!==r&&t.copy(e,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];e.x=r.x*i+o,e.y=r.y*a+s,e.width=r.width*i,e.height=r.height*a,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}Ji.x=ta.x=r.x,Ji.y=ra.y=r.y,ea.x=ra.x=r.x+r.width,ea.y=ta.y=r.y+r.height,Ji.transform(n),ra.transform(n),ea.transform(n),ta.transform(n),e.x=b1(Ji.x,ea.x,ta.x,ra.x),e.y=b1(Ji.y,ea.y,ta.y,ra.y);var u=x1(Ji.x,ea.x,ta.x,ra.x),l=x1(Ji.y,ea.y,ta.y,ra.y);e.width=u-e.x,e.height=l-e.y},t}();const ye=GB;var lx="silent";function HB(t,e,r){return{type:t,event:r,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:UB}}function UB(){Wn(this.event)}var WB=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.handler=null,r}return e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(Or),Js=function(){function t(e,r){this.x=e,this.y=r}return t}(),qB=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],ff=new ye(0,0,0,0),cx=function(t){F(e,t);function e(r,n,i,a,o){var s=t.call(this)||this;return s._hovered=new Js(0,0),s.storage=r,s.painter=n,s.painterRoot=a,s._pointerSize=o,i=i||new WB,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new TB(s),s}return e.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(E(qB,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},e.prototype.mousemove=function(r){var n=r.zrX,i=r.zrY,a=fx(this,n,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var u=this._hovered=a?new Js(n,i):this.findHover(n,i),l=u.target,c=this.proxy;c.setCursor&&c.setCursor(l?l.cursor:"default"),s&&l!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(u,"mousemove",r),l&&l!==s&&this.dispatchToElement(u,"mouseover",r)},e.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},e.prototype.resize=function(){this._hovered=new Js(0,0)},e.prototype.dispatch=function(r,n){var i=this[r];i&&i.call(this,n)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},e.prototype.dispatchToElement=function(r,n,i){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+n,s=HB(n,r,i);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(n,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(u){typeof u[o]=="function"&&u[o].call(u,s),u.trigger&&u.trigger(n,s)}))}},e.prototype.findHover=function(r,n,i){var a=this.storage.getDisplayList(),o=new Js(r,n);if(gv(a,o,r,n,i),this._pointerSize&&!o.target){for(var s=[],u=this._pointerSize,l=u/2,c=new ye(r-l,n-l,u,u),f=a.length-1;f>=0;f--){var h=a[f];h!==i&&!h.ignore&&!h.ignoreCoarsePointer&&(!h.parent||!h.parent.ignoreCoarsePointer)&&(ff.copy(h.getBoundingRect()),h.transform&&ff.applyTransform(h.transform),ff.intersect(c)&&s.push(h))}if(s.length)for(var d=4,p=Math.PI/12,v=Math.PI*2,g=0;g<l;g+=d)for(var m=0;m<v;m+=p){var y=r+g*Math.cos(m),_=n+g*Math.sin(m);if(gv(s,o,y,_,i),o.target)return o}}return o},e.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new FB);var i=this._gestureMgr;n==="start"&&i.clear();var a=i.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if(n==="end"&&i.clear(),a){var o=a.type;r.gestureEvent=o;var s=new Js;s.target=a.target,this.dispatchToElement(s,o,a.event)}},e}(Or);E(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){cx.prototype[t]=function(e){var r=e.zrX,n=e.zrY,i=fx(this,r,n),a,o;if((t!=="mouseup"||!i)&&(a=this.findHover(r,n),o=a.target),t==="mousedown")this._downEl=o,this._downPoint=[e.zrX,e.zrY],this._upEl=o;else if(t==="mouseup")this._upEl=o;else if(t==="click"){if(this._downEl!==this._upEl||!this._downPoint||Si(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,t,e)}});function ZB(t,e,r){if(t[t.rectHover?"rectContain":"contain"](e,r)){for(var n=t,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(e,r))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s||n.parent}return i?lx:!0}return!1}function gv(t,e,r,n,i){for(var a=t.length-1;a>=0;a--){var o=t[a],s=void 0;if(o!==i&&!o.ignore&&(s=ZB(o,r,n))&&(!e.topTarget&&(e.topTarget=o),s!==lx)){e.target=o;break}}}function fx(t,e,r){var n=t.painter;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}const YB=cx;var hx=32,eu=7;function XB(t){for(var e=0;t>=hx;)e|=t&1,t>>=1;return t+e}function mv(t,e,r,n){var i=e+1;if(i===r)return 1;if(n(t[i++],t[e])<0){for(;i<r&&n(t[i],t[i-1])<0;)i++;jB(t,e,i)}else for(;i<r&&n(t[i],t[i-1])>=0;)i++;return i-e}function jB(t,e,r){for(r--;e<r;){var n=t[e];t[e++]=t[r],t[r--]=n}}function yv(t,e,r,n,i){for(n===e&&n++;n<r;n++){for(var a=t[n],o=e,s=n,u;o<s;)u=o+s>>>1,i(a,t[u])<0?s=u:o=u+1;var l=n-o;switch(l){case 3:t[o+3]=t[o+2];case 2:t[o+2]=t[o+1];case 1:t[o+1]=t[o];break;default:for(;l>0;)t[o+l]=t[o+l-1],l--}t[o]=a}}function hf(t,e,r,n,i,a){var o=0,s=0,u=1;if(a(t,e[r+i])>0){for(s=n-i;u<s&&a(t,e[r+i+u])>0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}else{for(s=i+1;u<s&&a(t,e[r+i-u])<=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var l=o;o=i-u,u=i-l}for(o++;o<u;){var c=o+(u-o>>>1);a(t,e[r+c])>0?o=c+1:u=c}return u}function df(t,e,r,n,i,a){var o=0,s=0,u=1;if(a(t,e[r+i])<0){for(s=i+1;u<s&&a(t,e[r+i-u])<0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var l=o;o=i-u,u=i-l}else{for(s=n-i;u<s&&a(t,e[r+i+u])>=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}for(o++;o<u;){var c=o+(u-o>>>1);a(t,e[r+c])<0?u=c:o=c+1}return u}function KB(t,e){var r=eu,n,i,a=0,o=[];n=[],i=[];function s(d,p){n[a]=d,i[a]=p,a+=1}function u(){for(;a>1;){var d=a-2;if(d>=1&&i[d-1]<=i[d]+i[d+1]||d>=2&&i[d-2]<=i[d]+i[d-1])i[d-1]<i[d+1]&&d--;else if(i[d]>i[d+1])break;c(d)}}function l(){for(;a>1;){var d=a-2;d>0&&i[d-1]<i[d+1]&&d--,c(d)}}function c(d){var p=n[d],v=i[d],g=n[d+1],m=i[d+1];i[d]=v+m,d===a-3&&(n[d+1]=n[d+2],i[d+1]=i[d+2]),a--;var y=df(t[g],t,p,v,0,e);p+=y,v-=y,v!==0&&(m=hf(t[p+v-1],t,g,m,m-1,e),m!==0&&(v<=m?f(p,v,g,m):h(p,v,g,m)))}function f(d,p,v,g){var m=0;for(m=0;m<p;m++)o[m]=t[d+m];var y=0,_=v,b=d;if(t[b++]=t[_++],--g===0){for(m=0;m<p;m++)t[b+m]=o[y+m];return}if(p===1){for(m=0;m<g;m++)t[b+m]=t[_+m];t[b+g]=o[y];return}for(var x=r,w,S,C;;){w=0,S=0,C=!1;do if(e(t[_],o[y])<0){if(t[b++]=t[_++],S++,w=0,--g===0){C=!0;break}}else if(t[b++]=o[y++],w++,S=0,--p===1){C=!0;break}while((w|S)<x);if(C)break;do{if(w=df(t[_],o,y,p,0,e),w!==0){for(m=0;m<w;m++)t[b+m]=o[y+m];if(b+=w,y+=w,p-=w,p<=1){C=!0;break}}if(t[b++]=t[_++],--g===0){C=!0;break}if(S=hf(o[y],t,_,g,0,e),S!==0){for(m=0;m<S;m++)t[b+m]=t[_+m];if(b+=S,_+=S,g-=S,g===0){C=!0;break}}if(t[b++]=o[y++],--p===1){C=!0;break}x--}while(w>=eu||S>=eu);if(C)break;x<0&&(x=0),x+=2}if(r=x,r<1&&(r=1),p===1){for(m=0;m<g;m++)t[b+m]=t[_+m];t[b+g]=o[y]}else{if(p===0)throw new Error;for(m=0;m<p;m++)t[b+m]=o[y+m]}}function h(d,p,v,g){var m=0;for(m=0;m<g;m++)o[m]=t[v+m];var y=d+p-1,_=g-1,b=v+g-1,x=0,w=0;if(t[b--]=t[y--],--p===0){for(x=b-(g-1),m=0;m<g;m++)t[x+m]=o[m];return}if(g===1){for(b-=p,y-=p,w=b+1,x=y+1,m=p-1;m>=0;m--)t[w+m]=t[x+m];t[b]=o[_];return}for(var S=r;;){var C=0,A=0,T=!1;do if(e(o[_],t[y])<0){if(t[b--]=t[y--],C++,A=0,--p===0){T=!0;break}}else if(t[b--]=o[_--],A++,C=0,--g===1){T=!0;break}while((C|A)<S);if(T)break;do{if(C=p-df(o[_],t,d,p,p-1,e),C!==0){for(b-=C,y-=C,p-=C,w=b+1,x=y+1,m=C-1;m>=0;m--)t[w+m]=t[x+m];if(p===0){T=!0;break}}if(t[b--]=o[_--],--g===1){T=!0;break}if(A=g-hf(t[y],o,0,g,g-1,e),A!==0){for(b-=A,_-=A,g-=A,w=b+1,x=_+1,m=0;m<A;m++)t[w+m]=o[x+m];if(g<=1){T=!0;break}}if(t[b--]=t[y--],--p===0){T=!0;break}S--}while(C>=eu||A>=eu);if(T)break;S<0&&(S=0),S+=2}if(r=S,r<1&&(r=1),g===1){for(b-=p,y-=p,w=b+1,x=y+1,m=p-1;m>=0;m--)t[w+m]=t[x+m];t[b]=o[_]}else{if(g===0)throw new Error;for(x=b-(g-1),m=0;m<g;m++)t[x+m]=o[m]}}return{mergeRuns:u,forceMergeRuns:l,pushRun:s}}function A0(t,e,r,n){r||(r=0),n||(n=t.length);var i=n-r;if(!(i<2)){var a=0;if(i<hx){a=mv(t,r,n,e),yv(t,r,n,r+a,e);return}var o=KB(t,e),s=XB(i);do{if(a=mv(t,r,n,e),a<s){var u=i;u>s&&(u=s),yv(t,r,r+u,r+a,e),a=u}o.pushRun(r,a),o.mergeRuns(),i-=a,r+=a}while(i!==0);o.forceMergeRuns()}}var ur=1,Tu=2,jo=4,_v=!1;function pf(){_v||(_v=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function bv(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var QB=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=bv}return t.prototype.traverse=function(e,r){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(e,r)},t.prototype.getDisplayList=function(e,r){r=r||!1;var n=this._displayList;return(e||!n.length)&&this.updateDisplayList(r),n},t.prototype.updateDisplayList=function(e){this._displayListLen=0;for(var r=this._roots,n=this._displayList,i=0,a=r.length;i<a;i++)this._updateAndAddDisplayable(r[i],null,e);n.length=this._displayListLen,A0(n,bv)},t.prototype._updateAndAddDisplayable=function(e,r,n){if(!(e.ignore&&!n)){e.beforeUpdate(),e.update(),e.afterUpdate();var i=e.getClipPath();if(e.ignoreClip)r=null;else if(i){r?r=r.slice():r=[];for(var a=i,o=e;a;)a.parent=o,a.updateTransform(),r.push(a),o=a,a=a.getClipPath()}if(e.childrenRef){for(var s=e.childrenRef(),u=0;u<s.length;u++){var l=s[u];e.__dirty&&(l.__dirty|=ur),this._updateAndAddDisplayable(l,r,n)}e.__dirty=0}else{var c=e;r&&r.length?c.__clipPaths=r:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(pf(),c.z=0),isNaN(c.z2)&&(pf(),c.z2=0),isNaN(c.zlevel)&&(pf(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=e.getDecalElement&&e.getDecalElement();f&&this._updateAndAddDisplayable(f,r,n);var h=e.getTextGuideLine();h&&this._updateAndAddDisplayable(h,r,n);var d=e.getTextContent();d&&this._updateAndAddDisplayable(d,r,n)}},t.prototype.addRoot=function(e){e.__zr&&e.__zr.storage===this||this._roots.push(e)},t.prototype.delRoot=function(e){if(e instanceof Array){for(var r=0,n=e.length;r<n;r++)this.delRoot(e[r]);return}var i=_e(this._roots,e);i>=0&&this._roots.splice(i,1)},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();const JB=QB;var dx;dx=De.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};const Kh=dx;var T0={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return .5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return t===0?0:Math.pow(1024,t-1)},exponentialOut:function(t){return t===1?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return t===0?0:t===1?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(-Math.pow(2,-10*(t-1))+2)},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,r=.1,n=.4;return t===0?0:t===1?1:(!r||r<1?(r=1,e=n/4):e=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)))},elasticOut:function(t){var e,r=.1,n=.4;return t===0?0:t===1?1:(!r||r<1?(r=1,e=n/4):e=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},elasticInOut:function(t){var e,r=.1,n=.4;return t===0?0:t===1?1:(!r||r<1?(r=1,e=n/4):e=n*Math.asin(1/r)/(2*Math.PI),(t*=2)<1?-.5*(r*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)):r*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?.5*(t*t*((e+1)*t-e)):.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-T0.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?T0.bounceIn(t*2)*.5:T0.bounceOut(t*2-1)*.5+.5}};const px=T0;var w1=Math.pow,Ii=Math.sqrt,Q0=1e-8,vx=1e-4,xv=Ii(3),S1=1/3,cn=fo(),Tr=fo(),us=fo();function Ti(t){return t>-Q0&&t<Q0}function gx(t){return t>Q0||t<-Q0}function pt(t,e,r,n,i){var a=1-i;return a*a*(a*t+3*i*e)+i*i*(i*n+3*a*r)}function wv(t,e,r,n,i){var a=1-i;return 3*(((e-t)*a+2*(r-e)*i)*a+(n-r)*i*i)}function J0(t,e,r,n,i,a){var o=n+3*(e-r)-t,s=3*(r-e*2+t),u=3*(e-t),l=t-i,c=s*s-3*o*u,f=s*u-9*o*l,h=u*u-3*s*l,d=0;if(Ti(c)&&Ti(f))if(Ti(s))a[0]=0;else{var p=-u/s;p>=0&&p<=1&&(a[d++]=p)}else{var v=f*f-4*c*h;if(Ti(v)){var g=f/c,p=-s/o+g,m=-g/2;p>=0&&p<=1&&(a[d++]=p),m>=0&&m<=1&&(a[d++]=m)}else if(v>0){var y=Ii(v),_=c*s+1.5*o*(-f+y),b=c*s+1.5*o*(-f-y);_<0?_=-w1(-_,S1):_=w1(_,S1),b<0?b=-w1(-b,S1):b=w1(b,S1);var p=(-s-(_+b))/(3*o);p>=0&&p<=1&&(a[d++]=p)}else{var x=(2*c*s-3*o*f)/(2*Ii(c*c*c)),w=Math.acos(x)/3,S=Ii(c),C=Math.cos(w),p=(-s-2*S*C)/(3*o),m=(-s+S*(C+xv*Math.sin(w)))/(3*o),A=(-s+S*(C-xv*Math.sin(w)))/(3*o);p>=0&&p<=1&&(a[d++]=p),m>=0&&m<=1&&(a[d++]=m),A>=0&&A<=1&&(a[d++]=A)}}return d}function mx(t,e,r,n,i){var a=6*r-12*e+6*t,o=9*e+3*n-3*t-9*r,s=3*e-3*t,u=0;if(Ti(o)){if(gx(a)){var l=-s/a;l>=0&&l<=1&&(i[u++]=l)}}else{var c=a*a-4*o*s;if(Ti(c))i[0]=-a/(2*o);else if(c>0){var f=Ii(c),l=(-a+f)/(2*o),h=(-a-f)/(2*o);l>=0&&l<=1&&(i[u++]=l),h>=0&&h<=1&&(i[u++]=h)}}return u}function zi(t,e,r,n,i,a){var o=(e-t)*i+t,s=(r-e)*i+e,u=(n-r)*i+r,l=(s-o)*i+o,c=(u-s)*i+s,f=(c-l)*i+l;a[0]=t,a[1]=o,a[2]=l,a[3]=f,a[4]=f,a[5]=c,a[6]=u,a[7]=n}function yx(t,e,r,n,i,a,o,s,u,l,c){var f,h=.005,d=1/0,p,v,g,m;cn[0]=u,cn[1]=l;for(var y=0;y<1;y+=.05)Tr[0]=pt(t,r,i,o,y),Tr[1]=pt(e,n,a,s,y),g=Ua(cn,Tr),g<d&&(f=y,d=g);d=1/0;for(var _=0;_<32&&!(h<vx);_++)p=f-h,v=f+h,Tr[0]=pt(t,r,i,o,p),Tr[1]=pt(e,n,a,s,p),g=Ua(Tr,cn),p>=0&&g<d?(f=p,d=g):(us[0]=pt(t,r,i,o,v),us[1]=pt(e,n,a,s,v),m=Ua(us,cn),v<=1&&m<d?(f=v,d=m):h*=.5);return c&&(c[0]=pt(t,r,i,o,f),c[1]=pt(e,n,a,s,f)),Ii(d)}function eF(t,e,r,n,i,a,o,s,u){for(var l=t,c=e,f=0,h=1/u,d=1;d<=u;d++){var p=d*h,v=pt(t,r,i,o,p),g=pt(e,n,a,s,p),m=v-l,y=g-c;f+=Math.sqrt(m*m+y*y),l=v,c=g}return f}function _t(t,e,r,n){var i=1-n;return i*(i*t+2*n*e)+n*n*r}function Qh(t,e,r,n){return 2*((1-n)*(e-t)+n*(r-e))}function tF(t,e,r,n,i){var a=t-2*e+r,o=2*(e-t),s=t-n,u=0;if(Ti(a)){if(gx(o)){var l=-s/o;l>=0&&l<=1&&(i[u++]=l)}}else{var c=o*o-4*a*s;if(Ti(c)){var l=-o/(2*a);l>=0&&l<=1&&(i[u++]=l)}else if(c>0){var f=Ii(c),l=(-o+f)/(2*a),h=(-o-f)/(2*a);l>=0&&l<=1&&(i[u++]=l),h>=0&&h<=1&&(i[u++]=h)}}return u}function _x(t,e,r){var n=t+r-2*e;return n===0?.5:(t-e)/n}function cl(t,e,r,n,i){var a=(e-t)*n+t,o=(r-e)*n+e,s=(o-a)*n+a;i[0]=t,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=r}function bx(t,e,r,n,i,a,o,s,u){var l,c=.005,f=1/0;cn[0]=o,cn[1]=s;for(var h=0;h<1;h+=.05){Tr[0]=_t(t,r,i,h),Tr[1]=_t(e,n,a,h);var d=Ua(cn,Tr);d<f&&(l=h,f=d)}f=1/0;for(var p=0;p<32&&!(c<vx);p++){var v=l-c,g=l+c;Tr[0]=_t(t,r,i,v),Tr[1]=_t(e,n,a,v);var d=Ua(Tr,cn);if(v>=0&&d<f)l=v,f=d;else{us[0]=_t(t,r,i,g),us[1]=_t(e,n,a,g);var m=Ua(us,cn);g<=1&&m<f?(l=g,f=m):c*=.5}}return u&&(u[0]=_t(t,r,i,l),u[1]=_t(e,n,a,l)),Ii(f)}function rF(t,e,r,n,i,a,o){for(var s=t,u=e,l=0,c=1/o,f=1;f<=o;f++){var h=f*c,d=_t(t,r,i,h),p=_t(e,n,a,h),v=d-s,g=p-u;l+=Math.sqrt(v*v+g*g),s=d,u=p}return l}var nF=/cubic-bezier\(([0-9,\.e ]+)\)/;function a5(t){var e=t&&nF.exec(t);if(e){var r=e[1].split(","),n=+Wr(r[0]),i=+Wr(r[1]),a=+Wr(r[2]),o=+Wr(r[3]);if(isNaN(n+i+a+o))return;var s=[];return function(u){return u<=0?0:u>=1?1:J0(0,n,a,1,u,s)&&pt(0,i,o,1,s[0])}}}var iF=function(){function t(e){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=e.life||1e3,this._delay=e.delay||0,this.loop=e.loop||!1,this.onframe=e.onframe||at,this.ondestroy=e.ondestroy||at,this.onrestart=e.onrestart||at,e.easing&&this.setEasing(e.easing)}return t.prototype.step=function(e,r){if(this._inited||(this._startTime=e+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=e-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var u=i%n;this._startTime=e-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(e){this.easing=e,this.easingFunc=te(e)?e:px[e]||a5(e)},t}();const aF=iF;var xx=function(){function t(e){this.value=e}return t}(),oF=function(){function t(){this._len=0}return t.prototype.insert=function(e){var r=new xx(e);return this.insertEntry(r),r},t.prototype.insertEntry=function(e){this.head?(this.tail.next=e,e.prev=this.tail,e.next=null,this.tail=e):this.head=this.tail=e,this._len++},t.prototype.remove=function(e){var r=e.prev,n=e.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,e.next=e.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),sF=function(){function t(e){this._list=new oF,this._maxSize=10,this._map={},this._maxSize=e}return t.prototype.put=function(e,r){var n=this._list,i=this._map,a=null;if(i[e]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var u=n.head;n.remove(u),delete i[u.key],a=u.value,this._lastRemovedEntry=u}s?s.value=r:s=new xx(r),s.key=e,n.insertEntry(s),i[e]=s}return a},t.prototype.get=function(e){var r=this._map[e],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();const Fl=sF;var Sv={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Yr(t){return t=Math.round(t),t<0?0:t>255?255:t}function uF(t){return t=Math.round(t),t<0?0:t>360?360:t}function fl(t){return t<0?0:t>1?1:t}function vf(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?Yr(parseFloat(e)/100*255):Yr(parseInt(e,10))}function Wa(t){var e=t;return e.length&&e.charAt(e.length-1)==="%"?fl(parseFloat(e)/100):fl(parseFloat(e))}function gf(t,e,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?t+(e-t)*r*6:r*2<1?e:r*3<2?t+(e-t)*(2/3-r)*6:t}function Di(t,e,r){return t+(e-t)*r}function br(t,e,r,n,i){return t[0]=e,t[1]=r,t[2]=n,t[3]=i,t}function Jh(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var Sx=new Fl(20),C1=null;function To(t,e){C1&&Jh(C1,e),C1=Sx.put(t,C1||e.slice())}function fr(t,e){if(t){e=e||[];var r=Sx.get(t);if(r)return Jh(e,r);t=t+"";var n=t.replace(/ /g,"").toLowerCase();if(n in Sv)return Jh(e,Sv[n]),To(t,e),e;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){br(e,0,0,0,1);return}return br(e,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),To(t,e),e}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){br(e,0,0,0,1);return}return br(e,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),To(t,e),e}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var u=n.substr(0,o),l=n.substr(o+1,s-(o+1)).split(","),c=1;switch(u){case"rgba":if(l.length!==4)return l.length===3?br(e,+l[0],+l[1],+l[2],1):br(e,0,0,0,1);c=Wa(l.pop());case"rgb":if(l.length>=3)return br(e,vf(l[0]),vf(l[1]),vf(l[2]),l.length===3?c:Wa(l[3])),To(t,e),e;br(e,0,0,0,1);return;case"hsla":if(l.length!==4){br(e,0,0,0,1);return}return l[3]=Wa(l[3]),ed(l,e),To(t,e),e;case"hsl":if(l.length!==3){br(e,0,0,0,1);return}return ed(l,e),To(t,e),e;default:return}}br(e,0,0,0,1)}}function ed(t,e){var r=(parseFloat(t[0])%360+360)%360/360,n=Wa(t[1]),i=Wa(t[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return e=e||[],br(e,Yr(gf(o,a,r+1/3)*255),Yr(gf(o,a,r)*255),Yr(gf(o,a,r-1/3)*255),1),t.length===4&&(e[3]=t[3]),e}function lF(t){if(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(e,r,n),a=Math.max(e,r,n),o=a-i,s=(a+i)/2,u,l;if(o===0)u=0,l=0;else{s<.5?l=o/(a+i):l=o/(2-a-i);var c=((a-e)/6+o/2)/o,f=((a-r)/6+o/2)/o,h=((a-n)/6+o/2)/o;e===a?u=h-f:r===a?u=1/3+c-h:n===a&&(u=2/3+f-c),u<0&&(u+=1),u>1&&(u-=1)}var d=[u*360,l,s];return t[3]!=null&&d.push(t[3]),d}}function td(t,e){var r=fr(t);if(r){for(var n=0;n<3;n++)e<0?r[n]=r[n]*(1-e)|0:r[n]=(255-r[n])*e+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return Vn(r,r.length===4?"rgba":"rgb")}}function mf(t,e,r){if(!(!(e&&e.length)||!(t>=0&&t<=1))){r=r||[];var n=t*(e.length-1),i=Math.floor(n),a=Math.ceil(n),o=e[i],s=e[a],u=n-i;return r[0]=Yr(Di(o[0],s[0],u)),r[1]=Yr(Di(o[1],s[1],u)),r[2]=Yr(Di(o[2],s[2],u)),r[3]=fl(Di(o[3],s[3],u)),r}}function cF(t,e,r){if(!(!(e&&e.length)||!(t>=0&&t<=1))){var n=t*(e.length-1),i=Math.floor(n),a=Math.ceil(n),o=fr(e[i]),s=fr(e[a]),u=n-i,l=Vn([Yr(Di(o[0],s[0],u)),Yr(Di(o[1],s[1],u)),Yr(Di(o[2],s[2],u)),fl(Di(o[3],s[3],u))],"rgba");return r?{color:l,leftIndex:i,rightIndex:a,value:n}:l}}function Gu(t,e,r,n){var i=fr(t);if(t)return i=lF(i),e!=null&&(i[0]=uF(e)),r!=null&&(i[1]=Wa(r)),n!=null&&(i[2]=Wa(n)),Vn(ed(i),"rgba")}function ec(t,e){var r=fr(t);if(r&&e!=null)return r[3]=fl(e),Vn(r,"rgba")}function Vn(t,e){if(!(!t||!t.length)){var r=t[0]+","+t[1]+","+t[2];return(e==="rgba"||e==="hsva"||e==="hsla")&&(r+=","+t[3]),e+"("+r+")"}}function tc(t,e){var r=fr(t);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*e:0}var Cv=new Fl(100);function rd(t){if(Z(t)){var e=Cv.get(t);return e||(e=td(t,-.1),Cv.put(t,e)),e}else if(o2(t)){var r=$({},t);return r.colorStops=H(t.colorStops,function(n){return{offset:n.offset,color:td(n.color,-.1)}}),r}return t}var rc=Math.round;function hl(t){var e;if(!t||t==="transparent")t="none";else if(typeof t=="string"&&t.indexOf("rgba")>-1){var r=fr(t);r&&(t="rgb("+r[0]+","+r[1]+","+r[2]+")",e=r[3])}return{color:t,opacity:e??1}}var Av=1e-4;function Ei(t){return t<Av&&t>-Av}function A1(t){return rc(t*1e3)/1e3}function nd(t){return rc(t*1e4)/1e4}function fF(t){return"matrix("+A1(t[0])+","+A1(t[1])+","+A1(t[2])+","+A1(t[3])+","+nd(t[4])+","+nd(t[5])+")"}var hF={left:"start",right:"end",center:"middle",middle:"middle"};function dF(t,e,r){return r==="top"?t+=e/2:r==="bottom"&&(t-=e/2),t}function pF(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function vF(t){var e=t.style,r=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function Cx(t){return t&&!!t.image}function gF(t){return t&&!!t.svgElement}function o5(t){return Cx(t)||gF(t)}function Ax(t){return t.type==="linear"}function Tx(t){return t.type==="radial"}function Dx(t){return t&&(t.type==="linear"||t.type==="radial")}function l2(t){return"url(#"+t+")"}function Ex(t){var e=t.getGlobalScale(),r=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function kx(t){var e=t.x||0,r=t.y||0,n=(t.rotation||0)*w0,i=fe(t.scaleX,1),a=fe(t.scaleY,1),o=t.skewX||0,s=t.skewY||0,u=[];return(e||r)&&u.push("translate("+e+"px,"+r+"px)"),n&&u.push("rotate("+n+")"),(i!==1||a!==1)&&u.push("scale("+i+","+a+")"),(o||s)&&u.push("skew("+rc(o*w0)+"deg, "+rc(s*w0)+"deg)"),u.join(" ")}var mF=function(){return De.hasGlobalWindow&&te(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:typeof Buffer<"u"?function(t){return Buffer.from(t).toString("base64")}:function(t){return process.env.NODE_ENV!=="production"&&Zr("Base64 isn't natively supported in the current environment."),null}}(),id=Array.prototype.slice;function Rn(t,e,r){return(e-t)*r+t}function yf(t,e,r,n){for(var i=e.length,a=0;a<i;a++)t[a]=Rn(e[a],r[a],n);return t}function yF(t,e,r,n){for(var i=e.length,a=i&&e[0].length,o=0;o<i;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=Rn(e[o][s],r[o][s],n)}return t}function T1(t,e,r,n){for(var i=e.length,a=0;a<i;a++)t[a]=e[a]+r[a]*n;return t}function Tv(t,e,r,n){for(var i=e.length,a=i&&e[0].length,o=0;o<i;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=e[o][s]+r[o][s]*n}return t}function _F(t,e){for(var r=t.length,n=e.length,i=r>n?e:t,a=Math.min(r,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(r,n);s++)i.push({offset:o.offset,color:o.color.slice()})}function bF(t,e,r){var n=t,i=e;if(!(!n.push||!i.push)){var a=n.length,o=i.length;if(a!==o){var s=a>o;if(s)n.length=o;else for(var u=a;u<o;u++)n.push(r===1?i[u]:id.call(i[u]))}for(var l=n[0]&&n[0].length,u=0;u<n.length;u++)if(r===1)isNaN(n[u])&&(n[u]=i[u]);else for(var c=0;c<l;c++)isNaN(n[u][c])&&(n[u][c]=i[u][c])}}function Hu(t){if(zt(t)){var e=t.length;if(zt(t[0])){for(var r=[],n=0;n<e;n++)r.push(id.call(t[n]));return r}return id.call(t)}return t}function D0(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=t[3]==null?1:t[3],"rgba("+t.join(",")+")"}function xF(t){return zt(t&&t[0])?2:1}var D1=0,E0=1,Mx=2,Du=3,ad=4,od=5,Dv=6;function Ev(t){return t===ad||t===od}function E1(t){return t===E0||t===Mx}var tu=[0,0,0,0],wF=function(){function t(e){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=e}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(e,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=Dv,u=r;if(zt(r)){var l=xF(r);s=l,(l===1&&!Me(r[0])||l===2&&!Me(r[0][0]))&&(o=!0)}else if(Me(r)&&!to(r))s=D1;else if(Z(r))if(!isNaN(+r))s=D1;else{var c=fr(r);c&&(u=c,s=Du)}else if(o2(r)){var f=$({},u);f.colorStops=H(r.colorStops,function(d){return{offset:d.offset,color:fr(d.color)}}),Ax(r)?s=ad:Tx(r)&&(s=od),u=f}a===0?this.valType=s:(s!==this.valType||s===Dv)&&(o=!0),this.discrete=this.discrete||o;var h={time:e,value:u,rawValue:r,percent:0};return n&&(h.easing=n,h.easingFunc=te(n)?n:px[n]||a5(n)),i.push(h),h},t.prototype.prepare=function(e,r){var n=this.keyframes;this._needsSort&&n.sort(function(v,g){return v.time-g.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,u=E1(i),l=Ev(i),c=0;c<a;c++){var f=n[c],h=f.value,d=o.value;f.percent=f.time/e,s||(u&&c!==a-1?bF(h,d,i):l&&_F(h.colorStops,d.colorStops))}if(!s&&i!==od&&r&&this.needsAnimate()&&r.needsAnimate()&&i===r.valType&&!r._finished){this._additiveTrack=r;for(var p=n[0].value,c=0;c<a;c++)i===D1?n[c].additiveValue=n[c].value-p:i===Du?n[c].additiveValue=T1([],n[c].value,p,-1):E1(i)&&(n[c].additiveValue=i===E0?T1([],n[c].value,p,-1):Tv([],n[c].value,p,-1))}},t.prototype.step=function(e,r){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n=this._additiveTrack!=null,i=n?"additiveValue":"value",a=this.valType,o=this.keyframes,s=o.length,u=this.propName,l=a===Du,c,f=this._lastFr,h=Math.min,d,p;if(s===1)d=p=o[0];else{if(r<0)c=0;else if(r<this._lastFrP){var v=h(f+1,s-1);for(c=v;c>=0&&!(o[c].percent<=r);c--);c=h(c,s-2)}else{for(c=f;c<s&&!(o[c].percent>r);c++);c=h(c-1,s-2)}p=o[c+1],d=o[c]}if(d&&p){this._lastFr=c,this._lastFrP=r;var g=p.percent-d.percent,m=g===0?1:h((r-d.percent)/g,1);p.easingFunc&&(m=p.easingFunc(m));var y=n?this._additiveValue:l?tu:e[u];if((E1(a)||l)&&!y&&(y=this._additiveValue=[]),this.discrete)e[u]=m<1?d.rawValue:p.rawValue;else if(E1(a))a===E0?yf(y,d[i],p[i],m):yF(y,d[i],p[i],m);else if(Ev(a)){var _=d[i],b=p[i],x=a===ad;e[u]={type:x?"linear":"radial",x:Rn(_.x,b.x,m),y:Rn(_.y,b.y,m),colorStops:H(_.colorStops,function(S,C){var A=b.colorStops[C];return{offset:Rn(S.offset,A.offset,m),color:D0(yf([],S.color,A.color,m))}}),global:b.global},x?(e[u].x2=Rn(_.x2,b.x2,m),e[u].y2=Rn(_.y2,b.y2,m)):e[u].r=Rn(_.r,b.r,m)}else if(l)yf(y,d[i],p[i],m),n||(e[u]=D0(y));else{var w=Rn(d[i],p[i],m);n?this._additiveValue=w:e[u]=w}n&&this._addToTarget(e)}}},t.prototype._addToTarget=function(e){var r=this.valType,n=this.propName,i=this._additiveValue;r===D1?e[n]=e[n]+i:r===Du?(fr(e[n],tu),T1(tu,tu,i,1),e[n]=D0(tu)):r===E0?T1(e[n],e[n],i,1):r===Mx&&Tv(e[n],e[n],i,1)},t}(),s5=function(){function t(e,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=e,this._loop=r,r&&i){Zr("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(e){this._target=e},t.prototype.when=function(e,r,n){return this.whenWithKeys(e,r,Se(r),n)},t.prototype.whenWithKeys=function(e,r,n,i){for(var a=this._tracks,o=0;o<n.length;o++){var s=n[o],u=a[s];if(!u){u=a[s]=new wF(s);var l=void 0,c=this._getAdditiveTrack(s);if(c){var f=c.keyframes,h=f[f.length-1];l=h&&h.value,c.valType===Du&&l&&(l=D0(l))}else l=this._target[s];if(l==null)continue;e>0&&u.addKeyframe(0,Hu(l),i),this._trackKeys.push(s)}u.addKeyframe(e,Hu(r[s]),i)}return this._maxTime=Math.max(this._maxTime,e),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(e){return this._maxTime=e,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var e=this._doneCbs;if(e)for(var r=e.length,n=0;n<r;n++)e[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var e=this.animation,r=this._abortedCbs;if(e&&e.removeClip(this._clip),this._clip=null,r)for(var n=0;n<r.length;n++)r[n].call(this)},t.prototype._setTracksFinished=function(){for(var e=this._tracks,r=this._trackKeys,n=0;n<r.length;n++)e[r[n]].setFinished()},t.prototype._getAdditiveTrack=function(e){var r,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var a=n[i].getTrack(e);a&&(r=a)}return r},t.prototype.start=function(e){if(!(this._started>0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],s=this._tracks[o],u=this._getAdditiveTrack(o),l=s.keyframes,c=l.length;if(s.prepare(i,u),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var f=l[c-1];f&&(r._target[s.propName]=f.rawValue),s.setFinished()}else n.push(s)}if(n.length||this._force){var h=new aF({life:i,loop:this._loop,delay:this._delay||0,onframe:function(d){r._started=2;var p=r._additiveAnimators;if(p){for(var v=!1,g=0;g<p.length;g++)if(p[g]._clip){v=!0;break}v||(r._additiveAnimators=null)}for(var g=0;g<n.length;g++)n[g].step(r._target,d);var m=r._onframeCbs;if(m)for(var g=0;g<m.length;g++)m[g](r._target,d)},ondestroy:function(){r._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),e&&h.setEasing(e)}else this._doneCallback();return this}},t.prototype.stop=function(e){if(this._clip){var r=this._clip;e&&r.onframe(1),this._abortedCallback()}},t.prototype.delay=function(e){return this._delay=e,this},t.prototype.during=function(e){return e&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(e)),this},t.prototype.done=function(e){return e&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(e)),this},t.prototype.aborted=function(e){return e&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(e)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(e){return this._tracks[e]},t.prototype.getTracks=function(){var e=this;return H(this._trackKeys,function(r){return e._tracks[r]})},t.prototype.stopTracks=function(e,r){if(!e.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,a=0;a<e.length;a++){var o=n[e[a]];o&&!o.isFinished()&&(r?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,a=0;a<i.length;a++)if(!n[i[a]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},t.prototype.saveTo=function(e,r,n){if(e){r=r||this._trackKeys;for(var i=0;i<r.length;i++){var a=r[i],o=this._tracks[a];if(!(!o||o.isFinished())){var s=o.keyframes,u=s[n?0:s.length-1];u&&(e[a]=Hu(u.rawValue))}}}},t.prototype.__changeFinalValue=function(e,r){r=r||Se(e);for(var n=0;n<r.length;n++){var i=r[n],a=this._tracks[i];if(a){var o=a.keyframes;if(o.length>1){var s=o.pop();a.addKeyframe(s.time,e[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},t}();function rs(){return new Date().getTime()}var SF=function(t){F(e,t);function e(r){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return e.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},e.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},e.prototype.removeClip=function(r){if(r.animation){var n=r.prev,i=r.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},e.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},e.prototype.update=function(r){for(var n=rs()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,r||(this.trigger("frame",i),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(Kh(n),!r._paused&&r.update())}Kh(n)},e.prototype.start=function(){this._running||(this._time=rs(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=rs(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=rs()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},e.prototype.isFinished=function(){return this._head==null},e.prototype.animate=function(r,n){n=n||{},this.start();var i=new s5(r,n.loop);return this.addAnimator(i),i},e}(Or);const CF=SF;var AF=300,_f=De.domSupported,bf=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=H(t,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:t,touch:e,pointer:n}}(),kv={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Mv=!1;function sd(t){var e=t.pointerType;return e==="pen"||e==="touch"}function TF(t){t.touching=!0,t.touchTimer!=null&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout(function(){t.touching=!1,t.touchTimer=null},700)}function xf(t){t&&(t.zrByTouch=!0)}function DF(t,e){return wr(t.dom,new EF(t,e),!0)}function Lx(t,e){for(var r=e,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==e&&r===t.painterRoot);)r=r.parentNode;return n}var EF=function(){function t(e,r){this.stopPropagation=at,this.stopImmediatePropagation=at,this.preventDefault=at,this.type=r.type,this.target=this.currentTarget=e.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return t}(),Gr={mousedown:function(t){t=wr(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=wr(this.dom,t);var e=this.__mayPointerCapture;e&&(t.zrX!==e[0]||t.zrY!==e[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=wr(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=wr(this.dom,t);var e=t.toElement||t.relatedTarget;Lx(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){Mv=!0,t=wr(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){Mv||(t=wr(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=wr(this.dom,t),xf(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Gr.mousemove.call(this,t),Gr.mousedown.call(this,t)},touchmove:function(t){t=wr(this.dom,t),xf(t),this.handler.processGesture(t,"change"),Gr.mousemove.call(this,t)},touchend:function(t){t=wr(this.dom,t),xf(t),this.handler.processGesture(t,"end"),Gr.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<AF&&Gr.click.call(this,t)},pointerdown:function(t){Gr.mousedown.call(this,t)},pointermove:function(t){sd(t)||Gr.mousemove.call(this,t)},pointerup:function(t){Gr.mouseup.call(this,t)},pointerout:function(t){sd(t)||Gr.mouseout.call(this,t)}};E(["click","dblclick","contextmenu"],function(t){Gr[t]=function(e){e=wr(this.dom,e),this.trigger(t,e)}});var ud={pointermove:function(t){sd(t)||ud.mousemove.call(this,t)},pointerup:function(t){ud.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function kF(t,e){var r=e.domHandlers;De.pointerEventsSupported?E(bf.pointer,function(n){k0(e,n,function(i){r[n].call(t,i)})}):(De.touchEventsSupported&&E(bf.touch,function(n){k0(e,n,function(i){r[n].call(t,i),TF(e)})}),E(bf.mouse,function(n){k0(e,n,function(i){i=r5(i),e.touching||r[n].call(t,i)})}))}function MF(t,e){De.pointerEventsSupported?E(kv.pointer,r):De.touchEventsSupported||E(kv.mouse,r);function r(n){function i(a){a=r5(a),Lx(t,a.target)||(a=DF(t,a),e.domHandlers[n].call(t,a))}k0(e,n,i,{capture:!0})}}function k0(t,e,r,n){t.mounted[e]=r,t.listenerOpts[e]=n,jh(t.domTarget,e,r,n)}function wf(t){var e=t.mounted;for(var r in e)e.hasOwnProperty(r)&&BB(t.domTarget,r,e[r],t.listenerOpts[r]);t.mounted={}}var Lv=function(){function t(e,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=e,this.domHandlers=r}return t}(),LF=function(t){F(e,t);function e(r,n){var i=t.call(this)||this;return i.__pointerCapturing=!1,i.dom=r,i.painterRoot=n,i._localHandlerScope=new Lv(r,Gr),_f&&(i._globalHandlerScope=new Lv(document,ud)),kF(i,i._localHandlerScope),i}return e.prototype.dispose=function(){wf(this._localHandlerScope),_f&&wf(this._globalHandlerScope)},e.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},e.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,_f&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var n=this._globalHandlerScope;r?MF(this,n):wf(n)}},e}(Or);const IF=LF;var Ix=1;De.hasGlobalWindow&&(Ix=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var nc=Ix,ld=.4,cd="#333",fd="#ccc",PF="#eee",Iv=u2,Pv=5e-5;function na(t){return t>Pv||t<-Pv}var ia=[],Do=[],Sf=cr(),Cf=Math.abs,RF=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(e){this.x=e[0],this.y=e[1]},t.prototype.setScale=function(e){this.scaleX=e[0],this.scaleY=e[1]},t.prototype.setSkew=function(e){this.skewX=e[0],this.skewY=e[1]},t.prototype.setOrigin=function(e){this.originX=e[0],this.originY=e[1]},t.prototype.needLocalTransform=function(){return na(this.rotation)||na(this.x)||na(this.y)||na(this.scaleX-1)||na(this.scaleY-1)||na(this.skewX)||na(this.skewY)},t.prototype.updateTransform=function(){var e=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||e)){n&&(Iv(n),this.invTransform=null);return}n=n||cr(),r?this.getLocalTransform(n):Iv(n),e&&(r?zn(n,e,n):n5(n,e)),this.transform=n,this._resolveGlobalScaleRatio(n)},t.prototype._resolveGlobalScaleRatio=function(e){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(ia);var n=ia[0]<0?-1:1,i=ia[1]<0?-1:1,a=((ia[0]-n)*r+n)/ia[0]||0,o=((ia[1]-i)*r+i)/ia[1]||0;e[0]*=a,e[1]*=a,e[2]*=o,e[3]*=o}this.invTransform=this.invTransform||cr(),Ms(this.invTransform,e)},t.prototype.getComputedTransform=function(){for(var e=this,r=[];e;)r.push(e),e=e.parent;for(;e=r.pop();)e.updateTransform();return this.transform},t.prototype.setLocalTransform=function(e){if(e){var r=e[0]*e[0]+e[1]*e[1],n=e[2]*e[2]+e[3]*e[3],i=Math.atan2(e[1],e[0]),a=Math.PI/2+i-Math.atan2(e[3],e[2]);n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+e[4],this.y=+e[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var e=this.parent,r=this.transform;e&&e.transform&&(e.invTransform=e.invTransform||cr(),zn(Do,e.invTransform,r),r=Do);var n=this.originX,i=this.originY;(n||i)&&(Sf[4]=n,Sf[5]=i,zn(Do,r,Sf),Do[4]-=n,Do[5]-=i,r=Do),this.setLocalTransform(r)}},t.prototype.getGlobalScale=function(e){var r=this.transform;return e=e||[],r?(e[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),e[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(e[0]=-e[0]),r[3]<0&&(e[1]=-e[1]),e):(e[0]=1,e[1]=1,e)},t.prototype.transformCoordToLocal=function(e,r){var n=[e,r],i=this.invTransform;return i&&Tt(n,n,i),n},t.prototype.transformCoordToGlobal=function(e,r){var n=[e,r],i=this.transform;return i&&Tt(n,n,i),n},t.prototype.getLineScale=function(){var e=this.transform;return e&&Cf(e[0]-1)>1e-10&&Cf(e[3]-1)>1e-10?Math.sqrt(Cf(e[0]*e[3]-e[2]*e[1])):1},t.prototype.copyTransform=function(e){Px(this,e)},t.getLocalTransform=function(e,r){r=r||[];var n=e.originX||0,i=e.originY||0,a=e.scaleX,o=e.scaleY,s=e.anchorX,u=e.anchorY,l=e.rotation||0,c=e.x,f=e.y,h=e.skewX?Math.tan(e.skewX):0,d=e.skewY?Math.tan(-e.skewY):0;if(n||i||s||u){var p=n+s,v=i+u;r[4]=-p*a-h*v*o,r[5]=-v*o-d*p*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=d*a,r[2]=h*o,l&&ho(r,r,l),r[4]+=n+c,r[5]+=i+f,r},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),wn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function Px(t,e){for(var r=0;r<wn.length;r++){var n=wn[r];t[n]=e[n]}}const On=RF;var Rv={};function hr(t,e){e=e||Bi;var r=Rv[e];r||(r=Rv[e]=new Fl(500));var n=r.get(t);return n==null&&(n=Fi.measureText(t,e).width,r.put(t,n)),n}function Nv(t,e,r,n){var i=hr(t,e),a=c2(e),o=Eu(0,i,r),s=Ko(0,a,n),u=new ye(o,s,i,a);return u}function zl(t,e,r,n){var i=((t||"")+"").split(`
|
|
63
|
+
`),a=i.length;if(a===1)return Nv(i[0],e,r,n);for(var o=new ye(0,0,0,0),s=0;s<i.length;s++){var u=Nv(i[s],e,r,n);s===0?o.copy(u):o.union(u)}return o}function Eu(t,e,r){return r==="right"?t-=e:r==="center"&&(t-=e/2),t}function Ko(t,e,r){return r==="middle"?t-=e/2:r==="bottom"&&(t-=e),t}function c2(t){return hr("国",t)}function jr(t,e){return typeof t=="string"?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function ic(t,e,r){var n=e.position||"inside",i=e.distance!=null?e.distance:5,a=r.height,o=r.width,s=a/2,u=r.x,l=r.y,c="left",f="top";if(n instanceof Array)u+=jr(n[0],r.width),l+=jr(n[1],r.height),c=null,f=null;else switch(n){case"left":u-=i,l+=s,c="right",f="middle";break;case"right":u+=i+o,l+=s,f="middle";break;case"top":u+=o/2,l-=i,c="center",f="bottom";break;case"bottom":u+=o/2,l+=a+i,c="center";break;case"inside":u+=o/2,l+=s,c="center",f="middle";break;case"insideLeft":u+=i,l+=s,f="middle";break;case"insideRight":u+=o-i,l+=s,c="right",f="middle";break;case"insideTop":u+=o/2,l+=i,c="center";break;case"insideBottom":u+=o/2,l+=a-i,c="center",f="bottom";break;case"insideTopLeft":u+=i,l+=i;break;case"insideTopRight":u+=o-i,l+=i,c="right";break;case"insideBottomLeft":u+=i,l+=a-i,f="bottom";break;case"insideBottomRight":u+=o-i,l+=a-i,c="right",f="bottom";break}return t=t||{},t.x=u,t.y=l,t.align=c,t.verticalAlign=f,t}var Af="__zr_normal__",Tf=wn.concat(["ignore"]),NF=bn(wn,function(t,e){return t[e]=!0,t},{ignore:!1}),Eo={},OF=new ye(0,0,0,0),u5=function(){function t(e){this.id=nx(),this.animators=[],this.currentStates=[],this.states={},this._init(e)}return t.prototype._init=function(e){this.attr(e)},t.prototype.drift=function(e,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":e=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=e,i[5]+=r,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(e){var r=this._textContent;if(r&&(!r.ignore||e)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,u=!1;a.parent=i?this:null;var l=!1;if(a.copyTransform(r),n.position!=null){var c=OF;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Eo,n,c):ic(Eo,n,c),a.x=Eo.x,a.y=Eo.y,o=Eo.align,s=Eo.verticalAlign;var f=n.origin;if(f&&n.rotation!=null){var h=void 0,d=void 0;f==="center"?(h=c.width*.5,d=c.height*.5):(h=jr(f[0],c.width),d=jr(f[1],c.height)),l=!0,a.originX=-a.x+h+(i?0:c.x),a.originY=-a.y+d+(i?0:c.y)}}n.rotation!=null&&(a.rotation=n.rotation);var p=n.offset;p&&(a.x+=p[0],a.y+=p[1],l||(a.originX=-p[0],a.originY=-p[1]));var v=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;v&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=n.outsideFill,y=n.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(u=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=ur,u&&r.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(e){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?fd:cd},t.prototype.getOutsideStroke=function(e){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&fr(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,Vn(n,"rgba")},t.prototype.traverse=function(e,r){},t.prototype.attrKV=function(e,r){e==="textConfig"?this.setTextConfig(r):e==="textContent"?this.setTextContent(r):e==="clipPath"?this.setClipPath(r):e==="extra"?(this.extra=this.extra||{},$(this.extra,r)):this[e]=r},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(e,r){if(typeof e=="string")this.attrKV(e,r);else if(ne(e))for(var n=e,i=Se(n),a=0;a<i.length;a++){var o=i[a];this.attrKV(o,e[o])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(e){this._innerSaveToNormal(e);for(var r=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],a=i.__fromStateTransition;if(!(i.getLoop()||a&&a!==Af)){var o=i.targetName,s=o?r[o]:r;i.saveTo(s)}}},t.prototype._innerSaveToNormal=function(e){var r=this._normalState;r||(r=this._normalState={}),e.textConfig&&!r.textConfig&&(r.textConfig=this.textConfig),this._savePrimaryToNormal(e,r,Tf)},t.prototype._savePrimaryToNormal=function(e,r,n){for(var i=0;i<n.length;i++){var a=n[i];e[a]!=null&&!(a in r)&&(r[a]=this[a])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(e){return this.states[e]},t.prototype.ensureState=function(e){var r=this.states;return r[e]||(r[e]={}),r[e]},t.prototype.clearStates=function(e){this.useState(Af,!1,e)},t.prototype.useState=function(e,r,n,i){var a=e===Af,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,u=this.stateTransition;if(!(_e(s,e)>=0&&(r||s.length===1))){var l;if(this.stateProxy&&!a&&(l=this.stateProxy(e)),l||(l=this.states&&this.states[e]),!l&&!a){Zr("State "+e+" not exists.");return}a||this.saveCurrentToNormalState(l);var c=!!(l&&l.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(e,l,this._normalState,r,!n&&!this.__inHover&&u&&u.duration>0,u);var f=this._textContent,h=this._textGuide;return f&&f.useState(e,r,n,c),h&&h.useState(e,r,n,c),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(e):this.currentStates=[e],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ur),l}}},t.prototype.useStates=function(e,r,n){if(!e.length)this.clearStates();else{var i=[],a=this.currentStates,o=e.length,s=o===a.length;if(s){for(var u=0;u<o;u++)if(e[u]!==a[u]){s=!1;break}}if(s)return;for(var u=0;u<o;u++){var l=e[u],c=void 0;this.stateProxy&&(c=this.stateProxy(l,e)),c||(c=this.states[l]),c&&i.push(c)}var f=i[o-1],h=!!(f&&f.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(e.join(","),d,this._normalState,!1,!r&&!this.__inHover&&p&&p.duration>0,p);var v=this._textContent,g=this._textGuide;v&&v.useStates(e,r,h),g&&g.useStates(e,r,h),this._updateAnimationTargets(),this.currentStates=e.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ur)}},t.prototype.isSilent=function(){for(var e=this.silent,r=this.parent;!e&&r;){if(r.silent){e=!0;break}r=r.parent}return e},t.prototype._updateAnimationTargets=function(){for(var e=0;e<this.animators.length;e++){var r=this.animators[e];r.targetName&&r.changeTarget(this[r.targetName])}},t.prototype.removeState=function(e){var r=_e(this.currentStates,e);if(r>=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},t.prototype.replaceState=function(e,r,n){var i=this.currentStates.slice(),a=_e(i,e),o=_e(i,r)>=0;a>=0?o?i.splice(a,1):i[a]=r:n&&!o&&i.push(r),this.useStates(i)},t.prototype.toggleState=function(e,r){r?this.useState(e,!0):this.removeState(e)},t.prototype._mergeStates=function(e){for(var r={},n,i=0;i<e.length;i++){var a=e[i];$(r,a),a.textConfig&&(n=n||{},$(n,a.textConfig))}return n&&(r.textConfig=n),r},t.prototype._applyStateObj=function(e,r,n,i,a,o){var s=!(r&&i);r&&r.textConfig?(this.textConfig=$({},i?this.textConfig:n.textConfig),$(this.textConfig,r.textConfig)):s&&n.textConfig&&(this.textConfig=n.textConfig);for(var u={},l=!1,c=0;c<Tf.length;c++){var f=Tf[c],h=a&&NF[f];r&&r[f]!=null?h?(l=!0,u[f]=r[f]):this[f]=r[f]:s&&n[f]!=null&&(h?(l=!0,u[f]=n[f]):this[f]=n[f])}if(!a)for(var c=0;c<this.animators.length;c++){var d=this.animators[c],p=d.targetName;d.getLoop()||d.__changeFinalValue(p?(r||n)[p]:r||n)}l&&this._transitionState(e,u,o)},t.prototype._attachComponent=function(e){if(e.__zr&&!e.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(e===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var r=this.__zr;r&&e.addSelfToZr(r),e.__zr=r,e.__hostTarget=this},t.prototype._detachComponent=function(e){e.__zr&&e.removeSelfFromZr(e.__zr),e.__zr=null,e.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(e){this._clipPath&&this._clipPath!==e&&this.removeClipPath(),this._attachComponent(e),this._clipPath=e,this.markRedraw()},t.prototype.removeClipPath=function(){var e=this._clipPath;e&&(this._detachComponent(e),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(e){var r=this._textContent;if(r!==e){if(r&&r!==e&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&e.__zr&&!e.__hostTarget)throw new Error("Text element has been added to zrender.");e.innerTransformable=new On,this._attachComponent(e),this._textContent=e,this.markRedraw()}},t.prototype.setTextConfig=function(e){this.textConfig||(this.textConfig={}),$(this.textConfig,e),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var e=this._textContent;e&&(e.innerTransformable=null,this._detachComponent(e),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(e){this._textGuide&&this._textGuide!==e&&this.removeTextGuideLine(),this._attachComponent(e),this._textGuide=e,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var e=this._textGuide;e&&(this._detachComponent(e),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=ur;var e=this.__zr;e&&(this.__inHover?e.refreshHover():e.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(e){this.__inHover=e;var r=this._textContent,n=this._textGuide;r&&(r.__inHover=e),n&&(n.__inHover=e)},t.prototype.addSelfToZr=function(e){if(this.__zr!==e){this.__zr=e;var r=this.animators;if(r)for(var n=0;n<r.length;n++)e.animation.addAnimator(r[n]);this._clipPath&&this._clipPath.addSelfToZr(e),this._textContent&&this._textContent.addSelfToZr(e),this._textGuide&&this._textGuide.addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){if(this.__zr){this.__zr=null;var r=this.animators;if(r)for(var n=0;n<r.length;n++)e.animation.removeAnimator(r[n]);this._clipPath&&this._clipPath.removeSelfFromZr(e),this._textContent&&this._textContent.removeSelfFromZr(e),this._textGuide&&this._textGuide.removeSelfFromZr(e)}},t.prototype.animate=function(e,r,n){var i=e?this[e]:this;if(process.env.NODE_ENV!=="production"&&!i){Zr('Property "'+e+'" is not existed in element '+this.id);return}var a=new s5(i,r,n);return e&&(a.targetName=e),this.addAnimator(a,e),a},t.prototype.addAnimator=function(e,r){var n=this.__zr,i=this;e.during(function(){i.updateDuringAnimation(r)}).done(function(){var a=i.animators,o=_e(a,e);o>=0&&a.splice(o,1)}),this.animators.push(e),n&&n.animation.addAnimator(e),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(e){this.markRedraw()},t.prototype.stopAnimation=function(e,r){for(var n=this.animators,i=n.length,a=[],o=0;o<i;o++){var s=n[o];!e||e===s.scope?s.stop(r):a.push(s)}return this.animators=a,this},t.prototype.animateTo=function(e,r,n){Df(this,e,r,n)},t.prototype.animateFrom=function(e,r,n){Df(this,e,r,n,!0)},t.prototype._transitionState=function(e,r,n,i){for(var a=Df(this,r,n,i),o=0;o<a.length;o++)a[o].__fromStateTransition=e},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=ur;var r={};function n(a,o,s){r[a+o+s]||(console.warn("DEPRECATED: '"+a+"' has been deprecated. use '"+o+"', '"+s+"' instead"),r[a+o+s]=!0)}function i(a,o,s,u){Object.defineProperty(e,a,{get:function(){if(process.env.NODE_ENV!=="production"&&n(a,s,u),!this[o]){var c=this[o]=[];l(this,c)}return this[o]},set:function(c){process.env.NODE_ENV!=="production"&&n(a,s,u),this[s]=c[0],this[u]=c[1],this[o]=c,l(this,c)}});function l(c,f){Object.defineProperty(f,0,{get:function(){return c[s]},set:function(h){c[s]=h}}),Object.defineProperty(f,1,{get:function(){return c[u]},set:function(h){c[u]=h}})}}Object.defineProperty&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))}(),t}();ft(u5,Or);ft(u5,On);function Df(t,e,r,n,i){r=r||{};var a=[];Rx(t,"",t,e,r,n,a,i);var o=a.length,s=!1,u=r.done,l=r.aborted,c=function(){s=!0,o--,o<=0&&(s?u&&u():l&&l())},f=function(){o--,o<=0&&(s?u&&u():l&&l())};o||u&&u(),a.length>0&&r.during&&a[0].during(function(p,v){r.during(v)});for(var h=0;h<a.length;h++){var d=a[h];c&&d.done(c),f&&d.aborted(f),r.force&&d.duration(r.duration),d.start(r.easing)}return a}function Ef(t,e,r){for(var n=0;n<r;n++)t[n]=e[n]}function BF(t){return zt(t[0])}function FF(t,e,r){if(zt(e[r]))if(zt(t[r])||(t[r]=[]),Zt(e[r])){var n=e[r].length;t[r].length!==n&&(t[r]=new e[r].constructor(n),Ef(t[r],e[r],n))}else{var i=e[r],a=t[r],o=i.length;if(BF(i))for(var s=i[0].length,u=0;u<o;u++)a[u]?Ef(a[u],i[u],s):a[u]=Array.prototype.slice.call(i[u]);else Ef(a,i,o);a.length=i.length}else t[r]=e[r]}function zF(t,e){return t===e||zt(t)&&zt(e)&&VF(t,e)}function VF(t,e){var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}function Rx(t,e,r,n,i,a,o,s){for(var u=Se(n),l=i.duration,c=i.delay,f=i.additive,h=i.setToFinal,d=!ne(a),p=t.animators,v=[],g=0;g<u.length;g++){var m=u[g],y=n[m];if(y!=null&&r[m]!=null&&(d||a[m]))if(ne(y)&&!zt(y)&&!o2(y)){if(e){s||(r[m]=y,t.updateDuringAnimation(e));continue}Rx(t,m,r[m],y,i,a&&a[m],o,s)}else v.push(m);else s||(r[m]=y,t.updateDuringAnimation(e),v.push(m))}var _=v.length;if(!f&&_)for(var b=0;b<p.length;b++){var x=p[b];if(x.targetName===e){var w=x.stopTracks(v);if(w){var S=_e(p,x);p.splice(S,1)}}}if(i.force||(v=Ne(v,function(D){return!zF(n[D],r[D])}),_=v.length),_>0||i.force&&!o.length){var C=void 0,A=void 0,T=void 0;if(s){A={},h&&(C={});for(var b=0;b<_;b++){var m=v[b];A[m]=r[m],h?C[m]=n[m]:r[m]=n[m]}}else if(h){T={};for(var b=0;b<_;b++){var m=v[b];T[m]=Hu(r[m]),FF(r,n,m)}}var x=new s5(r,!1,!1,f?Ne(p,function(k){return k.targetName===e}):null);x.targetName=e,i.scope&&(x.scope=i.scope),h&&C&&x.whenWithKeys(0,C,v),T&&x.whenWithKeys(0,T,v),x.whenWithKeys(l??500,s?A:n,v).delay(c||0),t.addAnimator(x,e),o.push(x)}}const Nx=u5;var Ox=function(t){F(e,t);function e(r){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(r){return this._children[r]},e.prototype.childOfName=function(r){for(var n=this._children,i=0;i<n.length;i++)if(n[i].name===r)return n[i]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(r){if(r&&(r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),process.env.NODE_ENV!=="production"&&r.__hostTarget))throw"This elemenet has been used as an attachment";return this},e.prototype.addBefore=function(r,n){if(r&&r!==this&&r.parent!==this&&n&&n.parent===this){var i=this._children,a=i.indexOf(n);a>=0&&(i.splice(a,0,r),this._doAdd(r))}return this},e.prototype.replace=function(r,n){var i=_e(this._children,r);return i>=0&&this.replaceAt(n,i),this},e.prototype.replaceAt=function(r,n){var i=this._children,a=i[n];if(r&&r!==this&&r.parent!==this&&r!==a){i[n]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},e.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},e.prototype.remove=function(r){var n=this.__zr,i=this._children,a=_e(i,r);return a<0?this:(i.splice(a,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},e.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,i=0;i<r.length;i++){var a=r[i];n&&a.removeSelfFromZr(n),a.parent=null}return r.length=0,this},e.prototype.eachChild=function(r,n){for(var i=this._children,a=0;a<i.length;a++){var o=i[a];r.call(n,o,a)}return this},e.prototype.traverse=function(r,n){for(var i=0;i<this._children.length;i++){var a=this._children[i],o=r.call(n,a);a.isGroup&&!o&&a.traverse(r,n)}return this},e.prototype.addSelfToZr=function(r){t.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(r)}},e.prototype.removeSelfFromZr=function(r){t.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(r)}},e.prototype.getBoundingRect=function(r){for(var n=new ye(0,0,0,0),i=r||this._children,a=[],o=null,s=0;s<i.length;s++){var u=i[s];if(!(u.ignore||u.invisible)){var l=u.getBoundingRect(),c=u.getLocalTransform(a);c?(ye.applyTransform(n,l,c),o=o||n.clone(),o.union(n)):(o=o||l.clone(),o.union(l))}}return o||n},e}(Nx);Ox.prototype.type="group";const le=Ox;/*!
|
|
64
|
+
* ZRender, a high performance 2d drawing library.
|
|
65
|
+
*
|
|
66
|
+
* Copyright (c) 2013, Baidu Inc.
|
|
67
|
+
* All rights reserved.
|
|
68
|
+
*
|
|
69
|
+
* LICENSE
|
|
70
|
+
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
71
|
+
*/var ku={},Bx={};function $F(t){delete Bx[t]}function GF(t){if(!t)return!1;if(typeof t=="string")return tc(t,1)<ld;if(t.colorStops){for(var e=t.colorStops,r=0,n=e.length,i=0;i<n;i++)r+=tc(e[i].color,1);return r/=n,r<ld}return!1}var HF=function(){function t(e,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=e;var a=new JB,o=n.renderer||"canvas";if(ku[o]||(o=Se(ku)[0]),process.env.NODE_ENV!=="production"&&!ku[o])throw new Error("Renderer '"+o+"' is not imported. Please import it first.");n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new ku[o](r,a,n,e),u=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var l=!De.node&&!De.worker&&!u?new IF(s.getViewportRoot(),s.root):null,c=n.useCoarsePointer,f=c==null||c==="auto"?De.touchEventsSupported:!!c,h=44,d;f&&(d=fe(n.pointerSize,h)),this.handler=new YB(a,s,l,s.root,d),this.animation=new CF({stage:{update:u?null:function(){return i._flush(!0)}}}),u||this.animation.start()}return t.prototype.add=function(e){this._disposed||!e||(this.storage.addRoot(e),e.addSelfToZr(this),this.refresh())},t.prototype.remove=function(e){this._disposed||!e||(this.storage.delRoot(e),e.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(e,r){this._disposed||(this.painter.configLayer&&this.painter.configLayer(e,r),this.refresh())},t.prototype.setBackgroundColor=function(e){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(e),this.refresh(),this._backgroundColor=e,this._darkMode=GF(e))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(e){this._darkMode=e},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(e){this._disposed||(e||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(e){var r,n=rs();this._needsRefresh&&(r=!0,this.refreshImmediately(e)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=rs();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(e){this._sleepAfterStill=e},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},t.prototype.resize=function(e){this._disposed||(e=e||{},this.painter.resize(e.width,e.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(e){this._disposed||this.handler.setCursorStyle(e)},t.prototype.findHover=function(e,r){if(!this._disposed)return this.handler.findHover(e,r)},t.prototype.on=function(e,r,n){return this._disposed||this.handler.on(e,r,n),this},t.prototype.off=function(e,r){this._disposed||this.handler.off(e,r)},t.prototype.trigger=function(e,r){this._disposed||this.handler.trigger(e,r)},t.prototype.clear=function(){if(!this._disposed){for(var e=this.storage.getRoots(),r=0;r<e.length;r++)e[r]instanceof le&&e[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.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,$F(this.id))},t}();function Ov(t,e){var r=new HF(nx(),t,e);return Bx[r.id]=r,r}function UF(t,e){ku[t]=e}var hd;function WF(t){if(typeof hd=="function")return hd(t)}function qF(t){hd=t}var Bv=1e-4,Fx=20;function ZF(t){return t.replace(/^\s+|\s+$/g,"")}function Be(t,e,r,n){var i=e[0],a=e[1],o=r[0],s=r[1],u=a-i,l=s-o;if(u===0)return l===0?o:(o+s)/2;if(n)if(u>0){if(t<=i)return o;if(t>=a)return s}else{if(t>=i)return o;if(t<=a)return s}else{if(t===i)return o;if(t===a)return s}return(t-i)/u*l+o}function W(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return Z(t)?ZF(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):t==null?NaN:+t}function nt(t,e,r){return e==null&&(e=10),e=Math.min(Math.max(0,e),Fx),t=(+t).toFixed(e),r?t:+t}function Mr(t){return t.sort(function(e,r){return e-r}),t}function pn(t){if(t=+t,isNaN(t))return 0;if(t>1e-14){for(var e=1,r=0;r<15;r++,e*=10)if(Math.round(t*e)/e===t)return r}return dd(t)}function dd(t){var e=t.toString().toLowerCase(),r=e.indexOf("e"),n=r>0?+e.slice(r+1):0,i=r>0?r:e.length,a=e.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function zx(t,e){var r=Math.log,n=Math.LN10,i=Math.floor(r(t[1]-t[0])/n),a=Math.round(r(Math.abs(e[1]-e[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function YF(t,e){var r=bn(t,function(d,p){return d+(isNaN(p)?0:p)},0);if(r===0)return[];for(var n=Math.pow(10,e),i=H(t,function(d){return(isNaN(d)?0:d)/r*n*100}),a=n*100,o=H(i,function(d){return Math.floor(d)}),s=bn(o,function(d,p){return d+p},0),u=H(i,function(d,p){return d-o[p]});s<a;){for(var l=Number.NEGATIVE_INFINITY,c=null,f=0,h=u.length;f<h;++f)u[f]>l&&(l=u[f],c=f);++o[c],u[c]=0,++s}return H(o,function(d){return d/n})}function XF(t,e){var r=Math.max(pn(t),pn(e)),n=t+e;return r>Fx?n:nt(n,r)}var Fv=9007199254740991;function Vx(t){var e=Math.PI*2;return(t%e+e)%e}function dl(t){return t>-Bv&&t<Bv}var jF=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Sn(t){if(t instanceof Date)return t;if(Z(t)){var e=jF.exec(t);if(!e)return new Date(NaN);if(e[8]){var r=+e[4]||0;return e[8].toUpperCase()!=="Z"&&(r-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,r,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}else return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}else if(t==null)return new Date(NaN);return new Date(Math.round(t))}function KF(t){return Math.pow(10,f2(t))}function f2(t){if(t===0)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function $x(t,e){var r=f2(t),n=Math.pow(10,r),i=t/n,a;return e?i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10:i<1?a=1:i<2?a=2:i<3?a=3:i<5?a=5:a=10,t=a*n,r>=-20?+t.toFixed(r<0?-r:0):t}function kf(t,e){var r=(t.length-1)*e+1,n=Math.floor(r),i=+t[n-1],a=r-n;return a?i+a*(t[n]-i):i}function zv(t){t.sort(function(u,l){return s(u,l,0)?-1:1});for(var e=-1/0,r=1,n=0;n<t.length;){for(var i=t[n].interval,a=t[n].close,o=0;o<2;o++)i[o]<=e&&(i[o]=e,a[o]=o?1:1-r),e=i[o],r=a[o];i[0]===i[1]&&a[0]*a[1]!==1?t.splice(n,1):n++}return t;function s(u,l,c){return u.interval[c]<l.interval[c]||u.interval[c]===l.interval[c]&&(u.close[c]-l.close[c]===(c?-1:1)||!c&&s(u,l,1))}}function qn(t){var e=parseFloat(t);return e==t&&(e!==0||!Z(t)||t.indexOf("x")<=0)?e:NaN}function l5(t){return!isNaN(qn(t))}function Gx(){return Math.round(Math.random()*9)}function Hx(t,e){return e===0?t:Hx(e,t%e)}function Vv(t,e){return t==null?e:e==null?t:t*e/Hx(t,e)}var QF="[ECharts] ",$v={},JF=typeof console<"u"&&console.warn&&console.log;function h2(t,e,r){if(JF){if(r){if($v[e])return;$v[e]=!0}console[t](QF+e)}}function ez(t,e){h2("log",t,e)}function Qe(t,e){h2("warn",t,e)}function Et(t,e){h2("error",t,e)}function Kr(t){process.env.NODE_ENV!=="production"&&h2("warn","DEPRECATED: "+t,!0)}function st(t,e,r){process.env.NODE_ENV!=="production"&&Kr((r?"["+r+"]":"")+(t+" is deprecated, use "+e+" instead."))}function Yt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var r="";if(process.env.NODE_ENV!=="production"){var n=function(i){return i===void 0?"undefined":i===1/0?"Infinity":i===-1/0?"-Infinity":to(i)?"NaN":i instanceof Date?"Date("+i.toISOString()+")":te(i)?"function () { ... }":ix(i)?i+"":null};r=H(t,function(i){if(Z(i))return i;var a=n(i);if(a!=null)return a;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(i,function(o,s){var u=n(s);return u??s})}catch{return"?"}else return"?"}).join(" ")}return r}function Re(t){throw new Error(t)}function Gv(t,e,r){return(e-t)*r+t}var Ux="series\0",Wx="\0_ec_\0";function ze(t){return t instanceof Array?t:t==null?[]:[t]}function ro(t,e,r){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var n=0,i=r.length;n<i;n++){var a=r[n];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}var Hv=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function Ls(t){return ne(t)&&!G(t)&&!(t instanceof Date)?t.value:t}function tz(t){return ne(t)&&!(t instanceof Array)}function qx(t,e,r){var n=r==="normalMerge",i=r==="replaceMerge",a=r==="replaceAll";t=t||[],e=(e||[]).slice();var o=J();E(e,function(u,l){if(!ne(u)){e[l]=null;return}process.env.NODE_ENV!=="production"&&(u.id!=null&&!Wv(u.id)&&Uv(u.id),u.name!=null&&!Wv(u.name)&&Uv(u.name))});var s=rz(t,o,r);return(n||i)&&nz(s,t,o,e),n&&iz(s,e),n||i?az(s,e,i):a&&oz(s,e),sz(s),s}function rz(t,e,r){var n=[];if(r==="replaceAll")return n;for(var i=0;i<t.length;i++){var a=t[i];a&&a.id!=null&&e.set(a.id,i),n.push({existing:r==="replaceMerge"||ms(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return n}function nz(t,e,r,n){E(n,function(i,a){if(!(!i||i.id==null)){var o=Uu(i.id),s=r.get(o);if(s!=null){var u=t[s];ie(!u.newOption,'Duplicated option on id "'+o+'".'),u.newOption=i,u.existing=e[s],n[a]=null}}})}function iz(t,e){E(e,function(r,n){if(!(!r||r.name==null))for(var i=0;i<t.length;i++){var a=t[i].existing;if(!t[i].newOption&&a&&(a.id==null||r.id==null)&&!ms(r)&&!ms(a)&&Zx("name",a,r)){t[i].newOption=r,e[n]=null;return}}})}function az(t,e,r){E(e,function(n){if(n){for(var i,a=0;(i=t[a])&&(i.newOption||ms(i.existing)||i.existing&&n.id!=null&&!Zx("id",n,i.existing));)a++;i?(i.newOption=n,i.brandNew=r):t.push({newOption:n,brandNew:r,existing:null,keyInfo:null}),a++}})}function oz(t,e){E(e,function(r){t.push({newOption:r,brandNew:!0,existing:null,keyInfo:null})})}function sz(t){var e=J();E(t,function(r){var n=r.existing;n&&e.set(n.id,r)}),E(t,function(r){var n=r.newOption;ie(!n||n.id==null||!e.get(n.id)||e.get(n.id)===r,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&e.set(n.id,r),!r.keyInfo&&(r.keyInfo={})}),E(t,function(r,n){var i=r.existing,a=r.newOption,o=r.keyInfo;if(ne(a)){if(o.name=a.name!=null?Uu(a.name):i?i.name:Ux+n,i)o.id=Uu(i.id);else if(a.id!=null)o.id=Uu(a.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(e.get(o.id))}e.set(o.id,r)}})}function Zx(t,e,r){var n=ht(e[t],null),i=ht(r[t],null);return n!=null&&i!=null&&n===i}function Uu(t){if(process.env.NODE_ENV!=="production"&&t==null)throw new Error;return ht(t,"")}function ht(t,e){return t==null?e:Z(t)?t:Me(t)||j0(t)?t+"":e}function Uv(t){process.env.NODE_ENV!=="production"&&Qe("`"+t+"` is invalid id or name. Must be a string or number.")}function Wv(t){return j0(t)||l5(t)}function c5(t){var e=t.name;return!!(e&&e.indexOf(Ux))}function ms(t){return t&&t.id!=null&&Uu(t.id).indexOf(Wx)===0}function uz(t){return Wx+t}function lz(t,e,r){E(t,function(n){var i=n.newOption;ne(i)&&(n.keyInfo.mainType=e,n.keyInfo.subType=cz(e,i,n.existing,r))})}function cz(t,e,r,n){var i=e.type?e.type:r?r.subType:n.determineSubType(t,e);return i}function fz(t,e){var r={},n={};return i(t||[],r),i(e||[],n,r),[a(r),a(n)];function i(o,s,u){for(var l=0,c=o.length;l<c;l++){var f=ht(o[l].seriesId,null);if(f==null)return;for(var h=ze(o[l].dataIndex),d=u&&u[f],p=0,v=h.length;p<v;p++){var g=h[p];d&&d[g]?d[g]=null:(s[f]||(s[f]={}))[g]=1}}}function a(o,s){var u=[];for(var l in o)if(o.hasOwnProperty(l)&&o[l]!=null)if(s)u.push(+l);else{var c=a(o[l],!0);c.length&&u.push({seriesId:l,dataIndex:c})}return u}}function no(t,e){if(e.dataIndexInside!=null)return e.dataIndexInside;if(e.dataIndex!=null)return G(e.dataIndex)?H(e.dataIndex,function(r){return t.indexOfRawIndex(r)}):t.indexOfRawIndex(e.dataIndex);if(e.name!=null)return G(e.name)?H(e.name,function(r){return t.indexOfName(r)}):t.indexOfName(e.name)}function Ae(){var t="__ec_inner_"+hz++;return function(e){return e[t]||(e[t]={})}}var hz=Gx();function Wu(t,e,r){var n=f5(e,r),i=n.mainTypeSpecified,a=n.queryOptionMap,o=n.others,s=o,u=r?r.defaultMainType:null;return!i&&u&&a.set(u,{}),a.each(function(l,c){var f=Vl(t,c,l,{useDefault:u===c,enableAll:r&&r.enableAll!=null?r.enableAll:!0,enableNone:r&&r.enableNone!=null?r.enableNone:!0});s[c+"Models"]=f.models,s[c+"Model"]=f.models[0]}),s}function f5(t,e){var r;if(Z(t)){var n={};n[t+"Index"]=0,r=n}else r=t;var i=J(),a={},o=!1;return E(r,function(s,u){if(u==="dataIndex"||u==="dataIndexInside"){a[u]=s;return}var l=u.match(/^(\w+)(Index|Id|Name)$/)||[],c=l[1],f=(l[2]||"").toLowerCase();if(!(!c||!f||e&&e.includeMainTypes&&_e(e.includeMainTypes,c)<0)){o=o||!!c;var h=i.get(c)||i.set(c,{});h[f]=s}}),{mainTypeSpecified:o,queryOptionMap:i,others:a}}var lt={useDefault:!0,enableAll:!1,enableNone:!1},dz={useDefault:!1,enableAll:!0,enableNone:!0};function Vl(t,e,r,n){n=n||lt;var i=r.index,a=r.id,o=r.name,s={models:null,specified:i!=null||a!=null||o!=null};if(!s.specified){var u=void 0;return s.models=n.useDefault&&(u=t.getComponent(e))?[u]:[],s}return i==="none"||i===!1?(ie(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(i==="all"&&(ie(n.enableAll,'`"all"` is not a valid value on index option.'),i=a=o=null),s.models=t.queryComponents({mainType:e,index:i,id:a,name:o}),s)}function Yx(t,e,r){t.setAttribute?t.setAttribute(e,r):t[e]=r}function pz(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function vz(t){return t==="auto"?De.domSupported?"html":"richText":t||"html"}function pd(t,e){var r=J(),n=[];return E(t,function(i){var a=e(i);(r.get(a)||(n.push(a),r.set(a,[]))).push(i)}),{keys:n,buckets:r}}function Xx(t,e,r,n,i){var a=e==null||e==="auto";if(n==null)return n;if(Me(n)){var o=Gv(r||0,n,i);return nt(o,a?Math.max(pn(r||0),pn(n)):e)}else{if(Z(n))return i<1?r:n;for(var s=[],u=r,l=n,c=Math.max(u?u.length:0,l.length),f=0;f<c;++f){var h=t.getDimensionInfo(f);if(h&&h.type==="ordinal")s[f]=(i<1&&u?u:l)[f];else{var d=u&&u[f]?u[f]:0,p=l[f],o=Gv(d,p,i);s[f]=nt(o,a?Math.max(pn(d),pn(p)):e)}}return s}}var gz=".",aa="___EC__COMPONENT__CONTAINER___",jx="___EC__EXTENDED_CLASS___";function vn(t){var e={main:"",sub:""};if(t){var r=t.split(gz);e.main=r[0]||"",e.sub=r[1]||""}return e}function mz(t){ie(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(t),'componentType "'+t+'" illegal')}function yz(t){return!!(t&&t[jx])}function h5(t,e){t.$constructor=t,t.extend=function(r){process.env.NODE_ENV!=="production"&&E(e,function(a){r[a]||console.warn("Method `"+a+"` should be implemented"+(r.type?" in "+r.type:"")+".")});var n=this,i;return _z(n)?i=function(a){F(o,a);function o(){return a.apply(this,arguments)||this}return o}(n):(i=function(){(r.$constructor||n).apply(this,arguments)},vB(i,this)),$(i.prototype,r),i[jx]=!0,i.extend=this.extend,i.superCall=wz,i.superApply=Sz,i.superClass=n,i}}function _z(t){return te(t)&&/^class\s/.test(Function.prototype.toString.call(t))}function Kx(t,e){t.extend=e.extend}var bz=Math.round(Math.random()*10);function xz(t){var e=["__\0is_clz",bz++].join("_");t.prototype[e]=!0,process.env.NODE_ENV!=="production"&&ie(!t.isInstance,'The method "is" can not be defined.'),t.isInstance=function(r){return!!(r&&r[e])}}function wz(t,e){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return this.superClass.prototype[e].apply(t,r)}function Sz(t,e,r){return this.superClass.prototype[e].apply(t,r)}function d2(t){var e={};t.registerClass=function(n){var i=n.type||n.prototype.type;if(i){mz(i),n.prototype.type=i;var a=vn(i);if(!a.sub)process.env.NODE_ENV!=="production"&&e[a.main]&&console.warn(a.main+" exists."),e[a.main]=n;else if(a.sub!==aa){var o=r(a);o[a.sub]=n}}return n},t.getClass=function(n,i,a){var o=e[n];if(o&&o[aa]&&(o=i?o[i]:null),a&&!o)throw new Error(i?"Component "+n+"."+(i||"")+" is used but not imported.":n+".type should be specified.");return o},t.getClassesByMainType=function(n){var i=vn(n),a=[],o=e[i.main];return o&&o[aa]?E(o,function(s,u){u!==aa&&a.push(s)}):a.push(o),a},t.hasClass=function(n){var i=vn(n);return!!e[i.main]},t.getAllClassMainTypes=function(){var n=[];return E(e,function(i,a){n.push(a)}),n},t.hasSubTypes=function(n){var i=vn(n),a=e[i.main];return a&&a[aa]};function r(n){var i=e[n.main];return(!i||!i[aa])&&(i=e[n.main]={},i[aa]=!0),i}}function io(t,e){for(var r=0;r<t.length;r++)t[r][1]||(t[r][1]=t[r][0]);return e=e||!1,function(n,i,a){for(var o={},s=0;s<t.length;s++){var u=t[s][1];if(!(i&&_e(i,u)>=0||a&&_e(a,u)<0)){var l=n.getShallow(u,e);l!=null&&(o[t[s][0]]=l)}}return o}}var Cz=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Az=io(Cz),Tz=function(){function t(){}return t.prototype.getAreaStyle=function(e,r){return Az(this,e,r)},t}(),vd=new Fl(50);function Dz(t){if(typeof t=="string"){var e=vd.get(t);return e&&e.image}else return t}function d5(t,e,r,n,i){if(t)if(typeof t=="string"){if(e&&e.__zrImageSrc===t||!r)return e;var a=vd.get(t),o={hostEl:r,cb:n,cbPayload:i};return a?(e=a.image,!p2(e)&&a.pending.push(o)):(e=Fi.loadImage(t,qv,qv),e.__zrImageSrc=t,vd.put(t,e.__cachedImgObj={image:e,pending:[o]})),e}else return t;else return e}function qv(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var r=t.pending[e],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}t.pending.length=0}function p2(t){return t&&t.width&&t.height}var Mf=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function Ez(t,e,r,n,i,a){if(!r){t.text="",t.isTruncated=!1;return}var o=(e+"").split(`
|
|
72
|
+
`);a=Qx(r,n,i,a);for(var s=!1,u={},l=0,c=o.length;l<c;l++)Jx(u,o[l],a),o[l]=u.textLine,s=s||u.isTruncated;t.text=o.join(`
|
|
73
|
+
`),t.isTruncated=s}function Qx(t,e,r,n){n=n||{};var i=$({},n);i.font=e,r=fe(r,"..."),i.maxIterations=fe(n.maxIterations,2);var a=i.minChar=fe(n.minChar,0);i.cnCharWidth=hr("国",e);var o=i.ascCharWidth=hr("a",e);i.placeholder=fe(n.placeholder,"");for(var s=t=Math.max(0,t-1),u=0;u<a&&s>=o;u++)s-=o;var l=hr(r,e);return l>s&&(r="",l=0),s=t-l,i.ellipsis=r,i.ellipsisWidth=l,i.contentWidth=s,i.containerWidth=t,i}function Jx(t,e,r){var n=r.containerWidth,i=r.font,a=r.contentWidth;if(!n){t.textLine="",t.isTruncated=!1;return}var o=hr(e,i);if(o<=n){t.textLine=e,t.isTruncated=!1;return}for(var s=0;;s++){if(o<=a||s>=r.maxIterations){e+=r.ellipsis;break}var u=s===0?kz(e,a,r.ascCharWidth,r.cnCharWidth):o>0?Math.floor(e.length*a/o):0;e=e.substr(0,u),o=hr(e,i)}e===""&&(e=r.placeholder),t.textLine=e,t.isTruncated=!0}function kz(t,e,r,n){for(var i=0,a=0,o=t.length;a<o&&i<e;a++){var s=t.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function Mz(t,e){t!=null&&(t+="");var r=e.overflow,n=e.padding,i=e.font,a=r==="truncate",o=c2(i),s=fe(e.lineHeight,o),u=!!e.backgroundColor,l=e.lineOverflow==="truncate",c=!1,f=e.width,h;f!=null&&(r==="break"||r==="breakAll")?h=t?ew(t,e.font,f,r==="breakAll",0).lines:[]:h=t?t.split(`
|
|
74
|
+
`):[];var d=h.length*s,p=fe(e.height,d);if(d>p&&l){var v=Math.floor(p/s);c=c||h.length>v,h=h.slice(0,v)}if(t&&a&&f!=null)for(var g=Qx(f,i,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),m={},y=0;y<h.length;y++)Jx(m,h[y],g),h[y]=m.textLine,c=c||m.isTruncated;for(var _=p,b=0,y=0;y<h.length;y++)b=Math.max(hr(h[y],i),b);f==null&&(f=b);var x=b;return n&&(_+=n[0]+n[2],x+=n[1]+n[3],f+=n[1]+n[3]),u&&(x=f),{lines:h,height:p,outerWidth:x,outerHeight:_,lineHeight:s,calculatedLineHeight:o,contentWidth:b,contentHeight:d,width:f,isTruncated:c}}var Lz=function(){function t(){}return t}(),Zv=function(){function t(e){this.tokens=[],e&&(this.tokens=e)}return t}(),Iz=function(){function t(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return t}();function Pz(t,e){var r=new Iz;if(t!=null&&(t+=""),!t)return r;for(var n=e.width,i=e.height,a=e.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=Mf.lastIndex=0,u;(u=Mf.exec(t))!=null;){var l=u.index;l>s&&Lf(r,t.substring(s,l),e,o),Lf(r,u[2],e,o,u[1]),s=Mf.lastIndex}s<t.length&&Lf(r,t.substring(s,t.length),e,o);var c=[],f=0,h=0,d=e.padding,p=a==="truncate",v=e.lineOverflow==="truncate",g={};function m(B,z,V){B.width=z,B.lineHeight=V,f+=V,h=Math.max(h,z)}e:for(var y=0;y<r.lines.length;y++){for(var _=r.lines[y],b=0,x=0,w=0;w<_.tokens.length;w++){var S=_.tokens[w],C=S.styleName&&e.rich[S.styleName]||{},A=S.textPadding=C.padding,T=A?A[1]+A[3]:0,D=S.font=C.font||e.font;S.contentHeight=c2(D);var k=fe(C.height,S.contentHeight);if(S.innerHeight=k,A&&(k+=A[0]+A[2]),S.height=k,S.lineHeight=Lr(C.lineHeight,e.lineHeight,k),S.align=C&&C.align||e.align,S.verticalAlign=C&&C.verticalAlign||"middle",v&&i!=null&&f+S.lineHeight>i){var M=r.lines.length;w>0?(_.tokens=_.tokens.slice(0,w),m(_,x,b),r.lines=r.lines.slice(0,y+1)):r.lines=r.lines.slice(0,y),r.isTruncated=r.isTruncated||r.lines.length<M;break e}var I=C.width,N=I==null||I==="auto";if(typeof I=="string"&&I.charAt(I.length-1)==="%")S.percentWidth=I,c.push(S),S.contentWidth=hr(S.text,D);else{if(N){var L=C.backgroundColor,O=L&&L.image;O&&(O=Dz(O),p2(O)&&(S.width=Math.max(S.width,O.width*k/O.height)))}var P=p&&n!=null?n-x:null;P!=null&&P<S.width?!N||P<T?(S.text="",S.width=S.contentWidth=0):(Ez(g,S.text,P-T,D,e.ellipsis,{minChar:e.truncateMinChar}),S.text=g.text,r.isTruncated=r.isTruncated||g.isTruncated,S.width=S.contentWidth=hr(S.text,D)):S.contentWidth=hr(S.text,D)}S.width+=T,x+=S.width,C&&(b=Math.max(b,S.lineHeight))}m(_,x,b)}r.outerWidth=r.width=fe(n,h),r.outerHeight=r.height=fe(i,f),r.contentHeight=f,r.contentWidth=h,d&&(r.outerWidth+=d[1]+d[3],r.outerHeight+=d[0]+d[2]);for(var y=0;y<c.length;y++){var S=c[y],R=S.percentWidth;S.width=parseInt(R,10)/100*r.width}return r}function Lf(t,e,r,n,i){var a=e==="",o=i&&r.rich[i]||{},s=t.lines,u=o.font||r.font,l=!1,c,f;if(n){var h=o.padding,d=h?h[1]+h[3]:0;if(o.width!=null&&o.width!=="auto"){var p=jr(o.width,n.width)+d;s.length>0&&p+n.accumWidth>n.width&&(c=e.split(`
|
|
75
|
+
`),l=!0),n.accumWidth=p}else{var v=ew(e,u,n.width,n.breakAll,n.accumWidth);n.accumWidth=v.accumWidth+d,f=v.linesWidths,c=v.lines}}else c=e.split(`
|
|
76
|
+
`);for(var g=0;g<c.length;g++){var m=c[g],y=new Lz;if(y.styleName=i,y.text=m,y.isLineHolder=!m&&!a,typeof o.width=="number"?y.width=o.width:y.width=f?f[g]:hr(m,u),!g&&!l){var _=(s[s.length-1]||(s[0]=new Zv)).tokens,b=_.length;b===1&&_[0].isLineHolder?_[0]=y:(m||!b||a)&&_.push(y)}else s.push(new Zv([y]))}}function Rz(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var Nz=bn(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function Oz(t){return Rz(t)?!!Nz[t]:!0}function ew(t,e,r,n,i){for(var a=[],o=[],s="",u="",l=0,c=0,f=0;f<t.length;f++){var h=t.charAt(f);if(h===`
|
|
77
|
+
`){u&&(s+=u,c+=l),a.push(s),o.push(c),s="",u="",l=0,c=0;continue}var d=hr(h,e),p=n?!1:!Oz(h);if(a.length?c+d>r:i+c+d>r){c?(s||u)&&(p?(s||(s=u,u="",l=0,c=l),a.push(s),o.push(c-l),u+=h,l+=d,s="",c=l):(u&&(s+=u,u="",l=0),a.push(s),o.push(c),s=h,c=d)):p?(a.push(u),o.push(l),u=h,l=d):(a.push(h),o.push(d));continue}c+=d,p?(u+=h,l+=d):(u&&(s+=u,u="",l=0),s+=h)}return!a.length&&!s&&(s=t,u="",l=0),u&&(s+=u),s&&(a.push(s),o.push(c)),a.length===1&&(c+=i),{accumWidth:c,lines:a,linesWidths:o}}var gd="__zr_style_"+Math.round(Math.random()*10),qa={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},v2={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};qa[gd]=!0;var Yv=["z","z2","invisible"],Bz=["invisible"],Fz=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype._init=function(r){for(var n=Se(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):t.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&zz(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},e.prototype.contain=function(r,n){return this.rectContain(r,n)},e.prototype.traverse=function(r,n){r.call(n,this)},e.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},e.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,u=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new ye(0,0,0,0)),n?ye.applyTransform(r,i,n):r.copy(i),(o||s||u)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(u),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+u-o));var l=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-l),r.y=Math.floor(r.y-l),r.width=Math.ceil(r.width+1+l*2),r.height=Math.ceil(r.height+1+l*2))}return r},e.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new ye(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(r){return this.animate("style",r)},e.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(r,n){r!=="style"?t.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:$(this.style,r),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=Tu,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(this.__dirty&Tu)},e.prototype.styleUpdated=function(){this.__dirty&=~Tu},e.prototype.createStyle=function(r){return s2(qa,r)},e.prototype.useStyle=function(r){r[gd]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},e.prototype.isStyleObject=function(r){return r[gd]},e.prototype._innerSaveToNormal=function(r){t.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,Yv)},e.prototype._applyStateObj=function(r,n,i,a,o,s){t.prototype._applyStateObj.call(this,r,n,i,a,o,s);var u=!(n&&a),l;if(n&&n.style?o?a?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l)if(o){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var f=Se(c),h=0;h<f.length;h++){var d=f[h];d in l&&(l[d]=l[d],this.style[d]=c[d])}for(var p=Se(l),h=0;h<p.length;h++){var d=p[h];this.style[d]=this.style[d]}this._transitionState(r,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);for(var v=this.__inHover?Bz:Yv,h=0;h<v.length;h++){var d=v[h];n&&n[d]!=null?this[d]=n[d]:u&&i[d]!=null&&(this[d]=i[d])}},e.prototype._mergeStates=function(r){for(var n=t.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var o=r[a];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(n.style=i),n},e.prototype._mergeStyle=function(r,n){return $(r,n),r},e.prototype.getAnimationStyleProps=function(){return v2},e.initDefaultProps=function(){var r=e.prototype;r.type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.dirtyRectTolerance=0,r.__dirty=ur|Tu}(),e}(Nx),If=new ye(0,0,0,0),Pf=new ye(0,0,0,0);function zz(t,e,r){return If.copy(t.getBoundingRect()),t.transform&&If.applyTransform(t.transform),Pf.width=e,Pf.height=r,!If.intersect(Pf)}const Rr=Fz;var Qt=Math.min,Jt=Math.max,Rf=Math.sin,Nf=Math.cos,oa=Math.PI*2,k1=fo(),M1=fo(),L1=fo();function g2(t,e,r){if(t.length!==0){for(var n=t[0],i=n[0],a=n[0],o=n[1],s=n[1],u=1;u<t.length;u++)n=t[u],i=Qt(i,n[0]),a=Jt(a,n[0]),o=Qt(o,n[1]),s=Jt(s,n[1]);e[0]=i,e[1]=o,r[0]=a,r[1]=s}}function Xv(t,e,r,n,i,a){i[0]=Qt(t,r),i[1]=Qt(e,n),a[0]=Jt(t,r),a[1]=Jt(e,n)}var jv=[],Kv=[];function Vz(t,e,r,n,i,a,o,s,u,l){var c=mx,f=pt,h=c(t,r,i,o,jv);u[0]=1/0,u[1]=1/0,l[0]=-1/0,l[1]=-1/0;for(var d=0;d<h;d++){var p=f(t,r,i,o,jv[d]);u[0]=Qt(p,u[0]),l[0]=Jt(p,l[0])}h=c(e,n,a,s,Kv);for(var d=0;d<h;d++){var v=f(e,n,a,s,Kv[d]);u[1]=Qt(v,u[1]),l[1]=Jt(v,l[1])}u[0]=Qt(t,u[0]),l[0]=Jt(t,l[0]),u[0]=Qt(o,u[0]),l[0]=Jt(o,l[0]),u[1]=Qt(e,u[1]),l[1]=Jt(e,l[1]),u[1]=Qt(s,u[1]),l[1]=Jt(s,l[1])}function $z(t,e,r,n,i,a,o,s){var u=_x,l=_t,c=Jt(Qt(u(t,r,i),1),0),f=Jt(Qt(u(e,n,a),1),0),h=l(t,r,i,c),d=l(e,n,a,f);o[0]=Qt(t,i,h),o[1]=Qt(e,a,d),s[0]=Jt(t,i,h),s[1]=Jt(e,a,d)}function Gz(t,e,r,n,i,a,o,s,u){var l=Ci,c=Ai,f=Math.abs(i-a);if(f%oa<1e-4&&f>1e-4){s[0]=t-r,s[1]=e-n,u[0]=t+r,u[1]=e+n;return}if(k1[0]=Nf(i)*r+t,k1[1]=Rf(i)*n+e,M1[0]=Nf(a)*r+t,M1[1]=Rf(a)*n+e,l(s,k1,M1),c(u,k1,M1),i=i%oa,i<0&&(i=i+oa),a=a%oa,a<0&&(a=a+oa),i>a&&!o?a+=oa:i<a&&o&&(i+=oa),o){var h=a;a=i,i=h}for(var d=0;d<a;d+=Math.PI/2)d>i&&(L1[0]=Nf(d)*r+t,L1[1]=Rf(d)*n+e,l(s,L1,s),c(u,L1,u))}var $e={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},sa=[],ua=[],tn=[],ri=[],rn=[],nn=[],Of=Math.min,Bf=Math.max,la=Math.cos,ca=Math.sin,Ln=Math.abs,md=Math.PI,hi=md*2,Ff=typeof Float32Array<"u",ru=[];function zf(t){var e=Math.round(t/md*1e8)/1e8;return e%2*md}function p5(t,e){var r=zf(t[0]);r<0&&(r+=hi);var n=r-t[0],i=t[1];i+=n,!e&&i-r>=hi?i=r+hi:e&&r-i>=hi?i=r-hi:!e&&r>i?i=r+(hi-zf(r-i)):e&&r<i&&(i=r-(hi-zf(i-r))),t[0]=r,t[1]=i}var Cn=function(){function t(e){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,e&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(e,r,n){n=n||0,n>0&&(this._ux=Ln(n/nc/e)||0,this._uy=Ln(n/nc/r)||0)},t.prototype.setDPR=function(e){this.dpr=e},t.prototype.setContext=function(e){this._ctx=e},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(e,r){return this._drawPendingPt(),this.addData($e.M,e,r),this._ctx&&this._ctx.moveTo(e,r),this._x0=e,this._y0=r,this._xi=e,this._yi=r,this},t.prototype.lineTo=function(e,r){var n=Ln(e-this._xi),i=Ln(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData($e.L,e,r),this._ctx&&a&&this._ctx.lineTo(e,r),a)this._xi=e,this._yi=r,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=e,this._pendingPtY=r,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(e,r,n,i,a,o){return this._drawPendingPt(),this.addData($e.C,e,r,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(e,r,n,i,a,o),this._xi=a,this._yi=o,this},t.prototype.quadraticCurveTo=function(e,r,n,i){return this._drawPendingPt(),this.addData($e.Q,e,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(e,r,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(e,r,n,i,a,o){this._drawPendingPt(),ru[0]=i,ru[1]=a,p5(ru,o),i=ru[0],a=ru[1];var s=a-i;return this.addData($e.A,e,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(e,r,n,i,a,o),this._xi=la(a)*n+e,this._yi=ca(a)*n+r,this},t.prototype.arcTo=function(e,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(e,r,n,i,a),this},t.prototype.rect=function(e,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(e,r,n,i),this.addData($e.R,e,r,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData($e.Z);var e=this._ctx,r=this._x0,n=this._y0;return e&&e.closePath(),this._xi=r,this._yi=n,this},t.prototype.fill=function(e){e&&e.fill(),this.toStatic()},t.prototype.stroke=function(e){e&&e.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(e){var r=e.length;!(this.data&&this.data.length===r)&&Ff&&(this.data=new Float32Array(r));for(var n=0;n<r;n++)this.data[n]=e[n];this._len=r},t.prototype.appendPath=function(e){e instanceof Array||(e=[e]);for(var r=e.length,n=0,i=this._len,a=0;a<r;a++)n+=e[a].len();Ff&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var a=0;a<r;a++)for(var o=e[a].data,s=0;s<o.length;s++)this.data[i++]=o[s];this._len=i},t.prototype.addData=function(e,r,n,i,a,o,s,u,l){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var f=0;f<arguments.length;f++)c[this._len++]=arguments[f]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var e=[],r=0;r<this._len;r++)e[r]=this.data[r];this.data=e}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var e=this.data;e instanceof Array&&(e.length=this._len,Ff&&this._len>11&&(this.data=new Float32Array(e)))}},t.prototype.getBoundingRect=function(){tn[0]=tn[1]=rn[0]=rn[1]=Number.MAX_VALUE,ri[0]=ri[1]=nn[0]=nn[1]=-Number.MAX_VALUE;var e=this.data,r=0,n=0,i=0,a=0,o;for(o=0;o<this._len;){var s=e[o++],u=o===1;switch(u&&(r=e[o],n=e[o+1],i=r,a=n),s){case $e.M:r=i=e[o++],n=a=e[o++],rn[0]=i,rn[1]=a,nn[0]=i,nn[1]=a;break;case $e.L:Xv(r,n,e[o],e[o+1],rn,nn),r=e[o++],n=e[o++];break;case $e.C:Vz(r,n,e[o++],e[o++],e[o++],e[o++],e[o],e[o+1],rn,nn),r=e[o++],n=e[o++];break;case $e.Q:$z(r,n,e[o++],e[o++],e[o],e[o+1],rn,nn),r=e[o++],n=e[o++];break;case $e.A:var l=e[o++],c=e[o++],f=e[o++],h=e[o++],d=e[o++],p=e[o++]+d;o+=1;var v=!e[o++];u&&(i=la(d)*f+l,a=ca(d)*h+c),Gz(l,c,f,h,d,p,v,rn,nn),r=la(p)*f+l,n=ca(p)*h+c;break;case $e.R:i=r=e[o++],a=n=e[o++];var g=e[o++],m=e[o++];Xv(i,a,i+g,a+m,rn,nn);break;case $e.Z:r=i,n=a;break}Ci(tn,tn,rn),Ai(ri,ri,nn)}return o===0&&(tn[0]=tn[1]=ri[0]=ri[1]=0),new ye(tn[0],tn[1],ri[0]-tn[0],ri[1]-tn[1])},t.prototype._calculateLength=function(){var e=this.data,r=this._len,n=this._ux,i=this._uy,a=0,o=0,s=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,c=0,f=0,h=0;h<r;){var d=e[h++],p=h===1;p&&(a=e[h],o=e[h+1],s=a,u=o);var v=-1;switch(d){case $e.M:a=s=e[h++],o=u=e[h++];break;case $e.L:{var g=e[h++],m=e[h++],y=g-a,_=m-o;(Ln(y)>n||Ln(_)>i||h===r-1)&&(v=Math.sqrt(y*y+_*_),a=g,o=m);break}case $e.C:{var b=e[h++],x=e[h++],g=e[h++],m=e[h++],w=e[h++],S=e[h++];v=eF(a,o,b,x,g,m,w,S,10),a=w,o=S;break}case $e.Q:{var b=e[h++],x=e[h++],g=e[h++],m=e[h++];v=rF(a,o,b,x,g,m,10),a=g,o=m;break}case $e.A:var C=e[h++],A=e[h++],T=e[h++],D=e[h++],k=e[h++],M=e[h++],I=M+k;h+=1,p&&(s=la(k)*T+C,u=ca(k)*D+A),v=Bf(T,D)*Of(hi,Math.abs(M)),a=la(I)*T+C,o=ca(I)*D+A;break;case $e.R:{s=a=e[h++],u=o=e[h++];var N=e[h++],L=e[h++];v=N*2+L*2;break}case $e.Z:{var y=s-a,_=u-o;v=Math.sqrt(y*y+_*_),a=s,o=u;break}}v>=0&&(l[f++]=v,c+=v)}return this._pathLen=c,c},t.prototype.rebuildPath=function(e,r){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,u,l,c,f,h,d=r<1,p,v,g=0,m=0,y,_=0,b,x;if(!(d&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,v=this._pathLen,y=r*v,!y)))e:for(var w=0;w<o;){var S=n[w++],C=w===1;switch(C&&(l=n[w],c=n[w+1],s=l,u=c),S!==$e.L&&_>0&&(e.lineTo(b,x),_=0),S){case $e.M:s=l=n[w++],u=c=n[w++],e.moveTo(l,c);break;case $e.L:{f=n[w++],h=n[w++];var A=Ln(f-l),T=Ln(h-c);if(A>i||T>a){if(d){var D=p[m++];if(g+D>y){var k=(y-g)/D;e.lineTo(l*(1-k)+f*k,c*(1-k)+h*k);break e}g+=D}e.lineTo(f,h),l=f,c=h,_=0}else{var M=A*A+T*T;M>_&&(b=f,x=h,_=M)}break}case $e.C:{var I=n[w++],N=n[w++],L=n[w++],O=n[w++],P=n[w++],R=n[w++];if(d){var D=p[m++];if(g+D>y){var k=(y-g)/D;zi(l,I,L,P,k,sa),zi(c,N,O,R,k,ua),e.bezierCurveTo(sa[1],ua[1],sa[2],ua[2],sa[3],ua[3]);break e}g+=D}e.bezierCurveTo(I,N,L,O,P,R),l=P,c=R;break}case $e.Q:{var I=n[w++],N=n[w++],L=n[w++],O=n[w++];if(d){var D=p[m++];if(g+D>y){var k=(y-g)/D;cl(l,I,L,k,sa),cl(c,N,O,k,ua),e.quadraticCurveTo(sa[1],ua[1],sa[2],ua[2]);break e}g+=D}e.quadraticCurveTo(I,N,L,O),l=L,c=O;break}case $e.A:var B=n[w++],z=n[w++],V=n[w++],U=n[w++],q=n[w++],K=n[w++],xe=n[w++],Ve=!n[w++],ue=V>U?V:U,ee=Ln(V-U)>.001,he=q+K,Q=!1;if(d){var D=p[m++];g+D>y&&(he=q+K*(y-g)/D,Q=!0),g+=D}if(ee&&e.ellipse?e.ellipse(B,z,V,U,xe,q,he,Ve):e.arc(B,z,ue,q,he,Ve),Q)break e;C&&(s=la(q)*V+B,u=ca(q)*U+z),l=la(he)*V+B,c=ca(he)*U+z;break;case $e.R:s=l=n[w],u=c=n[w+1],f=n[w++],h=n[w++];var se=n[w++],Fe=n[w++];if(d){var D=p[m++];if(g+D>y){var Pe=y-g;e.moveTo(f,h),e.lineTo(f+Of(Pe,se),h),Pe-=se,Pe>0&&e.lineTo(f+se,h+Of(Pe,Fe)),Pe-=Fe,Pe>0&&e.lineTo(f+Bf(se-Pe,0),h+Fe),Pe-=se,Pe>0&&e.lineTo(f,h+Bf(Fe-Pe,0));break e}g+=D}e.rect(f,h,se,Fe);break;case $e.Z:if(d){var D=p[m++];if(g+D>y){var k=(y-g)/D;e.lineTo(l*(1-k)+s*k,c*(1-k)+u*k);break e}g+=D}e.closePath(),l=s,c=u}}},t.prototype.clone=function(){var e=new t,r=this.data;return e.data=r.slice?r.slice():Array.prototype.slice.call(r),e._len=this._len,e},t.CMD=$e,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function gi(t,e,r,n,i,a,o){if(i===0)return!1;var s=i,u=0,l=t;if(o>e+s&&o>n+s||o<e-s&&o<n-s||a>t+s&&a>r+s||a<t-s&&a<r-s)return!1;if(t!==r)u=(e-n)/(t-r),l=(t*n-r*e)/(t-r);else return Math.abs(a-t)<=s/2;var c=u*a-o+l,f=c*c/(u*u+1);return f<=s/2*s/2}function Hz(t,e,r,n,i,a,o,s,u,l,c){if(u===0)return!1;var f=u;if(c>e+f&&c>n+f&&c>a+f&&c>s+f||c<e-f&&c<n-f&&c<a-f&&c<s-f||l>t+f&&l>r+f&&l>i+f&&l>o+f||l<t-f&&l<r-f&&l<i-f&&l<o-f)return!1;var h=yx(t,e,r,n,i,a,o,s,l,c,null);return h<=f/2}function tw(t,e,r,n,i,a,o,s,u){if(o===0)return!1;var l=o;if(u>e+l&&u>n+l&&u>a+l||u<e-l&&u<n-l&&u<a-l||s>t+l&&s>r+l&&s>i+l||s<t-l&&s<r-l&&s<i-l)return!1;var c=bx(t,e,r,n,i,a,s,u,null);return c<=l/2}var Qv=Math.PI*2;function lr(t){return t%=Qv,t<0&&(t+=Qv),t}var nu=Math.PI*2;function Uz(t,e,r,n,i,a,o,s,u){if(o===0)return!1;var l=o;s-=t,u-=e;var c=Math.sqrt(s*s+u*u);if(c-l>r||c+l<r)return!1;if(Math.abs(n-i)%nu<1e-4)return!0;if(a){var f=n;n=lr(i),i=lr(f)}else n=lr(n),i=lr(i);n>i&&(i+=nu);var h=Math.atan2(u,s);return h<0&&(h+=nu),h>=n&&h<=i||h+nu>=n&&h+nu<=i}function Nn(t,e,r,n,i,a){if(a>e&&a>n||a<e&&a<n||n===e)return 0;var o=(a-e)/(n-e),s=n<e?1:-1;(o===1||o===0)&&(s=n<e?.5:-.5);var u=o*(r-t)+t;return u===i?1/0:u>i?s:0}var ni=Cn.CMD,fa=Math.PI*2,Wz=1e-4;function qz(t,e){return Math.abs(t-e)<Wz}var Ht=[-1,-1,-1],Cr=[-1,-1];function Zz(){var t=Cr[0];Cr[0]=Cr[1],Cr[1]=t}function Yz(t,e,r,n,i,a,o,s,u,l){if(l>e&&l>n&&l>a&&l>s||l<e&&l<n&&l<a&&l<s)return 0;var c=J0(e,n,a,s,l,Ht);if(c===0)return 0;for(var f=0,h=-1,d=void 0,p=void 0,v=0;v<c;v++){var g=Ht[v],m=g===0||g===1?.5:1,y=pt(t,r,i,o,g);y<u||(h<0&&(h=mx(e,n,a,s,Cr),Cr[1]<Cr[0]&&h>1&&Zz(),d=pt(e,n,a,s,Cr[0]),h>1&&(p=pt(e,n,a,s,Cr[1]))),h===2?g<Cr[0]?f+=d<e?m:-m:g<Cr[1]?f+=p<d?m:-m:f+=s<p?m:-m:g<Cr[0]?f+=d<e?m:-m:f+=s<d?m:-m)}return f}function Xz(t,e,r,n,i,a,o,s){if(s>e&&s>n&&s>a||s<e&&s<n&&s<a)return 0;var u=tF(e,n,a,s,Ht);if(u===0)return 0;var l=_x(e,n,a);if(l>=0&&l<=1){for(var c=0,f=_t(e,n,a,l),h=0;h<u;h++){var d=Ht[h]===0||Ht[h]===1?.5:1,p=_t(t,r,i,Ht[h]);p<o||(Ht[h]<l?c+=f<e?d:-d:c+=a<f?d:-d)}return c}else{var d=Ht[0]===0||Ht[0]===1?.5:1,p=_t(t,r,i,Ht[0]);return p<o?0:a<e?d:-d}}function jz(t,e,r,n,i,a,o,s){if(s-=e,s>r||s<-r)return 0;var u=Math.sqrt(r*r-s*s);Ht[0]=-u,Ht[1]=u;var l=Math.abs(n-i);if(l<1e-4)return 0;if(l>=fa-1e-4){n=0,i=fa;var c=a?1:-1;return o>=Ht[0]+t&&o<=Ht[1]+t?c:0}if(n>i){var f=n;n=i,i=f}n<0&&(n+=fa,i+=fa);for(var h=0,d=0;d<2;d++){var p=Ht[d];if(p+t>o){var v=Math.atan2(s,p),c=a?1:-1;v<0&&(v=fa+v),(v>=n&&v<=i||v+fa>=n&&v+fa<=i)&&(v>Math.PI/2&&v<Math.PI*1.5&&(c=-c),h+=c)}}return h}function rw(t,e,r,n,i){for(var a=t.data,o=t.len(),s=0,u=0,l=0,c=0,f=0,h,d,p=0;p<o;){var v=a[p++],g=p===1;switch(v===ni.M&&p>1&&(r||(s+=Nn(u,l,c,f,n,i))),g&&(u=a[p],l=a[p+1],c=u,f=l),v){case ni.M:c=a[p++],f=a[p++],u=c,l=f;break;case ni.L:if(r){if(gi(u,l,a[p],a[p+1],e,n,i))return!0}else s+=Nn(u,l,a[p],a[p+1],n,i)||0;u=a[p++],l=a[p++];break;case ni.C:if(r){if(Hz(u,l,a[p++],a[p++],a[p++],a[p++],a[p],a[p+1],e,n,i))return!0}else s+=Yz(u,l,a[p++],a[p++],a[p++],a[p++],a[p],a[p+1],n,i)||0;u=a[p++],l=a[p++];break;case ni.Q:if(r){if(tw(u,l,a[p++],a[p++],a[p],a[p+1],e,n,i))return!0}else s+=Xz(u,l,a[p++],a[p++],a[p],a[p+1],n,i)||0;u=a[p++],l=a[p++];break;case ni.A:var m=a[p++],y=a[p++],_=a[p++],b=a[p++],x=a[p++],w=a[p++];p+=1;var S=!!(1-a[p++]);h=Math.cos(x)*_+m,d=Math.sin(x)*b+y,g?(c=h,f=d):s+=Nn(u,l,h,d,n,i);var C=(n-m)*b/_+m;if(r){if(Uz(m,y,b,x,x+w,S,e,C,i))return!0}else s+=jz(m,y,b,x,x+w,S,C,i);u=Math.cos(x+w)*_+m,l=Math.sin(x+w)*b+y;break;case ni.R:c=u=a[p++],f=l=a[p++];var A=a[p++],T=a[p++];if(h=c+A,d=f+T,r){if(gi(c,f,h,f,e,n,i)||gi(h,f,h,d,e,n,i)||gi(h,d,c,d,e,n,i)||gi(c,d,c,f,e,n,i))return!0}else s+=Nn(h,f,h,d,n,i),s+=Nn(c,d,c,f,n,i);break;case ni.Z:if(r){if(gi(u,l,c,f,e,n,i))return!0}else s+=Nn(u,l,c,f,n,i);u=c,l=f;break}}return!r&&!qz(l,f)&&(s+=Nn(u,l,c,f,n,i)||0),s!==0}function Kz(t,e,r){return rw(t,0,!1,e,r)}function Qz(t,e,r,n){return rw(t,e,!0,r,n)}var ac=ae({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},qa),Jz={style:ae({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},v2.style)},Vf=wn.concat(["invisible","culling","z","z2","zlevel","parent"]),eV=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.update=function(){var r=this;t.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(u){r.buildPath(u,r.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s<Vf.length;++s)i[Vf[s]]=this[Vf[s]];i.__dirty|=ur}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(r){var n=Se(r);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var a=0;a<n.length;a++){var o=n[a],s=r[o];o==="style"?this.style?$(this.style,s):this.useStyle(s):o==="shape"?$(this.shape,s):t.prototype.attrKV.call(this,o,s)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var r=this.style.fill;if(r!=="none"){if(Z(r)){var n=tc(r,0);return n>.5?cd:n>.2?PF:fd}else if(r)return fd}return cd},e.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(Z(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=tc(r,0)<ld;if(a===o)return n}},e.prototype.buildPath=function(r,n,i){},e.prototype.pathUpdated=function(){this.__dirty&=~jo},e.prototype.getUpdatedPathProxy=function(r){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,r),this.path},e.prototype.createPathProxy=function(){this.path=new Cn(!1)},e.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return!(n==null||n==="none"||!(r.lineWidth>0))},e.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},e.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,i=!r;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&jo)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||i){s.copy(r);var u=n.strokeNoScale?this.getLineScale():1,l=n.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;l=Math.max(l,c??4)}u>1e-10&&(s.width+=l/u,s.height+=l/u,s.x-=l/u/2,s.y-=l/u/2)}return s}return r},e.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect(),o=this.style;if(r=i[0],n=i[1],a.contain(r,n)){var s=this.path;if(this.hasStroke()){var u=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(u=Math.max(u,this.strokeContainThreshold)),Qz(s,u/l,r,n)))return!0}if(this.hasFill())return Kz(s,r,n)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=jo,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(r){return this.animate("shape",r)},e.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):t.prototype.attrKV.call(this,r,n)},e.prototype.setShape=function(r,n){var i=this.shape;return i||(i=this.shape={}),typeof r=="string"?i[r]=n:$(i,r),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&jo)},e.prototype.createStyle=function(r){return s2(ac,r)},e.prototype._innerSaveToNormal=function(r){t.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=$({},this.shape))},e.prototype._applyStateObj=function(r,n,i,a,o,s){t.prototype._applyStateObj.call(this,r,n,i,a,o,s);var u=!(n&&a),l;if(n&&n.shape?o?a?l=n.shape:(l=$({},i.shape),$(l,n.shape)):(l=$({},a?this.shape:i.shape),$(l,n.shape)):u&&(l=i.shape),l)if(o){this.shape=$({},this.shape);for(var c={},f=Se(l),h=0;h<f.length;h++){var d=f[h];typeof l[d]=="object"?this.shape[d]=l[d]:c[d]=l[d]}this._transitionState(r,{shape:c},s)}else this.shape=l,this.dirtyShape()},e.prototype._mergeStates=function(r){for(var n=t.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var o=r[a];o.shape&&(i=i||{},this._mergeStyle(i,o.shape))}return i&&(n.shape=i),n},e.prototype.getAnimationStyleProps=function(){return Jz},e.prototype.isZeroArea=function(){return!1},e.extend=function(r){var n=function(a){F(o,a);function o(s){var u=a.call(this,s)||this;return r.init&&r.init.call(u,s),u}return o.prototype.getDefaultStyle=function(){return oe(r.style)},o.prototype.getDefaultShape=function(){return oe(r.shape)},o}(e);for(var i in r)typeof r[i]=="function"&&(n.prototype[i]=r[i]);return n},e.initDefaultProps=function(){var r=e.prototype;r.type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,r.__dirty=ur|Tu|jo}(),e}(Rr);const we=eV;var tV=ae({strokeFirst:!0,font:Bi,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},ac),nw=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return n!=null&&n!=="none"&&r.lineWidth>0},e.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},e.prototype.createStyle=function(r){return s2(tV,r)},e.prototype.setBoundingRect=function(r){this._rect=r},e.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var i=zl(n,r.font,r.textAlign,r.textBaseline);if(i.x+=r.x||0,i.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},e.initDefaultProps=function(){var r=e.prototype;r.dirtyRectTolerance=10}(),e}(Rr);nw.prototype.type="tspan";const pl=nw;var rV=ae({x:0,y:0},qa),nV={style:ae({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},v2.style)};function iV(t){return!!(t&&typeof t!="string"&&t.width&&t.height)}var iw=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.createStyle=function(r){return s2(rV,r)},e.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=iV(n.image)?n.image:this.__image;if(!a)return 0;var o=r==="width"?"height":"width",s=n[o];return s==null?a[r]:a[r]/a[o]*s},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return nV},e.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new ye(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},e}(Rr);iw.prototype.type="image";const Lt=iw;function aV(t,e){var r=e.x,n=e.y,i=e.width,a=e.height,o=e.r,s,u,l,c;i<0&&(r=r+i,i=-i),a<0&&(n=n+a,a=-a),typeof o=="number"?s=u=l=c=o:o instanceof Array?o.length===1?s=u=l=c=o[0]:o.length===2?(s=l=o[0],u=c=o[1]):o.length===3?(s=o[0],u=c=o[1],l=o[2]):(s=o[0],u=o[1],l=o[2],c=o[3]):s=u=l=c=0;var f;s+u>i&&(f=s+u,s*=i/f,u*=i/f),l+c>i&&(f=l+c,l*=i/f,c*=i/f),u+l>a&&(f=u+l,u*=a/f,l*=a/f),s+c>a&&(f=s+c,s*=a/f,c*=a/f),t.moveTo(r+s,n),t.lineTo(r+i-u,n),u!==0&&t.arc(r+i-u,n+u,u,-Math.PI/2,0),t.lineTo(r+i,n+a-l),l!==0&&t.arc(r+i-l,n+a-l,l,0,Math.PI/2),t.lineTo(r+c,n+a),c!==0&&t.arc(r+c,n+a-c,c,Math.PI/2,Math.PI),t.lineTo(r,n+s),s!==0&&t.arc(r+s,n+s,s,Math.PI,Math.PI*1.5)}var ns=Math.round;function aw(t,e,r){if(e){var n=e.x1,i=e.x2,a=e.y1,o=e.y2;t.x1=n,t.x2=i,t.y1=a,t.y2=o;var s=r&&r.lineWidth;return s&&(ns(n*2)===ns(i*2)&&(t.x1=t.x2=Oa(n,s,!0)),ns(a*2)===ns(o*2)&&(t.y1=t.y2=Oa(a,s,!0))),t}}function ow(t,e,r){if(e){var n=e.x,i=e.y,a=e.width,o=e.height;t.x=n,t.y=i,t.width=a,t.height=o;var s=r&&r.lineWidth;return s&&(t.x=Oa(n,s,!0),t.y=Oa(i,s,!0),t.width=Math.max(Oa(n+a,s,!1)-t.x,a===0?0:1),t.height=Math.max(Oa(i+o,s,!1)-t.y,o===0?0:1)),t}}function Oa(t,e,r){if(!e)return t;var n=ns(t*2);return(n+ns(e))%2===0?n/2:(n+(r?1:-1))/2}var oV=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),sV={},sw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new oV},e.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var u=ow(sV,n,this.style);i=u.x,a=u.y,o=u.width,s=u.height,u.r=n.r,n=u}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?aV(r,n):r.rect(i,a,o,s)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(we);sw.prototype.type="rect";const Ee=sw;var Jv={fill:"#000"},e3=2,uV={style:ae({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},v2.style)},uw=function(t){F(e,t);function e(r){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Jv,n.attr(r),n}return e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r<this._children.length;r++){var n=this._children[r];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var r=this.innerTransformable;r?(r.updateTransform(),r.transform&&(this.transform=r.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(r){var n=this.innerTransformable;return n?n.getLocalTransform(r):t.prototype.getLocalTransform.call(this,r)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){this._childCursor=0,fV(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(r){t.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=r},e.prototype.removeSelfFromZr=function(r){t.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var r=new ye(0,0,0,0),n=this._children,i=[],a=null,o=0;o<n.length;o++){var s=n[o],u=s.getBoundingRect(),l=s.getLocalTransform(i);l?(r.copy(u),r.applyTransform(l),a=a||r.clone(),a.union(r)):(a=a||u.clone(),a.union(u))}this._rect=a||r}return this._rect},e.prototype.setDefaultTextStyle=function(r){this._defaultStyle=r||Jv},e.prototype.setTextContent=function(r){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},e.prototype._mergeStyle=function(r,n){if(!n)return r;var i=n.rich,a=r.rich||i&&{};return $(r,n),i&&a?(this._mergeRich(a,i),r.rich=a):a&&(r.rich=a),r},e.prototype._mergeRich=function(r,n){for(var i=Se(n),a=0;a<i.length;a++){var o=i[a];r[o]=r[o]||{},$(r[o],n[o])}},e.prototype.getAnimationStyleProps=function(){return uV},e.prototype._getOrCreateChild=function(r){var n=this._children[this._childCursor];return(!n||!(n instanceof r))&&(n=new r),this._children[this._childCursor++]=n,n.__zr=this.__zr,n.parent=this,n},e.prototype._updatePlainTexts=function(){var r=this.style,n=r.font||Bi,i=r.padding,a=s3(r),o=Mz(a,r),s=$f(r),u=!!r.backgroundColor,l=o.outerHeight,c=o.outerWidth,f=o.contentWidth,h=o.lines,d=o.lineHeight,p=this._defaultStyle;this.isTruncated=!!o.isTruncated;var v=r.x||0,g=r.y||0,m=r.align||p.align||"left",y=r.verticalAlign||p.verticalAlign||"top",_=v,b=Ko(g,o.contentHeight,y);if(s||i){var x=Eu(v,c,m),w=Ko(g,l,y);s&&this._renderBackground(r,r,x,w,c,l)}b+=d/2,i&&(_=o3(v,m,i),y==="top"?b+=i[0]:y==="bottom"&&(b-=i[2]));for(var S=0,C=!1,A=a3("fill"in r?r.fill:(C=!0,p.fill)),T=i3("stroke"in r?r.stroke:!u&&(!p.autoStroke||C)?(S=e3,p.stroke):null),D=r.textShadowBlur>0,k=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),M=o.calculatedLineHeight,I=0;I<h.length;I++){var N=this._getOrCreateChild(pl),L=N.createStyle();N.useStyle(L),L.text=h[I],L.x=_,L.y=b,m&&(L.textAlign=m),L.textBaseline="middle",L.opacity=r.opacity,L.strokeFirst=!0,D&&(L.shadowBlur=r.textShadowBlur||0,L.shadowColor=r.textShadowColor||"transparent",L.shadowOffsetX=r.textShadowOffsetX||0,L.shadowOffsetY=r.textShadowOffsetY||0),L.stroke=T,L.fill=A,T&&(L.lineWidth=r.lineWidth||S,L.lineDash=r.lineDash,L.lineDashOffset=r.lineDashOffset||0),L.font=n,r3(L,r),b+=d,k&&N.setBoundingRect(new ye(Eu(L.x,f,L.textAlign),Ko(L.y,M,L.textBaseline),f,M))}},e.prototype._updateRichTexts=function(){var r=this.style,n=s3(r),i=Pz(n,r),a=i.width,o=i.outerWidth,s=i.outerHeight,u=r.padding,l=r.x||0,c=r.y||0,f=this._defaultStyle,h=r.align||f.align,d=r.verticalAlign||f.verticalAlign;this.isTruncated=!!i.isTruncated;var p=Eu(l,o,h),v=Ko(c,s,d),g=p,m=v;u&&(g+=u[3],m+=u[0]);var y=g+a;$f(r)&&this._renderBackground(r,r,p,v,o,s);for(var _=!!r.backgroundColor,b=0;b<i.lines.length;b++){for(var x=i.lines[b],w=x.tokens,S=w.length,C=x.lineHeight,A=x.width,T=0,D=g,k=y,M=S-1,I=void 0;T<S&&(I=w[T],!I.align||I.align==="left");)this._placeToken(I,r,C,m,D,"left",_),A-=I.width,D+=I.width,T++;for(;M>=0&&(I=w[M],I.align==="right");)this._placeToken(I,r,C,m,k,"right",_),A-=I.width,k-=I.width,M--;for(D+=(a-(D-g)-(y-k)-A)/2;T<=M;)I=w[T],this._placeToken(I,r,C,m,D+I.width/2,"center",_),D+=I.width,T++;m+=C}},e.prototype._placeToken=function(r,n,i,a,o,s,u){var l=n.rich[r.styleName]||{};l.text=r.text;var c=r.verticalAlign,f=a+i/2;c==="top"?f=a+r.height/2:c==="bottom"&&(f=a+i-r.height/2);var h=!r.isLineHolder&&$f(l);h&&this._renderBackground(l,n,s==="right"?o-r.width:s==="center"?o-r.width/2:o,f-r.height/2,r.width,r.height);var d=!!l.backgroundColor,p=r.textPadding;p&&(o=o3(o,s,p),f-=r.height/2-p[0]-r.innerHeight/2);var v=this._getOrCreateChild(pl),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,y=!1,_=0,b=a3("fill"in l?l.fill:"fill"in n?n.fill:(y=!0,m.fill)),x=i3("stroke"in l?l.stroke:"stroke"in n?n.stroke:!d&&!u&&(!m.autoStroke||y)?(_=e3,m.stroke):null),w=l.textShadowBlur>0||n.textShadowBlur>0;g.text=r.text,g.x=o,g.y=f,w&&(g.shadowBlur=l.textShadowBlur||n.textShadowBlur||0,g.shadowColor=l.textShadowColor||n.textShadowColor||"transparent",g.shadowOffsetX=l.textShadowOffsetX||n.textShadowOffsetX||0,g.shadowOffsetY=l.textShadowOffsetY||n.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=r.font||Bi,g.opacity=Lr(l.opacity,n.opacity,1),r3(g,l),x&&(g.lineWidth=Lr(l.lineWidth,n.lineWidth,_),g.lineDash=fe(l.lineDash,n.lineDash),g.lineDashOffset=n.lineDashOffset||0,g.stroke=x),b&&(g.fill=b);var S=r.contentWidth,C=r.contentHeight;v.setBoundingRect(new ye(Eu(g.x,S,g.textAlign),Ko(g.y,C,g.textBaseline),S,C))},e.prototype._renderBackground=function(r,n,i,a,o,s){var u=r.backgroundColor,l=r.borderWidth,c=r.borderColor,f=u&&u.image,h=u&&!f,d=r.borderRadius,p=this,v,g;if(h||r.lineHeight||l&&c){v=this._getOrCreateChild(Ee),v.useStyle(v.createStyle()),v.style.fill=null;var m=v.shape;m.x=i,m.y=a,m.width=o,m.height=s,m.r=d,v.dirtyShape()}if(h){var y=v.style;y.fill=u||null,y.fillOpacity=fe(r.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Lt),g.onload=function(){p.dirtyStyle()};var _=g.style;_.image=u.image,_.x=i,_.y=a,_.width=o,_.height=s}if(l&&c){var y=v.style;y.lineWidth=l,y.stroke=c,y.strokeOpacity=fe(r.strokeOpacity,1),y.lineDash=r.borderDash,y.lineDashOffset=r.borderDashOffset||0,v.strokeContainThreshold=0,v.hasFill()&&v.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var b=(v||g).style;b.shadowBlur=r.shadowBlur||0,b.shadowColor=r.shadowColor||"transparent",b.shadowOffsetX=r.shadowOffsetX||0,b.shadowOffsetY=r.shadowOffsetY||0,b.opacity=Lr(r.opacity,n.opacity,1)},e.makeFont=function(r){var n="";return cw(r)&&(n=[r.fontStyle,r.fontWeight,lw(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&Wr(n)||r.textFont||r.font},e}(Rr),lV={left:!0,right:1,center:1},cV={top:1,bottom:1,middle:1},t3=["fontStyle","fontWeight","fontSize","fontFamily"];function lw(t){return typeof t=="string"&&(t.indexOf("px")!==-1||t.indexOf("rem")!==-1||t.indexOf("em")!==-1)?t:isNaN(+t)?j4+"px":t+"px"}function r3(t,e){for(var r=0;r<t3.length;r++){var n=t3[r],i=e[n];i!=null&&(t[n]=i)}}function cw(t){return t.fontSize!=null||t.fontFamily||t.fontWeight}function fV(t){return n3(t),E(t.rich,n3),t}function n3(t){if(t){t.font=uw.makeFont(t);var e=t.align;e==="middle"&&(e="center"),t.align=e==null||lV[e]?e:"left";var r=t.verticalAlign;r==="center"&&(r="middle"),t.verticalAlign=r==null||cV[r]?r:"top";var n=t.padding;n&&(t.padding=t5(t.padding))}}function i3(t,e){return t==null||e<=0||t==="transparent"||t==="none"?null:t.image||t.colorStops?"#000":t}function a3(t){return t==null||t==="none"?null:t.image||t.colorStops?"#000":t}function o3(t,e,r){return e==="right"?t-r[1]:e==="center"?t+r[3]/2-r[1]/2:t+r[3]}function s3(t){var e=t.text;return e!=null&&(e+=""),e}function $f(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const ke=uw;var ce=Ae(),yd=function(t,e,r,n){if(n){var i=ce(n);i.dataIndex=r,i.dataType=e,i.seriesIndex=t,i.ssrType="chart",n.type==="group"&&n.traverse(function(a){var o=ce(a);o.seriesIndex=t,o.dataIndex=r,o.dataType=e,o.ssrType="chart"})}},u3=1,l3={},fw=Ae(),v5=Ae(),g5=0,$l=1,m2=2,Xt=["emphasis","blur","select"],vl=["normal","emphasis","blur","select"],Is=10,hV=9,Za="highlight",M0="downplay",qu="select",L0="unselect",Zu="toggleSelect";function ko(t){return t!=null&&t!=="none"}function y2(t,e,r){t.onHoverStateChange&&(t.hoverState||0)!==r&&t.onHoverStateChange(e),t.hoverState=r}function hw(t){y2(t,"emphasis",m2)}function dw(t){t.hoverState===m2&&y2(t,"normal",g5)}function m5(t){y2(t,"blur",$l)}function pw(t){t.hoverState===$l&&y2(t,"normal",g5)}function dV(t){t.selected=!0}function pV(t){t.selected=!1}function c3(t,e,r){e(t,r)}function Qn(t,e,r){c3(t,e,r),t.isGroup&&t.traverse(function(n){c3(n,e,r)})}function oc(t,e){switch(e){case"emphasis":t.hoverState=m2;break;case"normal":t.hoverState=g5;break;case"blur":t.hoverState=$l;break;case"select":t.selected=!0}}function vV(t,e,r,n){for(var i=t.style,a={},o=0;o<e.length;o++){var s=e[o],u=i[s];a[s]=u??(n&&n[s])}for(var o=0;o<t.animators.length;o++){var l=t.animators[o];l.__fromStateTransition&&l.__fromStateTransition.indexOf(r)<0&&l.targetName==="style"&&l.saveTo(a,e)}return a}function gV(t,e,r,n){var i=r&&_e(r,"select")>=0,a=!1;if(t instanceof we){var o=fw(t),s=i&&o.selectFill||o.normalFill,u=i&&o.selectStroke||o.normalStroke;if(ko(s)||ko(u)){n=n||{};var l=n.style||{};l.fill==="inherit"?(a=!0,n=$({},n),l=$({},l),l.fill=s):!ko(l.fill)&&ko(s)?(a=!0,n=$({},n),l=$({},l),l.fill=rd(s)):!ko(l.stroke)&&ko(u)&&(a||(n=$({},n),l=$({},l)),l.stroke=rd(u)),n.style=l}}if(n&&n.z2==null){a||(n=$({},n));var c=t.z2EmphasisLift;n.z2=t.z2+(c??Is)}return n}function mV(t,e,r){if(r&&r.z2==null){r=$({},r);var n=t.z2SelectLift;r.z2=t.z2+(n??hV)}return r}function yV(t,e,r){var n=_e(t.currentStates,e)>=0,i=t.style.opacity,a=n?null:vV(t,["opacity"],e,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=$({},r),o=$({opacity:n?i:a.opacity*.1},o),r.style=o),r}function Gf(t,e){var r=this.states[t];if(this.style){if(t==="emphasis")return gV(this,t,e,r);if(t==="blur")return yV(this,t,r);if(t==="select")return mV(this,t,r)}return r}function ao(t){t.stateProxy=Gf;var e=t.getTextContent(),r=t.getTextGuideLine();e&&(e.stateProxy=Gf),r&&(r.stateProxy=Gf)}function f3(t,e){!yw(t,e)&&!t.__highByOuter&&Qn(t,hw)}function h3(t,e){!yw(t,e)&&!t.__highByOuter&&Qn(t,dw)}function Zn(t,e){t.__highByOuter|=1<<(e||0),Qn(t,hw)}function Yn(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Qn(t,dw)}function vw(t){Qn(t,m5)}function y5(t){Qn(t,pw)}function gw(t){Qn(t,dV)}function mw(t){Qn(t,pV)}function yw(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function _w(t){var e=t.getModel(),r=[],n=[];e.eachComponent(function(i,a){var o=v5(a),s=i==="series",u=s?t.getViewOfSeriesModel(a):t.getViewOfComponentModel(a);!s&&n.push(u),o.isBlured&&(u.group.traverse(function(l){pw(l)}),s&&r.push(a)),o.isBlured=!1}),E(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(r,!1,e)})}function _d(t,e,r,n){var i=n.getModel();r=r||"coordinateSystem";function a(l,c){for(var f=0;f<c.length;f++){var h=l.getItemGraphicEl(c[f]);h&&y5(h)}}if(t!=null&&!(!e||e==="none")){var o=i.getSeriesByIndex(t),s=o.coordinateSystem;s&&s.master&&(s=s.master);var u=[];i.eachSeries(function(l){var c=o===l,f=l.coordinateSystem;f&&f.master&&(f=f.master);var h=f&&s?f===s:c;if(!(r==="series"&&!c||r==="coordinateSystem"&&!h||e==="series"&&c)){var d=n.getViewOfSeriesModel(l);if(d.group.traverse(function(g){g.__highByOuter&&c&&e==="self"||m5(g)}),zt(e))a(l.getData(),e);else if(ne(e))for(var p=Se(e),v=0;v<p.length;v++)a(l.getData(p[v]),e[p[v]]);u.push(l),v5(l).isBlured=!0}}),i.eachComponent(function(l,c){if(l!=="series"){var f=n.getViewOfComponentModel(c);f&&f.toggleBlurSeries&&f.toggleBlurSeries(u,!0,i)}})}}function bd(t,e,r){if(!(t==null||e==null)){var n=r.getModel().getComponent(t,e);if(n){v5(n).isBlured=!0;var i=r.getViewOfComponentModel(n);!i||!i.focusBlurEnabled||i.group.traverse(function(a){m5(a)})}}}function _V(t,e,r){var n=t.seriesIndex,i=t.getData(e.dataType);if(!i){process.env.NODE_ENV!=="production"&&Et("Unknown dataType "+e.dataType);return}var a=no(i,e);a=(G(a)?a[0]:a)||0;var o=i.getItemGraphicEl(a);if(!o)for(var s=i.count(),u=0;!o&&u<s;)o=i.getItemGraphicEl(u++);if(o){var l=ce(o);_d(n,l.focus,l.blurScope,r)}else{var c=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);c!=null&&_d(n,c,f,r)}}function _5(t,e,r,n){var i={focusSelf:!1,dispatchers:null};if(t==null||t==="series"||e==null||r==null)return i;var a=n.getModel().getComponent(t,e);if(!a)return i;var o=n.getViewOfComponentModel(a);if(!o||!o.findHighDownDispatchers)return i;for(var s=o.findHighDownDispatchers(r),u,l=0;l<s.length;l++)if(process.env.NODE_ENV!=="production"&&!Vi(s[l])&&Et("param should be highDownDispatcher"),ce(s[l]).focus==="self"){u=!0;break}return{focusSelf:u,dispatchers:s}}function bV(t,e,r){process.env.NODE_ENV!=="production"&&!Vi(t)&&Et("param should be highDownDispatcher");var n=ce(t),i=_5(n.componentMainType,n.componentIndex,n.componentHighDownName,r),a=i.dispatchers,o=i.focusSelf;a?(o&&bd(n.componentMainType,n.componentIndex,r),E(a,function(s){return f3(s,e)})):(_d(n.seriesIndex,n.focus,n.blurScope,r),n.focus==="self"&&bd(n.componentMainType,n.componentIndex,r),f3(t,e))}function xV(t,e,r){process.env.NODE_ENV!=="production"&&!Vi(t)&&Et("param should be highDownDispatcher"),_w(r);var n=ce(t),i=_5(n.componentMainType,n.componentIndex,n.componentHighDownName,r).dispatchers;i?E(i,function(a){return h3(a,e)}):h3(t,e)}function wV(t,e,r){if(wd(e)){var n=e.dataType,i=t.getData(n),a=no(i,e);G(a)||(a=[a]),t[e.type===Zu?"toggleSelect":e.type===qu?"select":"unselect"](a,n)}}function d3(t){var e=t.getAllData();E(e,function(r){var n=r.data,i=r.type;n.eachItemGraphicEl(function(a,o){t.isSelected(o,i)?gw(a):mw(a)})})}function SV(t){var e=[];return t.eachSeries(function(r){var n=r.getAllData();E(n,function(i){i.data;var a=i.type,o=r.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:r.seriesIndex};a!=null&&(s.dataType=a),e.push(s)}})}),e}function Ya(t,e,r){Ba(t,!0),Qn(t,ao),xd(t,e,r)}function CV(t){Ba(t,!1)}function Je(t,e,r,n){n?CV(t):Ya(t,e,r)}function xd(t,e,r){var n=ce(t);e!=null?(n.focus=e,n.blurScope=r):n.focus&&(n.focus=null)}var p3=["emphasis","blur","select"],AV={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function kt(t,e,r,n){r=r||"itemStyle";for(var i=0;i<p3.length;i++){var a=p3[i],o=e.getModel([a,r]),s=t.ensureState(a);s.style=n?n(o):o[AV[r]]()}}function Ba(t,e){var r=e===!1,n=t;t.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!r||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!r)}function Vi(t){return!!(t&&t.__highDownDispatcher)}function TV(t,e,r){var n=ce(t);n.componentMainType=e.mainType,n.componentIndex=e.componentIndex,n.componentHighDownName=r}function DV(t){var e=l3[t];return e==null&&u3<=32&&(e=l3[t]=u3++),e}function wd(t){var e=t.type;return e===qu||e===L0||e===Zu}function v3(t){var e=t.type;return e===Za||e===M0}function EV(t){var e=fw(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var r=t.states.select||{};e.selectFill=r.style&&r.style.fill||null,e.selectStroke=r.style&&r.style.stroke||null}var Mo=Cn.CMD,kV=[[],[],[]],g3=Math.sqrt,MV=Math.atan2;function bw(t,e){if(e){var r=t.data,n=t.len(),i,a,o,s,u,l,c=Mo.M,f=Mo.C,h=Mo.L,d=Mo.R,p=Mo.A,v=Mo.Q;for(o=0,s=0;o<n;){switch(i=r[o++],s=o,a=0,i){case c:a=1;break;case h:a=1;break;case f:a=3;break;case v:a=2;break;case p:var g=e[4],m=e[5],y=g3(e[0]*e[0]+e[1]*e[1]),_=g3(e[2]*e[2]+e[3]*e[3]),b=MV(-e[1]/_,e[0]/y);r[o]*=y,r[o++]+=g,r[o]*=_,r[o++]+=m,r[o++]*=y,r[o++]*=_,r[o++]+=b,r[o++]+=b,o+=2,s=o;break;case d:l[0]=r[o++],l[1]=r[o++],Tt(l,l,e),r[s++]=l[0],r[s++]=l[1],l[0]+=r[o++],l[1]+=r[o++],Tt(l,l,e),r[s++]=l[0],r[s++]=l[1]}for(u=0;u<a;u++){var x=kV[u];x[0]=r[o++],x[1]=r[o++],Tt(x,x,e),r[s++]=x[0],r[s++]=x[1]}}t.increaseVersion()}}var Hf=Math.sqrt,I1=Math.sin,P1=Math.cos,iu=Math.PI;function m3(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function Sd(t,e){return(t[0]*e[0]+t[1]*e[1])/(m3(t)*m3(e))}function y3(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(Sd(t,e))}function _3(t,e,r,n,i,a,o,s,u,l,c){var f=u*(iu/180),h=P1(f)*(t-r)/2+I1(f)*(e-n)/2,d=-1*I1(f)*(t-r)/2+P1(f)*(e-n)/2,p=h*h/(o*o)+d*d/(s*s);p>1&&(o*=Hf(p),s*=Hf(p));var v=(i===a?-1:1)*Hf((o*o*(s*s)-o*o*(d*d)-s*s*(h*h))/(o*o*(d*d)+s*s*(h*h)))||0,g=v*o*d/s,m=v*-s*h/o,y=(t+r)/2+P1(f)*g-I1(f)*m,_=(e+n)/2+I1(f)*g+P1(f)*m,b=y3([1,0],[(h-g)/o,(d-m)/s]),x=[(h-g)/o,(d-m)/s],w=[(-1*h-g)/o,(-1*d-m)/s],S=y3(x,w);if(Sd(x,w)<=-1&&(S=iu),Sd(x,w)>=1&&(S=0),S<0){var C=Math.round(S/iu*1e6)/1e6;S=iu*2+C%2*iu}c.addData(l,y,_,o,s,b,S,f,a)}var LV=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,IV=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function PV(t){var e=new Cn;if(!t)return e;var r=0,n=0,i=r,a=n,o,s=Cn.CMD,u=t.match(LV);if(!u)return e;for(var l=0;l<u.length;l++){for(var c=u[l],f=c.charAt(0),h=void 0,d=c.match(IV)||[],p=d.length,v=0;v<p;v++)d[v]=parseFloat(d[v]);for(var g=0;g<p;){var m=void 0,y=void 0,_=void 0,b=void 0,x=void 0,w=void 0,S=void 0,C=r,A=n,T=void 0,D=void 0;switch(f){case"l":r+=d[g++],n+=d[g++],h=s.L,e.addData(h,r,n);break;case"L":r=d[g++],n=d[g++],h=s.L,e.addData(h,r,n);break;case"m":r+=d[g++],n+=d[g++],h=s.M,e.addData(h,r,n),i=r,a=n,f="l";break;case"M":r=d[g++],n=d[g++],h=s.M,e.addData(h,r,n),i=r,a=n,f="L";break;case"h":r+=d[g++],h=s.L,e.addData(h,r,n);break;case"H":r=d[g++],h=s.L,e.addData(h,r,n);break;case"v":n+=d[g++],h=s.L,e.addData(h,r,n);break;case"V":n=d[g++],h=s.L,e.addData(h,r,n);break;case"C":h=s.C,e.addData(h,d[g++],d[g++],d[g++],d[g++],d[g++],d[g++]),r=d[g-2],n=d[g-1];break;case"c":h=s.C,e.addData(h,d[g++]+r,d[g++]+n,d[g++]+r,d[g++]+n,d[g++]+r,d[g++]+n),r+=d[g-2],n+=d[g-1];break;case"S":m=r,y=n,T=e.len(),D=e.data,o===s.C&&(m+=r-D[T-4],y+=n-D[T-3]),h=s.C,C=d[g++],A=d[g++],r=d[g++],n=d[g++],e.addData(h,m,y,C,A,r,n);break;case"s":m=r,y=n,T=e.len(),D=e.data,o===s.C&&(m+=r-D[T-4],y+=n-D[T-3]),h=s.C,C=r+d[g++],A=n+d[g++],r+=d[g++],n+=d[g++],e.addData(h,m,y,C,A,r,n);break;case"Q":C=d[g++],A=d[g++],r=d[g++],n=d[g++],h=s.Q,e.addData(h,C,A,r,n);break;case"q":C=d[g++]+r,A=d[g++]+n,r+=d[g++],n+=d[g++],h=s.Q,e.addData(h,C,A,r,n);break;case"T":m=r,y=n,T=e.len(),D=e.data,o===s.Q&&(m+=r-D[T-4],y+=n-D[T-3]),r=d[g++],n=d[g++],h=s.Q,e.addData(h,m,y,r,n);break;case"t":m=r,y=n,T=e.len(),D=e.data,o===s.Q&&(m+=r-D[T-4],y+=n-D[T-3]),r+=d[g++],n+=d[g++],h=s.Q,e.addData(h,m,y,r,n);break;case"A":_=d[g++],b=d[g++],x=d[g++],w=d[g++],S=d[g++],C=r,A=n,r=d[g++],n=d[g++],h=s.A,_3(C,A,r,n,w,S,_,b,x,h,e);break;case"a":_=d[g++],b=d[g++],x=d[g++],w=d[g++],S=d[g++],C=r,A=n,r+=d[g++],n+=d[g++],h=s.A,_3(C,A,r,n,w,S,_,b,x,h,e);break}}(f==="z"||f==="Z")&&(h=s.Z,e.addData(h),r=i,n=a),o=h}return e.toStatic(),e}var xw=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.applyTransform=function(r){},e}(we);function ww(t){return t.setData!=null}function Sw(t,e){var r=PV(t),n=$({},e);return n.buildPath=function(i){if(ww(i)){i.setData(r.data);var a=i.getContext();a&&i.rebuildPath(a,1)}else{var a=i;r.rebuildPath(a,1)}},n.applyTransform=function(i){bw(r,i),this.dirtyShape()},n}function Cw(t,e){return new xw(Sw(t,e))}function RV(t,e){var r=Sw(t,e),n=function(i){F(a,i);function a(o){var s=i.call(this,o)||this;return s.applyTransform=r.applyTransform,s.buildPath=r.buildPath,s}return a}(xw);return n}function NV(t,e){for(var r=[],n=t.length,i=0;i<n;i++){var a=t[i];r.push(a.getUpdatedPathProxy(!0))}var o=new we(e);return o.createPathProxy(),o.buildPath=function(s){if(ww(s)){s.appendPath(r);var u=s.getContext();u&&s.rebuildPath(u,1)}},o}function b5(t,e){e=e||{};var r=new we;return t.shape&&r.setShape(t.shape),r.setStyle(t.style),e.bakeTransform?bw(r.path,t.getComputedTransform()):e.toLocal?r.setLocalTransform(t.getComputedTransform()):r.copyTransform(t),r.buildPath=t.buildPath,r.applyTransform=r.applyTransform,r.z=t.z,r.z2=t.z2,r.zlevel=t.zlevel,r}var OV=function(){function t(){this.cx=0,this.cy=0,this.r=0}return t}(),Aw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new OV},e.prototype.buildPath=function(r,n){r.moveTo(n.cx+n.r,n.cy),r.arc(n.cx,n.cy,n.r,0,Math.PI*2)},e}(we);Aw.prototype.type="circle";const Yi=Aw;var BV=function(){function t(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return t}(),Tw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new BV},e.prototype.buildPath=function(r,n){var i=.5522848,a=n.cx,o=n.cy,s=n.rx,u=n.ry,l=s*i,c=u*i;r.moveTo(a-s,o),r.bezierCurveTo(a-s,o-c,a-l,o-u,a,o-u),r.bezierCurveTo(a+l,o-u,a+s,o-c,a+s,o),r.bezierCurveTo(a+s,o+c,a+l,o+u,a,o+u),r.bezierCurveTo(a-l,o+u,a-s,o+c,a-s,o),r.closePath()},e}(we);Tw.prototype.type="ellipse";const x5=Tw;var Dw=Math.PI,Uf=Dw*2,ha=Math.sin,Lo=Math.cos,FV=Math.acos,Pt=Math.atan2,b3=Math.abs,Yu=Math.sqrt,Mu=Math.max,an=Math.min,$r=1e-4;function zV(t,e,r,n,i,a,o,s){var u=r-t,l=n-e,c=o-i,f=s-a,h=f*u-c*l;if(!(h*h<$r))return h=(c*(e-a)-f*(t-i))/h,[t+h*u,e+h*l]}function R1(t,e,r,n,i,a,o){var s=t-r,u=e-n,l=(o?a:-a)/Yu(s*s+u*u),c=l*u,f=-l*s,h=t+c,d=e+f,p=r+c,v=n+f,g=(h+p)/2,m=(d+v)/2,y=p-h,_=v-d,b=y*y+_*_,x=i-a,w=h*v-p*d,S=(_<0?-1:1)*Yu(Mu(0,x*x*b-w*w)),C=(w*_-y*S)/b,A=(-w*y-_*S)/b,T=(w*_+y*S)/b,D=(-w*y+_*S)/b,k=C-g,M=A-m,I=T-g,N=D-m;return k*k+M*M>I*I+N*N&&(C=T,A=D),{cx:C,cy:A,x0:-c,y0:-f,x1:C*(i/x-1),y1:A*(i/x-1)}}function VV(t){var e;if(G(t)){var r=t.length;if(!r)return t;r===1?e=[t[0],t[0],0,0]:r===2?e=[t[0],t[0],t[1],t[1]]:r===3?e=t.concat(t[2]):e=t}else e=[t,t,t,t];return e}function $V(t,e){var r,n=Mu(e.r,0),i=Mu(e.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var u=e.startAngle,l=e.endAngle;if(!(isNaN(u)||isNaN(l))){var c=e.cx,f=e.cy,h=!!e.clockwise,d=b3(l-u),p=d>Uf&&d%Uf;if(p>$r&&(d=p),!(n>$r))t.moveTo(c,f);else if(d>Uf-$r)t.moveTo(c+n*Lo(u),f+n*ha(u)),t.arc(c,f,n,u,l,!h),i>$r&&(t.moveTo(c+i*Lo(l),f+i*ha(l)),t.arc(c,f,i,l,u,h));else{var v=void 0,g=void 0,m=void 0,y=void 0,_=void 0,b=void 0,x=void 0,w=void 0,S=void 0,C=void 0,A=void 0,T=void 0,D=void 0,k=void 0,M=void 0,I=void 0,N=n*Lo(u),L=n*ha(u),O=i*Lo(l),P=i*ha(l),R=d>$r;if(R){var B=e.cornerRadius;B&&(r=VV(B),v=r[0],g=r[1],m=r[2],y=r[3]);var z=b3(n-i)/2;if(_=an(z,m),b=an(z,y),x=an(z,v),w=an(z,g),A=S=Mu(_,b),T=C=Mu(x,w),(S>$r||C>$r)&&(D=n*Lo(l),k=n*ha(l),M=i*Lo(u),I=i*ha(u),d<Dw)){var V=zV(N,L,M,I,D,k,O,P);if(V){var U=N-V[0],q=L-V[1],K=D-V[0],xe=k-V[1],Ve=1/ha(FV((U*K+q*xe)/(Yu(U*U+q*q)*Yu(K*K+xe*xe)))/2),ue=Yu(V[0]*V[0]+V[1]*V[1]);A=an(S,(n-ue)/(Ve+1)),T=an(C,(i-ue)/(Ve-1))}}}if(!R)t.moveTo(c+N,f+L);else if(A>$r){var ee=an(m,A),he=an(y,A),Q=R1(M,I,N,L,n,ee,h),se=R1(D,k,O,P,n,he,h);t.moveTo(c+Q.cx+Q.x0,f+Q.cy+Q.y0),A<S&&ee===he?t.arc(c+Q.cx,f+Q.cy,A,Pt(Q.y0,Q.x0),Pt(se.y0,se.x0),!h):(ee>0&&t.arc(c+Q.cx,f+Q.cy,ee,Pt(Q.y0,Q.x0),Pt(Q.y1,Q.x1),!h),t.arc(c,f,n,Pt(Q.cy+Q.y1,Q.cx+Q.x1),Pt(se.cy+se.y1,se.cx+se.x1),!h),he>0&&t.arc(c+se.cx,f+se.cy,he,Pt(se.y1,se.x1),Pt(se.y0,se.x0),!h))}else t.moveTo(c+N,f+L),t.arc(c,f,n,u,l,!h);if(!(i>$r)||!R)t.lineTo(c+O,f+P);else if(T>$r){var ee=an(v,T),he=an(g,T),Q=R1(O,P,D,k,i,-he,h),se=R1(N,L,M,I,i,-ee,h);t.lineTo(c+Q.cx+Q.x0,f+Q.cy+Q.y0),T<C&&ee===he?t.arc(c+Q.cx,f+Q.cy,T,Pt(Q.y0,Q.x0),Pt(se.y0,se.x0),!h):(he>0&&t.arc(c+Q.cx,f+Q.cy,he,Pt(Q.y0,Q.x0),Pt(Q.y1,Q.x1),!h),t.arc(c,f,i,Pt(Q.cy+Q.y1,Q.cx+Q.x1),Pt(se.cy+se.y1,se.cx+se.x1),h),ee>0&&t.arc(c+se.cx,f+se.cy,ee,Pt(se.y1,se.x1),Pt(se.y0,se.x0),!h))}else t.lineTo(c+O,f+P),t.arc(c,f,i,l,u,h)}t.closePath()}}}var GV=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return t}(),Ew=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new GV},e.prototype.buildPath=function(r,n){$V(r,n)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(we);Ew.prototype.type="sector";const rr=Ew;var HV=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),kw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new HV},e.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.PI*2;r.moveTo(i+n.r,a),r.arc(i,a,n.r,0,o,!1),r.moveTo(i+n.r0,a),r.arc(i,a,n.r0,0,o,!0)},e}(we);kw.prototype.type="ring";const _2=kw;function UV(t,e,r,n){var i=[],a=[],o=[],s=[],u,l,c,f;if(n){c=[1/0,1/0],f=[-1/0,-1/0];for(var h=0,d=t.length;h<d;h++)Ci(c,c,t[h]),Ai(f,f,t[h]);Ci(c,c,n[0]),Ai(f,f,n[1])}for(var h=0,d=t.length;h<d;h++){var p=t[h];if(r)u=t[h?h-1:d-1],l=t[(h+1)%d];else if(h===0||h===d-1){i.push(Fn(t[h]));continue}else u=t[h-1],l=t[h+1];Na(a,l,u),S0(a,a,e);var v=qh(p,u),g=qh(p,l),m=v+g;m!==0&&(v/=m,g/=m),S0(o,a,-v),S0(s,a,g);var y=cv([],p,o),_=cv([],p,s);n&&(Ai(y,y,c),Ci(y,y,f),Ai(_,_,c),Ci(_,_,f)),i.push(y),i.push(_)}return r&&i.push(i.shift()),i}function Mw(t,e,r){var n=e.smooth,i=e.points;if(i&&i.length>=2){if(n){var a=UV(i,n,r,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(r?o:o-1);s++){var u=a[s*2],l=a[s*2+1],c=i[(s+1)%o];t.bezierCurveTo(u[0],u[1],l[0],l[1],c[0],c[1])}}else{t.moveTo(i[0][0],i[0][1]);for(var s=1,f=i.length;s<f;s++)t.lineTo(i[s][0],i[s][1])}r&&t.closePath()}}var WV=function(){function t(){this.points=null,this.smooth=0,this.smoothConstraint=null}return t}(),Lw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new WV},e.prototype.buildPath=function(r,n){Mw(r,n,!0)},e}(we);Lw.prototype.type="polygon";const nr=Lw;var qV=function(){function t(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return t}(),Iw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new qV},e.prototype.buildPath=function(r,n){Mw(r,n,!1)},e}(we);Iw.prototype.type="polyline";const ar=Iw;var ZV={},YV=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}(),Pw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new YV},e.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var u=aw(ZV,n,this.style);i=u.x1,a=u.y1,o=u.x2,s=u.y2}else i=n.x1,a=n.y1,o=n.x2,s=n.y2;var l=n.percent;l!==0&&(r.moveTo(i,a),l<1&&(o=i*(1-l)+o*l,s=a*(1-l)+s*l),r.lineTo(o,s))},e.prototype.pointAt=function(r){var n=this.shape;return[n.x1*(1-r)+n.x2*r,n.y1*(1-r)+n.y2*r]},e}(we);Pw.prototype.type="line";const xt=Pw;var jt=[],XV=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return t}();function x3(t,e,r){var n=t.cpx2,i=t.cpy2;return n!=null||i!=null?[(r?wv:pt)(t.x1,t.cpx1,t.cpx2,t.x2,e),(r?wv:pt)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(r?Qh:_t)(t.x1,t.cpx1,t.x2,e),(r?Qh:_t)(t.y1,t.cpy1,t.y2,e)]}var Rw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new XV},e.prototype.buildPath=function(r,n){var i=n.x1,a=n.y1,o=n.x2,s=n.y2,u=n.cpx1,l=n.cpy1,c=n.cpx2,f=n.cpy2,h=n.percent;h!==0&&(r.moveTo(i,a),c==null||f==null?(h<1&&(cl(i,u,o,h,jt),u=jt[1],o=jt[2],cl(a,l,s,h,jt),l=jt[1],s=jt[2]),r.quadraticCurveTo(u,l,o,s)):(h<1&&(zi(i,u,c,o,h,jt),u=jt[1],c=jt[2],o=jt[3],zi(a,l,f,s,h,jt),l=jt[1],f=jt[2],s=jt[3]),r.bezierCurveTo(u,l,c,f,o,s)))},e.prototype.pointAt=function(r){return x3(this.shape,r,!1)},e.prototype.tangentAt=function(r){var n=x3(this.shape,r,!0);return ks(n,n)},e}(we);Rw.prototype.type="bezier-curve";const b2=Rw;var jV=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),Nw=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new jV},e.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.max(n.r,0),s=n.startAngle,u=n.endAngle,l=n.clockwise,c=Math.cos(s),f=Math.sin(s);r.moveTo(c*o+i,f*o+a),r.arc(i,a,o,s,u,!l)},e}(we);Nw.prototype.type="arc";const w5=Nw;var KV=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="compound",r}return e.prototype._updatePathDirty=function(){for(var r=this.shape.paths,n=this.shapeChanged(),i=0;i<r.length;i++)n=n||r[i].shapeChanged();n&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var r=this.shape.paths||[],n=this.getGlobalScale(),i=0;i<r.length;i++)r[i].path||r[i].createPathProxy(),r[i].path.setScale(n[0],n[1],r[i].segmentIgnoreThreshold)},e.prototype.buildPath=function(r,n){for(var i=n.paths||[],a=0;a<i.length;a++)i[a].buildPath(r,i[a].shape,!0)},e.prototype.afterBrush=function(){for(var r=this.shape.paths||[],n=0;n<r.length;n++)r[n].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),we.prototype.getBoundingRect.call(this)},e}(we);const S5=KV;var QV=function(){function t(e){this.colorStops=e||[]}return t.prototype.addColorStop=function(e,r){this.colorStops.push({offset:e,color:r})},t}();const Ow=QV;var JV=function(t){F(e,t);function e(r,n,i,a,o,s){var u=t.call(this,o)||this;return u.x=r??0,u.y=n??0,u.x2=i??1,u.y2=a??0,u.type="linear",u.global=s||!1,u}return e}(Ow);const Gl=JV;var e$=function(t){F(e,t);function e(r,n,i,a,o){var s=t.call(this,a)||this;return s.x=r??.5,s.y=n??.5,s.r=i??.5,s.type="radial",s.global=o||!1,s}return e}(Ow);const Bw=e$;var da=[0,0],pa=[0,0],N1=new me,O1=new me,t$=function(){function t(e,r){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new me;for(var n=0;n<2;n++)this._axes[n]=new me;e&&this.fromBoundingRect(e,r)}return t.prototype.fromBoundingRect=function(e,r){var n=this._corners,i=this._axes,a=e.x,o=e.y,s=a+e.width,u=o+e.height;if(n[0].set(a,o),n[1].set(s,o),n[2].set(s,u),n[3].set(a,u),r)for(var l=0;l<4;l++)n[l].transform(r);me.sub(i[0],n[1],n[0]),me.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(var l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},t.prototype.intersect=function(e,r){var n=!0,i=!r;return N1.set(1/0,1/0),O1.set(0,0),!this._intersectCheckOneSide(this,e,N1,O1,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(e,this,N1,O1,i,-1)&&(n=!1,i)||i||me.copy(r,n?N1:O1),n},t.prototype._intersectCheckOneSide=function(e,r,n,i,a,o){for(var s=!0,u=0;u<2;u++){var l=this._axes[u];if(this._getProjMinMaxOnAxis(u,e._corners,da),this._getProjMinMaxOnAxis(u,r._corners,pa),da[1]<pa[0]||da[0]>pa[1]){if(s=!1,a)return s;var c=Math.abs(pa[0]-da[1]),f=Math.abs(da[0]-pa[1]);Math.min(c,f)>i.len()&&(c<f?me.scale(i,l,-c*o):me.scale(i,l,f*o))}else if(n){var c=Math.abs(pa[0]-da[1]),f=Math.abs(da[0]-pa[1]);Math.min(c,f)<n.len()&&(c<f?me.scale(n,l,c*o):me.scale(n,l,-f*o))}}return s},t.prototype._getProjMinMaxOnAxis=function(e,r,n){for(var i=this._axes[e],a=this._origin,o=r[0].dot(i)+a[e],s=o,u=o,l=1;l<r.length;l++){var c=r[l].dot(i)+a[e];s=Math.min(c,s),u=Math.max(c,u)}n[0]=s,n[1]=u},t}();const sc=t$;var r$=[],n$=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.notClear=!0,r.incremental=!0,r._displayables=[],r._temporaryDisplayables=[],r._cursor=0,r}return e.prototype.traverse=function(r,n){r.call(n,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(r,n){n?this._temporaryDisplayables.push(r):this._displayables.push(r),this.markRedraw()},e.prototype.addDisplayables=function(r,n){n=n||!1;for(var i=0;i<r.length;i++)this.addDisplayable(r[i],n)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(r){for(var n=this._cursor;n<this._displayables.length;n++)r&&r(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)r&&r(this._temporaryDisplayables[n])},e.prototype.update=function(){this.updateTransform();for(var r=this._cursor;r<this._displayables.length;r++){var n=this._displayables[r];n.parent=this,n.update(),n.parent=null}for(var r=0;r<this._temporaryDisplayables.length;r++){var n=this._temporaryDisplayables[r];n.parent=this,n.update(),n.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var r=new ye(1/0,1/0,-1/0,-1/0),n=0;n<this._displayables.length;n++){var i=this._displayables[n],a=i.getBoundingRect().clone();i.needLocalTransform()&&a.applyTransform(i.getLocalTransform(r$)),r.union(a)}this._rect=r}return this._rect},e.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(a.contain(i[0],i[1]))for(var o=0;o<this._displayables.length;o++){var s=this._displayables[o];if(s.contain(r,n))return!0}return!1},e}(Rr);const i$=n$;var Fw=Ae();function Ps(t,e,r,n,i){var a;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();a=o&&o.animation}var s=e&&e.isAnimationEnabled(),u=t==="update";if(s){var l=void 0,c=void 0,f=void 0;n?(l=fe(n.duration,200),c=fe(n.easing,"cubicOut"),f=0):(l=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),f=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(a.duration!=null&&(l=a.duration),a.easing!=null&&(c=a.easing),a.delay!=null&&(f=a.delay)),te(f)&&(f=f(r,i)),te(l)&&(l=l(r));var h={duration:l||0,delay:f,easing:c};return h}else return null}function C5(t,e,r,n,i,a,o){var s=!1,u;te(i)?(o=a,a=i,i=null):ne(i)&&(a=i.cb,o=i.during,s=i.isFrom,u=i.removeOpt,i=i.dataIndex);var l=t==="leave";l||e.stopAnimation("leave");var c=Ps(t,n,i,l?u||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(e,i):null);if(c&&c.duration>0){var f=c.duration,h=c.delay,d=c.easing,p={duration:f,delay:h||0,easing:d,done:a,force:!!a||!!o,setToFinal:!l,scope:t,during:o};s?e.animateFrom(r,p):e.animateTo(r,p)}else e.stopAnimation(),!s&&e.attr(r),o&&o(1),a&&a()}function Ie(t,e,r,n,i,a){C5("update",t,e,r,n,i,a)}function Ye(t,e,r,n,i,a){C5("enter",t,e,r,n,i,a)}function ls(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){var r=t.animators[e];if(r.scope==="leave")return!0}return!1}function $i(t,e,r,n,i,a){ls(t)||C5("leave",t,e,r,n,i,a)}function w3(t,e,r,n){t.removeTextContent(),t.removeTextGuideLine(),$i(t,{style:{opacity:0}},e,r,n)}function gl(t,e,r){function n(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(i){i.isGroup||w3(i,e,r,n)}):w3(t,e,r,n)}function Qr(t){Fw(t).oldStyle=t.style}function a$(t){return Fw(t).oldStyle}var uc=Math.max,lc=Math.min,Cd={};function o$(t){return we.extend(t)}var s$=RV;function u$(t,e){return s$(t,e)}function Jr(t,e){Cd[t]=e}function A5(t){if(Cd.hasOwnProperty(t))return Cd[t]}function x2(t,e,r,n){var i=Cw(t,e);return r&&(n==="center"&&(r=Vw(r,i.getBoundingRect())),$w(i,r)),i}function zw(t,e,r){var n=new Lt({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(i){if(r==="center"){var a={width:i.width,height:i.height};n.setStyle(Vw(e,a))}}});return n}function Vw(t,e){var r=e.width/e.height,n=t.height*r,i;n<=t.width?i=t.height:(n=t.width,i=n/r);var a=t.x+t.width/2,o=t.y+t.height/2;return{x:a-n/2,y:o-i/2,width:n,height:i}}var Er=NV;function $w(t,e){if(t.applyTransform){var r=t.getBoundingRect(),n=r.calculateTransform(e);t.applyTransform(n)}}function ys(t,e){return aw(t,t,{lineWidth:e}),t}function l$(t){return ow(t.shape,t.shape,t.style),t}var I0=Oa;function Xa(t,e){for(var r=u2([]);t&&t!==e;)zn(r,t.getLocalTransform(),r),t=t.parent;return r}function Xr(t,e,r){return e&&!zt(e)&&(e=On.getLocalTransform(e)),r&&(e=Ms([],e)),Tt([],t,e)}function w2(t,e,r){var n=e[4]===0||e[5]===0||e[0]===0?1:Math.abs(2*e[4]/e[0]),i=e[4]===0||e[5]===0||e[2]===0?1:Math.abs(2*e[4]/e[2]),a=[t==="left"?-n:t==="right"?n:0,t==="top"?-i:t==="bottom"?i:0];return a=Xr(a,e,r),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function S3(t){return!t.isGroup}function c$(t){return t.shape!=null}function Hl(t,e,r){if(!t||!e)return;function n(o){var s={};return o.traverse(function(u){S3(u)&&u.anid&&(s[u.anid]=u)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return c$(o)&&(s.shape=$({},o.shape)),s}var a=n(t);e.traverse(function(o){if(S3(o)&&o.anid){var s=a[o.anid];if(s){var u=i(o);o.attr(i(s)),Ie(o,u,r,ce(o).dataIndex)}}})}function Gw(t,e){return H(t,function(r){var n=r[0];n=uc(n,e.x),n=lc(n,e.x+e.width);var i=r[1];return i=uc(i,e.y),i=lc(i,e.y+e.height),[n,i]})}function f$(t,e){var r=uc(t.x,e.x),n=lc(t.x+t.width,e.x+e.width),i=uc(t.y,e.y),a=lc(t.y+t.height,e.y+e.height);if(n>=r&&a>=i)return{x:r,y:i,width:n-r,height:a-i}}function Ul(t,e,r){var n=$({rectHover:!0},e),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},t)return t.indexOf("image://")===0?(i.image=t.slice(8),ae(i,r),new Lt(n)):x2(t.replace("path://",""),n,r,"center")}function Lu(t,e,r,n,i){for(var a=0,o=i[i.length-1];a<i.length;a++){var s=i[a];if(Hw(t,e,r,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function Hw(t,e,r,n,i,a,o,s){var u=r-t,l=n-e,c=o-i,f=s-a,h=Wf(c,f,u,l);if(h$(h))return!1;var d=t-i,p=e-a,v=Wf(d,p,u,l)/h;if(v<0||v>1)return!1;var g=Wf(d,p,c,f)/h;return!(g<0||g>1)}function Wf(t,e,r,n){return t*n-r*e}function h$(t){return t<=1e-6&&t>=-1e-6}function po(t){var e=t.itemTooltipOption,r=t.componentModel,n=t.itemName,i=Z(e)?{formatter:e}:e,a=r.mainType,o=r.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var u=t.formatterParamsExtra;u&&E(Se(u),function(c){j(s,c)||(s[c]=u[c],s.$vars.push(c))});var l=ce(t.el);l.componentMainType=a,l.componentIndex=o,l.tooltipConfig={name:n,option:ae({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function C3(t,e){var r;t.isGroup&&(r=e(t)),r||t.traverse(e)}function Xi(t,e){if(t)if(G(t))for(var r=0;r<t.length;r++)C3(t[r],e);else C3(t,e)}Jr("circle",Yi);Jr("ellipse",x5);Jr("sector",rr);Jr("ring",_2);Jr("polygon",nr);Jr("polyline",ar);Jr("rect",Ee);Jr("line",xt);Jr("bezierCurve",b2);Jr("arc",w5);const vo=Object.freeze(Object.defineProperty({__proto__:null,Arc:w5,BezierCurve:b2,BoundingRect:ye,Circle:Yi,CompoundPath:S5,Ellipse:x5,Group:le,Image:Lt,IncrementalDisplayable:i$,Line:xt,LinearGradient:Gl,OrientedBoundingRect:sc,Path:we,Point:me,Polygon:nr,Polyline:ar,RadialGradient:Bw,Rect:Ee,Ring:_2,Sector:rr,Text:ke,applyTransform:Xr,clipPointsByRect:Gw,clipRectByRect:f$,createIcon:Ul,extendPath:u$,extendShape:o$,getShapeClass:A5,getTransform:Xa,groupTransition:Hl,initProps:Ye,isElementRemoved:ls,lineLineIntersect:Hw,linePolygonIntersect:Lu,makeImage:zw,makePath:x2,mergePath:Er,registerShape:Jr,removeElement:$i,removeElementWithFadeOut:gl,resizePath:$w,setTooltipConfig:po,subPixelOptimize:I0,subPixelOptimizeLine:ys,subPixelOptimizeRect:l$,transformDirection:w2,traverseElements:Xi,updateProps:Ie},Symbol.toStringTag,{value:"Module"}));var S2={};function Uw(t,e){for(var r=0;r<Xt.length;r++){var n=Xt[r],i=e[n],a=t.ensureState(n);a.style=a.style||{},a.style.text=i}var o=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(o,!0)}function Ad(t,e,r){var n=t.labelFetcher,i=t.labelDataIndex,a=t.labelDimIndex,o=e.normal,s;n&&(s=n.getFormattedLabel(i,"normal",null,a,o&&o.get("formatter"),r!=null?{interpolatedValue:r}:null)),s==null&&(s=te(t.defaultText)?t.defaultText(i,t,r):t.defaultText);for(var u={normal:s},l=0;l<Xt.length;l++){var c=Xt[l],f=e[c];u[c]=fe(n?n.getFormattedLabel(i,c,null,a,f&&f.get("formatter")):null,s)}return u}function Mt(t,e,r,n){r=r||S2;for(var i=t instanceof ke,a=!1,o=0;o<vl.length;o++){var s=e[vl[o]];if(s&&s.getShallow("show")){a=!0;break}}var u=i?t:t.getTextContent();if(a){i||(u||(u=new ke,t.setTextContent(u)),t.stateProxy&&(u.stateProxy=t.stateProxy));var l=Ad(r,e),c=e.normal,f=!!c.getShallow("show"),h=Ue(c,n&&n.normal,r,!1,!i);h.text=l.normal,i||t.setTextConfig(cc(c,r,!1));for(var o=0;o<Xt.length;o++){var d=Xt[o],s=e[d];if(s){var p=u.ensureState(d),v=!!fe(s.getShallow("show"),f);if(v!==f&&(p.ignore=!v),p.style=Ue(s,n&&n[d],r,!0,!i),p.style.text=l[d],!i){var g=t.ensureState(d);g.textConfig=cc(s,r,!0)}}}u.silent=!!c.getShallow("silent"),u.style.x!=null&&(h.x=u.style.x),u.style.y!=null&&(h.y=u.style.y),u.ignore=!f,u.useStyle(h),u.dirty(),r.enableTextSetter&&(Rs(u).setLabelText=function(m){var y=Ad(r,e,m);Uw(u,y)})}else u&&(u.ignore=!0);t.dirty()}function gt(t,e){e=e||"label";for(var r={normal:t.getModel(e)},n=0;n<Xt.length;n++){var i=Xt[n];r[i]=t.getModel([i,e])}return r}function Ue(t,e,r,n,i){var a={};return d$(a,t,r,n,i),e&&$(a,e),a}function cc(t,e,r){e=e||{};var n={},i,a=t.getShallow("rotate"),o=fe(t.getShallow("distance"),r?null:5),s=t.getShallow("offset");return i=t.getShallow("position")||(r?null:"inside"),i==="outside"&&(i=e.defaultOutsidePosition||"top"),i!=null&&(n.position=i),s!=null&&(n.offset=s),a!=null&&(a*=Math.PI/180,n.rotation=a),o!=null&&(n.distance=o),n.outsideFill=t.get("color")==="inherit"?e.inheritColor||null:"auto",n}function d$(t,e,r,n,i){r=r||S2;var a=e.ecModel,o=a&&a.option.textStyle,s=p$(e),u;if(s){u={};for(var l in s)if(s.hasOwnProperty(l)){var c=e.getModel(["rich",l]);E3(u[l]={},c,o,r,n,i,!1,!0)}}u&&(t.rich=u);var f=e.get("overflow");f&&(t.overflow=f);var h=e.get("minMargin");h!=null&&(t.margin=h),E3(t,e,o,r,n,i,!0,!1)}function p$(t){for(var e;t&&t!==t.ecModel;){var r=(t.option||S2).rich;if(r){e=e||{};for(var n=Se(r),i=0;i<n.length;i++){var a=n[i];e[a]=1}}t=t.parentModel}return e}var A3=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],T3=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],D3=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function E3(t,e,r,n,i,a,o,s){r=!i&&r||S2;var u=n&&n.inheritColor,l=e.getShallow("color"),c=e.getShallow("textBorderColor"),f=fe(e.getShallow("opacity"),r.opacity);(l==="inherit"||l==="auto")&&(process.env.NODE_ENV!=="production"&&l==="auto"&&st("color: 'auto'","color: 'inherit'"),u?l=u:l=null),(c==="inherit"||c==="auto")&&(process.env.NODE_ENV!=="production"&&c==="auto"&&st("color: 'auto'","color: 'inherit'"),u?c=u:c=null),a||(l=l||r.color,c=c||r.textBorderColor),l!=null&&(t.fill=l),c!=null&&(t.stroke=c);var h=fe(e.getShallow("textBorderWidth"),r.textBorderWidth);h!=null&&(t.lineWidth=h);var d=fe(e.getShallow("textBorderType"),r.textBorderType);d!=null&&(t.lineDash=d);var p=fe(e.getShallow("textBorderDashOffset"),r.textBorderDashOffset);p!=null&&(t.lineDashOffset=p),!i&&f==null&&!s&&(f=n&&n.defaultOpacity),f!=null&&(t.opacity=f),!i&&!a&&t.fill==null&&n.inheritColor&&(t.fill=n.inheritColor);for(var v=0;v<A3.length;v++){var g=A3[v],m=fe(e.getShallow(g),r[g]);m!=null&&(t[g]=m)}for(var v=0;v<T3.length;v++){var g=T3[v],m=e.getShallow(g);m!=null&&(t[g]=m)}if(t.verticalAlign==null){var y=e.getShallow("baseline");y!=null&&(t.verticalAlign=y)}if(!o||!n.disableBox){for(var v=0;v<D3.length;v++){var g=D3[v],m=e.getShallow(g);m!=null&&(t[g]=m)}var _=e.getShallow("borderType");_!=null&&(t.borderDash=_),(t.backgroundColor==="auto"||t.backgroundColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&t.backgroundColor==="auto"&&st("backgroundColor: 'auto'","backgroundColor: 'inherit'"),t.backgroundColor=u),(t.borderColor==="auto"||t.borderColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&t.borderColor==="auto"&&st("borderColor: 'auto'","borderColor: 'inherit'"),t.borderColor=u)}}function T5(t,e){var r=e&&e.getModel("textStyle");return Wr([t.fontStyle||r&&r.getShallow("fontStyle")||"",t.fontWeight||r&&r.getShallow("fontWeight")||"",(t.fontSize||r&&r.getShallow("fontSize")||12)+"px",t.fontFamily||r&&r.getShallow("fontFamily")||"sans-serif"].join(" "))}var Rs=Ae();function Ww(t,e,r,n){if(t){var i=Rs(t);i.prevValue=i.value,i.value=r;var a=e.normal;i.valueAnimation=a.get("valueAnimation"),i.valueAnimation&&(i.precision=a.get("precision"),i.defaultInterpolatedText=n,i.statesModels=e)}}function qw(t,e,r,n,i){var a=Rs(t);if(!a.valueAnimation||a.prevValue===a.value)return;var o=a.defaultInterpolatedText,s=fe(a.interpolatedValue,a.prevValue),u=a.value;function l(c){var f=Xx(r,a.precision,s,u,c);a.interpolatedValue=c===1?null:f;var h=Ad({labelDataIndex:e,labelFetcher:i,defaultText:o?o(f):f+""},a.statesModels,f);Uw(t,h)}t.percent=0,(a.prevValue==null?Ye:Ie)(t,{percent:1},n,e,null,l)}var v$=["textStyle","color"],qf=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Zf=new ke,g$=function(){function t(){}return t.prototype.getTextColor=function(e){var r=this.ecModel;return this.getShallow("color")||(!e&&r?r.get(v$):null)},t.prototype.getFont=function(){return T5({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(e){for(var r={text:e,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<qf.length;n++)r[qf[n]]=this.getShallow(qf[n]);return Zf.useStyle(r),Zf.update(),Zf.getBoundingRect()},t}();const m$=g$;var Zw=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],y$=io(Zw),_$=function(){function t(){}return t.prototype.getLineStyle=function(e){return y$(this,e)},t}(),Yw=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],b$=io(Yw),x$=function(){function t(){}return t.prototype.getItemStyle=function(e,r){return b$(this,e,r)},t}(),go=function(){function t(e,r,n){this.parentModel=r,this.ecModel=n,this.option=e}return t.prototype.init=function(e,r,n){},t.prototype.mergeOption=function(e,r){ge(this.option,e,!0)},t.prototype.get=function(e,r){return e==null?this.option:this._doGet(this.parsePath(e),!r&&this.parentModel)},t.prototype.getShallow=function(e,r){var n=this.option,i=n==null?n:n[e];if(i==null&&!r){var a=this.parentModel;a&&(i=a.getShallow(e))}return i},t.prototype.getModel=function(e,r){var n=e!=null,i=n?this.parsePath(e):null,a=n?this._doGet(i):this.option;return r=r||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new t(a,r,this.ecModel)},t.prototype.isEmpty=function(){return this.option==null},t.prototype.restoreData=function(){},t.prototype.clone=function(){var e=this.constructor;return new e(oe(this.option))},t.prototype.parsePath=function(e){return typeof e=="string"?e.split("."):e},t.prototype.resolveParentPath=function(e){return e},t.prototype.isAnimationEnabled=function(){if(!De.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(e,r){var n=this.option;if(!e)return n;for(var i=0;i<e.length&&!(e[i]&&(n=n&&typeof n=="object"?n[e[i]]:null,n==null));i++);return n==null&&r&&(n=r._doGet(this.resolveParentPath(e),r.parentModel)),n},t}();h5(go);xz(go);ft(go,_$);ft(go,x$);ft(go,Tz);ft(go,m$);const We=go;var w$=Math.round(Math.random()*10);function Ns(t){return[t||"",w$++].join("_")}function S$(t){var e={};t.registerSubTypeDefaulter=function(r,n){var i=vn(r);e[i.main]=n},t.determineSubType=function(r,n){var i=n.type;if(!i){var a=vn(r).main;t.hasSubTypes(r)&&e[a]&&(i=e[a](n))}return i}}function C$(t,e){t.topologicalTravel=function(a,o,s,u){if(!a.length)return;var l=r(o),c=l.graph,f=l.noEntryList,h={};for(E(a,function(y){h[y]=!0});f.length;){var d=f.pop(),p=c[d],v=!!h[d];v&&(s.call(u,d,p.originalDeps.slice()),delete h[d]),E(p.successor,v?m:g)}E(h,function(){var y="";throw process.env.NODE_ENV!=="production"&&(y=Yt("Circular dependency may exists: ",h,a,o)),new Error(y)});function g(y){c[y].entryCount--,c[y].entryCount===0&&f.push(y)}function m(y){h[y]=!0,g(y)}};function r(a){var o={},s=[];return E(a,function(u){var l=n(o,u),c=l.originalDeps=e(u),f=i(c,a);l.entryCount=f.length,l.entryCount===0&&s.push(u),E(f,function(h){_e(l.predecessor,h)<0&&l.predecessor.push(h);var d=n(o,h);_e(d.successor,h)<0&&d.successor.push(u)})}),{graph:o,noEntryList:s}}function n(a,o){return a[o]||(a[o]={predecessor:[],successor:[]}),a[o]}function i(a,o){var s=[];return E(a,function(u){_e(o,u)>=0&&s.push(u)}),s}}function ji(t,e){return ge(ge({},t,!0),e,!0)}const A$={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},T$={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var fc="ZH",D5="EN",cs=D5,P0={},E5={},Xw=De.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage||cs).toUpperCase();return t.indexOf(fc)>-1?fc:cs}():cs;function jw(t,e){t=t.toUpperCase(),E5[t]=new We(e),P0[t]=e}function D$(t){if(Z(t)){var e=P0[t.toUpperCase()]||{};return t===fc||t===D5?oe(e):ge(oe(e),oe(P0[cs]),!1)}else return ge(oe(t),oe(P0[cs]),!1)}function Td(t){return E5[t]}function E$(){return E5[cs]}jw(D5,A$);jw(fc,T$);var k5=1e3,M5=k5*60,Xu=M5*60,kr=Xu*24,k3=kr*365,Iu={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},B1="{yyyy}-{MM}-{dd}",M3={year:"{yyyy}",month:"{yyyy}-{MM}",day:B1,hour:B1+" "+Iu.hour,minute:B1+" "+Iu.minute,second:B1+" "+Iu.second,millisecond:Iu.none},Yf=["year","month","day","hour","minute","second","millisecond"],Kw=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ii(t,e){return t+="","0000".substr(0,e-t.length)+t}function fs(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function k$(t){return t===fs(t)}function M$(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function C2(t,e,r,n){var i=Sn(t),a=i[L5(r)](),o=i[hs(r)]()+1,s=Math.floor((o-1)/3)+1,u=i[A2(r)](),l=i["get"+(r?"UTC":"")+"Day"](),c=i[ml(r)](),f=(c-1)%12+1,h=i[T2(r)](),d=i[D2(r)](),p=i[E2(r)](),v=c>=12?"pm":"am",g=v.toUpperCase(),m=n instanceof We?n:Td(n||Xw)||E$(),y=m.getModel("time"),_=y.get("month"),b=y.get("monthAbbr"),x=y.get("dayOfWeek"),w=y.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,v+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,ii(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,b[o-1]).replace(/{MM}/g,ii(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,ii(u,2)).replace(/{d}/g,u+"").replace(/{eeee}/g,x[l]).replace(/{ee}/g,w[l]).replace(/{e}/g,l+"").replace(/{HH}/g,ii(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,ii(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,ii(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,ii(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,ii(p,3)).replace(/{S}/g,p+"")}function L$(t,e,r,n,i){var a=null;if(Z(r))a=r;else if(te(r))a=r(t.value,e,{level:t.level});else{var o=$({},Iu);if(t.level>0)for(var s=0;s<Yf.length;++s)o[Yf[s]]="{primary|"+o[Yf[s]]+"}";var u=r?r.inherit===!1?r:ae(r,o):o,l=Qw(t.value,i);if(u[l])a=u[l];else if(u.inherit){for(var c=Kw.indexOf(l),s=c-1;s>=0;--s)if(u[l]){a=u[l];break}a=a||o.none}if(G(a)){var f=t.level==null?0:t.level>=0?t.level:a.length+t.level;f=Math.min(f,a.length-1),a=a[f]}}return C2(new Date(t.value),a,i,n)}function Qw(t,e){var r=Sn(t),n=r[hs(e)]()+1,i=r[A2(e)](),a=r[ml(e)](),o=r[T2(e)](),s=r[D2(e)](),u=r[E2(e)](),l=u===0,c=l&&s===0,f=c&&o===0,h=f&&a===0,d=h&&i===1,p=d&&n===1;return p?"year":d?"month":h?"day":f?"hour":c?"minute":l?"second":"millisecond"}function L3(t,e,r){var n=Me(t)?Sn(t):t;switch(e=e||Qw(t,r),e){case"year":return n[L5(r)]();case"half-year":return n[hs(r)]()>=6?1:0;case"quarter":return Math.floor((n[hs(r)]()+1)/4);case"month":return n[hs(r)]();case"day":return n[A2(r)]();case"half-day":return n[ml(r)]()/24;case"hour":return n[ml(r)]();case"minute":return n[T2(r)]();case"second":return n[D2(r)]();case"millisecond":return n[E2(r)]()}}function L5(t){return t?"getUTCFullYear":"getFullYear"}function hs(t){return t?"getUTCMonth":"getMonth"}function A2(t){return t?"getUTCDate":"getDate"}function ml(t){return t?"getUTCHours":"getHours"}function T2(t){return t?"getUTCMinutes":"getMinutes"}function D2(t){return t?"getUTCSeconds":"getSeconds"}function E2(t){return t?"getUTCMilliseconds":"getMilliseconds"}function I$(t){return t?"setUTCFullYear":"setFullYear"}function Jw(t){return t?"setUTCMonth":"setMonth"}function eS(t){return t?"setUTCDate":"setDate"}function tS(t){return t?"setUTCHours":"setHours"}function rS(t){return t?"setUTCMinutes":"setMinutes"}function nS(t){return t?"setUTCSeconds":"setSeconds"}function iS(t){return t?"setUTCMilliseconds":"setMilliseconds"}function aS(t){if(!l5(t))return Z(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function oS(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var Os=t5;function Dd(t,e,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(c){return c&&Wr(c)?c:"-"}function a(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=e==="time",s=t instanceof Date;if(o||s){var u=o?Sn(t):t;if(isNaN(+u)){if(s)return"-"}else return C2(u,n,r)}if(e==="ordinal")return j0(t)?i(t):Me(t)&&a(t)?t+"":"-";var l=qn(t);return a(l)?aS(l):j0(t)?i(t):typeof t=="boolean"?t+"":"-"}var I3=["a","b","c","d","e","f","g"],Xf=function(t,e){return"{"+t+(e??"")+"}"};function sS(t,e,r){G(e)||(e=[e]);var n=e.length;if(!n)return"";for(var i=e[0].$vars||[],a=0;a<i.length;a++){var o=I3[a];t=t.replace(Xf(o),Xf(o,0))}for(var s=0;s<n;s++)for(var u=0;u<i.length;u++){var l=e[s][i[u]];t=t.replace(Xf(I3[u],s),r?Bt(l):l)}return t}function P$(t,e,r){return E(e,function(n,i){t=t.replace("{"+i+"}",r?Bt(n):n)}),t}function R$(t,e){var r=Z(t)?{color:t,extraCssText:e}:t||{},n=r.color,i=r.type;e=r.extraCssText;var a=r.renderMode||"html";if(!n)return"";if(a==="html")return i==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Bt(n)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Bt(n)+";"+(e||"")+'"></span>';var o=r.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function oo(t,e){return e=e||"transparent",Z(t)?t:ne(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function hc(t,e){if(e==="_blank"||e==="blank"){var r=window.open();r.opener=null,r.location.href=t}else window.open(t,e)}var R0=E,uS=["left","right","top","bottom","width","height"],Fa=[["width","left","right"],["height","top","bottom"]];function I5(t,e,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;e.eachChild(function(u,l){var c=u.getBoundingRect(),f=e.childAt(l+1),h=f&&f.getBoundingRect(),d,p;if(t==="horizontal"){var v=c.width+(h?-h.x+c.x:0);d=a+v,d>n||u.newline?(a=0,d=v,o+=s+r,s=c.height):s=Math.max(s,c.height)}else{var g=c.height+(h?-h.y+c.y:0);p=o+g,p>i||u.newline?(a+=s+r,o=0,p=g,s=c.width):s=Math.max(s,c.width)}u.newline||(u.x=a,u.y=o,u.markRedraw(),t==="horizontal"?a=d+r:o=p+r)})}var ja=I5;ve(I5,"vertical");ve(I5,"horizontal");function N$(t,e,r){var n=e.width,i=e.height,a=W(t.left,n),o=W(t.top,i),s=W(t.right,n),u=W(t.bottom,i);return(isNaN(a)||isNaN(parseFloat(t.left)))&&(a=0),(isNaN(s)||isNaN(parseFloat(t.right)))&&(s=n),(isNaN(o)||isNaN(parseFloat(t.top)))&&(o=0),(isNaN(u)||isNaN(parseFloat(t.bottom)))&&(u=i),r=Os(r||0),{width:Math.max(s-a-r[1]-r[3],0),height:Math.max(u-o-r[0]-r[2],0)}}function dt(t,e,r){r=Os(r||0);var n=e.width,i=e.height,a=W(t.left,n),o=W(t.top,i),s=W(t.right,n),u=W(t.bottom,i),l=W(t.width,n),c=W(t.height,i),f=r[2]+r[0],h=r[1]+r[3],d=t.aspect;switch(isNaN(l)&&(l=n-s-h-a),isNaN(c)&&(c=i-u-f-o),d!=null&&(isNaN(l)&&isNaN(c)&&(d>n/i?l=n*.8:c=i*.8),isNaN(l)&&(l=d*c),isNaN(c)&&(c=l/d)),isNaN(a)&&(a=n-s-l-h),isNaN(o)&&(o=i-u-c-f),t.left||t.right){case"center":a=n/2-l/2-r[3];break;case"right":a=n-l-h;break}switch(t.top||t.bottom){case"middle":case"center":o=i/2-c/2-r[0];break;case"bottom":o=i-c-f;break}a=a||0,o=o||0,isNaN(l)&&(l=n-h-a-(s||0)),isNaN(c)&&(c=i-f-o-(u||0));var p=new ye(a+r[3],o+r[0],l,c);return p.margin=r,p}function k2(t,e,r,n,i,a){var o=!i||!i.hv||i.hv[0],s=!i||!i.hv||i.hv[1],u=i&&i.boundingMode||"all";if(a=a||t,a.x=t.x,a.y=t.y,!o&&!s)return!1;var l;if(u==="raw")l=t.type==="group"?new ye(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(l=t.getBoundingRect(),t.needLocalTransform()){var c=t.getLocalTransform();l=l.clone(),l.applyTransform(c)}var f=dt(ae({width:l.width,height:l.height},e),r,n),h=o?f.x-l.x:0,d=s?f.y-l.y:0;return u==="raw"?(a.x=h,a.y=d):(a.x+=h,a.y+=d),a===t&&t.markRedraw(),!0}function O$(t,e){return t[Fa[e][0]]!=null||t[Fa[e][1]]!=null&&t[Fa[e][2]]!=null}function yl(t){var e=t.layoutMode||t.constructor.layoutMode;return ne(e)?e:e?{type:e}:null}function Gi(t,e,r){var n=r&&r.ignoreSize;!G(n)&&(n=[n,n]);var i=o(Fa[0],0),a=o(Fa[1],1);l(Fa[0],t,i),l(Fa[1],t,a);function o(c,f){var h={},d=0,p={},v=0,g=2;if(R0(c,function(_){p[_]=t[_]}),R0(c,function(_){s(e,_)&&(h[_]=p[_]=e[_]),u(h,_)&&d++,u(p,_)&&v++}),n[f])return u(e,c[1])?p[c[2]]=null:u(e,c[2])&&(p[c[1]]=null),p;if(v===g||!d)return p;if(d>=g)return h;for(var m=0;m<c.length;m++){var y=c[m];if(!s(h,y)&&s(t,y)){h[y]=t[y];break}}return h}function s(c,f){return c.hasOwnProperty(f)}function u(c,f){return c[f]!=null&&c[f]!=="auto"}function l(c,f,h){R0(c,function(d){f[d]=h[d]})}}function Bs(t){return lS({},t)}function lS(t,e){return e&&t&&R0(uS,function(r){e.hasOwnProperty(r)&&(t[r]=e[r])}),t}var B$=Ae(),Fs=function(t){F(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return a.uid=Ns("ec_cpt_model"),a}return e.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i)},e.prototype.mergeDefaultAndTheme=function(r,n){var i=yl(this),a=i?Bs(r):{},o=n.getTheme();ge(r,o.get(this.mainType)),ge(r,this.getDefaultOption()),i&&Gi(r,a,i)},e.prototype.mergeOption=function(r,n){ge(this.option,r,!0);var i=yl(this);i&&Gi(this.option,r,i)},e.prototype.optionUpdated=function(r,n){},e.prototype.getDefaultOption=function(){var r=this.constructor;if(!yz(r))return r.defaultOption;var n=B$(this);if(!n.defaultOption){for(var i=[],a=r;a;){var o=a.prototype.defaultOption;o&&i.push(o),a=a.superClass}for(var s={},u=i.length-1;u>=0;u--)s=ge(s,i[u],!0);n.defaultOption=s}return n.defaultOption},e.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return Vl(this.ecModel,r,{index:this.get(i,!0),id:this.get(a,!0)},n)},e.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(r){this.option.zlevel=r},e.protoInitialize=function(){var r=e.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),e}(We);Kx(Fs,We);d2(Fs);S$(Fs);C$(Fs,F$);function F$(t){var e=[];return E(Fs.getClassesByMainType(t),function(r){e=e.concat(r.dependencies||r.prototype.dependencies||[])}),e=H(e,function(r){return vn(r).main}),t!=="dataset"&&_e(e,"dataset")<=0&&e.unshift("dataset"),e}const Ce=Fs;var cS="";typeof navigator<"u"&&(cS=navigator.platform||"");var Io="rgba(0, 0, 0, 0.2)";const z$={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Io,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Io,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Io,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Io,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Io,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Io,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:cS.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var Ed=J(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Br="original",Vt="arrayRows",Fr="objectRows",En="keyedColumns",$n="typedArray",fS="unknown",_n="column",zs="row",Ct={Must:1,Might:2,Not:3},hS=Ae();function V$(t){hS(t).datasetMap=J()}function dS(t,e,r){var n={},i=R5(e);if(!i||!t)return n;var a=[],o=[],s=e.ecModel,u=hS(s).datasetMap,l=i.uid+"_"+r.seriesLayoutBy,c,f;t=t.slice(),E(t,function(v,g){var m=ne(v)?v:t[g]={name:v};m.type==="ordinal"&&c==null&&(c=g,f=p(m)),n[m.name]=[]});var h=u.get(l)||u.set(l,{categoryWayDim:f,valueWayDim:0});E(t,function(v,g){var m=v.name,y=p(v);if(c==null){var _=h.valueWayDim;d(n[m],_,y),d(o,_,y),h.valueWayDim+=y}else if(c===g)d(n[m],0,y),d(a,0,y);else{var _=h.categoryWayDim;d(n[m],_,y),d(o,_,y),h.categoryWayDim+=y}});function d(v,g,m){for(var y=0;y<m;y++)v.push(g+y)}function p(v){var g=v.dimsDef;return g?g.length:1}return a.length&&(n.itemName=a),o.length&&(n.seriesName=o),n}function P5(t,e,r){var n={},i=R5(t);if(!i)return n;var a=e.sourceFormat,o=e.dimensionsDefine,s;(a===Fr||a===En)&&E(o,function(c,f){(ne(c)?c.name:c)==="name"&&(s=f)});var u=function(){for(var c={},f={},h=[],d=0,p=Math.min(5,r);d<p;d++){var v=vS(e.data,a,e.seriesLayoutBy,o,e.startIndex,d);h.push(v);var g=v===Ct.Not;if(g&&c.v==null&&d!==s&&(c.v=d),(c.n==null||c.n===c.v||!g&&h[c.n]===Ct.Not)&&(c.n=d),m(c)&&h[c.n]!==Ct.Not)return c;g||(v===Ct.Might&&f.v==null&&d!==s&&(f.v=d),(f.n==null||f.n===f.v)&&(f.n=d))}function m(y){return y.v!=null&&y.n!=null}return m(c)?c:m(f)?f:null}();if(u){n.value=[u.v];var l=s??u.n;n.itemName=[l],n.seriesName=[l]}return n}function R5(t){var e=t.get("data",!0);if(!e)return Vl(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},lt).models[0]}function $$(t){return!t.get("transform",!0)&&!t.get("fromTransformResult",!0)?[]:Vl(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},lt).models}function pS(t,e){return vS(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function vS(t,e,r,n,i,a){var o,s=5;if(Zt(t))return Ct.Not;var u,l;if(n){var c=n[a];ne(c)?(u=c.name,l=c.type):Z(c)&&(u=c)}if(l!=null)return l==="ordinal"?Ct.Must:Ct.Not;if(e===Vt){var f=t;if(r===zs){for(var h=f[a],d=0;d<(h||[]).length&&d<s;d++)if((o=b(h[i+d]))!=null)return o}else for(var d=0;d<f.length&&d<s;d++){var p=f[i+d];if(p&&(o=b(p[a]))!=null)return o}}else if(e===Fr){var v=t;if(!u)return Ct.Not;for(var d=0;d<v.length&&d<s;d++){var g=v[d];if(g&&(o=b(g[u]))!=null)return o}}else if(e===En){var m=t;if(!u)return Ct.Not;var h=m[u];if(!h||Zt(h))return Ct.Not;for(var d=0;d<h.length&&d<s;d++)if((o=b(h[d]))!=null)return o}else if(e===Br)for(var y=t,d=0;d<y.length&&d<s;d++){var g=y[d],_=Ls(g);if(!G(_))return Ct.Not;if((o=b(_[a]))!=null)return o}function b(x){var w=Z(x);if(x!=null&&Number.isFinite(Number(x))&&x!=="")return w?Ct.Might:Ct.Not;if(w&&x!=="-")return Ct.Must}return Ct.Not}var kd=J();function G$(t,e){ie(kd.get(t)==null&&e),kd.set(t,e)}function H$(t,e,r){var n=kd.get(e);if(!n)return r;var i=n(t);if(!i)return r;if(process.env.NODE_ENV!=="production")for(var a=0;a<i.length;a++)ie(ms(i[a]));return r.concat(i)}var P3=Ae(),U$=Ae(),N5=function(){function t(){}return t.prototype.getColorFromPalette=function(e,r,n){var i=ze(this.get("color",!0)),a=this.get("colorLayer",!0);return gS(this,P3,i,a,e,r,n)},t.prototype.clearColorPalette=function(){q$(this,P3)},t}();function Md(t,e,r,n){var i=ze(t.get(["aria","decal","decals"]));return gS(t,U$,i,null,e,r,n)}function W$(t,e){for(var r=t.length,n=0;n<r;n++)if(t[n].length>e)return t[n];return t[r-1]}function gS(t,e,r,n,i,a,o){a=a||t;var s=e(a),u=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var c=o==null||!n?r:W$(n,o);if(c=c||r,!(!c||!c.length)){var f=c[u];return i&&(l[i]=f),s.paletteIdx=(u+1)%c.length,f}}function q$(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var F1,au,R3,jf="\0_ec_inner",N3=1,Z$={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},Y$={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},dc={};function X$(t){E(t,function(e,r){if(!Ce.hasClass(r)){var n=Z$[r];n&&!dc[n]&&(Et("Component "+r+` is used but not imported.
|
|
78
|
+
import { `+n+` } from 'echarts/components';
|
|
79
|
+
echarts.use([`+n+"]);"),dc[n]=!0)}})}var mS=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(r,n,i,a,o,s){a=a||{},this.option=null,this._theme=new We(a),this._locale=new We(o),this._optionManager=s},e.prototype.setOption=function(r,n,i){process.env.NODE_ENV!=="production"&&(ie(r!=null,"option is null/undefined"),ie(r[jf]!==N3,"please use chart.getOption()"));var a=F3(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},e.prototype.resetOption=function(r,n){return this._resetOption(r,F3(n))},e.prototype._resetOption=function(r,n){var i=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");process.env.NODE_ENV!=="production"&&X$(o),!this.option||r==="recreate"?R3(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var u=a.getMediaOption(this);u.length&&E(u,function(l){i=!0,this._mergeOption(l,n)},this)}return i},e.prototype.mergeOption=function(r){this._mergeOption(r,null)},e.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],u=J(),l=n&&n.replaceMergeMainTypeMap;V$(this),E(r,function(f,h){f!=null&&(Ce.hasClass(h)?h&&(s.push(h),u.set(h,!0)):i[h]=i[h]==null?oe(f):ge(i[h],f,!0))}),l&&l.each(function(f,h){Ce.hasClass(h)&&!u.get(h)&&(s.push(h),u.set(h,!0))}),Ce.topologicalTravel(s,Ce.getAllClassMainTypes(),c,this);function c(f){var h=H$(this,f,ze(r[f])),d=a.get(f),p=d?l&&l.get(f)?"replaceMerge":"normalMerge":"replaceAll",v=qx(d,h,p);lz(v,f,Ce),i[f]=null,a.set(f,null),o.set(f,0);var g=[],m=[],y=0,_,b;E(v,function(x,w){var S=x.existing,C=x.newOption;if(!C)S&&(S.mergeOption({},this),S.optionUpdated({},!1));else{var A=f==="series",T=Ce.getClass(f,x.keyInfo.subType,!A);if(!T){if(process.env.NODE_ENV!=="production"){var D=x.keyInfo.subType,k=Y$[D];dc[D]||(dc[D]=!0,Et(k?"Series "+D+` is used but not imported.
|
|
80
|
+
import { `+k+` } from 'echarts/charts';
|
|
81
|
+
echarts.use([`+k+"]);":"Unknown series "+D))}return}if(f==="tooltip"){if(_){process.env.NODE_ENV!=="production"&&(b||(Qe("Currently only one tooltip component is allowed."),b=!0));return}_=!0}if(S&&S.constructor===T)S.name=x.keyInfo.name,S.mergeOption(C,this),S.optionUpdated(C,!1);else{var M=$({componentIndex:w},x.keyInfo);S=new T(C,this,this,M),$(S,M),x.brandNew&&(S.__requireNewView=!0),S.init(C,this,this),S.optionUpdated(null,!0)}}S?(g.push(S.option),m.push(S),y++):(g.push(void 0),m.push(void 0))},this),i[f]=g,a.set(f,m),o.set(f,y),f==="series"&&F1(this)}this._seriesIndices||F1(this)},e.prototype.getOption=function(){var r=oe(this.option);return E(r,function(n,i){if(Ce.hasClass(i)){for(var a=ze(n),o=a.length,s=!1,u=o-1;u>=0;u--)a[u]&&!ms(a[u])?s=!0:(a[u]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[jf],r},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(r){this._payload=r},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(r,n){var i=this._componentsMap.get(r);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o<i.length;o++)if(i[o])return i[o]}}},e.prototype.queryComponents=function(r){var n=r.mainType;if(!n)return[];var i=r.index,a=r.id,o=r.name,s=this._componentsMap.get(n);if(!s||!s.length)return[];var u;return i!=null?(u=[],E(ze(i),function(l){s[l]&&u.push(s[l])})):a!=null?u=O3("id",a,s):o!=null?u=O3("name",o,s):u=Ne(s,function(l){return!!l}),B3(u,r)},e.prototype.findComponents=function(r){var n=r.query,i=r.mainType,a=s(n),o=a?this.queryComponents(a):Ne(this._componentsMap.get(i),function(l){return!!l});return u(B3(o,r));function s(l){var c=i+"Index",f=i+"Id",h=i+"Name";return l&&(l[c]!=null||l[f]!=null||l[h]!=null)?{mainType:i,index:l[c],id:l[f],name:l[h]}:null}function u(l){return r.filter?Ne(l,r.filter):l}},e.prototype.eachComponent=function(r,n,i){var a=this._componentsMap;if(te(r)){var o=n,s=r;a.each(function(f,h){for(var d=0;f&&d<f.length;d++){var p=f[d];p&&s.call(o,h,p,p.componentIndex)}})}else for(var u=Z(r)?a.get(r):ne(r)?this.findComponents(r):null,l=0;u&&l<u.length;l++){var c=u[l];c&&n.call(i,c,c.componentIndex)}},e.prototype.getSeriesByName=function(r){var n=ht(r,null);return Ne(this._componentsMap.get("series"),function(i){return!!i&&n!=null&&i.name===n})},e.prototype.getSeriesByIndex=function(r){return this._componentsMap.get("series")[r]},e.prototype.getSeriesByType=function(r){return Ne(this._componentsMap.get("series"),function(n){return!!n&&n.subType===r})},e.prototype.getSeries=function(){return Ne(this._componentsMap.get("series"),function(r){return!!r})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(r,n){au(this),E(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];r.call(n,a,i)},this)},e.prototype.eachRawSeries=function(r,n){E(this._componentsMap.get("series"),function(i){i&&r.call(n,i,i.componentIndex)})},e.prototype.eachSeriesByType=function(r,n,i){au(this),E(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];o.subType===r&&n.call(i,o,a)},this)},e.prototype.eachRawSeriesByType=function(r,n,i){return E(this.getSeriesByType(r),n,i)},e.prototype.isSeriesFiltered=function(r){return au(this),this._seriesIndicesMap.get(r.componentIndex)==null},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(r,n){au(this);var i=[];E(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];r.call(n,o,a)&&i.push(a)},this),this._seriesIndices=i,this._seriesIndicesMap=J(i)},e.prototype.restoreData=function(r){F1(this);var n=this._componentsMap,i=[];n.each(function(a,o){Ce.hasClass(o)&&i.push(o)}),Ce.topologicalTravel(i,Ce.getAllClassMainTypes(),function(a){E(n.get(a),function(o){o&&(a!=="series"||!j$(o,r))&&o.restoreData()})})},e.internalField=function(){F1=function(r){var n=r._seriesIndices=[];E(r._componentsMap.get("series"),function(i){i&&n.push(i.componentIndex)}),r._seriesIndicesMap=J(n)},au=function(r){if(process.env.NODE_ENV!=="production"&&!r._seriesIndices)throw new Error("Option should contains series.")},R3=function(r,n){r.option={},r.option[jf]=N3,r._componentsMap=J({series:[]}),r._componentsCount=J();var i=n.aria;ne(i)&&i.enabled==null&&(i.enabled=!0),K$(n,r._theme.option),ge(n,z$,!1),r._mergeOption(n,null)}}(),e}(We);function j$(t,e){if(e){var r=e.seriesIndex,n=e.seriesId,i=e.seriesName;return r!=null&&t.componentIndex!==r||n!=null&&t.id!==n||i!=null&&t.name!==i}}function K$(t,e){var r=t.color&&!t.colorLayer;E(e,function(n,i){i==="colorLayer"&&r||Ce.hasClass(i)||(typeof n=="object"?t[i]=t[i]?ge(t[i],n,!1):oe(n):t[i]==null&&(t[i]=n))})}function O3(t,e,r){if(G(e)){var n=J();return E(e,function(a){if(a!=null){var o=ht(a,null);o!=null&&n.set(a,!0)}}),Ne(r,function(a){return a&&n.get(a[t])})}else{var i=ht(e,null);return Ne(r,function(a){return a&&i!=null&&a[t]===i})}}function B3(t,e){return e.hasOwnProperty("subType")?Ne(t,function(r){return r&&r.subType===e.subType}):t}function F3(t){var e=J();return t&&E(ze(t.replaceMerge),function(r){process.env.NODE_ENV!=="production"&&ie(Ce.hasClass(r),'"'+r+'" is not valid component main type in "replaceMerge"'),e.set(r,!0)}),{replaceMergeMainTypeMap:e}}ft(mS,N5);const yS=mS;var Q$=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],J$=function(){function t(e){E(Q$,function(r){this[r]=X(e[r],e)},this)}return t}();const _S=J$;var Kf={},eG=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(e,r){var n=[];E(Kf,function(i,a){var o=i.create(e,r);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(e,r){E(this._coordinateSystems,function(n){n.update&&n.update(e,r)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(e,r){Kf[e]=r},t.get=function(e){return Kf[e]},t}();const Vs=eG;var tG=/^(min|max)?(.+)$/,rG=function(){function t(e){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=e}return t.prototype.setOption=function(e,r,n){e&&(E(ze(e.series),function(o){o&&o.data&&Zt(o.data)&&K0(o.data)}),E(ze(e.dataset),function(o){o&&o.source&&Zt(o.source)&&K0(o.source)})),e=oe(e);var i=this._optionBackup,a=nG(e,r,!i);this._newBaseOption=a.baseOption,i?(a.timelineOptions.length&&(i.timelineOptions=a.timelineOptions),a.mediaList.length&&(i.mediaList=a.mediaList),a.mediaDefault&&(i.mediaDefault=a.mediaDefault)):this._optionBackup=a},t.prototype.mountOption=function(e){var r=this._optionBackup;return this._timelineOptions=r.timelineOptions,this._mediaList=r.mediaList,this._mediaDefault=r.mediaDefault,this._currentMediaIndices=[],oe(e?r.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(e){var r,n=this._timelineOptions;if(n.length){var i=e.getComponent("timeline");i&&(r=oe(n[i.getCurrentIndex()]))}return r},t.prototype.getMediaOption=function(e){var r=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,a=this._mediaDefault,o=[],s=[];if(!i.length&&!a)return s;for(var u=0,l=i.length;u<l;u++)iG(i[u].query,r,n)&&o.push(u);return!o.length&&a&&(o=[-1]),o.length&&!oG(o,this._currentMediaIndices)&&(s=H(o,function(c){return oe(c===-1?a.option:i[c].option)})),this._currentMediaIndices=o,s},t}();function nG(t,e,r){var n=[],i,a,o=t.baseOption,s=t.timeline,u=t.options,l=t.media,c=!!t.media,f=!!(u||s||o&&o.timeline);o?(a=o,a.timeline||(a.timeline=s)):((f||c)&&(t.options=t.media=null),a=t),c&&(G(l)?E(l,function(d){process.env.NODE_ENV!=="production"&&d&&!d.option&&ne(d.query)&&ne(d.query.option)&&Et("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),d&&d.option&&(d.query?n.push(d):i||(i=d))}):process.env.NODE_ENV!=="production"&&Et("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),h(a),E(u,function(d){return h(d)}),E(n,function(d){return h(d.option)});function h(d){E(e,function(p){p(d,r)})}return{baseOption:a,timelineOptions:u||[],mediaDefault:i,mediaList:n}}function iG(t,e,r){var n={width:e,height:r,aspectratio:e/r},i=!0;return E(t,function(a,o){var s=o.match(tG);if(!(!s||!s[1]||!s[2])){var u=s[1],l=s[2].toLowerCase();aG(n[l],a,u)||(i=!1)}}),i}function aG(t,e,r){return r==="min"?t>=e:r==="max"?t<=e:t===e}function oG(t,e){return t.join(",")===e.join(",")}const sG=rG;var vr=E,_l=ne,z3=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Qf(t){var e=t&&t.itemStyle;if(e)for(var r=0,n=z3.length;r<n;r++){var i=z3[r],a=e.normal,o=e.emphasis;a&&a[i]&&(process.env.NODE_ENV!=="production"&&st("itemStyle.normal."+i,i),t[i]=t[i]||{},t[i].normal?ge(t[i].normal,a[i]):t[i].normal=a[i],a[i]=null),o&&o[i]&&(process.env.NODE_ENV!=="production"&&st("itemStyle.emphasis."+i,"emphasis."+i),t[i]=t[i]||{},t[i].emphasis?ge(t[i].emphasis,o[i]):t[i].emphasis=o[i],o[i]=null)}}function Ot(t,e,r){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var n=t[e].normal,i=t[e].emphasis;n&&(process.env.NODE_ENV!=="production"&&Kr("'normal' hierarchy in "+e+" has been removed since 4.0. All style properties are configured in "+e+" directly now."),r?(t[e].normal=t[e].emphasis=null,ae(t[e],n)):t[e]=n),i&&(process.env.NODE_ENV!=="production"&&Kr(e+".emphasis has been changed to emphasis."+e+" since 4.0"),t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function Pu(t){Ot(t,"itemStyle"),Ot(t,"lineStyle"),Ot(t,"areaStyle"),Ot(t,"label"),Ot(t,"labelLine"),Ot(t,"upperLabel"),Ot(t,"edgeLabel")}function ot(t,e){var r=_l(t)&&t[e],n=_l(r)&&r.textStyle;if(n){process.env.NODE_ENV!=="production"&&Kr("textStyle hierarchy in "+e+" has been removed since 4.0. All textStyle properties are configured in "+e+" directly now.");for(var i=0,a=Hv.length;i<a;i++){var o=Hv[i];n.hasOwnProperty(o)&&(r[o]=n[o])}}}function Sr(t){t&&(Pu(t),ot(t,"label"),t.emphasis&&ot(t.emphasis,"label"))}function uG(t){if(_l(t)){Qf(t),Pu(t),ot(t,"label"),ot(t,"upperLabel"),ot(t,"edgeLabel"),t.emphasis&&(ot(t.emphasis,"label"),ot(t.emphasis,"upperLabel"),ot(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(Qf(e),Sr(e));var r=t.markLine;r&&(Qf(r),Sr(r));var n=t.markArea;n&&Sr(n);var i=t.data;if(t.type==="graph"){i=i||t.nodes;var a=t.links||t.edges;if(a&&!Zt(a))for(var o=0;o<a.length;o++)Sr(a[o]);E(t.categories,function(l){Pu(l)})}if(i&&!Zt(i))for(var o=0;o<i.length;o++)Sr(i[o]);if(e=t.markPoint,e&&e.data)for(var s=e.data,o=0;o<s.length;o++)Sr(s[o]);if(r=t.markLine,r&&r.data)for(var u=r.data,o=0;o<u.length;o++)G(u[o])?(Sr(u[o][0]),Sr(u[o][1])):Sr(u[o]);t.type==="gauge"?(ot(t,"axisLabel"),ot(t,"title"),ot(t,"detail")):t.type==="treemap"?(Ot(t.breadcrumb,"itemStyle"),E(t.levels,function(l){Pu(l)})):t.type==="tree"&&Pu(t.leaves)}}function In(t){return G(t)?t:t?[t]:[]}function V3(t){return(G(t)?t[0]:t)||{}}function lG(t,e){vr(In(t.series),function(n){_l(n)&&uG(n)});var r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),vr(r,function(n){vr(In(t[n]),function(i){i&&(ot(i,"axisLabel"),ot(i.axisPointer,"label"))})}),vr(In(t.parallel),function(n){var i=n&&n.parallelAxisDefault;ot(i,"axisLabel"),ot(i&&i.axisPointer,"label")}),vr(In(t.calendar),function(n){Ot(n,"itemStyle"),ot(n,"dayLabel"),ot(n,"monthLabel"),ot(n,"yearLabel")}),vr(In(t.radar),function(n){ot(n,"name"),n.name&&n.axisName==null&&(n.axisName=n.name,delete n.name,process.env.NODE_ENV!=="production"&&Kr("name property in radar component has been changed to axisName")),n.nameGap!=null&&n.axisNameGap==null&&(n.axisNameGap=n.nameGap,delete n.nameGap,process.env.NODE_ENV!=="production"&&Kr("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&vr(n.indicator,function(i){i.text&&st("text","name","radar.indicator")})}),vr(In(t.geo),function(n){_l(n)&&(Sr(n),vr(In(n.regions),function(i){Sr(i)}))}),vr(In(t.timeline),function(n){Sr(n),Ot(n,"label"),Ot(n,"itemStyle"),Ot(n,"controlStyle",!0);var i=n.data;G(i)&&E(i,function(a){ne(a)&&(Ot(a,"label"),Ot(a,"itemStyle"))})}),vr(In(t.toolbox),function(n){Ot(n,"iconStyle"),vr(n.feature,function(i){Ot(i,"iconStyle")})}),ot(V3(t.axisPointer),"label"),ot(V3(t.tooltip).axisPointer,"label")}function cG(t,e){for(var r=e.split(","),n=t,i=0;i<r.length&&(n=n&&n[r[i]],n!=null);i++);return n}function fG(t,e,r,n){for(var i=e.split(","),a=t,o,s=0;s<i.length-1;s++)o=i[s],a[o]==null&&(a[o]={}),a=a[o];(n||a[i[s]]==null)&&(a[i[s]]=r)}function $3(t){t&&E(hG,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var hG=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],dG=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],Jf=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function ou(t){var e=t&&t.itemStyle;if(e)for(var r=0;r<Jf.length;r++){var n=Jf[r][1],i=Jf[r][0];e[n]!=null&&(e[i]=e[n],process.env.NODE_ENV!=="production"&&st(n,i))}}function G3(t){t&&t.alignTo==="edge"&&t.margin!=null&&t.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&st("label.margin","label.edgeDistance","pie"),t.edgeDistance=t.margin)}function H3(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay,process.env.NODE_ENV!=="production"&&st("downplay","blur","sunburst"))}function pG(t){t&&t.focusNodeAdjacency!=null&&(t.emphasis=t.emphasis||{},t.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&st("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),t.emphasis.focus="adjacency"))}function bS(t,e){if(t)for(var r=0;r<t.length;r++)e(t[r]),t[r]&&bS(t[r].children,e)}function xS(t,e){lG(t,e),t.series=ze(t.series),E(t.series,function(r){if(ne(r)){var n=r.type;if(n==="line")r.clipOverflow!=null&&(r.clip=r.clipOverflow,process.env.NODE_ENV!=="production"&&st("clipOverflow","clip","line"));else if(n==="pie"||n==="gauge"){r.clockWise!=null&&(r.clockwise=r.clockWise,process.env.NODE_ENV!=="production"&&st("clockWise","clockwise")),G3(r.label);var i=r.data;if(i&&!Zt(i))for(var a=0;a<i.length;a++)G3(i[a]);r.hoverOffset!=null&&(r.emphasis=r.emphasis||{},(r.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&st("hoverOffset","emphasis.scaleSize"),r.emphasis.scaleSize=r.hoverOffset))}else if(n==="gauge"){var o=cG(r,"pointer.color");o!=null&&fG(r,"itemStyle.color",o)}else if(n==="bar"){ou(r),ou(r.backgroundStyle),ou(r.emphasis);var i=r.data;if(i&&!Zt(i))for(var a=0;a<i.length;a++)typeof i[a]=="object"&&(ou(i[a]),ou(i[a]&&i[a].emphasis))}else if(n==="sunburst"){var s=r.highlightPolicy;s&&(r.emphasis=r.emphasis||{},r.emphasis.focus||(r.emphasis.focus=s,process.env.NODE_ENV!=="production"&&st("highlightPolicy","emphasis.focus","sunburst"))),H3(r),bS(r.data,H3)}else n==="graph"||n==="sankey"?pG(r):n==="map"&&(r.mapType&&!r.map&&(process.env.NODE_ENV!=="production"&&st("mapType","map","map"),r.map=r.mapType),r.mapLocation&&(process.env.NODE_ENV!=="production"&&Kr("`mapLocation` is not used anymore."),ae(r,r.mapLocation)));r.hoverAnimation!=null&&(r.emphasis=r.emphasis||{},r.emphasis&&r.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&st("hoverAnimation","emphasis.scale"),r.emphasis.scale=r.hoverAnimation)),$3(r)}}),t.dataRange&&(t.visualMap=t.dataRange),E(dG,function(r){var n=t[r];n&&(G(n)||(n=[n]),E(n,function(i){$3(i)}))})}function vG(t){var e=J();t.eachSeries(function(r){var n=r.get("stack");if(n){var i=e.get(n)||e.set(n,[]),a=r.getData(),o={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:r};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.length&&a.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),e.each(gG)}function gG(t){E(t,function(e,r){var n=[],i=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,u=e.seriesModel.get("stackStrategy")||"samesign";o.modify(a,function(l,c,f){var h=o.get(e.stackedDimension,f);if(isNaN(h))return i;var d,p;s?p=o.getRawIndex(f):d=o.get(e.stackedByDimension,f);for(var v=NaN,g=r-1;g>=0;g--){var m=t[g];if(s||(p=m.data.rawIndexOf(m.stackedByDimension,d)),p>=0){var y=m.data.getByRawIndex(m.stackResultDimension,p);if(u==="all"||u==="positive"&&y>0||u==="negative"&&y<0||u==="samesign"&&h>=0&&y>0||u==="samesign"&&h<=0&&y<0){h=XF(h,y),v=y;break}}}return n[0]=h,n[1]=v,n})})}var M2=function(){function t(e){this.data=e.data||(e.sourceFormat===En?{}:[]),this.sourceFormat=e.sourceFormat||fS,this.seriesLayoutBy=e.seriesLayoutBy||_n,this.startIndex=e.startIndex||0,this.dimensionsDetectedCount=e.dimensionsDetectedCount,this.metaRawOption=e.metaRawOption;var r=this.dimensionsDefine=e.dimensionsDefine;if(r)for(var n=0;n<r.length;n++){var i=r[n];i.type==null&&pS(this,n)===Ct.Must&&(i.type="ordinal")}}return t}();function O5(t){return t instanceof M2}function Ld(t,e,r){r=r||wS(t);var n=e.seriesLayoutBy,i=yG(t,r,n,e.sourceHeader,e.dimensions),a=new M2({data:t,sourceFormat:r,seriesLayoutBy:n,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:oe(e)});return a}function B5(t){return new M2({data:t,sourceFormat:Zt(t)?$n:Br})}function mG(t){return new M2({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:oe(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function wS(t){var e=fS;if(Zt(t))e=$n;else if(G(t)){t.length===0&&(e=Vt);for(var r=0,n=t.length;r<n;r++){var i=t[r];if(i!=null){if(G(i)||Zt(i)){e=Vt;break}else if(ne(i)){e=Fr;break}}}}else if(ne(t)){for(var a in t)if(j(t,a)&&zt(t[a])){e=En;break}}return e}function yG(t,e,r,n,i){var a,o;if(!t)return{dimensionsDefine:U3(i),startIndex:o,dimensionsDetectedCount:a};if(e===Vt){var s=t;n==="auto"||n==null?W3(function(l){l!=null&&l!=="-"&&(Z(l)?o==null&&(o=1):o=0)},r,s,10):o=Me(n)?n:n?1:0,!i&&o===1&&(i=[],W3(function(l,c){i[c]=l!=null?l+"":""},r,s,1/0)),a=i?i.length:r===zs?s.length:s[0]?s[0].length:null}else if(e===Fr)i||(i=_G(t));else if(e===En)i||(i=[],E(t,function(l,c){i.push(c)}));else if(e===Br){var u=Ls(t[0]);a=G(u)&&u.length||1}else e===$n&&process.env.NODE_ENV!=="production"&&ie(!!i,"dimensions must be given if data is TypedArray.");return{startIndex:o,dimensionsDefine:U3(i),dimensionsDetectedCount:a}}function _G(t){for(var e=0,r;e<t.length&&!(r=t[e++]););if(r)return Se(r)}function U3(t){if(t){var e=J();return H(t,function(r,n){r=ne(r)?r:{name:r};var i={name:r.name,displayName:r.displayName,type:r.type};if(i.name==null)return i;i.name+="",i.displayName==null&&(i.displayName=i.name);var a=e.get(i.name);return a?i.name+="-"+a.count++:e.set(i.name,{count:1}),i})}}function W3(t,e,r,n){if(e===zs)for(var i=0;i<r.length&&i<n;i++)t(r[i]?r[i][0]:null,i);else for(var a=r[0]||[],i=0;i<a.length&&i<n;i++)t(a[i],i)}function SS(t){var e=t.sourceFormat;return e===Fr||e===En}var va,ga,ma,q3,Z3,CS=function(){function t(e,r){var n=O5(e)?e:B5(e);this._source=n;var i=this._data=n.data;if(n.sourceFormat===$n){if(process.env.NODE_ENV!=="production"&&r==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=r,this._data=i}Z3(this,i,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(e,r){},t.prototype.appendData=function(e){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var e;Z3=function(o,s,u){var l=u.sourceFormat,c=u.seriesLayoutBy,f=u.startIndex,h=u.dimensionsDefine,d=q3[F5(l,c)];if(process.env.NODE_ENV!=="production"&&ie(d,"Invalide sourceFormat: "+l),$(o,d),l===$n)o.getItem=r,o.count=i,o.fillStorage=n;else{var p=AS(l,c);o.getItem=X(p,null,s,f,h);var v=TS(l,c);o.count=X(v,null,s,f,h)}};var r=function(o,s){o=o-this._offset,s=s||[];for(var u=this._data,l=this._dimSize,c=l*o,f=0;f<l;f++)s[f]=u[c+f];return s},n=function(o,s,u,l){for(var c=this._data,f=this._dimSize,h=0;h<f;h++){for(var d=l[h],p=d[0]==null?1/0:d[0],v=d[1]==null?-1/0:d[1],g=s-o,m=u[h],y=0;y<g;y++){var _=c[y*f+h];m[o+y]=_,_<p&&(p=_),_>v&&(v=_)}d[0]=p,d[1]=v}},i=function(){return this._data?this._data.length/this._dimSize:0};q3=(e={},e[Vt+"_"+_n]={pure:!0,appendData:a},e[Vt+"_"+zs]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},e[Fr]={pure:!0,appendData:a},e[En]={pure:!0,appendData:function(o){var s=this._data;E(o,function(u,l){for(var c=s[l]||(s[l]=[]),f=0;f<(u||[]).length;f++)c.push(u[f])})}},e[Br]={appendData:a},e[$n]={persistent:!1,pure:!0,appendData:function(o){process.env.NODE_ENV!=="production"&&ie(Zt(o),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},e);function a(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}}(),t}(),Y3=function(t,e,r,n){return t[n]},bG=(va={},va[Vt+"_"+_n]=function(t,e,r,n){return t[n+e]},va[Vt+"_"+zs]=function(t,e,r,n,i){n+=e;for(var a=i||[],o=t,s=0;s<o.length;s++){var u=o[s];a[s]=u?u[n]:null}return a},va[Fr]=Y3,va[En]=function(t,e,r,n,i){for(var a=i||[],o=0;o<r.length;o++){var s=r[o].name;if(process.env.NODE_ENV!=="production"&&s==null)throw new Error;var u=t[s];a[o]=u?u[n]:null}return a},va[Br]=Y3,va);function AS(t,e){var r=bG[F5(t,e)];return process.env.NODE_ENV!=="production"&&ie(r,'Do not support get item on "'+t+'", "'+e+'".'),r}var X3=function(t,e,r){return t.length},xG=(ga={},ga[Vt+"_"+_n]=function(t,e,r){return Math.max(0,t.length-e)},ga[Vt+"_"+zs]=function(t,e,r){var n=t[0];return n?Math.max(0,n.length-e):0},ga[Fr]=X3,ga[En]=function(t,e,r){var n=r[0].name;if(process.env.NODE_ENV!=="production"&&n==null)throw new Error;var i=t[n];return i?i.length:0},ga[Br]=X3,ga);function TS(t,e){var r=xG[F5(t,e)];return process.env.NODE_ENV!=="production"&&ie(r,'Do not support count on "'+t+'", "'+e+'".'),r}var e6=function(t,e,r){return t[e]},wG=(ma={},ma[Vt]=e6,ma[Fr]=function(t,e,r){return t[r]},ma[En]=e6,ma[Br]=function(t,e,r){var n=Ls(t);return n instanceof Array?n[e]:n},ma[$n]=e6,ma);function DS(t){var e=wG[t];return process.env.NODE_ENV!=="production"&&ie(e,'Do not support get value on "'+t+'".'),e}function F5(t,e){return t===Vt?t+"_"+e:t}function _s(t,e,r){if(t){var n=t.getRawDataItem(e);if(n!=null){var i=t.getStore(),a=i.getSource().sourceFormat;if(r!=null){var o=t.getDimensionIndex(r),s=i.getDimensionProperty(o);return DS(a)(n,o,s)}else{var u=n;return a===Br&&(u=Ls(n)),u}}}}var SG=/\{@(.+?)\}/g,L2=function(){function t(){}return t.prototype.getDataParams=function(e,r){var n=this.getData(r),i=this.getRawValue(e,r),a=n.getRawIndex(e),o=n.getName(e),s=n.getRawDataItem(e),u=n.getItemVisual(e,"style"),l=u&&u[n.getItemVisual(e,"drawType")||"fill"],c=u&&u.stroke,f=this.mainType,h=f==="series",d=n.userOutput&&n.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:o,dataIndex:a,data:s,dataType:r,value:i,color:l,borderColor:c,dimensionNames:d?d.fullDimensions:null,encode:d?d.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(e,r,n,i,a,o){r=r||"normal";var s=this.getData(n),u=this.getDataParams(e,n);if(o&&(u.value=o.interpolatedValue),i!=null&&G(u.value)&&(u.value=u.value[i]),!a){var l=s.getItemModel(e);a=l.get(r==="normal"?["label","formatter"]:[r,"label","formatter"])}if(te(a))return u.status=r,u.dimensionIndex=i,a(u);if(Z(a)){var c=sS(a,u);return c.replace(SG,function(f,h){var d=h.length,p=h;p.charAt(0)==="["&&p.charAt(d-1)==="]"&&(p=+p.slice(1,d-1),process.env.NODE_ENV!=="production"&&isNaN(p)&&Et("Invalide label formatter: @"+h+", only support @[0], @[1], @[2], ..."));var v=_s(s,e,p);if(o&&G(o.interpolatedValue)){var g=s.getDimensionIndex(p);g>=0&&(v=o.interpolatedValue[g])}return v!=null?v+"":""})}},t.prototype.getRawValue=function(e,r){return _s(this.getData(r),e)},t.prototype.formatTooltip=function(e,r,n){},t}();function j3(t){var e,r;return ne(t)?t.type?r=t:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+Yt(t)):e=t,{text:e,frag:r}}function ju(t){return new CG(t)}var CG=function(){function t(e){e=e||{},this._reset=e.reset,this._plan=e.plan,this._count=e.count,this._onDirty=e.onDirty,this._dirty=!0}return t.prototype.perform=function(e){var r=this._upstream,n=e&&e.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=c(this._modBy),s=this._modDataCount||0,u=c(e&&e.modBy),l=e&&e.modDataCount||0;(o!==u||s!==l)&&(a="reset");function c(y){return!(y>=1)&&(y=1),y}var f;(this._dirty||a==="reset")&&(this._dirty=!1,f=this._doReset(n)),this._modBy=u,this._modDataCount=l;var h=e&&e.step;if(r?(process.env.NODE_ENV!=="production"&&ie(r._outputDueEnd!=null),this._dueEnd=r._outputDueEnd):(process.env.NODE_ENV!=="production"&&ie(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var d=this._dueIndex,p=Math.min(h!=null?this._dueIndex+h:1/0,this._dueEnd);if(!n&&(f||d<p)){var v=this._progress;if(G(v))for(var g=0;g<v.length;g++)this._doProgress(v[g],d,p,u,l);else this._doProgress(v,d,p,u,l)}this._dueIndex=p;var m=this._settedOutputEnd!=null?this._settedOutputEnd:p;process.env.NODE_ENV!=="production"&&ie(m>=this._outputDueEnd),this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(e,r,n,i,a){K3.reset(r,n,i,a),this._callingProgress=e,this._callingProgress({start:r,end:n,count:n-r,next:K3.next},this.context)},t.prototype._doReset=function(e){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var r,n;!e&&this._reset&&(r=this._reset(this.context),r&&r.progress&&(n=r.forceFirstProgress,r=r.progress),G(r)&&!r.length&&(r=null)),this._progress=r,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(e){process.env.NODE_ENV!=="production"&&ie(e&&!e._disposed&&e!==this),(this._downstream!==e||this._dirty)&&(this._downstream=e,e._upstream=this,e.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(e){this._outputDueEnd=this._settedOutputEnd=e},t}(),K3=function(){var t,e,r,n,i,a={reset:function(u,l,c,f){e=u,t=l,r=c,n=f,i=Math.ceil(n/r),a.next=r>1&&n>0?s:o}};return a;function o(){return e<t?e++:null}function s(){var u=e%i*r+Math.ceil(e/i),l=e>=t?null:u<n?u:e;return e++,l}}();function Pi(t,e){var r=e&&e.type;return r==="ordinal"?t:(r==="time"&&!Me(t)&&t!=null&&t!=="-"&&(t=+Sn(t)),t==null||t===""?NaN:Number(t))}var AG=J({number:function(t){return parseFloat(t)},time:function(t){return+Sn(t)},trim:function(t){return Z(t)?Wr(t):t}});function ES(t){return AG.get(t)}var kS={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},TG=function(){function t(e,r){if(!Me(r)){var n="";process.env.NODE_ENV!=="production"&&(n='rvalue of "<", ">", "<=", ">=" can only be number in filter.'),Re(n)}this._opFn=kS[e],this._rvalFloat=qn(r)}return t.prototype.evaluate=function(e){return Me(e)?this._opFn(e,this._rvalFloat):this._opFn(qn(e),this._rvalFloat)},t}(),MS=function(){function t(e,r){var n=e==="desc";this._resultLT=n?1:-1,r==null&&(r=n?"min":"max"),this._incomparable=r==="min"?-1/0:1/0}return t.prototype.evaluate=function(e,r){var n=Me(e)?e:qn(e),i=Me(r)?r:qn(r),a=isNaN(n),o=isNaN(i);if(a&&(n=this._incomparable),o&&(i=this._incomparable),a&&o){var s=Z(e),u=Z(r);s&&(n=u?e:0),u&&(i=s?r:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},t}(),DG=function(){function t(e,r){this._rval=r,this._isEQ=e,this._rvalTypeof=typeof r,this._rvalFloat=qn(r)}return t.prototype.evaluate=function(e){var r=e===this._rval;if(!r){var n=typeof e;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(r=qn(e)===this._rvalFloat)}return this._isEQ?r:!r},t}();function EG(t,e){return t==="eq"||t==="ne"?new DG(t==="eq",e):j(kS,t)?new TG(t,e):null}var kG=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(e){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(e){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(e,r){},t.prototype.retrieveValueFromItem=function(e,r){},t.prototype.convertValue=function(e,r){return Pi(e,r)},t}();function MG(t,e){var r=new kG,n=t.data,i=r.sourceFormat=t.sourceFormat,a=t.startIndex,o="";t.seriesLayoutBy!==_n&&(process.env.NODE_ENV!=="production"&&(o='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Re(o));var s=[],u={},l=t.dimensionsDefine;if(l)E(l,function(v,g){var m=v.name,y={index:g,name:m,displayName:v.displayName};if(s.push(y),m!=null){var _="";j(u,m)&&(process.env.NODE_ENV!=="production"&&(_='dimension name "'+m+'" duplicated.'),Re(_)),u[m]=y}});else for(var c=0;c<t.dimensionsDetectedCount;c++)s.push({index:c});var f=AS(i,_n);e.__isBuiltIn&&(r.getRawDataItem=function(v){return f(n,a,s,v)},r.getRawData=X(LG,null,t)),r.cloneRawData=X(IG,null,t);var h=TS(i,_n);r.count=X(h,null,n,a,s);var d=DS(i);r.retrieveValue=function(v,g){var m=f(n,a,s,v);return p(m,g)};var p=r.retrieveValueFromItem=function(v,g){if(v!=null){var m=s[g];if(m)return d(v,g,m.name)}};return r.getDimensionInfo=X(PG,null,s,u),r.cloneAllDimensionInfo=X(RG,null,s),r}function LG(t){var e=t.sourceFormat;if(!z5(e)){var r="";process.env.NODE_ENV!=="production"&&(r="`getRawData` is not supported in source format "+e),Re(r)}return t.data}function IG(t){var e=t.sourceFormat,r=t.data;if(!z5(e)){var n="";process.env.NODE_ENV!=="production"&&(n="`cloneRawData` is not supported in source format "+e),Re(n)}if(e===Vt){for(var i=[],a=0,o=r.length;a<o;a++)i.push(r[a].slice());return i}else if(e===Fr){for(var i=[],a=0,o=r.length;a<o;a++)i.push($({},r[a]));return i}}function PG(t,e,r){if(r!=null){if(Me(r)||!isNaN(r)&&!j(e,r))return t[r];if(j(e,r))return e[r]}}function RG(t){return oe(t)}var LS=J();function NG(t){t=oe(t);var e=t.type,r="";e||(process.env.NODE_ENV!=="production"&&(r="Must have a `type` when `registerTransform`."),Re(r));var n=e.split(":");n.length!==2&&(process.env.NODE_ENV!=="production"&&(r='Name must include namespace like "ns:regression".'),Re(r));var i=!1;n[0]==="echarts"&&(e=n[1],i=!0),t.__isBuiltIn=i,LS.set(e,t)}function OG(t,e,r){var n=ze(t),i=n.length,a="";i||(process.env.NODE_ENV!=="production"&&(a="If `transform` declared, it should at least contain one transform."),Re(a));for(var o=0,s=i;o<s;o++){var u=n[o];e=BG(u,e,r,i===1?null:o),o!==s-1&&(e.length=Math.max(e.length,1))}return e}function BG(t,e,r,n){var i="";e.length||(process.env.NODE_ENV!=="production"&&(i="Must have at least one upstream dataset."),Re(i)),ne(t)||(process.env.NODE_ENV!=="production"&&(i="transform declaration must be an object rather than "+typeof t+"."),Re(i));var a=t.type,o=LS.get(a);o||(process.env.NODE_ENV!=="production"&&(i='Can not find transform on type "'+a+'".'),Re(i));var s=H(e,function(c){return MG(c,o)}),u=ze(o.transform({upstream:s[0],upstreamList:s,config:oe(t.config)}));if(process.env.NODE_ENV!=="production"&&t.print){var l=H(u,function(c){var f=n!=null?" === pipe index: "+n:"";return["=== dataset index: "+r.datasetIndex+f+" ===","- transform result data:",Yt(c.data),"- transform result dimensions:",Yt(c.dimensions)].join(`
|
|
82
|
+
`)}).join(`
|
|
83
|
+
`);ez(l)}return H(u,function(c,f){var h="";ne(c)||(process.env.NODE_ENV!=="production"&&(h="A transform should not return some empty results."),Re(h)),c.data||(process.env.NODE_ENV!=="production"&&(h="Transform result data should be not be null or undefined"),Re(h));var d=wS(c.data);z5(d)||(process.env.NODE_ENV!=="production"&&(h="Transform result data should be array rows or object rows."),Re(h));var p,v=e[0];if(v&&f===0&&!c.dimensions){var g=v.startIndex;g&&(c.data=v.data.slice(0,g).concat(c.data)),p={seriesLayoutBy:_n,sourceHeader:g,dimensions:v.metaRawOption.dimensions}}else p={seriesLayoutBy:_n,sourceHeader:0,dimensions:c.dimensions};return Ld(c.data,p,null)})}function z5(t){return t===Vt||t===Fr}var I2="undefined",FG=typeof Uint32Array===I2?Array:Uint32Array,zG=typeof Uint16Array===I2?Array:Uint16Array,IS=typeof Int32Array===I2?Array:Int32Array,Q3=typeof Float64Array===I2?Array:Float64Array,PS={float:Q3,int:IS,ordinal:Array,number:Array,time:Q3},t6;function Po(t){return t>65535?FG:zG}function Ro(){return[1/0,-1/0]}function VG(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function J3(t,e,r,n,i){var a=PS[r||"float"];if(i){var o=t[e],s=o&&o.length;if(s!==n){for(var u=new a(n),l=0;l<s;l++)u[l]=o[l];t[e]=u}}else t[e]=new a(n)}var Id=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=J()}return t.prototype.initData=function(e,r,n){process.env.NODE_ENV!=="production"&&ie(te(e.getItem)&&te(e.count),"Invalid data provider."),this._provider=e,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=e.getSource(),a=this.defaultDimValueGetter=t6[i.sourceFormat];this._dimValueGetter=n||a,this._rawExtent=[];var o=SS(i);this._dimensions=H(r,function(s){return process.env.NODE_ENV!=="production"&&o&&ie(s.property!=null),{type:s.type,property:s.property}}),this._initDataFromProvider(0,e.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(e,r){var n=this._calcDimNameToIdx,i=this._dimensions,a=n.get(e);if(a!=null){if(i[a].type===r)return a}else a=i.length;return i[a]={type:r},n.set(e,a),this._chunks[a]=new PS[r||"float"](this._rawCount),this._rawExtent[a]=Ro(),a},t.prototype.collectOrdinalMeta=function(e,r){var n=this._chunks[e],i=this._dimensions[e],a=this._rawExtent,o=i.ordinalOffset||0,s=n.length;o===0&&(a[e]=Ro());for(var u=a[e],l=o;l<s;l++){var c=n[l]=r.parseAndCollect(n[l]);isNaN(c)||(u[0]=Math.min(c,u[0]),u[1]=Math.max(c,u[1]))}i.ordinalMeta=r,i.ordinalOffset=s,i.type="ordinal"},t.prototype.getOrdinalMeta=function(e){var r=this._dimensions[e],n=r.ordinalMeta;return n},t.prototype.getDimensionProperty=function(e){var r=this._dimensions[e];return r&&r.property},t.prototype.appendData=function(e){process.env.NODE_ENV!=="production"&&ie(!this._indices,"appendData can only be called on raw data.");var r=this._provider,n=this.count();r.appendData(e);var i=r.count();return r.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(e,r){for(var n=this._chunks,i=this._dimensions,a=i.length,o=this._rawExtent,s=this.count(),u=s+Math.max(e.length,r||0),l=0;l<a;l++){var c=i[l];J3(n,l,c.type,u,!0)}for(var f=[],h=s;h<u;h++)for(var d=h-s,p=0;p<a;p++){var c=i[p],v=t6.arrayRows.call(this,e[d]||f,c.property,d,p);n[p][h]=v;var g=o[p];v<g[0]&&(g[0]=v),v>g[1]&&(g[1]=v)}return this._rawCount=this._count=u,{start:s,end:u}},t.prototype._initDataFromProvider=function(e,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,u=this._rawExtent,l=H(o,function(y){return y.property}),c=0;c<s;c++){var f=o[c];u[c]||(u[c]=Ro()),J3(a,c,f.type,r,n)}if(i.fillStorage)i.fillStorage(e,r,a,u);else for(var h=[],d=e;d<r;d++){h=i.getItem(d,h);for(var p=0;p<s;p++){var v=a[p],g=this._dimValueGetter(h,l[p],d,p);v[d]=g;var m=u[p];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(e,r){if(!(r>=0&&r<this._count))return NaN;var n=this._chunks[e];return n?n[this.getRawIndex(r)]:NaN},t.prototype.getValues=function(e,r){var n=[],i=[];if(r==null){r=e,e=[];for(var a=0;a<this._dimensions.length;a++)i.push(a)}else i=e;for(var a=0,o=i.length;a<o;a++)n.push(this.get(i[a],r));return n},t.prototype.getByRawIndex=function(e,r){if(!(r>=0&&r<this._rawCount))return NaN;var n=this._chunks[e];return n?n[r]:NaN},t.prototype.getSum=function(e){var r=this._chunks[e],n=0;if(r)for(var i=0,a=this.count();i<a;i++){var o=this.get(e,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(e){var r=[];this.each([e],function(a){isNaN(a)||r.push(a)});var n=r.sort(function(a,o){return a-o}),i=this.count();return i===0?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(e){if(e>=this._rawCount||e<0)return-1;if(!this._indices)return e;var r=this._indices,n=r[e];if(n!=null&&n<this._count&&n===e)return e;for(var i=0,a=this._count-1;i<=a;){var o=(i+a)/2|0;if(r[o]<e)i=o+1;else if(r[o]>e)a=o-1;else return o}return-1},t.prototype.indicesOfNearest=function(e,r,n){var i=this._chunks,a=i[e],o=[];if(!a)return o;n==null&&(n=1/0);for(var s=1/0,u=-1,l=0,c=0,f=this.count();c<f;c++){var h=this.getRawIndex(c),d=r-a[h],p=Math.abs(d);p<=n&&((p<s||p===s&&d>=0&&u<0)&&(s=p,u=d,l=0),d===u&&(o[l++]=c))}return o.length=l,o},t.prototype.getIndices=function(){var e,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){e=new n(i);for(var a=0;a<i;a++)e[a]=r[a]}else e=new n(r.buffer,0,i)}else{var n=Po(this._rawCount);e=new n(this.count());for(var a=0;a<e.length;a++)e[a]=a}return e},t.prototype.filter=function(e,r){if(!this._count)return this;for(var n=this.clone(),i=n.count(),a=Po(n._rawCount),o=new a(i),s=[],u=e.length,l=0,c=e[0],f=n._chunks,h=0;h<i;h++){var d=void 0,p=n.getRawIndex(h);if(u===0)d=r(h);else if(u===1){var v=f[c][p];d=r(v,h)}else{for(var g=0;g<u;g++)s[g]=f[e[g]][p];s[g]=h,d=r.apply(null,s)}d&&(o[l++]=p)}return l<i&&(n._indices=o),n._count=l,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(e){var r=this.clone(),n=r._count;if(!n)return this;var i=Se(e),a=i.length;if(!a)return this;var o=r.count(),s=Po(r._rawCount),u=new s(o),l=0,c=i[0],f=e[c][0],h=e[c][1],d=r._chunks,p=!1;if(!r._indices){var v=0;if(a===1){for(var g=d[i[0]],m=0;m<n;m++){var y=g[m];(y>=f&&y<=h||isNaN(y))&&(u[l++]=v),v++}p=!0}else if(a===2){for(var g=d[i[0]],_=d[i[1]],b=e[i[1]][0],x=e[i[1]][1],m=0;m<n;m++){var y=g[m],w=_[m];(y>=f&&y<=h||isNaN(y))&&(w>=b&&w<=x||isNaN(w))&&(u[l++]=v),v++}p=!0}}if(!p)if(a===1)for(var m=0;m<o;m++){var S=r.getRawIndex(m),y=d[i[0]][S];(y>=f&&y<=h||isNaN(y))&&(u[l++]=S)}else for(var m=0;m<o;m++){for(var C=!0,S=r.getRawIndex(m),A=0;A<a;A++){var T=i[A],y=d[T][S];(y<e[T][0]||y>e[T][1])&&(C=!1)}C&&(u[l++]=r.getRawIndex(m))}return l<o&&(r._indices=u),r._count=l,r._extent=[],r._updateGetRawIdx(),r},t.prototype.map=function(e,r){var n=this.clone(e);return this._updateDims(n,e,r),n},t.prototype.modify=function(e,r){this._updateDims(this,e,r)},t.prototype._updateDims=function(e,r,n){for(var i=e._chunks,a=[],o=r.length,s=e.count(),u=[],l=e._rawExtent,c=0;c<r.length;c++)l[r[c]]=Ro();for(var f=0;f<s;f++){for(var h=e.getRawIndex(f),d=0;d<o;d++)u[d]=i[r[d]][h];u[o]=f;var p=n&&n.apply(null,u);if(p!=null){typeof p!="object"&&(a[0]=p,p=a);for(var c=0;c<p.length;c++){var v=r[c],g=p[c],m=l[v],y=i[v];y&&(y[h]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},t.prototype.lttbDownSample=function(e,r){var n=this.clone([e],!0),i=n._chunks,a=i[e],o=this.count(),s=0,u=Math.floor(1/r),l=this.getRawIndex(0),c,f,h,d=new(Po(this._rawCount))(Math.min((Math.ceil(o/u)+2)*2,o));d[s++]=l;for(var p=1;p<o-1;p+=u){for(var v=Math.min(p+u,o-1),g=Math.min(p+u*2,o),m=(g+v)/2,y=0,_=v;_<g;_++){var b=this.getRawIndex(_),x=a[b];isNaN(x)||(y+=x)}y/=g-v;var w=p,S=Math.min(p+u,o),C=p-1,A=a[l];c=-1,h=w;for(var T=-1,D=0,_=w;_<S;_++){var b=this.getRawIndex(_),x=a[b];if(isNaN(x)){D++,T<0&&(T=b);continue}f=Math.abs((C-m)*(x-A)-(C-_)*(y-A)),f>c&&(c=f,h=b)}D>0&&D<S-w&&(d[s++]=Math.min(T,h),h=Math.max(T,h)),d[s++]=h,l=h}return d[s++]=this.getRawIndex(o-1),n._count=s,n._indices=d,n.getRawIndex=this._getRawIdx,n},t.prototype.minmaxDownSample=function(e,r){for(var n=this.clone([e],!0),i=n._chunks,a=Math.floor(1/r),o=i[e],s=this.count(),u=new(Po(this._rawCount))(Math.ceil(s/a)*2),l=0,c=0;c<s;c+=a){var f=c,h=o[this.getRawIndex(f)],d=c,p=o[this.getRawIndex(d)],v=a;c+a>s&&(v=s-c);for(var g=0;g<v;g++){var m=this.getRawIndex(c+g),y=o[m];y<h&&(h=y,f=c+g),y>p&&(p=y,d=c+g)}var _=this.getRawIndex(f),b=this.getRawIndex(d);f<d?(u[l++]=_,u[l++]=b):(u[l++]=b,u[l++]=_)}return n._count=l,n._indices=u,n._updateGetRawIdx(),n},t.prototype.downSample=function(e,r,n,i){for(var a=this.clone([e],!0),o=a._chunks,s=[],u=Math.floor(1/r),l=o[e],c=this.count(),f=a._rawExtent[e]=Ro(),h=new(Po(this._rawCount))(Math.ceil(c/u)),d=0,p=0;p<c;p+=u){u>c-p&&(u=c-p,s.length=u);for(var v=0;v<u;v++){var g=this.getRawIndex(p+v);s[v]=l[g]}var m=n(s),y=this.getRawIndex(Math.min(p+i(s,m)||0,c-1));l[y]=m,m<f[0]&&(f[0]=m),m>f[1]&&(f[1]=m),h[d++]=y}return a._count=d,a._indices=h,a._updateGetRawIdx(),a},t.prototype.each=function(e,r){if(this._count)for(var n=e.length,i=this._chunks,a=0,o=this.count();a<o;a++){var s=this.getRawIndex(a);switch(n){case 0:r(a);break;case 1:r(i[e[0]][s],a);break;case 2:r(i[e[0]][s],i[e[1]][s],a);break;default:for(var u=0,l=[];u<n;u++)l[u]=i[e[u]][s];l[u]=a,r.apply(null,l)}}},t.prototype.getDataExtent=function(e){var r=this._chunks[e],n=Ro();if(!r)return n;var i=this.count(),a=!this._indices,o;if(a)return this._rawExtent[e].slice();if(o=this._extent[e],o)return o.slice();o=n;for(var s=o[0],u=o[1],l=0;l<i;l++){var c=this.getRawIndex(l),f=r[c];f<s&&(s=f),f>u&&(u=f)}return o=[s,u],this._extent[e]=o,o},t.prototype.getRawDataItem=function(e){var r=this.getRawIndex(e);if(this._provider.persistent)return this._provider.getItem(r);for(var n=[],i=this._chunks,a=0;a<i.length;a++)n.push(i[a][r]);return n},t.prototype.clone=function(e,r){var n=new t,i=this._chunks,a=e&&bn(e,function(s,u){return s[u]=!0,s},{});if(a)for(var o=0;o<i.length;o++)n._chunks[o]=a[o]?VG(i[o]):i[o];else n._chunks=i;return this._copyCommonProps(n),r||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},t.prototype._copyCommonProps=function(e){e._count=this._count,e._rawCount=this._rawCount,e._provider=this._provider,e._dimensions=this._dimensions,e._extent=oe(this._extent),e._rawExtent=oe(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var e=this._indices.constructor,r=void 0;if(e===Array){var n=this._indices.length;r=new e(n);for(var i=0;i<n;i++)r[i]=this._indices[i]}else r=new e(this._indices);return r}return null},t.prototype._getRawIdxIdentity=function(e){return e},t.prototype._getRawIdx=function(e){return e<this._count&&e>=0?this._indices[e]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function e(r,n,i,a){return Pi(r[a],this._dimensions[a])}t6={arrayRows:e,objectRows:function(r,n,i,a){return Pi(r[n],this._dimensions[a])},keyedColumns:e,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return Pi(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}}(),t}(),RS=function(){function t(e){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=e}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(e,r){this._sourceList=e,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var e=this._sourceHost,r=this._getUpstreamSourceManagers(),n=!!r.length,i,a;if(su(e)){var o=e,s=void 0,u=void 0,l=void 0;if(n){var c=r[0];c.prepareSource(),l=c.getSource(),s=l.data,u=l.sourceFormat,a=[c._getVersionSign()]}else s=o.get("data",!0),u=Zt(s)?$n:Br,a=[];var f=this._getSourceMetaRawOption()||{},h=l&&l.metaRawOption||{},d=fe(f.seriesLayoutBy,h.seriesLayoutBy)||null,p=fe(f.sourceHeader,h.sourceHeader),v=fe(f.dimensions,h.dimensions),g=d!==h.seriesLayoutBy||!!p!=!!h.sourceHeader||v;i=g?[Ld(s,{seriesLayoutBy:d,sourceHeader:p,dimensions:v},u)]:[]}else{var m=e;if(n){var y=this._applyTransform(r);i=y.sourceList,a=y.upstreamSignList}else{var _=m.get("source",!0);i=[Ld(_,this._getSourceMetaRawOption(),null)],a=[]}}process.env.NODE_ENV!=="production"&&ie(i&&a),this._setLocalSource(i,a)},t.prototype._applyTransform=function(e){var r=this._sourceHost,n=r.get("transform",!0),i=r.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&ie(i!=null||n!=null),i!=null){var a="";e.length!==1&&(process.env.NODE_ENV!=="production"&&(a="When using `fromTransformResult`, there should be only one upstream dataset"),t8(a))}var o,s=[],u=[];return E(e,function(l){l.prepareSource();var c=l.getSource(i||0),f="";i!=null&&!c&&(process.env.NODE_ENV!=="production"&&(f="Can not retrieve result by `fromTransformResult`: "+i),t8(f)),s.push(c),u.push(l._getVersionSign())}),n?o=OG(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[mG(s[0])]),{sourceList:o,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var e=this._getUpstreamSourceManagers(),r=0;r<e.length;r++){var n=e[r];if(n._isDirty()||this._upstreamSignList[r]!==n._getVersionSign())return!0}},t.prototype.getSource=function(e){e=e||0;var r=this._sourceList[e];if(!r){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(e)}return r},t.prototype.getSharedDataStore=function(e){process.env.NODE_ENV!=="production"&&ie(su(this._sourceHost),"Can only call getDataStore on series source manager.");var r=e.makeStoreSchema();return this._innerGetDataStore(r.dimensions,e.source,r.hash)},t.prototype._innerGetDataStore=function(e,r,n){var i=0,a=this._storeList,o=a[i];o||(o=a[i]={});var s=o[n];if(!s){var u=this._getUpstreamSourceManagers()[0];su(this._sourceHost)&&u?s=u._innerGetDataStore(e,r,n):(s=new Id,s.initData(new CS(r,e.length),e)),o[n]=s}return s},t.prototype._getUpstreamSourceManagers=function(){var e=this._sourceHost;if(su(e)){var r=R5(e);return r?[r.getSourceManager()]:[]}else return H($$(e),function(n){return n.getSourceManager()})},t.prototype._getSourceMetaRawOption=function(){var e=this._sourceHost,r,n,i;if(su(e))r=e.get("seriesLayoutBy",!0),n=e.get("sourceHeader",!0),i=e.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var a=e;r=a.get("seriesLayoutBy",!0),n=a.get("sourceHeader",!0),i=a.get("dimensions",!0)}return{seriesLayoutBy:r,sourceHeader:n,dimensions:i}},t}();function e8(t){var e=t.option.transform;e&&K0(t.option.transform)}function su(t){return t.mainType==="series"}function t8(t){throw new Error(t)}var $G="line-height:1";function NS(t){var e=t.lineHeight;return e==null?$G:"line-height:"+Bt(e+"")+"px"}function OS(t,e){var r=t.color||"#6e7079",n=t.fontSize||12,i=t.fontWeight||"400",a=t.color||"#464646",o=t.fontSize||14,s=t.fontWeight||"900";return e==="html"?{nameStyle:"font-size:"+Bt(n+"")+"px;color:"+Bt(r)+";font-weight:"+Bt(i+""),valueStyle:"font-size:"+Bt(o+"")+"px;color:"+Bt(a)+";font-weight:"+Bt(s+"")}:{nameStyle:{fontSize:n,fill:r,fontWeight:i},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var GG=[0,10,20,30],HG=["",`
|
|
84
|
+
`,`
|
|
85
|
+
|
|
86
|
+
`,`
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
`];function mt(t,e){return e.type=t,e}function Pd(t){return t.type==="section"}function BS(t){return Pd(t)?UG:WG}function FS(t){if(Pd(t)){var e=0,r=t.blocks.length,n=r>1||r>0&&!t.noHeader;return E(t.blocks,function(i){var a=FS(i);a>=e&&(e=a+ +(n&&(!a||Pd(i)&&!i.noHeader)))}),e}return 0}function UG(t,e,r,n){var i=e.noHeader,a=qG(FS(e)),o=[],s=e.blocks||[];ie(!s||G(s)),s=s||[];var u=t.orderMode;if(e.sortBlocks&&u){s=s.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(j(l,u)){var c=new MS(l[u],null);s.sort(function(v,g){return c.evaluate(v.sortParam,g.sortParam)})}else u==="seriesDesc"&&s.reverse()}E(s,function(v,g){var m=e.valueFormatter,y=BS(v)(m?$($({},t),{valueFormatter:m}):t,v,g>0?a.html:0,n);y!=null&&o.push(y)});var f=t.renderMode==="richText"?o.join(a.richText):Rd(n,o.join(""),i?r:a.html);if(i)return f;var h=Dd(e.header,"ordinal",t.useUTC),d=OS(n,t.renderMode).nameStyle,p=NS(n);return t.renderMode==="richText"?zS(t,h,d)+a.richText+f:Rd(n,'<div style="'+d+";"+p+';">'+Bt(h)+"</div>"+f,r)}function WG(t,e,r,n){var i=t.renderMode,a=e.noName,o=e.noValue,s=!e.markerType,u=e.name,l=t.useUTC,c=e.valueFormatter||t.valueFormatter||function(b){return b=G(b)?b:[b],H(b,function(x,w){return Dd(x,G(d)?d[w]:d,l)})};if(!(a&&o)){var f=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",i),h=a?"":Dd(u,"ordinal",l),d=e.valueType,p=o?[]:c(e.value,e.dataIndex),v=!s||!a,g=!s&&a,m=OS(n,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":f)+(a?"":zS(t,h,y))+(o?"":XG(t,p,v,g,_)):Rd(n,(s?"":f)+(a?"":ZG(h,!s,y))+(o?"":YG(p,v,g,_)),r)}}function r8(t,e,r,n,i,a){if(t){var o=BS(t),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:e,valueFormatter:t.valueFormatter};return o(s,t,0,a)}}function qG(t){return{html:GG[t],richText:HG[t]}}function Rd(t,e,r){var n='<div style="clear:both"></div>',i="margin: "+r+"px 0 0",a=NS(t);return'<div style="'+i+";"+a+';">'+e+n+"</div>"}function ZG(t,e,r){var n=e?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+Bt(t)+"</span>"}function YG(t,e,r,n){var i=r?"10px":"20px",a=e?"float:right;margin-left:"+i:"";return t=G(t)?t:[t],'<span style="'+a+";"+n+'">'+H(t,function(o){return Bt(o)}).join(" ")+"</span>"}function zS(t,e,r){return t.markupStyleCreator.wrapRichTextStyle(e,r)}function XG(t,e,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(G(e)?e.join(" "):e,a)}function VS(t,e){var r=t.getData().getItemVisual(e,"style"),n=r[t.visualDrawType];return oo(n)}function $S(t,e){var r=t.get("padding");return r??(e==="richText"?[8,10]:10)}var r6=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Gx()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(e,r,n){var i=n==="richText"?this._generateStyleName():null,a=R$({color:r,type:e,renderMode:n,markerId:i});return Z(a)?a:(process.env.NODE_ENV!=="production"&&ie(i),this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(e,r){var n={};G(r)?E(r,function(a){return $(n,a)}):$(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+e+"}"},t}();function GS(t){var e=t.series,r=t.dataIndex,n=t.multipleSeries,i=e.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=e.getRawValue(r),u=G(s),l=VS(e,r),c,f,h,d;if(o>1||u&&!o){var p=jG(s,e,r,a,l);c=p.inlineValues,f=p.inlineValueTypes,h=p.blocks,d=p.inlineValues[0]}else if(o){var v=i.getDimensionInfo(a[0]);d=c=_s(i,r,a[0]),f=v.type}else d=c=u?s[0]:s;var g=c5(e),m=g&&e.name||"",y=i.getName(r),_=n?m:y;return mt("section",{header:m,noHeader:n||!g,sortParam:d,blocks:[mt("nameValue",{markerType:"item",markerColor:l,name:_,noName:!Wr(_),value:c,valueType:f,dataIndex:r})].concat(h||[])})}function jG(t,e,r,n,i){var a=e.getData(),o=bn(t,function(f,h,d){var p=a.getDimensionInfo(d);return f=f||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],u=[],l=[];n.length?E(n,function(f){c(_s(a,r,f),f)}):E(t,c);function c(f,h){var d=a.getDimensionInfo(h);!d||d.otherDims.tooltip===!1||(o?l.push(mt("nameValue",{markerType:"subItem",markerColor:i,name:d.displayName,value:f,valueType:d.type})):(s.push(f),u.push(d.type)))}return{inlineValues:s,inlineValueTypes:u,blocks:l}}var ai=Ae();function z1(t,e){return t.getName(e)||t.getId(e)}var N0="__universalTransitionEnabled",P2=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return e.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=ju({count:QG,reset:JG}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=ai(this).sourceManager=new RS(this);a.prepareSource();var o=this.getInitialData(r,i);i8(o,this),this.dataTask.context.data=o,process.env.NODE_ENV!=="production"&&ie(o,"getInitialData returned invalid data."),ai(this).dataBeforeProcessed=o,n8(this),this._initSelectedMapFromData(o)},e.prototype.mergeDefaultAndTheme=function(r,n){var i=yl(this),a=i?Bs(r):{},o=this.subType;Ce.hasClass(o)&&(o+="Series"),ge(r,n.getTheme().get(this.subType)),ge(r,this.getDefaultOption()),ro(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&Gi(r,a,i)},e.prototype.mergeOption=function(r,n){r=ge(this.option,r,!0),this.fillDataTextStyle(r.data);var i=yl(this);i&&Gi(this.option,r,i);var a=ai(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);i8(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,ai(this).dataBeforeProcessed=o,n8(this),this._initSelectedMapFromData(o)},e.prototype.fillDataTextStyle=function(r){if(r&&!Zt(r))for(var n=["show"],i=0;i<r.length;i++)r[i]&&r[i].label&&ro(r[i],"label",n)},e.prototype.getInitialData=function(r,n){},e.prototype.appendData=function(r){var n=this.getRawData();n.appendData(r.data)},e.prototype.getData=function(r){var n=Nd(this);if(n){var i=n.context.data;return r==null||!i.getLinkedData?i:i.getLinkedData(r)}else return ai(this).data},e.prototype.getAllData=function(){var r=this.getData();return r&&r.getLinkedDataAll?r.getLinkedDataAll():[{data:r}]},e.prototype.setData=function(r){var n=Nd(this);if(n){var i=n.context;i.outputData=r,n!==this.dataTask&&(i.data=r)}ai(this).data=r},e.prototype.getEncode=function(){var r=this.get("encode",!0);if(r)return J(r)},e.prototype.getSourceManager=function(){return ai(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return ai(this).dataBeforeProcessed},e.prototype.getColorBy=function(){var r=this.get("colorBy");return r||"series"},e.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},e.prototype.getBaseAxis=function(){var r=this.coordinateSystem;return r&&r.getBaseAxis&&r.getBaseAxis()},e.prototype.formatTooltip=function(r,n,i){return GS({series:this,dataIndex:r,multipleSeries:n})},e.prototype.isAnimationEnabled=function(){var r=this.ecModel;if(De.node&&!(r&&r.ssr))return!1;var n=this.getShallow("animation");return n&&this.getData().count()>this.getShallow("animationThreshold")&&(n=!1),!!n},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=N5.prototype.getColorFromPalette.call(this,r,n,i);return o||(o=a.getColorFromPalette(r,n,i)),o},e.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},e.prototype.unselect=function(r,n){var i=this.option.selectedMap;if(i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s<r.length;s++){var u=r[s],l=z1(o,u);i[l]=!1,this._selectedDataIndicesMap[l]=-1}}},e.prototype.toggleSelect=function(r,n){for(var i=[],a=0;a<r.length;a++)i[0]=r[a],this.isSelected(r[a],n)?this.unselect(i,n):this.select(i,n)},e.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var r=this._selectedDataIndicesMap,n=Se(r),i=[],a=0;a<n.length;a++){var o=r[n[a]];o>=0&&i.push(o)}return i},e.prototype.isSelected=function(r,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[z1(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[N0])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},e.prototype._innerSelect=function(r,n){var i,a,o=this.option,s=o.selectedMode,u=n.length;if(!(!s||!u)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){ne(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,c=0;c<u;c++){var f=n[c],h=z1(r,f);l[h]=!0,this._selectedDataIndicesMap[h]=r.getRawIndex(f)}}else if(s==="single"||s===!0){var d=n[u-1],h=z1(r,d);o.selectedMap=(i={},i[h]=!0,i),this._selectedDataIndicesMap=(a={},a[h]=r.getRawIndex(d),a)}}},e.prototype._initSelectedMapFromData=function(r){if(!this.option.selectedMap){var n=[];r.hasItemOption&&r.each(function(i){var a=r.getRawDataItem(i);a&&a.selected&&n.push(i)}),n.length>0&&this._innerSelect(r,n)}},e.registerClass=function(r){return Ce.registerClass(r)},e.protoInitialize=function(){var r=e.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"}(),e}(Ce);ft(P2,L2);ft(P2,N5);Kx(P2,Ce);function n8(t){var e=t.name;c5(t)||(t.name=KG(t)||e)}function KG(t){var e=t.getRawData(),r=e.mapDimensionsAll("seriesName"),n=[];return E(r,function(i){var a=e.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function QG(t){return t.model.getRawData().count()}function JG(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),eH}function eH(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function i8(t,e){E(ll(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(r){t.wrapMethod(r,ve(tH,e))})}function tH(t,e){var r=Nd(t);return r&&r.setOutputEnd((e||this).count()),e}function Nd(t){var e=(t.ecModel||{}).scheduler,r=e&&e.getPipeline(t.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(t.uid))}return n}}const je=P2;var V5=function(){function t(){this.group=new le,this.uid=Ns("viewComponent")}return t.prototype.init=function(e,r){},t.prototype.render=function(e,r,n,i){},t.prototype.dispose=function(e,r){},t.prototype.updateView=function(e,r,n,i){},t.prototype.updateLayout=function(e,r,n,i){},t.prototype.updateVisual=function(e,r,n,i){},t.prototype.toggleBlurSeries=function(e,r,n){},t.prototype.eachRendered=function(e){var r=this.group;r&&r.traverse(e)},t}();h5(V5);d2(V5);const et=V5;function $s(){var t=Ae();return function(e){var r=t(e),n=e.pipelineContext,i=!!r.large,a=!!r.progressiveRender,o=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var HS=Ae(),rH=$s(),$5=function(){function t(){this.group=new le,this.uid=Ns("viewChart"),this.renderTask=ju({plan:nH,reset:iH}),this.renderTask.context={view:this}}return t.prototype.init=function(e,r){},t.prototype.render=function(e,r,n,i){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},t.prototype.highlight=function(e,r,n,i){var a=e.getData(i&&i.dataType);if(!a){process.env.NODE_ENV!=="production"&&Et("Unknown dataType "+i.dataType);return}o8(a,i,"emphasis")},t.prototype.downplay=function(e,r,n,i){var a=e.getData(i&&i.dataType);if(!a){process.env.NODE_ENV!=="production"&&Et("Unknown dataType "+i.dataType);return}o8(a,i,"normal")},t.prototype.remove=function(e,r){this.group.removeAll()},t.prototype.dispose=function(e,r){},t.prototype.updateView=function(e,r,n,i){this.render(e,r,n,i)},t.prototype.updateLayout=function(e,r,n,i){this.render(e,r,n,i)},t.prototype.updateVisual=function(e,r,n,i){this.render(e,r,n,i)},t.prototype.eachRendered=function(e){Xi(this.group,e)},t.markUpdateMethod=function(e,r){HS(e).updateMethod=r},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function a8(t,e,r){t&&Vi(t)&&(e==="emphasis"?Zn:Yn)(t,r)}function o8(t,e,r){var n=no(t,e),i=e&&e.highlightKey!=null?DV(e.highlightKey):null;n!=null?E(ze(n),function(a){a8(t.getItemGraphicEl(a),r,i)}):t.eachItemGraphicEl(function(a){a8(a,r,i)})}h5($5,["dispose"]);d2($5);function nH(t){return rH(t.model)}function iH(t){var e=t.model,r=t.ecModel,n=t.api,i=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=i&&HS(i).updateMethod,u=a?"incrementalPrepareRender":s&&o[s]?s:"render";return u!=="render"&&o[u](e,r,n,i),aH[u]}var aH={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};const qe=$5;var pc="\0__throttleOriginMethod",s8="\0__throttleRate",u8="\0__throttleType";function G5(t,e,r){var n,i=0,a=0,o=null,s,u,l,c;e=e||0;function f(){a=new Date().getTime(),o=null,t.apply(u,l||[])}var h=function(){for(var d=[],p=0;p<arguments.length;p++)d[p]=arguments[p];n=new Date().getTime(),u=this,l=d;var v=c||e,g=c||r;c=null,s=n-(g?i:a)-v,clearTimeout(o),g?o=setTimeout(f,v):s>=0?f():o=setTimeout(f,-s),i=n};return h.clear=function(){o&&(clearTimeout(o),o=null)},h.debounceNextCall=function(d){c=d},h}function Gs(t,e,r,n){var i=t[e];if(i){var a=i[pc]||i,o=i[u8],s=i[s8];if(s!==r||o!==n){if(r==null||!n)return t[e]=a;i=t[e]=G5(a,r,n==="debounce"),i[pc]=a,i[u8]=n,i[s8]=r}return i}}function bl(t,e){var r=t[e];r&&r[pc]&&(r.clear&&r.clear(),t[e]=r[pc])}var l8=Ae(),c8={itemStyle:io(Yw,!0),lineStyle:io(Zw,!0)},oH={lineStyle:"stroke",itemStyle:"fill"};function US(t,e){var r=t.visualStyleMapper||c8[e];return r||(console.warn("Unknown style type '"+e+"'."),c8.itemStyle)}function WS(t,e){var r=t.visualDrawType||oH[e];return r||(console.warn("Unknown style type '"+e+"'."),"fill")}var sH={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=t.getModel(n),a=US(t,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var u=WS(t,n),l=o[u],c=te(l)?l:null,f=o.fill==="auto"||o.stroke==="auto";if(!o[u]||c||f){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());o[u]||(o[u]=h,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||te(o.fill)?h:o.fill,o.stroke=o.stroke==="auto"||te(o.stroke)?h:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",u),!e.isSeriesFiltered(t)&&c)return r.setVisual("colorFromPalette",!1),{dataEach:function(d,p){var v=t.getDataParams(p),g=$({},o);g[u]=c(v),d.setItemVisual(p,"style",g)}}}},uu=new We,uH={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var r=t.getData(),n=t.visualStyleAccessPath||"itemStyle",i=US(t,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var u=o.getRawDataItem(s);if(u&&u[n]){uu.option=u[n];var l=i(uu),c=o.ensureUniqueItemVisual(s,"style");$(c,l),uu.option.decal&&(o.setItemVisual(s,"decal",uu.option.decal),uu.option.decal.dirty=!0),a in l&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},lH={performRawSeries:!0,overallReset:function(t){var e=J();t.eachSeries(function(r){var n=r.getColorBy();if(!r.isColorBySeries()){var i=r.type+"-"+n,a=e.get(i);a||(a={},e.set(i,a)),l8(r).scope=a}}),t.eachSeries(function(r){if(!(r.isColorBySeries()||t.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=l8(r).scope,s=r.visualStyleAccessPath||"itemStyle",u=WS(r,s);a.each(function(l){var c=a.getRawIndex(l);i[c]=l}),n.each(function(l){var c=i[l],f=a.getItemVisual(c,"colorFromPalette");if(f){var h=a.ensureUniqueItemVisual(c,"style"),d=n.getName(l)||l+"",p=n.count();h[u]=r.getColorFromPalette(d,o,p)}})}})}},V1=Math.PI;function cH(t,e){e=e||{},ae(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var r=new le,n=new Ee({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});r.add(n);var i=new ke({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Ee({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});r.add(a);var o;return e.showSpinner&&(o=new w5({shape:{startAngle:-V1/2,endAngle:-V1/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:V1*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:V1*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=i.getBoundingRect().width,u=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-u*2-(e.showSpinner&&s?10:0)-s)/2-(e.showSpinner&&s?0:5+s/2)+(e.showSpinner?0:s/2)+(s?0:u),c=t.getHeight()/2;e.showSpinner&&o.setShape({cx:l,cy:c}),a.setShape({x:l-u,y:c-u,width:u*2,height:u*2}),n.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},r.resize(),r}var fH=function(){function t(e,r,n,i){this._stageTaskMap=J(),this.ecInstance=e,this.api=r,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(e,r){e.restoreData(r),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},t.prototype.getPerformArgs=function(e,r){if(e.__pipeline){var n=this._pipelineMap.get(e.__pipeline.id),i=n.context,a=!r&&n.progressiveEnabled&&(!i||i.progressiveRender)&&e.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,u=s!=null?Math.ceil(s/o):null;return{step:o,modBy:u,modDataCount:s}}},t.prototype.getPipeline=function(e){return this._pipelineMap.get(e)},t.prototype.updateStreamModes=function(e,r){var n=this._pipelineMap.get(e.uid),i=e.getData(),a=i.count(),o=n.progressiveEnabled&&r.incrementalPrepareRender&&a>=n.threshold,s=e.get("large")&&a>=e.get("largeThreshold"),u=e.get("progressiveChunkMode")==="mod"?a:null;e.pipelineContext=n.context={progressiveRender:o,modDataCount:u,large:s}},t.prototype.restorePipelines=function(e){var r=this,n=r._pipelineMap=J();e.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;n.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),r._pipe(i,i.dataTask)})},t.prototype.prepareStageTasks=function(){var e=this._stageTaskMap,r=this.api.getModel(),n=this.api;E(this._allHandlers,function(i){var a=e.get(i.uid)||e.set(i.uid,{}),o="";process.env.NODE_ENV!=="production"&&(o='"reset" and "overallReset" must not be both specified.'),ie(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,r,n),i.overallReset&&this._createOverallStageTask(i,a,r,n)},this)},t.prototype.prepareView=function(e,r,n,i){var a=e.renderTask,o=a.context;o.model=r,o.ecModel=n,o.api=i,a.__block=!e.incrementalPrepareRender,this._pipe(r,a)},t.prototype.performDataProcessorTasks=function(e,r){this._performStageTasks(this._dataProcessorHandlers,e,r,{block:!0})},t.prototype.performVisualTasks=function(e,r,n){this._performStageTasks(this._visualHandlers,e,r,n)},t.prototype._performStageTasks=function(e,r,n,i){i=i||{};var a=!1,o=this;E(e,function(u,l){if(!(i.visualType&&i.visualType!==u.visualType)){var c=o._stageTaskMap.get(u.uid),f=c.seriesTaskMap,h=c.overallTask;if(h){var d,p=h.agentStubMap;p.each(function(g){s(i,g)&&(g.dirty(),d=!0)}),d&&h.dirty(),o.updatePayload(h,n);var v=o.getPerformArgs(h,i.block);p.each(function(g){g.perform(v)}),h.perform(v)&&(a=!0)}else f&&f.each(function(g,m){s(i,g)&&g.dirty();var y=o.getPerformArgs(g,i.block);y.skip=!u.performRawSeries&&r.isSeriesFiltered(g.context.model),o.updatePayload(g,n),g.perform(y)&&(a=!0)})}});function s(u,l){return u.setDirty&&(!u.dirtyMap||u.dirtyMap.get(l.__pipeline.id))}this.unfinished=a||this.unfinished},t.prototype.performSeriesTasks=function(e){var r;e.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each(function(e){var r=e.tail;do{if(r.__block){e.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},t.prototype.updatePayload=function(e,r){r!=="remain"&&(e.context.payload=r)},t.prototype._createSeriesStageTask=function(e,r,n,i){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=J(),u=e.seriesType,l=e.getTargetSeries;e.createOnAllSeries?n.eachRawSeries(c):u?n.eachRawSeriesByType(u,c):l&&l(n,i).each(c);function c(f){var h=f.uid,d=s.set(h,o&&o.get(h)||ju({plan:gH,reset:mH,count:_H}));d.context={model:f,ecModel:n,api:i,useClearVisual:e.isVisual&&!e.isLayout,plan:e.plan,reset:e.reset,scheduler:a},a._pipe(f,d)}},t.prototype._createOverallStageTask=function(e,r,n,i){var a=this,o=r.overallTask=r.overallTask||ju({reset:hH});o.context={ecModel:n,api:i,overallReset:e.overallReset,scheduler:a};var s=o.agentStubMap,u=o.agentStubMap=J(),l=e.seriesType,c=e.getTargetSeries,f=!0,h=!1,d="";process.env.NODE_ENV!=="production"&&(d='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),ie(!e.createOnAllSeries,d),l?n.eachRawSeriesByType(l,p):c?c(n,i).each(p):(f=!1,E(n.getSeries(),p));function p(v){var g=v.uid,m=u.set(g,s&&s.get(g)||(h=!0,ju({reset:dH,onDirty:vH})));m.context={model:v,overallProgress:f},m.agent=o,m.__block=f,a._pipe(v,m)}h&&o.dirty()},t.prototype._pipe=function(e,r){var n=e.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=r),i.tail&&i.tail.pipe(r),i.tail=r,r.__idxInPipeline=i.count++,r.__pipeline=i},t.wrapStageHandler=function(e,r){return te(e)&&(e={overallReset:e,seriesType:bH(e)}),e.uid=Ns("stageHandler"),r&&(e.visualType=r),e},t}();function hH(t){t.overallReset(t.ecModel,t.api,t.payload)}function dH(t){return t.overallProgress&&pH}function pH(){this.agent.dirty(),this.getDownstream().dirty()}function vH(){this.agent&&this.agent.dirty()}function gH(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function mH(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=ze(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?H(e,function(r,n){return qS(n)}):yH}var yH=qS(0);function qS(t){return function(e,r){var n=r.data,i=r.resetDefines[t];if(i&&i.dataEach)for(var a=e.start;a<e.end;a++)i.dataEach(n,a);else i&&i.progress&&i.progress(e,n)}}function _H(t){return t.data.count()}function bH(t){vc=null;try{t(xl,ZS)}catch{}return vc}var xl={},ZS={},vc;YS(xl,yS);YS(ZS,_S);xl.eachSeriesByType=xl.eachRawSeriesByType=function(t){vc=t};xl.eachComponent=function(t){t.mainType==="series"&&t.subType&&(vc=t.subType)};function YS(t,e){for(var r in e.prototype)t[r]=at}const XS=fH;var f8=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const xH={color:f8,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],f8]};var Nt="#B9B8CE",h8="#100C2A",$1=function(){return{axisLine:{lineStyle:{color:Nt}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},d8=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],jS={darkMode:!0,color:d8,backgroundColor:h8,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Nt},pageTextStyle:{color:Nt}},textStyle:{color:Nt},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Nt}},dataZoom:{borderColor:"#71708A",textStyle:{color:Nt},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:Nt}},timeline:{lineStyle:{color:Nt},label:{color:Nt},controlStyle:{color:Nt,borderColor:Nt}},calendar:{itemStyle:{color:h8},dayLabel:{color:Nt},monthLabel:{color:Nt},yearLabel:{color:Nt}},timeAxis:$1(),logAxis:$1(),valueAxis:$1(),categoryAxis:$1(),line:{symbol:"circle"},graph:{color:d8},gauge:{title:{color:Nt},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Nt},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};jS.categoryAxis.splitLine.show=!1;const wH=jS;var SH=function(){function t(){}return t.prototype.normalizeQuery=function(e){var r={},n={},i={};if(Z(e)){var a=vn(e);r.mainType=a.main||null,r.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};E(e,function(u,l){for(var c=!1,f=0;f<o.length;f++){var h=o[f],d=l.lastIndexOf(h);if(d>0&&d===l.length-h.length){var p=l.slice(0,d);p!=="data"&&(r.mainType=p,r[h.toLowerCase()]=u,c=!0)}}s.hasOwnProperty(l)&&(n[l]=u,c=!0),c||(i[l]=u)})}return{cptQuery:r,dataQuery:n,otherQuery:i}},t.prototype.filter=function(e,r){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var u=r.cptQuery,l=r.dataQuery;return c(u,o,"mainType")&&c(u,o,"subType")&&c(u,o,"index","componentIndex")&&c(u,o,"name")&&c(u,o,"id")&&c(l,a,"name")&&c(l,a,"dataIndex")&&c(l,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(e,r.otherQuery,i,a));function c(f,h,d,p){return f[d]==null||h[p||d]===f[d]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Od=["symbol","symbolSize","symbolRotate","symbolOffset"],p8=Od.concat(["symbolKeepAspect"]),CH={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var r=t.getData();if(t.legendIcon&&r.setVisual("legendIcon",t.legendIcon),!t.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o<Od.length;o++){var s=Od[o],u=t.get(s);te(u)?(a=!0,i[s]=u):n[s]=u}if(n.symbol=n.symbol||t.defaultSymbol,r.setVisual($({legendIcon:t.legendIcon||n.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},n)),e.isSeriesFiltered(t))return;var l=Se(i);function c(f,h){for(var d=t.getRawValue(h),p=t.getDataParams(h),v=0;v<l.length;v++){var g=l[v];f.setItemVisual(h,g,i[g](d,p))}}return{dataEach:a?c:null}}},AH={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.hasSymbolVisual||e.isSeriesFiltered(t))return;var r=t.getData();function n(i,a){for(var o=i.getItemModel(a),s=0;s<p8.length;s++){var u=p8[s],l=o.getShallow(u,!0);l!=null&&i.setItemVisual(a,u,l)}}return{dataEach:r.hasItemOption?n:null}}};function H5(t,e,r){switch(r){case"color":var n=t.getItemVisual(e,"style");return n[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,r);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+r)}}function Wl(t,e){switch(e){case"color":var r=t.getVisual("style");return r[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function KS(t,e,r,n){switch(r){case"color":var i=t.ensureUniqueItemVisual(e,"style");i[t.getVisual("drawType")]=n,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,r,n);break;default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+r)}}function QS(t,e){function r(n,i){var a=[];return n.eachComponent({mainType:"series",subType:t,query:i},function(o){a.push(o.seriesIndex)}),a}E([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],function(n){e(n[0],function(i,a,o){i=$({},i),process.env.NODE_ENV!=="production"&&st(i.type,n[1]),o.dispatchAction($(i,{type:n[1],seriesIndex:r(a,i)}))})})}function No(t,e,r,n,i){var a=t+e;r.isSilent(a)||(process.env.NODE_ENV!=="production"&&Kr("event "+a+" is deprecated."),n.eachComponent({mainType:"series",subType:"pie"},function(o){for(var s=o.seriesIndex,u=o.option.selectedMap,l=i.selected,c=0;c<l.length;c++)if(l[c].seriesIndex===s){var f=o.getData(),h=no(f,i.fromActionPayload);r.trigger(a,{type:a,seriesId:o.id,name:G(h)?f.getName(h[0]):f.getName(h),selected:Z(u)?u:$({},u)})}}))}function TH(t,e,r){t.on("selectchanged",function(n){var i=r.getModel();n.isFromClick?(No("map","selectchanged",e,i,n),No("pie","selectchanged",e,i,n)):n.fromAction==="select"?(No("map","selected",e,i,n),No("pie","selected",e,i,n)):n.fromAction==="unselect"&&(No("map","unselected",e,i,n),No("pie","unselected",e,i,n))})}function za(t,e,r){for(var n;t&&!(e(t)&&(n=t,r));)t=t.__hostTarget||t.parent;return n}var DH=Math.round(Math.random()*9),EH=typeof Object.defineProperty=="function",kH=function(){function t(){this._id="__ec_inner_"+DH++}return t.prototype.get=function(e){return this._guard(e)[this._id]},t.prototype.set=function(e,r){var n=this._guard(e);return EH?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,this},t.prototype.delete=function(e){return this.has(e)?(delete this._guard(e)[this._id],!0):!1},t.prototype.has=function(e){return!!this._guard(e)[this._id]},t.prototype._guard=function(e){if(e!==Object(e))throw TypeError("Value of WeakMap is not a non-null object.");return e},t}();const MH=kH;var LH=we.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var r=e.cx,n=e.cy,i=e.width/2,a=e.height/2;t.moveTo(r,n-a),t.lineTo(r+i,n+a),t.lineTo(r-i,n+a),t.closePath()}}),IH=we.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var r=e.cx,n=e.cy,i=e.width/2,a=e.height/2;t.moveTo(r,n-a),t.lineTo(r+i,n),t.lineTo(r,n+a),t.lineTo(r-i,n),t.closePath()}}),PH=we.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var r=e.x,n=e.y,i=e.width/5*3,a=Math.max(i,e.height),o=i/2,s=o*o/(a-o),u=n-a+o+s,l=Math.asin(s/o),c=Math.cos(l)*o,f=Math.sin(l),h=Math.cos(l),d=o*.6,p=o*.7;t.moveTo(r-c,u+s),t.arc(r,u,o,Math.PI-l,Math.PI*2+l),t.bezierCurveTo(r+c-f*d,u+s+h*d,r,n-p,r,n),t.bezierCurveTo(r,n-p,r-c+f*d,u+s+h*d,r-c,u+s),t.closePath()}}),RH=we.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var r=e.height,n=e.width,i=e.x,a=e.y,o=n/3*2;t.moveTo(i,a),t.lineTo(i+o,a+r),t.lineTo(i,a+r/4*3),t.lineTo(i-o,a+r),t.lineTo(i,a),t.closePath()}}),NH={line:xt,rect:Ee,roundRect:Ee,square:Ee,circle:Yi,diamond:IH,pin:PH,arrow:RH,triangle:LH},OH={line:function(t,e,r,n,i){i.x1=t,i.y1=e+n/2,i.x2=t+r,i.y2=e+n/2},rect:function(t,e,r,n,i){i.x=t,i.y=e,i.width=r,i.height=n},roundRect:function(t,e,r,n,i){i.x=t,i.y=e,i.width=r,i.height=n,i.r=Math.min(r,n)/4},square:function(t,e,r,n,i){var a=Math.min(r,n);i.x=t,i.y=e,i.width=a,i.height=a},circle:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.r=Math.min(r,n)/2},diamond:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.width=r,i.height=n},pin:function(t,e,r,n,i){i.x=t+r/2,i.y=e+n/2,i.width=r,i.height=n},arrow:function(t,e,r,n,i){i.x=t+r/2,i.y=e+n/2,i.width=r,i.height=n},triangle:function(t,e,r,n,i){i.cx=t+r/2,i.cy=e+n/2,i.width=r,i.height=n}},gc={};E(NH,function(t,e){gc[e]=new t});var BH=we.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,r){var n=ic(t,e,r),i=this.shape;return i&&i.symbolType==="pin"&&e.position==="inside"&&(n.y=r.y+r.height*.4),n},buildPath:function(t,e,r){var n=e.symbolType;if(n!=="none"){var i=gc[n];i||(n="rect",i=gc[n]),OH[n](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,r)}}});function FH(t,e){if(this.type!=="image"){var r=this.style;this.__isEmptyBrush?(r.stroke=t,r.fill=e||"#fff",r.lineWidth=2):this.shape.symbolType==="line"?r.stroke=t:r.fill=t,this.markRedraw()}}function ct(t,e,r,n,i,a,o){var s=t.indexOf("empty")===0;s&&(t=t.substr(5,1).toLowerCase()+t.substr(6));var u;return t.indexOf("image://")===0?u=zw(t.slice(8),new ye(e,r,n,i),o?"center":"cover"):t.indexOf("path://")===0?u=x2(t.slice(7),{},new ye(e,r,n,i),o?"center":"cover"):u=new BH({shape:{symbolType:t,x:e,y:r,width:n,height:i}}),u.__isEmptyBrush=s,u.setColor=FH,a&&u.setColor(a),u}function Hs(t){return G(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function mo(t,e){if(t!=null)return G(t)||(t=[t,t]),[W(t[0],e[0])||0,W(fe(t[1],t[0]),e[1])||0]}function Va(t){return isFinite(t)}function zH(t,e,r){var n=e.x==null?0:e.x,i=e.x2==null?1:e.x2,a=e.y==null?0:e.y,o=e.y2==null?0:e.y2;e.global||(n=n*r.width+r.x,i=i*r.width+r.x,a=a*r.height+r.y,o=o*r.height+r.y),n=Va(n)?n:0,i=Va(i)?i:1,a=Va(a)?a:0,o=Va(o)?o:0;var s=t.createLinearGradient(n,a,i,o);return s}function VH(t,e,r){var n=r.width,i=r.height,a=Math.min(n,i),o=e.x==null?.5:e.x,s=e.y==null?.5:e.y,u=e.r==null?.5:e.r;e.global||(o=o*n+r.x,s=s*i+r.y,u=u*a),o=Va(o)?o:.5,s=Va(s)?s:.5,u=u>=0&&Va(u)?u:.5;var l=t.createRadialGradient(o,s,0,o,s,u);return l}function Bd(t,e,r){for(var n=e.type==="radial"?VH(t,e,r):zH(t,e,r),i=e.colorStops,a=0;a<i.length;a++)n.addColorStop(i[a].offset,i[a].color);return n}function $H(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var r=0;r<t.length;r++)if(t[r]!==e[r])return!0;return!1}function G1(t){return parseInt(t,10)}function is(t,e,r){var n=["width","height"][e],i=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(r[n]!=null&&r[n]!=="auto")return parseFloat(r[n]);var s=document.defaultView.getComputedStyle(t);return(t[i]||G1(s[n])||G1(t.style[n]))-(G1(s[a])||0)-(G1(s[o])||0)|0}function GH(t,e){return!t||t==="solid"||!(e>0)?null:t==="dashed"?[4*e,2*e]:t==="dotted"?[e]:Me(t)?[t]:G(t)?t:null}function U5(t){var e=t.style,r=e.lineDash&&e.lineWidth>0&&GH(e.lineDash,e.lineWidth),n=e.lineDashOffset;if(r){var i=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;i&&i!==1&&(r=H(r,function(a){return a/i}),n/=i)}return[r,n]}var HH=new Cn(!0);function mc(t){var e=t.stroke;return!(e==null||e==="none"||!(t.lineWidth>0))}function v8(t){return typeof t=="string"&&t!=="none"}function yc(t){var e=t.fill;return e!=null&&e!=="none"}function g8(t,e){if(e.fillOpacity!=null&&e.fillOpacity!==1){var r=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=r}else t.fill()}function m8(t,e){if(e.strokeOpacity!=null&&e.strokeOpacity!==1){var r=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=r}else t.stroke()}function Fd(t,e,r){var n=d5(e.image,e.__image,r);if(p2(n)){var i=t.createPattern(n,e.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*w0),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}function UH(t,e,r,n){var i,a=mc(r),o=yc(r),s=r.strokePercent,u=s<1,l=!e.path;(!e.silent||u)&&l&&e.createPathProxy();var c=e.path||HH,f=e.__dirty;if(!n){var h=r.fill,d=r.stroke,p=o&&!!h.colorStops,v=a&&!!d.colorStops,g=o&&!!h.image,m=a&&!!d.image,y=void 0,_=void 0,b=void 0,x=void 0,w=void 0;(p||v)&&(w=e.getBoundingRect()),p&&(y=f?Bd(t,h,w):e.__canvasFillGradient,e.__canvasFillGradient=y),v&&(_=f?Bd(t,d,w):e.__canvasStrokeGradient,e.__canvasStrokeGradient=_),g&&(b=f||!e.__canvasFillPattern?Fd(t,h,e):e.__canvasFillPattern,e.__canvasFillPattern=b),m&&(x=f||!e.__canvasStrokePattern?Fd(t,d,e):e.__canvasStrokePattern,e.__canvasStrokePattern=b),p?t.fillStyle=y:g&&(b?t.fillStyle=b:o=!1),v?t.strokeStyle=_:m&&(x?t.strokeStyle=x:a=!1)}var S=e.getGlobalScale();c.setScale(S[0],S[1],e.segmentIgnoreThreshold);var C,A;t.setLineDash&&r.lineDash&&(i=U5(e),C=i[0],A=i[1]);var T=!0;(l||f&jo)&&(c.setDPR(t.dpr),u?c.setContext(null):(c.setContext(t),T=!1),c.reset(),e.buildPath(c,e.shape,n),c.toStatic(),e.pathUpdated()),T&&c.rebuildPath(t,u?s:1),C&&(t.setLineDash(C),t.lineDashOffset=A),n||(r.strokeFirst?(a&&m8(t,r),o&&g8(t,r)):(o&&g8(t,r),a&&m8(t,r))),C&&t.setLineDash([])}function WH(t,e,r){var n=e.__image=d5(r.image,e.__image,e,e.onload);if(!(!n||!p2(n))){var i=r.x||0,a=r.y||0,o=e.getWidth(),s=e.getHeight(),u=n.width/n.height;if(o==null&&s!=null?o=s*u:s==null&&o!=null?s=o/u:o==null&&s==null&&(o=n.width,s=n.height),r.sWidth&&r.sHeight){var l=r.sx||0,c=r.sy||0;t.drawImage(n,l,c,r.sWidth,r.sHeight,i,a,o,s)}else if(r.sx&&r.sy){var l=r.sx,c=r.sy,f=o-l,h=s-c;t.drawImage(n,l,c,f,h,i,a,o,s)}else t.drawImage(n,i,a,o,s)}}function qH(t,e,r){var n,i=r.text;if(i!=null&&(i+=""),i){t.font=r.font||Bi,t.textAlign=r.textAlign,t.textBaseline=r.textBaseline;var a=void 0,o=void 0;t.setLineDash&&r.lineDash&&(n=U5(e),a=n[0],o=n[1]),a&&(t.setLineDash(a),t.lineDashOffset=o),r.strokeFirst?(mc(r)&&t.strokeText(i,r.x,r.y),yc(r)&&t.fillText(i,r.x,r.y)):(yc(r)&&t.fillText(i,r.x,r.y),mc(r)&&t.strokeText(i,r.x,r.y)),a&&t.setLineDash([])}}var y8=["shadowBlur","shadowOffsetX","shadowOffsetY"],_8=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function JS(t,e,r,n,i){var a=!1;if(!n&&(r=r||{},e===r))return!1;if(n||e.opacity!==r.opacity){er(t,i),a=!0;var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?qa.opacity:o}(n||e.blend!==r.blend)&&(a||(er(t,i),a=!0),t.globalCompositeOperation=e.blend||qa.blend);for(var s=0;s<y8.length;s++){var u=y8[s];(n||e[u]!==r[u])&&(a||(er(t,i),a=!0),t[u]=t.dpr*(e[u]||0))}return(n||e.shadowColor!==r.shadowColor)&&(a||(er(t,i),a=!0),t.shadowColor=e.shadowColor||qa.shadowColor),a}function b8(t,e,r,n,i){var a=wl(e,i.inHover),o=n?null:r&&wl(r,i.inHover)||{};if(a===o)return!1;var s=JS(t,a,o,n,i);if((n||a.fill!==o.fill)&&(s||(er(t,i),s=!0),v8(a.fill)&&(t.fillStyle=a.fill)),(n||a.stroke!==o.stroke)&&(s||(er(t,i),s=!0),v8(a.stroke)&&(t.strokeStyle=a.stroke)),(n||a.opacity!==o.opacity)&&(s||(er(t,i),s=!0),t.globalAlpha=a.opacity==null?1:a.opacity),e.hasStroke()){var u=a.lineWidth,l=u/(a.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(er(t,i),s=!0),t.lineWidth=l)}for(var c=0;c<_8.length;c++){var f=_8[c],h=f[0];(n||a[h]!==o[h])&&(s||(er(t,i),s=!0),t[h]=a[h]||f[1])}return s}function ZH(t,e,r,n,i){return JS(t,wl(e,i.inHover),r&&wl(r,i.inHover),n,i)}function eC(t,e){var r=e.transform,n=t.dpr||1;r?t.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):t.setTransform(n,0,0,n,0,0)}function YH(t,e,r){for(var n=!1,i=0;i<t.length;i++){var a=t[i];n=n||a.isZeroArea(),eC(e,a),e.beginPath(),a.buildPath(e,a.shape),e.clip()}r.allClipped=n}function XH(t,e){return t&&e?t[0]!==e[0]||t[1]!==e[1]||t[2]!==e[2]||t[3]!==e[3]||t[4]!==e[4]||t[5]!==e[5]:!(!t&&!e)}var x8=1,w8=2,S8=3,C8=4;function jH(t){var e=yc(t),r=mc(t);return!(t.lineDash||!(+e^+r)||e&&typeof t.fill!="string"||r&&typeof t.stroke!="string"||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}function er(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function wl(t,e){return e&&t.__hoverStyle||t.style}function tC(t,e){$a(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function $a(t,e,r,n){var i=e.transform;if(!e.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){e.__dirty&=~ur,e.__isRendered=!1;return}var a=e.__clipPaths,o=r.prevElClipPaths,s=!1,u=!1;if((!o||$H(a,o))&&(o&&o.length&&(er(t,r),t.restore(),u=s=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),a&&a.length&&(er(t,r),t.save(),YH(a,t,r),s=!0),r.prevElClipPaths=a),r.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var l=r.prevEl;l||(u=s=!0);var c=e instanceof we&&e.autoBatch&&jH(e.style);s||XH(i,l.transform)?(er(t,r),eC(t,e)):c||er(t,r);var f=wl(e,r.inHover);e instanceof we?(r.lastDrawType!==x8&&(u=!0,r.lastDrawType=x8),b8(t,e,l,u,r),(!c||!r.batchFill&&!r.batchStroke)&&t.beginPath(),UH(t,e,f,c),c&&(r.batchFill=f.fill||"",r.batchStroke=f.stroke||"")):e instanceof pl?(r.lastDrawType!==S8&&(u=!0,r.lastDrawType=S8),b8(t,e,l,u,r),qH(t,e,f)):e instanceof Lt?(r.lastDrawType!==w8&&(u=!0,r.lastDrawType=w8),ZH(t,e,l,u,r),WH(t,e,f)):e.getTemporalDisplayables&&(r.lastDrawType!==C8&&(u=!0,r.lastDrawType=C8),KH(t,e,r)),c&&n&&er(t,r),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),r.prevEl=e,e.__dirty=0,e.__isRendered=!0}function KH(t,e,r){var n=e.getDisplayables(),i=e.getTemporalDisplayables();t.save();var a={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover},o,s;for(o=e.getCursor(),s=n.length;o<s;o++){var u=n[o];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),$a(t,u,a,o===s-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),a.prevEl=u}for(var l=0,c=i.length;l<c;l++){var u=i[l];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),$a(t,u,a,l===c-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),a.prevEl=u}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}var n6=new MH,A8=new Fl(100),T8=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function bs(t,e){if(t==="none")return null;var r=e.getDevicePixelRatio(),n=e.getZr(),i=n.painter.type==="svg";t.dirty&&n6.delete(t);var a=n6.get(t);if(a)return a;var o=ae(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});o.backgroundColor==="none"&&(o.backgroundColor=null);var s={repeat:"repeat"};return u(s),s.rotation=o.rotation,s.scaleX=s.scaleY=i?1:1/r,n6.set(t,s),t.dirty=!1,s;function u(l){for(var c=[r],f=!0,h=0;h<T8.length;++h){var d=o[T8[h]];if(d!=null&&!G(d)&&!Z(d)&&!Me(d)&&typeof d!="boolean"){f=!1;break}c.push(d)}var p;if(f){p=c.join(",")+(i?"-svg":"");var v=A8.get(p);v&&(i?l.svgElement=v:l.image=v)}var g=nC(o.dashArrayX),m=QH(o.dashArrayY),y=rC(o.symbol),_=JH(g),b=iC(m),x=!i&&Fi.createCanvas(),w=i&&{tag:"g",attrs:{},key:"dcl",children:[]},S=A(),C;x&&(x.width=S.width*r,x.height=S.height*r,C=x.getContext("2d")),T(),f&&A8.put(p,x||w),l.image=x,l.svgElement=w,l.svgWidth=S.width,l.svgHeight=S.height;function A(){for(var D=1,k=0,M=_.length;k<M;++k)D=Vv(D,_[k]);for(var I=1,k=0,M=y.length;k<M;++k)I=Vv(I,y[k].length);D*=I;var N=b*_.length*y.length;if(process.env.NODE_ENV!=="production"){var L=function(O){console.warn("Calculated decal size is greater than "+O+" due to decal option settings so "+O+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+O+" to be larger to avoid incontinuity.")};D>o.maxTileWidth&&L("maxTileWidth"),N>o.maxTileHeight&&L("maxTileHeight")}return{width:Math.max(1,Math.min(D,o.maxTileWidth)),height:Math.max(1,Math.min(N,o.maxTileHeight))}}function T(){C&&(C.clearRect(0,0,x.width,x.height),o.backgroundColor&&(C.fillStyle=o.backgroundColor,C.fillRect(0,0,x.width,x.height)));for(var D=0,k=0;k<m.length;++k)D+=m[k];if(D<=0)return;for(var M=-b,I=0,N=0,L=0;M<S.height;){if(I%2===0){for(var O=N/2%y.length,P=0,R=0,B=0;P<S.width*2;){for(var z=0,k=0;k<g[L].length;++k)z+=g[L][k];if(z<=0)break;if(R%2===0){var V=(1-o.symbolSize)*.5,U=P+g[L][R]*V,q=M+m[I]*V,K=g[L][R]*o.symbolSize,xe=m[I]*o.symbolSize,Ve=B/2%y[O].length;ue(U,q,K,xe,y[O][Ve])}P+=g[L][R],++B,++R,R===g[L].length&&(R=0)}++L,L===g.length&&(L=0)}M+=m[I],++N,++I,I===m.length&&(I=0)}function ue(ee,he,Q,se,Fe){var Pe=i?1:r,Te=ct(Fe,ee*Pe,he*Pe,Q*Pe,se*Pe,o.color,o.symbolKeepAspect);if(i){var Ze=n.painter.renderOneToVNode(Te);Ze&&w.children.push(Ze)}else tC(C,Te)}}}}function rC(t){if(!t||t.length===0)return[["rect"]];if(Z(t))return[[t]];for(var e=!0,r=0;r<t.length;++r)if(!Z(t[r])){e=!1;break}if(e)return rC([t]);for(var n=[],r=0;r<t.length;++r)Z(t[r])?n.push([t[r]]):n.push(t[r]);return n}function nC(t){if(!t||t.length===0)return[[0,0]];if(Me(t)){var e=Math.ceil(t);return[[e,e]]}for(var r=!0,n=0;n<t.length;++n)if(!Me(t[n])){r=!1;break}if(r)return nC([t]);for(var i=[],n=0;n<t.length;++n)if(Me(t[n])){var e=Math.ceil(t[n]);i.push([e,e])}else{var e=H(t[n],function(s){return Math.ceil(s)});e.length%2===1?i.push(e.concat(e)):i.push(e)}return i}function QH(t){if(!t||typeof t=="object"&&t.length===0)return[0,0];if(Me(t)){var e=Math.ceil(t);return[e,e]}var r=H(t,function(n){return Math.ceil(n)});return t.length%2?r.concat(r):r}function JH(t){return H(t,function(e){return iC(e)})}function iC(t){for(var e=0,r=0;r<t.length;++r)e+=t[r];return t.length%2===1?e*2:e}function eU(t,e){t.eachRawSeries(function(r){if(!t.isSeriesFiltered(r)){var n=r.getData();n.hasItemVisual()&&n.each(function(o){var s=n.getItemVisual(o,"decal");if(s){var u=n.ensureUniqueItemVisual(o,"style");u.decal=bs(s,e)}});var i=n.getVisual("decal");if(i){var a=n.getVisual("style");a.decal=bs(i,e)}}})}var tU=new Or;const Hr=tU;var _c={};function rU(t,e){process.env.NODE_ENV!=="production"&&_c[t]&&Et("Already has an implementation of "+t+"."),_c[t]=e}function nU(t){return process.env.NODE_ENV!=="production"&&(_c[t]||Et("Implementation of "+t+" doesn't exists.")),_c[t]}var iU=1,aU=800,oU=900,sU=1e3,uU=2e3,lU=5e3,aC=1e3,cU=1100,W5=2e3,oC=3e3,fU=4e3,R2=4500,hU=4600,dU=5e3,pU=6e3,sC=7e3,vU={PROCESSOR:{FILTER:sU,SERIES_FILTER:aU,STATISTIC:lU},VISUAL:{LAYOUT:aC,PROGRESSIVE_LAYOUT:cU,GLOBAL:W5,CHART:oC,POST_CHART_LAYOUT:hU,COMPONENT:fU,BRUSH:dU,CHART_ITEM:R2,ARIA:pU,DECAL:sC}},Rt="__flagInMainProcess",Kt="__pendingUpdate",i6="__needsUpdateStatus",D8=/^[a-zA-Z0-9_]+$/,a6="__connectUpdateStatus",E8=0,gU=1,mU=2;function uC(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(this.isDisposed()){sr(this.id);return}return cC(this,t,e)}}function lC(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return cC(this,t,e)}}function cC(t,e,r){return r[0]=r[0]&&r[0].toLowerCase(),Or.prototype[e].apply(t,r)}var fC=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(Or),hC=fC.prototype;hC.on=lC("on");hC.off=lC("off");var Oo,o6,H1,oi,s6,u6,l6,lu,cu,k8,M8,c6,L8,U1,I8,dC,gr,P8,pC=function(t){F(e,t);function e(r,n,i){var a=t.call(this,new SH)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],i=i||{},Z(n)&&(n=vC[n]),a._dom=r;var o="canvas",s="auto",u=!1;if(process.env.NODE_ENV!=="production"){var l=De.hasGlobalWindow?window:global;l&&(o=fe(l.__ECHARTS__DEFAULT__RENDERER__,o),s=fe(l.__ECHARTS__DEFAULT__COARSE_POINTER,s),u=fe(l.__ECHARTS__DEFAULT__USE_DIRTY_RECT__,u))}i.ssr&&qF(function(d){var p=ce(d),v=p.dataIndex;if(v!=null){var g=J();return g.set("series_index",p.seriesIndex),g.set("data_index",v),p.ssrType&&g.set("ssr_type",p.ssrType),g}});var c=a._zr=Ov(r,{renderer:i.renderer||o,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:fe(i.useDirtyRect,u),useCoarsePointer:fe(i.useCoarsePointer,s),pointerSize:i.pointerSize});a._ssr=i.ssr,a._throttledZrFlush=G5(X(c.flush,c),17),n=oe(n),n&&xS(n,!0),a._theme=n,a._locale=D$(i.locale||Xw),a._coordSysMgr=new Vs;var f=a._api=I8(a);function h(d,p){return d.__prio-p.__prio}return A0(xc,h),A0(zd,h),a._scheduler=new XS(a,f,zd,xc),a._messageCenter=new fC,a._initEvents(),a.resize=X(a.resize,a),c.animation.on("frame",a._onframe,a),k8(c,a),M8(c,a),K0(a),a}return e.prototype._onframe=function(){if(!this._disposed){P8(this);var r=this._scheduler;if(this[Kt]){var n=this[Kt].silent;this[Rt]=!0;try{Oo(this),oi.update.call(this,null,this[Kt].updateParams)}catch(u){throw this[Rt]=!1,this[Kt]=null,u}this._zr.flush(),this[Rt]=!1,this[Kt]=null,lu.call(this,n),cu.call(this,n)}else if(r.unfinished){var i=iU,a=this._model,o=this._api;r.unfinished=!1;do{var s=+new Date;r.performSeriesTasks(a),r.performDataProcessorTasks(a),u6(this,a),r.performVisualTasks(a),U1(this,this._model,o,"remain",{}),i-=+new Date-s}while(i>0&&r.unfinished);r.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(r,n,i){if(this[Rt]){process.env.NODE_ENV!=="production"&&Et("`setOption` should not be called during main process.");return}if(this._disposed){sr(this.id);return}var a,o,s;if(ne(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[Rt]=!0,!this._model||n){var u=new sG(this._api),l=this._theme,c=this._model=new yS;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,l,this._locale,u)}this._model.setOption(r,{replaceMerge:o},Vd);var f={seriesTransition:s,optionChanged:!0};if(i)this[Kt]={silent:a,updateParams:f},this[Rt]=!1,this.getZr().wakeUp();else{try{Oo(this),oi.update.call(this,null,f)}catch(h){throw this[Kt]=null,this[Rt]=!1,h}this._ssr||this._zr.flush(),this[Kt]=null,this[Rt]=!1,lu.call(this,a),cu.call(this,a)}},e.prototype.setTheme=function(){Kr("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||De.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(r){return process.env.NODE_ENV!=="production"&&st("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(r)},e.prototype.renderToCanvas=function(r){r=r||{};var n=this._zr.painter;if(process.env.NODE_ENV!=="production"&&n.type!=="canvas")throw new Error("renderToCanvas can only be used in the canvas renderer.");return n.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(r){r=r||{};var n=this._zr.painter;if(process.env.NODE_ENV!=="production"&&n.type!=="svg")throw new Error("renderToSVGString can only be used in the svg renderer.");return n.renderToString({useViewBox:r.useViewBox})},e.prototype.getSvgDataURL=function(){if(De.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return E(n,function(i){i.stopAnimation(null,!0)}),r.painter.toDataURL()}},e.prototype.getDataURL=function(r){if(this._disposed){sr(this.id);return}r=r||{};var n=r.excludeComponents,i=this._model,a=[],o=this;E(n,function(u){i.eachComponent({mainType:u},function(l){var c=o._componentsMap[l.__viewId];c.group.ignore||(a.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return E(a,function(u){u.group.ignore=!1}),s},e.prototype.getConnectedDataURL=function(r){if(this._disposed){sr(this.id);return}var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(R8[i]){var u=s,l=s,c=-s,f=-s,h=[],d=r&&r.pixelRatio||this.getDevicePixelRatio();E(Qu,function(_,b){if(_.group===i){var x=n?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(oe(r)),w=_.getDom().getBoundingClientRect();u=a(w.left,u),l=a(w.top,l),c=o(w.right,c),f=o(w.bottom,f),h.push({dom:x,left:w.left,top:w.top})}}),u*=d,l*=d,c*=d,f*=d;var p=c-u,v=f-l,g=Fi.createCanvas(),m=Ov(g,{renderer:n?"svg":"canvas"});if(m.resize({width:p,height:v}),n){var y="";return E(h,function(_){var b=_.left-u,x=_.top-l;y+='<g transform="translate('+b+","+x+')">'+_.dom+"</g>"}),m.painter.getSvgRoot().innerHTML=y,r.connectedBackgroundColor&&m.painter.setBackgroundColor(r.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return r.connectedBackgroundColor&&m.add(new Ee({shape:{x:0,y:0,width:p,height:v},style:{fill:r.connectedBackgroundColor}})),E(h,function(_){var b=new Lt({style:{x:_.left*d-u,y:_.top*d-l,image:_.dom}});m.add(b)}),m.refreshImmediately(),g.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},e.prototype.convertToPixel=function(r,n){return s6(this,"convertToPixel",r,n)},e.prototype.convertFromPixel=function(r,n){return s6(this,"convertFromPixel",r,n)},e.prototype.containPixel=function(r,n){if(this._disposed){sr(this.id);return}var i=this._model,a,o=Wu(i,r);return E(o,function(s,u){u.indexOf("Models")>=0&&E(s,function(l){var c=l.coordinateSystem;if(c&&c.containPoint)a=a||!!c.containPoint(n);else if(u==="seriesModels"){var f=this._chartsMap[l.__viewId];f&&f.containPoint?a=a||f.containPoint(n,l):process.env.NODE_ENV!=="production"&&Qe(u+": "+(f?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&Qe(u+": containPoint is not supported")},this)},this),!!a},e.prototype.getVisual=function(r,n){var i=this._model,a=Wu(i,r,{defaultMainType:"series"}),o=a.seriesModel;process.env.NODE_ENV!=="production"&&(o||Qe("There is no specified series model"));var s=o.getData(),u=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return u!=null?H5(s,u,n):Wl(s,n)},e.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},e.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},e.prototype._initEvents=function(){var r=this;E(yU,function(n){var i=function(a){var o=r.getModel(),s=a.target,u,l=n==="globalout";if(l?u={}:s&&za(s,function(p){var v=ce(p);if(v&&v.dataIndex!=null){var g=v.dataModel||o.getSeriesByIndex(v.seriesIndex);return u=g&&g.getDataParams(v.dataIndex,v.dataType,s)||{},!0}else if(v.eventData)return u=$({},v.eventData),!0},!0),u){var c=u.componentType,f=u.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=u.seriesIndex);var h=c&&f!=null&&o.getComponent(c,f),d=h&&r[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];process.env.NODE_ENV!=="production"&&!l&&!(h&&d)&&Qe("model or view can not be found by params"),u.event=a,u.type=n,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:u,model:h,view:d},r.trigger(n,u)}};i.zrEventfulCallAtLast=!0,r._zr.on(n,i,r)}),E(Ku,function(n,i){r._messageCenter.on(i,function(a){this.trigger(i,a)},r)}),E(["selectchanged"],function(n){r._messageCenter.on(n,function(i){this.trigger(n,i)},r)}),TH(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed){sr(this.id);return}this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed){sr(this.id);return}this._disposed=!0;var r=this.getDom();r&&Yx(this.getDom(),Z5,"");var n=this,i=n._api,a=n._model;E(n._componentsViews,function(o){o.dispose(a,i)}),E(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete Qu[n.id]},e.prototype.resize=function(r){if(this[Rt]){process.env.NODE_ENV!=="production"&&Et("`resize` should not be called during main process.");return}if(this._disposed){sr(this.id);return}this._zr.resize(r);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=r&&r.silent;this[Kt]&&(a==null&&(a=this[Kt].silent),i=!0,this[Kt]=null),this[Rt]=!0;try{i&&Oo(this),oi.update.call(this,{type:"resize",animation:$({duration:0},r&&r.animation)})}catch(o){throw this[Rt]=!1,o}this[Rt]=!1,lu.call(this,a),cu.call(this,a)}},e.prototype.showLoading=function(r,n){if(this._disposed){sr(this.id);return}if(ne(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!$d[r]){process.env.NODE_ENV!=="production"&&Qe("Loading effects "+r+" not exists.");return}var i=$d[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)},e.prototype.hideLoading=function(){if(this._disposed){sr(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(r){var n=$({},r);return n.type=Ku[r.type],n},e.prototype.dispatchAction=function(r,n){if(this._disposed){sr(this.id);return}if(ne(n)||(n={silent:!!n}),!!bc[r.type]&&this._model){if(this[Rt]){this._pendingActions.push(r);return}var i=n.silent;l6.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&De.browser.weChat&&this._throttledZrFlush(),lu.call(this,i),cu.call(this,i)}},e.prototype.updateLabelLayout=function(){Hr.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(r){if(this._disposed){sr(this.id);return}var n=r.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);process.env.NODE_ENV!=="production"&&ie(r.data&&a),a.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},e.internalField=function(){Oo=function(f){var h=f._scheduler;h.restorePipelines(f._model),h.prepareStageTasks(),o6(f,!0),o6(f,!1),h.plan()},o6=function(f,h){for(var d=f._model,p=f._scheduler,v=h?f._componentsViews:f._chartsViews,g=h?f._componentsMap:f._chartsMap,m=f._zr,y=f._api,_=0;_<v.length;_++)v[_].__alive=!1;h?d.eachComponent(function(w,S){w!=="series"&&b(S)}):d.eachSeries(b);function b(w){var S=w.__requireNewView;w.__requireNewView=!1;var C="_ec_"+w.id+"_"+w.type,A=!S&&g[C];if(!A){var T=vn(w.type),D=h?et.getClass(T.main,T.sub):qe.getClass(T.sub);process.env.NODE_ENV!=="production"&&ie(D,T.sub+" does not exist."),A=new D,A.init(d,y),g[C]=A,v.push(A),m.add(A.group)}w.__viewId=A.__id=C,A.__alive=!0,A.__model=w,A.group.__ecComponentInfo={mainType:w.mainType,index:w.componentIndex},!h&&p.prepareView(A,w,d,y)}for(var _=0;_<v.length;){var x=v[_];x.__alive?_++:(!h&&x.renderTask.dispose(),m.remove(x.group),x.dispose(d,y),v.splice(_,1),g[x.__id]===x&&delete g[x.__id],x.__id=x.group.__ecComponentInfo=null)}},H1=function(f,h,d,p,v){var g=f._model;if(g.setUpdatePayload(d),!p){E([].concat(f._componentsViews).concat(f._chartsViews),x);return}var m={};m[p+"Id"]=d[p+"Id"],m[p+"Index"]=d[p+"Index"],m[p+"Name"]=d[p+"Name"];var y={mainType:p,query:m};v&&(y.subType=v);var _=d.excludeSeriesId,b;_!=null&&(b=J(),E(ze(_),function(w){var S=ht(w,null);S!=null&&b.set(S,!0)})),g&&g.eachComponent(y,function(w){var S=b&&b.get(w.id)!=null;if(!S)if(v3(d))if(w instanceof je)d.type===Za&&!d.notBlur&&!w.get(["emphasis","disabled"])&&_V(w,d,f._api);else{var C=_5(w.mainType,w.componentIndex,d.name,f._api),A=C.focusSelf,T=C.dispatchers;d.type===Za&&A&&!d.notBlur&&bd(w.mainType,w.componentIndex,f._api),T&&E(T,function(D){d.type===Za?Zn(D):Yn(D)})}else wd(d)&&w instanceof je&&(wV(w,d,f._api),d3(w),gr(f))},f),g&&g.eachComponent(y,function(w){var S=b&&b.get(w.id)!=null;S||x(f[p==="series"?"_chartsMap":"_componentsMap"][w.__viewId])},f);function x(w){w&&w.__alive&&w[h]&&w[h](w.__model,g,f._api,d)}},oi={prepareAndUpdate:function(f){Oo(this),oi.update.call(this,f,{optionChanged:f.newOption!=null})},update:function(f,h){var d=this._model,p=this._api,v=this._zr,g=this._coordSysMgr,m=this._scheduler;if(d){d.setUpdatePayload(f),m.restoreData(d,f),m.performSeriesTasks(d),g.create(d,p),m.performDataProcessorTasks(d,f),u6(this,d),g.update(d,p),r(d),m.performVisualTasks(d,f),c6(this,d,p,f,h);var y=d.get("backgroundColor")||"transparent",_=d.get("darkMode");v.setBackgroundColor(y),_!=null&&_!=="auto"&&v.setDarkMode(_),Hr.trigger("afterupdate",d,p)}},updateTransform:function(f){var h=this,d=this._model,p=this._api;if(d){d.setUpdatePayload(f);var v=[];d.eachComponent(function(m,y){if(m!=="series"){var _=h.getViewOfComponentModel(y);if(_&&_.__alive)if(_.updateTransform){var b=_.updateTransform(y,d,p,f);b&&b.update&&v.push(_)}else v.push(_)}});var g=J();d.eachSeries(function(m){var y=h._chartsMap[m.__viewId];if(y.updateTransform){var _=y.updateTransform(m,d,p,f);_&&_.update&&g.set(m.uid,1)}else g.set(m.uid,1)}),r(d),this._scheduler.performVisualTasks(d,f,{setDirty:!0,dirtyMap:g}),U1(this,d,p,f,{},g),Hr.trigger("afterupdate",d,p)}},updateView:function(f){var h=this._model;h&&(h.setUpdatePayload(f),qe.markUpdateMethod(f,"updateView"),r(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0}),c6(this,h,this._api,f,{}),Hr.trigger("afterupdate",h,this._api))},updateVisual:function(f){var h=this,d=this._model;d&&(d.setUpdatePayload(f),d.eachSeries(function(p){p.getData().clearAllVisual()}),qe.markUpdateMethod(f,"updateVisual"),r(d),this._scheduler.performVisualTasks(d,f,{visualType:"visual",setDirty:!0}),d.eachComponent(function(p,v){if(p!=="series"){var g=h.getViewOfComponentModel(v);g&&g.__alive&&g.updateVisual(v,d,h._api,f)}}),d.eachSeries(function(p){var v=h._chartsMap[p.__viewId];v.updateVisual(p,d,h._api,f)}),Hr.trigger("afterupdate",d,this._api))},updateLayout:function(f){oi.update.call(this,f)}},s6=function(f,h,d,p){if(f._disposed){sr(f.id);return}for(var v=f._model,g=f._coordSysMgr.getCoordinateSystems(),m,y=Wu(v,d),_=0;_<g.length;_++){var b=g[_];if(b[h]&&(m=b[h](v,y,p))!=null)return m}process.env.NODE_ENV!=="production"&&Qe("No coordinate system that supports "+h+" found by the given finder.")},u6=function(f,h){var d=f._chartsMap,p=f._scheduler;h.eachSeries(function(v){p.updateStreamModes(v,d[v.__viewId])})},l6=function(f,h){var d=this,p=this.getModel(),v=f.type,g=f.escapeConnect,m=bc[v],y=m.actionInfo,_=(y.update||"update").split(":"),b=_.pop(),x=_[0]!=null&&vn(_[0]);this[Rt]=!0;var w=[f],S=!1;f.batch&&(S=!0,w=H(f.batch,function(I){return I=ae($({},I),f),I.batch=null,I}));var C=[],A,T=wd(f),D=v3(f);if(D&&_w(this._api),E(w,function(I){if(A=m.action(I,d._model,d._api),A=A||$({},I),A.type=y.event||A.type,C.push(A),D){var N=f5(f),L=N.queryOptionMap,O=N.mainTypeSpecified,P=O?L.keys()[0]:"series";H1(d,b,I,P),gr(d)}else T?(H1(d,b,I,"series"),gr(d)):x&&H1(d,b,I,x.main,x.sub)}),b!=="none"&&!D&&!T&&!x)try{this[Kt]?(Oo(this),oi.update.call(this,f),this[Kt]=null):oi[b].call(this,f)}catch(I){throw this[Rt]=!1,I}if(S?A={type:y.event||v,escapeConnect:g,batch:C}:A=C[0],this[Rt]=!1,!h){var k=this._messageCenter;if(k.trigger(A.type,A),T){var M={type:"selectchanged",escapeConnect:g,selected:SV(p),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};k.trigger(M.type,M)}}},lu=function(f){for(var h=this._pendingActions;h.length;){var d=h.shift();l6.call(this,d,f)}},cu=function(f){!f&&this.trigger("updated")},k8=function(f,h){f.on("rendered",function(d){h.trigger("rendered",d),f.animation.isFinished()&&!h[Kt]&&!h._scheduler.unfinished&&!h._pendingActions.length&&h.trigger("finished")})},M8=function(f,h){f.on("mouseover",function(d){var p=d.target,v=za(p,Vi);v&&(bV(v,d,h._api),gr(h))}).on("mouseout",function(d){var p=d.target,v=za(p,Vi);v&&(xV(v,d,h._api),gr(h))}).on("click",function(d){var p=d.target,v=za(p,function(y){return ce(y).dataIndex!=null},!0);if(v){var g=v.selected?"unselect":"select",m=ce(v);h._api.dispatchAction({type:g,dataType:m.dataType,dataIndexInside:m.dataIndex,seriesIndex:m.seriesIndex,isFromClick:!0})}})};function r(f){f.clearColorPalette(),f.eachSeries(function(h){h.clearColorPalette()})}function n(f){var h=[],d=[],p=!1;if(f.eachComponent(function(y,_){var b=_.get("zlevel")||0,x=_.get("z")||0,w=_.getZLevelKey();p=p||!!w,(y==="series"?d:h).push({zlevel:b,z:x,idx:_.componentIndex,type:y,key:w})}),p){var v=h.concat(d),g,m;A0(v,function(y,_){return y.zlevel===_.zlevel?y.z-_.z:y.zlevel-_.zlevel}),E(v,function(y){var _=f.getComponent(y.type,y.idx),b=y.zlevel,x=y.key;g!=null&&(b=Math.max(g,b)),x?(b===g&&x!==m&&b++,m=x):m&&(b===g&&b++,m=""),g=b,_.setZLevel(b)})}}c6=function(f,h,d,p,v){n(h),L8(f,h,d,p,v),E(f._chartsViews,function(g){g.__alive=!1}),U1(f,h,d,p,v),E(f._chartsViews,function(g){g.__alive||g.remove(h,d)})},L8=function(f,h,d,p,v,g){E(g||f._componentsViews,function(m){var y=m.__model;l(y,m),m.render(y,h,d,p),s(y,m),c(y,m)})},U1=function(f,h,d,p,v,g){var m=f._scheduler;v=$(v||{},{updatedSeries:h.getSeries()}),Hr.trigger("series:beforeupdate",h,d,v);var y=!1;h.eachSeries(function(_){var b=f._chartsMap[_.__viewId];b.__alive=!0;var x=b.renderTask;m.updatePayload(x,p),l(_,b),g&&g.get(_.uid)&&x.dirty(),x.perform(m.getPerformArgs(x))&&(y=!0),b.group.silent=!!_.get("silent"),o(_,b),d3(_)}),m.unfinished=y||m.unfinished,Hr.trigger("series:layoutlabels",h,d,v),Hr.trigger("series:transition",h,d,v),h.eachSeries(function(_){var b=f._chartsMap[_.__viewId];s(_,b),c(_,b)}),a(f,h),Hr.trigger("series:afterupdate",h,d,v)},gr=function(f){f[i6]=!0,f.getZr().wakeUp()},P8=function(f){f[i6]&&(f.getZr().storage.traverse(function(h){ls(h)||i(h)}),f[i6]=!1)};function i(f){for(var h=[],d=f.currentStates,p=0;p<d.length;p++){var v=d[p];v==="emphasis"||v==="blur"||v==="select"||h.push(v)}f.selected&&f.states.select&&h.push("select"),f.hoverState===m2&&f.states.emphasis?h.push("emphasis"):f.hoverState===$l&&f.states.blur&&h.push("blur"),f.useStates(h)}function a(f,h){var d=f._zr,p=d.storage,v=0;p.traverse(function(g){g.isGroup||v++}),v>h.get("hoverLayerThreshold")&&!De.node&&!De.worker&&h.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=f._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function o(f,h){var d=f.get("blendMode")||null;h.eachRendered(function(p){p.isGroup||(p.style.blend=d)})}function s(f,h){if(!f.preventAutoZ){var d=f.get("z")||0,p=f.get("zlevel")||0;h.eachRendered(function(v){return u(v,d,p,-1/0),!0})}}function u(f,h,d,p){var v=f.getTextContent(),g=f.getTextGuideLine(),m=f.isGroup;if(m)for(var y=f.childrenRef(),_=0;_<y.length;_++)p=Math.max(u(y[_],h,d,p),p);else f.z=h,f.zlevel=d,p=Math.max(f.z2,p);if(v&&(v.z=h,v.zlevel=d,isFinite(p)&&(v.z2=p+2)),g){var b=f.textGuideLineConfig;g.z=h,g.zlevel=d,isFinite(p)&&(g.z2=p+(b&&b.showAbove?1:-1))}return p}function l(f,h){h.eachRendered(function(d){if(!ls(d)){var p=d.getTextContent(),v=d.getTextGuideLine();d.stateTransition&&(d.stateTransition=null),p&&p.stateTransition&&(p.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),d.hasState()?(d.prevStates=d.currentStates,d.clearStates()):d.prevStates&&(d.prevStates=null)}})}function c(f,h){var d=f.getModel("stateAnimation"),p=f.isAnimationEnabled(),v=d.get("duration"),g=v>0?{duration:v,delay:d.get("delay"),easing:d.get("easing")}:null;h.eachRendered(function(m){if(m.states&&m.states.emphasis){if(ls(m))return;if(m instanceof we&&EV(m),m.__dirty){var y=m.prevStates;y&&m.useStates(y)}if(p){m.stateTransition=g;var _=m.getTextContent(),b=m.getTextGuideLine();_&&(_.stateTransition=g),b&&(b.stateTransition=g)}m.__dirty&&i(m)}})}I8=function(f){return new(function(h){F(d,h);function d(){return h!==null&&h.apply(this,arguments)||this}return d.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},d.prototype.getComponentByElement=function(p){for(;p;){var v=p.__ecComponentInfo;if(v!=null)return f._model.getComponent(v.mainType,v.index);p=p.parent}},d.prototype.enterEmphasis=function(p,v){Zn(p,v),gr(f)},d.prototype.leaveEmphasis=function(p,v){Yn(p,v),gr(f)},d.prototype.enterBlur=function(p){vw(p),gr(f)},d.prototype.leaveBlur=function(p){y5(p),gr(f)},d.prototype.enterSelect=function(p){gw(p),gr(f)},d.prototype.leaveSelect=function(p){mw(p),gr(f)},d.prototype.getModel=function(){return f.getModel()},d.prototype.getViewOfComponentModel=function(p){return f.getViewOfComponentModel(p)},d.prototype.getViewOfSeriesModel=function(p){return f.getViewOfSeriesModel(p)},d}(_S))(f)},dC=function(f){function h(d,p){for(var v=0;v<d.length;v++){var g=d[v];g[a6]=p}}E(Ku,function(d,p){f._messageCenter.on(p,function(v){if(R8[f.group]&&f[a6]!==E8){if(v&&v.escapeConnect)return;var g=f.makeActionFromEvent(v),m=[];E(Qu,function(y){y!==f&&y.group===f.group&&m.push(y)}),h(m,E8),E(m,function(y){y[a6]!==gU&&y.dispatchAction(g)}),h(m,mU)}})})}}(),e}(Or),q5=pC.prototype;q5.on=uC("on");q5.off=uC("off");q5.one=function(t,e,r){var n=this;Kr("ECharts#one is deprecated.");function i(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];e&&e.apply&&e.apply(this,a),n.off(t,i)}this.on.call(this,t,i,r)};var yU=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function sr(t){process.env.NODE_ENV!=="production"&&Qe("Instance "+t+" has been disposed")}var bc={},Ku={},zd=[],Vd=[],xc=[],vC={},$d={},Qu={},R8={},_U=+new Date-0,Z5="_echarts_instance_";function bU(t,e,r){var n=!(r&&r.ssr);if(n){if(process.env.NODE_ENV!=="production"&&!t)throw new Error("Initialize failed: invalid dom.");var i=xU(t);if(i)return process.env.NODE_ENV!=="production"&&Qe("There is a chart instance already initialized on the dom."),i;process.env.NODE_ENV!=="production"&&eo(t)&&t.nodeName.toUpperCase()!=="CANVAS"&&(!t.clientWidth&&(!r||r.width==null)||!t.clientHeight&&(!r||r.height==null))&&Qe("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var a=new pC(t,e,r);return a.id="ec_"+_U++,Qu[a.id]=a,n&&Yx(t,Z5,a.id),dC(a),Hr.trigger("afterinit",a),a}function xU(t){return Qu[pz(t,Z5)]}function gC(t,e){vC[t]=e}function mC(t){_e(Vd,t)<0&&Vd.push(t)}function yC(t,e){X5(zd,t,e,uU)}function wU(t){Y5("afterinit",t)}function SU(t){Y5("afterupdate",t)}function Y5(t,e){Hr.on(t,e)}function kn(t,e,r){te(e)&&(r=e,e="");var n=ne(t)?t.type:[t,t={event:e}][0];t.event=(t.event||n).toLowerCase(),e=t.event,!Ku[e]&&(ie(D8.test(n)&&D8.test(e)),bc[n]||(bc[n]={action:r,actionInfo:t}),Ku[e]=n)}function CU(t,e){Vs.register(t,e)}function AU(t,e){X5(xc,t,e,aC,"layout")}function yo(t,e){X5(xc,t,e,oC,"visual")}var N8=[];function X5(t,e,r,n,i){if((te(e)||ne(e))&&(r=e,e=n),process.env.NODE_ENV!=="production"){if(isNaN(e)||e==null)throw new Error("Illegal priority");E(t,function(o){ie(o.__raw!==r)})}if(!(_e(N8,r)>=0)){N8.push(r);var a=XS.wrapStageHandler(r,i);a.__prio=e,a.__raw=r,t.push(a)}}function _C(t,e){$d[t]=e}function TU(t,e,r){var n=nU("registerMap");n&&n(t,e,r)}var DU=NG;yo(W5,sH);yo(R2,uH);yo(R2,lH);yo(W5,CH);yo(R2,AH);yo(sC,eU);mC(xS);yC(oU,vG);_C("default",cH);kn({type:Za,event:Za,update:Za},at);kn({type:M0,event:M0,update:M0},at);kn({type:qu,event:qu,update:qu},at);kn({type:L0,event:L0,update:L0},at);kn({type:Zu,event:Zu,update:Zu},at);gC("light",xH);gC("dark",wH);var O8=[],EU={registerPreprocessor:mC,registerProcessor:yC,registerPostInit:wU,registerPostUpdate:SU,registerUpdateLifecycle:Y5,registerAction:kn,registerCoordinateSystem:CU,registerLayout:AU,registerVisual:yo,registerTransform:DU,registerLoading:_C,registerMap:TU,registerImpl:rU,PRIORITY:vU,ComponentModel:Ce,ComponentView:et,SeriesModel:je,ChartView:qe,registerComponentModel:function(t){Ce.registerClass(t)},registerComponentView:function(t){et.registerClass(t)},registerSeriesModel:function(t){je.registerClass(t)},registerChartView:function(t){qe.registerClass(t)},registerSubTypeDefaulter:function(t,e){Ce.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){UF(t,e)}};function be(t){if(G(t)){E(t,function(e){be(e)});return}_e(O8,t)>=0||(O8.push(t),te(t)&&(t={install:t}),t.install(EU))}function fu(t){return t==null?0:t.length||1}function B8(t){return t}var kU=function(){function t(e,r,n,i,a,o){this._old=e,this._new=r,this._oldKeyGetter=n||B8,this._newKeyGetter=i||B8,this.context=a,this._diffModeMultiple=o==="multiple"}return t.prototype.add=function(e){return this._add=e,this},t.prototype.update=function(e){return this._update=e,this},t.prototype.updateManyToOne=function(e){return this._updateManyToOne=e,this},t.prototype.updateOneToMany=function(e){return this._updateOneToMany=e,this},t.prototype.updateManyToMany=function(e){return this._updateManyToMany=e,this},t.prototype.remove=function(e){return this._remove=e,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var e=this._old,r=this._new,n={},i=new Array(e.length),a=new Array(r.length);this._initIndexMap(e,null,i,"_oldKeyGetter"),this._initIndexMap(r,n,a,"_newKeyGetter");for(var o=0;o<e.length;o++){var s=i[o],u=n[s],l=fu(u);if(l>1){var c=u.shift();u.length===1&&(n[s]=u[0]),this._update&&this._update(c,o)}else l===1?(n[s]=null,this._update&&this._update(u,o)):this._remove&&this._remove(o)}this._performRestAdd(a,n)},t.prototype._executeMultiple=function(){var e=this._old,r=this._new,n={},i={},a=[],o=[];this._initIndexMap(e,n,a,"_oldKeyGetter"),this._initIndexMap(r,i,o,"_newKeyGetter");for(var s=0;s<a.length;s++){var u=a[s],l=n[u],c=i[u],f=fu(l),h=fu(c);if(f>1&&h===1)this._updateManyToOne&&this._updateManyToOne(c,l),i[u]=null;else if(f===1&&h>1)this._updateOneToMany&&this._updateOneToMany(c,l),i[u]=null;else if(f===1&&h===1)this._update&&this._update(c,l),i[u]=null;else if(f>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,l),i[u]=null;else if(f>1)for(var d=0;d<f;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(e,r){for(var n=0;n<e.length;n++){var i=e[n],a=r[i],o=fu(a);if(o>1)for(var s=0;s<o;s++)this._add&&this._add(a[s]);else o===1&&this._add&&this._add(a);r[i]=null}},t.prototype._initIndexMap=function(e,r,n,i){for(var a=this._diffModeMultiple,o=0;o<e.length;o++){var s="_ec_"+this[i](e[o],o);if(a||(n[o]=s),!!r){var u=r[s],l=fu(u);l===0?(r[s]=o,a&&n.push(s)):l===1?r[s]=[u,o]:u.push(o)}}},t}();const Xn=kU;var MU=function(){function t(e,r){this._encode=e,this._schema=r}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function LU(t,e){var r={},n=r.encode={},i=J(),a=[],o=[],s={};E(t.dimensions,function(h){var d=t.getDimensionInfo(h),p=d.coordDim;if(p){process.env.NODE_ENV!=="production"&&ie(Ed.get(p)==null);var v=d.coordDimIndex;f6(n,p)[v]=h,d.isExtraCoord||(i.set(p,1),IU(d.type)&&(a[0]=h),f6(s,p)[v]=t.getDimensionIndex(d.name)),d.defaultTooltip&&o.push(h)}Ed.each(function(g,m){var y=f6(n,m),_=d.otherDims[m];_!=null&&_!==!1&&(y[_]=d.name)})});var u=[],l={};i.each(function(h,d){var p=n[d];l[d]=p[0],u=u.concat(p)}),r.dataDimsOnCoord=u,r.dataDimIndicesOnCoord=H(u,function(h){return t.getDimensionInfo(h).storeDimIndex}),r.encodeFirstDimNotExtra=l;var c=n.label;c&&c.length&&(a=c.slice());var f=n.tooltip;return f&&f.length?o=f.slice():o.length||(o=a.slice()),n.defaultedLabel=a,n.defaultedTooltip=o,r.userOutput=new MU(s,e),r}function f6(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function wc(t){return t==="category"?"ordinal":t==="time"?"time":"float"}function IU(t){return!(t==="ordinal"||t==="time")}var PU=function(){function t(e){this.otherDims={},e!=null&&$(this,e)}return t}();const O0=PU;var RU=Ae(),NU={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},bC=function(){function t(e){this.dimensions=e.dimensions,this._dimOmitted=e.dimensionOmitted,this.source=e.source,this._fullDimCount=e.fullDimensionCount,this._updateDimOmitted(e.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(e){this._dimOmitted=e,e&&(this._dimNameMap||(this._dimNameMap=SC(this.source)))},t.prototype.getSourceDimensionIndex=function(e){return fe(this._dimNameMap.get(e),-1)},t.prototype.getSourceDimension=function(e){var r=this.source.dimensionsDefine;if(r)return r[e]},t.prototype.makeStoreSchema=function(){for(var e=this._fullDimCount,r=SS(this.source),n=!CC(e),i="",a=[],o=0,s=0;o<e;o++){var u=void 0,l=void 0,c=void 0,f=this.dimensions[s];if(f&&f.storeDimIndex===o)u=r?f.name:null,l=f.type,c=f.ordinalMeta,s++;else{var h=this.getSourceDimension(o);h&&(u=r?h.name:null,l=h.type)}a.push({property:u,type:l,ordinalMeta:c}),r&&u!=null&&(!f||!f.isCalculationCoord)&&(i+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=NU[l]||"f",c&&(i+=c.uid),i+="$"}var d=this.source,p=[d.seriesLayoutBy,d.startIndex,i].join("$$");return{dimensions:a,hash:p}},t.prototype.makeOutputDimensionNames=function(){for(var e=[],r=0,n=0;r<this._fullDimCount;r++){var i=void 0,a=this.dimensions[n];if(a&&a.storeDimIndex===r)a.isCalculationCoord||(i=a.name),n++;else{var o=this.getSourceDimension(r);o&&(i=o.name)}e.push(i)}return e},t.prototype.appendCalculationDimension=function(e){this.dimensions.push(e),e.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function xC(t){return t instanceof bC}function wC(t){for(var e=J(),r=0;r<(t||[]).length;r++){var n=t[r],i=ne(n)?n.name:n;i!=null&&e.get(i)==null&&e.set(i,r)}return e}function SC(t){var e=RU(t);return e.dimNameMap||(e.dimNameMap=wC(t.dimensionsDefine))}function CC(t){return t>30}var hu=ne,si=H,OU=typeof Int32Array>"u"?Array:Int32Array,BU="e\0\0",F8=-1,FU=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],zU=["_approximateExtent"],z8,W1,du,Bo,h6,pu,d6,VU=function(){function t(e,r){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;xC(e)?(n=e.dimensions,this._dimOmitted=e.isDimensionOmitted(),this._schema=e):(i=!0,n=e),n=n||["x","y"];for(var a={},o=[],s={},u=!1,l={},c=0;c<n.length;c++){var f=n[c],h=Z(f)?new O0({name:f}):f instanceof O0?f:new O0(f),d=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=d,h.coordDimIndex=0);var p=h.otherDims=h.otherDims||{};o.push(d),a[d]=h,l[d]!=null&&(u=!0),h.createInvertedIndices&&(s[d]=[]),p.itemName===0&&(this._nameDimIdx=c),p.itemId===0&&(this._idDimIdx=c),process.env.NODE_ENV!=="production"&&ie(i||h.storeDimIndex>=0),i&&(h.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=a,this._initGetDimensionInfo(u),this.hostModel=r,this._invertedIndicesMap=s,this._dimOmitted){var v=this._dimIdxToName=J();E(o,function(g){v.set(a[g].storeDimIndex,g)})}}return t.prototype.getDimension=function(e){var r=this._recognizeDimIndex(e);if(r==null)return e;if(r=e,!this._dimOmitted)return this.dimensions[r];var n=this._dimIdxToName.get(r);if(n!=null)return n;var i=this._schema.getSourceDimension(r);if(i)return i.name},t.prototype.getDimensionIndex=function(e){var r=this._recognizeDimIndex(e);if(r!=null)return r;if(e==null)return-1;var n=this._getDimInfo(e);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(e):-1},t.prototype._recognizeDimIndex=function(e){if(Me(e)||e!=null&&!isNaN(e)&&!this._getDimInfo(e)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(e)<0))return+e},t.prototype._getStoreDimIndex=function(e){var r=this.getDimensionIndex(e);if(process.env.NODE_ENV!=="production"&&r==null)throw new Error("Unknown dimension "+e);return r},t.prototype.getDimensionInfo=function(e){return this._getDimInfo(this.getDimension(e))},t.prototype._initGetDimensionInfo=function(e){var r=this._dimInfos;this._getDimInfo=e?function(n){return r.hasOwnProperty(n)?r[n]:void 0}:function(n){return r[n]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(e,r){var n=this._dimSummary;if(r==null)return n.encodeFirstDimNotExtra[e];var i=n.encode[e];return i?i[r]:null},t.prototype.mapDimensionsAll=function(e){var r=this._dimSummary,n=r.encode[e];return(n||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(e,r,n){var i=this,a;if(e instanceof Id&&(a=e),!a){var o=this.dimensions,s=O5(e)||zt(e)?new CS(e,o.length):e;a=new Id;var u=si(o,function(l){return{type:i._dimInfos[l].type,property:l}});a.initData(s,u,n)}this._store=a,this._nameList=(r||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,a.count()),this._dimSummary=LU(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(e){var r=this._store.appendData(e);this._doInit(r[0],r[1])},t.prototype.appendValues=function(e,r){var n=this._store.appendValues(e,r&&r.length),i=n.start,a=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),r)for(var s=i;s<a;s++){var u=s-i;this._nameList[s]=r[u],o&&d6(this,s)}},t.prototype._updateOrdinalMeta=function(){for(var e=this._store,r=this.dimensions,n=0;n<r.length;n++){var i=this._dimInfos[r[n]];i.ordinalMeta&&e.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var e=this._store.getProvider();return this._idDimIdx==null&&e.getSource().sourceFormat!==$n&&!e.fillStorage},t.prototype._doInit=function(e,r){if(!(e>=r)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,u=s===Br;if(u&&!i.pure)for(var l=[],c=e;c<r;c++){var f=i.getItem(c,l);if(!this.hasItemOption&&tz(f)&&(this.hasItemOption=!0),f){var h=f.name;a[c]==null&&h!=null&&(a[c]=ht(h,null));var d=f.id;o[c]==null&&d!=null&&(o[c]=ht(d,null))}}if(this._shouldMakeIdFromName())for(var c=e;c<r;c++)d6(this,c);z8(this)}},t.prototype.getApproximateExtent=function(e){return this._approximateExtent[e]||this._store.getDataExtent(this._getStoreDimIndex(e))},t.prototype.setApproximateExtent=function(e,r){r=this.getDimension(r),this._approximateExtent[r]=e.slice()},t.prototype.getCalculationInfo=function(e){return this._calculationInfo[e]},t.prototype.setCalculationInfo=function(e,r){hu(e)?$(this._calculationInfo,e):this._calculationInfo[e]=r},t.prototype.getName=function(e){var r=this.getRawIndex(e),n=this._nameList[r];return n==null&&this._nameDimIdx!=null&&(n=du(this,this._nameDimIdx,r)),n==null&&(n=""),n},t.prototype._getCategory=function(e,r){var n=this._store.get(e,r),i=this._store.getOrdinalMeta(e);return i?i.categories[n]:n},t.prototype.getId=function(e){return W1(this,this.getRawIndex(e))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(e,r){var n=this._store,i=this._dimInfos[e];if(i)return n.get(i.storeDimIndex,r)},t.prototype.getByRawIndex=function(e,r){var n=this._store,i=this._dimInfos[e];if(i)return n.getByRawIndex(i.storeDimIndex,r)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(e){return this._store.getDataExtent(this._getStoreDimIndex(e))},t.prototype.getSum=function(e){return this._store.getSum(this._getStoreDimIndex(e))},t.prototype.getMedian=function(e){return this._store.getMedian(this._getStoreDimIndex(e))},t.prototype.getValues=function(e,r){var n=this,i=this._store;return G(e)?i.getValues(si(e,function(a){return n._getStoreDimIndex(a)}),r):i.getValues(e)},t.prototype.hasValue=function(e){for(var r=this._dimSummary.dataDimIndicesOnCoord,n=0,i=r.length;n<i;n++)if(isNaN(this._store.get(r[n],e)))return!1;return!0},t.prototype.indexOfName=function(e){for(var r=0,n=this._store.count();r<n;r++)if(this.getName(r)===e)return r;return-1},t.prototype.getRawIndex=function(e){return this._store.getRawIndex(e)},t.prototype.indexOfRawIndex=function(e){return this._store.indexOfRawIndex(e)},t.prototype.rawIndexOf=function(e,r){var n=e&&this._invertedIndicesMap[e];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("Do not supported yet");var i=n&&n[r];return i==null||isNaN(i)?F8:i},t.prototype.indicesOfNearest=function(e,r,n){return this._store.indicesOfNearest(this._getStoreDimIndex(e),r,n)},t.prototype.each=function(e,r,n){te(e)&&(n=r,r=e,e=[]);var i=n||this,a=si(Bo(e),this._getStoreDimIndex,this);this._store.each(a,i?X(r,i):r)},t.prototype.filterSelf=function(e,r,n){te(e)&&(n=r,r=e,e=[]);var i=n||this,a=si(Bo(e),this._getStoreDimIndex,this);return this._store=this._store.filter(a,i?X(r,i):r),this},t.prototype.selectRange=function(e){var r=this,n={},i=Se(e);return E(i,function(a){var o=r._getStoreDimIndex(a);n[o]=e[a]}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(e,r,n){te(e)&&(n=r,r=e,e=[]),n=n||this;var i=[];return this.each(e,function(){i.push(r&&r.apply(this,arguments))},n),i},t.prototype.map=function(e,r,n,i){var a=n||i||this,o=si(Bo(e),this._getStoreDimIndex,this),s=pu(this);return s._store=this._store.map(o,a?X(r,a):r),s},t.prototype.modify=function(e,r,n,i){var a=this,o=n||i||this;process.env.NODE_ENV!=="production"&&E(Bo(e),function(u){var l=a.getDimensionInfo(u);l.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var s=si(Bo(e),this._getStoreDimIndex,this);this._store.modify(s,o?X(r,o):r)},t.prototype.downSample=function(e,r,n,i){var a=pu(this);return a._store=this._store.downSample(this._getStoreDimIndex(e),r,n,i),a},t.prototype.minmaxDownSample=function(e,r){var n=pu(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(e),r),n},t.prototype.lttbDownSample=function(e,r){var n=pu(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(e),r),n},t.prototype.getRawDataItem=function(e){return this._store.getRawDataItem(e)},t.prototype.getItemModel=function(e){var r=this.hostModel,n=this.getRawDataItem(e);return new We(n,r,r&&r.ecModel)},t.prototype.diff=function(e){var r=this;return new Xn(e?e.getStore().getIndices():[],this.getStore().getIndices(),function(n){return W1(e,n)},function(n){return W1(r,n)})},t.prototype.getVisual=function(e){var r=this._visual;return r&&r[e]},t.prototype.setVisual=function(e,r){this._visual=this._visual||{},hu(e)?$(this._visual,e):this._visual[e]=r},t.prototype.getItemVisual=function(e,r){var n=this._itemVisuals[e],i=n&&n[r];return i??this.getVisual(r)},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(e,r){var n=this._itemVisuals,i=n[e];i||(i=n[e]={});var a=i[r];return a==null&&(a=this.getVisual(r),G(a)?a=a.slice():hu(a)&&(a=$({},a)),i[r]=a),a},t.prototype.setItemVisual=function(e,r,n){var i=this._itemVisuals[e]||{};this._itemVisuals[e]=i,hu(r)?$(i,r):i[r]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(e,r){hu(e)?$(this._layout,e):this._layout[e]=r},t.prototype.getLayout=function(e){return this._layout[e]},t.prototype.getItemLayout=function(e){return this._itemLayouts[e]},t.prototype.setItemLayout=function(e,r,n){this._itemLayouts[e]=n?$(this._itemLayouts[e]||{},r):r},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(e,r){var n=this.hostModel&&this.hostModel.seriesIndex;yd(n,this.dataType,e,r),this._graphicEls[e]=r},t.prototype.getItemGraphicEl=function(e){return this._graphicEls[e]},t.prototype.eachItemGraphicEl=function(e,r){E(this._graphicEls,function(n,i){n&&e&&e.call(r,n,i)})},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:si(this.dimensions,this._getDimInfo,this),this.hostModel)),h6(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(e,r){var n=this[e];te(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(e),this[e]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat(e5(arguments)))})},t.internalField=function(){z8=function(e){var r=e._invertedIndicesMap;E(r,function(n,i){var a=e._dimInfos[i],o=a.ordinalMeta,s=e._store;if(o){n=r[i]=new OU(o.categories.length);for(var u=0;u<n.length;u++)n[u]=F8;for(var u=0;u<s.count();u++)n[s.get(a.storeDimIndex,u)]=u}})},du=function(e,r,n){return ht(e._getCategory(r,n),null)},W1=function(e,r){var n=e._idList[r];return n==null&&e._idDimIdx!=null&&(n=du(e,e._idDimIdx,r)),n==null&&(n=BU+r),n},Bo=function(e){return G(e)||(e=e!=null?[e]:[]),e},pu=function(e){var r=new t(e._schema?e._schema:si(e.dimensions,e._getDimInfo,e),e.hostModel);return h6(r,e),r},h6=function(e,r){E(FU.concat(r.__wrappedMethods||[]),function(n){r.hasOwnProperty(n)&&(e[n]=r[n])}),e.__wrappedMethods=r.__wrappedMethods,E(zU,function(n){e[n]=oe(r[n])}),e._calculationInfo=$({},r._calculationInfo)},d6=function(e,r){var n=e._nameList,i=e._idList,a=e._nameDimIdx,o=e._idDimIdx,s=n[r],u=i[r];if(s==null&&a!=null&&(n[r]=s=du(e,a,r)),u==null&&o!=null&&(i[r]=u=du(e,o,r)),u==null&&s!=null){var l=e._nameRepeatCount,c=l[s]=(l[s]||0)+1;u=s,c>1&&(u+="__ec__"+c),i[r]=u}}}(),t}();const qt=VU;function ql(t,e){O5(t)||(t=B5(t)),e=e||{};var r=e.coordDimensions||[],n=e.dimensionsDefine||t.dimensionsDefine||[],i=J(),a=[],o=GU(t,r,n,e.dimensionsCount),s=e.canOmitUnusedDimensions&&CC(o),u=n===t.dimensionsDefine,l=u?SC(t):wC(n),c=e.encodeDefine;!c&&e.encodeDefaulter&&(c=e.encodeDefaulter(t,o));for(var f=J(c),h=new IS(o),d=0;d<h.length;d++)h[d]=-1;function p(A){var T=h[A];if(T<0){var D=n[A],k=ne(D)?D:{name:D},M=new O0,I=k.name;I!=null&&l.get(I)!=null&&(M.name=M.displayName=I),k.type!=null&&(M.type=k.type),k.displayName!=null&&(M.displayName=k.displayName);var N=a.length;return h[A]=N,M.storeDimIndex=A,a.push(M),M}return a[T]}if(!s)for(var d=0;d<o;d++)p(d);f.each(function(A,T){var D=ze(A).slice();if(D.length===1&&!Z(D[0])&&D[0]<0){f.set(T,!1);return}var k=f.set(T,[]);E(D,function(M,I){var N=Z(M)?l.get(M):M;N!=null&&N<o&&(k[I]=N,g(p(N),T,I))})});var v=0;E(r,function(A){var T,D,k,M;if(Z(A))T=A,M={};else{M=A,T=M.name;var I=M.ordinalMeta;M.ordinalMeta=null,M=$({},M),M.ordinalMeta=I,D=M.dimsDef,k=M.otherDims,M.name=M.coordDim=M.coordDimIndex=M.dimsDef=M.otherDims=null}var N=f.get(T);if(N!==!1){if(N=ze(N),!N.length)for(var L=0;L<(D&&D.length||1);L++){for(;v<o&&p(v).coordDim!=null;)v++;v<o&&N.push(v++)}E(N,function(O,P){var R=p(O);if(u&&M.type!=null&&(R.type=M.type),g(ae(R,M),T,P),R.name==null&&D){var B=D[P];!ne(B)&&(B={name:B}),R.name=R.displayName=B.name,R.defaultTooltip=B.defaultTooltip}k&&ae(R.otherDims,k)})}});function g(A,T,D){Ed.get(T)!=null?A.otherDims[T]=D:(A.coordDim=T,A.coordDimIndex=D,i.set(T,!0))}var m=e.generateCoord,y=e.generateCoordCount,_=y!=null;y=m?y||1:0;var b=m||"value";function x(A){A.name==null&&(A.name=A.coordDim)}if(s)E(a,function(A){x(A)}),a.sort(function(A,T){return A.storeDimIndex-T.storeDimIndex});else for(var w=0;w<o;w++){var S=p(w),C=S.coordDim;C==null&&(S.coordDim=HU(b,i,_),S.coordDimIndex=0,(!m||y<=0)&&(S.isExtraCoord=!0),y--),x(S),S.type==null&&(pS(t,w)===Ct.Must||S.isExtraCoord&&(S.otherDims.itemName!=null||S.otherDims.seriesName!=null))&&(S.type="ordinal")}return $U(a),new bC({source:t,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function $U(t){for(var e=J(),r=0;r<t.length;r++){var n=t[r],i=n.name,a=e.get(i)||0;a>0&&(n.name=i+(a-1)),a++,e.set(i,a)}}function GU(t,e,r,n){var i=Math.max(t.dimensionsDetectedCount||1,e.length,r.length,n||0);return E(e,function(a){var o;ne(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function HU(t,e,r){if(r||e.hasKey(t)){for(var n=0;e.hasKey(t+n);)n++;t+=n}return e.set(t,!0),t}var UU=function(){function t(e){this.coordSysDims=[],this.axisMap=J(),this.categoryAxisMap=J(),this.coordSysName=e}return t}();function WU(t){var e=t.get("coordinateSystem"),r=new UU(e),n=qU[e];if(n)return n(t,r,r.axisMap,r.categoryAxisMap),r}var qU={cartesian2d:function(t,e,r,n){var i=t.getReferringComponents("xAxis",lt).models[0],a=t.getReferringComponents("yAxis",lt).models[0];if(process.env.NODE_ENV!=="production"){if(!i)throw new Error('xAxis "'+ut(t.get("xAxisIndex"),t.get("xAxisId"),0)+'" not found');if(!a)throw new Error('yAxis "'+ut(t.get("xAxisIndex"),t.get("yAxisId"),0)+'" not found')}e.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),Fo(i)&&(n.set("x",i),e.firstCategoryDimIndex=0),Fo(a)&&(n.set("y",a),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,r,n){var i=t.getReferringComponents("singleAxis",lt).models[0];if(process.env.NODE_ENV!=="production"&&!i)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],r.set("single",i),Fo(i)&&(n.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,r,n){var i=t.getReferringComponents("polar",lt).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");if(process.env.NODE_ENV!=="production"){if(!o)throw new Error("angleAxis option not found");if(!a)throw new Error("radiusAxis option not found")}e.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),Fo(a)&&(n.set("radius",a),e.firstCategoryDimIndex=0),Fo(o)&&(n.set("angle",o),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=1))},geo:function(t,e,r,n){e.coordSysDims=["lng","lat"]},parallel:function(t,e,r,n){var i=t.ecModel,a=i.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=a.dimensions.slice();E(a.parallelAxisIndex,function(s,u){var l=i.getComponent("parallelAxis",s),c=o[u];r.set(c,l),Fo(l)&&(n.set(c,l),e.firstCategoryDimIndex==null&&(e.firstCategoryDimIndex=u))})}};function Fo(t){return t.get("type")==="category"}function ZU(t,e,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;YU(e)?a=e:(o=e.schema,a=o.dimensions,s=e.store);var u=!!(t&&t.get("stack")),l,c,f,h;if(E(a,function(y,_){Z(y)&&(a[_]=y={name:y}),u&&!y.isExtraCoord&&(!n&&!l&&y.ordinalMeta&&(l=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!i||i===y.coordDim)&&(c=y))}),c&&!n&&!l&&(n=!0),c){f="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=c.coordDim,p=c.type,v=0;E(a,function(y){y.coordDim===d&&v++});var g={name:f,coordDim:d,coordDimIndex:v,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},m={name:h,coordDim:h,coordDimIndex:v+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(h,p),m.storeDimIndex=s.ensureCalculationDimension(f,p)),o.appendCalculationDimension(g),o.appendCalculationDimension(m)):(a.push(g),a.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:l&&l.name,isStackedByIndex:n,stackedOverDimension:h,stackResultDimension:f}}function YU(t){return!xC(t.schema)}function Hi(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function AC(t,e){return Hi(t,e)?t.getCalculationInfo("stackResultDimension"):e}function XU(t,e){var r=t.get("coordinateSystem"),n=Vs.get(r),i;return e&&e.coordSysDims&&(i=H(e.coordSysDims,function(a){var o={name:a},s=e.axisMap.get(a);if(s){var u=s.get("type");o.type=wc(u)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function jU(t,e,r){var n,i;return r&&E(t,function(a,o){var s=a.coordDim,u=r.categoryAxisMap.get(s);u&&(n==null&&(n=o),a.ordinalMeta=u.getOrdinalMeta(),e&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(t[n].otherDims.itemName=0),n}function Jn(t,e,r){r=r||{};var n=e.getSourceManager(),i,a=!1;t?(a=!0,i=B5(t)):(i=n.getSource(),a=i.sourceFormat===Br);var o=WU(e),s=XU(e,o),u=r.useEncodeDefaulter,l=te(u)?u:u?ve(dS,s,e):null,c={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!a},f=ql(i,c),h=jU(f.dimensions,r.createInvertedIndices,o),d=a?null:n.getSharedDataStore(f),p=ZU(e,{schema:f,store:d}),v=new qt(f,e);v.setCalculationInfo(p);var g=h!=null&&KU(i)?function(m,y,_,b){return b===h?_:this.defaultDimValueGetter(m,y,_,b)}:null;return v.hasItemOption=!1,v.initData(a?i:d,null,g),v}function KU(t){if(t.sourceFormat===Br){var e=QU(t.data||[]);return!G(Ls(e))}}function QU(t){for(var e=0;e<t.length&&t[e]==null;)e++;return t[e]}var TC=function(){function t(e){this._setting=e||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(e){return this._setting[e]},t.prototype.unionExtent=function(e){var r=this._extent;e[0]<r[0]&&(r[0]=e[0]),e[1]>r[1]&&(r[1]=e[1])},t.prototype.unionExtentFromData=function(e,r){this.unionExtent(e.getApproximateExtent(r))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(e,r){var n=this._extent;isNaN(e)||(n[0]=e),isNaN(r)||(n[1]=r)},t.prototype.isInExtentRange=function(e){return this._extent[0]<=e&&this._extent[1]>=e},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(e){this._isBlank=e},t}();d2(TC);const ei=TC;var JU=0,eW=function(){function t(e){this.categories=e.categories||[],this._needCollect=e.needCollect,this._deduplication=e.deduplication,this.uid=++JU}return t.createByAxisModel=function(e){var r=e.option,n=r.data,i=n&&H(n,tW);return new t({categories:i,needCollect:!i,deduplication:r.dedplication!==!1})},t.prototype.getOrdinal=function(e){return this._getOrCreateMap().get(e)},t.prototype.parseAndCollect=function(e){var r,n=this._needCollect;if(!Z(e)&&!n)return e;if(n&&!this._deduplication)return r=this.categories.length,this.categories[r]=e,r;var i=this._getOrCreateMap();return r=i.get(e),r==null&&(n?(r=this.categories.length,this.categories[r]=e,i.set(e,r)):r=NaN),r},t.prototype._getOrCreateMap=function(){return this._map||(this._map=J(this.categories))},t}();function tW(t){return ne(t)&&t.value!=null?t.value:t+""}const Gd=eW;function rW(t){var e=Math.pow(10,f2(Math.abs(t))),r=Math.abs(t/e);return r===0||r===1||r===2||r===3||r===5}function Hd(t){return t.type==="interval"||t.type==="log"}function nW(t,e,r,n){var i={},a=t[1]-t[0],o=i.interval=$x(a/e,!0);r!=null&&o<r&&(o=i.interval=r),n!=null&&o>n&&(o=i.interval=n);var s=i.intervalPrecision=DC(o),u=i.niceTickExtent=[nt(Math.ceil(t[0]/o)*o,s),nt(Math.floor(t[1]/o)*o,s)];return iW(u,t),i}function p6(t){var e=Math.pow(10,f2(t)),r=t/e;return r?r===2?r=3:r===3?r=5:r*=2:r=1,nt(r*e)}function DC(t){return pn(t)+2}function V8(t,e,r){t[e]=Math.max(Math.min(t[e],r[1]),r[0])}function iW(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),V8(t,0,e),V8(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function N2(t,e){return t>=e[0]&&t<=e[1]}function O2(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function B2(t,e){return t*(e[1]-e[0])+e[0]}var EC=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new Gd({})),G(i)&&(i=new Gd({categories:H(i,function(a){return ne(a)?a.value:a})})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return e.prototype.parse=function(r){return r==null?NaN:Z(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},e.prototype.contain=function(r){return r=this.parse(r),N2(r,this._extent)&&this._ordinalMeta.categories[r]!=null},e.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),O2(r,this._extent)},e.prototype.scale=function(r){return r=Math.round(B2(r,this._extent)),this.getRawOrdinalNumber(r)},e.prototype.getTicks=function(){for(var r=[],n=this._extent,i=n[0];i<=n[1];)r.push({value:i}),i++;return r},e.prototype.getMinorTicks=function(r){},e.prototype.setSortInfo=function(r){if(r==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=r.ordinalNumbers,i=this._ordinalNumbersByTick=[],a=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,u=Math.min(s,n.length);o<u;++o){var l=n[o];i[o]=l,a[l]=o}for(var c=0;o<s;++o){for(;a[c]!=null;)c++;i.push(c),a[c]=o}},e.prototype._getTickNumber=function(r){var n=this._ticksByOrdinalNumber;return n&&r>=0&&r<n.length?n[r]:r},e.prototype.getRawOrdinalNumber=function(r){var n=this._ordinalNumbersByTick;return n&&r>=0&&r<n.length?n[r]:r},e.prototype.getLabel=function(r){if(!this.isBlank()){var n=this.getRawOrdinalNumber(r.value),i=this._ordinalMeta.categories[n];return i==null?"":i+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(r,n){this.unionExtent(r.getApproximateExtent(n))},e.prototype.isInExtentRange=function(r){return r=this._getTickNumber(r),this._extent[0]<=r&&this._extent[1]>=r},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(ei);ei.registerClass(EC);const j5=EC;var ya=nt,kC=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return e.prototype.parse=function(r){return r},e.prototype.contain=function(r){return N2(r,this._extent)},e.prototype.normalize=function(r){return O2(r,this._extent)},e.prototype.scale=function(r){return B2(r,this._extent)},e.prototype.setExtent=function(r,n){var i=this._extent;isNaN(r)||(i[0]=parseFloat(r)),isNaN(n)||(i[1]=parseFloat(n))},e.prototype.unionExtent=function(r){var n=this._extent;r[0]<n[0]&&(n[0]=r[0]),r[1]>n[1]&&(n[1]=r[1]),this.setExtent(n[0],n[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=DC(r)},e.prototype.getTicks=function(r){var n=this._interval,i=this._extent,a=this._niceExtent,o=this._intervalPrecision,s=[];if(!n)return s;var u=1e4;i[0]<a[0]&&(r?s.push({value:ya(a[0]-n,o)}):s.push({value:i[0]}));for(var l=a[0];l<=a[1]&&(s.push({value:l}),l=ya(l+n,o),l!==s[s.length-1].value);)if(s.length>u)return[];var c=s.length?s[s.length-1].value:a[1];return i[1]>c&&(r?s.push({value:ya(c+n,o)}):s.push({value:i[1]})),s},e.prototype.getMinorTicks=function(r){for(var n=this.getTicks(!0),i=[],a=this.getExtent(),o=1;o<n.length;o++){for(var s=n[o],u=n[o-1],l=0,c=[],f=s.value-u.value,h=f/r;l<r-1;){var d=ya(u.value+(l+1)*h);d>a[0]&&d<a[1]&&c.push(d),l++}i.push(c)}return i},e.prototype.getLabel=function(r,n){if(r==null)return"";var i=n&&n.precision;i==null?i=pn(r.value)||0:i==="auto"&&(i=this._intervalPrecision);var a=ya(r.value,i,!0);return aS(a)},e.prototype.calcNiceTicks=function(r,n,i){r=r||5;var a=this._extent,o=a[1]-a[0];if(isFinite(o)){o<0&&(o=-o,a.reverse());var s=nW(a,r,n,i);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},e.prototype.calcNiceExtent=function(r){var n=this._extent;if(n[0]===n[1])if(n[0]!==0){var i=Math.abs(n[0]);r.fixMax||(n[1]+=i/2),n[0]-=i/2}else n[1]=1;var a=n[1]-n[0];isFinite(a)||(n[0]=0,n[1]=1),this.calcNiceTicks(r.splitNumber,r.minInterval,r.maxInterval);var o=this._interval;r.fixMin||(n[0]=ya(Math.floor(n[0]/o)*o)),r.fixMax||(n[1]=ya(Math.ceil(n[1]/o)*o))},e.prototype.setNiceExtent=function(r,n){this._niceExtent=[r,n]},e.type="interval",e}(ei);ei.registerClass(kC);const Ui=kC;var MC=typeof Float32Array<"u",aW=MC?Float32Array:Array;function gn(t){return G(t)?MC?new Float32Array(t):t:new aW(t)}var Ud="__ec_stack_";function K5(t){return t.get("stack")||Ud+t.seriesIndex}function Q5(t){return t.dim+t.index}function oW(t){var e=[],r=t.axis,n="axis0";if(r.type==="category"){for(var i=r.getBandWidth(),a=0;a<t.count;a++)e.push(ae({bandWidth:i,axisKey:n,stackId:Ud+a},t));for(var o=PC(e),s=[],a=0;a<t.count;a++){var u=o[n][Ud+a];u.offsetCenter=u.offset+u.width/2,s.push(u)}return s}}function LC(t,e){var r=[];return e.eachSeriesByType(t,function(n){OC(n)&&r.push(n)}),r}function sW(t){var e={};E(t,function(u){var l=u.coordinateSystem,c=l.getBaseAxis();if(!(c.type!=="time"&&c.type!=="value"))for(var f=u.getData(),h=c.dim+"_"+c.index,d=f.getDimensionIndex(f.mapDimension(c.dim)),p=f.getStore(),v=0,g=p.count();v<g;++v){var m=p.get(d,v);e[h]?e[h].push(m):e[h]=[m]}});var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];if(i){i.sort(function(u,l){return u-l});for(var a=null,o=1;o<i.length;++o){var s=i[o]-i[o-1];s>0&&(a=a===null?s:Math.min(a,s))}r[n]=a}}return r}function IC(t){var e=sW(t),r=[];return E(t,function(n){var i=n.coordinateSystem,a=i.getBaseAxis(),o=a.getExtent(),s;if(a.type==="category")s=a.getBandWidth();else if(a.type==="value"||a.type==="time"){var u=a.dim+"_"+a.index,l=e[u],c=Math.abs(o[1]-o[0]),f=a.scale.getExtent(),h=Math.abs(f[1]-f[0]);s=l?c/h*l:c}else{var d=n.getData();s=Math.abs(o[1]-o[0])/d.count()}var p=W(n.get("barWidth"),s),v=W(n.get("barMaxWidth"),s),g=W(n.get("barMinWidth")||(BC(n)?.5:1),s),m=n.get("barGap"),y=n.get("barCategoryGap");r.push({bandWidth:s,barWidth:p,barMaxWidth:v,barMinWidth:g,barGap:m,barCategoryGap:y,axisKey:Q5(a),stackId:K5(n)})}),PC(r)}function PC(t){var e={};E(t,function(n,i){var a=n.axisKey,o=n.bandWidth,s=e[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},u=s.stacks;e[a]=s;var l=n.stackId;u[l]||s.autoWidthCount++,u[l]=u[l]||{width:0,maxWidth:0};var c=n.barWidth;c&&!u[l].width&&(u[l].width=c,c=Math.min(s.remainedWidth,c),s.remainedWidth-=c);var f=n.barMaxWidth;f&&(u[l].maxWidth=f);var h=n.barMinWidth;h&&(u[l].minWidth=h);var d=n.barGap;d!=null&&(s.gap=d);var p=n.barCategoryGap;p!=null&&(s.categoryGap=p)});var r={};return E(e,function(n,i){r[i]={};var a=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var u=Se(a).length;s=Math.max(35-u*4,15)+"%"}var l=W(s,o),c=W(n.gap,1),f=n.remainedWidth,h=n.autoWidthCount,d=(f-l)/(h+(h-1)*c);d=Math.max(d,0),E(a,function(m){var y=m.maxWidth,_=m.minWidth;if(m.width){var b=m.width;y&&(b=Math.min(b,y)),_&&(b=Math.max(b,_)),m.width=b,f-=b+c*b,h--}else{var b=d;y&&y<b&&(b=Math.min(y,f)),_&&_>b&&(b=_),b!==d&&(m.width=b,f-=b+c*b,h--)}}),d=(f-l)/(h+(h-1)*c),d=Math.max(d,0);var p=0,v;E(a,function(m,y){m.width||(m.width=d),v=m,p+=m.width*(1+c)}),v&&(p-=v.width*c);var g=-p/2;E(a,function(m,y){r[i][y]=r[i][y]||{bandWidth:o,offset:g,width:m.width},g+=m.width*(1+c)})}),r}function uW(t,e,r){if(t&&e){var n=t[Q5(e)];return n!=null&&r!=null?n[K5(r)]:n}}function RC(t,e){var r=LC(t,e),n=IC(r);E(r,function(i){var a=i.getData(),o=i.coordinateSystem,s=o.getBaseAxis(),u=K5(i),l=n[Q5(s)][u],c=l.offset,f=l.width;a.setLayout({bandWidth:l.bandWidth,offset:c,size:f})})}function NC(t){return{seriesType:t,plan:$s(),reset:function(e){if(OC(e)){var r=e.getData(),n=e.coordinateSystem,i=n.getBaseAxis(),a=n.getOtherAxis(i),o=r.getDimensionIndex(r.mapDimension(a.dim)),s=r.getDimensionIndex(r.mapDimension(i.dim)),u=e.get("showBackground",!0),l=r.mapDimension(a.dim),c=r.getCalculationInfo("stackResultDimension"),f=Hi(r,l)&&!!r.getCalculationInfo("stackedOnSeries"),h=a.isHorizontal(),d=lW(i,a),p=BC(e),v=e.get("barMinHeight")||0,g=c&&r.getDimensionIndex(c),m=r.getLayout("size"),y=r.getLayout("offset");return{progress:function(_,b){for(var x=_.count,w=p&&gn(x*3),S=p&&u&&gn(x*3),C=p&&gn(x),A=n.master.getRect(),T=h?A.width:A.height,D,k=b.getStore(),M=0;(D=_.next())!=null;){var I=k.get(f?g:o,D),N=k.get(s,D),L=d,O=void 0;f&&(O=+I-k.get(o,D));var P=void 0,R=void 0,B=void 0,z=void 0;if(h){var V=n.dataToPoint([I,N]);if(f){var U=n.dataToPoint([O,N]);L=U[0]}P=L,R=V[1]+y,B=V[0]-L,z=m,Math.abs(B)<v&&(B=(B<0?-1:1)*v)}else{var V=n.dataToPoint([N,I]);if(f){var U=n.dataToPoint([N,O]);L=U[1]}P=V[0]+y,R=L,B=m,z=V[1]-L,Math.abs(z)<v&&(z=(z<=0?-1:1)*v)}p?(w[M]=P,w[M+1]=R,w[M+2]=h?B:z,S&&(S[M]=h?A.x:P,S[M+1]=h?R:A.y,S[M+2]=T),C[D]=D):b.setItemLayout(D,{x:P,y:R,width:B,height:z}),M+=3}p&&b.setLayout({largePoints:w,largeDataIndices:C,largeBackgroundPoints:S,valueAxisHorizontal:h})}}}}}}function OC(t){return t.coordinateSystem&&t.coordinateSystem.type==="cartesian2d"}function BC(t){return t.pipelineContext&&t.pipelineContext.large}function lW(t,e){var r=e.model.get("startValue");return r||(r=0),e.toGlobalCoord(e.dataToCoord(e.type==="log"?r>0?r:1:r))}var cW=function(t,e,r,n){for(;r<n;){var i=r+n>>>1;t[i][1]<e?r=i+1:n=i}return r},FC=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="time",n}return e.prototype.getLabel=function(r){var n=this.getSetting("useUTC");return C2(r.value,M3[M$(fs(this._minLevelUnit))]||M3.second,n,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(r,n,i){var a=this.getSetting("useUTC"),o=this.getSetting("locale");return L$(r,n,i,o,a)},e.prototype.getTicks=function(){var r=this._interval,n=this._extent,i=[];if(!r)return i;i.push({value:n[0],level:0});var a=this.getSetting("useUTC"),o=mW(this._minLevelUnit,this._approxInterval,a,n);return i=i.concat(o),i.push({value:n[1],level:0}),i},e.prototype.calcNiceExtent=function(r){var n=this._extent;if(n[0]===n[1]&&(n[0]-=kr,n[1]+=kr),n[1]===-1/0&&n[0]===1/0){var i=new Date;n[1]=+new Date(i.getFullYear(),i.getMonth(),i.getDate()),n[0]=n[1]-kr}this.calcNiceTicks(r.splitNumber,r.minInterval,r.maxInterval)},e.prototype.calcNiceTicks=function(r,n,i){r=r||10;var a=this._extent,o=a[1]-a[0];this._approxInterval=o/r,n!=null&&this._approxInterval<n&&(this._approxInterval=n),i!=null&&this._approxInterval>i&&(this._approxInterval=i);var s=q1.length,u=Math.min(cW(q1,this._approxInterval,0,s),s-1);this._interval=q1[u][1],this._minLevelUnit=q1[Math.max(u-1,0)][0]},e.prototype.parse=function(r){return Me(r)?r:+Sn(r)},e.prototype.contain=function(r){return N2(this.parse(r),this._extent)},e.prototype.normalize=function(r){return O2(this.parse(r),this._extent)},e.prototype.scale=function(r){return B2(r,this._extent)},e.type="time",e}(Ui),q1=[["second",k5],["minute",M5],["hour",Xu],["quarter-day",Xu*6],["half-day",Xu*12],["day",kr*1.2],["half-week",kr*3.5],["week",kr*7],["month",kr*31],["quarter",kr*95],["half-year",k3/2],["year",k3]];function fW(t,e,r,n){var i=Sn(e),a=Sn(r),o=function(p){return L3(i,p,n)===L3(a,p,n)},s=function(){return o("year")},u=function(){return s()&&o("month")},l=function(){return u()&&o("day")},c=function(){return l()&&o("hour")},f=function(){return c()&&o("minute")},h=function(){return f()&&o("second")},d=function(){return h()&&o("millisecond")};switch(t){case"year":return s();case"month":return u();case"day":return l();case"hour":return c();case"minute":return f();case"second":return h();case"millisecond":return d()}}function hW(t,e){return t/=kr,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function dW(t){var e=30*kr;return t/=e,t>6?6:t>3?3:t>2?2:1}function pW(t){return t/=Xu,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function $8(t,e){return t/=e?M5:k5,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function vW(t){return $x(t,!0)}function gW(t,e,r){var n=new Date(t);switch(fs(e)){case"year":case"month":n[Jw(r)](0);case"day":n[eS(r)](1);case"hour":n[tS(r)](0);case"minute":n[rS(r)](0);case"second":n[nS(r)](0),n[iS(r)](0)}return n.getTime()}function mW(t,e,r,n){var i=1e4,a=Kw,o=0;function s(T,D,k,M,I,N,L){for(var O=new Date(D),P=D,R=O[M]();P<k&&P<=n[1];)L.push({value:P}),R+=T,O[I](R),P=O.getTime();L.push({value:P,notAdd:!0})}function u(T,D,k){var M=[],I=!D.length;if(!fW(fs(T),n[0],n[1],r)){I&&(D=[{value:gW(new Date(n[0]),T,r)},{value:n[1]}]);for(var N=0;N<D.length-1;N++){var L=D[N].value,O=D[N+1].value;if(L!==O){var P=void 0,R=void 0,B=void 0,z=!1;switch(T){case"year":P=Math.max(1,Math.round(e/kr/365)),R=L5(r),B=I$(r);break;case"half-year":case"quarter":case"month":P=dW(e),R=hs(r),B=Jw(r);break;case"week":case"half-week":case"day":P=hW(e),R=A2(r),B=eS(r),z=!0;break;case"half-day":case"quarter-day":case"hour":P=pW(e),R=ml(r),B=tS(r);break;case"minute":P=$8(e,!0),R=T2(r),B=rS(r);break;case"second":P=$8(e,!1),R=D2(r),B=nS(r);break;case"millisecond":P=vW(e),R=E2(r),B=iS(r);break}s(P,L,O,R,B,z,M),T==="year"&&k.length>1&&N===0&&k.unshift({value:k[0].value-P})}}for(var N=0;N<M.length;N++)k.push(M[N]);return M}}for(var l=[],c=[],f=0,h=0,d=0;d<a.length&&o++<i;++d){var p=fs(a[d]);if(k$(a[d])){u(a[d],l[l.length-1]||[],c);var v=a[d+1]?fs(a[d+1]):null;if(p!==v){if(c.length){h=f,c.sort(function(T,D){return T.value-D.value});for(var g=[],m=0;m<c.length;++m){var y=c[m].value;(m===0||c[m-1].value!==y)&&(g.push(c[m]),y>=n[0]&&y<=n[1]&&f++)}var _=(n[1]-n[0])/e;if(f>_*1.5&&h>_/1.5||(l.push(g),f>_||t===a[d]))break}c=[]}}}process.env.NODE_ENV!=="production"&&o>=i&&Qe("Exceed safe limit.");for(var b=Ne(H(l,function(T){return Ne(T,function(D){return D.value>=n[0]&&D.value<=n[1]&&!D.notAdd})}),function(T){return T.length>0}),x=[],w=b.length-1,d=0;d<b.length;++d)for(var S=b[d],C=0;C<S.length;++C)x.push({value:S[C].value,level:w-d});x.sort(function(T,D){return T.value-D.value});for(var A=[],d=0;d<x.length;++d)(d===0||x[d].value!==x[d-1].value)&&A.push(x[d]);return A}ei.registerClass(FC);const zC=FC;var G8=ei.prototype,Ju=Ui.prototype,yW=nt,_W=Math.floor,bW=Math.ceil,Z1=Math.pow,Vr=Math.log,J5=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="log",r.base=10,r._originalScale=new Ui,r._interval=0,r}return e.prototype.getTicks=function(r){var n=this._originalScale,i=this._extent,a=n.getExtent(),o=Ju.getTicks.call(this,r);return H(o,function(s){var u=s.value,l=nt(Z1(this.base,u));return l=u===i[0]&&this._fixMin?Y1(l,a[0]):l,l=u===i[1]&&this._fixMax?Y1(l,a[1]):l,{value:l}},this)},e.prototype.setExtent=function(r,n){var i=Vr(this.base);r=Vr(Math.max(0,r))/i,n=Vr(Math.max(0,n))/i,Ju.setExtent.call(this,r,n)},e.prototype.getExtent=function(){var r=this.base,n=G8.getExtent.call(this);n[0]=Z1(r,n[0]),n[1]=Z1(r,n[1]);var i=this._originalScale,a=i.getExtent();return this._fixMin&&(n[0]=Y1(n[0],a[0])),this._fixMax&&(n[1]=Y1(n[1],a[1])),n},e.prototype.unionExtent=function(r){this._originalScale.unionExtent(r);var n=this.base;r[0]=Vr(r[0])/Vr(n),r[1]=Vr(r[1])/Vr(n),G8.unionExtent.call(this,r)},e.prototype.unionExtentFromData=function(r,n){this.unionExtent(r.getApproximateExtent(n))},e.prototype.calcNiceTicks=function(r){r=r||10;var n=this._extent,i=n[1]-n[0];if(!(i===1/0||i<=0)){var a=KF(i),o=r/i*a;for(o<=.5&&(a*=10);!isNaN(a)&&Math.abs(a)<1&&Math.abs(a)>0;)a*=10;var s=[nt(bW(n[0]/a)*a),nt(_W(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},e.prototype.calcNiceExtent=function(r){Ju.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},e.prototype.parse=function(r){return r},e.prototype.contain=function(r){return r=Vr(r)/Vr(this.base),N2(r,this._extent)},e.prototype.normalize=function(r){return r=Vr(r)/Vr(this.base),O2(r,this._extent)},e.prototype.scale=function(r){return r=B2(r,this._extent),Z1(this.base,r)},e.type="log",e}(ei),VC=J5.prototype;VC.getMinorTicks=Ju.getMinorTicks;VC.getLabel=Ju.getLabel;function Y1(t,e){return yW(t,pn(e))}ei.registerClass(J5);const xW=J5;var wW=function(){function t(e,r,n){this._prepareParams(e,r,n)}return t.prototype._prepareParams=function(e,r,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal=e.type==="ordinal";this._needCrossZero=e.type==="interval"&&r.getNeedCrossZero&&r.getNeedCrossZero();var a=r.get("min",!0);a==null&&(a=r.get("startValue",!0));var o=this._modelMinRaw=a;te(o)?this._modelMinNum=X1(e,o({min:n[0],max:n[1]})):o!=="dataMin"&&(this._modelMinNum=X1(e,o));var s=this._modelMaxRaw=r.get("max",!0);if(te(s)?this._modelMaxNum=X1(e,s({min:n[0],max:n[1]})):s!=="dataMax"&&(this._modelMaxNum=X1(e,s)),i)this._axisDataLen=r.getCategories().length;else{var u=r.get("boundaryGap"),l=G(u)?u:[u||0,u||0];typeof l[0]=="boolean"||typeof l[1]=="boolean"?(process.env.NODE_ENV!=="production"&&console.warn('Boolean type for boundaryGap is only allowed for ordinal axis. Please use string in percentage instead, e.g., "20%". Currently, boundaryGap is set to be 0.'),this._boundaryGapInner=[0,0]):this._boundaryGapInner=[jr(l[0],1),jr(l[1],1)]}},t.prototype.calculate=function(){var e=this._isOrdinal,r=this._dataMin,n=this._dataMax,i=this._axisDataLen,a=this._boundaryGapInner,o=e?null:n-r||Math.abs(r),s=this._modelMinRaw==="dataMin"?r:this._modelMinNum,u=this._modelMaxRaw==="dataMax"?n:this._modelMaxNum,l=s!=null,c=u!=null;s==null&&(s=e?i?0:NaN:r-a[0]*o),u==null&&(u=e?i?i-1:NaN:n+a[1]*o),(s==null||!isFinite(s))&&(s=NaN),(u==null||!isFinite(u))&&(u=NaN);var f=to(s)||to(u)||e&&!i;this._needCrossZero&&(s>0&&u>0&&!l&&(s=0),s<0&&u<0&&!c&&(u=0));var h=this._determinedMin,d=this._determinedMax;return h!=null&&(s=h,l=!0),d!=null&&(u=d,c=!0),{min:s,max:u,minFixed:l,maxFixed:c,isBlank:f}},t.prototype.modifyDataMinMax=function(e,r){process.env.NODE_ENV!=="production"&&ie(!this.frozen),this[CW[e]]=r},t.prototype.setDeterminedMinMax=function(e,r){var n=SW[e];process.env.NODE_ENV!=="production"&&ie(!this.frozen&&this[n]==null),this[n]=r},t.prototype.freeze=function(){this.frozen=!0},t}(),SW={min:"_determinedMin",max:"_determinedMax"},CW={min:"_dataMin",max:"_dataMax"};function $C(t,e,r){var n=t.rawExtentInfo;return n||(n=new wW(t,e,r),t.rawExtentInfo=n,n)}function X1(t,e){return e==null?null:to(e)?NaN:t.parse(e)}function GC(t,e){var r=t.type,n=$C(t,e,t.getExtent()).calculate();t.setBlank(n.isBlank);var i=n.min,a=n.max,o=e.ecModel;if(o&&r==="time"){var s=LC("bar",o),u=!1;if(E(s,function(f){u=u||f.getBaseAxis()===e.axis}),u){var l=IC(s),c=AW(i,a,e,l);i=c.min,a=c.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function AW(t,e,r,n){var i=r.axis.getExtent(),a=Math.abs(i[1]-i[0]),o=uW(n,r.axis);if(o===void 0)return{min:t,max:e};var s=1/0;E(o,function(d){s=Math.min(d.offset,s)});var u=-1/0;E(o,function(d){u=Math.max(d.offset+d.width,u)}),s=Math.abs(s),u=Math.abs(u);var l=s+u,c=e-t,f=1-(s+u)/a,h=c/f-c;return e+=h*(u/l),t-=h*(s/l),{min:t,max:e}}function xs(t,e){var r=e,n=GC(t,r),i=n.extent,a=r.get("splitNumber");t instanceof xW&&(t.base=r.get("logBase"));var o=t.type,s=r.get("interval"),u=o==="interval"||o==="time";t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:u?r.get("minInterval"):null,maxInterval:u?r.get("maxInterval"):null}),s!=null&&t.setInterval&&t.setInterval(s)}function F2(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new j5({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new zC({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(ei.getClass(e)||Ui)}}function TW(t){var e=t.scale.getExtent(),r=e[0],n=e[1];return!(r>0&&n>0||r<0&&n<0)}function Us(t){var e=t.getLabelModel().get("formatter"),r=t.type==="category"?t.scale.getExtent()[0]:null;return t.scale.type==="time"?function(n){return function(i,a){return t.scale.getFormattedLabel(i,a,n)}}(e):Z(e)?function(n){return function(i){var a=t.scale.getLabel(i),o=n.replace("{value}",a??"");return o}}(e):te(e)?function(n){return function(i,a){return r!=null&&(a=i.value-r),n(e7(t,i),a,i.level!=null?{level:i.level}:null)}}(e):function(n){return t.scale.getLabel(n)}}function e7(t,e){return t.type==="category"?t.scale.getLabel(e):e.value}function DW(t){var e=t.model,r=t.scale;if(!(!e.get(["axisLabel","show"])||r.isBlank())){var n,i,a=r.getExtent();r instanceof j5?i=r.count():(n=r.getTicks(),i=n.length);var o=t.getLabelModel(),s=Us(t),u,l=1;i>40&&(l=Math.ceil(i/40));for(var c=0;c<i;c+=l){var f=n?n[c]:{value:a[0]+c},h=s(f,c),d=o.getTextRect(h),p=EW(d,o.get("rotate")||0);u?u.union(p):u=p}return u}}function EW(t,e){var r=e*Math.PI/180,n=t.width,i=t.height,a=n*Math.abs(Math.cos(r))+Math.abs(i*Math.sin(r)),o=n*Math.abs(Math.sin(r))+Math.abs(i*Math.cos(r)),s=new ye(t.x,t.y,a,o);return s}function t7(t){var e=t.get("interval");return e??"auto"}function HC(t){return t.type==="category"&&t7(t.getLabelModel())===0}function Sc(t,e){var r={};return E(t.mapDimensionsAll(e),function(n){r[AC(t,n)]=!0}),Se(r)}function kW(t,e,r){e&&E(Sc(e,r),function(n){var i=e.getApproximateExtent(n);i[0]<t[0]&&(t[0]=i[0]),i[1]>t[1]&&(t[1]=i[1])})}var Zl=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var e=this.option;return!e.scale},t.prototype.getCoordSysModel=function(){},t}(),MW=1e-8;function H8(t,e){return Math.abs(t-e)<MW}function ka(t,e,r){var n=0,i=t[0];if(!i)return!1;for(var a=1;a<t.length;a++){var o=t[a];n+=Nn(i[0],i[1],o[0],o[1],e,r),i=o}var s=t[0];return(!H8(i[0],s[0])||!H8(i[1],s[1]))&&(n+=Nn(i[0],i[1],s[0],s[1],e,r)),n!==0}var LW=[];function v6(t,e){for(var r=0;r<t.length;r++)Tt(t[r],t[r],e)}function U8(t,e,r,n){for(var i=0;i<t.length;i++){var a=t[i];n&&(a=n.project(a)),a&&isFinite(a[0])&&isFinite(a[1])&&(Ci(e,e,a),Ai(r,r,a))}}function IW(t){for(var e=0,r=0,n=0,i=t.length,a=t[i-1][0],o=t[i-1][1],s=0;s<i;s++){var u=t[s][0],l=t[s][1],c=a*l-u*o;e+=c,r+=(a+u)*c,n+=(o+l)*c,a=u,o=l}return e?[r/e/3,n/e/3,e]:[t[0][0]||0,t[0][1]||0]}var UC=function(){function t(e){this.name=e}return t.prototype.setCenter=function(e){this._center=e},t.prototype.getCenter=function(){var e=this._center;return e||(e=this._center=this.calcCenter()),e},t}(),W8=function(){function t(e,r){this.type="polygon",this.exterior=e,this.interiors=r}return t}(),q8=function(){function t(e){this.type="linestring",this.points=e}return t}(),WC=function(t){F(e,t);function e(r,n,i){var a=t.call(this,r)||this;return a.type="geoJSON",a.geometries=n,a._center=i&&[i[0],i[1]],a}return e.prototype.calcCenter=function(){for(var r=this.geometries,n,i=0,a=0;a<r.length;a++){var o=r[a],s=o.exterior,u=s&&s.length;u>i&&(n=o,i=u)}if(n)return IW(n.exterior);var l=this.getBoundingRect();return[l.x+l.width/2,l.y+l.height/2]},e.prototype.getBoundingRect=function(r){var n=this._rect;if(n&&!r)return n;var i=[1/0,1/0],a=[-1/0,-1/0],o=this.geometries;return E(o,function(s){s.type==="polygon"?U8(s.exterior,i,a,r):E(s.points,function(u){U8(u,i,a,r)})}),isFinite(i[0])&&isFinite(i[1])&&isFinite(a[0])&&isFinite(a[1])||(i[0]=i[1]=a[0]=a[1]=0),n=new ye(i[0],i[1],a[0]-i[0],a[1]-i[1]),r||(this._rect=n),n},e.prototype.contain=function(r){var n=this.getBoundingRect(),i=this.geometries;if(!n.contain(r[0],r[1]))return!1;e:for(var a=0,o=i.length;a<o;a++){var s=i[a];if(s.type==="polygon"){var u=s.exterior,l=s.interiors;if(ka(u,r[0],r[1])){for(var c=0;c<(l?l.length:0);c++)if(ka(l[c],r[0],r[1]))continue e;return!0}}}return!1},e.prototype.transformTo=function(r,n,i,a){var o=this.getBoundingRect(),s=o.width/o.height;i?a||(a=i/s):i=s*a;for(var u=new ye(r,n,i,a),l=o.calculateTransform(u),c=this.geometries,f=0;f<c.length;f++){var h=c[f];h.type==="polygon"?(v6(h.exterior,l),E(h.interiors,function(d){v6(d,l)})):E(h.points,function(d){v6(d,l)})}o=this._rect,o.copy(u),this._center=[o.x+o.width/2,o.y+o.height/2]},e.prototype.cloneShallow=function(r){r==null&&(r=this.name);var n=new e(r,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(UC),PW=function(t){F(e,t);function e(r,n){var i=t.call(this,r)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return e.prototype.calcCenter=function(){for(var r=this._elOnlyForCalculate,n=r.getBoundingRect(),i=[n.x+n.width/2,n.y+n.height/2],a=u2(LW),o=r;o&&!o.isGeoSVGGraphicRoot;)zn(a,o.getLocalTransform(),a),o=o.parent;return Ms(a,a),Tt(i,i,a),i},e}(UC);function RW(t){if(!t.UTF8Encoding)return t;var e=t,r=e.UTF8Scale;r==null&&(r=1024);var n=e.features;return E(n,function(i){var a=i.geometry,o=a.encodeOffsets,s=a.coordinates;if(o)switch(a.type){case"LineString":a.coordinates=qC(s,o,r);break;case"Polygon":g6(s,o,r);break;case"MultiLineString":g6(s,o,r);break;case"MultiPolygon":E(s,function(u,l){return g6(u,o[l],r)})}}),e.UTF8Encoding=!1,e}function g6(t,e,r){for(var n=0;n<t.length;n++)t[n]=qC(t[n],e[n],r)}function qC(t,e,r){for(var n=[],i=e[0],a=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,u=t.charCodeAt(o+1)-64;s=s>>1^-(s&1),u=u>>1^-(u&1),s+=i,u+=a,i=s,a=u,n.push([s/r,u/r])}return n}function NW(t,e){return t=RW(t),H(Ne(t.features,function(r){return r.geometry&&r.properties&&r.geometry.coordinates.length>0}),function(r){var n=r.properties,i=r.geometry,a=[];switch(i.type){case"Polygon":var o=i.coordinates;a.push(new W8(o[0],o.slice(1)));break;case"MultiPolygon":E(i.coordinates,function(u){u[0]&&a.push(new W8(u[0],u.slice(1)))});break;case"LineString":a.push(new q8([i.coordinates]));break;case"MultiLineString":a.push(new q8(i.coordinates))}var s=new WC(n[e||"name"],a,n.cp);return s.properties=n,s})}var Sl=Ae();function ZC(t,e){var r=H(e,function(n){return t.scale.parse(n)});return t.type==="time"&&r.length>0&&(r.sort(),r.unshift(r[0]),r.push(r[r.length-1])),r}function OW(t){var e=t.getLabelModel().get("customValues");if(e){var r=Us(t),n=t.scale.getExtent(),i=ZC(t,e),a=Ne(i,function(o){return o>=n[0]&&o<=n[1]});return{labels:H(a,function(o){var s={value:o};return{formattedLabel:r(s),rawLabel:t.scale.getLabel(s),tickValue:o}})}}return t.type==="category"?FW(t):VW(t)}function BW(t,e){var r=t.getTickModel().get("customValues");if(r){var n=t.scale.getExtent(),i=ZC(t,r);return{ticks:Ne(i,function(a){return a>=n[0]&&a<=n[1]})}}return t.type==="category"?zW(t,e):{ticks:H(t.scale.getTicks(),function(a){return a.value})}}function FW(t){var e=t.getLabelModel(),r=YC(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function YC(t,e){var r=XC(t,"labels"),n=t7(e),i=jC(r,n);if(i)return i;var a,o;return te(n)?a=JC(t,n):(o=n==="auto"?$W(t):n,a=QC(t,o)),KC(r,n,{labels:a,labelCategoryInterval:o})}function zW(t,e){var r=XC(t,"ticks"),n=t7(e),i=jC(r,n);if(i)return i;var a,o;if((!e.get("show")||t.scale.isBlank())&&(a=[]),te(n))a=JC(t,n,!0);else if(n==="auto"){var s=YC(t,t.getLabelModel());o=s.labelCategoryInterval,a=H(s.labels,function(u){return u.tickValue})}else o=n,a=QC(t,o,!0);return KC(r,n,{ticks:a,tickCategoryInterval:o})}function VW(t){var e=t.scale.getTicks(),r=Us(t);return{labels:H(e,function(n,i){return{level:n.level,formattedLabel:r(n,i),rawLabel:t.scale.getLabel(n),tickValue:n.value}})}}function XC(t,e){return Sl(t)[e]||(Sl(t)[e]=[])}function jC(t,e){for(var r=0;r<t.length;r++)if(t[r].key===e)return t[r].value}function KC(t,e,r){return t.push({key:e,value:r}),r}function $W(t){var e=Sl(t).autoInterval;return e??(Sl(t).autoInterval=t.calculateCategoryInterval())}function GW(t){var e=HW(t),r=Us(t),n=(e.axisRotate-e.labelRotate)/180*Math.PI,i=t.scale,a=i.getExtent(),o=i.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var u=a[0],l=t.dataToCoord(u+1)-t.dataToCoord(u),c=Math.abs(l*Math.cos(n)),f=Math.abs(l*Math.sin(n)),h=0,d=0;u<=a[1];u+=s){var p=0,v=0,g=zl(r({value:u}),e.font,"center","top");p=g.width*1.3,v=g.height*1.3,h=Math.max(h,p,7),d=Math.max(d,v,7)}var m=h/c,y=d/f;isNaN(m)&&(m=1/0),isNaN(y)&&(y=1/0);var _=Math.max(0,Math.floor(Math.min(m,y))),b=Sl(t.model),x=t.getExtent(),w=b.lastAutoInterval,S=b.lastTickCount;return w!=null&&S!=null&&Math.abs(w-_)<=1&&Math.abs(S-o)<=1&&w>_&&b.axisExtent0===x[0]&&b.axisExtent1===x[1]?_=w:(b.lastTickCount=o,b.lastAutoInterval=_,b.axisExtent0=x[0],b.axisExtent1=x[1]),_}function HW(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function QC(t,e,r){var n=Us(t),i=t.scale,a=i.getExtent(),o=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),l=a[0],c=i.count();l!==0&&u>1&&c/u>2&&(l=Math.round(Math.ceil(l/u)*u));var f=HC(t),h=o.get("showMinLabel")||f,d=o.get("showMaxLabel")||f;h&&l!==a[0]&&v(a[0]);for(var p=l;p<=a[1];p+=u)v(p);d&&p-u!==a[1]&&v(a[1]);function v(g){var m={value:g};s.push(r?g:{formattedLabel:n(m),rawLabel:i.getLabel(m),tickValue:g})}return s}function JC(t,e,r){var n=t.scale,i=Us(t),a=[];return E(n.getTicks(),function(o){var s=n.getLabel(o),u=o.value;e(o.value,s)&&a.push(r?u:{formattedLabel:i(o),rawLabel:s,tickValue:u})}),a}var Z8=[0,1],UW=function(){function t(e,r,n){this.onBand=!1,this.inverse=!1,this.dim=e,this.scale=r,this._extent=n||[0,0]}return t.prototype.contain=function(e){var r=this._extent,n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return e>=n&&e<=i},t.prototype.containData=function(e){return this.scale.contain(e)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(e){return zx(e||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(e,r){var n=this._extent;n[0]=e,n[1]=r},t.prototype.dataToCoord=function(e,r){var n=this._extent,i=this.scale;return e=i.normalize(e),this.onBand&&i.type==="ordinal"&&(n=n.slice(),Y8(n,i.count())),Be(e,Z8,n,r)},t.prototype.coordToData=function(e,r){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),Y8(n,i.count()));var a=Be(e,n,Z8,r);return this.scale.scale(a)},t.prototype.pointToData=function(e,r){},t.prototype.getTicksCoords=function(e){e=e||{};var r=e.tickModel||this.getTickModel(),n=BW(this,r),i=n.ticks,a=H(i,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=r.get("alignWithLabel");return WW(this,a,o,e.clamp),a},t.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var e=this.model.getModel("minorTick"),r=e.get("splitNumber");r>0&&r<100||(r=5);var n=this.scale.getMinorTicks(r),i=H(n,function(a){return H(a,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return i},t.prototype.getViewLabels=function(){return OW(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var e=this._extent,r=this.scale.getExtent(),n=r[1]-r[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(e[1]-e[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return GW(this)},t}();function Y8(t,e){var r=t[1]-t[0],n=e,i=r/n/2;t[0]+=i,t[1]-=i}function WW(t,e,r,n){var i=e.length;if(!t.onBand||r||!i)return;var a=t.getExtent(),o,s;if(i===1)e[0].coord=a[0],o=e[1]={coord:a[1],tickValue:e[0].tickValue};else{var u=e[i-1].tickValue-e[0].tickValue,l=(e[i-1].coord-e[0].coord)/u;E(e,function(d){d.coord-=l/2});var c=t.scale.getExtent();s=1+c[1]-e[i-1].tickValue,o={coord:e[i-1].coord+l*s,tickValue:c[1]+1},e.push(o)}var f=a[0]>a[1];h(e[0].coord,a[0])&&(n?e[0].coord=a[0]:e.shift()),n&&h(a[0],e[0].coord)&&e.unshift({coord:a[0]}),h(a[1],o.coord)&&(n?o.coord=a[1]:e.pop()),n&&h(o.coord,a[1])&&e.push({coord:a[1]});function h(d,p){return d=nt(d),p=nt(p),f?d>p:d<p}}const en=UW;var vu=Math.PI*2,_a=Cn.CMD,qW=["top","right","bottom","left"];function ZW(t,e,r,n,i){var a=r.width,o=r.height;switch(t){case"top":n.set(r.x+a/2,r.y-e),i.set(0,-1);break;case"bottom":n.set(r.x+a/2,r.y+o+e),i.set(0,1);break;case"left":n.set(r.x-e,r.y+o/2),i.set(-1,0);break;case"right":n.set(r.x+a+e,r.y+o/2),i.set(1,0);break}}function YW(t,e,r,n,i,a,o,s,u){o-=t,s-=e;var l=Math.sqrt(o*o+s*s);o/=l,s/=l;var c=o*r+t,f=s*r+e;if(Math.abs(n-i)%vu<1e-4)return u[0]=c,u[1]=f,l-r;if(a){var h=n;n=lr(i),i=lr(h)}else n=lr(n),i=lr(i);n>i&&(i+=vu);var d=Math.atan2(s,o);if(d<0&&(d+=vu),d>=n&&d<=i||d+vu>=n&&d+vu<=i)return u[0]=c,u[1]=f,l-r;var p=r*Math.cos(n)+t,v=r*Math.sin(n)+e,g=r*Math.cos(i)+t,m=r*Math.sin(i)+e,y=(p-o)*(p-o)+(v-s)*(v-s),_=(g-o)*(g-o)+(m-s)*(m-s);return y<_?(u[0]=p,u[1]=v,Math.sqrt(y)):(u[0]=g,u[1]=m,Math.sqrt(_))}function Cc(t,e,r,n,i,a,o,s){var u=i-t,l=a-e,c=r-t,f=n-e,h=Math.sqrt(c*c+f*f);c/=h,f/=h;var d=u*c+l*f,p=d/h;s&&(p=Math.min(Math.max(p,0),1)),p*=h;var v=o[0]=t+p*c,g=o[1]=e+p*f;return Math.sqrt((v-i)*(v-i)+(g-a)*(g-a))}function eA(t,e,r,n,i,a,o){r<0&&(t=t+r,r=-r),n<0&&(e=e+n,n=-n);var s=t+r,u=e+n,l=o[0]=Math.min(Math.max(i,t),s),c=o[1]=Math.min(Math.max(a,e),u);return Math.sqrt((l-i)*(l-i)+(c-a)*(c-a))}var Ur=[];function XW(t,e,r){var n=eA(e.x,e.y,e.width,e.height,t.x,t.y,Ur);return r.set(Ur[0],Ur[1]),n}function jW(t,e,r){for(var n=0,i=0,a=0,o=0,s,u,l=1/0,c=e.data,f=t.x,h=t.y,d=0;d<c.length;){var p=c[d++];d===1&&(n=c[d],i=c[d+1],a=n,o=i);var v=l;switch(p){case _a.M:a=c[d++],o=c[d++],n=a,i=o;break;case _a.L:v=Cc(n,i,c[d],c[d+1],f,h,Ur,!0),n=c[d++],i=c[d++];break;case _a.C:v=yx(n,i,c[d++],c[d++],c[d++],c[d++],c[d],c[d+1],f,h,Ur),n=c[d++],i=c[d++];break;case _a.Q:v=bx(n,i,c[d++],c[d++],c[d],c[d+1],f,h,Ur),n=c[d++],i=c[d++];break;case _a.A:var g=c[d++],m=c[d++],y=c[d++],_=c[d++],b=c[d++],x=c[d++];d+=1;var w=!!(1-c[d++]);s=Math.cos(b)*y+g,u=Math.sin(b)*_+m,d<=1&&(a=s,o=u);var S=(f-g)*_/y+g;v=YW(g,m,_,b,b+x,w,S,h,Ur),n=Math.cos(b+x)*y+g,i=Math.sin(b+x)*_+m;break;case _a.R:a=n=c[d++],o=i=c[d++];var C=c[d++],A=c[d++];v=eA(a,o,C,A,f,h,Ur);break;case _a.Z:v=Cc(n,i,a,o,f,h,Ur,!0),n=a,i=o;break}v<l&&(l=v,r.set(Ur[0],Ur[1]))}return l}var qr=new me,He=new me,it=new me,mn=new me,fn=new me;function X8(t,e){if(t){var r=t.getTextGuideLine(),n=t.getTextContent();if(n&&r){var i=t.textGuideLineConfig||{},a=[[0,0],[0,0],[0,0]],o=i.candidates||qW,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var u=1/0,l=i.anchor,c=t.getComputedTransform(),f=c&&Ms([],c),h=e.get("length2")||0;l&&it.copy(l);for(var d=0;d<o.length;d++){var p=o[d];ZW(p,0,s,qr,mn),me.scaleAndAdd(He,qr,mn,h),He.transform(f);var v=t.getBoundingRect(),g=l?l.distance(He):t instanceof we?jW(He,t.path,it):XW(He,v,it);g<u&&(u=g,He.transform(c),it.transform(c),it.toArray(a[0]),He.toArray(a[1]),qr.toArray(a[2]))}tA(a,e.get("minTurnAngle")),r.setShape({points:a})}}}var Ac=[],Ut=new me;function tA(t,e){if(e<=180&&e>0){e=e/180*Math.PI,qr.fromArray(t[0]),He.fromArray(t[1]),it.fromArray(t[2]),me.sub(mn,qr,He),me.sub(fn,it,He);var r=mn.len(),n=fn.len();if(!(r<.001||n<.001)){mn.scale(1/r),fn.scale(1/n);var i=mn.dot(fn),a=Math.cos(e);if(a<i){var o=Cc(He.x,He.y,it.x,it.y,qr.x,qr.y,Ac,!1);Ut.fromArray(Ac),Ut.scaleAndAdd(fn,o/Math.tan(Math.PI-e));var s=it.x!==He.x?(Ut.x-He.x)/(it.x-He.x):(Ut.y-He.y)/(it.y-He.y);if(isNaN(s))return;s<0?me.copy(Ut,He):s>1&&me.copy(Ut,it),Ut.toArray(t[1])}}}}function KW(t,e,r){if(r<=180&&r>0){r=r/180*Math.PI,qr.fromArray(t[0]),He.fromArray(t[1]),it.fromArray(t[2]),me.sub(mn,He,qr),me.sub(fn,it,He);var n=mn.len(),i=fn.len();if(!(n<.001||i<.001)){mn.scale(1/n),fn.scale(1/i);var a=mn.dot(e),o=Math.cos(r);if(a<o){var s=Cc(He.x,He.y,it.x,it.y,qr.x,qr.y,Ac,!1);Ut.fromArray(Ac);var u=Math.PI/2,l=Math.acos(fn.dot(e)),c=u+l-r;if(c>=u)me.copy(Ut,it);else{Ut.scaleAndAdd(fn,s/Math.tan(Math.PI/2-c));var f=it.x!==He.x?(Ut.x-He.x)/(it.x-He.x):(Ut.y-He.y)/(it.y-He.y);if(isNaN(f))return;f<0?me.copy(Ut,He):f>1&&me.copy(Ut,it)}Ut.toArray(t[1])}}}}function m6(t,e,r,n){var i=r==="normal",a=i?t:t.ensureState(r);a.ignore=e;var o=n.get("smooth");o&&o===!0&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=n.getModel("lineStyle").getLineStyle();i?t.useStyle(s):a.style=s}function QW(t,e){var r=e.smooth,n=e.points;if(n)if(t.moveTo(n[0][0],n[0][1]),r>0&&n.length>=3){var i=Si(n[0],n[1]),a=Si(n[1],n[2]);if(!i||!a){t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]);return}var o=Math.min(i,a)*r,s=C0([],n[1],n[0],o/i),u=C0([],n[1],n[2],o/a),l=C0([],s,u,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],l[0],l[1]),t.bezierCurveTo(u[0],u[1],u[0],u[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)t.lineTo(n[c][0],n[c][1])}function r7(t,e,r){var n=t.getTextGuideLine(),i=t.getTextContent();if(!i){n&&t.removeTextGuideLine();return}for(var a=e.normal,o=a.get("show"),s=i.ignore,u=0;u<vl.length;u++){var l=vl[u],c=e[l],f=l==="normal";if(c){var h=c.get("show"),d=f?s:fe(i.states[l]&&i.states[l].ignore,s);if(d||!fe(h,o)){var p=f?n:n&&n.states[l];p&&(p.ignore=!0),n&&m6(n,!0,l,c);continue}n||(n=new ar,t.setTextGuideLine(n),!f&&(s||!o)&&m6(n,!0,"normal",e.normal),t.stateProxy&&(n.stateProxy=t.stateProxy)),m6(n,!1,l,c)}}if(n){ae(n.style,r),n.style.fill=null;var v=a.get("showAbove"),g=t.textGuideLineConfig=t.textGuideLineConfig||{};g.showAbove=v||!1,n.buildPath=QW}}function n7(t,e){e=e||"labelLine";for(var r={normal:t.getModel(e)},n=0;n<Xt.length;n++){var i=Xt[n];r[i]=t.getModel([i,e])}return r}function rA(t){for(var e=[],r=0;r<t.length;r++){var n=t[r];if(!n.defaultAttr.ignore){var i=n.label,a=i.getComputedTransform(),o=i.getBoundingRect(),s=!a||a[1]<1e-5&&a[2]<1e-5,u=i.style.margin||0,l=o.clone();l.applyTransform(a),l.x-=u/2,l.y-=u/2,l.width+=u,l.height+=u;var c=s?new sc(o,a):null;e.push({label:i,labelLine:n.labelLine,rect:l,localRect:o,obb:c,priority:n.priority,defaultAttr:n.defaultAttr,layoutOption:n.computedLayoutOption,axisAligned:s,transform:a})}}return e}function nA(t,e,r,n,i,a){var o=t.length;if(o<2)return;t.sort(function(C,A){return C.rect[e]-A.rect[e]});for(var s=0,u,l=!1,c=0,f=0;f<o;f++){var h=t[f],d=h.rect;u=d[e]-s,u<0&&(d[e]-=u,h.label[e]-=u,l=!0);var p=Math.max(-u,0);c+=p,s=d[e]+d[r]}c>0&&a&&x(-c/o,0,o);var v=t[0],g=t[o-1],m,y;_(),m<0&&w(-m,.8),y<0&&w(y,.8),_(),b(m,y,1),b(y,m,-1),_(),m<0&&S(-m),y<0&&S(y);function _(){m=v.rect[e]-n,y=i-g.rect[e]-g.rect[r]}function b(C,A,T){if(C<0){var D=Math.min(A,-C);if(D>0){x(D*T,0,o);var k=D+C;k<0&&w(-k*T,1)}else w(-C*T,1)}}function x(C,A,T){C!==0&&(l=!0);for(var D=A;D<T;D++){var k=t[D],M=k.rect;M[e]+=C,k.label[e]+=C}}function w(C,A){for(var T=[],D=0,k=1;k<o;k++){var M=t[k-1].rect,I=Math.max(t[k].rect[e]-M[e]-M[r],0);T.push(I),D+=I}if(D){var N=Math.min(Math.abs(C)/D,A);if(C>0)for(var k=0;k<o-1;k++){var L=T[k]*N;x(L,0,k+1)}else for(var k=o-1;k>0;k--){var L=T[k-1]*N;x(-L,k,o)}}}function S(C){var A=C<0?-1:1;C=Math.abs(C);for(var T=Math.ceil(C/(o-1)),D=0;D<o-1;D++)if(A>0?x(T,0,D+1):x(-T,o-D-1,o),C-=T,C<=0)return}return l}function JW(t,e,r,n){return nA(t,"x","width",e,r,n)}function iA(t,e,r,n){return nA(t,"y","height",e,r,n)}function aA(t){var e=[];t.sort(function(v,g){return g.priority-v.priority});var r=new ye(0,0,0,0);function n(v){if(!v.ignore){var g=v.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}v.ignore=!0}for(var i=0;i<t.length;i++){var a=t[i],o=a.axisAligned,s=a.localRect,u=a.transform,l=a.label,c=a.labelLine;r.copy(a.rect),r.width-=.1,r.height-=.1,r.x+=.05,r.y+=.05;for(var f=a.obb,h=!1,d=0;d<e.length;d++){var p=e[d];if(r.intersect(p.rect)){if(o&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new sc(p.localRect,p.transform)),f||(f=new sc(s,u)),f.intersect(p.obb)){h=!0;break}}}h?(n(l),c&&n(c)):(l.attr("ignore",a.defaultAttr.ignore),c&&c.attr("ignore",a.defaultAttr.labelGuideIgnore),e.push(a))}}function eq(t){if(t){for(var e=[],r=0;r<t.length;r++)e.push(t[r].slice());return e}}function tq(t,e){var r=t.label,n=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:r.style.align,verticalAlign:r.style.verticalAlign,labelLinePoints:eq(n&&n.shape.points)}}var j8=["align","verticalAlign","width","height","fontSize"],$t=new On,y6=Ae(),rq=Ae();function j1(t,e,r){for(var n=0;n<r.length;n++){var i=r[n];e[i]!=null&&(t[i]=e[i])}}var K1=["x","y","rotation"],nq=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(e,r,n,i,a){var o=i.style,s=i.__hostTarget,u=s.textConfig||{},l=i.getComputedTransform(),c=i.getBoundingRect().plain();ye.applyTransform(c,c,l),l?$t.setLocalTransform(l):($t.x=$t.y=$t.rotation=$t.originX=$t.originY=0,$t.scaleX=$t.scaleY=1),$t.rotation=lr($t.rotation);var f=i.__hostTarget,h;if(f){h=f.getBoundingRect().plain();var d=f.getComputedTransform();ye.applyTransform(h,h,d)}var p=h&&f.getTextGuideLine();this._labelList.push({label:i,labelLine:p,seriesModel:n,dataIndex:e,dataType:r,layoutOption:a,computedLayoutOption:null,rect:c,hostRect:h,priority:h?h.width*h.height:0,defaultAttr:{ignore:i.ignore,labelGuideIgnore:p&&p.ignore,x:$t.x,y:$t.y,scaleX:$t.scaleX,scaleY:$t.scaleY,rotation:$t.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:i.cursor,attachedPos:u.position,attachedRot:u.rotation}})},t.prototype.addLabelsOfSeries=function(e){var r=this;this._chartViewList.push(e);var n=e.__model,i=n.get("labelLayout");(te(i)||Se(i).length)&&e.group.traverse(function(a){if(a.ignore)return!0;var o=a.getTextContent(),s=ce(a);o&&!o.disableLabelLayout&&r._addLabel(s.dataIndex,s.dataType,n,o,i)})},t.prototype.updateLayoutConfig=function(e){var r=e.getWidth(),n=e.getHeight();function i(_,b){return function(){X8(_,b)}}for(var a=0;a<this._labelList.length;a++){var o=this._labelList[a],s=o.label,u=s.__hostTarget,l=o.defaultAttr,c=void 0;te(o.layoutOption)?c=o.layoutOption(tq(o,u)):c=o.layoutOption,c=c||{},o.computedLayoutOption=c;var f=Math.PI/180;u&&u.setTextConfig({local:!1,position:c.x!=null||c.y!=null?null:l.attachedPos,rotation:c.rotate!=null?c.rotate*f:l.attachedRot,offset:[c.dx||0,c.dy||0]});var h=!1;if(c.x!=null?(s.x=W(c.x,r),s.setStyle("x",0),h=!0):(s.x=l.x,s.setStyle("x",l.style.x)),c.y!=null?(s.y=W(c.y,n),s.setStyle("y",0),h=!0):(s.y=l.y,s.setStyle("y",l.style.y)),c.labelLinePoints){var d=u.getTextGuideLine();d&&(d.setShape({points:c.labelLinePoints}),h=!1)}var p=y6(s);p.needsUpdateLabelLine=h,s.rotation=c.rotate!=null?c.rotate*f:l.rotation,s.scaleX=l.scaleX,s.scaleY=l.scaleY;for(var v=0;v<j8.length;v++){var g=j8[v];s.setStyle(g,c[g]!=null?c[g]:l.style[g])}if(c.draggable){if(s.draggable=!0,s.cursor="move",u){var m=o.seriesModel;if(o.dataIndex!=null){var y=o.seriesModel.getData(o.dataType);m=y.getItemModel(o.dataIndex)}s.on("drag",i(u,m.getModel("labelLine")))}}else s.off("drag"),s.cursor=l.cursor}},t.prototype.layout=function(e){var r=e.getWidth(),n=e.getHeight(),i=rA(this._labelList),a=Ne(i,function(u){return u.layoutOption.moveOverlap==="shiftX"}),o=Ne(i,function(u){return u.layoutOption.moveOverlap==="shiftY"});JW(a,0,r),iA(o,0,n);var s=Ne(i,function(u){return u.layoutOption.hideOverlap});aA(s)},t.prototype.processLabelsOverall=function(){var e=this;E(this._chartViewList,function(r){var n=r.__model,i=r.ignoreLabelLineUpdate,a=n.isAnimationEnabled();r.group.traverse(function(o){if(o.ignore&&!o.forceLabelAnimation)return!0;var s=!i,u=o.getTextContent();!s&&u&&(s=y6(u).needsUpdateLabelLine),s&&e._updateLabelLine(o,n),a&&e._animateLabels(o,n)})})},t.prototype._updateLabelLine=function(e,r){var n=e.getTextContent(),i=ce(e),a=i.dataIndex;if(n&&a!=null){var o=r.getData(i.dataType),s=o.getItemModel(a),u={},l=o.getItemVisual(a,"style");if(l){var c=o.getVisual("drawType");u.stroke=l[c]}var f=s.getModel("labelLine");r7(e,n7(s),u),X8(e,f)}},t.prototype._animateLabels=function(e,r){var n=e.getTextContent(),i=e.getTextGuideLine();if(n&&(e.forceLabelAnimation||!n.ignore&&!n.invisible&&!e.disableLabelAnimation&&!ls(e))){var a=y6(n),o=a.oldLayout,s=ce(e),u=s.dataIndex,l={x:n.x,y:n.y,rotation:n.rotation},c=r.getData(s.dataType);if(o){n.attr(o);var h=e.prevStates;h&&(_e(h,"select")>=0&&n.attr(a.oldLayoutSelect),_e(h,"emphasis")>=0&&n.attr(a.oldLayoutEmphasis)),Ie(n,l,r,u)}else if(n.attr(l),!Rs(n).valueAnimation){var f=fe(n.style.opacity,1);n.style.opacity=0,Ye(n,{style:{opacity:f}},r,u)}if(a.oldLayout=l,n.states.select){var d=a.oldLayoutSelect={};j1(d,l,K1),j1(d,n.states.select,K1)}if(n.states.emphasis){var p=a.oldLayoutEmphasis={};j1(p,l,K1),j1(p,n.states.emphasis,K1)}qw(n,u,c,r,r)}if(i&&!i.ignore&&!i.invisible){var a=rq(i),o=a.oldLayout,v={points:i.shape.points};o?(i.attr({shape:o}),Ie(i,{shape:v},r)):(i.setShape(v),i.style.strokePercent=0,Ye(i,{style:{strokePercent:1}},r)),a.oldLayout=v}},t}();const iq=nq;var _6=Ae();function aq(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,r,n){var i=_6(r).labelManager;i||(i=_6(r).labelManager=new iq),i.clearLabels()}),t.registerUpdateLifecycle("series:layoutlabels",function(e,r,n){var i=_6(r).labelManager;n.updatedSeries.forEach(function(a){i.addLabelsOfSeries(r.getViewOfSeriesModel(a))}),i.updateLayoutConfig(r),i.layout(r),i.processLabelsOverall()})}var b6=Math.sin,x6=Math.cos,oA=Math.PI,ba=Math.PI*2,oq=180/oA,sq=function(){function t(){}return t.prototype.reset=function(e){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,e||4)},t.prototype.moveTo=function(e,r){this._add("M",e,r)},t.prototype.lineTo=function(e,r){this._add("L",e,r)},t.prototype.bezierCurveTo=function(e,r,n,i,a,o){this._add("C",e,r,n,i,a,o)},t.prototype.quadraticCurveTo=function(e,r,n,i){this._add("Q",e,r,n,i)},t.prototype.arc=function(e,r,n,i,a,o){this.ellipse(e,r,n,n,0,i,a,o)},t.prototype.ellipse=function(e,r,n,i,a,o,s,u){var l=s-o,c=!u,f=Math.abs(l),h=Ei(f-ba)||(c?l>=ba:-l>=ba),d=l>0?l%ba:l%ba+ba,p=!1;h?p=!0:Ei(f)?p=!1:p=d>=oA==!!c;var v=e+n*x6(o),g=r+i*b6(o);this._start&&this._add("M",v,g);var m=Math.round(a*oq);if(h){var y=1/this._p,_=(c?1:-1)*(ba-y);this._add("A",n,i,m,1,+c,e+n*x6(o+_),r+i*b6(o+_)),y>.01&&this._add("A",n,i,m,0,+c,v,g)}else{var b=e+n*x6(s),x=r+i*b6(s);this._add("A",n,i,m,+p,+c,b,x)}},t.prototype.rect=function(e,r,n,i){this._add("M",e,r),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(e,r,n,i,a,o,s,u,l){for(var c=[],f=this._p,h=1;h<arguments.length;h++){var d=arguments[h];if(isNaN(d)){this._invalid=!0;return}c.push(Math.round(d*f)/f)}this._d.push(e+c.join(" ")),this._start=e==="Z"},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}();const sA=sq;var el="none",uq=Math.round;function lq(t){var e=t.fill;return e!=null&&e!==el}function cq(t){var e=t.stroke;return e!=null&&e!==el}var Wd=["lineCap","miterLimit","lineJoin"],fq=H(Wd,function(t){return"stroke-"+t.toLowerCase()});function hq(t,e,r,n){var i=e.opacity==null?1:e.opacity;if(r instanceof Lt){t("opacity",i);return}if(lq(e)){var a=hl(e.fill);t("fill",a.color);var o=e.fillOpacity!=null?e.fillOpacity*a.opacity*i:a.opacity*i;(n||o<1)&&t("fill-opacity",o)}else t("fill",el);if(cq(e)){var s=hl(e.stroke);t("stroke",s.color);var u=e.strokeNoScale?r.getLineScale():1,l=u?(e.lineWidth||0)/u:0,c=e.strokeOpacity!=null?e.strokeOpacity*s.opacity*i:s.opacity*i,f=e.strokeFirst;if((n||l!==1)&&t("stroke-width",l),(n||f)&&t("paint-order",f?"stroke":"fill"),(n||c<1)&&t("stroke-opacity",c),e.lineDash){var h=U5(r),d=h[0],p=h[1];d&&(p=uq(p||0),t("stroke-dasharray",d.join(",")),(p||n)&&t("stroke-dashoffset",p))}else n&&t("stroke-dasharray",el);for(var v=0;v<Wd.length;v++){var g=Wd[v];if(n||e[g]!==ac[g]){var m=e[g]||ac[g];m&&t(fq[v],m)}}}else n&&t("stroke",el)}var uA="http://www.w3.org/2000/svg",lA="http://www.w3.org/1999/xlink",dq="http://www.w3.org/2000/xmlns/",pq="http://www.w3.org/XML/1998/namespace",K8="ecmeta_";function cA(t){return document.createElementNS(uA,t)}function vt(t,e,r,n,i){return{tag:t,attrs:r||{},children:n,text:i,key:e}}function vq(t,e){var r=[];if(e)for(var n in e){var i=e[n],a=n;i!==!1&&(i!==!0&&i!=null&&(a+='="'+i+'"'),r.push(a))}return"<"+t+" "+r.join(" ")+">"}function gq(t){return"</"+t+">"}function i7(t,e){e=e||{};var r=e.newline?`
|
|
90
|
+
`:"";function n(i){var a=i.children,o=i.tag,s=i.attrs,u=i.text;return vq(o,s)+(o!=="style"?Bt(u):u||"")+(a?""+r+H(a,function(l){return n(l)}).join(r)+r:"")+gq(o)}return n(t)}function mq(t,e,r){r=r||{};var n=r.newline?`
|
|
91
|
+
`:"",i=" {"+n,a=n+"}",o=H(Se(t),function(u){return u+i+H(Se(t[u]),function(l){return l+":"+t[u][l]+";"}).join(n)+a}).join(n),s=H(Se(e),function(u){return"@keyframes "+u+i+H(Se(e[u]),function(l){return l+i+H(Se(e[u][l]),function(c){var f=e[u][l][c];return c==="d"&&(f='path("'+f+'")'),c+":"+f+";"}).join(n)+a}).join(n)+a}).join(n);return!o&&!s?"":["<![CDATA[",o,s,"]]>"].join(n)}function qd(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function Q8(t,e,r,n){return vt("svg","root",{width:t,height:e,xmlns:uA,"xmlns:xlink":lA,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+t+" "+e:!1},r)}var yq=0;function fA(){return yq++}var J8={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"},Sa="transform-origin";function _q(t,e,r){var n=$({},t.shape);$(n,e),t.buildPath(r,n);var i=new sA;return i.reset(Ex(t)),r.rebuildPath(i,1),i.generateStr(),i.getStr()}function bq(t,e){var r=e.originX,n=e.originY;(r||n)&&(t[Sa]=r+"px "+n+"px")}var xq={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function hA(t,e){var r=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[r]=t,r}function wq(t,e,r){var n=t.shape.paths,i={},a,o;if(E(n,function(u){var l=qd(r.zrId);l.animation=!0,z2(u,{},l,!0);var c=l.cssAnims,f=l.cssNodes,h=Se(c),d=h.length;if(d){o=h[d-1];var p=c[o];for(var v in p){var g=p[v];i[v]=i[v]||{d:""},i[v].d+=g.d||""}for(var m in f){var y=f[m].animation;y.indexOf(o)>=0&&(a=y)}}}),!!a){e.d=!1;var s=hA(i,r);return a.replace(o,s)}}function eg(t){return Z(t)?J8[t]?"cubic-bezier("+J8[t]+")":a5(t)?t:"":""}function z2(t,e,r,n){var i=t.animators,a=i.length,o=[];if(t instanceof S5){var s=wq(t,e,r);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var u={},l=0;l<a;l++){var c=i[l],f=[c.getMaxTime()/1e3+"s"],h=eg(c.getClip().easing),d=c.getDelay();h?f.push(h):f.push("linear"),d&&f.push(d/1e3+"s"),c.getLoop()&&f.push("infinite");var p=f.join(" ");u[p]=u[p]||[p,[]],u[p][1].push(c)}function v(y){var _=y[1],b=_.length,x={},w={},S={},C="animation-timing-function";function A(ue,ee,he){for(var Q=ue.getTracks(),se=ue.getMaxTime(),Fe=0;Fe<Q.length;Fe++){var Pe=Q[Fe];if(Pe.needsAnimate()){var Te=Pe.keyframes,Ze=Pe.propName;if(he&&(Ze=he(Ze)),Ze)for(var rt=0;rt<Te.length;rt++){var de=Te[rt],wt=Math.round(de.time/se*100)+"%",Ke=eg(de.easing),Oe=de.rawValue;(Z(Oe)||Me(Oe))&&(ee[wt]=ee[wt]||{},ee[wt][Ze]=de.rawValue,Ke&&(ee[wt][C]=Ke))}}}}for(var T=0;T<b;T++){var D=_[T],k=D.targetName;k?k==="shape"&&A(D,w):!n&&A(D,x)}for(var M in x){var I={};Px(I,t),$(I,x[M]);var N=kx(I),L=x[M][C];S[M]=N?{transform:N}:{},bq(S[M],I),L&&(S[M][C]=L)}var O,P=!0;for(var M in w){S[M]=S[M]||{};var R=!O,L=w[M][C];R&&(O=new Cn);var B=O.len();O.reset(),S[M].d=_q(t,w[M],O);var z=O.len();if(!R&&B!==z){P=!1;break}L&&(S[M][C]=L)}if(!P)for(var M in S)delete S[M].d;if(!n)for(var T=0;T<b;T++){var D=_[T],k=D.targetName;k==="style"&&A(D,S,function(Q){return xq[Q]})}for(var V=Se(S),U=!0,q,T=1;T<V.length;T++){var K=V[T-1],xe=V[T];if(S[K][Sa]!==S[xe][Sa]){U=!1;break}q=S[K][Sa]}if(U&&q){for(var M in S)S[M][Sa]&&delete S[M][Sa];e[Sa]=q}if(Ne(V,function(ue){return Se(S[ue]).length>0}).length){var Ve=hA(S,r);return Ve+" "+y[0]+" both"}}for(var g in u){var s=v(u[g]);s&&o.push(s)}if(o.length){var m=r.zrId+"-cls-"+fA();r.cssNodes["."+m]={animation:o.join(",")},e.class=m}}function Sq(t,e,r){if(!t.ignore)if(t.isSilent()){var n={"pointer-events":"none"};tg(n,e,r,!0)}else{var i=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},a=i.fill;if(!a){var o=t.style&&t.style.fill,s=t.states.select&&t.states.select.style&&t.states.select.style.fill,u=t.currentStates.indexOf("select")>=0&&s||o;u&&(a=rd(u))}var l=i.lineWidth;if(l){var c=!i.strokeNoScale&&t.transform?t.transform[0]:1;l=l/c}var n={cursor:"pointer"};a&&(n.fill=a),i.stroke&&(n.stroke=i.stroke),l&&(n["stroke-width"]=l),tg(n,e,r,!0)}}function tg(t,e,r,n){var i=JSON.stringify(t),a=r.cssStyleCache[i];a||(a=r.zrId+"-cls-"+fA(),r.cssStyleCache[i]=a,r.cssNodes["."+a+(n?":hover":"")]=t),e.class=e.class?e.class+" "+a:a}var Cl=Math.round;function dA(t){return t&&Z(t.src)}function pA(t){return t&&te(t.toDataURL)}function a7(t,e,r,n){hq(function(i,a){var o=i==="fill"||i==="stroke";o&&Dx(a)?gA(e,t,i,n):o&&o5(a)?mA(r,t,i,n):t[i]=a,o&&n.ssr&&a==="none"&&(t["pointer-events"]="visible")},e,r,!1),Mq(r,t,n)}function o7(t,e){var r=WF(e);r&&(r.each(function(n,i){n!=null&&(t[(K8+i).toLowerCase()]=n+"")}),e.isSilent()&&(t[K8+"silent"]="true"))}function rg(t){return Ei(t[0]-1)&&Ei(t[1])&&Ei(t[2])&&Ei(t[3]-1)}function Cq(t){return Ei(t[4])&&Ei(t[5])}function s7(t,e,r){if(e&&!(Cq(e)&&rg(e))){var n=r?10:1e4;t.transform=rg(e)?"translate("+Cl(e[4]*n)/n+" "+Cl(e[5]*n)/n+")":fF(e)}}function ng(t,e,r){for(var n=t.points,i=[],a=0;a<n.length;a++)i.push(Cl(n[a][0]*r)/r),i.push(Cl(n[a][1]*r)/r);e.points=i.join(" ")}function ig(t){return!t.smooth}function Aq(t){var e=H(t,function(r){return typeof r=="string"?[r,r]:r});return function(r,n,i){for(var a=0;a<e.length;a++){var o=e[a],s=r[o[0]];s!=null&&(n[o[1]]=Cl(s*i)/i)}}}var Tq={circle:[Aq(["cx","cy","r"])],polyline:[ng,ig],polygon:[ng,ig]};function Dq(t){for(var e=t.animators,r=0;r<e.length;r++)if(e[r].targetName==="shape")return!0;return!1}function vA(t,e){var r=t.style,n=t.shape,i=Tq[t.type],a={},o=e.animation,s="path",u=t.style.strokePercent,l=e.compress&&Ex(t)||4;if(i&&!e.willUpdate&&!(i[1]&&!i[1](n))&&!(o&&Dq(t))&&!(u<1)){s=t.type;var c=Math.pow(10,l);i[0](n,a,c)}else{var f=!t.path||t.shapeChanged();t.path||t.createPathProxy();var h=t.path;f&&(h.beginPath(),t.buildPath(h,t.shape),t.pathUpdated());var d=h.getVersion(),p=t,v=p.__svgPathBuilder;(p.__svgPathVersion!==d||!v||u!==p.__svgPathStrokePercent)&&(v||(v=p.__svgPathBuilder=new sA),v.reset(l),h.rebuildPath(v,u),v.generateStr(),p.__svgPathVersion=d,p.__svgPathStrokePercent=u),a.d=v.getStr()}return s7(a,t.transform),a7(a,r,t,e),o7(a,t),e.animation&&z2(t,a,e),e.emphasis&&Sq(t,a,e),vt(s,t.id+"",a)}function Eq(t,e){var r=t.style,n=r.image;if(n&&!Z(n)&&(dA(n)?n=n.src:pA(n)&&(n=n.toDataURL())),!!n){var i=r.x||0,a=r.y||0,o=r.width,s=r.height,u={href:n,width:o,height:s};return i&&(u.x=i),a&&(u.y=a),s7(u,t.transform),a7(u,r,t,e),o7(u,t),e.animation&&z2(t,u,e),vt("image",t.id+"",u)}}function kq(t,e){var r=t.style,n=r.text;if(n!=null&&(n+=""),!(!n||isNaN(r.x)||isNaN(r.y))){var i=r.font||Bi,a=r.x||0,o=dF(r.y||0,c2(i),r.textBaseline),s=hF[r.textAlign]||r.textAlign,u={"dominant-baseline":"central","text-anchor":s};if(cw(r)){var l="",c=r.fontStyle,f=lw(r.fontSize);if(!parseFloat(f))return;var h=r.fontFamily||ex,d=r.fontWeight;l+="font-size:"+f+";font-family:"+h+";",c&&c!=="normal"&&(l+="font-style:"+c+";"),d&&d!=="normal"&&(l+="font-weight:"+d+";"),u.style=l}else u.style="font: "+i;return n.match(/\s/)&&(u["xml:space"]="preserve"),a&&(u.x=a),o&&(u.y=o),s7(u,t.transform),a7(u,r,t,e),o7(u,t),e.animation&&z2(t,u,e),vt("text",t.id+"",u,void 0,n)}}function ag(t,e){if(t instanceof we)return vA(t,e);if(t instanceof Lt)return Eq(t,e);if(t instanceof pl)return kq(t,e)}function Mq(t,e,r){var n=t.style;if(pF(n)){var i=vF(t),a=r.shadowCache,o=a[i];if(!o){var s=t.getGlobalScale(),u=s[0],l=s[1];if(!u||!l)return;var c=n.shadowOffsetX||0,f=n.shadowOffsetY||0,h=n.shadowBlur,d=hl(n.shadowColor),p=d.opacity,v=d.color,g=h/2/u,m=h/2/l,y=g+" "+m;o=r.zrId+"-s"+r.shadowIdx++,r.defs[o]=vt("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[vt("feDropShadow","",{dx:c/u,dy:f/l,stdDeviation:y,"flood-color":v,"flood-opacity":p})]),a[i]=o}e.filter=l2(o)}}function gA(t,e,r,n){var i=t[r],a,o={gradientUnits:i.global?"userSpaceOnUse":"objectBoundingBox"};if(Ax(i))a="linearGradient",o.x1=i.x,o.y1=i.y,o.x2=i.x2,o.y2=i.y2;else if(Tx(i))a="radialGradient",o.cx=fe(i.x,.5),o.cy=fe(i.y,.5),o.r=fe(i.r,.5);else{process.env.NODE_ENV!=="production"&&Zr("Illegal gradient type.");return}for(var s=i.colorStops,u=[],l=0,c=s.length;l<c;++l){var f=nd(s[l].offset)*100+"%",h=s[l].color,d=hl(h),p=d.color,v=d.opacity,g={offset:f};g["stop-color"]=p,v<1&&(g["stop-opacity"]=v),u.push(vt("stop",l+"",g))}var m=vt(a,"",o,u),y=i7(m),_=n.gradientCache,b=_[y];b||(b=n.zrId+"-g"+n.gradientIdx++,_[y]=b,o.id=b,n.defs[b]=vt(a,b,o,u)),e[r]=l2(b)}function mA(t,e,r,n){var i=t.style[r],a=t.getBoundingRect(),o={},s=i.repeat,u=s==="no-repeat",l=s==="repeat-x",c=s==="repeat-y",f;if(Cx(i)){var h=i.imageWidth,d=i.imageHeight,p=void 0,v=i.image;if(Z(v)?p=v:dA(v)?p=v.src:pA(v)&&(p=v.toDataURL()),typeof Image>"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";ie(h,g),ie(d,g)}else if(h==null||d==null){var m=function(T,D){if(T){var k=T.elm,M=h||D.width,I=d||D.height;T.tag==="pattern"&&(l?(I=1,M/=a.width):c&&(M=1,I/=a.height)),T.attrs.width=M,T.attrs.height=I,k&&(k.setAttribute("width",M),k.setAttribute("height",I))}},y=d5(p,null,t,function(T){u||m(w,T),m(f,T)});y&&y.width&&y.height&&(h=h||y.width,d=d||y.height)}f=vt("image","img",{href:p,width:h,height:d}),o.width=h,o.height=d}else i.svgElement&&(f=oe(i.svgElement),o.width=i.svgWidth,o.height=i.svgHeight);if(f){var _,b;u?_=b=1:l?(b=1,_=o.width/a.width):c?(_=1,b=o.height/a.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),b!=null&&!isNaN(b)&&(o.height=b);var x=kx(i);x&&(o.patternTransform=x);var w=vt("pattern","",o,[f]),S=i7(w),C=n.patternCache,A=C[S];A||(A=n.zrId+"-p"+n.patternIdx++,C[S]=A,o.id=A,w=n.defs[A]=vt("pattern",A,o,[f])),e[r]=l2(A)}}function Lq(t,e,r){var n=r.clipPathCache,i=r.defs,a=n[t.id];if(!a){a=r.zrId+"-c"+r.clipPathIdx++;var o={id:a};n[t.id]=a,i[a]=vt("clipPath",a,o,[vA(t,r)])}e["clip-path"]=l2(a)}function og(t){return document.createTextNode(t)}function Ma(t,e,r){t.insertBefore(e,r)}function sg(t,e){t.removeChild(e)}function ug(t,e){t.appendChild(e)}function yA(t){return t.parentNode}function _A(t){return t.nextSibling}function w6(t,e){t.textContent=e}var lg=58,Iq=120,Pq=vt("","");function Zd(t){return t===void 0}function ln(t){return t!==void 0}function Rq(t,e,r){for(var n={},i=e;i<=r;++i){var a=t[i].key;a!==void 0&&(process.env.NODE_ENV!=="production"&&n[a]!=null&&console.error("Duplicate key "+a),n[a]=i)}return n}function Ru(t,e){var r=t.key===e.key,n=t.tag===e.tag;return n&&r}function Al(t){var e,r=t.children,n=t.tag;if(ln(n)){var i=t.elm=cA(n);if(u7(Pq,t),G(r))for(e=0;e<r.length;++e){var a=r[e];a!=null&&ug(i,Al(a))}else ln(t.text)&&!ne(t.text)&&ug(i,og(t.text))}else t.elm=og(t.text);return t.elm}function bA(t,e,r,n,i){for(;n<=i;++n){var a=r[n];a!=null&&Ma(t,Al(a),e)}}function Tc(t,e,r,n){for(;r<=n;++r){var i=e[r];if(i!=null)if(ln(i.tag)){var a=yA(i.elm);sg(a,i.elm)}else sg(t,i.elm)}}function u7(t,e){var r,n=e.elm,i=t&&t.attrs||{},a=e.attrs||{};if(i!==a){for(r in a){var o=a[r],s=i[r];s!==o&&(o===!0?n.setAttribute(r,""):o===!1?n.removeAttribute(r):r==="style"?n.style.cssText=o:r.charCodeAt(0)!==Iq?n.setAttribute(r,o):r==="xmlns:xlink"||r==="xmlns"?n.setAttributeNS(dq,r,o):r.charCodeAt(3)===lg?n.setAttributeNS(pq,r,o):r.charCodeAt(5)===lg?n.setAttributeNS(lA,r,o):n.setAttribute(r,o))}for(r in i)r in a||n.removeAttribute(r)}}function Nq(t,e,r){for(var n=0,i=0,a=e.length-1,o=e[0],s=e[a],u=r.length-1,l=r[0],c=r[u],f,h,d,p;n<=a&&i<=u;)o==null?o=e[++n]:s==null?s=e[--a]:l==null?l=r[++i]:c==null?c=r[--u]:Ru(o,l)?(Qo(o,l),o=e[++n],l=r[++i]):Ru(s,c)?(Qo(s,c),s=e[--a],c=r[--u]):Ru(o,c)?(Qo(o,c),Ma(t,o.elm,_A(s.elm)),o=e[++n],c=r[--u]):Ru(s,l)?(Qo(s,l),Ma(t,s.elm,o.elm),s=e[--a],l=r[++i]):(Zd(f)&&(f=Rq(e,n,a)),h=f[l.key],Zd(h)?Ma(t,Al(l),o.elm):(d=e[h],d.tag!==l.tag?Ma(t,Al(l),o.elm):(Qo(d,l),e[h]=void 0,Ma(t,d.elm,o.elm))),l=r[++i]);(n<=a||i<=u)&&(n>a?(p=r[u+1]==null?null:r[u+1].elm,bA(t,p,r,i,u)):Tc(t,e,n,a))}function Qo(t,e){var r=e.elm=t.elm,n=t.children,i=e.children;t!==e&&(u7(t,e),Zd(e.text)?ln(n)&&ln(i)?n!==i&&Nq(r,n,i):ln(i)?(ln(t.text)&&w6(r,""),bA(r,null,i,0,i.length-1)):ln(n)?Tc(r,n,0,n.length-1):ln(t.text)&&w6(r,""):t.text!==e.text&&(ln(n)&&Tc(r,n,0,n.length-1),w6(r,e.text)))}function Oq(t,e){if(Ru(t,e))Qo(t,e);else{var r=t.elm,n=yA(r);Al(e),n!==null&&(Ma(n,e.elm,_A(r)),Tc(n,[t],0,0))}return e}var Bq=0,Fq=function(){function t(e,r,n){if(this.type="svg",this.refreshHover=cg("refreshHover"),this.configLayer=cg("configLayer"),this.storage=r,this._opts=n=$({},n),this.root=e,this._id="zr"+Bq++,this._oldVNode=Q8(n.width,n.height),e&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=cA("svg");u7(null,this._oldVNode),i.appendChild(a),e.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var e=this.renderToVNode({willUpdate:!0});e.attrs.style="position:absolute;left:0;top:0;user-select:none",Oq(this._oldVNode,e),this._oldVNode=e}},t.prototype.renderOneToVNode=function(e){return ag(e,qd(this._id))},t.prototype.renderToVNode=function(e){e=e||{};var r=this.storage.getDisplayList(!0),n=this._width,i=this._height,a=qd(this._id);a.animation=e.animation,a.willUpdate=e.willUpdate,a.compress=e.compress,a.emphasis=e.emphasis,a.ssr=this._opts.ssr;var o=[],s=this._bgVNode=zq(n,i,this._backgroundColor,a);s&&o.push(s);var u=e.compress?null:this._mainVNode=vt("g","main",{},[]);this._paintList(r,a,u?u.children:o),u&&o.push(u);var l=H(Se(a.defs),function(h){return a.defs[h]});if(l.length&&o.push(vt("defs","defs",{},l)),e.animation){var c=mq(a.cssNodes,a.cssAnims,{newline:!0});if(c){var f=vt("style","stl",{},[],c);o.push(f)}}return Q8(n,i,o,e.useViewBox)},t.prototype.renderToString=function(e){return e=e||{},i7(this.renderToVNode({animation:fe(e.cssAnimation,!0),emphasis:fe(e.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:fe(e.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(e){this._backgroundColor=e},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(e,r,n){for(var i=e.length,a=[],o=0,s,u,l=0,c=0;c<i;c++){var f=e[c];if(!f.invisible){var h=f.__clipPaths,d=h&&h.length||0,p=u&&u.length||0,v=void 0;for(v=Math.max(d-1,p-1);v>=0&&!(h&&u&&h[v]===u[v]);v--);for(var g=p-1;g>v;g--)o--,s=a[o-1];for(var m=v+1;m<d;m++){var y={};Lq(h[m],y,r);var _=vt("g","clip-g-"+l++,y,[]);(s?s.children:n).push(_),a[o++]=_,s=_}u=h;var b=ag(f,r);b&&(s?s.children:n).push(b)}}},t.prototype.resize=function(e,r){var n=this._opts,i=this.root,a=this._viewport;if(e!=null&&(n.width=e),r!=null&&(n.height=r),i&&a&&(a.style.display="none",e=is(i,0,n),r=is(i,1,n),a.style.display=""),this._width!==e||this._height!==r){if(this._width=e,this._height=r,a){var o=a.style;o.width=e+"px",o.height=r+"px"}if(o5(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",e),s.setAttribute("height",r));var u=this._bgVNode&&this._bgVNode.elm;u&&(u.setAttribute("width",e),u.setAttribute("height",r))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(e){var r=this.renderToString(),n="data:image/svg+xml;";return e?(r=mF(r),r&&n+"base64,"+r):n+"charset=UTF-8,"+encodeURIComponent(r)},t}();function cg(t){return function(){process.env.NODE_ENV!=="production"&&Zr('In SVG mode painter not support method "'+t+'"')}}function zq(t,e,r,n){var i;if(r&&r!=="none")if(i=vt("rect","bg",{width:t,height:e,x:"0",y:"0"}),Dx(r))gA({fill:r},i.attrs,"fill",n);else if(o5(r))mA({style:{fill:r},dirty:at,getBoundingRect:function(){return{width:t,height:e}}},i.attrs,"fill",n);else{var a=hl(r),o=a.color,s=a.opacity;i.attrs.fill=o,s<1&&(i.attrs["fill-opacity"]=s)}return i}const Vq=Fq;function $q(t){t.registerPainter("svg",Vq)}function fg(t,e,r){var n=Fi.createCanvas(),i=e.getWidth(),a=e.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",n.setAttribute("data-zr-dom-id",t)),n.width=i*r,n.height=a*r,n}var Gq=function(t){F(e,t);function e(r,n,i){var a=t.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null;var o;i=i||nc,typeof r=="string"?o=fg(r,n,i):ne(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(sx(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}return e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=fg("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},e.prototype.createRepaintRects=function(r,n,i,a){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,u=!1,l=new ye(0,0,0,0);function c(y){if(!(!y.isFinite()||y.isZero()))if(o.length===0){var _=new ye(0,0,0,0);_.copy(y),o.push(_)}else{for(var b=!1,x=1/0,w=0,S=0;S<o.length;++S){var C=o[S];if(C.intersect(y)){var A=new ye(0,0,0,0);A.copy(C),A.union(y),o[S]=A,b=!0;break}else if(u){l.copy(y),l.union(C);var T=y.width*y.height,D=C.width*C.height,k=l.width*l.height,M=k-T-D;M<x&&(x=M,w=S)}}if(u&&(o[w].union(y),b=!0),!b){var _=new ye(0,0,0,0);_.copy(y),o.push(_)}u||(u=o.length>=s)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var h=r[f];if(h){var d=h.shouldBePainted(i,a,!0,!0),p=h.__isRendered&&(h.__dirty&ur||!d)?h.getPrevPaintRect():null;p&&c(p);var v=d&&(h.__dirty&ur||!h.__isRendered)?h.getPaintRect():null;v&&c(v)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var h=n[f],d=h&&h.shouldBePainted(i,a,!0,!0);if(h&&(!d||!h.__zr)&&h.__isRendered){var p=h.getPrevPaintRect();p&&c(p)}}var g;do{g=!1;for(var f=0;f<o.length;){if(o[f].isZero()){o.splice(f,1);continue}for(var m=f+1;m<o.length;)o[f].intersect(o[m])?(g=!0,o[f].union(o[m]),o.splice(m,1)):m++;f++}}while(g);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(r,n){var i=this.dpr,a=this.dom,o=a.style,s=this.domBack;o&&(o.width=r+"px",o.height=n+"px"),a.width=r*i,a.height=n*i,s&&(s.width=r*i,s.height=n*i,i!==1&&this.ctxBack.scale(i,i))},e.prototype.clear=function(r,n,i){var a=this.dom,o=this.ctx,s=a.width,u=a.height;n=n||this.clearColor;var l=this.motionBlur&&!r,c=this.lastFrameAlpha,f=this.dpr,h=this;l&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(a,0,0,s/f,u/f));var d=this.domBack;function p(v,g,m,y){if(o.clearRect(v,g,m,y),n&&n!=="transparent"){var _=void 0;if(o2(n)){var b=n.global||n.__width===m&&n.__height===y;_=b&&n.__canvasGradient||Bd(o,n,{x:0,y:0,width:m,height:y}),n.__canvasGradient=_,n.__width=m,n.__height=y}else yB(n)&&(n.scaleX=n.scaleX||f,n.scaleY=n.scaleY||f,_=Fd(o,n,{dirty:function(){h.setUnpainted(),h.painter.refresh()}}));o.save(),o.fillStyle=_||n,o.fillRect(v,g,m,y),o.restore()}l&&(o.save(),o.globalAlpha=c,o.drawImage(d,v,g,m,y),o.restore())}!i||l?p(0,0,s,u):i.length&&E(i,function(v){p(v.x*f,v.y*f,v.width*f,v.height*f)})},e}(Or);const S6=Gq;var hg=1e5,xa=314159,Q1=.01,Hq=.001;function Uq(t){return t?t.__builtin__?!0:!(typeof t.resize!="function"||typeof t.refresh!="function"):!1}function Wq(t,e){var r=document.createElement("div");return r.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",r}var qq=function(){function t(e,r,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!e.nodeName||e.nodeName.toUpperCase()==="CANVAS";this._opts=n=$({},n||{}),this.dpr=n.devicePixelRatio||nc,this._singleCanvas=a,this.root=e;var o=e.style;o&&(sx(e),e.innerHTML=""),this.storage=r;var s=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var c=e,f=c.width,h=c.height;n.width!=null&&(f=n.width),n.height!=null&&(h=n.height),this.dpr=n.devicePixelRatio||1,c.width=f*this.dpr,c.height=h*this.dpr,this._width=f,this._height=h;var d=new S6(c,this,this.dpr);d.__builtin__=!0,d.initContext(),u[xa]=d,d.zlevel=xa,s.push(xa),this._domRoot=e}else{this._width=is(e,0,n),this._height=is(e,1,n);var l=this._domRoot=Wq(this._width,this._height);e.appendChild(l)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var e=this.getViewportRoot();if(e)return{offsetLeft:e.offsetLeft||0,offsetTop:e.offsetTop||0}},t.prototype.refresh=function(e){var r=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(r,n,e,this._redrawId);for(var a=0;a<i.length;a++){var o=i[a],s=this._layers[o];if(!s.__builtin__&&s.refresh){var u=a===0?this._backgroundColor:null;s.refresh(u)}}return this._opts.useDirtyRect&&(this._prevDisplayList=r.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(e){var r=e.length,n=this._hoverlayer;if(n&&n.clear(),!!r){for(var i={inHover:!0,viewWidth:this._width,viewHeight:this._height},a,o=0;o<r;o++){var s=e[o];s.__inHover&&(n||(n=this._hoverlayer=this.getLayer(hg)),a||(a=n.ctx,a.save()),$a(a,s,i,o===r-1))}a&&a.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(hg)},t.prototype.paintOne=function(e,r){tC(e,r)},t.prototype._paintList=function(e,r,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(e);var a=this._doPaintList(e,r,n),o=a.finished,s=a.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),s&&this._paintHoverList(e),o)this.eachLayer(function(l){l.afterBrush&&l.afterBrush()});else{var u=this;Kh(function(){u._paintList(e,r,n,i)})}}},t.prototype._compositeManually=function(){var e=this.getLayer(xa).ctx,r=this._domRoot.width,n=this._domRoot.height;e.clearRect(0,0,r,n),this.eachBuiltinLayer(function(i){i.virtual&&e.drawImage(i.dom,0,0,r,n)})},t.prototype._doPaintList=function(e,r,n){for(var i=this,a=[],o=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var u=this._zlevelList[s],l=this._layers[u];l.__builtin__&&l!==this._hoverlayer&&(l.__dirty||n)&&a.push(l)}for(var c=!0,f=!1,h=function(v){var g=a[v],m=g.ctx,y=o&&g.createRepaintRects(e,r,d._width,d._height),_=n?g.__startIndex:g.__drawIndex,b=!n&&g.incremental&&Date.now,x=b&&Date.now(),w=g.zlevel===d._zlevelList[0]?d._backgroundColor:null;if(g.__startIndex===g.__endIndex)g.clear(!1,w,y);else if(_===g.__startIndex){var S=e[_];(!S.incremental||!S.notClear||n)&&g.clear(!1,w,y)}_===-1&&(console.error("For some unknown reason. drawIndex is -1"),_=g.__startIndex);var C,A=function(M){var I={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(C=_;C<g.__endIndex;C++){var N=e[C];if(N.__inHover&&(f=!0),i._doPaintEl(N,g,o,M,I,C===g.__endIndex-1),b){var L=Date.now()-x;if(L>15)break}}I.prevElClipPaths&&m.restore()};if(y)if(y.length===0)C=g.__endIndex;else for(var T=d.dpr,D=0;D<y.length;++D){var k=y[D];m.save(),m.beginPath(),m.rect(k.x*T,k.y*T,k.width*T,k.height*T),m.clip(),A(k),m.restore()}else m.save(),A(),m.restore();g.__drawIndex=C,g.__drawIndex<g.__endIndex&&(c=!1)},d=this,p=0;p<a.length;p++)h(p);return De.wxa&&E(this._layers,function(v){v&&v.ctx&&v.ctx.draw&&v.ctx.draw()}),{finished:c,needsRefreshHover:f}},t.prototype._doPaintEl=function(e,r,n,i,a,o){var s=r.ctx;if(n){var u=e.getPaintRect();(!i||u&&u.intersect(i))&&($a(s,e,a,o),e.setPrevPaintRect(u))}else $a(s,e,a,o)},t.prototype.getLayer=function(e,r){this._singleCanvas&&!this._needsManuallyCompositing&&(e=xa);var n=this._layers[e];return n||(n=new S6("zr_"+e,this,this.dpr),n.zlevel=e,n.__builtin__=!0,this._layerConfig[e]?ge(n,this._layerConfig[e],!0):this._layerConfig[e-Q1]&&ge(n,this._layerConfig[e-Q1],!0),r&&(n.virtual=r),this.insertLayer(e,n),n.initContext()),n},t.prototype.insertLayer=function(e,r){var n=this._layers,i=this._zlevelList,a=i.length,o=this._domRoot,s=null,u=-1;if(n[e]){process.env.NODE_ENV!=="production"&&Zr("ZLevel "+e+" has been used already");return}if(!Uq(r)){process.env.NODE_ENV!=="production"&&Zr("Layer of zlevel "+e+" is not valid");return}if(a>0&&e>i[0]){for(u=0;u<a-1&&!(i[u]<e&&i[u+1]>e);u++);s=n[i[u]]}if(i.splice(u+1,0,e),n[e]=r,!r.virtual)if(s){var l=s.dom;l.nextSibling?o.insertBefore(r.dom,l.nextSibling):o.appendChild(r.dom)}else o.firstChild?o.insertBefore(r.dom,o.firstChild):o.appendChild(r.dom);r.painter||(r.painter=this)},t.prototype.eachLayer=function(e,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i];e.call(r,this._layers[a],a)}},t.prototype.eachBuiltinLayer=function(e,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i],o=this._layers[a];o.__builtin__&&e.call(r,o,a)}},t.prototype.eachOtherLayer=function(e,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i],o=this._layers[a];o.__builtin__||e.call(r,o,a)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(e){this.eachBuiltinLayer(function(f,h){f.__dirty=f.__used=!1});function r(f){a&&(a.__endIndex!==f&&(a.__dirty=!0),a.__endIndex=f)}if(this._singleCanvas)for(var n=1;n<e.length;n++){var i=e[n];if(i.zlevel!==e[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var a=null,o=0,s,u;for(u=0;u<e.length;u++){var i=e[u],l=i.zlevel,c=void 0;s!==l&&(s=l,o=0),i.incremental?(c=this.getLayer(l+Hq,this._needsManuallyCompositing),c.incremental=!0,o=1):c=this.getLayer(l+(o>0?Q1:0),this._needsManuallyCompositing),c.__builtin__||Zr("ZLevel "+l+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==u&&(c.__dirty=!0),c.__startIndex=u,c.incremental?c.__drawIndex=-1:c.__drawIndex=u,r(u),a=c),i.__dirty&ur&&!i.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=u))}r(u),this.eachBuiltinLayer(function(f,h){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(e){e.clear()},t.prototype.setBackgroundColor=function(e){this._backgroundColor=e,E(this._layers,function(r){r.setUnpainted()})},t.prototype.configLayer=function(e,r){if(r){var n=this._layerConfig;n[e]?ge(n[e],r,!0):n[e]=r;for(var i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];if(a===e||a===e+Q1){var o=this._layers[a];ge(o,n[e],!0)}}}},t.prototype.delLayer=function(e){var r=this._layers,n=this._zlevelList,i=r[e];i&&(i.dom.parentNode.removeChild(i.dom),delete r[e],n.splice(_e(n,e),1))},t.prototype.resize=function(e,r){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,a=this.root;if(e!=null&&(i.width=e),r!=null&&(i.height=r),e=is(a,0,i),r=is(a,1,i),n.style.display="",this._width!==e||r!==this._height){n.style.width=e+"px",n.style.height=r+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(e,r);this.refresh(!0)}this._width=e,this._height=r}else{if(e==null||r==null)return;this._width=e,this._height=r,this.getLayer(xa).resize(e,r)}return this},t.prototype.clearLayer=function(e){var r=this._layers[e];r&&r.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(e){if(e=e||{},this._singleCanvas&&!this._compositeManually)return this._layers[xa].dom;var r=new S6("image",this,e.pixelRatio||this.dpr);r.initContext(),r.clear(!1,e.backgroundColor||this._backgroundColor);var n=r.ctx;if(e.pixelRatio<=this.dpr){this.refresh();var i=r.dom.width,a=r.dom.height;this.eachLayer(function(f){f.__builtin__?n.drawImage(f.dom,0,0,i,a):f.renderToCanvas&&(n.save(),f.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},s=this.storage.getDisplayList(!0),u=0,l=s.length;u<l;u++){var c=s[u];$a(n,c,o,u===l-1)}return r.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();const Zq=qq;function Yq(t){t.registerPainter("canvas",Zq)}var Xq=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r}return e.prototype.getInitialData=function(r){if(process.env.NODE_ENV!=="production"){var n=r.coordinateSystem;if(n!=="polar"&&n!=="cartesian2d")throw new Error("Line not support coordinateSystem besides cartesian and polar")}return Jn(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(r){var n=new le,i=ct("line",0,r.itemHeight/2,r.itemWidth,0,r.lineStyle.stroke,!1);n.add(i),i.setStyle(r.lineStyle);var a=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=a==="none"?"circle":a,u=r.itemHeight*.8,l=ct(s,(r.itemWidth-u)/2,(r.itemHeight-u)/2,u,u,r.itemStyle.fill);n.add(l),l.setStyle(r.itemStyle);var c=r.iconRotate==="inherit"?o:r.iconRotate||0;return l.rotation=c*Math.PI/180,l.setOrigin([r.itemWidth/2,r.itemHeight/2]),s.indexOf("empty")>-1&&(l.style.stroke=l.style.fill,l.style.fill="#fff",l.style.lineWidth=2),n},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(je);const jq=Xq;function ws(t,e){var r=t.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var i=_s(t,e,r[0]);return i!=null?i+"":null}else if(n){for(var a=[],o=0;o<r.length;o++)a.push(_s(t,e,r[o]));return a.join(" ")}}function xA(t,e){var r=t.mapDimensionsAll("defaultedLabel");if(!G(e))return e+"";for(var n=[],i=0;i<r.length;i++){var a=t.getDimensionIndex(r[i]);a>=0&&n.push(e[a])}return n.join(" ")}var Kq=function(t){F(e,t);function e(r,n,i,a){var o=t.call(this)||this;return o.updateData(r,n,i,a),o}return e.prototype._createSymbol=function(r,n,i,a,o){this.removeAll();var s=ct(r,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:a[0]/2,scaleY:a[1]/2}),s.drift=Qq,this._symbolType=r,this.add(s)},e.prototype.stopSymbolAnimation=function(r){this.childAt(0).stopAnimation(null,r)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Zn(this.childAt(0))},e.prototype.downplay=function(){Yn(this.childAt(0))},e.prototype.setZ=function(r,n){var i=this.childAt(0);i.zlevel=r,i.z=n},e.prototype.setDraggable=function(r,n){var i=this.childAt(0);i.draggable=r,i.cursor=!n&&r?"move":i.cursor},e.prototype.updateData=function(r,n,i,a){this.silent=!1;var o=r.getItemVisual(n,"symbol")||"circle",s=r.hostModel,u=e.getSymbolSize(r,n),l=o!==this._symbolType,c=a&&a.disableAnimation;if(l){var f=r.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,r,n,u,f)}else{var h=this.childAt(0);h.silent=!1;var d={scaleX:u[0]/2,scaleY:u[1]/2};c?h.attr(d):Ie(h,d,s,n),Qr(h)}if(this._updateCommon(r,n,u,i,a),l){var h=this.childAt(0);if(!c){var d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,Ye(h,d,s,n)}}c&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(r,n,i,a,o){var s=this.childAt(0),u=r.hostModel,l,c,f,h,d,p,v,g,m;if(a&&(l=a.emphasisItemStyle,c=a.blurItemStyle,f=a.selectItemStyle,h=a.focus,d=a.blurScope,v=a.labelStatesModels,g=a.hoverScale,m=a.cursorStyle,p=a.emphasisDisabled),!a||r.hasItemOption){var y=a&&a.itemModel?a.itemModel:r.getItemModel(n),_=y.getModel("emphasis");l=_.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),h=_.get("focus"),d=_.get("blurScope"),p=_.get("disabled"),v=gt(y),g=_.getShallow("scale"),m=y.getShallow("cursor")}var b=r.getItemVisual(n,"symbolRotate");s.attr("rotation",(b||0)*Math.PI/180||0);var x=mo(r.getItemVisual(n,"symbolOffset"),i);x&&(s.x=x[0],s.y=x[1]),m&&s.attr("cursor",m);var w=r.getItemVisual(n,"style"),S=w.fill;if(s instanceof Lt){var C=s.style;s.useStyle($({image:C.image,x:C.x,y:C.y,width:C.width,height:C.height},w))}else s.__isEmptyBrush?s.useStyle($({},w)):s.useStyle(w),s.style.decal=null,s.setColor(S,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var A=r.getItemVisual(n,"liftZ"),T=this._z2;A!=null?T==null&&(this._z2=s.z2,s.z2+=A):T!=null&&(s.z2=T,this._z2=null);var D=o&&o.useNameLabel;Mt(s,v,{labelFetcher:u,labelDataIndex:n,defaultText:k,inheritColor:S,defaultOpacity:w.opacity});function k(N){return D?r.getName(N):ws(r,N)}this._sizeX=i[0]/2,this._sizeY=i[1]/2;var M=s.ensureState("emphasis");M.style=l,s.ensureState("select").style=f,s.ensureState("blur").style=c;var I=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;M.scaleX=this._sizeX*I,M.scaleY=this._sizeY*I,this.setSymbolScale(1),Je(this,h,d,p)},e.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},e.prototype.fadeOut=function(r,n,i){var a=this.childAt(0),o=ce(this).dataIndex,s=i&&i.animation;if(this.silent=a.silent=!0,i&&i.fadeLabel){var u=a.getTextContent();u&&$i(u,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();$i(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:r,removeOpt:s})},e.getSymbolSize=function(r,n){return Hs(r.getItemVisual(n,"symbolSize"))},e}(le);function Qq(t,e){this.parent.drift(t,e)}const Yl=Kq;function C6(t,e,r,n){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(n.isIgnore&&n.isIgnore(r))&&!(n.clipShape&&!n.clipShape.contain(e[0],e[1]))&&t.getItemVisual(r,"symbol")!=="none"}function dg(t){return t!=null&&!ne(t)&&(t={isIgnore:t}),t||{}}function pg(t){var e=t.hostModel,r=e.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:gt(e),cursorStyle:e.get("cursor")}}var Jq=function(){function t(e){this.group=new le,this._SymbolCtor=e||Yl}return t.prototype.updateData=function(e,r){this._progressiveEls=null,r=dg(r);var n=this.group,i=e.hostModel,a=this._data,o=this._SymbolCtor,s=r.disableAnimation,u=pg(e),l={disableAnimation:s},c=r.getSymbolPoint||function(f){return e.getItemLayout(f)};a||n.removeAll(),e.diff(a).add(function(f){var h=c(f);if(C6(e,h,f,r)){var d=new o(e,f,u,l);d.setPosition(h),e.setItemGraphicEl(f,d),n.add(d)}}).update(function(f,h){var d=a.getItemGraphicEl(h),p=c(f);if(!C6(e,p,f,r)){n.remove(d);return}var v=e.getItemVisual(f,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==v)n.remove(d),d=new o(e,f,u,l),d.setPosition(p);else{d.updateData(e,f,u,l);var m={x:p[0],y:p[1]};s?d.attr(m):Ie(d,m,i)}n.add(d),e.setItemGraphicEl(f,d)}).remove(function(f){var h=a.getItemGraphicEl(f);h&&h.fadeOut(function(){n.remove(h)},i)}).execute(),this._getSymbolPoint=c,this._data=e},t.prototype.updateLayout=function(){var e=this,r=this._data;r&&r.eachItemGraphicEl(function(n,i){var a=e._getSymbolPoint(i);n.setPosition(a),n.markRedraw()})},t.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=pg(e),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(e,r,n){this._progressiveEls=[],n=dg(n);function i(u){u.isGroup||(u.incremental=!0,u.ensureState("emphasis").hoverLayer=!0)}for(var a=e.start;a<e.end;a++){var o=r.getItemLayout(a);if(C6(r,o,a,n)){var s=new this._SymbolCtor(r,a,this._seriesScope);s.traverse(i),s.setPosition(o),this.group.add(s),r.setItemGraphicEl(a,s),this._progressiveEls.push(s)}}},t.prototype.eachRendered=function(e){Xi(this._progressiveEls||this.group,e)},t.prototype.remove=function(e){var r=this.group,n=this._data;n&&e?n.eachItemGraphicEl(function(i){i.fadeOut(function(){r.remove(i)},n.hostModel)}):r.removeAll()},t}();const Xl=Jq;function wA(t,e,r){var n=t.getBaseAxis(),i=t.getOtherAxis(n),a=eZ(i,r),o=n.dim,s=i.dim,u=e.mapDimension(s),l=e.mapDimension(o),c=s==="x"||s==="radius"?1:0,f=H(t.dimensions,function(p){return e.mapDimension(p)}),h=!1,d=e.getCalculationInfo("stackResultDimension");return Hi(e,f[0])&&(h=!0,f[0]=d),Hi(e,f[1])&&(h=!0,f[1]=d),{dataDimsForPoint:f,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:u,baseDim:l,baseDataOffset:c,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function eZ(t,e){var r=0,n=t.scale.getExtent();return e==="start"?r=n[0]:e==="end"?r=n[1]:Me(e)&&!isNaN(e)?r=e:n[0]>0?r=n[0]:n[1]<0&&(r=n[1]),r}function SA(t,e,r,n){var i=NaN;t.stacked&&(i=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=r.get(t.baseDim,n),o[1-a]=i,e.dataToPoint(o)}function tZ(t,e){var r=[];return e.diff(t).add(function(n){r.push({cmd:"+",idx:n})}).update(function(n,i){r.push({cmd:"=",idx:i,idx1:n})}).remove(function(n){r.push({cmd:"-",idx:n})}).execute(),r}function rZ(t,e,r,n,i,a,o,s){for(var u=tZ(t,e),l=[],c=[],f=[],h=[],d=[],p=[],v=[],g=wA(i,e,o),m=t.getLayout("points")||[],y=e.getLayout("points")||[],_=0;_<u.length;_++){var b=u[_],x=!0,w=void 0,S=void 0;switch(b.cmd){case"=":w=b.idx*2,S=b.idx1*2;var C=m[w],A=m[w+1],T=y[S],D=y[S+1];(isNaN(C)||isNaN(A))&&(C=T,A=D),l.push(C,A),c.push(T,D),f.push(r[w],r[w+1]),h.push(n[S],n[S+1]),v.push(e.getRawIndex(b.idx1));break;case"+":var k=b.idx,M=g.dataDimsForPoint,I=i.dataToPoint([e.get(M[0],k),e.get(M[1],k)]);S=k*2,l.push(I[0],I[1]),c.push(y[S],y[S+1]);var N=SA(g,i,e,k);f.push(N[0],N[1]),h.push(n[S],n[S+1]),v.push(e.getRawIndex(k));break;case"-":x=!1}x&&(d.push(b),p.push(p.length))}p.sort(function(K,xe){return v[K]-v[xe]});for(var L=l.length,O=gn(L),P=gn(L),R=gn(L),B=gn(L),z=[],_=0;_<p.length;_++){var V=p[_],U=_*2,q=V*2;O[U]=l[q],O[U+1]=l[q+1],P[U]=c[q],P[U+1]=c[q+1],R[U]=f[q],R[U+1]=f[q+1],B[U]=h[q],B[U+1]=h[q+1],z[_]=d[V]}return{current:O,next:P,stackedOnCurrent:R,stackedOnNext:B,status:z}}var ui=Math.min,li=Math.max;function Ka(t,e){return isNaN(t)||isNaN(e)}function Yd(t,e,r,n,i,a,o,s,u){for(var l,c,f,h,d,p,v=r,g=0;g<n;g++){var m=e[v*2],y=e[v*2+1];if(v>=i||v<0)break;if(Ka(m,y)){if(u){v+=a;continue}break}if(v===r)t[a>0?"moveTo":"lineTo"](m,y),f=m,h=y;else{var _=m-l,b=y-c;if(_*_+b*b<.5){v+=a;continue}if(o>0){for(var x=v+a,w=e[x*2],S=e[x*2+1];w===m&&S===y&&g<n;)g++,x+=a,v+=a,w=e[x*2],S=e[x*2+1],m=e[v*2],y=e[v*2+1],_=m-l,b=y-c;var C=g+1;if(u)for(;Ka(w,S)&&C<n;)C++,x+=a,w=e[x*2],S=e[x*2+1];var A=.5,T=0,D=0,k=void 0,M=void 0;if(C>=n||Ka(w,S))d=m,p=y;else{T=w-l,D=S-c;var I=m-l,N=w-m,L=y-c,O=S-y,P=void 0,R=void 0;if(s==="x"){P=Math.abs(I),R=Math.abs(N);var B=T>0?1:-1;d=m-B*P*o,p=y,k=m+B*R*o,M=y}else if(s==="y"){P=Math.abs(L),R=Math.abs(O);var z=D>0?1:-1;d=m,p=y-z*P*o,k=m,M=y+z*R*o}else P=Math.sqrt(I*I+L*L),R=Math.sqrt(N*N+O*O),A=R/(R+P),d=m-T*o*(1-A),p=y-D*o*(1-A),k=m+T*o*A,M=y+D*o*A,k=ui(k,li(w,m)),M=ui(M,li(S,y)),k=li(k,ui(w,m)),M=li(M,ui(S,y)),T=k-m,D=M-y,d=m-T*P/R,p=y-D*P/R,d=ui(d,li(l,m)),p=ui(p,li(c,y)),d=li(d,ui(l,m)),p=li(p,ui(c,y)),T=m-d,D=y-p,k=m+T*R/P,M=y+D*R/P}t.bezierCurveTo(f,h,d,p,m,y),f=k,h=M}else t.lineTo(m,y)}l=m,c=y,v+=a}return g}var CA=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),nZ=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="ec-polyline",n}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new CA},e.prototype.buildPath=function(r,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&Ka(i[o*2-2],i[o*2-1]);o--);for(;a<o&&Ka(i[a*2],i[a*2+1]);a++);}for(;a<o;)a+=Yd(r,i,a,o,o,1,n.smooth,n.smoothMonotone,n.connectNulls)+1},e.prototype.getPointOn=function(r,n){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i=this.path,a=i.data,o=Cn.CMD,s,u,l=n==="x",c=[],f=0;f<a.length;){var h=a[f++],d=void 0,p=void 0,v=void 0,g=void 0,m=void 0,y=void 0,_=void 0;switch(h){case o.M:s=a[f++],u=a[f++];break;case o.L:if(d=a[f++],p=a[f++],_=l?(r-s)/(d-s):(r-u)/(p-u),_<=1&&_>=0){var b=l?(p-u)*_+u:(d-s)*_+s;return l?[r,b]:[b,r]}s=d,u=p;break;case o.C:d=a[f++],p=a[f++],v=a[f++],g=a[f++],m=a[f++],y=a[f++];var x=l?J0(s,d,v,m,r,c):J0(u,p,g,y,r,c);if(x>0)for(var w=0;w<x;w++){var S=c[w];if(S<=1&&S>=0){var b=l?pt(u,p,g,y,S):pt(s,d,v,m,S);return l?[r,b]:[b,r]}}s=m,u=y;break}}},e}(we),iZ=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e}(CA),AA=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="ec-polygon",n}return e.prototype.getDefaultShape=function(){return new iZ},e.prototype.buildPath=function(r,n){var i=n.points,a=n.stackedOnPoints,o=0,s=i.length/2,u=n.smoothMonotone;if(n.connectNulls){for(;s>0&&Ka(i[s*2-2],i[s*2-1]);s--);for(;o<s&&Ka(i[o*2],i[o*2+1]);o++);}for(;o<s;){var l=Yd(r,i,o,s,s,1,n.smooth,u,n.connectNulls);Yd(r,a,o+l-1,l,s,-1,n.stackedOnSmooth,u,n.connectNulls),o+=l+1,r.closePath()}},e}(we);function TA(t,e,r,n,i){var a=t.getArea(),o=a.x,s=a.y,u=a.width,l=a.height,c=r.get(["lineStyle","width"])||0;o-=c/2,s-=c/2,u+=c,l+=c,u=Math.ceil(u),o!==Math.floor(o)&&(o=Math.floor(o),u++);var f=new Ee({shape:{x:o,y:s,width:u,height:l}});if(e){var h=t.getBaseAxis(),d=h.isHorizontal(),p=h.inverse;d?(p&&(f.shape.x+=u),f.shape.width=0):(p||(f.shape.y+=l),f.shape.height=0);var v=te(i)?function(g){i(g,f)}:null;Ye(f,{shape:{width:u,height:l,x:o,y:s}},r,null,n,v)}return f}function DA(t,e,r){var n=t.getArea(),i=nt(n.r0,1),a=nt(n.r,1),o=new rr({shape:{cx:nt(t.cx,1),cy:nt(t.cy,1),r0:i,r:a,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});if(e){var s=t.getBaseAxis().dim==="angle";s?o.shape.endAngle=n.startAngle:o.shape.r=i,Ye(o,{shape:{endAngle:n.endAngle,r:a}},r)}return o}function jl(t,e,r,n,i){if(t){if(t.type==="polar")return DA(t,e,r);if(t.type==="cartesian2d")return TA(t,e,r,n,i)}else return null;return null}function _o(t,e){return t.type===e}function vg(t,e){if(t.length===e.length){for(var r=0;r<t.length;r++)if(t[r]!==e[r])return;return!0}}function gg(t){for(var e=1/0,r=1/0,n=-1/0,i=-1/0,a=0;a<t.length;){var o=t[a++],s=t[a++];isNaN(o)||(e=Math.min(o,e),n=Math.max(o,n)),isNaN(s)||(r=Math.min(s,r),i=Math.max(s,i))}return[[e,r],[n,i]]}function mg(t,e){var r=gg(t),n=r[0],i=r[1],a=gg(e),o=a[0],s=a[1];return Math.max(Math.abs(n[0]-o[0]),Math.abs(n[1]-o[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function yg(t){return Me(t)?t:t?.5:0}function aZ(t,e,r){if(!r.valueDim)return[];for(var n=e.count(),i=gn(n*2),a=0;a<n;a++){var o=SA(r,t,e,a);i[a*2]=o[0],i[a*2+1]=o[1]}return i}function ci(t,e,r,n,i){var a=r.getBaseAxis(),o=a.dim==="x"||a.dim==="radius"?0:1,s=[],u=0,l=[],c=[],f=[],h=[];if(i){for(u=0;u<t.length;u+=2){var d=e||t;!isNaN(d[u])&&!isNaN(d[u+1])&&h.push(t[u],t[u+1])}t=h}for(u=0;u<t.length-2;u+=2)switch(f[0]=t[u+2],f[1]=t[u+3],c[0]=t[u],c[1]=t[u+1],s.push(c[0],c[1]),n){case"end":l[o]=f[o],l[1-o]=c[1-o],s.push(l[0],l[1]);break;case"middle":var p=(c[o]+f[o])/2,v=[];l[o]=v[o]=p,l[1-o]=c[1-o],v[1-o]=f[1-o],s.push(l[0],l[1]),s.push(v[0],v[1]);break;default:l[o]=c[o],l[1-o]=f[1-o],s.push(l[0],l[1])}return s.push(t[u++],t[u++]),s}function oZ(t,e){var r=[],n=t.length,i,a;function o(c,f,h){var d=c.coord,p=(h-d)/(f.coord-d),v=cF(p,[c.color,f.color]);return{coord:h,color:v}}for(var s=0;s<n;s++){var u=t[s],l=u.coord;if(l<0)i=u;else if(l>e){a?r.push(o(a,u,e)):i&&r.push(o(i,u,0),o(i,u,e));break}else i&&(r.push(o(i,u,0)),i=null),r.push(u),a=u}return r}function sZ(t,e,r){var n=t.getVisual("visualMeta");if(!(!n||!n.length||!t.count())){if(e.type!=="cartesian2d"){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style is only supported on cartesian2d.");return}for(var i,a,o=n.length-1;o>=0;o--){var s=t.getDimensionInfo(n[o].dimension);if(i=s&&s.coordDim,i==="x"||i==="y"){a=n[o];break}}if(!a){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style only support x or y dimension.");return}var u=e.getAxis(i),l=H(a.stops,function(_){return{coord:u.toGlobalCoord(u.dataToCoord(_.value)),color:_.color}}),c=l.length,f=a.outerColors.slice();c&&l[0].coord>l[c-1].coord&&(l.reverse(),f.reverse());var h=oZ(l,i==="x"?r.getWidth():r.getHeight()),d=h.length;if(!d&&c)return l[0].coord<0?f[1]?f[1]:l[c-1].color:f[0]?f[0]:l[0].color;var p=10,v=h[0].coord-p,g=h[d-1].coord+p,m=g-v;if(m<.001)return"transparent";E(h,function(_){_.offset=(_.coord-v)/m}),h.push({offset:d?h[d-1].offset:.5,color:f[1]||"transparent"}),h.unshift({offset:d?h[0].offset:.5,color:f[0]||"transparent"});var y=new Gl(0,0,0,0,h,!0);return y[i]=v,y[i+"2"]=g,y}}function uZ(t,e,r){var n=t.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=r.getAxesByScale("ordinal")[0];if(a&&!(i&&lZ(a,e))){var o=e.mapDimension(a.dim),s={};return E(a.getViewLabels(),function(u){var l=a.scale.getRawOrdinalNumber(u.tickValue);s[l]=1}),function(u){return!s.hasOwnProperty(e.get(o,u))}}}}function lZ(t,e){var r=t.getExtent(),n=Math.abs(r[1]-r[0])/t.scale.count();isNaN(n)&&(n=0);for(var i=e.count(),a=Math.max(1,Math.round(i/5)),o=0;o<i;o+=a)if(Yl.getSymbolSize(e,o)[t.isHorizontal()?1:0]*1.5>n)return!1;return!0}function cZ(t,e){return isNaN(t)||isNaN(e)}function fZ(t){for(var e=t.length/2;e>0&&cZ(t[e*2-2],t[e*2-1]);e--);return e-1}function _g(t,e){return[t[e*2],t[e*2+1]]}function hZ(t,e,r){for(var n=t.length/2,i=r==="x"?0:1,a,o,s=0,u=-1,l=0;l<n;l++)if(o=t[l*2+i],!(isNaN(o)||isNaN(t[l*2+1-i]))){if(l===0){a=o;continue}if(a<=e&&o>=e||a>=e&&o<=e){u=l;break}s=l,a=o}return{range:[s,u],t:(e-a)/(o-a)}}function EA(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<Xt.length;e++)if(t.get([Xt[e],"endLabel","show"]))return!0;return!1}function A6(t,e,r,n){if(_o(e,"cartesian2d")){var i=n.getModel("endLabel"),a=i.get("valueAnimation"),o=n.getData(),s={lastFrameIndex:0},u=EA(n)?function(d,p){t._endLabelOnDuring(d,p,o,s,a,i,e)}:null,l=e.getBaseAxis().isHorizontal(),c=TA(e,r,n,function(){var d=t._endLabel;d&&r&&s.originalX!=null&&d.attr({x:s.originalX,y:s.originalY})},u);if(!n.get("clip",!0)){var f=c.shape,h=Math.max(f.width,f.height);l?(f.y-=h,f.height+=h*2):(f.x-=h,f.width+=h*2)}return u&&u(1,c),c}else return process.env.NODE_ENV!=="production"&&n.get(["endLabel","show"])&&console.warn("endLabel is not supported for lines in polar systems."),DA(e,r,n)}function dZ(t,e){var r=e.getBaseAxis(),n=r.isHorizontal(),i=r.inverse,a=n?i?"right":"left":"center",o=n?"middle":i?"top":"bottom";return{normal:{align:t.get("align")||a,verticalAlign:t.get("verticalAlign")||o}}}var pZ=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(){var r=new le,n=new Xl;this.group.add(n.group),this._symbolDraw=n,this._lineGroup=r,this._changePolyState=X(this._changePolyState,this)},e.prototype.render=function(r,n,i){var a=r.coordinateSystem,o=this.group,s=r.getData(),u=r.getModel("lineStyle"),l=r.getModel("areaStyle"),c=s.getLayout("points")||[],f=a.type==="polar",h=this._coordSys,d=this._symbolDraw,p=this._polyline,v=this._polygon,g=this._lineGroup,m=!n.ssr&&r.get("animation"),y=!l.isEmpty(),_=l.get("origin"),b=wA(a,s,_),x=y&&aZ(a,s,b),w=r.get("showSymbol"),S=r.get("connectNulls"),C=w&&!f&&uZ(r,s,a),A=this._data;A&&A.eachItemGraphicEl(function(K,xe){K.__temp&&(o.remove(K),A.setItemGraphicEl(xe,null))}),w||d.remove(),o.add(g);var T=f?!1:r.get("step"),D;a&&a.getArea&&r.get("clip",!0)&&(D=a.getArea(),D.width!=null?(D.x-=.1,D.y-=.1,D.width+=.2,D.height+=.2):D.r0&&(D.r0-=.5,D.r+=.5)),this._clipShapeForSymbol=D;var k=sZ(s,a,i)||s.getVisual("style")[s.getVisual("drawType")];if(!(p&&h.type===a.type&&T===this._step))w&&d.updateData(s,{isIgnore:C,clipShape:D,disableAnimation:!0,getSymbolPoint:function(K){return[c[K*2],c[K*2+1]]}}),m&&this._initSymbolLabelAnimation(s,a,D),T&&(x&&(x=ci(x,c,a,T,S)),c=ci(c,null,a,T,S)),p=this._newPolyline(c),y?v=this._newPolygon(c,x):v&&(g.remove(v),v=this._polygon=null),f||this._initOrUpdateEndLabel(r,a,oo(k)),g.setClipPath(A6(this,a,!0,r));else{y&&!v?v=this._newPolygon(c,x):v&&!y&&(g.remove(v),v=this._polygon=null),f||this._initOrUpdateEndLabel(r,a,oo(k));var M=g.getClipPath();if(M){var I=A6(this,a,!1,r);Ye(M,{shape:I.shape},r)}else g.setClipPath(A6(this,a,!0,r));w&&d.updateData(s,{isIgnore:C,clipShape:D,disableAnimation:!0,getSymbolPoint:function(K){return[c[K*2],c[K*2+1]]}}),(!vg(this._stackedOnPoints,x)||!vg(this._points,c))&&(m?this._doUpdateAnimation(s,x,a,i,T,_,S):(T&&(x&&(x=ci(x,c,a,T,S)),c=ci(c,null,a,T,S)),p.setShape({points:c}),v&&v.setShape({points:c,stackedOnPoints:x})))}var N=r.getModel("emphasis"),L=N.get("focus"),O=N.get("blurScope"),P=N.get("disabled");if(p.useStyle(ae(u.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"})),kt(p,r,"lineStyle"),p.style.lineWidth>0&&r.get(["emphasis","lineStyle","width"])==="bolder"){var R=p.getState("emphasis").style;R.lineWidth=+p.style.lineWidth+1}ce(p).seriesIndex=r.seriesIndex,Je(p,L,O,P);var B=yg(r.get("smooth")),z=r.get("smoothMonotone");if(p.setShape({smooth:B,smoothMonotone:z,connectNulls:S}),v){var V=s.getCalculationInfo("stackedOnSeries"),U=0;v.useStyle(ae(l.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),V&&(U=yg(V.get("smooth"))),v.setShape({smooth:B,stackedOnSmooth:U,smoothMonotone:z,connectNulls:S}),kt(v,r,"areaStyle"),ce(v).seriesIndex=r.seriesIndex,Je(v,L,O,P)}var q=this._changePolyState;s.eachItemGraphicEl(function(K){K&&(K.onHoverStateChange=q)}),this._polyline.onHoverStateChange=q,this._data=s,this._coordSys=a,this._stackedOnPoints=x,this._points=c,this._step=T,this._valueOrigin=_,r.get("triggerLineEvent")&&(this.packEventData(r,p),v&&this.packEventData(r,v))},e.prototype.packEventData=function(r,n){ce(n).eventData={componentType:"series",componentSubType:"line",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"line"}},e.prototype.highlight=function(r,n,i,a){var o=r.getData(),s=no(o,a);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var u=o.getLayout("points"),l=o.getItemGraphicEl(s);if(!l){var c=u[s*2],f=u[s*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var h=r.get("zlevel")||0,d=r.get("z")||0;l=new Yl(o,s),l.x=c,l.y=f,l.setZ(h,d);var p=l.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=d,p.z2=this._polyline.z2+1),l.__temp=!0,o.setItemGraphicEl(s,l),l.stopSymbolAnimation(!0),this.group.add(l)}l.highlight()}else qe.prototype.highlight.call(this,r,n,i,a)},e.prototype.downplay=function(r,n,i,a){var o=r.getData(),s=no(o,a);if(this._changePolyState("normal"),s!=null&&s>=0){var u=o.getItemGraphicEl(s);u&&(u.__temp?(o.setItemGraphicEl(s,null),this.group.remove(u)):u.downplay())}else qe.prototype.downplay.call(this,r,n,i,a)},e.prototype._changePolyState=function(r){var n=this._polygon;oc(this._polyline,r),n&&oc(n,r)},e.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new nZ({shape:{points:r},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},e.prototype._newPolygon=function(r,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new AA({shape:{points:r,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},e.prototype._initSymbolLabelAnimation=function(r,n,i){var a,o,s=n.getBaseAxis(),u=s.inverse;n.type==="cartesian2d"?(a=s.isHorizontal(),o=!1):n.type==="polar"&&(a=s.dim==="angle",o=!0);var l=r.hostModel,c=l.get("animationDuration");te(c)&&(c=c(null));var f=l.get("animationDelay")||0,h=te(f)?f(null):f;r.eachItemGraphicEl(function(d,p){var v=d;if(v){var g=[d.x,d.y],m=void 0,y=void 0,_=void 0;if(i)if(o){var b=i,x=n.pointToCoord(g);a?(m=b.startAngle,y=b.endAngle,_=-x[1]/180*Math.PI):(m=b.r0,y=b.r,_=x[0])}else{var w=i;a?(m=w.x,y=w.x+w.width,_=d.x):(m=w.y+w.height,y=w.y,_=d.y)}var S=y===m?0:(_-m)/(y-m);u&&(S=1-S);var C=te(f)?f(p):c*S+h,A=v.getSymbolPath(),T=A.getTextContent();v.attr({scaleX:0,scaleY:0}),v.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:C}),T&&T.animateFrom({style:{opacity:0}},{duration:300,delay:C}),A.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(r,n,i){var a=r.getModel("endLabel");if(EA(r)){var o=r.getData(),s=this._polyline,u=o.getLayout("points");if(!u){s.removeTextContent(),this._endLabel=null;return}var l=this._endLabel;l||(l=this._endLabel=new ke({z2:200}),l.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=fZ(u);c>=0&&(Mt(s,gt(r,"endLabel"),{inheritColor:i,labelFetcher:r,labelDataIndex:c,defaultText:function(f,h,d){return d!=null?xA(o,d):ws(o,f)},enableTextSetter:!0},dZ(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(r,n,i,a,o,s,u){var l=this._endLabel,c=this._polyline;if(l){r<1&&a.originalX==null&&(a.originalX=l.x,a.originalY=l.y);var f=i.getLayout("points"),h=i.hostModel,d=h.get("connectNulls"),p=s.get("precision"),v=s.get("distance")||0,g=u.getBaseAxis(),m=g.isHorizontal(),y=g.inverse,_=n.shape,b=y?m?_.x:_.y+_.height:m?_.x+_.width:_.y,x=(m?v:0)*(y?-1:1),w=(m?0:-v)*(y?-1:1),S=m?"x":"y",C=hZ(f,b,S),A=C.range,T=A[1]-A[0],D=void 0;if(T>=1){if(T>1&&!d){var k=_g(f,A[0]);l.attr({x:k[0]+x,y:k[1]+w}),o&&(D=h.getRawValue(A[0]))}else{var k=c.getPointOn(b,S);k&&l.attr({x:k[0]+x,y:k[1]+w});var M=h.getRawValue(A[0]),I=h.getRawValue(A[1]);o&&(D=Xx(i,p,M,I,C.t))}a.lastFrameIndex=A[0]}else{var N=r===1||a.lastFrameIndex>0?A[0]:0,k=_g(f,N);o&&(D=h.getRawValue(N)),l.attr({x:k[0]+x,y:k[1]+w})}if(o){var L=Rs(l);typeof L.setLabelText=="function"&&L.setLabelText(D)}}},e.prototype._doUpdateAnimation=function(r,n,i,a,o,s,u){var l=this._polyline,c=this._polygon,f=r.hostModel,h=rZ(this._data,r,this._stackedOnPoints,n,this._coordSys,i,this._valueOrigin),d=h.current,p=h.stackedOnCurrent,v=h.next,g=h.stackedOnNext;if(o&&(p=ci(h.stackedOnCurrent,h.current,i,o,u),d=ci(h.current,null,i,o,u),g=ci(h.stackedOnNext,h.next,i,o,u),v=ci(h.next,null,i,o,u)),mg(d,v)>3e3||c&&mg(p,g)>3e3){l.stopAnimation(),l.setShape({points:v}),c&&(c.stopAnimation(),c.setShape({points:v,stackedOnPoints:g}));return}l.shape.__points=h.current,l.shape.points=d;var m={shape:{points:v}};h.current!==d&&(m.shape.__points=h.next),l.stopAnimation(),Ie(l,m,f),c&&(c.setShape({points:d,stackedOnPoints:p}),c.stopAnimation(),Ie(c,{shape:{stackedOnPoints:g}},f),l.shape.points!==c.shape.points&&(c.shape.points=l.shape.points));for(var y=[],_=h.status,b=0;b<_.length;b++){var x=_[b].cmd;if(x==="="){var w=r.getItemGraphicEl(_[b].idx1);w&&y.push({el:w,ptIdx:b})}}l.animators&&l.animators.length&&l.animators[0].during(function(){c&&c.dirtyShape();for(var S=l.shape.__points,C=0;C<y.length;C++){var A=y[C].el,T=y[C].ptIdx*2;A.x=S[T],A.y=S[T+1],A.markRedraw()}})},e.prototype.remove=function(r){var n=this.group,i=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),i&&i.eachItemGraphicEl(function(a,o){a.__temp&&(n.remove(a),i.setItemGraphicEl(o,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(qe);const vZ=pZ;function Kl(t,e){return{seriesType:t,plan:$s(),reset:function(r){var n=r.getData(),i=r.coordinateSystem,a=r.pipelineContext,o=e||a.large;if(i){var s=H(i.dimensions,function(d){return n.mapDimension(d)}).slice(0,2),u=s.length,l=n.getCalculationInfo("stackResultDimension");Hi(n,s[0])&&(s[0]=l),Hi(n,s[1])&&(s[1]=l);var c=n.getStore(),f=n.getDimensionIndex(s[0]),h=n.getDimensionIndex(s[1]);return u&&{progress:function(d,p){for(var v=d.end-d.start,g=o&&gn(v*u),m=[],y=[],_=d.start,b=0;_<d.end;_++){var x=void 0;if(u===1){var w=c.get(f,_);x=i.dataToPoint(w,null,y)}else m[0]=c.get(f,_),m[1]=c.get(h,_),x=i.dataToPoint(m,null,y);o?(g[b++]=x[0],g[b++]=x[1]):p.setItemLayout(_,x.slice())}o&&p.setLayout("points",g)}}}}}}var gZ={average:function(t){for(var e=0,r=0,n=0;n<t.length;n++)isNaN(t[n])||(e+=t[n],r++);return r===0?NaN:e/r},sum:function(t){for(var e=0,r=0;r<t.length;r++)e+=t[r]||0;return e},max:function(t){for(var e=-1/0,r=0;r<t.length;r++)t[r]>e&&(e=t[r]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,r=0;r<t.length;r++)t[r]<e&&(e=t[r]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},mZ=function(t){return Math.round(t.length/2)};function kA(t){return{seriesType:t,reset:function(e,r,n){var i=e.getData(),a=e.get("sampling"),o=e.coordinateSystem,s=i.count();if(s>10&&o.type==="cartesian2d"&&a){var u=o.getBaseAxis(),l=o.getOtherAxis(u),c=u.getExtent(),f=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(f||1),d=Math.round(s/h);if(isFinite(d)&&d>1){a==="lttb"?e.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d)):a==="minmax"&&e.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/d));var p=void 0;Z(a)?p=gZ[a]:te(a)&&(p=a),p&&e.setData(i.downSample(i.mapDimension(l.dim),1/d,p,mZ))}}}}}function yZ(t){t.registerChartView(vZ),t.registerSeriesModel(jq),t.registerLayout(Kl("line",!0)),t.registerVisual({seriesType:"line",reset:function(e){var r=e.getData(),n=e.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=r.getVisual("style").fill),r.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,kA("line"))}var MA=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.getInitialData=function(r,n){return Jn(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(r,n,i){var a=this.coordinateSystem;if(a&&a.clampData){var o=a.clampData(r),s=a.dataToPoint(o);if(i)E(a.getAxes(),function(h,d){if(h.type==="category"&&n!=null){var p=h.getTicksCoords(),v=h.getTickModel().get("alignWithLabel"),g=o[d],m=n[d]==="x1"||n[d]==="y1";if(m&&!v&&(g+=1),p.length<2)return;if(p.length===2){s[d]=h.toGlobalCoord(h.getExtent()[m?1:0]);return}for(var y=void 0,_=void 0,b=1,x=0;x<p.length;x++){var w=p[x].coord,S=x===p.length-1?p[x-1].tickValue+b:p[x].tickValue;if(S===g){_=w;break}else if(S<g)y=w;else if(y!=null&&S>g){_=(w+y)/2;break}x===1&&(b=S-p[0].tickValue)}_==null&&(y?y&&(_=p[p.length-1].coord):_=p[0].coord),s[d]=h.toGlobalCoord(_)}});else{var u=this.getData(),l=u.getLayout("offset"),c=u.getLayout("size"),f=a.getBaseAxis().isHorizontal()?0:1;s[f]+=l+c/2}return s}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(je);je.registerClass(MA);const Dc=MA;var _Z=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.getInitialData=function(){return Jn(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},e.prototype.getProgressiveThreshold=function(){var r=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>r&&(r=n),r},e.prototype.brushSelector=function(r,n,i){return i.rect(n.getItemLayout(r))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=ji(Dc.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(Dc);const bZ=_Z;var xZ=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return t}(),wZ=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="sausage",n}return e.prototype.getDefaultShape=function(){return new xZ},e.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.max(n.r0||0,0),s=Math.max(n.r,0),u=(s-o)*.5,l=o+u,c=n.startAngle,f=n.endAngle,h=n.clockwise,d=Math.PI*2,p=h?f-c<d:c-f<d;p||(c=f-(h?d:-d));var v=Math.cos(c),g=Math.sin(c),m=Math.cos(f),y=Math.sin(f);p?(r.moveTo(v*o+i,g*o+a),r.arc(v*l+i,g*l+a,u,-Math.PI+c,c,!h)):r.moveTo(v*s+i,g*s+a),r.arc(i,a,s,c,f,!h),r.arc(m*l+i,y*l+a,u,f-Math.PI*2,f-Math.PI,!h),o!==0&&r.arc(i,a,o,f,c,h)},e}(we);const Ec=wZ;function SZ(t,e){e=e||{};var r=e.isRoundCap;return function(n,i,a){var o=i.position;if(!o||o instanceof Array)return ic(n,i,a);var s=t(o),u=i.distance!=null?i.distance:5,l=this.shape,c=l.cx,f=l.cy,h=l.r,d=l.r0,p=(h+d)/2,v=l.startAngle,g=l.endAngle,m=(v+g)/2,y=r?Math.abs(h-d)/2:0,_=Math.cos,b=Math.sin,x=c+h*_(v),w=f+h*b(v),S="left",C="top";switch(s){case"startArc":x=c+(d-u)*_(m),w=f+(d-u)*b(m),S="center",C="top";break;case"insideStartArc":x=c+(d+u)*_(m),w=f+(d+u)*b(m),S="center",C="bottom";break;case"startAngle":x=c+p*_(v)+J1(v,u+y,!1),w=f+p*b(v)+e0(v,u+y,!1),S="right",C="middle";break;case"insideStartAngle":x=c+p*_(v)+J1(v,-u+y,!1),w=f+p*b(v)+e0(v,-u+y,!1),S="left",C="middle";break;case"middle":x=c+p*_(m),w=f+p*b(m),S="center",C="middle";break;case"endArc":x=c+(h+u)*_(m),w=f+(h+u)*b(m),S="center",C="bottom";break;case"insideEndArc":x=c+(h-u)*_(m),w=f+(h-u)*b(m),S="center",C="top";break;case"endAngle":x=c+p*_(g)+J1(g,u+y,!0),w=f+p*b(g)+e0(g,u+y,!0),S="left",C="middle";break;case"insideEndAngle":x=c+p*_(g)+J1(g,-u+y,!0),w=f+p*b(g)+e0(g,-u+y,!0),S="right",C="middle";break;default:return ic(n,i,a)}return n=n||{},n.x=x,n.y=w,n.align=S,n.verticalAlign=C,n}}function CZ(t,e,r,n){if(Me(n)){t.setTextConfig({rotation:n});return}else if(G(e)){t.setTextConfig({rotation:0});return}var i=t.shape,a=i.clockwise?i.startAngle:i.endAngle,o=i.clockwise?i.endAngle:i.startAngle,s=(a+o)/2,u,l=r(e);switch(l){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":u=s;break;case"startAngle":case"insideStartAngle":u=a;break;case"endAngle":case"insideEndAngle":u=o;break;default:t.setTextConfig({rotation:0});return}var c=Math.PI*1.5-u;l==="middle"&&c>Math.PI/2&&c<Math.PI*1.5&&(c-=Math.PI),t.setTextConfig({rotation:c})}function J1(t,e,r){return e*Math.sin(t)*(r?-1:1)}function e0(t,e,r){return e*Math.cos(t)*(r?1:-1)}function Ga(t,e,r){var n=t.get("borderRadius");if(n==null)return r?{cornerRadius:0}:null;G(n)||(n=[n,n,n,n]);var i=Math.abs(e.r||0-e.r0||0);return{cornerRadius:H(n,function(a){return jr(a,i)})}}var T6=Math.max,D6=Math.min;function AZ(t,e){var r=t.getArea&&t.getArea();if(_o(t,"cartesian2d")){var n=t.getBaseAxis();if(n.type!=="category"||!n.onBand){var i=e.getLayout("bandWidth");n.isHorizontal()?(r.x-=i,r.width+=i*2):(r.y-=i,r.height+=i*2)}}return r}var TZ=function(t){F(e,t);function e(){var r=t.call(this)||this;return r.type=e.type,r._isFirstFrame=!0,r}return e.prototype.render=function(r,n,i,a){this._model=r,this._removeOnRenderedListener(i),this._updateDrawMode(r);var o=r.get("coordinateSystem");o==="cartesian2d"||o==="polar"?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(r,n,i):this._renderNormal(r,n,i,a)):process.env.NODE_ENV!=="production"&&Qe("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(r){this._clear(),this._updateDrawMode(r),this._updateLargeClip(r)},e.prototype.incrementalRender=function(r,n){this._progressiveEls=[],this._incrementalRenderLarge(r,n)},e.prototype.eachRendered=function(r){Xi(this._progressiveEls||this.group,r)},e.prototype._updateDrawMode=function(r){var n=r.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},e.prototype._renderNormal=function(r,n,i,a){var o=this.group,s=r.getData(),u=this._data,l=r.coordinateSystem,c=l.getBaseAxis(),f;l.type==="cartesian2d"?f=c.isHorizontal():l.type==="polar"&&(f=c.dim==="angle");var h=r.isAnimationEnabled()?r:null,d=DZ(r,l);d&&this._enableRealtimeSort(d,s,i);var p=r.get("clip",!0)||d,v=AZ(l,s);o.removeClipPath();var g=r.get("roundCap",!0),m=r.get("showBackground",!0),y=r.getModel("backgroundStyle"),_=y.get("borderRadius")||0,b=[],x=this._backgroundEls,w=a&&a.isInitSort,S=a&&a.type==="changeAxisOrder";function C(D){var k=t0[l.type](s,D),M=RZ(l,f,k);return M.useStyle(y.getItemStyle()),l.type==="cartesian2d"?M.setShape("r",_):M.setShape("cornerRadius",_),b[D]=M,M}s.diff(u).add(function(D){var k=s.getItemModel(D),M=t0[l.type](s,D,k);if(m&&C(D),!(!s.hasValue(D)||!Cg[l.type](M))){var I=!1;p&&(I=bg[l.type](v,M));var N=xg[l.type](r,s,D,M,f,h,c.model,!1,g);d&&(N.forceLabelAnimation=!0),Ag(N,s,D,k,M,r,f,l.type==="polar"),w?N.attr({shape:M}):d?wg(d,h,N,M,D,f,!1,!1):Ye(N,{shape:M},r,D),s.setItemGraphicEl(D,N),o.add(N),N.ignore=I}}).update(function(D,k){var M=s.getItemModel(D),I=t0[l.type](s,D,M);if(m){var N=void 0;x.length===0?N=C(k):(N=x[k],N.useStyle(y.getItemStyle()),l.type==="cartesian2d"?N.setShape("r",_):N.setShape("cornerRadius",_),b[D]=N);var L=t0[l.type](s,D),O=IA(f,L,l);Ie(N,{shape:O},h,D)}var P=u.getItemGraphicEl(k);if(!s.hasValue(D)||!Cg[l.type](I)){o.remove(P);return}var R=!1;if(p&&(R=bg[l.type](v,I),R&&o.remove(P)),P?Qr(P):P=xg[l.type](r,s,D,I,f,h,c.model,!!P,g),d&&(P.forceLabelAnimation=!0),S){var B=P.getTextContent();if(B){var z=Rs(B);z.prevValue!=null&&(z.prevValue=z.value)}}else Ag(P,s,D,M,I,r,f,l.type==="polar");w?P.attr({shape:I}):d?wg(d,h,P,I,D,f,!0,S):Ie(P,{shape:I},r,D,null),s.setItemGraphicEl(D,P),P.ignore=R,o.add(P)}).remove(function(D){var k=u.getItemGraphicEl(D);k&&gl(k,r,D)}).execute();var A=this._backgroundGroup||(this._backgroundGroup=new le);A.removeAll();for(var T=0;T<b.length;++T)A.add(b[T]);o.add(A),this._backgroundEls=b,this._data=s},e.prototype._renderLarge=function(r,n,i){this._clear(),Dg(r,this.group),this._updateLargeClip(r)},e.prototype._incrementalRenderLarge=function(r,n){this._removeBackground(),Dg(n,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(r){var n=r.get("clip",!0)&&jl(r.coordinateSystem,!1,r),i=this.group;n?i.setClipPath(n):i.removeClipPath()},e.prototype._enableRealtimeSort=function(r,n,i){var a=this;if(n.count()){var o=r.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(n,r,i),this._isFirstFrame=!1;else{var s=function(u){var l=n.getItemGraphicEl(u),c=l&&l.shape;return c&&Math.abs(o.isHorizontal()?c.height:c.width)||0};this._onRendered=function(){a._updateSortWithinSameData(n,s,o,i)},i.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(r,n,i){var a=[];return r.each(r.mapDimension(n.dim),function(o,s){var u=i(s);u=u??NaN,a.push({dataIndex:s,mappedValue:u,ordinalNumber:o})}),a.sort(function(o,s){return s.mappedValue-o.mappedValue}),{ordinalNumbers:H(a,function(o){return o.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(r,n,i){for(var a=i.scale,o=r.mapDimension(i.dim),s=Number.MAX_VALUE,u=0,l=a.getOrdinalMeta().categories.length;u<l;++u){var c=r.rawIndexOf(o,a.getRawOrdinalNumber(u)),f=c<0?Number.MIN_VALUE:n(r.indexOfRawIndex(c));if(f>s)return!0;s=f}return!1},e.prototype._isOrderDifferentInView=function(r,n){for(var i=n.scale,a=i.getExtent(),o=Math.max(0,a[0]),s=Math.min(a[1],i.getOrdinalMeta().categories.length-1);o<=s;++o)if(r.ordinalNumbers[o]!==i.getRawOrdinalNumber(o))return!0},e.prototype._updateSortWithinSameData=function(r,n,i,a){if(this._isOrderChangedWithinSameData(r,n,i)){var o=this._dataSort(r,i,n);this._isOrderDifferentInView(o,i)&&(this._removeOnRenderedListener(a),a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",axisId:i.index,sortInfo:o}))}},e.prototype._dispatchInitSort=function(r,n,i){var a=n.baseAxis,o=this._dataSort(r,a,function(s){return r.get(r.mapDimension(n.otherAxis.dim),s)});i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",isInitSort:!0,axisId:a.index,sortInfo:o})},e.prototype.remove=function(r,n){this._clear(this._model),this._removeOnRenderedListener(n)},e.prototype.dispose=function(r,n){this._removeOnRenderedListener(n)},e.prototype._removeOnRenderedListener=function(r){this._onRendered&&(r.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(r){var n=this.group,i=this._data;r&&r.isAnimationEnabled()&&i&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],i.eachItemGraphicEl(function(a){gl(a,r,ce(a).dataIndex)})):n.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(qe),bg={cartesian2d:function(t,e){var r=e.width<0?-1:1,n=e.height<0?-1:1;r<0&&(e.x+=e.width,e.width=-e.width),n<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,a=t.y+t.height,o=T6(e.x,t.x),s=D6(e.x+e.width,i),u=T6(e.y,t.y),l=D6(e.y+e.height,a),c=s<o,f=l<u;return e.x=c&&o>i?s:o,e.y=f&&u>a?l:u,e.width=c?0:s-o,e.height=f?0:l-u,r<0&&(e.x+=e.width,e.width=-e.width),n<0&&(e.y+=e.height,e.height=-e.height),c||f},polar:function(t,e){var r=e.r0<=e.r?1:-1;if(r<0){var n=e.r;e.r=e.r0,e.r0=n}var i=D6(e.r,t.r),a=T6(e.r0,t.r0);e.r=i,e.r0=a;var o=i-a<0;if(r<0){var n=e.r;e.r=e.r0,e.r0=n}return o}},xg={cartesian2d:function(t,e,r,n,i,a,o,s,u){var l=new Ee({shape:$({},n),z2:1});if(l.__dataIndex=r,l.name="item",a){var c=l.shape,f=i?"height":"width";c[f]=0}return l},polar:function(t,e,r,n,i,a,o,s,u){var l=!i&&u?Ec:rr,c=new l({shape:n,z2:1});c.name="item";var f=LA(i);if(c.calculateTextPosition=SZ(f,{isRoundCap:l===Ec}),a){var h=c.shape,d=i?"r":"endAngle",p={};h[d]=i?n.r0:n.startAngle,p[d]=n[d],(s?Ie:Ye)(c,{shape:p},a)}return c}};function DZ(t,e){var r=t.get("realtimeSort",!0),n=e.getBaseAxis();if(process.env.NODE_ENV!=="production"&&r&&(n.type!=="category"&&Qe("`realtimeSort` will not work because this bar series is not based on a category axis."),e.type!=="cartesian2d"&&Qe("`realtimeSort` will not work because this bar series is not on cartesian2d.")),r&&n.type==="category"&&e.type==="cartesian2d")return{baseAxis:n,otherAxis:e.getOtherAxis(n)}}function wg(t,e,r,n,i,a,o,s){var u,l;a?(l={x:n.x,width:n.width},u={y:n.y,height:n.height}):(l={y:n.y,height:n.height},u={x:n.x,width:n.width}),s||(o?Ie:Ye)(r,{shape:u},e,i,null);var c=e?t.baseAxis.model:null;(o?Ie:Ye)(r,{shape:l},c,i)}function Sg(t,e){for(var r=0;r<e.length;r++)if(!isFinite(t[e[r]]))return!0;return!1}var EZ=["x","y","width","height"],kZ=["cx","cy","r","startAngle","endAngle"],Cg={cartesian2d:function(t){return!Sg(t,EZ)},polar:function(t){return!Sg(t,kZ)}},t0={cartesian2d:function(t,e,r){var n=t.getItemLayout(e),i=r?LZ(r,n):0,a=n.width>0?1:-1,o=n.height>0?1:-1;return{x:n.x+a*i/2,y:n.y+o*i/2,width:n.width-a*i,height:n.height-o*i}},polar:function(t,e,r){var n=t.getItemLayout(e);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function MZ(t){return t.startAngle!=null&&t.endAngle!=null&&t.startAngle===t.endAngle}function LA(t){return function(e){var r=e?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+r;default:return n}}}(t)}function Ag(t,e,r,n,i,a,o,s){var u=e.getItemVisual(r,"style");if(s){if(!a.get("roundCap")){var c=t.shape,f=Ga(n.getModel("itemStyle"),c,!0);$(c,f),t.setShape(c)}}else{var l=n.get(["itemStyle","borderRadius"])||0;t.setShape("r",l)}t.useStyle(u);var h=n.getShallow("cursor");h&&t.attr("cursor",h);var d=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",p=gt(n);Mt(t,p,{labelFetcher:a,labelDataIndex:r,defaultText:ws(a.getData(),r),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:d});var v=t.getTextContent();if(s&&v){var g=n.get(["label","position"]);t.textConfig.inside=g==="middle"?!0:null,CZ(t,g==="outside"?d:g,LA(o),n.get(["label","rotate"]))}Ww(v,p,a.getRawValue(r),function(y){return xA(e,y)});var m=n.getModel(["emphasis"]);Je(t,m.get("focus"),m.get("blurScope"),m.get("disabled")),kt(t,n),MZ(i)&&(t.style.fill="none",t.style.stroke="none",E(t.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function LZ(t,e){var r=t.get(["itemStyle","borderColor"]);if(!r||r==="none")return 0;var n=t.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(n,i,a)}var IZ=function(){function t(){}return t}(),Tg=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="largeBar",n}return e.prototype.getDefaultShape=function(){return new IZ},e.prototype.buildPath=function(r,n){for(var i=n.points,a=this.baseDimIdx,o=1-this.baseDimIdx,s=[],u=[],l=this.barWidth,c=0;c<i.length;c+=3)u[a]=l,u[o]=i[c+2],s[a]=i[c+a],s[o]=i[c+o],r.rect(s[0],s[1],u[0],u[1])},e}(we);function Dg(t,e,r,n){var i=t.getData(),a=i.getLayout("valueAxisHorizontal")?1:0,o=i.getLayout("largeDataIndices"),s=i.getLayout("size"),u=t.getModel("backgroundStyle"),l=i.getLayout("largeBackgroundPoints");if(l){var c=new Tg({shape:{points:l},incremental:!!n,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(u.getItemStyle()),e.add(c),r&&r.push(c)}var f=new Tg({shape:{points:i.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=a,f.largeDataIndices=o,f.barWidth=s,e.add(f),f.useStyle(i.getVisual("style")),f.style.stroke=null,ce(f).seriesIndex=t.seriesIndex,t.get("silent")||(f.on("mousedown",Eg),f.on("mousemove",Eg)),r&&r.push(f)}var Eg=G5(function(t){var e=this,r=PZ(e,t.offsetX,t.offsetY);ce(e).dataIndex=r>=0?r:null},30,!1);function PZ(t,e,r){for(var n=t.baseDimIdx,i=1-n,a=t.shape.points,o=t.largeDataIndices,s=[],u=[],l=t.barWidth,c=0,f=a.length/3;c<f;c++){var h=c*3;if(u[n]=l,u[i]=a[h+2],s[n]=a[h+n],s[i]=a[h+i],u[i]<0&&(s[i]+=u[i],u[i]=-u[i]),e>=s[0]&&e<=s[0]+u[0]&&r>=s[1]&&r<=s[1]+u[1])return o[c]}return-1}function IA(t,e,r){if(_o(r,"cartesian2d")){var n=e,i=r.getArea();return{x:t?n.x:i.x,y:t?i.y:n.y,width:t?n.width:i.width,height:t?i.height:n.height}}else{var i=r.getArea(),a=e;return{cx:i.cx,cy:i.cy,r0:t?i.r0:a.r0,r:t?i.r:a.r,startAngle:t?a.startAngle:0,endAngle:t?a.endAngle:Math.PI*2}}}function RZ(t,e,r){var n=t.type==="polar"?rr:Ee;return new n({shape:IA(e,r,t),silent:!0,z2:0})}const NZ=TZ;function OZ(t){t.registerChartView(NZ),t.registerSeriesModel(bZ),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,ve(RC,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,NC("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,kA("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(e,r){var n=e.componentType||"series";r.eachComponent({mainType:n,query:e},function(i){e.sortInfo&&i.axis.setCategorySortInfo(e.sortInfo)})})}var kg=Math.PI*2,r0=Math.PI/180;function PA(t,e){return dt(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function RA(t,e){var r=PA(t,e),n=t.get("center"),i=t.get("radius");G(i)||(i=[0,i]);var a=W(r.width,e.getWidth()),o=W(r.height,e.getHeight()),s=Math.min(a,o),u=W(i[0],s/2),l=W(i[1],s/2),c,f,h=t.coordinateSystem;if(h){var d=h.dataToPoint(n);c=d[0]||0,f=d[1]||0}else G(n)||(n=[n,n]),c=W(n[0],a)+r.x,f=W(n[1],o)+r.y;return{cx:c,cy:f,r0:u,r:l}}function BZ(t,e,r){e.eachSeriesByType(t,function(n){var i=n.getData(),a=i.mapDimension("value"),o=PA(n,r),s=RA(n,r),u=s.cx,l=s.cy,c=s.r,f=s.r0,h=-n.get("startAngle")*r0,d=n.get("endAngle"),p=n.get("padAngle")*r0;d=d==="auto"?h-kg:-d*r0;var v=n.get("minAngle")*r0,g=v+p,m=0;i.each(a,function(O){!isNaN(O)&&m++});var y=i.getSum(a),_=Math.PI/(y||m)*2,b=n.get("clockwise"),x=n.get("roseType"),w=n.get("stillShowZeroSum"),S=i.getDataExtent(a);S[0]=0;var C=b?1:-1,A=[h,d],T=C*p/2;p5(A,!b),h=A[0],d=A[1];var D=NA(n);D.startAngle=h,D.endAngle=d,D.clockwise=b;var k=Math.abs(d-h),M=k,I=0,N=h;if(i.setLayout({viewRect:o,r:c}),i.each(a,function(O,P){var R;if(isNaN(O)){i.setItemLayout(P,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:b,cx:u,cy:l,r0:f,r:x?NaN:c});return}x!=="area"?R=y===0&&w?_:O*_:R=k/m,R<g?(R=g,M-=g):I+=O;var B=N+C*R,z=0,V=0;p>R?(z=N+C*R/2,V=z):(z=N+T,V=B-T),i.setItemLayout(P,{angle:R,startAngle:z,endAngle:V,clockwise:b,cx:u,cy:l,r0:f,r:x?Be(O,S,[f,c]):c}),N=B}),M<kg&&m)if(M<=.001){var L=k/m;i.each(a,function(O,P){if(!isNaN(O)){var R=i.getItemLayout(P);R.angle=L;var B=0,z=0;L<p?(B=h+C*(P+1/2)*L,z=B):(B=h+C*P*L+T,z=h+C*(P+1)*L-T),R.startAngle=B,R.endAngle=z}})}else _=M/I,N=h,i.each(a,function(O,P){if(!isNaN(O)){var R=i.getItemLayout(P),B=R.angle===g?g:O*_,z=0,V=0;B<p?(z=N+C*B/2,V=z):(z=N+T,V=N+C*B-T),R.startAngle=z,R.endAngle=V,N+=C*B}})})}var NA=Ae();function Ql(t){return{seriesType:t,reset:function(e,r){var n=r.findComponents({mainType:"legend"});if(!(!n||!n.length)){var i=e.getData();i.filterSelf(function(a){for(var o=i.getName(a),s=0;s<n.length;s++)if(!n[s].isSelected(o))return!1;return!0})}}}}var FZ=Math.PI/180;function Mg(t,e,r,n,i,a,o,s,u,l){if(t.length<2)return;function c(v){for(var g=v.rB,m=g*g,y=0;y<v.list.length;y++){var _=v.list[y],b=Math.abs(_.label.y-r),x=n+_.len,w=x*x,S=Math.sqrt(Math.abs((1-b*b/m)*w)),C=e+(S+_.len2)*i,A=C-_.label.x,T=_.targetTextWidth-A*i;OA(_,T,!0),_.label.x=C}}function f(v){for(var g={list:[],maxY:0},m={list:[],maxY:0},y=0;y<v.length;y++)if(v[y].labelAlignTo==="none"){var _=v[y],b=_.label.y>r?m:g,x=Math.abs(_.label.y-r);if(x>=b.maxY){var w=_.label.x-e-_.len2*i,S=n+_.len,C=Math.abs(w)<S?Math.sqrt(x*x/(1-w*w/S/S)):S;b.rB=C,b.maxY=x}b.list.push(_)}c(g),c(m)}for(var h=t.length,d=0;d<h;d++)if(t[d].position==="outer"&&t[d].labelAlignTo==="labelLine"){var p=t[d].label.x-l;t[d].linePoints[1][0]+=p,t[d].label.x=l}iA(t,u,u+o)&&f(t)}function zZ(t,e,r,n,i,a,o,s){for(var u=[],l=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,h=0;h<t.length;h++){var d=t[h].label;E6(t[h])||(d.x<e?(c=Math.min(c,d.x),u.push(t[h])):(f=Math.max(f,d.x),l.push(t[h])))}for(var h=0;h<t.length;h++){var p=t[h];if(!E6(p)&&p.linePoints){if(p.labelStyleWidth!=null)continue;var d=p.label,v=p.linePoints,g=void 0;p.labelAlignTo==="edge"?d.x<e?g=v[2][0]-p.labelDistance-o-p.edgeDistance:g=o+i-p.edgeDistance-v[2][0]-p.labelDistance:p.labelAlignTo==="labelLine"?d.x<e?g=c-o-p.bleedMargin:g=o+i-f-p.bleedMargin:d.x<e?g=d.x-o-p.bleedMargin:g=o+i-d.x-p.bleedMargin,p.targetTextWidth=g,OA(p,g)}}Mg(l,e,r,n,1,i,a,o,s,f),Mg(u,e,r,n,-1,i,a,o,s,c);for(var h=0;h<t.length;h++){var p=t[h];if(!E6(p)&&p.linePoints){var d=p.label,v=p.linePoints,m=p.labelAlignTo==="edge",y=d.style.padding,_=y?y[1]+y[3]:0,b=d.style.backgroundColor?0:_,x=p.rect.width+b,w=v[1][0]-v[2][0];m?d.x<e?v[2][0]=o+p.edgeDistance+x+p.labelDistance:v[2][0]=o+i-p.edgeDistance-x-p.labelDistance:(d.x<e?v[2][0]=d.x+p.labelDistance:v[2][0]=d.x-p.labelDistance,v[1][0]=v[2][0]+w),v[1][1]=v[2][1]=d.y}}}function OA(t,e,r){if(r===void 0&&(r=!1),t.labelStyleWidth==null){var n=t.label,i=n.style,a=t.rect,o=i.backgroundColor,s=i.padding,u=s?s[1]+s[3]:0,l=i.overflow,c=a.width+(o?0:u);if(e<c||r){var f=a.height;if(l&&l.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",e-u);var h=n.getBoundingRect();n.setStyle("width",Math.ceil(h.width)),n.setStyle("backgroundColor",o)}else{var d=e-u,p=e<c?d:r?d>t.unconstrainedWidth?null:d:null;n.setStyle("width",p)}var v=n.getBoundingRect();a.width=v.width;var g=(n.style.margin||0)+2.1;a.height=v.height+g,a.y-=(a.height-f)/2}}}function E6(t){return t.position==="center"}function VZ(t){var e=t.getData(),r=[],n,i,a=!1,o=(t.get("minShowLabelAngle")||0)*FZ,s=e.getLayout("viewRect"),u=e.getLayout("r"),l=s.width,c=s.x,f=s.y,h=s.height;function d(w){w.ignore=!0}function p(w){if(!w.ignore)return!0;for(var S in w.states)if(w.states[S].ignore===!1)return!0;return!1}e.each(function(w){var S=e.getItemGraphicEl(w),C=S.shape,A=S.getTextContent(),T=S.getTextGuideLine(),D=e.getItemModel(w),k=D.getModel("label"),M=k.get("position")||D.get(["emphasis","label","position"]),I=k.get("distanceToLabelLine"),N=k.get("alignTo"),L=W(k.get("edgeDistance"),l),O=k.get("bleedMargin"),P=D.getModel("labelLine"),R=P.get("length");R=W(R,l);var B=P.get("length2");if(B=W(B,l),Math.abs(C.endAngle-C.startAngle)<o){E(A.states,d),A.ignore=!0,T&&(E(T.states,d),T.ignore=!0);return}if(p(A)){var z=(C.startAngle+C.endAngle)/2,V=Math.cos(z),U=Math.sin(z),q,K,xe,Ve;n=C.cx,i=C.cy;var ue=M==="inside"||M==="inner";if(M==="center")q=C.cx,K=C.cy,Ve="center";else{var ee=(ue?(C.r+C.r0)/2*V:C.r*V)+n,he=(ue?(C.r+C.r0)/2*U:C.r*U)+i;if(q=ee+V*3,K=he+U*3,!ue){var Q=ee+V*(R+u-C.r),se=he+U*(R+u-C.r),Fe=Q+(V<0?-1:1)*B,Pe=se;N==="edge"?q=V<0?c+L:c+l-L:q=Fe+(V<0?-I:I),K=Pe,xe=[[ee,he],[Q,se],[Fe,Pe]]}Ve=ue?"center":N==="edge"?V>0?"right":"left":V>0?"left":"right"}var Te=Math.PI,Ze=0,rt=k.get("rotate");if(Me(rt))Ze=rt*(Te/180);else if(M==="center")Ze=0;else if(rt==="radial"||rt===!0){var de=V<0?-z+Te:-z;Ze=de}else if(rt==="tangential"&&M!=="outside"&&M!=="outer"){var wt=Math.atan2(V,U);wt<0&&(wt=Te*2+wt);var Ke=U>0;Ke&&(wt=Te+wt),Ze=wt-Te}if(a=!!Ze,A.x=q,A.y=K,A.rotation=Ze,A.setStyle({verticalAlign:"middle"}),ue){A.setStyle({align:Ve});var zr=A.states.select;zr&&(zr.x+=A.x,zr.y+=A.y)}else{var Oe=A.getBoundingRect().clone();Oe.applyTransform(A.getComputedTransform());var Ki=(A.style.margin||0)+2.1;Oe.y-=Ki/2,Oe.height+=Ki,r.push({label:A,labelLine:T,position:M,len:R,len2:B,minTurnAngle:P.get("minTurnAngle"),maxSurfaceAngle:P.get("maxSurfaceAngle"),surfaceNormal:new me(V,U),linePoints:xe,textAlign:Ve,labelDistance:I,labelAlignTo:N,edgeDistance:L,bleedMargin:O,rect:Oe,unconstrainedWidth:Oe.width,labelStyleWidth:A.style.width})}S.setTextConfig({inside:ue})}}),!a&&t.get("avoidLabelOverlap")&&zZ(r,n,i,u,l,h,c,f);for(var v=0;v<r.length;v++){var g=r[v],m=g.label,y=g.labelLine,_=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),_&&(E(m.states,d),m.ignore=!0);var b=m.states.select;b&&(b.x+=m.x,b.y+=m.y)}if(y){var x=g.linePoints;_||!x?(E(y.states,d),y.ignore=!0):(tA(x,g.minTurnAngle),KW(x,g.surfaceNormal,g.maxSurfaceAngle),y.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new me(x[0][0],x[0][1])})}}}var $Z=function(t){F(e,t);function e(r,n,i){var a=t.call(this)||this;a.z2=2;var o=new ke;return a.setTextContent(o),a.updateData(r,n,i,!0),a}return e.prototype.updateData=function(r,n,i,a){var o=this,s=r.hostModel,u=r.getItemModel(n),l=u.getModel("emphasis"),c=r.getItemLayout(n),f=$(Ga(u.getModel("itemStyle"),c,!0),c);if(isNaN(f.startAngle)){o.setShape(f);return}if(a){o.setShape(f);var h=s.getShallow("animationType");s.ecModel.ssr?(Ye(o,{scaleX:0,scaleY:0},s,{dataIndex:n,isFrom:!0}),o.originX=f.cx,o.originY=f.cy):h==="scale"?(o.shape.r=c.r0,Ye(o,{shape:{r:c.r}},s,n)):i!=null?(o.setShape({startAngle:i,endAngle:i}),Ye(o,{shape:{startAngle:c.startAngle,endAngle:c.endAngle}},s,n)):(o.shape.endAngle=c.startAngle,Ie(o,{shape:{endAngle:c.endAngle}},s,n))}else Qr(o),Ie(o,{shape:f},s,n);o.useStyle(r.getItemVisual(n,"style")),kt(o,u);var d=(c.startAngle+c.endAngle)/2,p=s.get("selectedOffset"),v=Math.cos(d)*p,g=Math.sin(d)*p,m=u.getShallow("cursor");m&&o.attr("cursor",m),this._updateLabel(s,r,n),o.ensureState("emphasis").shape=$({r:c.r+(l.get("scale")&&l.get("scaleSize")||0)},Ga(l.getModel("itemStyle"),c)),$(o.ensureState("select"),{x:v,y:g,shape:Ga(u.getModel(["select","itemStyle"]),c)}),$(o.ensureState("blur"),{shape:Ga(u.getModel(["blur","itemStyle"]),c)});var y=o.getTextGuideLine(),_=o.getTextContent();y&&$(y.ensureState("select"),{x:v,y:g}),$(_.ensureState("select"),{x:v,y:g}),Je(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))},e.prototype._updateLabel=function(r,n,i){var a=this,o=n.getItemModel(i),s=o.getModel("labelLine"),u=n.getItemVisual(i,"style"),l=u&&u.fill,c=u&&u.opacity;Mt(a,gt(o),{labelFetcher:n.hostModel,labelDataIndex:i,inheritColor:l,defaultOpacity:c,defaultText:r.getFormattedLabel(i,"normal")||n.getName(i)});var f=a.getTextContent();a.setTextConfig({position:null,rotation:null}),f.attr({z2:10});var h=r.get(["label","position"]);if(h!=="outside"&&h!=="outer")a.removeTextGuideLine();else{var d=this.getTextGuideLine();d||(d=new ar,this.setTextGuideLine(d)),r7(this,n7(o),{stroke:l,opacity:Lr(s.get(["lineStyle","opacity"]),c,1)})}},e}(rr),GZ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.ignoreLabelLineUpdate=!0,r}return e.prototype.render=function(r,n,i,a){var o=r.getData(),s=this._data,u=this.group,l;if(!s&&o.count()>0){for(var c=o.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f<o.count();++f)c=o.getItemLayout(f);c&&(l=c.startAngle)}if(this._emptyCircleSector&&u.remove(this._emptyCircleSector),o.count()===0&&r.get("showEmptyCircle")){var h=NA(r),d=new rr({shape:$(RA(r,i),h)});d.useStyle(r.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=d,u.add(d)}o.diff(s).add(function(p){var v=new $Z(o,p,l);o.setItemGraphicEl(p,v),u.add(v)}).update(function(p,v){var g=s.getItemGraphicEl(v);g.updateData(o,p,l),g.off("click"),u.add(g),o.setItemGraphicEl(p,g)}).remove(function(p){var v=s.getItemGraphicEl(p);gl(v,r,p)}).execute(),VZ(r),r.get("animationTypeUpdate")!=="expansion"&&(this._data=o)},e.prototype.dispose=function(){},e.prototype.containPoint=function(r,n){var i=n.getData(),a=i.getItemLayout(0);if(a){var o=r[0]-a.cx,s=r[1]-a.cy,u=Math.sqrt(o*o+s*s);return u<=a.r&&u>=a.r0}},e.type="pie",e}(qe);const HZ=GZ;function Ws(t,e,r){e=G(e)&&{coordDimensions:e}||$({encodeDefine:t.getEncode()},e);var n=t.getSource(),i=ql(n,e).dimensions,a=new qt(i,t);return a.initData(n,r),a}var UZ=function(){function t(e,r){this._getDataWithEncodedVisual=e,this._getRawData=r}return t.prototype.getAllNames=function(){var e=this._getRawData();return e.mapArray(e.getName)},t.prototype.containName=function(e){var r=this._getRawData();return r.indexOfName(e)>=0},t.prototype.indexOfName=function(e){var r=this._getDataWithEncodedVisual();return r.indexOfName(e)},t.prototype.getItemVisual=function(e,r){var n=this._getDataWithEncodedVisual();return n.getItemVisual(e,r)},t}();const Jl=UZ;var WZ=Ae(),qZ=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.init=function(r){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Jl(X(this.getData,this),X(this.getRawData,this)),this._defaultLabelLine(r)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return Ws(this,{coordDimensions:["value"],encodeDefaulter:ve(P5,this)})},e.prototype.getDataParams=function(r){var n=this.getData(),i=WZ(n),a=i.seats;if(!a){var o=[];n.each(n.mapDimension("value"),function(u){o.push(u)}),a=i.seats=YF(o,n.hostModel.get("percentPrecision"))}var s=t.prototype.getDataParams.call(this,r);return s.percent=a[r]||0,s.$vars.push("percent"),s},e.prototype._defaultLabelLine=function(r){ro(r,"labelLine",["show"]);var n=r.labelLine,i=r.emphasis.labelLine;n.show=n.show&&r.label.show,i.show=i.show&&r.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(je);const ZZ=qZ;function YZ(t){return{seriesType:t,reset:function(e,r){var n=e.getData();n.filterSelf(function(i){var a=n.mapDimension("value"),o=n.get(a,i);return!(Me(o)&&!isNaN(o)&&o<0)})}}}function XZ(t){t.registerChartView(HZ),t.registerSeriesModel(ZZ),QS("pie",t.registerAction),t.registerLayout(ve(BZ,"pie")),t.registerProcessor(Ql("pie")),t.registerProcessor(YZ("pie"))}var jZ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r}return e.prototype.getInitialData=function(r,n){return Jn(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?5e3:this.get("progressive"))},e.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?1e4:this.get("progressiveThreshold"))},e.prototype.brushSelector=function(r,n,i){return i.point(n.getItemLayout(r))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(je);const KZ=jZ;var BA=4,QZ=function(){function t(){}return t}(),JZ=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return e.prototype.getDefaultShape=function(){return new QZ},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(r,n){var i=n.points,a=n.size,o=this.symbolProxy,s=o.shape,u=r.getContext?r.getContext():r,l=u&&a[0]<BA,c=this.softClipShape,f;if(l){this._ctx=u;return}for(this._ctx=null,f=this._off;f<i.length;){var h=i[f++],d=i[f++];isNaN(h)||isNaN(d)||c&&!c.contain(h,d)||(s.x=h-a[0]/2,s.y=d-a[1]/2,s.width=a[0],s.height=a[1],o.buildPath(r,s,!0))}this.incremental&&(this._off=f,this.notClear=!0)},e.prototype.afterBrush=function(){var r=this.shape,n=r.points,i=r.size,a=this._ctx,o=this.softClipShape,s;if(a){for(s=this._off;s<n.length;){var u=n[s++],l=n[s++];isNaN(u)||isNaN(l)||o&&!o.contain(u,l)||a.fillRect(u-i[0]/2,l-i[1]/2,i[0],i[1])}this.incremental&&(this._off=s,this.notClear=!0)}},e.prototype.findDataIndex=function(r,n){for(var i=this.shape,a=i.points,o=i.size,s=Math.max(o[0],4),u=Math.max(o[1],4),l=a.length/2-1;l>=0;l--){var c=l*2,f=a[c]-s/2,h=a[c+1]-u/2;if(r>=f&&n>=h&&r<=f+s&&n<=h+u)return l}return-1},e.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(r=i[0],n=i[1],a.contain(r,n)){var o=this.hoverDataIdx=this.findDataIndex(r,n);return o>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var n=this.shape,i=n.points,a=n.size,o=a[0],s=a[1],u=1/0,l=1/0,c=-1/0,f=-1/0,h=0;h<i.length;){var d=i[h++],p=i[h++];u=Math.min(d,u),c=Math.max(d,c),l=Math.min(p,l),f=Math.max(p,f)}r=this._rect=new ye(u-o/2,l-s/2,c-u+o,f-l+s)}return r},e}(we),eY=function(){function t(){this.group=new le}return t.prototype.updateData=function(e,r){this._clear();var n=this._create();n.setShape({points:e.getLayout("points")}),this._setCommon(n,e,r)},t.prototype.updateLayout=function(e){var r=e.getLayout("points");this.group.eachChild(function(n){if(n.startIndex!=null){var i=(n.endIndex-n.startIndex)*2,a=n.startIndex*4*2;r=new Float32Array(r.buffer,a,i)}n.setShape("points",r),n.reset()})},t.prototype.incrementalPrepareUpdate=function(e){this._clear()},t.prototype.incrementalUpdate=function(e,r,n){var i=this._newAdded[0],a=r.getLayout("points"),o=i&&i.shape.points;if(o&&o.length<2e4){var s=o.length,u=new Float32Array(s+a.length);u.set(o),u.set(a,s),i.endIndex=e.end,i.setShape({points:u})}else{this._newAdded=[];var l=this._create();l.startIndex=e.start,l.endIndex=e.end,l.incremental=!0,l.setShape({points:a}),this._setCommon(l,r,n)}},t.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},t.prototype._create=function(){var e=new JZ({cursor:"default"});return e.ignoreCoarsePointer=!0,this.group.add(e),this._newAdded.push(e),e},t.prototype._setCommon=function(e,r,n){var i=r.hostModel;n=n||{};var a=r.getVisual("symbolSize");e.setShape("size",a instanceof Array?a:[a,a]),e.softClipShape=n.clipShape||null,e.symbolProxy=ct(r.getVisual("symbol"),0,0,0,0),e.setColor=e.symbolProxy.setColor;var o=e.shape.size[0]<BA;e.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=r.getVisual("style"),u=s&&s.fill;u&&e.setColor(u);var l=ce(e);l.seriesIndex=i.seriesIndex,e.on("mousemove",function(c){l.dataIndex=null;var f=e.hoverDataIdx;f>=0&&(l.dataIndex=f+(e.startIndex||0))})},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();const tY=eY;var rY=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=r.getData(),o=this._updateSymbolDraw(a,r);o.updateData(a,{clipShape:this._getClipShape(r)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(r,n,i){var a=r.getData(),o=this._updateSymbolDraw(a,r);o.incrementalPrepareUpdate(a),this._finished=!1},e.prototype.incrementalRender=function(r,n,i){this._symbolDraw.incrementalUpdate(r,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=r.end===n.getData().count()},e.prototype.updateTransform=function(r,n,i){var a=r.getData();if(this.group.dirty(),!this._finished||a.count()>1e4)return{update:!0};var o=Kl("").reset(r,n,i);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},e.prototype.eachRendered=function(r){this._symbolDraw&&this._symbolDraw.eachRendered(r)},e.prototype._getClipShape=function(r){if(r.get("clip",!0)){var n=r.coordinateSystem;return n&&n.getArea&&n.getArea(.1)}},e.prototype._updateSymbolDraw=function(r,n){var i=this._symbolDraw,a=n.pipelineContext,o=a.large;return(!i||o!==this._isLargeDraw)&&(i&&i.remove(),i=this._symbolDraw=o?new tY:new Xl,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},e.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(qe);const nY=rY;var iY=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(Ce);const aY=iY;var Xd=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",lt).models[0]},e.type="cartesian2dAxis",e}(Ce);ft(Xd,Zl);var FA={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},oY=ge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},FA),l7=ge({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},FA),sY=ge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},l7),uY=ae({logBase:10},l7);const zA={category:oY,value:l7,time:sY,log:uY};var lY={value:1,category:1,time:1,log:1};function Ss(t,e,r,n){E(lY,function(i,a){var o=ge(ge({},zA[a],!0),n,!0),s=function(u){F(l,u);function l(){var c=u!==null&&u.apply(this,arguments)||this;return c.type=e+"Axis."+a,c}return l.prototype.mergeDefaultAndTheme=function(c,f){var h=yl(this),d=h?Bs(c):{},p=f.getTheme();ge(c,p.get(a+"Axis")),ge(c,this.getDefaultOption()),c.type=Lg(c),h&&Gi(c,d,h)},l.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=Gd.createByAxisModel(this))},l.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},l.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},l.type=e+"Axis."+a,l.defaultOption=o,l}(r);t.registerComponentModel(s)}),t.registerSubTypeDefaulter(e+"Axis",Lg)}function Lg(t){return t.type||(t.data?"category":"value")}var cY=function(){function t(e){this.type="cartesian",this._dimList=[],this._axes={},this.name=e||""}return t.prototype.getAxis=function(e){return this._axes[e]},t.prototype.getAxes=function(){return H(this._dimList,function(e){return this._axes[e]},this)},t.prototype.getAxesByScale=function(e){return e=e.toLowerCase(),Ne(this.getAxes(),function(r){return r.scale.type===e})},t.prototype.addAxis=function(e){var r=e.dim;this._axes[r]=e,this._dimList.push(r)},t}();const fY=cY;var jd=["x","y"];function Ig(t){return t.type==="interval"||t.type==="time"}var hY=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="cartesian2d",r.dimensions=jd,r}return e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var r=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!Ig(r)||!Ig(n))){var i=r.getExtent(),a=n.getExtent(),o=this.dataToPoint([i[0],a[0]]),s=this.dataToPoint([i[1],a[1]]),u=i[1]-i[0],l=a[1]-a[0];if(!(!u||!l)){var c=(s[0]-o[0])/u,f=(s[1]-o[1])/l,h=o[0]-i[0]*c,d=o[1]-a[0]*f,p=this._transform=[c,0,0,f,h,d];this._invTransform=Ms([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(r){var n=this.getAxis("x"),i=this.getAxis("y");return n.contain(n.toLocalCoord(r[0]))&&i.contain(i.toLocalCoord(r[1]))},e.prototype.containData=function(r){return this.getAxis("x").containData(r[0])&&this.getAxis("y").containData(r[1])},e.prototype.containZone=function(r,n){var i=this.dataToPoint(r),a=this.dataToPoint(n),o=this.getArea(),s=new ye(i[0],i[1],a[0]-i[0],a[1]-i[1]);return o.intersect(s)},e.prototype.dataToPoint=function(r,n,i){i=i||[];var a=r[0],o=r[1];if(this._transform&&a!=null&&isFinite(a)&&o!=null&&isFinite(o))return Tt(i,r,this._transform);var s=this.getAxis("x"),u=this.getAxis("y");return i[0]=s.toGlobalCoord(s.dataToCoord(a,n)),i[1]=u.toGlobalCoord(u.dataToCoord(o,n)),i},e.prototype.clampData=function(r,n){var i=this.getAxis("x").scale,a=this.getAxis("y").scale,o=i.getExtent(),s=a.getExtent(),u=i.parse(r[0]),l=a.parse(r[1]);return n=n||[],n[0]=Math.min(Math.max(Math.min(o[0],o[1]),u),Math.max(o[0],o[1])),n[1]=Math.min(Math.max(Math.min(s[0],s[1]),l),Math.max(s[0],s[1])),n},e.prototype.pointToData=function(r,n){var i=[];if(this._invTransform)return Tt(i,r,this._invTransform);var a=this.getAxis("x"),o=this.getAxis("y");return i[0]=a.coordToData(a.toLocalCoord(r[0]),n),i[1]=o.coordToData(o.toLocalCoord(r[1]),n),i},e.prototype.getOtherAxis=function(r){return this.getAxis(r.dim==="x"?"y":"x")},e.prototype.getArea=function(r){r=r||0;var n=this.getAxis("x").getGlobalExtent(),i=this.getAxis("y").getGlobalExtent(),a=Math.min(n[0],n[1])-r,o=Math.min(i[0],i[1])-r,s=Math.max(n[0],n[1])-a+r,u=Math.max(i[0],i[1])-o+r;return new ye(a,o,s,u)},e}(fY),dY=function(t){F(e,t);function e(r,n,i,a,o){var s=t.call(this,r,n,i)||this;return s.index=0,s.type=a||"value",s.position=o||"bottom",s}return e.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},e.prototype.getGlobalExtent=function(r){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),r&&n[0]>n[1]&&n.reverse(),n},e.prototype.pointToData=function(r,n){return this.coordToData(this.toLocalCoord(r[this.dim==="x"?0:1]),n)},e.prototype.setCategorySortInfo=function(r){if(this.type!=="category")return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},e}(en);const pY=dY;function Kd(t,e,r){r=r||{};var n=t.coordinateSystem,i=e.axis,a={},o=i.getAxesOnZeroOf()[0],s=i.position,u=o?"onZero":s,l=i.dim,c=n.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],h={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,p=l==="x"?[f[2]-d,f[3]+d]:[f[0]-d,f[1]+d];if(o){var v=o.toGlobalCoord(o.dataToCoord(0));p[h.onZero]=Math.max(Math.min(v,p[1]),p[0])}a.position=[l==="y"?p[h[u]]:f[0],l==="x"?p[h[u]]:f[3]],a.rotation=Math.PI/2*(l==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};a.labelDirection=a.tickDirection=a.nameDirection=g[s],a.labelOffset=o?p[h[s]]-p[h.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),ut(r.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var m=e.get(["axisLabel","rotate"]);return a.labelRotate=u==="top"?-m:m,a.z2=1,a}function Pg(t){return t.get("coordinateSystem")==="cartesian2d"}function Rg(t){var e={xAxisModel:null,yAxisModel:null};return E(e,function(r,n){var i=n.replace(/Model$/,""),a=t.getReferringComponents(i,lt).models[0];if(process.env.NODE_ENV!=="production"&&!a)throw new Error(i+' "'+Lr(t.get(i+"Index"),t.get(i+"Id"),0)+'" not found');e[n]=a}),e}var k6=Math.log;function VA(t,e,r){var n=Ui.prototype,i=n.getTicks.call(r),a=n.getTicks.call(r,!0),o=i.length-1,s=n.getInterval.call(r),u=GC(t,e),l=u.extent,c=u.fixMin,f=u.fixMax;if(t.type==="log"){var h=k6(t.base);l=[k6(l[0])/h,k6(l[1])/h]}t.setExtent(l[0],l[1]),t.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:f});var d=n.getExtent.call(t);c&&(l[0]=d[0]),f&&(l[1]=d[1]);var p=n.getInterval.call(t),v=l[0],g=l[1];if(c&&f)p=(g-v)/o;else if(c)for(g=l[0]+p*o;g<l[1]&&isFinite(g)&&isFinite(l[1]);)p=p6(p),g=l[0]+p*o;else if(f)for(v=l[1]-p*o;v>l[0]&&isFinite(v)&&isFinite(l[0]);)p=p6(p),v=l[1]-p*o;else{var m=t.getTicks().length-1;m>o&&(p=p6(p));var y=p*o;g=Math.ceil(l[1]/p)*p,v=nt(g-y),v<0&&l[0]>=0?(v=0,g=nt(y)):g>0&&l[1]<=0&&(g=0,v=-nt(y))}var _=(i[0].value-a[0].value)/s,b=(i[o].value-a[o].value)/s;if(n.setExtent.call(t,v+p*_,g+p*b),n.setInterval.call(t,p),(_||b)&&n.setNiceExtent.call(t,v+p,g-p),process.env.NODE_ENV!=="production"){var x=n.getTicks.call(t);x[1]&&(!rW(p)||dd(x[1].value)>dd(p))&&Qe("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+" and alignTicks: true")}}var vY=function(){function t(e,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=jd,this._initCartesian(e,r,n),this.model=e}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(e,r){var n=this._axesMap;this._updateScale(e,this.model);function i(o){var s,u=Se(o),l=u.length;if(l){for(var c=[],f=l-1;f>=0;f--){var h=+u[f],d=o[h],p=d.model,v=d.scale;Hd(v)&&p.get("alignTicks")&&p.get("interval")==null?c.push(d):(xs(v,p),Hd(v)&&(s=d))}c.length&&(s||(s=c.pop(),xs(s.scale,s.model)),E(c,function(g){VA(g.scale,g.model,s.scale)}))}}i(n.x),i(n.y);var a={};E(n.x,function(o){Ng(n,"y",o,a)}),E(n.y,function(o){Ng(n,"x",o,a)}),this.resize(this.model,r)},t.prototype.resize=function(e,r,n){var i=e.getBoxLayoutParams(),a=!n&&e.get("containLabel"),o=dt(i,{width:r.getWidth(),height:r.getHeight()});this._rect=o;var s=this._axesList;u(),a&&(E(s,function(l){if(!l.model.get(["axisLabel","inside"])){var c=DW(l);if(c){var f=l.isHorizontal()?"height":"width",h=l.model.get(["axisLabel","margin"]);o[f]-=c[f]+h,l.position==="top"?o.y+=c.height+h:l.position==="left"&&(o.x+=c.width+h)}}}),u()),E(this._coordsList,function(l){l.calcAffineTransform()});function u(){E(s,function(l){var c=l.isHorizontal(),f=c?[0,o.width]:[0,o.height],h=l.inverse?1:0;l.setExtent(f[h],f[1-h]),gY(l,c?o.x:o.y)})}},t.prototype.getAxis=function(e,r){var n=this._axesMap[e];if(n!=null)return n[r||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(e,r){if(e!=null&&r!=null){var n="x"+e+"y"+r;return this._coordsMap[n]}ne(e)&&(r=e.yAxisIndex,e=e.xAxisIndex);for(var i=0,a=this._coordsList;i<a.length;i++)if(a[i].getAxis("x").index===e||a[i].getAxis("y").index===r)return a[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(e,r,n){var i=this._findConvertTarget(r);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(e,r,n){var i=this._findConvertTarget(r);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(e){var r=e.seriesModel,n=e.xAxisModel||r&&r.getReferringComponents("xAxis",lt).models[0],i=e.yAxisModel||r&&r.getReferringComponents("yAxis",lt).models[0],a=e.gridModel,o=this._coordsList,s,u;if(r)s=r.coordinateSystem,_e(o,s)<0&&(s=null);else if(n&&i)s=this.getCartesian(n.componentIndex,i.componentIndex);else if(n)u=this.getAxis("x",n.componentIndex);else if(i)u=this.getAxis("y",i.componentIndex);else if(a){var l=a.coordinateSystem;l===this&&(s=this._coordsList[0])}return{cartesian:s,axis:u}},t.prototype.containPoint=function(e){var r=this._coordsList[0];if(r)return r.containPoint(e)},t.prototype._initCartesian=function(e,r,n){var i=this,a=this,o={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},u={x:0,y:0};if(r.eachComponent("xAxis",l("x"),this),r.eachComponent("yAxis",l("y"),this),!u.x||!u.y){this._axesMap={},this._axesList=[];return}this._axesMap=s,E(s.x,function(c,f){E(s.y,function(h,d){var p="x"+f+"y"+d,v=new hY(p);v.master=i,v.model=e,i._coordsMap[p]=v,i._coordsList.push(v),v.addAxis(c),v.addAxis(h)})});function l(c){return function(f,h){if(M6(f,e)){var d=f.get("position");c==="x"?d!=="top"&&d!=="bottom"&&(d=o.bottom?"top":"bottom"):d!=="left"&&d!=="right"&&(d=o.left?"right":"left"),o[d]=!0;var p=new pY(c,F2(f),[0,0],f.get("type"),d),v=p.type==="category";p.onBand=v&&f.get("boundaryGap"),p.inverse=f.get("inverse"),f.axis=p,p.model=f,p.grid=a,p.index=h,a._axesList.push(p),s[c][h]=p,u[c]++}}}},t.prototype._updateScale=function(e,r){E(this._axesList,function(i){if(i.scale.setExtent(1/0,-1/0),i.type==="category"){var a=i.model.get("categorySortInfo");i.scale.setSortInfo(a)}}),e.eachSeries(function(i){if(Pg(i)){var a=Rg(i),o=a.xAxisModel,s=a.yAxisModel;if(!M6(o,r)||!M6(s,r))return;var u=this.getCartesian(o.componentIndex,s.componentIndex),l=i.getData(),c=u.getAxis("x"),f=u.getAxis("y");n(l,c),n(l,f)}},this);function n(i,a){E(Sc(i,a.dim),function(o){a.scale.unionExtentFromData(i,o)})}},t.prototype.getTooltipAxes=function(e){var r=[],n=[];return E(this.getCartesians(),function(i){var a=e!=null&&e!=="auto"?i.getAxis(e):i.getBaseAxis(),o=i.getOtherAxis(a);_e(r,a)<0&&r.push(a),_e(n,o)<0&&n.push(o)}),{baseAxes:r,otherAxes:n}},t.create=function(e,r){var n=[];return e.eachComponent("grid",function(i,a){var o=new t(i,e,r);o.name="grid_"+a,o.resize(i,r,!0),i.coordinateSystem=o,n.push(o)}),e.eachSeries(function(i){if(Pg(i)){var a=Rg(i),o=a.xAxisModel,s=a.yAxisModel,u=o.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!u)throw new Error('Grid "'+Lr(o.get("gridIndex"),o.get("gridId"),0)+'" not found');if(o.getCoordSysModel()!==s.getCoordSysModel())throw new Error("xAxis and yAxis must use the same grid")}var l=u.coordinateSystem;i.coordinateSystem=l.getCartesian(o.componentIndex,s.componentIndex)}}),n},t.dimensions=jd,t}();function M6(t,e){return t.getCoordSysModel()===e}function Ng(t,e,r,n){r.getAxesOnZeroOf=function(){return a?[a]:[]};var i=t[e],a,o=r.model,s=o.get(["axisLine","onZero"]),u=o.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(u!=null)Og(i[u])&&(a=i[u]);else for(var l in i)if(i.hasOwnProperty(l)&&Og(i[l])&&!n[c(i[l])]){a=i[l];break}a&&(n[c(a)]=!0);function c(f){return f.dim+"_"+f.index}}function Og(t){return t&&t.type!=="category"&&t.type!=="time"&&TW(t)}function gY(t,e){var r=t.getExtent(),n=r[0]+r[1];t.toGlobalCoord=t.dim==="x"?function(i){return i+e}:function(i){return n-i+e},t.toLocalCoord=t.dim==="x"?function(i){return i-e}:function(i){return n-i+e}}const mY=vY;var ki=Math.PI,Qa=function(){function t(e,r){this.group=new le,this.opt=r,this.axisModel=e,ae(r,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new le({x:r.position[0],y:r.position[1],rotation:r.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(e){return!!Bg[e]},t.prototype.add=function(e){Bg[e](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(e,r,n){var i=Vx(r-e),a,o;return dl(i)?(o=n>0?"top":"bottom",a="center"):dl(i-ki)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i<ki?a=n>0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},t.makeAxisEventDataBase=function(e){var r={componentType:e.mainType,componentIndex:e.componentIndex};return r[e.mainType+"Index"]=e.componentIndex,r},t.isLabelSilent=function(e){var r=e.get("tooltip");return e.get("silent")||!(e.get("triggerEvent")||r&&r.show)},t}(),Bg={axisLine:function(t,e,r,n){var i=e.get(["axisLine","show"]);if(i==="auto"&&t.handleAutoShown&&(i=t.handleAutoShown("axisLine")),!!i){var a=e.axis.getExtent(),o=n.transform,s=[a[0],0],u=[a[1],0],l=s[0]>u[0];o&&(Tt(s,s,o),Tt(u,u,o));var c=$({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new xt({shape:{x1:s[0],y1:s[1],x2:u[0],y2:u[1]},style:c,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});ys(f.shape,f.style.lineWidth),f.anid="line",r.add(f);var h=e.get(["axisLine","symbol"]);if(h!=null){var d=e.get(["axisLine","symbolSize"]);Z(h)&&(h=[h,h]),(Z(d)||Me(d))&&(d=[d,d]);var p=mo(e.get(["axisLine","symbolOffset"])||0,d),v=d[0],g=d[1];E([{rotate:t.rotation+Math.PI/2,offset:p[0],r:0},{rotate:t.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-u[0])*(s[0]-u[0])+(s[1]-u[1])*(s[1]-u[1]))}],function(m,y){if(h[y]!=="none"&&h[y]!=null){var _=ct(h[y],-v/2,-g/2,v,g,c.stroke,!0),b=m.r+m.offset,x=l?u:s;_.attr({rotation:m.rotate,x:x[0]+b*Math.cos(t.rotation),y:x[1]-b*Math.sin(t.rotation),silent:!0,z2:11}),r.add(_)}})}}},axisTickLabel:function(t,e,r,n){var i=bY(r,n,e,t),a=wY(r,n,e,t);if(_Y(e,a,i),xY(r,n,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var o=rA(H(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));aA(o)}},axisName:function(t,e,r,n){var i=ut(t.axisName,e.get("name"));if(i){var a=e.get("nameLocation"),o=t.nameDirection,s=e.getModel("nameTextStyle"),u=e.get("nameGap")||0,l=e.axis.getExtent(),c=l[0]>l[1]?-1:1,f=[a==="start"?l[0]-c*u:a==="end"?l[1]+c*u:(l[0]+l[1])/2,zg(a)?t.labelOffset+o*u:0],h,d=e.get("nameRotate");d!=null&&(d=d*ki/180);var p;zg(a)?h=Qa.innerTextLayout(t.rotation,d??t.rotation,o):(h=yY(t.rotation,a,d||0,l),p=t.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(h.rotation)),!isFinite(p)&&(p=null)));var v=s.getFont(),g=e.get("nameTruncate",!0)||{},m=g.ellipsis,y=ut(t.nameTruncateMaxWidth,g.maxWidth,p),_=new ke({x:f[0],y:f[1],rotation:h.rotation,silent:Qa.isLabelSilent(e),style:Ue(s,{text:i,font:v,overflow:"truncate",width:y,ellipsis:m,fill:s.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(po({el:_,componentModel:e,itemName:i}),_.__fullText=i,_.anid="name",e.get("triggerEvent")){var b=Qa.makeAxisEventDataBase(e);b.targetType="axisName",b.name=i,ce(_).eventData=b}n.add(_),_.updateTransform(),r.add(_),_.decomposeTransform()}}};function yY(t,e,r,n){var i=Vx(r-t),a,o,s=n[0]>n[1],u=e==="start"&&!s||e!=="start"&&s;return dl(i-ki/2)?(o=u?"bottom":"top",a="center"):dl(i-ki*1.5)?(o=u?"top":"bottom",a="center"):(o="middle",i<ki*1.5&&i>ki/2?a=u?"left":"right":a=u?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function _Y(t,e,r){if(!HC(t.axis)){var n=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);e=e||[],r=r||[];var a=e[0],o=e[1],s=e[e.length-1],u=e[e.length-2],l=r[0],c=r[1],f=r[r.length-1],h=r[r.length-2];n===!1?(mr(a),mr(l)):Fg(a,o)&&(n?(mr(o),mr(c)):(mr(a),mr(l))),i===!1?(mr(s),mr(f)):Fg(u,s)&&(i?(mr(u),mr(h)):(mr(s),mr(f)))}}function mr(t){t&&(t.ignore=!0)}function Fg(t,e){var r=t&&t.getBoundingRect().clone(),n=e&&e.getBoundingRect().clone();if(!(!r||!n)){var i=u2([]);return ho(i,i,-t.rotation),r.applyTransform(zn([],i,t.getLocalTransform())),n.applyTransform(zn([],i,e.getLocalTransform())),r.intersect(n)}}function zg(t){return t==="middle"||t==="center"}function $A(t,e,r,n,i){for(var a=[],o=[],s=[],u=0;u<t.length;u++){var l=t[u].coord;o[0]=l,o[1]=0,s[0]=l,s[1]=r,e&&(Tt(o,o,e),Tt(s,s,e));var c=new xt({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:n,z2:2,autoBatch:!0,silent:!0});ys(c.shape,c.style.lineWidth),c.anid=i+"_"+t[u].tickValue,a.push(c)}return a}function bY(t,e,r,n){var i=r.axis,a=r.getModel("axisTick"),o=a.get("show");if(o==="auto"&&n.handleAutoShown&&(o=n.handleAutoShown("axisTick")),!(!o||i.scale.isBlank())){for(var s=a.getModel("lineStyle"),u=n.tickDirection*a.get("length"),l=i.getTicksCoords(),c=$A(l,e.transform,u,ae(s.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)t.add(c[f]);return c}}function xY(t,e,r,n){var i=r.axis,a=r.getModel("minorTick");if(!(!a.get("show")||i.scale.isBlank())){var o=i.getMinorTicksCoords();if(o.length)for(var s=a.getModel("lineStyle"),u=n*a.get("length"),l=ae(s.getLineStyle(),ae(r.getModel("axisTick").getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var f=$A(o[c],e.transform,u,l,"minorticks_"+c),h=0;h<f.length;h++)t.add(f[h])}}function wY(t,e,r,n){var i=r.axis,a=ut(n.axisLabelShow,r.get(["axisLabel","show"]));if(!(!a||i.scale.isBlank())){var o=r.getModel("axisLabel"),s=o.get("margin"),u=i.getViewLabels(),l=(ut(n.labelRotate,o.get("rotate"))||0)*ki/180,c=Qa.innerTextLayout(n.rotation,l,n.labelDirection),f=r.getCategories&&r.getCategories(!0),h=[],d=Qa.isLabelSilent(r),p=r.get("triggerEvent");return E(u,function(v,g){var m=i.scale.type==="ordinal"?i.scale.getRawOrdinalNumber(v.tickValue):v.tickValue,y=v.formattedLabel,_=v.rawLabel,b=o;if(f&&f[m]){var x=f[m];ne(x)&&x.textStyle&&(b=new We(x.textStyle,o,r.ecModel))}var w=b.getTextColor()||r.get(["axisLine","lineStyle","color"]),S=i.dataToCoord(m),C=b.getShallow("align",!0)||c.textAlign,A=fe(b.getShallow("alignMinLabel",!0),C),T=fe(b.getShallow("alignMaxLabel",!0),C),D=b.getShallow("verticalAlign",!0)||b.getShallow("baseline",!0)||c.textVerticalAlign,k=fe(b.getShallow("verticalAlignMinLabel",!0),D),M=fe(b.getShallow("verticalAlignMaxLabel",!0),D),I=new ke({x:S,y:n.labelOffset+n.labelDirection*s,rotation:c.rotation,silent:d,z2:10+(v.level||0),style:Ue(b,{text:y,align:g===0?A:g===u.length-1?T:C,verticalAlign:g===0?k:g===u.length-1?M:D,fill:te(w)?w(i.type==="category"?_:i.type==="value"?m+"":m,g):w})});if(I.anid="label_"+m,po({el:I,componentModel:r,itemName:y,formatterParamsExtra:{isTruncated:function(){return I.isTruncated},value:_,tickIndex:g}}),p){var N=Qa.makeAxisEventDataBase(r);N.targetType="axisLabel",N.value=_,N.tickIndex=g,i.type==="category"&&(N.dataIndex=m),ce(I).eventData=N}e.add(I),I.updateTransform(),h.push(I),t.add(I),I.decomposeTransform()}),h}}const jn=Qa;function SY(t,e){var r={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return CY(r,t,e),r.seriesInvolved&&TY(r,t),r}function CY(t,e,r){var n=e.getComponent("tooltip"),i=e.getComponent("axisPointer"),a=i.get("link",!0)||[],o=[];E(r.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var u=Tl(s.model),l=t.coordSysAxesInfo[u]={};t.coordSysMap[u]=s;var c=s.model,f=c.getModel("tooltip",n);if(E(s.getAxes(),ve(v,!1,null)),s.getTooltipAxes&&n&&f.get("show")){var h=f.get("trigger")==="axis",d=f.get(["axisPointer","type"])==="cross",p=s.getTooltipAxes(f.get(["axisPointer","axis"]));(h||d)&&E(p.baseAxes,ve(v,d?"cross":!0,h)),d&&E(p.otherAxes,ve(v,"cross",!1))}function v(g,m,y){var _=y.model.getModel("axisPointer",i),b=_.get("show");if(!(!b||b==="auto"&&!g&&!Qd(_))){m==null&&(m=_.get("triggerTooltip")),_=g?AY(y,f,i,e,g,m):_;var x=_.get("snap"),w=_.get("triggerEmphasis"),S=Tl(y.model),C=m||x||y.type==="category",A=t.axesInfo[S]={key:S,axis:y,coordSys:s,axisPointerModel:_,triggerTooltip:m,triggerEmphasis:w,involveSeries:C,snap:x,useHandle:Qd(_),seriesModels:[],linkGroup:null};l[S]=A,t.seriesInvolved=t.seriesInvolved||C;var T=DY(a,y);if(T!=null){var D=o[T]||(o[T]={axesInfo:{}});D.axesInfo[S]=A,D.mapper=a[T].mapper,A.linkGroup=D}}}})}function AY(t,e,r,n,i,a){var o=e.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],u={};E(s,function(h){u[h]=oe(o.get(h))}),u.snap=t.type!=="category"&&!!a,o.get("type")==="cross"&&(u.type="line");var l=u.label||(u.label={});if(l.show==null&&(l.show=!1),i==="cross"){var c=o.get(["label","show"]);if(l.show=c??!0,!a){var f=u.lineStyle=o.get("crossStyle");f&&ae(l,f.textStyle)}}return t.model.getModel("axisPointer",new We(u,r,n))}function TY(t,e){e.eachSeries(function(r){var n=r.coordinateSystem,i=r.get(["tooltip","trigger"],!0),a=r.get(["tooltip","show"],!0);!n||i==="none"||i===!1||i==="item"||a===!1||r.get(["axisPointer","show"],!0)===!1||E(t.coordSysAxesInfo[Tl(n.model)],function(o){var s=o.axis;n.getAxis(s.dim)===s&&(o.seriesModels.push(r),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=r.getData().count())})})}function DY(t,e){for(var r=e.model,n=e.dim,i=0;i<t.length;i++){var a=t[i]||{};if(L6(a[n+"AxisId"],r.id)||L6(a[n+"AxisIndex"],r.componentIndex)||L6(a[n+"AxisName"],r.name))return i}}function L6(t,e){return t==="all"||G(t)&&_e(t,e)>=0||t===e}function EY(t){var e=c7(t);if(e){var r=e.axisPointerModel,n=e.axis.scale,i=r.option,a=r.get("status"),o=r.get("value");o!=null&&(o=n.parse(o));var s=Qd(r);a==null&&(i.status=s?"show":"hide");var u=n.getExtent().slice();u[0]>u[1]&&u.reverse(),(o==null||o>u[1])&&(o=u[1]),o<u[0]&&(o=u[0]),i.value=o,s&&(i.status=e.axis.scale.isBlank()?"hide":"show")}}function c7(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[Tl(t)]}function kY(t){var e=c7(t);return e&&e.axisPointerModel}function Qd(t){return!!t.get(["handle","show"])}function Tl(t){return t.type+"||"+t.id}var I6={},MY=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i,a){this.axisPointerClass&&EY(r),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(r,i,!0)},e.prototype.updateAxisPointer=function(r,n,i,a){this._doUpdateAxisPointerClass(r,i,!1)},e.prototype.remove=function(r,n){var i=this._axisPointer;i&&i.remove(n)},e.prototype.dispose=function(r,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(r,n,i){var a=e.getAxisPointerClass(this.axisPointerClass);if(a){var o=kY(r);o?(this._axisPointer||(this._axisPointer=new a)).render(r,o,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(r){this._axisPointer&&this._axisPointer.dispose(r),this._axisPointer=null},e.registerAxisPointerClass=function(r,n){if(process.env.NODE_ENV!=="production"&&I6[r])throw new Error("axisPointer "+r+" exists");I6[r]=n},e.getAxisPointerClass=function(r){return r&&I6[r]},e.type="axis",e}(et);const bo=MY;var Jd=Ae();function GA(t,e,r,n){var i=r.axis;if(!i.scale.isBlank()){var a=r.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),u=n.coordinateSystem.getRect(),l=i.getTicksCoords({tickModel:a,clamp:!0});if(l.length){var c=s.length,f=Jd(t).splitAreaColors,h=J(),d=0;if(f)for(var p=0;p<l.length;p++){var v=f.get(l[p].tickValue);if(v!=null){d=(v+(c-1)*p)%c;break}}var g=i.toGlobalCoord(l[0].coord),m=o.getAreaStyle();s=G(s)?s:[s];for(var p=1;p<l.length;p++){var y=i.toGlobalCoord(l[p].coord),_=void 0,b=void 0,x=void 0,w=void 0;i.isHorizontal()?(_=g,b=u.y,x=y-_,w=u.height,g=_+x):(_=u.x,b=g,x=u.width,w=y-b,g=b+w);var S=l[p-1].tickValue;S!=null&&h.set(S,d),e.add(new Ee({anid:S!=null?"area_"+S:null,shape:{x:_,y:b,width:x,height:w},style:ae({fill:s[d]},m),autoBatch:!0,silent:!0})),d=(d+1)%c}Jd(t).splitAreaColors=h}}}function HA(t){Jd(t).splitAreaColors=null}var LY=["axisLine","axisTickLabel","axisName"],IY=["splitArea","splitLine","minorSplitLine"],UA=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.axisPointerClass="CartesianAxisPointer",r}return e.prototype.render=function(r,n,i,a){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new le,this.group.add(this._axisGroup),!!r.get("show")){var s=r.getCoordSysModel(),u=Kd(s,r),l=new jn(r,$({handleAutoShown:function(f){for(var h=s.coordinateSystem.getCartesians(),d=0;d<h.length;d++)if(Hd(h[d].getOtherAxis(r.axis).scale))return!0;return!1}},u));E(LY,l.add,l),this._axisGroup.add(l.getGroup()),E(IY,function(f){r.get([f,"show"])&&PY[f](this,this._axisGroup,r,s)},this);var c=a&&a.type==="changeAxisOrder"&&a.isInitSort;c||Hl(o,this._axisGroup,r),t.prototype.render.call(this,r,n,i,a)}},e.prototype.remove=function(){HA(this)},e.type="cartesianAxis",e}(bo),PY={splitLine:function(t,e,r,n){var i=r.axis;if(!i.scale.isBlank()){var a=r.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color"),u=a.get("showMinLine")!==!1,l=a.get("showMaxLine")!==!1;s=G(s)?s:[s];for(var c=n.coordinateSystem.getRect(),f=i.isHorizontal(),h=0,d=i.getTicksCoords({tickModel:a}),p=[],v=[],g=o.getLineStyle(),m=0;m<d.length;m++){var y=i.toGlobalCoord(d[m].coord);if(!(m===0&&!u||m===d.length-1&&!l)){var _=d[m].tickValue;f?(p[0]=y,p[1]=c.y,v[0]=y,v[1]=c.y+c.height):(p[0]=c.x,p[1]=y,v[0]=c.x+c.width,v[1]=y);var b=h++%s.length,x=new xt({anid:_!=null?"line_"+_:null,autoBatch:!0,shape:{x1:p[0],y1:p[1],x2:v[0],y2:v[1]},style:ae({stroke:s[b]},g),silent:!0});ys(x.shape,g.lineWidth),e.add(x)}}}},minorSplitLine:function(t,e,r,n){var i=r.axis,a=r.getModel("minorSplitLine"),o=a.getModel("lineStyle"),s=n.coordinateSystem.getRect(),u=i.isHorizontal(),l=i.getMinorTicksCoords();if(l.length)for(var c=[],f=[],h=o.getLineStyle(),d=0;d<l.length;d++)for(var p=0;p<l[d].length;p++){var v=i.toGlobalCoord(l[d][p].coord);u?(c[0]=v,c[1]=s.y,f[0]=v,f[1]=s.y+s.height):(c[0]=s.x,c[1]=v,f[0]=s.x+s.width,f[1]=v);var g=new xt({anid:"minor_line_"+l[d][p].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:h,silent:!0});ys(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,r,n){GA(t,e,r,n)}},WA=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="xAxis",e}(UA),RY=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=WA.type,r}return e.type="yAxis",e}(UA),NY=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="grid",r}return e.prototype.render=function(r,n){this.group.removeAll(),r.get("show")&&this.group.add(new Ee({shape:r.coordinateSystem.getRect(),style:ae({fill:r.get("backgroundColor")},r.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(et),Vg={offset:0};function qA(t){t.registerComponentView(NY),t.registerComponentModel(aY),t.registerCoordinateSystem("cartesian2d",mY),Ss(t,"x",Xd,Vg),Ss(t,"y",Xd,Vg),t.registerComponentView(WA),t.registerComponentView(RY),t.registerPreprocessor(function(e){e.xAxis&&e.yAxis&&!e.grid&&(e.grid={})})}function OY(t){be(qA),t.registerSeriesModel(KZ),t.registerChartView(nY),t.registerLayout(Kl("scatter"))}function BY(t){t.eachSeriesByType("radar",function(e){var r=e.getData(),n=[],i=e.coordinateSystem;if(i){var a=i.getIndicatorAxes();E(a,function(o,s){r.each(r.mapDimension(a[s].dim),function(u,l){n[l]=n[l]||[];var c=i.dataToPoint(u,s);n[l][s]=$g(c)?c:Gg(i)})}),r.each(function(o){var s=gB(n[o],function(u){return $g(u)})||Gg(i);n[o].push(s.slice()),r.setItemLayout(o,n[o])})}})}function $g(t){return!isNaN(t[0])&&!isNaN(t[1])}function Gg(t){return[t.cx,t.cy]}function FY(t){var e=t.polar;if(e){G(e)||(e=[e]);var r=[];E(e,function(n,i){n.indicator?(n.type&&!n.shape&&(n.shape=n.type),t.radar=t.radar||[],G(t.radar)||(t.radar=[t.radar]),t.radar.push(n)):r.push(n)}),t.polar=r}E(t.series,function(n){n&&n.type==="radar"&&n.polarIndex&&(n.radarIndex=n.polarIndex)})}var zY=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=r.coordinateSystem,o=this.group,s=r.getData(),u=this._data;function l(h,d){var p=h.getItemVisual(d,"symbol")||"circle";if(p!=="none"){var v=Hs(h.getItemVisual(d,"symbolSize")),g=ct(p,-1,-1,2,2),m=h.getItemVisual(d,"symbolRotate")||0;return g.attr({style:{strokeNoScale:!0},z2:100,scaleX:v[0]/2,scaleY:v[1]/2,rotation:m*Math.PI/180||0}),g}}function c(h,d,p,v,g,m){p.removeAll();for(var y=0;y<d.length-1;y++){var _=l(v,g);_&&(_.__dimIdx=y,h[y]?(_.setPosition(h[y]),vo[m?"initProps":"updateProps"](_,{x:d[y][0],y:d[y][1]},r,g)):_.setPosition(d[y]),p.add(_))}}function f(h){return H(h,function(d){return[a.cx,a.cy]})}s.diff(u).add(function(h){var d=s.getItemLayout(h);if(d){var p=new nr,v=new ar,g={shape:{points:d}};p.shape.points=f(d),v.shape.points=f(d),Ye(p,g,r,h),Ye(v,g,r,h);var m=new le,y=new le;m.add(v),m.add(p),m.add(y),c(v.shape.points,d,y,s,h,!0),s.setItemGraphicEl(h,m)}}).update(function(h,d){var p=u.getItemGraphicEl(d),v=p.childAt(0),g=p.childAt(1),m=p.childAt(2),y={shape:{points:s.getItemLayout(h)}};y.shape.points&&(c(v.shape.points,y.shape.points,m,s,h,!1),Qr(g),Qr(v),Ie(v,y,r),Ie(g,y,r),s.setItemGraphicEl(h,p))}).remove(function(h){o.remove(u.getItemGraphicEl(h))}).execute(),s.eachItemGraphicEl(function(h,d){var p=s.getItemModel(d),v=h.childAt(0),g=h.childAt(1),m=h.childAt(2),y=s.getItemVisual(d,"style"),_=y.fill;o.add(h),v.useStyle(ae(p.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:_})),kt(v,p,"lineStyle"),kt(g,p,"areaStyle");var b=p.getModel("areaStyle"),x=b.isEmpty()&&b.parentModel.isEmpty();g.ignore=x,E(["emphasis","select","blur"],function(C){var A=p.getModel([C,"areaStyle"]),T=A.isEmpty()&&A.parentModel.isEmpty();g.ensureState(C).ignore=T&&x}),g.useStyle(ae(b.getAreaStyle(),{fill:_,opacity:.7,decal:y.decal}));var w=p.getModel("emphasis"),S=w.getModel("itemStyle").getItemStyle();m.eachChild(function(C){if(C instanceof Lt){var A=C.style;C.useStyle($({image:A.image,x:A.x,y:A.y,width:A.width,height:A.height},y))}else C.useStyle(y),C.setColor(_),C.style.strokeNoScale=!0;var T=C.ensureState("emphasis");T.style=oe(S);var D=s.getStore().get(s.getDimensionIndex(C.__dimIdx),d);(D==null||isNaN(D))&&(D=""),Mt(C,gt(p),{labelFetcher:s.hostModel,labelDataIndex:d,labelDimIndex:C.__dimIdx,defaultText:D,inheritColor:_,defaultOpacity:y.opacity})}),Je(h,w.get("focus"),w.get("blurScope"),w.get("disabled"))}),this._data=s},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.type="radar",e}(qe);const VY=zY;var $Y=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r}return e.prototype.init=function(r){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Jl(X(this.getData,this),X(this.getRawData,this))},e.prototype.getInitialData=function(r,n){return Ws(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(r,n,i){var a=this.getData(),o=this.coordinateSystem,s=o.getIndicatorAxes(),u=this.getData().getName(r),l=u===""?this.name:u,c=VS(this,r);return mt("section",{header:l,sortBlocks:!0,blocks:H(s,function(f){var h=a.get(a.mapDimension(f.dim),r);return mt("nameValue",{markerType:"subItem",markerColor:c,name:f.name,value:h,sortParam:h})})})},e.prototype.getTooltipPosition=function(r){if(r!=null){for(var n=this.getData(),i=this.coordinateSystem,a=n.getValues(H(i.dimensions,function(l){return n.mapDimension(l)}),r),o=0,s=a.length;o<s;o++)if(!isNaN(a[o])){var u=i.getIndicatorAxes();return i.coordToPoint(u[o].dataToCoord(a[o]),o)}}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(je);const GY=$Y;var gu=zA.value;function n0(t,e){return ae({show:e},t)}var HY=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.optionUpdated=function(){var r=this.get("boundaryGap"),n=this.get("splitNumber"),i=this.get("scale"),a=this.get("axisLine"),o=this.get("axisTick"),s=this.get("axisLabel"),u=this.get("axisName"),l=this.get(["axisName","show"]),c=this.get(["axisName","formatter"]),f=this.get("axisNameGap"),h=this.get("triggerEvent"),d=H(this.get("indicator")||[],function(p){p.max!=null&&p.max>0&&!p.min?p.min=0:p.min!=null&&p.min<0&&!p.max&&(p.max=0);var v=u;p.color!=null&&(v=ae({color:p.color},u));var g=ge(oe(p),{boundaryGap:r,splitNumber:n,scale:i,axisLine:a,axisTick:o,axisLabel:s,name:p.text,showName:l,nameLocation:"end",nameGap:f,nameTextStyle:v,triggerEvent:h},!1);if(Z(c)){var m=g.name;g.name=c.replace("{value}",m??"")}else te(c)&&(g.name=c(g.name,g));var y=new We(g,null,this.ecModel);return ft(y,Zl.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=d},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:ge({lineStyle:{color:"#bbb"}},gu.axisLine),axisLabel:n0(gu.axisLabel,!1),axisTick:n0(gu.axisTick,!1),splitLine:n0(gu.splitLine,!0),splitArea:n0(gu.splitArea,!0),indicator:[]},e}(Ce);const UY=HY;var WY=["axisLine","axisTickLabel","axisName"],qY=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=this.group;a.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},e.prototype._buildAxes=function(r){var n=r.coordinateSystem,i=n.getIndicatorAxes(),a=H(i,function(o){var s=o.model.get("showName")?o.name:"",u=new jn(o.model,{axisName:s,position:[n.cx,n.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return u});E(a,function(o){E(WY,o.add,o),this.group.add(o.getGroup())},this)},e.prototype._buildSplitLineAndArea=function(r){var n=r.coordinateSystem,i=n.getIndicatorAxes();if(!i.length)return;var a=r.get("shape"),o=r.getModel("splitLine"),s=r.getModel("splitArea"),u=o.getModel("lineStyle"),l=s.getModel("areaStyle"),c=o.get("show"),f=s.get("show"),h=u.get("color"),d=l.get("color"),p=G(h)?h:[h],v=G(d)?d:[d],g=[],m=[];function y(N,L,O){var P=O%L.length;return N[P]=N[P]||[],P}if(a==="circle")for(var _=i[0].getTicksCoords(),b=n.cx,x=n.cy,w=0;w<_.length;w++){if(c){var S=y(g,p,w);g[S].push(new Yi({shape:{cx:b,cy:x,r:_[w].coord}}))}if(f&&w<_.length-1){var S=y(m,v,w);m[S].push(new _2({shape:{cx:b,cy:x,r0:_[w].coord,r:_[w+1].coord}}))}}else for(var C,A=H(i,function(N,L){var O=N.getTicksCoords();return C=C==null?O.length-1:Math.min(O.length-1,C),H(O,function(P){return n.coordToPoint(P.coord,L)})}),T=[],w=0;w<=C;w++){for(var D=[],k=0;k<i.length;k++)D.push(A[k][w]);if(D[0]?D.push(D[0].slice()):process.env.NODE_ENV!=="production"&&console.error("Can't draw value axis "+w),c){var S=y(g,p,w);g[S].push(new ar({shape:{points:D}}))}if(f&&T){var S=y(m,v,w-1);m[S].push(new nr({shape:{points:D.concat(T)}}))}T=D.slice().reverse()}var M=u.getLineStyle(),I=l.getAreaStyle();E(m,function(N,L){this.group.add(Er(N,{style:ae({stroke:"none",fill:v[L%v.length]},I),silent:!0}))},this),E(g,function(N,L){this.group.add(Er(N,{style:ae({fill:"none",stroke:p[L%p.length]},M),silent:!0}))},this)},e.type="radar",e}(et);const ZY=qY;var YY=function(t){F(e,t);function e(r,n,i){var a=t.call(this,r,n,i)||this;return a.type="value",a.angle=0,a.name="",a}return e}(en);const XY=YY;var jY=function(){function t(e,r,n){this.dimensions=[],this._model=e,this._indicatorAxes=H(e.getIndicatorModels(),function(i,a){var o="indicator_"+a,s=new XY(o,new Ui);return s.name=i.get("name"),s.model=i,i.axis=s,this.dimensions.push(o),s},this),this.resize(e,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(e,r){var n=this._indicatorAxes[r];return this.coordToPoint(n.dataToCoord(e),r)},t.prototype.coordToPoint=function(e,r){var n=this._indicatorAxes[r],i=n.angle,a=this.cx+e*Math.cos(i),o=this.cy-e*Math.sin(i);return[a,o]},t.prototype.pointToData=function(e){var r=e[0]-this.cx,n=e[1]-this.cy,i=Math.sqrt(r*r+n*n);r/=i,n/=i;for(var a=Math.atan2(-n,r),o=1/0,s,u=-1,l=0;l<this._indicatorAxes.length;l++){var c=this._indicatorAxes[l],f=Math.abs(a-c.angle);f<o&&(s=c,u=l,o=f)}return[u,+(s&&s.coordToData(i))]},t.prototype.resize=function(e,r){var n=e.get("center"),i=r.getWidth(),a=r.getHeight(),o=Math.min(i,a)/2;this.cx=W(n[0],i),this.cy=W(n[1],a),this.startAngle=e.get("startAngle")*Math.PI/180;var s=e.get("radius");(Z(s)||Me(s))&&(s=[0,s]),this.r0=W(s[0],o),this.r=W(s[1],o),E(this._indicatorAxes,function(u,l){u.setExtent(this.r0,this.r);var c=this.startAngle+l*Math.PI*2/this._indicatorAxes.length;c=Math.atan2(Math.sin(c),Math.cos(c)),u.angle=c},this)},t.prototype.update=function(e,r){var n=this._indicatorAxes,i=this._model;E(n,function(s){s.scale.setExtent(1/0,-1/0)}),e.eachSeriesByType("radar",function(s,u){if(!(s.get("coordinateSystem")!=="radar"||e.getComponent("radar",s.get("radarIndex"))!==i)){var l=s.getData();E(n,function(c){c.scale.unionExtentFromData(l,l.mapDimension(c.dim))})}},this);var a=i.get("splitNumber"),o=new Ui;o.setExtent(0,a),o.setInterval(1),E(n,function(s,u){VA(s.scale,s.model,o)})},t.prototype.convertToPixel=function(e,r,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(e,r,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},t.create=function(e,r){var n=[];return e.eachComponent("radar",function(i){var a=new t(i,e,r);n.push(a),i.coordinateSystem=a}),e.eachSeriesByType("radar",function(i){i.get("coordinateSystem")==="radar"&&(i.coordinateSystem=n[i.get("radarIndex")||0])}),n},t.dimensions=[],t}();const KY=jY;function QY(t){t.registerCoordinateSystem("radar",KY),t.registerComponentModel(UY),t.registerComponentView(ZY),t.registerVisual({seriesType:"radar",reset:function(e){var r=e.getData();r.each(function(n){r.setItemVisual(n,"legendIcon","roundRect")}),r.setVisual("legendIcon","roundRect")}})}function JY(t){be(QY),t.registerChartView(VY),t.registerSeriesModel(GY),t.registerLayout(BY),t.registerProcessor(Ql("radar")),t.registerPreprocessor(FY)}var Hg="\0_ec_interaction_mutex";function eX(t,e,r){var n=f7(t);n[e]=r}function tX(t,e,r){var n=f7(t),i=n[e];i===r&&(n[e]=null)}function Ug(t,e){return!!f7(t)[e]}function f7(t){return t[Hg]||(t[Hg]={})}kn({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},at);var rX=function(t){F(e,t);function e(r){var n=t.call(this)||this;n._zr=r;var i=X(n._mousedownHandler,n),a=X(n._mousemoveHandler,n),o=X(n._mouseupHandler,n),s=X(n._mousewheelHandler,n),u=X(n._pinchHandler,n);return n.enable=function(l,c){this.disable(),this._opt=ae(oe(c)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),l==null&&(l=!0),(l===!0||l==="move"||l==="pan")&&(r.on("mousedown",i),r.on("mousemove",a),r.on("mouseup",o)),(l===!0||l==="scale"||l==="zoom")&&(r.on("mousewheel",s),r.on("pinch",u))},n.disable=function(){r.off("mousedown",i),r.off("mousemove",a),r.off("mouseup",o),r.off("mousewheel",s),r.off("pinch",u)},n}return e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(r){this.pointerChecker=r},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(r){if(!pv(r)){for(var n=r.target;n;){if(n.draggable)return;n=n.__hostTarget||n.parent}var i=r.offsetX,a=r.offsetY;this.pointerChecker&&this.pointerChecker(r,i,a)&&(this._x=i,this._y=a,this._dragging=!0)}},e.prototype._mousemoveHandler=function(r){if(!(!this._dragging||!B0("moveOnMouseMove",r,this._opt)||r.gestureEvent==="pinch"||Ug(this._zr,"globalPan"))){var n=r.offsetX,i=r.offsetY,a=this._x,o=this._y,s=n-a,u=i-o;this._x=n,this._y=i,this._opt.preventDefaultMouseMove&&Wn(r.event),ZA(this,"pan","moveOnMouseMove",r,{dx:s,dy:u,oldX:a,oldY:o,newX:n,newY:i,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(r){pv(r)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(r){var n=B0("zoomOnMouseWheel",r,this._opt),i=B0("moveOnMouseWheel",r,this._opt),a=r.wheelDelta,o=Math.abs(a),s=r.offsetX,u=r.offsetY;if(!(a===0||!n&&!i)){if(n){var l=o>3?1.4:o>1?1.2:1.1,c=a>0?l:1/l;P6(this,"zoom","zoomOnMouseWheel",r,{scale:c,originX:s,originY:u,isAvailableBehavior:null})}if(i){var f=Math.abs(a),h=(a>0?1:-1)*(f>3?.4:f>1?.15:.05);P6(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:h,originX:s,originY:u,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(r){if(!Ug(this._zr,"globalPan")){var n=r.pinchScale>1?1.1:1/1.1;P6(this,"zoom",null,r,{scale:n,originX:r.pinchX,originY:r.pinchY,isAvailableBehavior:null})}},e}(Or);function P6(t,e,r,n,i){t.pointerChecker&&t.pointerChecker(n,i.originX,i.originY)&&(Wn(n.event),ZA(t,e,r,n,i))}function ZA(t,e,r,n,i){i.isAvailableBehavior=X(B0,null,r,n),t.trigger(e,i)}function B0(t,e,r){var n=r[t];return!t||n&&(!Z(n)||e.event[n+"Key"])}const e1=rX;function h7(t,e,r){var n=t.target;n.x+=e,n.y+=r,n.dirty()}function d7(t,e,r,n){var i=t.target,a=t.zoomLimit,o=t.zoom=t.zoom||1;if(o*=e,a){var s=a.min||0,u=a.max||1/0;o=Math.max(Math.min(u,o),s)}var l=o/t.zoom;t.zoom=o,i.x-=(r-i.x)*(l-1),i.y-=(n-i.y)*(l-1),i.scaleX*=l,i.scaleY*=l,i.dirty()}var nX={axisPointer:1,tooltip:1,brush:1};function V2(t,e,r){var n=e.getComponentByElement(t.topTarget),i=n&&n.coordinateSystem;return n&&n!==r&&!nX.hasOwnProperty(n.mainType)&&i&&i.model!==r}function YA(t){if(Z(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}var r=t;for(r.nodeType===9&&(r=r.firstChild);r.nodeName.toLowerCase()!=="svg"||r.nodeType!==1;)r=r.nextSibling;return r}var R6,kc={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},Wg=Se(kc),Mc={"alignment-baseline":"textBaseline","stop-color":"stopColor"},qg=Se(Mc),iX=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(e,r){r=r||{};var n=YA(e);if(process.env.NODE_ENV!=="production"&&!n)throw new Error("Illegal svg");this._defsUsePending=[];var i=new le;this._root=i;var a=[],o=n.getAttribute("viewBox")||"",s=parseFloat(n.getAttribute("width")||r.width),u=parseFloat(n.getAttribute("height")||r.height);isNaN(s)&&(s=null),isNaN(u)&&(u=null),or(n,i,null,!0,!1);for(var l=n.firstChild;l;)this._parseNode(l,i,a,null,!1,!1),l=l.nextSibling;sX(this._defs,this._defsUsePending),this._defsUsePending=[];var c,f;if(o){var h=$2(o);h.length>=4&&(c={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(c&&s!=null&&u!=null&&(f=jA(c,{x:0,y:0,width:s,height:u}),!r.ignoreViewBox)){var d=i;i=new le,i.add(d),d.scaleX=d.scaleY=f.scale,d.x=f.x,d.y=f.y}return!r.ignoreRootClip&&s!=null&&u!=null&&i.setClipPath(new Ee({shape:{x:0,y:0,width:s,height:u}})),{root:i,width:s,height:u,viewBoxRect:c,viewBoxTransform:f,named:a}},t.prototype._parseNode=function(e,r,n,i,a,o){var s=e.nodeName.toLowerCase(),u,l=i;if(s==="defs"&&(a=!0),s==="text"&&(o=!0),s==="defs"||s==="switch")u=r;else{if(!a){var c=R6[s];if(c&&j(R6,s)){u=c.call(this,e,r);var f=e.getAttribute("name");if(f){var h={name:f,namedFrom:null,svgNodeTagLower:s,el:u};n.push(h),s==="g"&&(l=h)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:u});r.add(u)}}var d=Zg[s];if(d&&j(Zg,s)){var p=d.call(this,e),v=e.getAttribute("id");v&&(this._defs[v]=p)}}if(u&&u.isGroup)for(var g=e.firstChild;g;)g.nodeType===1?this._parseNode(g,u,n,l,a,o):g.nodeType===3&&o&&this._parseText(g,u),g=g.nextSibling},t.prototype._parseText=function(e,r){var n=new pl({style:{text:e.textContent},silent:!0,x:this._textX||0,y:this._textY||0});yr(r,n),or(e,n,this._defsUsePending,!1,!1),aX(n,r);var i=n.style,a=i.fontSize;a&&a<9&&(i.fontSize=9,n.scaleX*=a/9,n.scaleY*=a/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var s=n.getBoundingRect();return this._textX+=s.width,r.add(n),n},t.internalField=function(){R6={g:function(e,r){var n=new le;return yr(r,n),or(e,n,this._defsUsePending,!1,!1),n},rect:function(e,r){var n=new Ee;return yr(r,n),or(e,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),width:parseFloat(e.getAttribute("width")||"0"),height:parseFloat(e.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(e,r){var n=new Yi;return yr(r,n),or(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),r:parseFloat(e.getAttribute("r")||"0")}),n.silent=!0,n},line:function(e,r){var n=new xt;return yr(r,n),or(e,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(e.getAttribute("x1")||"0"),y1:parseFloat(e.getAttribute("y1")||"0"),x2:parseFloat(e.getAttribute("x2")||"0"),y2:parseFloat(e.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(e,r){var n=new x5;return yr(r,n),or(e,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(e.getAttribute("cx")||"0"),cy:parseFloat(e.getAttribute("cy")||"0"),rx:parseFloat(e.getAttribute("rx")||"0"),ry:parseFloat(e.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(e,r){var n=e.getAttribute("points"),i;n&&(i=jg(n));var a=new nr({shape:{points:i||[]},silent:!0});return yr(r,a),or(e,a,this._defsUsePending,!1,!1),a},polyline:function(e,r){var n=e.getAttribute("points"),i;n&&(i=jg(n));var a=new ar({shape:{points:i||[]},silent:!0});return yr(r,a),or(e,a,this._defsUsePending,!1,!1),a},image:function(e,r){var n=new Lt;return yr(r,n),or(e,n,this._defsUsePending,!1,!1),n.setStyle({image:e.getAttribute("xlink:href")||e.getAttribute("href"),x:+e.getAttribute("x"),y:+e.getAttribute("y"),width:+e.getAttribute("width"),height:+e.getAttribute("height")}),n.silent=!0,n},text:function(e,r){var n=e.getAttribute("x")||"0",i=e.getAttribute("y")||"0",a=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(i)+parseFloat(o);var s=new le;return yr(r,s),or(e,s,this._defsUsePending,!1,!0),s},tspan:function(e,r){var n=e.getAttribute("x"),i=e.getAttribute("y");n!=null&&(this._textX=parseFloat(n)),i!=null&&(this._textY=parseFloat(i));var a=e.getAttribute("dx")||"0",o=e.getAttribute("dy")||"0",s=new le;return yr(r,s),or(e,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(a),this._textY+=parseFloat(o),s},path:function(e,r){var n=e.getAttribute("d")||"",i=Cw(n);return yr(r,i),or(e,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),t}(),Zg={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),r=parseInt(t.getAttribute("y1")||"0",10),n=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),a=new Gl(e,r,n,i);return Yg(t,a),Xg(t,a),a},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),r=parseInt(t.getAttribute("cy")||"0",10),n=parseInt(t.getAttribute("r")||"0",10),i=new Bw(e,r,n);return Yg(t,i),Xg(t,i),i}};function Yg(t,e){var r=t.getAttribute("gradientUnits");r==="userSpaceOnUse"&&(e.global=!0)}function Xg(t,e){for(var r=t.firstChild;r;){if(r.nodeType===1&&r.nodeName.toLocaleLowerCase()==="stop"){var n=r.getAttribute("offset"),i=void 0;n&&n.indexOf("%")>0?i=parseInt(n,10)/100:n?i=parseFloat(n):i=0;var a={};XA(r,a,a);var o=a.stopColor||r.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:o})}r=r.nextSibling}}function yr(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),ae(e.__inheritedStyle,t.__inheritedStyle))}function jg(t){for(var e=$2(t),r=[],n=0;n<e.length;n+=2){var i=parseFloat(e[n]),a=parseFloat(e[n+1]);r.push([i,a])}return r}function or(t,e,r,n,i){var a=e,o=a.__inheritedStyle=a.__inheritedStyle||{},s={};t.nodeType===1&&(cX(t,e),XA(t,o,s),n||fX(t,o,s)),a.style=a.style||{},o.fill!=null&&(a.style.fill=Kg(a,"fill",o.fill,r)),o.stroke!=null&&(a.style.stroke=Kg(a,"stroke",o.stroke,r)),E(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(u){o[u]!=null&&(a.style[u]=parseFloat(o[u]))}),E(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(u){o[u]!=null&&(a.style[u]=o[u])}),i&&(a.__selfStyle=s),o.lineDash&&(a.style.lineDash=H($2(o.lineDash),function(u){return parseFloat(u)})),(o.visibility==="hidden"||o.visibility==="collapse")&&(a.invisible=!0),o.display==="none"&&(a.ignore=!0)}function aX(t,e){var r=e.__selfStyle;if(r){var n=r.textBaseline,i=n;!n||n==="auto"||n==="baseline"?i="alphabetic":n==="before-edge"||n==="text-before-edge"?i="top":n==="after-edge"||n==="text-after-edge"?i="bottom":(n==="central"||n==="mathematical")&&(i="middle"),t.style.textBaseline=i}var a=e.__inheritedStyle;if(a){var o=a.textAlign,s=o;o&&(o==="middle"&&(s="center"),t.style.textAlign=s)}}var oX=/^url\(\s*#(.*?)\)/;function Kg(t,e,r,n){var i=r&&r.match(oX);if(i){var a=Wr(i[1]);n.push([t,e,a]);return}return r==="none"&&(r=null),r}function sX(t,e){for(var r=0;r<e.length;r++){var n=e[r];n[0].style[n[1]]=t[n[2]]}}var uX=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function $2(t){return t.match(uX)||[]}var lX=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,N6=Math.PI/180;function cX(t,e){var r=t.getAttribute("transform");if(r){r=r.replace(/,/g," ");var n=[],i=null;r.replace(lX,function(f,h,d){return n.push(h,d),""});for(var a=n.length-1;a>0;a-=2){var o=n[a],s=n[a-1],u=$2(o);switch(i=i||cr(),s){case"translate":xn(i,i,[parseFloat(u[0]),parseFloat(u[1]||"0")]);break;case"scale":i5(i,i,[parseFloat(u[0]),parseFloat(u[1]||u[0])]);break;case"rotate":ho(i,i,-parseFloat(u[0])*N6,[parseFloat(u[1]||"0"),parseFloat(u[2]||"0")]);break;case"skewX":var l=Math.tan(parseFloat(u[0])*N6);zn(i,[1,0,l,1,0,0],i);break;case"skewY":var c=Math.tan(parseFloat(u[0])*N6);zn(i,[1,c,0,1,0,0],i);break;case"matrix":i[0]=parseFloat(u[0]),i[1]=parseFloat(u[1]),i[2]=parseFloat(u[2]),i[3]=parseFloat(u[3]),i[4]=parseFloat(u[4]),i[5]=parseFloat(u[5]);break}}e.setLocalTransform(i)}}var Qg=/([^\s:;]+)\s*:\s*([^:;]+)/g;function XA(t,e,r){var n=t.getAttribute("style");if(n){Qg.lastIndex=0;for(var i;(i=Qg.exec(n))!=null;){var a=i[1],o=j(kc,a)?kc[a]:null;o&&(e[o]=i[2]);var s=j(Mc,a)?Mc[a]:null;s&&(r[s]=i[2])}}}function fX(t,e,r){for(var n=0;n<Wg.length;n++){var i=Wg[n],a=t.getAttribute(i);a!=null&&(e[kc[i]]=a)}for(var n=0;n<qg.length;n++){var i=qg[n],a=t.getAttribute(i);a!=null&&(r[Mc[i]]=a)}}function jA(t,e){var r=e.width/t.width,n=e.height/t.height,i=Math.min(r,n);return{scale:i,x:-(t.x+t.width/2)*i+(e.x+e.width/2),y:-(t.y+t.height/2)*i+(e.y+e.height/2)}}function hX(t,e){var r=new iX;return r.parse(t,e)}var dX=J(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),pX=function(){function t(e,r){this.type="geoSVG",this._usedGraphicMap=J(),this._freedGraphics=[],this._mapName=e,this._parsedXML=YA(r)}return t.prototype.load=function(){var e=this._firstGraphic;if(!e){e=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(e),this._boundingRect=this._firstGraphic.boundingRect.clone();var r=gX(e.named),n=r.regions,i=r.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(e){var r,n;try{r=e&&hX(e,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=r.root,ie(n!=null)}catch(g){throw new Error(`Invalid svg format
|
|
92
|
+
`+g.message)}var i=new le;i.add(n),i.isGeoSVGGraphicRoot=!0;var a=r.width,o=r.height,s=r.viewBoxRect,u=this._boundingRect;if(!u){var l=void 0,c=void 0,f=void 0,h=void 0;if(a!=null?(l=0,f=a):s&&(l=s.x,f=s.width),o!=null?(c=0,h=o):s&&(c=s.y,h=s.height),l==null||c==null){var d=n.getBoundingRect();l==null&&(l=d.x,f=d.width),c==null&&(c=d.y,h=d.height)}u=this._boundingRect=new ye(l,c,f,h)}if(s){var p=jA(s,u);n.scaleX=n.scaleY=p.scale,n.x=p.x,n.y=p.y}i.setClipPath(new Ee({shape:u.plain()}));var v=[];return E(r.named,function(g){dX.get(g.svgNodeTagLower)!=null&&(v.push(g),vX(g.el))}),{root:i,boundingRect:u,named:v}},t.prototype.useGraphic=function(e){var r=this._usedGraphicMap,n=r.get(e);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),r.set(e,n),n)},t.prototype.freeGraphic=function(e){var r=this._usedGraphicMap,n=r.get(e);n&&(r.removeKey(e),this._freedGraphics.push(n))},t}();function vX(t){t.silent=!1,t.isGroup&&t.traverse(function(e){e.silent=!1})}function gX(t){var e=[],r=J();return E(t,function(n){if(n.namedFrom==null){var i=new PW(n.name,n.el);e.push(i),r.set(n.name,i)}}),{regions:e,regionsMap:r}}var e4=[126,25],Jg="南海诸岛",Ca=[[[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 wa=0;wa<Ca.length;wa++)for(var zo=0;zo<Ca[wa].length;zo++)Ca[wa][zo][0]/=10.5,Ca[wa][zo][1]/=-10.5/.75,Ca[wa][zo][0]+=e4[0],Ca[wa][zo][1]+=e4[1];function mX(t,e){if(t==="china"){for(var r=0;r<e.length;r++)if(e[r].name===Jg)return;e.push(new WC(Jg,H(Ca,function(n){return{type:"polygon",exterior:n}}),e4))}}var yX={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function _X(t,e){if(t==="china"){var r=yX[e.name];if(r){var n=e.getCenter();n[0]+=r[0]/10.5,n[1]+=-r[1]/(10.5/.75),e.setCenter(n)}}}var bX=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function xX(t,e){t==="china"&&e.name==="台湾"&&e.geometries.push({type:"polygon",exterior:bX[0]})}var wX="name",SX=function(){function t(e,r,n){this.type="geoJSON",this._parsedMap=J(),this._mapName=e,this._specialAreas=n,this._geoJSON=AX(r)}return t.prototype.load=function(e,r){r=r||wX;var n=this._parsedMap.get(r);if(!n){var i=this._parseToRegions(r);n=this._parsedMap.set(r,{regions:i,boundingRect:CX(i)})}var a=J(),o=[];return E(n.regions,function(s){var u=s.name;e&&j(e,u)&&(s=s.cloneShallow(u=e[u])),o.push(s),a.set(u,s)}),{regions:o,boundingRect:n.boundingRect||new ye(0,0,0,0),regionsMap:a}},t.prototype._parseToRegions=function(e){var r=this._mapName,n=this._geoJSON,i;try{i=n?NW(n,e):[]}catch(a){throw new Error(`Invalid geoJson format
|
|
93
|
+
`+a.message)}return mX(r,i),E(i,function(a){var o=a.name;_X(r,a),xX(r,a);var s=this._specialAreas&&this._specialAreas[o];s&&a.transformTo(s.left,s.top,s.width,s.height)},this),i},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function CX(t){for(var e,r=0;r<t.length;r++){var n=t[r].getBoundingRect();e=e||n.clone(),e.union(n)}return e}function AX(t){return Z(t)?typeof JSON<"u"&&JSON.parse?JSON.parse(t):new Function("return ("+t+");")():t}var mu=J();const Kn={registerMap:function(t,e,r){if(e.svg){var n=new pX(t,e.svg);mu.set(t,n)}else{var i=e.geoJson||e.geoJSON;i&&!e.features?r=e.specialAreas:i=e;var n=new SX(t,i,r);mu.set(t,n)}},getGeoResource:function(t){return mu.get(t)},getMapForUser:function(t){var e=mu.get(t);return e&&e.type==="geoJSON"&&e.getMapForUser()},load:function(t,e,r){var n=mu.get(t);if(!n){process.env.NODE_ENV!=="production"&&console.error("Map "+t+" not exists. The GeoJSON of the map must be provided.");return}return n.load(e,r)}};var p7=["rect","circle","line","ellipse","polygon","polyline","path"],TX=J(p7),DX=J(p7.concat(["g"])),EX=J(p7.concat(["g"])),KA=Ae();function i0(t){var e=t.getItemStyle(),r=t.get("areaColor");return r!=null&&(e.fill=r),e}function e9(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var kX=function(){function t(e){var r=new le;this.uid=Ns("ec_map_draw"),this._controller=new e1(e.getZr()),this._controllerHost={target:r},this.group=r,r.add(this._regionsGroup=new le),r.add(this._svgGroup=new le)}return t.prototype.draw=function(e,r,n,i,a){var o=e.mainType==="geo",s=e.getData&&e.getData();o&&r.eachComponent({mainType:"series",subType:"map"},function(m){!s&&m.getHostGeoModel()===e&&(s=m.getData())});var u=e.coordinateSystem,l=this._regionsGroup,c=this.group,f=u.getTransformInfo(),h=f.raw,d=f.roam,p=!l.childAt(0)||a;p?(c.x=d.x,c.y=d.y,c.scaleX=d.scaleX,c.scaleY=d.scaleY,c.dirty()):Ie(c,d,e);var v=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,g={api:n,geo:u,mapOrGeoModel:e,data:s,isVisualEncodedByVisualMap:v,isGeo:o,transformInfoRaw:h};u.resourceType==="geoJSON"?this._buildGeoJSON(g):u.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(e,r,n),this._updateMapSelectHandler(e,l,n,i)},t.prototype._buildGeoJSON=function(e){var r=this._regionsGroupByName=J(),n=J(),i=this._regionsGroup,a=e.transformInfoRaw,o=e.mapOrGeoModel,s=e.data,u=e.geo.projection,l=u&&u.stream;function c(d,p){return p&&(d=p(d)),d&&[d[0]*a.scaleX+a.x,d[1]*a.scaleY+a.y]}function f(d){for(var p=[],v=!l&&u&&u.project,g=0;g<d.length;++g){var m=c(d[g],v);m&&p.push(m)}return p}function h(d){return{shape:{points:f(d)}}}i.removeAll(),E(e.geo.regions,function(d){var p=d.name,v=r.get(p),g=n.get(p)||{},m=g.dataIdx,y=g.regionModel;if(!v){v=r.set(p,new le),i.add(v),m=s?s.indexOfName(p):null,y=e.isGeo?o.getRegionModel(p):s?s.getItemModel(m):null;var _=y.get("silent",!0);_!=null&&(v.silent=_),n.set(p,{dataIdx:m,regionModel:y})}var b=[],x=[];E(d.geometries,function(C){if(C.type==="polygon"){var A=[C.exterior].concat(C.interiors||[]);l&&(A=o9(A,l)),E(A,function(D){b.push(new nr(h(D)))})}else{var T=C.points;l&&(T=o9(T,l,!0)),E(T,function(D){x.push(new ar(h(D)))})}});var w=c(d.getCenter(),u&&u.project);function S(C,A){if(C.length){var T=new S5({culling:!0,segmentIgnoreThreshold:1,shape:{paths:C}});v.add(T),t9(e,T,m,y),r9(e,T,p,y,o,m,w),A&&(e9(T),E(T.states,e9))}}S(b),S(x,!0)}),r.each(function(d,p){var v=n.get(p),g=v.dataIdx,m=v.regionModel;n9(e,d,p,m,o,g),i9(e,d,p,m,o),a9(e,d,p,m,o)},this)},t.prototype._buildSVG=function(e){var r=e.geo.map,n=e.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(r)&&(this._freeSVG(),this._useSVG(r));var i=this._svgDispatcherMap=J(),a=!1;E(this._svgGraphicRecord.named,function(o){var s=o.name,u=e.mapOrGeoModel,l=e.data,c=o.svgNodeTagLower,f=o.el,h=l?l.indexOfName(s):null,d=u.getRegionModel(s);TX.get(c)!=null&&f instanceof Rr&&t9(e,f,h,d),f instanceof Rr&&(f.culling=!0);var p=d.get("silent",!0);if(p!=null&&(f.silent=p),f.z2EmphasisLift=0,!o.namedFrom&&(EX.get(c)!=null&&r9(e,f,s,d,u,h,null),n9(e,f,s,d,u,h),i9(e,f,s,d,u),DX.get(c)!=null)){var v=a9(e,f,s,d,u);v==="self"&&(a=!0);var g=i.get(s)||i.set(s,[]);g.push(f)}},this),this._enableBlurEntireSVG(a,e)},t.prototype._enableBlurEntireSVG=function(e,r){if(e&&r.isGeo){var n=r.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),i=n.opacity;this._svgGraphicRecord.root.traverse(function(a){if(!a.isGroup){ao(a);var o=a.ensureState("blur").style||{};o.opacity==null&&i!=null&&(o.opacity=i),a.ensureState("emphasis")}})}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(e,r){if(e==null)return[];var n=r.coordinateSystem;if(n.resourceType==="geoJSON"){var i=this._regionsGroupByName;if(i){var a=i.get(e);return a?[a]:[]}}else if(n.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get(e)||[]},t.prototype._svgResourceChanged=function(e){return this._svgMapName!==e},t.prototype._useSVG=function(e){var r=Kn.getGeoResource(e);if(r&&r.type==="geoSVG"){var n=r.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=e}},t.prototype._freeSVG=function(){var e=this._svgMapName;if(e!=null){var r=Kn.getGeoResource(e);r&&r.type==="geoSVG"&&r.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(e,r,n){var i=e.coordinateSystem,a=this._controller,o=this._controllerHost;o.zoomLimit=e.get("scaleLimit"),o.zoom=i.getZoom(),a.enable(e.get("roam")||!1);var s=e.mainType;function u(){var l={type:"geoRoam",componentType:s};return l[s+"Id"]=e.id,l}a.off("pan").on("pan",function(l){this._mouseDownFlag=!1,h7(o,l.dx,l.dy),n.dispatchAction($(u(),{dx:l.dx,dy:l.dy,animation:{duration:0}}))},this),a.off("zoom").on("zoom",function(l){this._mouseDownFlag=!1,d7(o,l.scale,l.originX,l.originY),n.dispatchAction($(u(),{totalZoom:o.zoom,zoom:l.scale,originX:l.originX,originY:l.originY,animation:{duration:0}}))},this),a.setPointerChecker(function(l,c,f){return i.containPoint([c,f])&&!V2(l,n,e)})},t.prototype.resetForLabelLayout=function(){this.group.traverse(function(e){var r=e.getTextContent();r&&(r.ignore=KA(r).ignore)})},t.prototype._updateMapSelectHandler=function(e,r,n,i){var a=this;r.off("mousedown"),r.off("click"),e.get("selectedMode")&&(r.on("mousedown",function(){a._mouseDownFlag=!0}),r.on("click",function(o){a._mouseDownFlag&&(a._mouseDownFlag=!1)}))},t}();function t9(t,e,r,n){var i=n.getModel("itemStyle"),a=n.getModel(["emphasis","itemStyle"]),o=n.getModel(["blur","itemStyle"]),s=n.getModel(["select","itemStyle"]),u=i0(i),l=i0(a),c=i0(s),f=i0(o),h=t.data;if(h){var d=h.getItemVisual(r,"style"),p=h.getItemVisual(r,"decal");t.isVisualEncodedByVisualMap&&d.fill&&(u.fill=d.fill),p&&(u.decal=bs(p,t.api))}e.setStyle(u),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=l,e.ensureState("select").style=c,e.ensureState("blur").style=f,ao(e)}function r9(t,e,r,n,i,a,o){var s=t.data,u=t.isGeo,l=s&&isNaN(s.get(s.mapDimension("value"),a)),c=s&&s.getItemLayout(a);if(u||l||c&&c.showLabel){var f=u?r:a,h=void 0;(!s||a>=0)&&(h=i);var d=o?{normal:{align:"center",verticalAlign:"middle"}}:null;Mt(e,gt(n),{labelFetcher:h,labelDataIndex:f,defaultText:r},d);var p=e.getTextContent();if(p&&(KA(p).ignore=p.ignore,e.textConfig&&o)){var v=e.getBoundingRect().clone();e.textConfig.layoutRect=v,e.textConfig.position=[(o[0]-v.x)/v.width*100+"%",(o[1]-v.y)/v.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function n9(t,e,r,n,i,a){t.data?t.data.setItemGraphicEl(a,e):ce(e).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:r,region:n&&n.option||{}}}function i9(t,e,r,n,i){t.data||po({el:e,componentModel:i,itemName:r,itemTooltipOption:n.get("tooltip")})}function a9(t,e,r,n,i){e.highDownSilentOnTouch=!!i.get("selectedMode");var a=n.getModel("emphasis"),o=a.get("focus");return Je(e,o,a.get("blurScope"),a.get("disabled")),t.isGeo&&TV(e,i,r),o}function o9(t,e,r){var n=[],i;function a(){i=[]}function o(){i.length&&(n.push(i),i=[])}var s=e({polygonStart:a,polygonEnd:o,lineStart:a,lineEnd:o,point:function(u,l){isFinite(u)&&isFinite(l)&&i.push([u,l])},sphere:function(){}});return!r&&s.polygonStart(),E(t,function(u){s.lineStart();for(var l=0;l<u.length;l++)s.point(u[l][0],u[l][1]);s.lineEnd()}),!r&&s.polygonEnd(),n}const QA=kX;var MX=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i,a){if(!(a&&a.type==="mapToggleSelect"&&a.from===this.uid)){var o=this.group;if(o.removeAll(),!r.getHostGeoModel()){if(this._mapDraw&&a&&a.type==="geoRoam"&&this._mapDraw.resetForLabelLayout(),a&&a.type==="geoRoam"&&a.componentType==="series"&&a.seriesId===r.id){var s=this._mapDraw;s&&o.add(s.group)}else if(r.needsDrawMap){var s=this._mapDraw||new QA(i);o.add(s.group),s.draw(r,n,i,this,a),this._mapDraw=s}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;r.get("showLegendSymbol")&&n.getComponent("legend")&&this._renderSymbols(r,n,i)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(r,n,i){var a=r.originalData,o=this.group;a.each(a.mapDimension("value"),function(s,u){if(!isNaN(s)){var l=a.getItemLayout(u);if(!(!l||!l.point)){var c=l.point,f=l.offset,h=new Yi({style:{fill:r.getData().getVisual("style").fill},shape:{cx:c[0]+f*9,cy:c[1],r:3},silent:!0,z2:8+(f?0:Is+1)});if(!f){var d=r.mainSeries.getData(),p=a.getName(u),v=d.indexOfName(p),g=a.getItemModel(u),m=g.getModel("label"),y=d.getItemGraphicEl(v);Mt(h,gt(g),{labelFetcher:{getFormattedLabel:function(_,b){return r.getFormattedLabel(v,b)}},defaultText:p}),h.disableLabelAnimation=!0,m.get("position")||h.setTextConfig({position:"bottom"}),y.onHoverStateChange=function(_){oc(h,_)}}o.add(h)}}})},e.type="map",e}(qe);const LX=MX;var IX=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.needsDrawMap=!1,r.seriesGroup=[],r.getTooltipPosition=function(n){if(n!=null){var i=this.getData().getName(n),a=this.coordinateSystem,o=a.getRegion(i);return o&&a.dataToPoint(o.getCenter())}},r}return e.prototype.getInitialData=function(r){for(var n=Ws(this,{coordDimensions:["value"],encodeDefaulter:ve(P5,this)}),i=J(),a=[],o=0,s=n.count();o<s;o++){var u=n.getName(o);i.set(u,o)}var l=Kn.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return E(l.regions,function(c){var f=c.name,h=i.get(f),d=c.properties&&c.properties.echartsStyle,p;h==null?(p={name:f},a.push(p)):p=n.getRawDataItem(h),d&&ge(p,d)}),n.appendData(a),n},e.prototype.getHostGeoModel=function(){var r=this.option.geoIndex;return r!=null?this.ecModel.getComponent("geo",r):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(r){var n=this.getData();return n.get(n.mapDimension("value"),r)},e.prototype.getRegionModel=function(r){var n=this.getData();return n.getItemModel(n.indexOfName(r))},e.prototype.formatTooltip=function(r,n,i){for(var a=this.getData(),o=this.getRawValue(r),s=a.getName(r),u=this.seriesGroup,l=[],c=0;c<u.length;c++){var f=u[c].originalData.indexOfName(s),h=a.mapDimension("value");isNaN(u[c].originalData.get(h,f))||l.push(u[c].name)}return mt("section",{header:l.join(", "),noHeader:!l.length,blocks:[mt("nameValue",{name:s,value:o})]})},e.prototype.setZoom=function(r){this.option.zoom=r},e.prototype.setCenter=function(r){this.option.center=r},e.prototype.getLegendIcon=function(r){var n=r.icon||"roundRect",i=ct(n,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill);return i.setStyle(r.itemStyle),i.style.stroke="none",n.indexOf("empty")>-1&&(i.style.stroke=i.style.fill,i.style.fill="#fff",i.style.lineWidth=2),i},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(je);const PX=IX;function RX(t,e){var r={};return E(t,function(n){n.each(n.mapDimension("value"),function(i,a){var o="ec-"+n.getName(a);r[o]=r[o]||[],isNaN(i)||r[o].push(i)})}),t[0].map(t[0].mapDimension("value"),function(n,i){for(var a="ec-"+t[0].getName(i),o=0,s=1/0,u=-1/0,l=r[a].length,c=0;c<l;c++)s=Math.min(s,r[a][c]),u=Math.max(u,r[a][c]),o+=r[a][c];var f;return e==="min"?f=s:e==="max"?f=u:e==="average"?f=o/l:f=o,l===0?NaN:f})}function NX(t){var e={};t.eachSeriesByType("map",function(r){var n=r.getHostGeoModel(),i=n?"o"+n.id:"i"+r.getMapType();(e[i]=e[i]||[]).push(r)}),E(e,function(r,n){for(var i=RX(H(r,function(o){return o.getData()}),r[0].get("mapValueCalculation")),a=0;a<r.length;a++)r[a].originalData=r[a].getData();for(var a=0;a<r.length;a++)r[a].seriesGroup=r,r[a].needsDrawMap=a===0&&!r[a].getHostGeoModel(),r[a].setData(i.cloneShallow()),r[a].mainSeries=r[0]})}function OX(t){var e={};t.eachSeriesByType("map",function(r){var n=r.getMapType();if(!(r.getHostGeoModel()||e[n])){var i={};E(r.seriesGroup,function(o){var s=o.coordinateSystem,u=o.originalData;o.get("showLegendSymbol")&&t.getComponent("legend")&&u.each(u.mapDimension("value"),function(l,c){var f=u.getName(c),h=s.getRegion(f);if(!(!h||isNaN(l))){var d=i[f]||0,p=s.dataToPoint(h.getCenter());i[f]=d+1,u.setItemLayout(c,{point:p,offset:d})}})});var a=r.getData();a.each(function(o){var s=a.getName(o),u=a.getItemLayout(o)||{};u.showLabel=!i[s],a.setItemLayout(o,u)}),e[n]=!0}})}var s9=Tt,BX=function(t){F(e,t);function e(r){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new On,n._rawTransformable=new On,n.name=r,n}return e.prototype.setBoundingRect=function(r,n,i,a){return this._rect=new ye(r,n,i,a),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(r,n,i,a){this._transformTo(r,n,i,a),this._viewRect=new ye(r,n,i,a)},e.prototype._transformTo=function(r,n,i,a){var o=this.getBoundingRect(),s=this._rawTransformable;s.transform=o.calculateTransform(new ye(r,n,i,a));var u=s.parent;s.parent=null,s.decomposeTransform(),s.parent=u,this._updateTransform()},e.prototype.setCenter=function(r,n){r&&(this._center=[W(r[0],n.getWidth()),W(r[1],n.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(r){r=r||1;var n=this.zoomLimit;n&&(n.max!=null&&(r=Math.min(n.max,r)),n.min!=null&&(r=Math.max(n.min,r))),this._zoom=r,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var r=this.getBoundingRect(),n=r.x+r.width/2,i=r.y+r.height/2;return[n,i]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var r=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,i=this.getDefaultCenter(),a=this.getCenter(),o=this.getZoom();a=Tt([],a,r),i=Tt([],i,r),n.originX=a[0],n.originY=a[1],n.x=i[0]-a[0],n.y=i[1]-a[1],n.scaleX=n.scaleY=o,this._updateTransform()},e.prototype._updateTransform=function(){var r=this._roamTransformable,n=this._rawTransformable;n.parent=r,r.updateTransform(),n.updateTransform(),n5(this.transform||(this.transform=[]),n.transform||cr()),this._rawTransform=n.getLocalTransform(),this.invTransform=this.invTransform||[],Ms(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var r=this._rawTransformable,n=this._roamTransformable,i=new On;return i.transform=n.transform,i.decomposeTransform(),{roam:{x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY},raw:{x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var r=this.getBoundingRect().clone();return r.applyTransform(this.transform),r},e.prototype.dataToPoint=function(r,n,i){var a=n?this._rawTransform:this.transform;return i=i||[],a?s9(i,r,a):Gt(i,r)},e.prototype.pointToData=function(r){var n=this.invTransform;return n?s9([],r,n):[r[0],r[1]]},e.prototype.convertToPixel=function(r,n,i){var a=u9(n);return a===this?a.dataToPoint(i):null},e.prototype.convertFromPixel=function(r,n,i){var a=u9(n);return a===this?a.pointToData(i):null},e.prototype.containPoint=function(r){return this.getViewRectAfterRoam().contain(r[0],r[1])},e.dimensions=["x","y"],e}(On);function u9(t){var e=t.seriesModel;return e?e.coordinateSystem:null}const t1=BX;var FX={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},JA=["lng","lat"],eT=function(t){F(e,t);function e(r,n,i){var a=t.call(this,r)||this;a.dimensions=JA,a.type="geo",a._nameCoordMap=J(),a.map=n;var o=i.projection,s=Kn.load(n,i.nameMap,i.nameProperty),u=Kn.getGeoResource(n),l=a.resourceType=u?u.type:null,c=a.regions=s.regions,f=FX[u.type];a._regionsMap=s.regionsMap,a.regions=s.regions,process.env.NODE_ENV!=="production"&&o&&(l==="geoSVG"&&(process.env.NODE_ENV!=="production"&&Qe("Map "+n+" with SVG source can't use projection. Only GeoJSON source supports projection."),o=null),o.project&&o.unproject||(process.env.NODE_ENV!=="production"&&Qe("project and unproject must be both provided in the projeciton."),o=null)),a.projection=o;var h;if(o)for(var d=0;d<c.length;d++){var p=c[d].getBoundingRect(o);h=h||p.clone(),h.union(p)}else h=s.boundingRect;return a.setBoundingRect(h.x,h.y,h.width,h.height),a.aspectScale=o?1:fe(i.aspectScale,f.aspectScale),a._invertLongitute=o?!1:f.invertLongitute,a}return e.prototype._transformTo=function(r,n,i,a){var o=this.getBoundingRect(),s=this._invertLongitute;o=o.clone(),s&&(o.y=-o.y-o.height);var u=this._rawTransformable;u.transform=o.calculateTransform(new ye(r,n,i,a));var l=u.parent;u.parent=null,u.decomposeTransform(),u.parent=l,s&&(u.scaleY=-u.scaleY),this._updateTransform()},e.prototype.getRegion=function(r){return this._regionsMap.get(r)},e.prototype.getRegionByCoord=function(r){for(var n=this.regions,i=0;i<n.length;i++){var a=n[i];if(a.type==="geoJSON"&&a.contain(r))return n[i]}},e.prototype.addGeoCoord=function(r,n){this._nameCoordMap.set(r,n)},e.prototype.getGeoCoord=function(r){var n=this._regionsMap.get(r);return this._nameCoordMap.get(r)||n&&n.getCenter()},e.prototype.dataToPoint=function(r,n,i){if(Z(r)&&(r=this.getGeoCoord(r)),r){var a=this.projection;return a&&(r=a.project(r)),r&&this.projectedToPoint(r,n,i)}},e.prototype.pointToData=function(r){var n=this.projection;return n&&(r=n.unproject(r)),r&&this.pointToProjected(r)},e.prototype.pointToProjected=function(r){return t.prototype.pointToData.call(this,r)},e.prototype.projectedToPoint=function(r,n,i){return t.prototype.dataToPoint.call(this,r,n,i)},e.prototype.convertToPixel=function(r,n,i){var a=l9(n);return a===this?a.dataToPoint(i):null},e.prototype.convertFromPixel=function(r,n,i){var a=l9(n);return a===this?a.pointToData(i):null},e}(t1);ft(eT,t1);function l9(t){var e=t.geoModel,r=t.seriesModel;return e?e.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo",lt).models[0]||{}).coordinateSystem:null}const c9=eT;function f9(t,e){var r=t.get("boundingCoords");if(r!=null){var n=r[0],i=r[1];if(!(isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])))process.env.NODE_ENV!=="production"&&console.error("Invalid boundingCoords");else{var a=this.projection;if(a){var o=n[0],s=n[1],u=i[0],l=i[1];n=[1/0,1/0],i=[-1/0,-1/0];var c=function(w,S,C,A){for(var T=C-w,D=A-S,k=0;k<=100;k++){var M=k/100,I=a.project([w+T*M,S+D*M]);Ci(n,n,I),Ai(i,i,I)}};c(o,s,u,s),c(u,s,u,l),c(u,l,o,l),c(o,l,u,s)}this.setBoundingRect(n[0],n[1],i[0]-n[0],i[1]-n[1])}}var f=this.getBoundingRect(),h=t.get("layoutCenter"),d=t.get("layoutSize"),p=e.getWidth(),v=e.getHeight(),g=f.width/f.height*this.aspectScale,m=!1,y,_;h&&d&&(y=[W(h[0],p),W(h[1],v)],_=W(d,Math.min(p,v)),!isNaN(y[0])&&!isNaN(y[1])&&!isNaN(_)?m=!0:process.env.NODE_ENV!=="production"&&console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."));var b;if(m)b={},g>1?(b.width=_,b.height=_/g):(b.height=_,b.width=_*g),b.y=y[1]-b.height/2,b.x=y[0]-b.width/2;else{var x=t.getBoxLayoutParams();x.aspect=g,b=dt(x,{width:p,height:v})}this.setViewRect(b.x,b.y,b.width,b.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}function zX(t,e){E(e.get("geoCoord"),function(r,n){t.addGeoCoord(n,r)})}var VX=function(){function t(){this.dimensions=JA}return t.prototype.create=function(e,r){var n=[];function i(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}e.eachComponent("geo",function(o,s){var u=o.get("map"),l=new c9(u+s,u,$({nameMap:o.get("nameMap")},i(o)));l.zoomLimit=o.get("scaleLimit"),n.push(l),o.coordinateSystem=l,l.model=o,l.resize=f9,l.resize(o,r)}),e.eachSeries(function(o){var s=o.get("coordinateSystem");if(s==="geo"){var u=o.get("geoIndex")||0;o.coordinateSystem=n[u]}});var a={};return e.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var s=o.getMapType();a[s]=a[s]||[],a[s].push(o)}}),E(a,function(o,s){var u=H(o,function(c){return c.get("nameMap")}),l=new c9(s,s,$({nameMap:J4(u)},i(o[0])));l.zoomLimit=ut.apply(null,H(o,function(c){return c.get("scaleLimit")})),n.push(l),l.resize=f9,l.resize(o[0],r),E(o,function(c){c.coordinateSystem=l,zX(l,c)})}),n},t.prototype.getFilledRegions=function(e,r,n,i){for(var a=(e||[]).slice(),o=J(),s=0;s<a.length;s++)o.set(a[s].name,a[s]);var u=Kn.load(r,n,i);return E(u.regions,function(l){var c=l.name,f=o.get(c),h=l.properties&&l.properties.echartsStyle;f||(f={name:c},a.push(f)),h&&ge(f,h)}),a},t}(),$X=new VX;const tT=$X;var GX=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r,n,i){var a=Kn.getGeoResource(r.map);if(a&&a.type==="geoJSON"){var o=r.itemStyle=r.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(r,i),ro(r,"label",["show"])},e.prototype.optionUpdated=function(){var r=this,n=this.option;n.regions=tT.getFilledRegions(n.regions,n.map,n.nameMap,n.nameProperty);var i={};this._optionModelMap=bn(n.regions||[],function(a,o){var s=o.name;return s&&(a.set(s,new We(o,r,r.ecModel)),o.selected&&(i[s]=!0)),a},J()),n.selectedMap||(n.selectedMap=i)},e.prototype.getRegionModel=function(r){return this._optionModelMap.get(r)||new We(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(r,n){var i=this.getRegionModel(r),a=n==="normal"?i.get(["label","formatter"]):i.get(["emphasis","label","formatter"]),o={name:r};if(te(a))return o.status=n,a(o);if(Z(a))return a.replace("{a}",r??"")},e.prototype.setZoom=function(r){this.option.zoom=r},e.prototype.setCenter=function(r){this.option.center=r},e.prototype.select=function(r){var n=this.option,i=n.selectedMode;if(i){i!=="multiple"&&(n.selectedMap=null);var a=n.selectedMap||(n.selectedMap={});a[r]=!0}},e.prototype.unSelect=function(r){var n=this.option.selectedMap;n&&(n[r]=!1)},e.prototype.toggleSelected=function(r){this[this.isSelected(r)?"unSelect":"select"](r)},e.prototype.isSelected=function(r){var n=this.option.selectedMap;return!!(n&&n[r])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(Ce);const HX=GX;function h9(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function v7(t,e,r,n){var i=t.getZoom(),a=t.getCenter(),o=e.zoom,s=t.projectedToPoint?t.projectedToPoint(a):t.dataToPoint(a);if(e.dx!=null&&e.dy!=null&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(h9(t,s),n)),o!=null){if(r){var u=r.min||0,l=r.max||1/0;o=Math.max(Math.min(i*o,l),u)/i}t.scaleX*=o,t.scaleY*=o;var c=(e.originX-t.x)*(o-1),f=(e.originY-t.y)*(o-1);t.x-=c,t.y-=f,t.updateTransform(),t.setCenter(h9(t,s),n),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}var UX=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.focusBlurEnabled=!0,r}return e.prototype.init=function(r,n){this._api=n},e.prototype.render=function(r,n,i,a){if(this._model=r,!r.get("show")){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;return}this._mapDraw||(this._mapDraw=new QA(i));var o=this._mapDraw;o.draw(r,n,i,this,a),o.group.on("click",this._handleRegionClick,this),o.group.silent=r.get("silent"),this.group.add(o.group),this.updateSelectStatus(r,n,i)},e.prototype._handleRegionClick=function(r){var n;za(r.target,function(i){return(n=ce(i).eventData)!=null},!0),n&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:n.name})},e.prototype.updateSelectStatus=function(r,n,i){var a=this;this._mapDraw.group.traverse(function(o){var s=ce(o).eventData;if(s)return a._model.isSelected(s.name)?i.enterSelect(o):i.leaveSelect(o),!0})},e.prototype.findHighDownDispatchers=function(r){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(r,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(et);const WX=UX;function qX(t,e,r){Kn.registerMap(t,e,r)}function rT(t){t.registerCoordinateSystem("geo",tT),t.registerComponentModel(HX),t.registerComponentView(WX),t.registerImpl("registerMap",qX),t.registerImpl("getMap",function(r){return Kn.getMapForUser(r)});function e(r,n){n.update="geo:updateSelectStatus",t.registerAction(n,function(i,a){var o={},s=[];return a.eachComponent({mainType:"geo",query:i},function(u){u[r](i.name);var l=u.coordinateSystem;E(l.regions,function(f){o[f.name]=u.isSelected(f.name)||!1});var c=[];E(o,function(f,h){o[h]&&c.push(h)}),s.push({geoIndex:u.componentIndex,name:c})}),{selected:o,allSelected:s,name:i.name}})}e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(r,n,i){var a=r.componentType||"series";n.eachComponent({mainType:a,query:r},function(o){var s=o.coordinateSystem;if(s.type==="geo"){var u=v7(s,r,o.get("scaleLimit"),i);o.setCenter&&o.setCenter(u.center),o.setZoom&&o.setZoom(u.zoom),a==="series"&&E(o.seriesGroup,function(l){l.setCenter(u.center),l.setZoom(u.zoom)})}})})}function ZX(t){be(rT),t.registerChartView(LX),t.registerSeriesModel(PX),t.registerLayout(OX),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,NX),QS("map",t.registerAction)}function YX(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var r=[e],n,i;n=r.pop();)if(i=n.children,n.isExpand&&i.length)for(var a=i.length,o=a-1;o>=0;o--){var s=i[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},r.push(s)}}function XX(t,e){var r=t.isExpand?t.children:[],n=t.parentNode.children,i=t.hierNode.i?n[t.hierNode.i-1]:null;if(r.length){QX(t);var a=(r[0].hierNode.prelim+r[r.length-1].hierNode.prelim)/2;i?(t.hierNode.prelim=i.hierNode.prelim+e(t,i),t.hierNode.modifier=t.hierNode.prelim-a):t.hierNode.prelim=a}else i&&(t.hierNode.prelim=i.hierNode.prelim+e(t,i));t.parentNode.hierNode.defaultAncestor=JX(t,i,t.parentNode.hierNode.defaultAncestor||n[0],e)}function jX(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function d9(t){return arguments.length?t:rj}function Nu(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function KX(t,e){return dt(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function QX(t){for(var e=t.children,r=e.length,n=0,i=0;--r>=0;){var a=e[r];a.hierNode.prelim+=n,a.hierNode.modifier+=n,i+=a.hierNode.change,n+=a.hierNode.shift+i}}function JX(t,e,r,n){if(e){for(var i=t,a=t,o=a.parentNode.children[0],s=e,u=i.hierNode.modifier,l=a.hierNode.modifier,c=o.hierNode.modifier,f=s.hierNode.modifier;s=O6(s),a=B6(a),s&&a;){i=O6(i),o=B6(o),i.hierNode.ancestor=t;var h=s.hierNode.prelim+f-a.hierNode.prelim-l+n(s,a);h>0&&(tj(ej(s,t,r),t,h),l+=h,u+=h),f+=s.hierNode.modifier,l+=a.hierNode.modifier,u+=i.hierNode.modifier,c+=o.hierNode.modifier}s&&!O6(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=f-u),a&&!B6(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=l-c,r=t)}return r}function O6(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function B6(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function ej(t,e,r){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:r}function tj(t,e,r){var n=r/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=n,e.hierNode.shift+=r,e.hierNode.modifier+=r,e.hierNode.prelim+=r,t.hierNode.change+=n}function rj(t,e){return t.parentNode===e.parentNode?1:2}var nj=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),ij=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new nj},e.prototype.buildPath=function(r,n){var i=n.childPoints,a=i.length,o=n.parentPoint,s=i[0],u=i[a-1];if(a===1){r.moveTo(o[0],o[1]),r.lineTo(s[0],s[1]);return}var l=n.orient,c=l==="TB"||l==="BT"?0:1,f=1-c,h=W(n.forkPosition,1),d=[];d[c]=o[c],d[f]=o[f]+(u[f]-o[f])*h,r.moveTo(o[0],o[1]),r.lineTo(d[0],d[1]),r.moveTo(s[0],s[1]),d[c]=s[c],r.lineTo(d[0],d[1]),d[c]=u[c],r.lineTo(d[0],d[1]),r.lineTo(u[0],u[1]);for(var p=1;p<a-1;p++){var v=i[p];r.moveTo(v[0],v[1]),d[c]=v[c],r.lineTo(d[0],d[1])}},e}(we),aj=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._mainGroup=new le,r}return e.prototype.init=function(r,n){this._controller=new e1(n.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(r,n,i){var a=r.getData(),o=r.layoutInfo,s=this._mainGroup,u=r.get("layout");u==="radial"?(s.x=o.x+o.width/2,s.y=o.y+o.height/2):(s.x=o.x,s.y=o.y),this._updateViewCoordSys(r,i),this._updateController(r,n,i);var l=this._data;a.diff(l).add(function(c){p9(a,c)&&v9(a,c,null,s,r)}).update(function(c,f){var h=l.getItemGraphicEl(f);if(!p9(a,c)){h&&m9(l,f,h,s,r);return}v9(a,c,h,s,r)}).remove(function(c){var f=l.getItemGraphicEl(c);f&&m9(l,c,f,s,r)}).execute(),this._nodeScaleRatio=r.get("nodeScaleRatio"),this._updateNodeAndLinkScale(r),r.get("expandAndCollapse")===!0&&a.eachItemGraphicEl(function(c,f){c.off("click").on("click",function(){i.dispatchAction({type:"treeExpandAndCollapse",seriesId:r.id,dataIndex:f})})}),this._data=a},e.prototype._updateViewCoordSys=function(r,n){var i=r.getData(),a=[];i.each(function(f){var h=i.getItemLayout(f);h&&!isNaN(h.x)&&!isNaN(h.y)&&a.push([+h.x,+h.y])});var o=[],s=[];g2(a,o,s);var u=this._min,l=this._max;s[0]-o[0]===0&&(o[0]=u?u[0]:o[0]-1,s[0]=l?l[0]:s[0]+1),s[1]-o[1]===0&&(o[1]=u?u[1]:o[1]-1,s[1]=l?l[1]:s[1]+1);var c=r.coordinateSystem=new t1;c.zoomLimit=r.get("scaleLimit"),c.setBoundingRect(o[0],o[1],s[0]-o[0],s[1]-o[1]),c.setCenter(r.get("center"),n),c.setZoom(r.get("zoom")),this.group.attr({x:c.x,y:c.y,scaleX:c.scaleX,scaleY:c.scaleY}),this._min=o,this._max=s},e.prototype._updateController=function(r,n,i){var a=this,o=this._controller,s=this._controllerHost,u=this.group;o.setPointerChecker(function(l,c,f){var h=u.getBoundingRect();return h.applyTransform(u.transform),h.contain(c,f)&&!V2(l,i,r)}),o.enable(r.get("roam")),s.zoomLimit=r.get("scaleLimit"),s.zoom=r.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(l){h7(s,l.dx,l.dy),i.dispatchAction({seriesId:r.id,type:"treeRoam",dx:l.dx,dy:l.dy})}).on("zoom",function(l){d7(s,l.scale,l.originX,l.originY),i.dispatchAction({seriesId:r.id,type:"treeRoam",zoom:l.scale,originX:l.originX,originY:l.originY}),a._updateNodeAndLinkScale(r),i.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(r){var n=r.getData(),i=this._getNodeGlobalScale(r);n.eachItemGraphicEl(function(a,o){a.setSymbolScale(i)})},e.prototype._getNodeGlobalScale=function(r){var n=r.coordinateSystem;if(n.type!=="view")return 1;var i=this._nodeScaleRatio,a=n.scaleX||1,o=n.getZoom(),s=(o-1)*i+1;return s/a},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(qe);function p9(t,e){var r=t.getItemLayout(e);return r&&!isNaN(r.x)&&!isNaN(r.y)}function v9(t,e,r,n,i){var a=!r,o=t.tree.getNodeByDataIndex(e),s=o.getModel(),u=o.getVisual("style").fill,l=o.isExpand===!1&&o.children.length!==0?u:"#fff",c=t.tree.root,f=o.parentNode===c?o:o.parentNode||o,h=t.getItemGraphicEl(f.dataIndex),d=f.getLayout(),p=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:d,v=o.getLayout();a?(r=new Yl(t,e,null,{symbolInnerColor:l,useNameLabel:!0}),r.x=p.x,r.y=p.y):r.updateData(t,e,null,{symbolInnerColor:l,useNameLabel:!0}),r.__radialOldRawX=r.__radialRawX,r.__radialOldRawY=r.__radialRawY,r.__radialRawX=v.rawX,r.__radialRawY=v.rawY,n.add(r),t.setItemGraphicEl(e,r),r.__oldX=r.x,r.__oldY=r.y,Ie(r,{x:v.x,y:v.y},i);var g=r.getSymbolPath();if(i.get("layout")==="radial"){var m=c.children[0],y=m.getLayout(),_=m.children.length,b=void 0,x=void 0;if(v.x===y.x&&o.isExpand===!0&&m.children.length){var w={x:(m.children[0].getLayout().x+m.children[_-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[_-1].getLayout().y)/2};b=Math.atan2(w.y-y.y,w.x-y.x),b<0&&(b=Math.PI*2+b),x=w.x<y.x,x&&(b=b-Math.PI)}else b=Math.atan2(v.y-y.y,v.x-y.x),b<0&&(b=Math.PI*2+b),o.children.length===0||o.children.length!==0&&o.isExpand===!1?(x=v.x<y.x,x&&(b=b-Math.PI)):(x=v.x>y.x,x||(b=b-Math.PI));var S=x?"left":"right",C=s.getModel("label"),A=C.get("rotate"),T=A*(Math.PI/180),D=g.getTextContent();D&&(g.setTextConfig({position:C.get("position")||S,rotation:A==null?-b:T,origin:"center"}),D.setStyle("verticalAlign","middle"))}var k=s.get(["emphasis","focus"]),M=k==="relative"?ll(o.getAncestorsIndices(),o.getDescendantIndices()):k==="ancestor"?o.getAncestorsIndices():k==="descendant"?o.getDescendantIndices():null;M&&(ce(r).focus=M),oj(i,o,c,r,p,d,v,n),r.__edge&&(r.onHoverStateChange=function(I){if(I!=="blur"){var N=o.parentNode&&t.getItemGraphicEl(o.parentNode.dataIndex);N&&N.hoverState===$l||oc(r.__edge,I)}})}function oj(t,e,r,n,i,a,o,s){var u=e.getModel(),l=t.get("edgeShape"),c=t.get("layout"),f=t.getOrient(),h=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),p=u.getModel("lineStyle").getLineStyle(),v=n.__edge;if(l==="curve")e.parentNode&&e.parentNode!==r&&(v||(v=n.__edge=new b2({shape:t4(c,f,h,i,i)})),Ie(v,{shape:t4(c,f,h,a,o)},t));else if(l==="polyline"){if(c==="orthogonal"){if(e!==r&&e.children&&e.children.length!==0&&e.isExpand===!0){for(var g=e.children,m=[],y=0;y<g.length;y++){var _=g[y].getLayout();m.push([_.x,_.y])}v||(v=n.__edge=new ij({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:f,forkPosition:d}})),Ie(v,{shape:{parentPoint:[o.x,o.y],childPoints:m}},t)}}else if(process.env.NODE_ENV!=="production")throw new Error("The polyline edgeShape can only be used in orthogonal layout")}v&&!(l==="polyline"&&!e.isExpand)&&(v.useStyle(ae({strokeNoScale:!0,fill:null},p)),kt(v,u,"lineStyle"),ao(v),s.add(v))}function g9(t,e,r,n,i){var a=e.tree.root,o=nT(a,t),s=o.source,u=o.sourceLayout,l=e.getItemGraphicEl(t.dataIndex);if(l){var c=e.getItemGraphicEl(s.dataIndex),f=c.__edge,h=l.__edge||(s.isExpand===!1||s.children.length===1?f:void 0),d=n.get("edgeShape"),p=n.get("layout"),v=n.get("orient"),g=n.get(["lineStyle","curveness"]);h&&(d==="curve"?$i(h,{shape:t4(p,v,g,u,u),style:{opacity:0}},n,{cb:function(){r.remove(h)},removeOpt:i}):d==="polyline"&&n.get("layout")==="orthogonal"&&$i(h,{shape:{parentPoint:[u.x,u.y],childPoints:[[u.x,u.y]]},style:{opacity:0}},n,{cb:function(){r.remove(h)},removeOpt:i}))}}function nT(t,e){for(var r=e.parentNode===t?e:e.parentNode||e,n;n=r.getLayout(),n==null;)r=r.parentNode===t?r:r.parentNode||r;return{source:r,sourceLayout:n}}function m9(t,e,r,n,i){var a=t.tree.getNodeByDataIndex(e),o=t.tree.root,s=nT(o,a).sourceLayout,u={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};$i(r,{x:s.x+1,y:s.y+1},i,{cb:function(){n.remove(r),t.setItemGraphicEl(e,null)},removeOpt:u}),r.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:u}),a.children.forEach(function(l){g9(l,t,n,i,u)}),g9(a,t,n,i,u)}function t4(t,e,r,n,i){var a,o,s,u,l,c,f,h;if(t==="radial"){l=n.rawX,f=n.rawY,c=i.rawX,h=i.rawY;var d=Nu(l,f),p=Nu(l,f+(h-f)*r),v=Nu(c,h+(f-h)*r),g=Nu(c,h);return{x1:d.x||0,y1:d.y||0,x2:g.x||0,y2:g.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:v.x||0,cpy2:v.y||0}}else l=n.x,f=n.y,c=i.x,h=i.y,(e==="LR"||e==="RL")&&(a=l+(c-l)*r,o=f,s=c+(l-c)*r,u=h),(e==="TB"||e==="BT")&&(a=l,o=f+(h-f)*r,s=c,u=h+(f-h)*r);return{x1:l,y1:f,x2:c,y2:h,cpx1:a,cpy1:o,cpx2:s,cpy2:u}}const sj=aj;var Ir=Ae();function iT(t){var e=t.mainData,r=t.datas;r||(r={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,aT(e,r,t),E(r,function(n){E(e.TRANSFERABLE_METHODS,function(i){n.wrapMethod(i,ve(uj,t))})}),e.wrapMethod("cloneShallow",ve(cj,t)),E(e.CHANGABLE_METHODS,function(n){e.wrapMethod(n,ve(lj,t))}),ie(r[e.dataType]===e)}function uj(t,e){if(dj(this)){var r=$({},Ir(this).datas);r[this.dataType]=e,aT(e,r,t)}else g7(e,this.dataType,Ir(this).mainData,t);return e}function lj(t,e){return t.struct&&t.struct.update(),e}function cj(t,e){return E(Ir(e).datas,function(r,n){r!==e&&g7(r.cloneShallow(),n,e,t)}),e}function fj(t){var e=Ir(this).mainData;return t==null||e==null?e:Ir(e).datas[t]}function hj(){var t=Ir(this).mainData;return t==null?[{data:t}]:H(Se(Ir(t).datas),function(e){return{type:e,data:Ir(t).datas[e]}})}function dj(t){return Ir(t).mainData===t}function aT(t,e,r){Ir(t).datas={},E(e,function(n,i){g7(n,i,t,r)})}function g7(t,e,r,n){Ir(r).datas[e]=t,Ir(t).mainData=r,t.dataType=e,n.struct&&(t[n.structAttr]=n.struct,n.struct[n.datasAttr[e]]=t),t.getLinkedData=fj,t.getLinkedDataAll=hj}var pj=function(){function t(e,r){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=e||"",this.hostTree=r}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(e,r,n){te(e)&&(n=r,r=e,e=null),e=e||{},Z(e)&&(e={order:e});var i=e.order||"preorder",a=this[e.attr||"children"],o;i==="preorder"&&(o=r.call(n,this));for(var s=0;!o&&s<a.length;s++)a[s].eachNode(e,r,n);i==="postorder"&&r.call(n,this)},t.prototype.updateDepthAndHeight=function(e){var r=0;this.depth=e;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(e+1),i.height>r&&(r=i.height)}this.height=r+1},t.prototype.getNodeById=function(e){if(this.getId()===e)return this;for(var r=0,n=this.children,i=n.length;r<i;r++){var a=n[r].getNodeById(e);if(a)return a}},t.prototype.contains=function(e){if(e===this)return!0;for(var r=0,n=this.children,i=n.length;r<i;r++){var a=n[r].contains(e);if(a)return a}},t.prototype.getAncestors=function(e){for(var r=[],n=e?this:this.parentNode;n;)r.push(n),n=n.parentNode;return r.reverse(),r},t.prototype.getAncestorsIndices=function(){for(var e=[],r=this;r;)e.push(r.dataIndex),r=r.parentNode;return e.reverse(),e},t.prototype.getDescendantIndices=function(){var e=[];return this.eachNode(function(r){e.push(r.dataIndex)}),e},t.prototype.getValue=function(e){var r=this.hostTree.data;return r.getStore().get(r.getDimensionIndex(e||"value"),this.dataIndex)},t.prototype.setLayout=function(e,r){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,e,r)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(e){if(!(this.dataIndex<0)){var r=this.hostTree,n=r.data.getItemModel(this.dataIndex);return n.getModel(e)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(e,r){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,e,r)},t.prototype.getVisual=function(e){return this.hostTree.data.getItemVisual(this.dataIndex,e)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var e=this.parentNode.children,r=0;r<e.length;++r)if(e[r]===this)return r;return-1}return-1},t.prototype.isAncestorOf=function(e){for(var r=e.parentNode;r;){if(r===this)return!0;r=r.parentNode}return!1},t.prototype.isDescendantOf=function(e){return e!==this&&e.isAncestorOf(this)},t}(),vj=function(){function t(e){this.type="tree",this._nodes=[],this.hostModel=e}return t.prototype.eachNode=function(e,r,n){this.root.eachNode(e,r,n)},t.prototype.getNodeByDataIndex=function(e){var r=this.data.getRawIndex(e);return this._nodes[r]},t.prototype.getNodeById=function(e){return this.root.getNodeById(e)},t.prototype.update=function(){for(var e=this.data,r=this._nodes,n=0,i=r.length;n<i;n++)r[n].dataIndex=-1;for(var n=0,i=e.count();n<i;n++)r[e.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,r,n){var i=new t(r),a=[],o=1;s(e);function s(c,f){var h=c.value;o=Math.max(o,G(h)?h.length:1),a.push(c);var d=new pj(ht(c.name,""),i);f?gj(d,f):i.root=d,i._nodes.push(d);var p=c.children;if(p)for(var v=0;v<p.length;v++)s(p[v],d)}i.root.updateDepthAndHeight(0);var u=ql(a,{coordDimensions:["value"],dimensionsCount:o}).dimensions,l=new qt(u,r);return l.initData(a),n&&n(l),iT({mainData:l,struct:i,structAttr:"tree"}),i.update(),i},t}();function gj(t,e){var r=e.children;t.parentNode!==e&&(r.push(t),t.parentNode=e)}const m7=vj;function Dl(t,e,r){if(t&&_e(e,t.type)>=0){var n=r.getData().tree.root,i=t.targetNode;if(Z(i)&&(i=n.getNodeById(i)),i&&n.contains(i))return{node:i};var a=t.targetNodeId;if(a!=null&&(i=n.getNodeById(a)))return{node:i}}}function oT(t){for(var e=[];t;)t=t.parentNode,t&&e.push(t);return e.reverse()}function y7(t,e){var r=oT(t);return _e(r,e)>=0}function G2(t,e){for(var r=[];t;){var n=t.dataIndex;r.push({name:t.name,dataIndex:n,value:e.getRawValue(n)}),t=t.parentNode}return r.reverse(),r}var mj=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.hasSymbolVisual=!0,r.ignoreStyleOnData=!0,r}return e.prototype.getInitialData=function(r){var n={name:r.name,children:r.data},i=r.leaves||{},a=new We(i,this,this.ecModel),o=m7.createTree(n,this,s);function s(f){f.wrapMethod("getItemModel",function(h,d){var p=o.getNodeByDataIndex(d);return p&&p.children.length&&p.isExpand||(h.parentModel=a),h})}var u=0;o.eachNode("preorder",function(f){f.depth>u&&(u=f.depth)});var l=r.expandAndCollapse,c=l&&r.initialTreeDepth>=0?r.initialTreeDepth:u;return o.root.eachNode("preorder",function(f){var h=f.hostTree.data.getRawDataItem(f.dataIndex);f.isExpand=h&&h.collapsed!=null?!h.collapsed:f.depth<=c}),o.data},e.prototype.getOrient=function(){var r=this.get("orient");return r==="horizontal"?r="LR":r==="vertical"&&(r="TB"),r},e.prototype.setZoom=function(r){this.option.zoom=r},e.prototype.setCenter=function(r){this.option.center=r},e.prototype.formatTooltip=function(r,n,i){for(var a=this.getData().tree,o=a.root.children[0],s=a.getNodeByDataIndex(r),u=s.getValue(),l=s.name;s&&s!==o;)l=s.parentNode.name+"."+l,s=s.parentNode;return mt("nameValue",{name:l,value:u,noValue:isNaN(u)||u==null})},e.prototype.getDataParams=function(r){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(r);return n.treeAncestors=G2(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(je);const yj=mj;function _j(t,e,r){for(var n=[t],i=[],a;a=n.pop();)if(i.push(a),a.isExpand){var o=a.children;if(o.length)for(var s=0;s<o.length;s++)n.push(o[s])}for(;a=i.pop();)e(a,r)}function yu(t,e){for(var r=[t],n;n=r.pop();)if(e(n),n.isExpand){var i=n.children;if(i.length)for(var a=i.length-1;a>=0;a--)r.push(i[a])}}function bj(t,e){t.eachSeriesByType("tree",function(r){xj(r,e)})}function xj(t,e){var r=KX(t,e);t.layoutInfo=r;var n=t.get("layout"),i=0,a=0,o=null;n==="radial"?(i=2*Math.PI,a=Math.min(r.height,r.width)/2,o=d9(function(_,b){return(_.parentNode===b.parentNode?1:2)/_.depth})):(i=r.width,a=r.height,o=d9());var s=t.getData().tree.root,u=s.children[0];if(u){YX(s),_j(u,XX,o),s.hierNode.modifier=-u.hierNode.prelim,yu(u,jX);var l=u,c=u,f=u;yu(u,function(_){var b=_.getLayout().x;b<l.getLayout().x&&(l=_),b>c.getLayout().x&&(c=_),_.depth>f.depth&&(f=_)});var h=l===c?1:o(l,c)/2,d=h-l.getLayout().x,p=0,v=0,g=0,m=0;if(n==="radial")p=i/(c.getLayout().x+h+d),v=a/(f.depth-1||1),yu(u,function(_){g=(_.getLayout().x+d)*p,m=(_.depth-1)*v;var b=Nu(g,m);_.setLayout({x:b.x,y:b.y,rawX:g,rawY:m},!0)});else{var y=t.getOrient();y==="RL"||y==="LR"?(v=a/(c.getLayout().x+h+d),p=i/(f.depth-1||1),yu(u,function(_){m=(_.getLayout().x+d)*v,g=y==="LR"?(_.depth-1)*p:i-(_.depth-1)*p,_.setLayout({x:g,y:m},!0)})):(y==="TB"||y==="BT")&&(p=i/(c.getLayout().x+h+d),v=a/(f.depth-1||1),yu(u,function(_){g=(_.getLayout().x+d)*p,m=y==="TB"?(_.depth-1)*v:a-(_.depth-1)*v,_.setLayout({x:g,y:m},!0)}))}}}function wj(t){t.eachSeriesByType("tree",function(e){var r=e.getData(),n=r.tree;n.eachNode(function(i){var a=i.getModel(),o=a.getModel("itemStyle").getItemStyle(),s=r.ensureUniqueItemVisual(i.dataIndex,"style");$(s,o)})})}function Sj(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(e,r){r.eachComponent({mainType:"series",subType:"tree",query:e},function(n){var i=e.dataIndex,a=n.getData().tree,o=a.getNodeByDataIndex(i);o.isExpand=!o.isExpand})}),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(e,r,n){r.eachComponent({mainType:"series",subType:"tree",query:e},function(i){var a=i.coordinateSystem,o=v7(a,e,void 0,n);i.setCenter&&i.setCenter(o.center),i.setZoom&&i.setZoom(o.zoom)})})}function Cj(t){t.registerChartView(sj),t.registerSeriesModel(yj),t.registerLayout(bj),t.registerVisual(wj),Sj(t)}var y9=["treemapZoomToNode","treemapRender","treemapMove"];function Aj(t){for(var e=0;e<y9.length;e++)t.registerAction({type:y9[e],update:"updateView"},at);t.registerAction({type:"treemapRootToNode",update:"updateView"},function(r,n){n.eachComponent({mainType:"series",subType:"treemap",query:r},i);function i(a,o){var s=["treemapZoomToNode","treemapRootToNode"],u=Dl(r,s,a);if(u){var l=a.getViewRoot();l&&(r.direction=y7(l,u.node)?"rollUp":"drillDown"),a.resetViewRoot(u.node)}}})}function sT(t){var e=t.getData(),r=e.tree,n={};r.eachNode(function(i){for(var a=i;a&&a.depth>1;)a=a.parentNode;var o=Md(t.ecModel,a.name||a.dataIndex+"",n);i.setVisual("decal",o)})}var Tj=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.preventUsingHoverLayer=!0,r}return e.prototype.getInitialData=function(r,n){var i={name:r.name,children:r.data};uT(i);var a=r.levels||[],o=this.designatedVisualItemStyle={},s=new We({itemStyle:o},this,n);a=r.levels=Dj(a,n);var u=H(a||[],function(f){return new We(f,s,n)},this),l=m7.createTree(i,this,c);function c(f){f.wrapMethod("getItemModel",function(h,d){var p=l.getNodeByDataIndex(d),v=p?u[p.depth]:null;return h.parentModel=v||s,h})}return l.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(r,n,i){var a=this.getData(),o=this.getRawValue(r),s=a.getName(r);return mt("nameValue",{name:s,value:o})},e.prototype.getDataParams=function(r){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(r);return n.treeAncestors=G2(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(r){this.layoutInfo=this.layoutInfo||{},$(this.layoutInfo,r)},e.prototype.mapIdToIndex=function(r){var n=this._idIndexMap;n||(n=this._idIndexMap=J(),this._idIndexMapCount=0);var i=n.get(r);return i==null&&n.set(r,i=this._idIndexMapCount++),i},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(r){r?this._viewRoot=r:r=this._viewRoot;var n=this.getRawData().tree.root;(!r||r!==n&&!n.contains(r))&&(this._viewRoot=n)},e.prototype.enableAriaDecal=function(){sT(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(je);function uT(t){var e=0;E(t.children,function(n){uT(n);var i=n.value;G(i)&&(i=i[0]),e+=i});var r=t.value;G(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=e),r<0&&(r=0),G(t.value)?t.value[0]=r:t.value=r}function Dj(t,e){var r=ze(e.get("color")),n=ze(e.get(["aria","decal","decals"]));if(r){t=t||[];var i,a;E(t,function(s){var u=new We(s),l=u.get("color"),c=u.get("decal");(u.get(["itemStyle","color"])||l&&l!=="none")&&(i=!0),(u.get(["itemStyle","decal"])||c&&c!=="none")&&(a=!0)});var o=t[0]||(t[0]={});return i||(o.color=r.slice()),!a&&n&&(o.decal=n.slice()),t}}const Ej=Tj;var kj=8,_9=8,F6=5,Mj=function(){function t(e){this.group=new le,e.add(this.group)}return t.prototype.render=function(e,r,n,i){var a=e.getModel("breadcrumb"),o=this.group;if(o.removeAll(),!(!a.get("show")||!n)){var s=a.getModel("itemStyle"),u=a.getModel("emphasis"),l=s.getModel("textStyle"),c=u.getModel(["itemStyle","textStyle"]),f={pos:{left:a.get("left"),right:a.get("right"),top:a.get("top"),bottom:a.get("bottom")},box:{width:r.getWidth(),height:r.getHeight()},emptyItemWidth:a.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,f,l),this._renderContent(e,f,s,u,l,c,i),k2(o,f.pos,f.box)}},t.prototype._prepare=function(e,r,n){for(var i=e;i;i=i.parentNode){var a=ht(i.getModel().get("name"),""),o=n.getTextRect(a),s=Math.max(o.width+kj*2,r.emptyItemWidth);r.totalWidth+=s+_9,r.renderList.push({node:i,text:a,width:s})}},t.prototype._renderContent=function(e,r,n,i,a,o,s){for(var u=0,l=r.emptyItemWidth,c=e.get(["breadcrumb","height"]),f=N$(r.pos,r.box),h=r.totalWidth,d=r.renderList,p=i.getModel("itemStyle").getItemStyle(),v=d.length-1;v>=0;v--){var g=d[v],m=g.node,y=g.width,_=g.text;h>f.width&&(h-=y-l,y=l,_=null);var b=new nr({shape:{points:Lj(u,0,y,c,v===d.length-1,v===0)},style:ae(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new ke({style:Ue(a,{text:_})}),textConfig:{position:"inside"},z2:Is*1e4,onclick:ve(s,m)});b.disableLabelAnimation=!0,b.getTextContent().ensureState("emphasis").style=Ue(o,{text:_}),b.ensureState("emphasis").style=p,Je(b,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(b),Ij(b,e,m),u+=y+_9}},t.prototype.remove=function(){this.group.removeAll()},t}();function Lj(t,e,r,n,i,a){var o=[[i?t:t-F6,e],[t+r,e],[t+r,e+n],[i?t:t-F6,e+n]];return!a&&o.splice(2,0,[t+r+F6,e+n/2]),!i&&o.push([t,e+n/2]),o}function Ij(t,e,r){ce(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&G2(r,e)}}const Pj=Mj;var Rj=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(e,r,n,i,a){return this._elExistsMap[e.id]?!1:(this._elExistsMap[e.id]=!0,this._storage.push({el:e,target:r,duration:n,delay:i,easing:a}),!0)},t.prototype.finished=function(e){return this._finishedCallback=e,this},t.prototype.start=function(){for(var e=this,r=this._storage.length,n=function(){r--,r<=0&&(e._storage.length=0,e._elExistsMap={},e._finishedCallback&&e._finishedCallback())},i=0,a=this._storage.length;i<a;i++){var o=this._storage[i];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();function Nj(){return new Rj}var r4=le,b9=Ee,x9=3,w9="label",S9="upperLabel",Oj=Is*10,Bj=Is*2,Fj=Is*3,Aa=io([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C9=function(t){var e=Aa(t);return e.stroke=e.fill=e.lineWidth=null,e},Lc=Ae(),zj=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._state="ready",r._storage=_u(),r}return e.prototype.render=function(r,n,i,a){var o=n.findComponents({mainType:"series",subType:"treemap",query:a});if(!(_e(o,r)<0)){this.seriesModel=r,this.api=i,this.ecModel=n;var s=["treemapZoomToNode","treemapRootToNode"],u=Dl(a,s,r),l=a&&a.type,c=r.layoutInfo,f=!this._oldTree,h=this._storage,d=l==="treemapRootToNode"&&u&&h?{rootNodeGroup:h.nodeGroup[u.node.getRawIndex()],direction:a.direction}:null,p=this._giveContainerGroup(c),v=r.get("animation"),g=this._doRender(p,r,d);v&&!f&&(!l||l==="treemapZoomToNode"||l==="treemapRootToNode")?this._doAnimation(p,g,r,d):g.renderFinally(),this._resetController(i),this._renderBreadcrumb(r,i,u)}},e.prototype._giveContainerGroup=function(r){var n=this._containerGroup;return n||(n=this._containerGroup=new r4,this._initEvents(n),this.group.add(n)),n.x=r.x,n.y=r.y,n},e.prototype._doRender=function(r,n,i){var a=n.getData().tree,o=this._oldTree,s=_u(),u=_u(),l=this._storage,c=[];function f(y,_,b,x){return Vj(n,u,l,i,s,c,y,_,b,x)}v(a.root?[a.root]:[],o&&o.root?[o.root]:[],r,a===o||!o,0);var h=g(l);if(this._oldTree=a,this._storage=u,this._controllerHost){var d=this.seriesModel.layoutInfo,p=a.root.getLayout();p.width===d.width&&p.height===d.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:s,willDeleteEls:h,renderFinally:m};function v(y,_,b,x,w){x?(_=y,E(y,function(A,T){!A.isRemoved()&&C(T,T)})):new Xn(_,y,S,S).add(C).update(C).remove(ve(C,null)).execute();function S(A){return A.getId()}function C(A,T){var D=A!=null?y[A]:null,k=T!=null?_[T]:null,M=f(D,k,b,w);M&&v(D&&D.viewChildren||[],k&&k.viewChildren||[],M,x,w+1)}}function g(y){var _=_u();return y&&E(y,function(b,x){var w=_[x];E(b,function(S){S&&(w.push(S),Lc(S).willDelete=!0)})}),_}function m(){E(h,function(y){E(y,function(_){_.parent&&_.parent.remove(_)})}),E(c,function(y){y.invisible=!0,y.dirty()})}},e.prototype._doAnimation=function(r,n,i,a){var o=i.get("animationDurationUpdate"),s=i.get("animationEasing"),u=(te(o)?0:o)||0,l=(te(s)?null:s)||"cubicOut",c=Nj();E(n.willDeleteEls,function(f,h){E(f,function(d,p){if(!d.invisible){var v=d.parent,g,m=Lc(v);if(a&&a.direction==="drillDown")g=v===a.rootNodeGroup?{shape:{x:0,y:0,width:m.nodeWidth,height:m.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var y=0,_=0;m.willDelete||(y=m.nodeWidth/2,_=m.nodeHeight/2),g=h==="nodeGroup"?{x:y,y:_,style:{opacity:0}}:{shape:{x:y,y:_,width:0,height:0},style:{opacity:0}}}g&&c.add(d,g,u,0,l)}})}),E(this._storage,function(f,h){E(f,function(d,p){var v=n.lastsForAnimation[h][p],g={};v&&(d instanceof le?v.oldX!=null&&(g.x=d.x,g.y=d.y,d.x=v.oldX,d.y=v.oldY):(v.oldShape&&(g.shape=$({},d.shape),d.setShape(v.oldShape)),v.fadein?(d.setStyle("opacity",0),g.style={opacity:1}):d.style.opacity!==1&&(g.style={opacity:1})),c.add(d,g,u,0,l))})},this),this._state="animating",c.finished(X(function(){this._state="ready",n.renderFinally()},this)).start()},e.prototype._resetController=function(r){var n=this._controller,i=this._controllerHost;i||(this._controllerHost={target:this.group},i=this._controllerHost),n||(n=this._controller=new e1(r.getZr()),n.enable(this.seriesModel.get("roam")),i.zoomLimit=this.seriesModel.get("scaleLimit"),i.zoom=this.seriesModel.get("zoom"),n.on("pan",X(this._onPan,this)),n.on("zoom",X(this._onZoom,this)));var a=new ye(0,0,r.getWidth(),r.getHeight());n.setPointerChecker(function(o,s,u){return a.contain(s,u)})},e.prototype._clearController=function(){var r=this._controller;this._controllerHost=null,r&&(r.dispose(),r=null)},e.prototype._onPan=function(r){if(this._state!=="animating"&&(Math.abs(r.dx)>x9||Math.abs(r.dy)>x9)){var n=this.seriesModel.getData().tree.root;if(!n)return;var i=n.getLayout();if(!i)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:i.x+r.dx,y:i.y+r.dy,width:i.width,height:i.height}})}},e.prototype._onZoom=function(r){var n=r.originX,i=r.originY,a=r.scale;if(this._state!=="animating"){var o=this.seriesModel.getData().tree.root;if(!o)return;var s=o.getLayout();if(!s)return;var u=new ye(s.x,s.y,s.width,s.height),l=null,c=this._controllerHost;l=c.zoomLimit;var f=c.zoom=c.zoom||1;if(f*=a,l){var h=l.min||0,d=l.max||1/0;f=Math.max(Math.min(d,f),h)}var p=f/c.zoom;c.zoom=f;var v=this.seriesModel.layoutInfo;n-=v.x,i-=v.y;var g=cr();xn(g,g,[-n,-i]),i5(g,g,[p,p]),xn(g,g,[n,i]),u.applyTransform(g),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:u.x,y:u.y,width:u.width,height:u.height}})}},e.prototype._initEvents=function(r){var n=this;r.on("click",function(i){if(n._state==="ready"){var a=n.seriesModel.get("nodeClick",!0);if(a){var o=n.findTarget(i.offsetX,i.offsetY);if(o){var s=o.node;if(s.getLayout().isLeafRoot)n._rootToNode(o);else if(a==="zoomToNode")n._zoomToNode(o);else if(a==="link"){var u=s.hostTree.data.getItemModel(s.dataIndex),l=u.get("link",!0),c=u.get("target",!0)||"blank";l&&hc(l,c)}}}}},this)},e.prototype._renderBreadcrumb=function(r,n,i){var a=this;i||(i=r.get("leafDepth",!0)!=null?{node:r.getViewRoot()}:this.findTarget(n.getWidth()/2,n.getHeight()/2),i||(i={node:r.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new Pj(this.group))).render(r,n,i.node,function(o){a._state!=="animating"&&(y7(r.getViewRoot(),o)?a._rootToNode({node:o}):a._zoomToNode({node:o}))})},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=_u(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(r){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:r.node})},e.prototype._rootToNode=function(r){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:r.node})},e.prototype.findTarget=function(r,n){var i,a=this.seriesModel.getViewRoot();return a.eachNode({attr:"viewChildren",order:"preorder"},function(o){var s=this._storage.background[o.getRawIndex()];if(s){var u=s.transformCoordToLocal(r,n),l=s.shape;if(l.x<=u[0]&&u[0]<=l.x+l.width&&l.y<=u[1]&&u[1]<=l.y+l.height)i={node:o,offsetX:u[0],offsetY:u[1]};else return!1}},this),i},e.type="treemap",e}(qe);function _u(){return{nodeGroup:[],background:[],content:[]}}function Vj(t,e,r,n,i,a,o,s,u,l){if(!o)return;var c=o.getLayout(),f=t.getData(),h=o.getModel();if(f.setItemGraphicEl(o.dataIndex,null),!c||!c.isInView)return;var d=c.width,p=c.height,v=c.borderWidth,g=c.invisible,m=o.getRawIndex(),y=s&&s.getRawIndex(),_=o.viewChildren,b=c.upperHeight,x=_&&_.length,w=h.getModel("itemStyle"),S=h.getModel(["emphasis","itemStyle"]),C=h.getModel(["blur","itemStyle"]),A=h.getModel(["select","itemStyle"]),T=w.get("borderRadius")||0,D=K("nodeGroup",r4);if(!D)return;if(u.add(D),D.x=c.x||0,D.y=c.y||0,D.markRedraw(),Lc(D).nodeWidth=d,Lc(D).nodeHeight=p,c.isAboveViewRoot)return D;var k=K("background",b9,l,Bj);k&&B(D,k,x&&c.upperLabelHeight);var M=h.getModel("emphasis"),I=M.get("focus"),N=M.get("blurScope"),L=M.get("disabled"),O=I==="ancestor"?o.getAncestorsIndices():I==="descendant"?o.getDescendantIndices():I;if(x)Vi(D)&&Ba(D,!1),k&&(Ba(k,!L),f.setItemGraphicEl(o.dataIndex,k),xd(k,O,N));else{var P=K("content",b9,l,Fj);P&&z(D,P),k.disableMorphing=!0,k&&Vi(k)&&Ba(k,!1),Ba(D,!L),f.setItemGraphicEl(o.dataIndex,D);var R=h.getShallow("cursor");R&&P.attr("cursor",R),xd(D,O,N)}return D;function B(ue,ee,he){var Q=ce(ee);if(Q.dataIndex=o.dataIndex,Q.seriesIndex=t.seriesIndex,ee.setShape({x:0,y:0,width:d,height:p,r:T}),g)V(ee);else{ee.invisible=!1;var se=o.getVisual("style"),Fe=se.stroke,Pe=C9(w);Pe.fill=Fe;var Te=Aa(S);Te.fill=S.get("borderColor");var Ze=Aa(C);Ze.fill=C.get("borderColor");var rt=Aa(A);if(rt.fill=A.get("borderColor"),he){var de=d-2*v;U(ee,Fe,se.opacity,{x:v,y:0,width:de,height:b})}else ee.removeTextContent();ee.setStyle(Pe),ee.ensureState("emphasis").style=Te,ee.ensureState("blur").style=Ze,ee.ensureState("select").style=rt,ao(ee)}ue.add(ee)}function z(ue,ee){var he=ce(ee);he.dataIndex=o.dataIndex,he.seriesIndex=t.seriesIndex;var Q=Math.max(d-2*v,0),se=Math.max(p-2*v,0);if(ee.culling=!0,ee.setShape({x:v,y:v,width:Q,height:se,r:T}),g)V(ee);else{ee.invisible=!1;var Fe=o.getVisual("style"),Pe=Fe.fill,Te=C9(w);Te.fill=Pe,Te.decal=Fe.decal;var Ze=Aa(S),rt=Aa(C),de=Aa(A);U(ee,Pe,Fe.opacity,null),ee.setStyle(Te),ee.ensureState("emphasis").style=Ze,ee.ensureState("blur").style=rt,ee.ensureState("select").style=de,ao(ee)}ue.add(ee)}function V(ue){!ue.invisible&&a.push(ue)}function U(ue,ee,he,Q){var se=h.getModel(Q?S9:w9),Fe=ht(h.get("name"),null),Pe=se.getShallow("show");Mt(ue,gt(h,Q?S9:w9),{defaultText:Pe?Fe:null,inheritColor:ee,defaultOpacity:he,labelFetcher:t,labelDataIndex:o.dataIndex});var Te=ue.getTextContent();if(Te){var Ze=Te.style,rt=t5(Ze.padding||0);Q&&(ue.setTextConfig({layoutRect:Q}),Te.disableLabelLayout=!0),Te.beforeUpdate=function(){var wt=Math.max((Q?Q.width:ue.shape.width)-rt[1]-rt[3],0),Ke=Math.max((Q?Q.height:ue.shape.height)-rt[0]-rt[2],0);(Ze.width!==wt||Ze.height!==Ke)&&Te.setStyle({width:wt,height:Ke})},Ze.truncateMinChar=2,Ze.lineOverflow="truncate",q(Ze,Q,c);var de=Te.getState("emphasis");q(de?de.style:null,Q,c)}}function q(ue,ee,he){var Q=ue?ue.text:null;if(!ee&&he.isLeafRoot&&Q!=null){var se=t.get("drillDownIcon",!0);ue.text=se?se+" "+Q:Q}}function K(ue,ee,he,Q){var se=y!=null&&r[ue][y],Fe=i[ue];return se?(r[ue][y]=null,xe(Fe,se)):g||(se=new ee,se instanceof Rr&&(se.z2=$j(he,Q)),Ve(Fe,se)),e[ue][m]=se}function xe(ue,ee){var he=ue[m]={};ee instanceof r4?(he.oldX=ee.x,he.oldY=ee.y):he.oldShape=$({},ee.shape)}function Ve(ue,ee){var he=ue[m]={},Q=o.parentNode,se=ee instanceof le;if(Q&&(!n||n.direction==="drillDown")){var Fe=0,Pe=0,Te=i.background[Q.getRawIndex()];!n&&Te&&Te.oldShape&&(Fe=Te.oldShape.width,Pe=Te.oldShape.height),se?(he.oldX=0,he.oldY=Pe):he.oldShape={x:Fe,y:Pe,width:0,height:0}}he.fadein=!se}}function $j(t,e){return t*Oj+e}const Gj=zj;var El=E,Hj=ne,Ic=-1,_7=function(){function t(e){var r=e.mappingMethod,n=e.type,i=this.option=oe(e);this.type=n,this.mappingMethod=r,this._normalizeData=qj[r];var a=t.visualHandlers[n];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[r],r==="piecewise"?(z6(i),Uj(i)):r==="category"?i.categories?Wj(i):z6(i,!0):(ie(r!=="linear"||i.dataExtent),z6(i))}return t.prototype.mapValueToVisual=function(e){var r=this._normalizeData(e);return this._normalizedToVisual(r,e)},t.prototype.getNormalizer=function(){return X(this._normalizeData,this)},t.listVisualTypes=function(){return Se(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(e,r,n){ne(e)?E(e,r,n):r.call(n,e)},t.mapVisual=function(e,r,n){var i,a=G(e)?[]:ne(e)?{}:(i=!0,null);return t.eachVisual(e,function(o,s){var u=r.call(n,o,s);i?a=u:a[s]=u}),a},t.retrieveVisuals=function(e){var r={},n;return e&&El(t.visualHandlers,function(i,a){e.hasOwnProperty(a)&&(r[a]=e[a],n=!0)}),n?r:null},t.prepareVisualTypes=function(e){if(G(e))e=e.slice();else if(Hj(e)){var r=[];El(e,function(n,i){r.push(i)}),e=r}else return[];return e.sort(function(n,i){return i==="color"&&n!=="color"&&n.indexOf("color")===0?1:-1}),e},t.dependsOn=function(e,r){return r==="color"?!!(e&&e.indexOf(r)===0):e===r},t.findPieceIndex=function(e,r,n){for(var i,a=1/0,o=0,s=r.length;o<s;o++){var u=r[o].value;if(u!=null){if(u===e||Z(u)&&u===e+"")return o;n&&h(u,o)}}for(var o=0,s=r.length;o<s;o++){var l=r[o],c=l.interval,f=l.close;if(c){if(c[0]===-1/0){if(o0(f[1],e,c[1]))return o}else if(c[1]===1/0){if(o0(f[0],c[0],e))return o}else if(o0(f[0],c[0],e)&&o0(f[1],e,c[1]))return o;n&&h(c[0],o),n&&h(c[1],o)}}if(n)return e===1/0?r.length-1:e===-1/0?0:i;function h(d,p){var v=Math.abs(d-e);v<a&&(a=v,i=p)}},t.visualHandlers={color:{applyVisual:bu("color"),getColorMapper:function(){var e=this.option;return X(e.mappingMethod==="category"?function(r,n){return!n&&(r=this._normalizeData(r)),Ou.call(this,r)}:function(r,n,i){var a=!!i;return!n&&(r=this._normalizeData(r)),i=mf(r,e.parsedVisual,i),a?i:Vn(i,"rgba")},this)},_normalizedToVisual:{linear:function(e){return Vn(mf(e,this.option.parsedVisual),"rgba")},category:Ou,piecewise:function(e,r){var n=i4.call(this,r);return n==null&&(n=Vn(mf(e,this.option.parsedVisual),"rgba")),n},fixed:Ta}},colorHue:a0(function(e,r){return Gu(e,r)}),colorSaturation:a0(function(e,r){return Gu(e,null,r)}),colorLightness:a0(function(e,r){return Gu(e,null,null,r)}),colorAlpha:a0(function(e,r){return ec(e,r)}),decal:{applyVisual:bu("decal"),_normalizedToVisual:{linear:null,category:Ou,piecewise:null,fixed:null}},opacity:{applyVisual:bu("opacity"),_normalizedToVisual:n4([0,1])},liftZ:{applyVisual:bu("liftZ"),_normalizedToVisual:{linear:Ta,category:Ta,piecewise:Ta,fixed:Ta}},symbol:{applyVisual:function(e,r,n){var i=this.mapValueToVisual(e);n("symbol",i)},_normalizedToVisual:{linear:A9,category:Ou,piecewise:function(e,r){var n=i4.call(this,r);return n==null&&(n=A9.call(this,e)),n},fixed:Ta}},symbolSize:{applyVisual:bu("symbolSize"),_normalizedToVisual:n4([0,1])}},t}();function Uj(t){var e=t.pieceList;t.hasSpecialVisual=!1,E(e,function(r,n){r.originIndex=n,r.visual!=null&&(t.hasSpecialVisual=!0)})}function Wj(t){var e=t.categories,r=t.categoryMap={},n=t.visual;if(El(e,function(o,s){r[o]=s}),!G(n)){var i=[];ne(n)?El(n,function(o,s){var u=r[s];i[u??Ic]=o}):i[Ic]=n,n=lT(t,i)}for(var a=e.length-1;a>=0;a--)n[a]==null&&(delete r[e[a]],e.pop())}function z6(t,e){var r=t.visual,n=[];ne(r)?El(r,function(a){n.push(a)}):r!=null&&n.push(r);var i={color:1,symbol:1};!e&&n.length===1&&!i.hasOwnProperty(t.type)&&(n[1]=n[0]),lT(t,n)}function a0(t){return{applyVisual:function(e,r,n){var i=this.mapValueToVisual(e);n("color",t(r("color"),i))},_normalizedToVisual:n4([0,1])}}function A9(t){var e=this.option.visual;return e[Math.round(Be(t,[0,1],[0,e.length-1],!0))]||{}}function bu(t){return function(e,r,n){n(t,this.mapValueToVisual(e))}}function Ou(t){var e=this.option.visual;return e[this.option.loop&&t!==Ic?t%e.length:t]}function Ta(){return this.option.visual[0]}function n4(t){return{linear:function(e){return Be(e,t,this.option.visual,!0)},category:Ou,piecewise:function(e,r){var n=i4.call(this,r);return n==null&&(n=Be(e,t,this.option.visual,!0)),n},fixed:Ta}}function i4(t){var e=this.option,r=e.pieceList;if(e.hasSpecialVisual){var n=_7.findPieceIndex(t,r),i=r[n];if(i&&i.visual)return i.visual[this.type]}}function lT(t,e){return t.visual=e,t.type==="color"&&(t.parsedVisual=H(e,function(r){var n=fr(r);return!n&&process.env.NODE_ENV!=="production"&&Qe("'"+r+"' is an illegal color, fallback to '#000000'",!0),n||[0,0,0,1]})),e}var qj={linear:function(t){return Be(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,r=_7.findPieceIndex(t,e,!0);if(r!=null)return Be(r,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return e??Ic},fixed:at};function o0(t,e,r){return t?e<=r:e<r}const Dt=_7;var Zj="itemStyle",cT=Ae();const Yj={seriesType:"treemap",reset:function(t){var e=t.getData().tree,r=e.root;r.isRemoved()||fT(r,{},t.getViewRoot().getAncestors(),t)}};function fT(t,e,r,n){var i=t.getModel(),a=t.getLayout(),o=t.hostTree.data;if(!(!a||a.invisible||!a.isInView)){var s=i.getModel(Zj),u=Xj(s,e,n),l=o.ensureUniqueItemVisual(t.dataIndex,"style"),c=s.get("borderColor"),f=s.get("borderColorSaturation"),h;f!=null&&(h=T9(u),c=jj(f,h)),l.stroke=c;var d=t.viewChildren;if(!d||!d.length)h=T9(u),l.fill=h;else{var p=Kj(t,i,a,s,u,d);E(d,function(v,g){if(v.depth>=r.length||v===r[v.depth]){var m=Qj(i,u,v,g,p,n);fT(v,m,r,n)}})}}}function Xj(t,e,r){var n=$({},e),i=r.designatedVisualItemStyle;return E(["color","colorAlpha","colorSaturation"],function(a){i[a]=e[a];var o=t.get(a);i[a]=null,o!=null&&(n[a]=o)}),n}function T9(t){var e=V6(t,"color");if(e){var r=V6(t,"colorAlpha"),n=V6(t,"colorSaturation");return n&&(e=Gu(e,null,null,n)),r&&(e=ec(e,r)),e}}function jj(t,e){return e!=null?Gu(e,null,null,t):null}function V6(t,e){var r=t[e];if(r!=null&&r!=="none")return r}function Kj(t,e,r,n,i,a){if(!(!a||!a.length)){var o=$6(e,"color")||i.color!=null&&i.color!=="none"&&($6(e,"colorAlpha")||$6(e,"colorSaturation"));if(o){var s=e.get("visualMin"),u=e.get("visualMax"),l=r.dataExtent.slice();s!=null&&s<l[0]&&(l[0]=s),u!=null&&u>l[1]&&(l[1]=u);var c=e.get("colorMappingBy"),f={type:o.name,dataExtent:l,visual:o.range};f.type==="color"&&(c==="index"||c==="id")?(f.mappingMethod="category",f.loop=!0):f.mappingMethod="linear";var h=new Dt(f);return cT(h).drColorMappingBy=c,h}}}function $6(t,e){var r=t.get(e);return G(r)&&r.length?{name:e,range:r}:null}function Qj(t,e,r,n,i,a){var o=$({},e);if(i){var s=i.type,u=s==="color"&&cT(i).drColorMappingBy,l=u==="index"?n:u==="id"?a.mapIdToIndex(r.getId()):r.getValue(t.get("visualDimension"));o[s]=i.mapValueToVisual(l)}return o}var kl=Math.max,Pc=Math.min,D9=ut,b7=E,hT=["itemStyle","borderWidth"],Jj=["itemStyle","gapWidth"],eK=["upperLabel","show"],tK=["upperLabel","height"];const rK={seriesType:"treemap",reset:function(t,e,r,n){var i=r.getWidth(),a=r.getHeight(),o=t.option,s=dt(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),u=o.size||[],l=W(D9(s.width,u[0]),i),c=W(D9(s.height,u[1]),a),f=n&&n.type,h=["treemapZoomToNode","treemapRootToNode"],d=Dl(n,h,t),p=f==="treemapRender"||f==="treemapMove"?n.rootRect:null,v=t.getViewRoot(),g=oT(v);if(f!=="treemapMove"){var m=f==="treemapZoomToNode"?uK(t,d,v,l,c):p?[p.width,p.height]:[l,c],y=o.sort;y&&y!=="asc"&&y!=="desc"&&(y="desc");var _={squareRatio:o.squareRatio,sort:y,leafDepth:o.leafDepth};v.hostTree.clearLayouts();var b={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};v.setLayout(b),dT(v,_,!1,0),b=v.getLayout(),b7(g,function(w,S){var C=(g[S+1]||v).getValue();w.setLayout($({dataExtent:[C,C],borderWidth:0,upperHeight:0},b))})}var x=t.getData().tree.root;x.setLayout(lK(s,p,d),!0),t.setLayoutInfo(s),pT(x,new ye(-s.x,-s.y,i,a),g,v,0)}};function dT(t,e,r,n){var i,a;if(!t.isRemoved()){var o=t.getLayout();i=o.width,a=o.height;var s=t.getModel(),u=s.get(hT),l=s.get(Jj)/2,c=vT(s),f=Math.max(u,c),h=u-l,d=f-l;t.setLayout({borderWidth:u,upperHeight:f,upperLabelHeight:c},!0),i=kl(i-2*h,0),a=kl(a-h-d,0);var p=i*a,v=nK(t,s,p,e,r,n);if(v.length){var g={x:h,y:d,width:i,height:a},m=Pc(i,a),y=1/0,_=[];_.area=0;for(var b=0,x=v.length;b<x;){var w=v[b];_.push(w),_.area+=w.getLayout().area;var S=sK(_,m,e.squareRatio);S<=y?(b++,y=S):(_.area-=_.pop().getLayout().area,E9(_,m,g,l,!1),m=Pc(g.width,g.height),_.length=_.area=0,y=1/0)}if(_.length&&E9(_,m,g,l,!0),!r){var C=s.get("childrenVisibleMin");C!=null&&p<C&&(r=!0)}for(var b=0,x=v.length;b<x;b++)dT(v[b],e,r,n+1)}}}function nK(t,e,r,n,i,a){var o=t.children||[],s=n.sort;s!=="asc"&&s!=="desc"&&(s=null);var u=n.leafDepth!=null&&n.leafDepth<=a;if(i&&!u)return t.viewChildren=[];o=Ne(o,function(d){return!d.isRemoved()}),aK(o,s);var l=oK(e,o,s);if(l.sum===0)return t.viewChildren=[];if(l.sum=iK(e,r,l.sum,s,o),l.sum===0)return t.viewChildren=[];for(var c=0,f=o.length;c<f;c++){var h=o[c].getValue()/l.sum*r;o[c].setLayout({area:h})}return u&&(o.length&&t.setLayout({isLeafRoot:!0},!0),o.length=0),t.viewChildren=o,t.setLayout({dataExtent:l.dataExtent},!0),o}function iK(t,e,r,n,i){if(!n)return r;for(var a=t.get("visibleMin"),o=i.length,s=o,u=o-1;u>=0;u--){var l=i[n==="asc"?o-u-1:u].getValue();l/r*e<a&&(s=u,r-=l)}return n==="asc"?i.splice(0,o-s):i.splice(s,o-s),r}function aK(t,e){return e&&t.sort(function(r,n){var i=e==="asc"?r.getValue()-n.getValue():n.getValue()-r.getValue();return i===0?e==="asc"?r.dataIndex-n.dataIndex:n.dataIndex-r.dataIndex:i}),t}function oK(t,e,r){for(var n=0,i=0,a=e.length;i<a;i++)n+=e[i].getValue();var o=t.get("visualDimension"),s;return!e||!e.length?s=[NaN,NaN]:o==="value"&&r?(s=[e[e.length-1].getValue(),e[0].getValue()],r==="asc"&&s.reverse()):(s=[1/0,-1/0],b7(e,function(u){var l=u.getValue(o);l<s[0]&&(s[0]=l),l>s[1]&&(s[1]=l)})),{sum:n,dataExtent:s}}function sK(t,e,r){for(var n=0,i=1/0,a=0,o=void 0,s=t.length;a<s;a++)o=t[a].getLayout().area,o&&(o<i&&(i=o),o>n&&(n=o));var u=t.area*t.area,l=e*e*r;return u?kl(l*n/u,u/(l*i)):1/0}function E9(t,e,r,n,i){var a=e===r.width?0:1,o=1-a,s=["x","y"],u=["width","height"],l=r[s[a]],c=e?t.area/e:0;(i||c>r[u[o]])&&(c=r[u[o]]);for(var f=0,h=t.length;f<h;f++){var d=t[f],p={},v=c?d.getLayout().area/c:0,g=p[u[o]]=kl(c-2*n,0),m=r[s[a]]+r[u[a]]-l,y=f===h-1||m<v?m:v,_=p[u[a]]=kl(y-2*n,0);p[s[o]]=r[s[o]]+Pc(n,g/2),p[s[a]]=l+Pc(n,_/2),l+=y,d.setLayout(p,!0)}r[s[o]]+=c,r[u[o]]-=c}function uK(t,e,r,n,i){var a=(e||{}).node,o=[n,i];if(!a||a===r)return o;for(var s,u=n*i,l=u*t.option.zoomToNodeRatio;s=a.parentNode;){for(var c=0,f=s.children,h=0,d=f.length;h<d;h++)c+=f[h].getValue();var p=a.getValue();if(p===0)return o;l*=c/p;var v=s.getModel(),g=v.get(hT),m=Math.max(g,vT(v));l+=4*g*g+(3*g+m)*Math.pow(l,.5),l>Fv&&(l=Fv),a=s}l<u&&(l=u);var y=Math.pow(l/u,.5);return[n*y,i*y]}function lK(t,e,r){if(e)return{x:e.x,y:e.y};var n={x:0,y:0};if(!r)return n;var i=r.node,a=i.getLayout();if(!a)return n;for(var o=[a.width/2,a.height/2],s=i;s;){var u=s.getLayout();o[0]+=u.x,o[1]+=u.y,s=s.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}function pT(t,e,r,n,i){var a=t.getLayout(),o=r[i],s=o&&o===t;if(!(o&&!s||i===r.length&&t!==n)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(a),isAboveViewRoot:s},!0);var u=new ye(e.x-a.x,e.y-a.y,e.width,e.height);b7(t.viewChildren||[],function(l){pT(l,u,r,n,i+1)})}}function vT(t){return t.get(eK)?t.get(tK):0}function cK(t){t.registerSeriesModel(Ej),t.registerChartView(Gj),t.registerVisual(Yj),t.registerLayout(rK),Aj(t)}function fK(t){var e=t.findComponents({mainType:"legend"});!e||!e.length||t.eachSeriesByType("graph",function(r){var n=r.getCategoriesData(),i=r.getGraph(),a=i.data,o=n.mapArray(n.getName);a.filterSelf(function(s){var u=a.getItemModel(s),l=u.getShallow("category");if(l!=null){Me(l)&&(l=o[l]);for(var c=0;c<e.length;c++)if(!e[c].isSelected(l))return!1}return!0})})}function hK(t){var e={};t.eachSeriesByType("graph",function(r){var n=r.getCategoriesData(),i=r.getData(),a={};n.each(function(o){var s=n.getName(o);a["ec-"+s]=o;var u=n.getItemModel(o),l=u.getModel("itemStyle").getItemStyle();l.fill||(l.fill=r.getColorFromPalette(s,e)),n.setItemVisual(o,"style",l);for(var c=["symbol","symbolSize","symbolKeepAspect"],f=0;f<c.length;f++){var h=u.getShallow(c[f],!0);h!=null&&n.setItemVisual(o,c[f],h)}}),n.count()&&i.each(function(o){var s=i.getItemModel(o),u=s.getShallow("category");if(u!=null){Z(u)&&(u=a["ec-"+u]);var l=n.getItemVisual(u,"style"),c=i.ensureUniqueItemVisual(o,"style");$(c,l);for(var f=["symbol","symbolSize","symbolKeepAspect"],h=0;h<f.length;h++)i.setItemVisual(o,f[h],n.getItemVisual(u,f[h]))}})})}function s0(t){return t instanceof Array||(t=[t,t]),t}function dK(t){t.eachSeriesByType("graph",function(e){var r=e.getGraph(),n=e.getEdgeData(),i=s0(e.get("edgeSymbol")),a=s0(e.get("edgeSymbolSize"));n.setVisual("fromSymbol",i&&i[0]),n.setVisual("toSymbol",i&&i[1]),n.setVisual("fromSymbolSize",a&&a[0]),n.setVisual("toSymbolSize",a&&a[1]),n.setVisual("style",e.getModel("lineStyle").getLineStyle()),n.each(function(o){var s=n.getItemModel(o),u=r.getEdgeByIndex(o),l=s0(s.getShallow("symbol",!0)),c=s0(s.getShallow("symbolSize",!0)),f=s.getModel("lineStyle").getLineStyle(),h=n.ensureUniqueItemVisual(o,"style");switch($(h,f),h.stroke){case"source":{var d=u.node1.getVisual("style");h.stroke=d&&d.fill;break}case"target":{var d=u.node2.getVisual("style");h.stroke=d&&d.fill;break}}l[0]&&u.setVisual("fromSymbol",l[0]),l[1]&&u.setVisual("toSymbol",l[1]),c[0]&&u.setVisual("fromSymbolSize",c[0]),c[1]&&u.setVisual("toSymbolSize",c[1])})})}var a4="-->",H2=function(t){return t.get("autoCurveness")||null},gT=function(t,e){var r=H2(t),n=20,i=[];if(Me(r))n=r;else if(G(r)){t.__curvenessList=r;return}e>n&&(n=e);var a=n%2?n+2:n+3;i=[];for(var o=0;o<a;o++)i.push((o%2?o+1:o)/10*(o%2?-1:1));t.__curvenessList=i},Ml=function(t,e,r){var n=[t.id,t.dataIndex].join("."),i=[e.id,e.dataIndex].join(".");return[r.uid,n,i].join(a4)},mT=function(t){var e=t.split(a4);return[e[0],e[2],e[1]].join(a4)},pK=function(t,e){var r=Ml(t.node1,t.node2,e);return e.__edgeMap[r]},vK=function(t,e){var r=o4(Ml(t.node1,t.node2,e),e),n=o4(Ml(t.node2,t.node1,e),e);return r+n},o4=function(t,e){var r=e.__edgeMap;return r[t]?r[t].length:0};function gK(t){H2(t)&&(t.__curvenessList=[],t.__edgeMap={},gT(t))}function mK(t,e,r,n){if(H2(r)){var i=Ml(t,e,r),a=r.__edgeMap,o=a[mT(i)];a[i]&&!o?a[i].isForward=!0:o&&a[i]&&(o.isForward=!0,a[i].isForward=!1),a[i]=a[i]||[],a[i].push(n)}}function x7(t,e,r,n){var i=H2(e),a=G(i);if(!i)return null;var o=pK(t,e);if(!o)return null;for(var s=-1,u=0;u<o.length;u++)if(o[u]===r){s=u;break}var l=vK(t,e);gT(e,l),t.lineStyle=t.lineStyle||{};var c=Ml(t.node1,t.node2,e),f=e.__curvenessList,h=a||l%2?0:1;if(o.isForward)return f[h+s];var d=mT(c),p=o4(d,e),v=f[s+p+h];return n?a?i&&i[0]===0?(p+h)%2?v:-v:((p%2?0:1)+h)%2?v:-v:(p+h)%2?v:-v:f[s+p+h]}function yT(t){var e=t.coordinateSystem;if(!(e&&e.type!=="view")){var r=t.getGraph();r.eachNode(function(n){var i=n.getModel();n.setLayout([+i.get("x"),+i.get("y")])}),w7(r,t)}}function w7(t,e){t.eachEdge(function(r,n){var i=Lr(r.getModel().get(["lineStyle","curveness"]),-x7(r,e,n,!0),0),a=Fn(r.node1.getLayout()),o=Fn(r.node2.getLayout()),s=[a,o];+i&&s.push([(a[0]+o[0])/2-(a[1]-o[1])*i,(a[1]+o[1])/2-(o[0]-a[0])*i]),r.setLayout(s)})}function yK(t,e){t.eachSeriesByType("graph",function(r){var n=r.get("layout"),i=r.coordinateSystem;if(i&&i.type!=="view"){var a=r.getData(),o=[];E(i.dimensions,function(h){o=o.concat(a.mapDimensionsAll(h))});for(var s=0;s<a.count();s++){for(var u=[],l=!1,c=0;c<o.length;c++){var f=a.get(o[c],s);isNaN(f)||(l=!0),u.push(f)}l?a.setItemLayout(s,i.dataToPoint(u)):a.setItemLayout(s,[NaN,NaN])}w7(a.graph,r)}else(!n||n==="none")&&yT(r)})}function Bu(t){var e=t.coordinateSystem;if(e.type!=="view")return 1;var r=t.option.nodeScaleRatio,n=e.scaleX,i=e.getZoom(),a=(i-1)*r+1;return a/n}function Fu(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var k9=Math.PI,G6=[];function S7(t,e,r,n){var i=t.coordinateSystem;if(!(i&&i.type!=="view")){var a=i.getBoundingRect(),o=t.getData(),s=o.graph,u=a.width/2+a.x,l=a.height/2+a.y,c=Math.min(a.width,a.height)/2,f=o.count();if(o.setLayout({cx:u,cy:l}),!!f){if(r){var h=i.pointToData(n),d=h[0],p=h[1],v=[d-u,p-l];ks(v,v),S0(v,v,c),r.setLayout([u+v[0],l+v[1]],!0);var g=t.get(["circular","rotateLabel"]);_T(r,g,u,l)}_K[e](t,s,o,c,u,l,f),s.eachEdge(function(m,y){var _=Lr(m.getModel().get(["lineStyle","curveness"]),x7(m,t,y),0),b=Fn(m.node1.getLayout()),x=Fn(m.node2.getLayout()),w,S=(b[0]+x[0])/2,C=(b[1]+x[1])/2;+_&&(_*=3,w=[u*_+S*(1-_),l*_+C*(1-_)]),m.setLayout([b,x,w])})}}}var _K={value:function(t,e,r,n,i,a,o){var s=0,u=r.getSum("value"),l=Math.PI*2/(u||o);e.eachNode(function(c){var f=c.getValue("value"),h=l*(u?f:1)/2;s+=h,c.setLayout([n*Math.cos(s)+i,n*Math.sin(s)+a]),s+=h})},symbolSize:function(t,e,r,n,i,a,o){var s=0;G6.length=o;var u=Bu(t);e.eachNode(function(f){var h=Fu(f);isNaN(h)&&(h=2),h<0&&(h=0),h*=u;var d=Math.asin(h/2/n);isNaN(d)&&(d=k9/2),G6[f.dataIndex]=d,s+=d*2});var l=(2*k9-s)/o/2,c=0;e.eachNode(function(f){var h=l+G6[f.dataIndex];c+=h,(!f.getLayout()||!f.getLayout().fixed)&&f.setLayout([n*Math.cos(c)+i,n*Math.sin(c)+a]),c+=h})}};function _T(t,e,r,n){var i=t.getGraphicEl();if(i){var a=t.getModel(),o=a.get(["label","rotate"])||0,s=i.getSymbolPath();if(e){var u=t.getLayout(),l=Math.atan2(u[1]-n,u[0]-r);l<0&&(l=Math.PI*2+l);var c=u[0]<r;c&&(l=l-Math.PI);var f=c?"left":"right";s.setTextConfig({rotation:-l,position:f,origin:"center"});var h=s.ensureState("emphasis");$(h.textConfig||(h.textConfig={}),{position:f})}else s.setTextConfig({rotation:o*=Math.PI/180})}}function bK(t){t.eachSeriesByType("graph",function(e){e.get("layout")==="circular"&&S7(e,"symbolSize")})}var Vo=Uh;function xK(t,e,r){for(var n=t,i=e,a=r.rect,o=a.width,s=a.height,u=[a.x+o/2,a.y+s/2],l=r.gravity==null?.1:r.gravity,c=0;c<n.length;c++){var f=n[c];f.p||(f.p=fo(o*(Math.random()-.5)+u[0],s*(Math.random()-.5)+u[1])),f.pp=Fn(f.p),f.edges=null}var h=r.friction==null?.6:r.friction,d=h,p,v;return{warmUp:function(){d=h*.8},setFixed:function(g){n[g].fixed=!0},setUnfixed:function(g){n[g].fixed=!1},beforeStep:function(g){p=g},afterStep:function(g){v=g},step:function(g){p&&p(n,i);for(var m=[],y=n.length,_=0;_<i.length;_++){var b=i[_];if(!b.ignoreForceLayout){var x=b.n1,w=b.n2;Na(m,w.p,x.p);var S=Wh(m)-b.d,C=w.w/(x.w+w.w);isNaN(C)&&(C=0),ks(m,m),!x.fixed&&Vo(x.p,x.p,m,C*S*d),!w.fixed&&Vo(w.p,w.p,m,-(1-C)*S*d)}}for(var _=0;_<y;_++){var A=n[_];A.fixed||(Na(m,u,A.p),Vo(A.p,A.p,m,l*d))}for(var _=0;_<y;_++)for(var x=n[_],T=_+1;T<y;T++){var w=n[T];Na(m,w.p,x.p);var S=Wh(m);S===0&&(wB(m,Math.random()-.5,Math.random()-.5),S=1);var D=(x.rep+w.rep)/S/S;!x.fixed&&Vo(x.pp,x.pp,m,D),!w.fixed&&Vo(w.pp,w.pp,m,-D)}for(var k=[],_=0;_<y;_++){var A=n[_];A.fixed||(Na(k,A.p,A.pp),Vo(A.p,A.p,k,d),Gt(A.pp,A.p))}d=d*.992;var M=d<.01;v&&v(n,i,M),g&&g(M)}}}function wK(t){t.eachSeriesByType("graph",function(e){var r=e.coordinateSystem;if(!(r&&r.type!=="view"))if(e.get("layout")==="force"){var n=e.preservedPoints||{},i=e.getGraph(),a=i.data,o=i.edgeData,s=e.getModel("force"),u=s.get("initLayout");e.preservedPoints?a.each(function(_){var b=a.getId(_);a.setItemLayout(_,n[b]||[NaN,NaN])}):!u||u==="none"?yT(e):u==="circular"&&S7(e,"value");var l=a.getDataExtent("value"),c=o.getDataExtent("value"),f=s.get("repulsion"),h=s.get("edgeLength"),d=G(f)?f:[f,f],p=G(h)?h:[h,h];p=[p[1],p[0]];var v=a.mapArray("value",function(_,b){var x=a.getItemLayout(b),w=Be(_,l,d);return isNaN(w)&&(w=(d[0]+d[1])/2),{w,rep:w,fixed:a.getItemModel(b).get("fixed"),p:!x||isNaN(x[0])||isNaN(x[1])?null:x}}),g=o.mapArray("value",function(_,b){var x=i.getEdgeByIndex(b),w=Be(_,c,p);isNaN(w)&&(w=(p[0]+p[1])/2);var S=x.getModel(),C=Lr(x.getModel().get(["lineStyle","curveness"]),-x7(x,e,b,!0),0);return{n1:v[x.node1.dataIndex],n2:v[x.node2.dataIndex],d:w,curveness:C,ignoreForceLayout:S.get("ignoreForceLayout")}}),m=r.getBoundingRect(),y=xK(v,g,{rect:m,gravity:s.get("gravity"),friction:s.get("friction")});y.beforeStep(function(_,b){for(var x=0,w=_.length;x<w;x++)_[x].fixed&&Gt(_[x].p,i.getNodeByIndex(x).getLayout())}),y.afterStep(function(_,b,x){for(var w=0,S=_.length;w<S;w++)_[w].fixed||i.getNodeByIndex(w).setLayout(_[w].p),n[a.getId(w)]=_[w].p;for(var w=0,S=b.length;w<S;w++){var C=b[w],A=i.getEdgeByIndex(w),T=C.n1.p,D=C.n2.p,k=A.getLayout();k=k?k.slice():[],k[0]=k[0]||[],k[1]=k[1]||[],Gt(k[0],T),Gt(k[1],D),+C.curveness&&(k[2]=[(T[0]+D[0])/2-(T[1]-D[1])*C.curveness,(T[1]+D[1])/2-(D[0]-T[0])*C.curveness]),A.setLayout(k)}}),e.forceLayout=y,e.preservedPoints=n,y.step()}else e.forceLayout=null})}function SK(t,e,r){var n=$(t.getBoxLayoutParams(),{aspect:r});return dt(n,{width:e.getWidth(),height:e.getHeight()})}function CK(t,e){var r=[];return t.eachSeriesByType("graph",function(n){var i=n.get("coordinateSystem");if(!i||i==="view"){var a=n.getData(),o=a.mapArray(function(g){var m=a.getItemModel(g);return[+m.get("x"),+m.get("y")]}),s=[],u=[];g2(o,s,u),u[0]-s[0]===0&&(u[0]+=1,s[0]-=1),u[1]-s[1]===0&&(u[1]+=1,s[1]-=1);var l=(u[0]-s[0])/(u[1]-s[1]),c=SK(n,e,l);isNaN(l)&&(s=[c.x,c.y],u=[c.x+c.width,c.y+c.height]);var f=u[0]-s[0],h=u[1]-s[1],d=c.width,p=c.height,v=n.coordinateSystem=new t1;v.zoomLimit=n.get("scaleLimit"),v.setBoundingRect(s[0],s[1],f,h),v.setViewRect(c.x,c.y,d,p),v.setCenter(n.get("center"),e),v.setZoom(n.get("zoom")),r.push(v)}}),r}var M9=xt.prototype,H6=b2.prototype,bT=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return t}();(function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e})(bT);function U6(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var AK=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="ec-line",n}return e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new bT},e.prototype.buildPath=function(r,n){U6(n)?M9.buildPath.call(this,r,n):H6.buildPath.call(this,r,n)},e.prototype.pointAt=function(r){return U6(this.shape)?M9.pointAt.call(this,r):H6.pointAt.call(this,r)},e.prototype.tangentAt=function(r){var n=this.shape,i=U6(n)?[n.x2-n.x1,n.y2-n.y1]:H6.tangentAt.call(this,r);return ks(i,i)},e}(we);const TK=AK;var W6=["fromSymbol","toSymbol"];function L9(t){return"_"+t+"Type"}function I9(t,e,r){var n=e.getItemVisual(r,t);if(!n||n==="none")return n;var i=e.getItemVisual(r,t+"Size"),a=e.getItemVisual(r,t+"Rotate"),o=e.getItemVisual(r,t+"Offset"),s=e.getItemVisual(r,t+"KeepAspect"),u=Hs(i),l=mo(o||0,u);return n+u+l+(a||"")+(s||"")}function P9(t,e,r){var n=e.getItemVisual(r,t);if(!(!n||n==="none")){var i=e.getItemVisual(r,t+"Size"),a=e.getItemVisual(r,t+"Rotate"),o=e.getItemVisual(r,t+"Offset"),s=e.getItemVisual(r,t+"KeepAspect"),u=Hs(i),l=mo(o||0,u),c=ct(n,-u[0]/2+l[0],-u[1]/2+l[1],u[0],u[1],null,s);return c.__specifiedRotation=a==null||isNaN(a)?void 0:+a*Math.PI/180||0,c.name=t,c}}function DK(t){var e=new TK({name:"line",subPixelOptimize:!0});return s4(e.shape,t),e}function s4(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var r=e[2];r?(t.cpx1=r[0],t.cpy1=r[1]):(t.cpx1=NaN,t.cpy1=NaN)}var EK=function(t){F(e,t);function e(r,n,i){var a=t.call(this)||this;return a._createLine(r,n,i),a}return e.prototype._createLine=function(r,n,i){var a=r.hostModel,o=r.getItemLayout(n),s=DK(o);s.shape.percent=0,Ye(s,{shape:{percent:1}},a,n),this.add(s),E(W6,function(u){var l=P9(u,r,n);this.add(l),this[L9(u)]=I9(u,r,n)},this),this._updateCommonStl(r,n,i)},e.prototype.updateData=function(r,n,i){var a=r.hostModel,o=this.childOfName("line"),s=r.getItemLayout(n),u={shape:{}};s4(u.shape,s),Ie(o,u,a,n),E(W6,function(l){var c=I9(l,r,n),f=L9(l);if(this[f]!==c){this.remove(this.childOfName(l));var h=P9(l,r,n);this.add(h)}this[f]=c},this),this._updateCommonStl(r,n,i)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(r,n,i){var a=r.hostModel,o=this.childOfName("line"),s=i&&i.emphasisLineStyle,u=i&&i.blurLineStyle,l=i&&i.selectLineStyle,c=i&&i.labelStatesModels,f=i&&i.emphasisDisabled,h=i&&i.focus,d=i&&i.blurScope;if(!i||r.hasItemOption){var p=r.getItemModel(n),v=p.getModel("emphasis");s=v.getModel("lineStyle").getLineStyle(),u=p.getModel(["blur","lineStyle"]).getLineStyle(),l=p.getModel(["select","lineStyle"]).getLineStyle(),f=v.get("disabled"),h=v.get("focus"),d=v.get("blurScope"),c=gt(p)}var g=r.getItemVisual(n,"style"),m=g.stroke;o.useStyle(g),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=s,o.ensureState("blur").style=u,o.ensureState("select").style=l,E(W6,function(w){var S=this.childOfName(w);if(S){S.setColor(m),S.style.opacity=g.opacity;for(var C=0;C<Xt.length;C++){var A=Xt[C],T=o.getState(A);if(T){var D=T.style||{},k=S.ensureState(A),M=k.style||(k.style={});D.stroke!=null&&(M[S.__isEmptyBrush?"stroke":"fill"]=D.stroke),D.opacity!=null&&(M.opacity=D.opacity)}}S.markRedraw()}},this);var y=a.getRawValue(n);Mt(this,c,{labelDataIndex:n,labelFetcher:{getFormattedLabel:function(w,S){return a.getFormattedLabel(w,S,r.dataType)}},inheritColor:m||"#000",defaultOpacity:g.opacity,defaultText:(y==null?r.getName(n):isFinite(y)?nt(y):y)+""});var _=this.getTextContent();if(_){var b=c.normal;_.__align=_.style.align,_.__verticalAlign=_.style.verticalAlign,_.__position=b.get("position")||"middle";var x=b.get("distance");G(x)||(x=[x,x]),_.__labelDistance=x}this.setTextConfig({position:null,local:!0,inside:!1}),Je(this,h,d,f)},e.prototype.highlight=function(){Zn(this)},e.prototype.downplay=function(){Yn(this)},e.prototype.updateLayout=function(r,n){this.setLinePoints(r.getItemLayout(n))},e.prototype.setLinePoints=function(r){var n=this.childOfName("line");s4(n.shape,r),n.dirty()},e.prototype.beforeUpdate=function(){var r=this,n=r.childOfName("fromSymbol"),i=r.childOfName("toSymbol"),a=r.getTextContent();if(!n&&!i&&(!a||a.ignore))return;for(var o=1,s=this.parent;s;)s.scaleX&&(o/=s.scaleX),s=s.parent;var u=r.childOfName("line");if(!this.__dirty&&!u.__dirty)return;var l=u.shape.percent,c=u.pointAt(0),f=u.pointAt(l),h=Na([],f,c);ks(h,h);function d(T,D){var k=T.__specifiedRotation;if(k==null){var M=u.tangentAt(D);T.attr("rotation",(D===1?-1:1)*Math.PI/2-Math.atan2(M[1],M[0]))}else T.attr("rotation",k)}if(n&&(n.setPosition(c),d(n,0),n.scaleX=n.scaleY=o*l,n.markRedraw()),i&&(i.setPosition(f),d(i,1),i.scaleX=i.scaleY=o*l,i.markRedraw()),a&&!a.ignore){a.x=a.y=0,a.originX=a.originY=0;var p=void 0,v=void 0,g=a.__labelDistance,m=g[0]*o,y=g[1]*o,_=l/2,b=u.tangentAt(_),x=[b[1],-b[0]],w=u.pointAt(_);x[1]>0&&(x[0]=-x[0],x[1]=-x[1]);var S=b[0]<0?-1:1;if(a.__position!=="start"&&a.__position!=="end"){var C=-Math.atan2(b[1],b[0]);f[0]<c[0]&&(C=Math.PI+C),a.rotation=C}var A=void 0;switch(a.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":A=-y,v="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":A=y,v="top";break;default:A=0,v="middle"}switch(a.__position){case"end":a.x=h[0]*m+f[0],a.y=h[1]*y+f[1],p=h[0]>.8?"left":h[0]<-.8?"right":"center",v=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":a.x=-h[0]*m+c[0],a.y=-h[1]*y+c[1],p=h[0]>.8?"right":h[0]<-.8?"left":"center",v=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":a.x=m*S+c[0],a.y=c[1]+A,p=b[0]<0?"right":"left",a.originX=-m*S,a.originY=-A;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":a.x=w[0],a.y=w[1]+A,p="center",a.originY=-A;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":a.x=-m*S+f[0],a.y=f[1]+A,p=b[0]>=0?"right":"left",a.originX=m*S,a.originY=-A;break}a.scaleX=a.scaleY=o,a.setStyle({verticalAlign:a.__verticalAlign||v,align:a.__align||p})}},e}(le);const C7=EK;var kK=function(){function t(e){this.group=new le,this._LineCtor=e||C7}return t.prototype.updateData=function(e){var r=this;this._progressiveEls=null;var n=this,i=n.group,a=n._lineData;n._lineData=e,a||i.removeAll();var o=R9(e);e.diff(a).add(function(s){r._doAdd(e,s,o)}).update(function(s,u){r._doUpdate(a,e,u,s,o)}).remove(function(s){i.remove(a.getItemGraphicEl(s))}).execute()},t.prototype.updateLayout=function(){var e=this._lineData;e&&e.eachItemGraphicEl(function(r,n){r.updateLayout(e,n)},this)},t.prototype.incrementalPrepareUpdate=function(e){this._seriesScope=R9(e),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(e,r){this._progressiveEls=[];function n(s){!s.isGroup&&!MK(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=e.start;i<e.end;i++){var a=r.getItemLayout(i);if(q6(a)){var o=new this._LineCtor(r,i,this._seriesScope);o.traverse(n),this.group.add(o),r.setItemGraphicEl(i,o),this._progressiveEls.push(o)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(e){Xi(this._progressiveEls||this.group,e)},t.prototype._doAdd=function(e,r,n){var i=e.getItemLayout(r);if(q6(i)){var a=new this._LineCtor(e,r,n);e.setItemGraphicEl(r,a),this.group.add(a)}},t.prototype._doUpdate=function(e,r,n,i,a){var o=e.getItemGraphicEl(n);if(!q6(r.getItemLayout(i))){this.group.remove(o);return}o?o.updateData(r,i,a):o=new this._LineCtor(r,i,a),r.setItemGraphicEl(i,o),this.group.add(o)},t}();function MK(t){return t.animators&&t.animators.length>0}function R9(t){var e=t.hostModel,r=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:r.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:r.get("disabled"),blurScope:r.get("blurScope"),focus:r.get("focus"),labelStatesModels:gt(e)}}function N9(t){return isNaN(t[0])||isNaN(t[1])}function q6(t){return t&&!N9(t[0])&&!N9(t[1])}const A7=kK;var Z6=[],Y6=[],X6=[],$o=_t,j6=Ua,O9=Math.abs;function B9(t,e,r){for(var n=t[0],i=t[1],a=t[2],o=1/0,s,u=r*r,l=.1,c=.1;c<=.9;c+=.1){Z6[0]=$o(n[0],i[0],a[0],c),Z6[1]=$o(n[1],i[1],a[1],c);var f=O9(j6(Z6,e)-u);f<o&&(o=f,s=c)}for(var h=0;h<32;h++){var d=s+l;Y6[0]=$o(n[0],i[0],a[0],s),Y6[1]=$o(n[1],i[1],a[1],s),X6[0]=$o(n[0],i[0],a[0],d),X6[1]=$o(n[1],i[1],a[1],d);var f=j6(Y6,e)-u;if(O9(f)<.01)break;var p=j6(X6,e)-u;l/=2,f<0?p>=0?s=s+l:s=s-l:p>=0?s=s-l:s=s+l}return s}function K6(t,e){var r=[],n=cl,i=[[],[],[]],a=[[],[]],o=[];e/=2,t.eachEdge(function(s,u){var l=s.getLayout(),c=s.getVisual("fromSymbol"),f=s.getVisual("toSymbol");l.__original||(l.__original=[Fn(l[0]),Fn(l[1])],l[2]&&l.__original.push(Fn(l[2])));var h=l.__original;if(l[2]!=null){if(Gt(i[0],h[0]),Gt(i[1],h[2]),Gt(i[2],h[1]),c&&c!=="none"){var d=Fu(s.node1),p=B9(i,h[0],d*e);n(i[0][0],i[1][0],i[2][0],p,r),i[0][0]=r[3],i[1][0]=r[4],n(i[0][1],i[1][1],i[2][1],p,r),i[0][1]=r[3],i[1][1]=r[4]}if(f&&f!=="none"){var d=Fu(s.node2),p=B9(i,h[1],d*e);n(i[0][0],i[1][0],i[2][0],p,r),i[1][0]=r[1],i[2][0]=r[2],n(i[0][1],i[1][1],i[2][1],p,r),i[1][1]=r[1],i[2][1]=r[2]}Gt(l[0],i[0]),Gt(l[1],i[2]),Gt(l[2],i[1])}else{if(Gt(a[0],h[0]),Gt(a[1],h[1]),Na(o,a[1],a[0]),ks(o,o),c&&c!=="none"){var d=Fu(s.node1);Uh(a[0],a[0],o,d*e)}if(f&&f!=="none"){var d=Fu(s.node2);Uh(a[1],a[1],o,-d*e)}Gt(l[0],a[0]),Gt(l[1],a[1])}})}function F9(t){return t.type==="view"}var LK=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r,n){var i=new Xl,a=new A7,o=this.group;this._controller=new e1(n.getZr()),this._controllerHost={target:o},o.add(i.group),o.add(a.group),this._symbolDraw=i,this._lineDraw=a,this._firstRender=!0},e.prototype.render=function(r,n,i){var a=this,o=r.coordinateSystem;this._model=r;var s=this._symbolDraw,u=this._lineDraw,l=this.group;if(F9(o)){var c={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?l.attr(c):Ie(l,c,r)}K6(r.getGraph(),Bu(r));var f=r.getData();s.updateData(f);var h=r.getEdgeData();u.updateData(h),this._updateNodeAndLinkScale(),this._updateController(r,n,i),clearTimeout(this._layoutTimeout);var d=r.forceLayout,p=r.get(["force","layoutAnimation"]);d&&this._startForceLayoutIteration(d,p);var v=r.get("layout");f.graph.eachNode(function(_){var b=_.dataIndex,x=_.getGraphicEl(),w=_.getModel();if(x){x.off("drag").off("dragend");var S=w.get("draggable");S&&x.on("drag",function(A){switch(v){case"force":d.warmUp(),!a._layouting&&a._startForceLayoutIteration(d,p),d.setFixed(b),f.setItemLayout(b,[x.x,x.y]);break;case"circular":f.setItemLayout(b,[x.x,x.y]),_.setLayout({fixed:!0},!0),S7(r,"symbolSize",_,[A.offsetX,A.offsetY]),a.updateLayout(r);break;case"none":default:f.setItemLayout(b,[x.x,x.y]),w7(r.getGraph(),r),a.updateLayout(r);break}}).on("dragend",function(){d&&d.setUnfixed(b)}),x.setDraggable(S,!!w.get("cursor"));var C=w.get(["emphasis","focus"]);C==="adjacency"&&(ce(x).focus=_.getAdjacentDataIndices())}}),f.graph.eachEdge(function(_){var b=_.getGraphicEl(),x=_.getModel().get(["emphasis","focus"]);b&&x==="adjacency"&&(ce(b).focus={edge:[_.dataIndex],node:[_.node1.dataIndex,_.node2.dataIndex]})});var g=r.get("layout")==="circular"&&r.get(["circular","rotateLabel"]),m=f.getLayout("cx"),y=f.getLayout("cy");f.graph.eachNode(function(_){_T(_,g,m,y)}),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(r,n){var i=this;(function a(){r.step(function(o){i.updateLayout(i._model),(i._layouting=!o)&&(n?i._layoutTimeout=setTimeout(a,16):a())})})()},e.prototype._updateController=function(r,n,i){var a=this,o=this._controller,s=this._controllerHost,u=this.group;if(o.setPointerChecker(function(l,c,f){var h=u.getBoundingRect();return h.applyTransform(u.transform),h.contain(c,f)&&!V2(l,i,r)}),!F9(r.coordinateSystem)){o.disable();return}o.enable(r.get("roam")),s.zoomLimit=r.get("scaleLimit"),s.zoom=r.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(l){h7(s,l.dx,l.dy),i.dispatchAction({seriesId:r.id,type:"graphRoam",dx:l.dx,dy:l.dy})}).on("zoom",function(l){d7(s,l.scale,l.originX,l.originY),i.dispatchAction({seriesId:r.id,type:"graphRoam",zoom:l.scale,originX:l.originX,originY:l.originY}),a._updateNodeAndLinkScale(),K6(r.getGraph(),Bu(r)),a._lineDraw.updateLayout(),i.updateLabelLayout()})},e.prototype._updateNodeAndLinkScale=function(){var r=this._model,n=r.getData(),i=Bu(r);n.eachItemGraphicEl(function(a,o){a&&a.setSymbolScale(i)})},e.prototype.updateLayout=function(r){K6(r.getGraph(),Bu(r)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(qe);const IK=LK;function Go(t){return"_EC_"+t}var PK=function(){function t(e){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=e||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(e,r){e=e==null?""+r:""+e;var n=this._nodesMap;if(n[Go(e)]){process.env.NODE_ENV!=="production"&&console.error("Graph nodes have duplicate name or id");return}var i=new Da(e,r);return i.hostGraph=this,this.nodes.push(i),n[Go(e)]=i,i},t.prototype.getNodeByIndex=function(e){var r=this.data.getRawIndex(e);return this.nodes[r]},t.prototype.getNodeById=function(e){return this._nodesMap[Go(e)]},t.prototype.addEdge=function(e,r,n){var i=this._nodesMap,a=this._edgesMap;if(Me(e)&&(e=this.nodes[e]),Me(r)&&(r=this.nodes[r]),e instanceof Da||(e=i[Go(e)]),r instanceof Da||(r=i[Go(r)]),!(!e||!r)){var o=e.id+"-"+r.id,s=new xT(e,r,n);return s.hostGraph=this,this._directed&&(e.outEdges.push(s),r.inEdges.push(s)),e.edges.push(s),e!==r&&r.edges.push(s),this.edges.push(s),a[o]=s,s}},t.prototype.getEdgeByIndex=function(e){var r=this.edgeData.getRawIndex(e);return this.edges[r]},t.prototype.getEdge=function(e,r){e instanceof Da&&(e=e.id),r instanceof Da&&(r=r.id);var n=this._edgesMap;return this._directed?n[e+"-"+r]:n[e+"-"+r]||n[r+"-"+e]},t.prototype.eachNode=function(e,r){for(var n=this.nodes,i=n.length,a=0;a<i;a++)n[a].dataIndex>=0&&e.call(r,n[a],a)},t.prototype.eachEdge=function(e,r){for(var n=this.edges,i=n.length,a=0;a<i;a++)n[a].dataIndex>=0&&n[a].node1.dataIndex>=0&&n[a].node2.dataIndex>=0&&e.call(r,n[a],a)},t.prototype.breadthFirstTraverse=function(e,r,n,i){if(r instanceof Da||(r=this._nodesMap[Go(r)]),!!r){for(var a=n==="out"?"outEdges":n==="in"?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!e.call(i,r,null))for(var s=[r];s.length;)for(var u=s.shift(),l=u[a],o=0;o<l.length;o++){var c=l[o],f=c.node1===u?c.node2:c.node1;if(!f.__visited){if(e.call(i,f,u))return;s.push(f),f.__visited=!0}}}},t.prototype.update=function(){for(var e=this.data,r=this.edgeData,n=this.nodes,i=this.edges,a=0,o=n.length;a<o;a++)n[a].dataIndex=-1;for(var a=0,o=e.count();a<o;a++)n[e.getRawIndex(a)].dataIndex=a;r.filterSelf(function(s){var u=i[r.getRawIndex(s)];return u.node1.dataIndex>=0&&u.node2.dataIndex>=0});for(var a=0,o=i.length;a<o;a++)i[a].dataIndex=-1;for(var a=0,o=r.count();a<o;a++)i[r.getRawIndex(a)].dataIndex=a},t.prototype.clone=function(){for(var e=new t(this._directed),r=this.nodes,n=this.edges,i=0;i<r.length;i++)e.addNode(r[i].id,r[i].dataIndex);for(var i=0;i<n.length;i++){var a=n[i];e.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return e},t}(),Da=function(){function t(e,r){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=e??"",this.dataIndex=r??-1}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(e){if(!(this.dataIndex<0)){var r=this.hostGraph,n=r.data.getItemModel(this.dataIndex);return n.getModel(e)}},t.prototype.getAdjacentDataIndices=function(){for(var e={edge:[],node:[]},r=0;r<this.edges.length;r++){var n=this.edges[r];n.dataIndex<0||(e.edge.push(n.dataIndex),e.node.push(n.node1.dataIndex,n.node2.dataIndex))}return e},t.prototype.getTrajectoryDataIndices=function(){for(var e=J(),r=J(),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){e.set(i.dataIndex,!0);for(var a=[i.node1],o=[i.node2],s=0;s<a.length;){var u=a[s];s++,r.set(u.dataIndex,!0);for(var l=0;l<u.inEdges.length;l++)e.set(u.inEdges[l].dataIndex,!0),a.push(u.inEdges[l].node1)}for(s=0;s<o.length;){var c=o[s];s++,r.set(c.dataIndex,!0);for(var l=0;l<c.outEdges.length;l++)e.set(c.outEdges[l].dataIndex,!0),o.push(c.outEdges[l].node2)}}}return{edge:e.keys(),node:r.keys()}},t}(),xT=function(){function t(e,r,n){this.dataIndex=-1,this.node1=e,this.node2=r,this.dataIndex=n??-1}return t.prototype.getModel=function(e){if(!(this.dataIndex<0)){var r=this.hostGraph,n=r.edgeData.getItemModel(this.dataIndex);return n.getModel(e)}},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t.prototype.getTrajectoryDataIndices=function(){var e=J(),r=J();e.set(this.dataIndex,!0);for(var n=[this.node1],i=[this.node2],a=0;a<n.length;){var o=n[a];a++,r.set(o.dataIndex,!0);for(var s=0;s<o.inEdges.length;s++)e.set(o.inEdges[s].dataIndex,!0),n.push(o.inEdges[s].node1)}for(a=0;a<i.length;){var u=i[a];a++,r.set(u.dataIndex,!0);for(var s=0;s<u.outEdges.length;s++)e.set(u.outEdges[s].dataIndex,!0),i.push(u.outEdges[s].node2)}return{edge:e.keys(),node:r.keys()}},t}();function wT(t,e){return{getValue:function(r){var n=this[t][e];return n.getStore().get(n.getDimensionIndex(r||"value"),this.dataIndex)},setVisual:function(r,n){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,r,n)},getVisual:function(r){return this[t][e].getItemVisual(this.dataIndex,r)},setLayout:function(r,n){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,r,n)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}ft(Da,wT("hostGraph","data"));ft(xT,wT("hostGraph","edgeData"));const RK=PK;function ST(t,e,r,n,i){for(var a=new RK(n),o=0;o<t.length;o++)a.addNode(ut(t[o].id,t[o].name,o),o);for(var s=[],u=[],l=0,o=0;o<e.length;o++){var c=e[o],f=c.source,h=c.target;a.addEdge(f,h,l)&&(u.push(c),s.push(ut(ht(c.id,null),f+" > "+h)),l++)}var d=r.get("coordinateSystem"),p;if(d==="cartesian2d"||d==="polar")p=Jn(t,r);else{var v=Vs.get(d),g=v?v.dimensions||[]:[];_e(g,"value")<0&&g.concat(["value"]);var m=ql(t,{coordDimensions:g,encodeDefine:r.getEncode()}).dimensions;p=new qt(m,r),p.initData(t)}var y=new qt(["value"],r);return y.initData(u,s),i&&i(p,y),iT({mainData:p,struct:a,structAttr:"graph",datas:{node:p,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a}var NK=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r}return e.prototype.init=function(r){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new Jl(i,i),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},e.prototype.mergeOption=function(r){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(r){t.prototype.mergeDefaultAndTheme.apply(this,arguments),ro(r,"edgeLabel",["show"])},e.prototype.getInitialData=function(r,n){var i=r.edges||r.links||[],a=r.data||r.nodes||[],o=this;if(a&&i){gK(this);var s=ST(a,i,this,!0,u);return E(s.edges,function(l){mK(l.node1,l.node2,this,l.dataIndex)},this),s.data}function u(l,c){l.wrapMethod("getItemModel",function(p){var v=o._categoriesModels,g=p.getShallow("category"),m=v[g];return m&&(m.parentModel=p.parentModel,p.parentModel=m),p});var f=We.prototype.getModel;function h(p,v){var g=f.call(this,p,v);return g.resolveParentPath=d,g}c.wrapMethod("getItemModel",function(p){return p.resolveParentPath=d,p.getModel=h,p});function d(p){if(p&&(p[0]==="label"||p[1]==="label")){var v=p.slice();return p[0]==="label"?v[0]="edgeLabel":p[1]==="label"&&(v[1]="edgeLabel"),v}return p}}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(r,n,i){if(i==="edge"){var a=this.getData(),o=this.getDataParams(r,i),s=a.graph.getEdgeByIndex(r),u=a.getName(s.node1.dataIndex),l=a.getName(s.node2.dataIndex),c=[];return u!=null&&c.push(u),l!=null&&c.push(l),mt("nameValue",{name:c.join(" > "),value:o.value,noValue:o.value==null})}var f=GS({series:this,dataIndex:r,multipleSeries:n});return f},e.prototype._updateCategoriesData=function(){var r=H(this.option.categories||[],function(i){return i.value!=null?i:$({value:0},i)}),n=new qt(["value"],this);n.initData(r),this._categoriesData=n,this._categoriesModels=n.mapArray(function(i){return n.getItemModel(i)})},e.prototype.setZoom=function(r){this.option.zoom=r},e.prototype.setCenter=function(r){this.option.center=r},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(je);const OK=NK;var BK={type:"graphRoam",event:"graphRoam",update:"none"};function FK(t){t.registerChartView(IK),t.registerSeriesModel(OK),t.registerProcessor(fK),t.registerVisual(hK),t.registerVisual(dK),t.registerLayout(yK),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,bK),t.registerLayout(wK),t.registerCoordinateSystem("graphView",{dimensions:t1.dimensions,create:CK}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},at),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},at),t.registerAction(BK,function(e,r,n){r.eachComponent({mainType:"series",query:e},function(i){var a=i.coordinateSystem,o=v7(a,e,void 0,n);i.setCenter&&i.setCenter(o.center),i.setZoom&&i.setZoom(o.zoom)})})}var zK=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),VK=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="pointer",n}return e.prototype.getDefaultShape=function(){return new zK},e.prototype.buildPath=function(r,n){var i=Math.cos,a=Math.sin,o=n.r,s=n.width,u=n.angle,l=n.x-i(u)*s*(s>=o/3?1:2),c=n.y-a(u)*s*(s>=o/3?1:2);u=n.angle-Math.PI/2,r.moveTo(l,c),r.lineTo(n.x+i(u)*s,n.y+a(u)*s),r.lineTo(n.x+i(n.angle)*o,n.y+a(n.angle)*o),r.lineTo(n.x-i(u)*s,n.y-a(u)*s),r.lineTo(l,c)},e}(we);const $K=VK;function GK(t,e){var r=t.get("center"),n=e.getWidth(),i=e.getHeight(),a=Math.min(n,i),o=W(r[0],e.getWidth()),s=W(r[1],e.getHeight()),u=W(t.get("radius"),a/2);return{cx:o,cy:s,r:u}}function u0(t,e){var r=t==null?"":t+"";return e&&(Z(e)?r=e.replace("{value}",r):te(e)&&(r=e(t))),r}var HK=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){this.group.removeAll();var a=r.get(["axisLine","lineStyle","color"]),o=GK(r,i);this._renderMain(r,n,i,a,o),this._data=r.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(r,n,i,a,o){var s=this.group,u=r.get("clockwise"),l=-r.get("startAngle")/180*Math.PI,c=-r.get("endAngle")/180*Math.PI,f=r.getModel("axisLine"),h=f.get("roundCap"),d=h?Ec:rr,p=f.get("show"),v=f.getModel("lineStyle"),g=v.get("width"),m=[l,c];p5(m,!u),l=m[0],c=m[1];for(var y=c-l,_=l,b=[],x=0;p&&x<a.length;x++){var w=Math.min(Math.max(a[x][0],0),1);c=l+y*w;var S=new d({shape:{startAngle:_,endAngle:c,cx:o.cx,cy:o.cy,clockwise:u,r0:o.r-g,r:o.r},silent:!0});S.setStyle({fill:a[x][1]}),S.setStyle(v.getLineStyle(["color","width"])),b.push(S),_=c}b.reverse(),E(b,function(A){return s.add(A)});var C=function(A){if(A<=0)return a[0][1];var T;for(T=0;T<a.length;T++)if(a[T][0]>=A&&(T===0?0:a[T-1][0])<A)return a[T][1];return a[T-1][1]};this._renderTicks(r,n,i,C,o,l,c,u,g),this._renderTitleAndDetail(r,n,i,C,o),this._renderAnchor(r,o),this._renderPointer(r,n,i,C,o,l,c,u,g)},e.prototype._renderTicks=function(r,n,i,a,o,s,u,l,c){for(var f=this.group,h=o.cx,d=o.cy,p=o.r,v=+r.get("min"),g=+r.get("max"),m=r.getModel("splitLine"),y=r.getModel("axisTick"),_=r.getModel("axisLabel"),b=r.get("splitNumber"),x=y.get("splitNumber"),w=W(m.get("length"),p),S=W(y.get("length"),p),C=s,A=(u-s)/b,T=A/x,D=m.getModel("lineStyle").getLineStyle(),k=y.getModel("lineStyle").getLineStyle(),M=m.get("distance"),I,N,L=0;L<=b;L++){if(I=Math.cos(C),N=Math.sin(C),m.get("show")){var O=M?M+c:c,P=new xt({shape:{x1:I*(p-O)+h,y1:N*(p-O)+d,x2:I*(p-w-O)+h,y2:N*(p-w-O)+d},style:D,silent:!0});D.stroke==="auto"&&P.setStyle({stroke:a(L/b)}),f.add(P)}if(_.get("show")){var O=_.get("distance")+M,R=u0(nt(L/b*(g-v)+v),_.get("formatter")),B=a(L/b),z=I*(p-w-O)+h,V=N*(p-w-O)+d,U=_.get("rotate"),q=0;U==="radial"?(q=-C+2*Math.PI,q>Math.PI/2&&(q+=Math.PI)):U==="tangential"?q=-C-Math.PI/2:Me(U)&&(q=U*Math.PI/180),q===0?f.add(new ke({style:Ue(_,{text:R,x:z,y:V,verticalAlign:N<-.8?"top":N>.8?"bottom":"middle",align:I<-.4?"left":I>.4?"right":"center"},{inheritColor:B}),silent:!0})):f.add(new ke({style:Ue(_,{text:R,x:z,y:V,verticalAlign:"middle",align:"center"},{inheritColor:B}),silent:!0,originX:z,originY:V,rotation:q}))}if(y.get("show")&&L!==b){var O=y.get("distance");O=O?O+c:c;for(var K=0;K<=x;K++){I=Math.cos(C),N=Math.sin(C);var xe=new xt({shape:{x1:I*(p-O)+h,y1:N*(p-O)+d,x2:I*(p-S-O)+h,y2:N*(p-S-O)+d},silent:!0,style:k});k.stroke==="auto"&&xe.setStyle({stroke:a((L+K/x)/b)}),f.add(xe),C+=T}C-=T}else C+=A}},e.prototype._renderPointer=function(r,n,i,a,o,s,u,l,c){var f=this.group,h=this._data,d=this._progressEls,p=[],v=r.get(["pointer","show"]),g=r.getModel("progress"),m=g.get("show"),y=r.getData(),_=y.mapDimension("value"),b=+r.get("min"),x=+r.get("max"),w=[b,x],S=[s,u];function C(T,D){var k=y.getItemModel(T),M=k.getModel("pointer"),I=W(M.get("width"),o.r),N=W(M.get("length"),o.r),L=r.get(["pointer","icon"]),O=M.get("offsetCenter"),P=W(O[0],o.r),R=W(O[1],o.r),B=M.get("keepAspect"),z;return L?z=ct(L,P-I/2,R-N,I,N,null,B):z=new $K({shape:{angle:-Math.PI/2,width:I,r:N,x:P,y:R}}),z.rotation=-(D+Math.PI/2),z.x=o.cx,z.y=o.cy,z}function A(T,D){var k=g.get("roundCap"),M=k?Ec:rr,I=g.get("overlap"),N=I?g.get("width"):c/y.count(),L=I?o.r-N:o.r-(T+1)*N,O=I?o.r:o.r-T*N,P=new M({shape:{startAngle:s,endAngle:D,cx:o.cx,cy:o.cy,clockwise:l,r0:L,r:O}});return I&&(P.z2=Be(y.get(_,T),[b,x],[100,0],!0)),P}(m||v)&&(y.diff(h).add(function(T){var D=y.get(_,T);if(v){var k=C(T,s);Ye(k,{rotation:-((isNaN(+D)?S[0]:Be(D,w,S,!0))+Math.PI/2)},r),f.add(k),y.setItemGraphicEl(T,k)}if(m){var M=A(T,s),I=g.get("clip");Ye(M,{shape:{endAngle:Be(D,w,S,I)}},r),f.add(M),yd(r.seriesIndex,y.dataType,T,M),p[T]=M}}).update(function(T,D){var k=y.get(_,T);if(v){var M=h.getItemGraphicEl(D),I=M?M.rotation:s,N=C(T,I);N.rotation=I,Ie(N,{rotation:-((isNaN(+k)?S[0]:Be(k,w,S,!0))+Math.PI/2)},r),f.add(N),y.setItemGraphicEl(T,N)}if(m){var L=d[D],O=L?L.shape.endAngle:s,P=A(T,O),R=g.get("clip");Ie(P,{shape:{endAngle:Be(k,w,S,R)}},r),f.add(P),yd(r.seriesIndex,y.dataType,T,P),p[T]=P}}).execute(),y.each(function(T){var D=y.getItemModel(T),k=D.getModel("emphasis"),M=k.get("focus"),I=k.get("blurScope"),N=k.get("disabled");if(v){var L=y.getItemGraphicEl(T),O=y.getItemVisual(T,"style"),P=O.fill;if(L instanceof Lt){var R=L.style;L.useStyle($({image:R.image,x:R.x,y:R.y,width:R.width,height:R.height},O))}else L.useStyle(O),L.type!=="pointer"&&L.setColor(P);L.setStyle(D.getModel(["pointer","itemStyle"]).getItemStyle()),L.style.fill==="auto"&&L.setStyle("fill",a(Be(y.get(_,T),w,[0,1],!0))),L.z2EmphasisLift=0,kt(L,D),Je(L,M,I,N)}if(m){var B=p[T];B.useStyle(y.getItemVisual(T,"style")),B.setStyle(D.getModel(["progress","itemStyle"]).getItemStyle()),B.z2EmphasisLift=0,kt(B,D),Je(B,M,I,N)}}),this._progressEls=p)},e.prototype._renderAnchor=function(r,n){var i=r.getModel("anchor"),a=i.get("show");if(a){var o=i.get("size"),s=i.get("icon"),u=i.get("offsetCenter"),l=i.get("keepAspect"),c=ct(s,n.cx-o/2+W(u[0],n.r),n.cy-o/2+W(u[1],n.r),o,o,null,l);c.z2=i.get("showAbove")?1:0,c.setStyle(i.getModel("itemStyle").getItemStyle()),this.group.add(c)}},e.prototype._renderTitleAndDetail=function(r,n,i,a,o){var s=this,u=r.getData(),l=u.mapDimension("value"),c=+r.get("min"),f=+r.get("max"),h=new le,d=[],p=[],v=r.isAnimationEnabled(),g=r.get(["pointer","showAbove"]);u.diff(this._data).add(function(m){d[m]=new ke({silent:!0}),p[m]=new ke({silent:!0})}).update(function(m,y){d[m]=s._titleEls[y],p[m]=s._detailEls[y]}).execute(),u.each(function(m){var y=u.getItemModel(m),_=u.get(l,m),b=new le,x=a(Be(_,[c,f],[0,1],!0)),w=y.getModel("title");if(w.get("show")){var S=w.get("offsetCenter"),C=o.cx+W(S[0],o.r),A=o.cy+W(S[1],o.r),T=d[m];T.attr({z2:g?0:2,style:Ue(w,{x:C,y:A,text:u.getName(m),align:"center",verticalAlign:"middle"},{inheritColor:x})}),b.add(T)}var D=y.getModel("detail");if(D.get("show")){var k=D.get("offsetCenter"),M=o.cx+W(k[0],o.r),I=o.cy+W(k[1],o.r),N=W(D.get("width"),o.r),L=W(D.get("height"),o.r),O=r.get(["progress","show"])?u.getItemVisual(m,"style").fill:x,T=p[m],P=D.get("formatter");T.attr({z2:g?0:2,style:Ue(D,{x:M,y:I,text:u0(_,P),width:isNaN(N)?null:N,height:isNaN(L)?null:L,align:"center",verticalAlign:"middle"},{inheritColor:O})}),Ww(T,{normal:D},_,function(B){return u0(B,P)}),v&&qw(T,m,u,r,{getFormattedLabel:function(B,z,V,U,q,K){return u0(K?K.interpolatedValue:_,P)}}),b.add(T)}h.add(b)}),this.group.add(h),this._titleEls=d,this._detailEls=p},e.type="gauge",e}(qe);const UK=HK;var WK=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.visualStyleAccessPath="itemStyle",r}return e.prototype.getInitialData=function(r,n){return Ws(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(je);const qK=WK;function ZK(t){t.registerChartView(UK),t.registerSeriesModel(qK)}var YK=["itemStyle","opacity"],XK=function(t){F(e,t);function e(r,n){var i=t.call(this)||this,a=i,o=new ar,s=new ke;return a.setTextContent(s),i.setTextGuideLine(o),i.updateData(r,n,!0),i}return e.prototype.updateData=function(r,n,i){var a=this,o=r.hostModel,s=r.getItemModel(n),u=r.getItemLayout(n),l=s.getModel("emphasis"),c=s.get(YK);c=c??1,i||Qr(a),a.useStyle(r.getItemVisual(n,"style")),a.style.lineJoin="round",i?(a.setShape({points:u.points}),a.style.opacity=0,Ye(a,{style:{opacity:c}},o,n)):Ie(a,{style:{opacity:c},shape:{points:u.points}},o,n),kt(a,s),this._updateLabel(r,n),Je(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))},e.prototype._updateLabel=function(r,n){var i=this,a=this.getTextGuideLine(),o=i.getTextContent(),s=r.hostModel,u=r.getItemModel(n),l=r.getItemLayout(n),c=l.label,f=r.getItemVisual(n,"style"),h=f.fill;Mt(o,gt(u),{labelFetcher:r.hostModel,labelDataIndex:n,defaultOpacity:f.opacity,defaultText:r.getName(n)},{normal:{align:c.textAlign,verticalAlign:c.verticalAlign}}),i.setTextConfig({local:!0,inside:!!c.inside,insideStroke:h,outsideFill:h});var d=c.linePoints;a.setShape({points:d}),i.textGuideLineConfig={anchor:d?new me(d[0][0],d[0][1]):null},Ie(o,{style:{x:c.x,y:c.y}},s,n),o.attr({rotation:c.rotation,originX:c.x,originY:c.y,z2:10}),r7(i,n7(u),{stroke:h})},e}(nr),jK=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.ignoreLabelLineUpdate=!0,r}return e.prototype.render=function(r,n,i){var a=r.getData(),o=this._data,s=this.group;a.diff(o).add(function(u){var l=new XK(a,u);a.setItemGraphicEl(u,l),s.add(l)}).update(function(u,l){var c=o.getItemGraphicEl(l);c.updateData(a,u),s.add(c),a.setItemGraphicEl(u,c)}).remove(function(u){var l=o.getItemGraphicEl(u);gl(l,r,u)}).execute(),this._data=a},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(qe);const KK=jK;var QK=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Jl(X(this.getData,this),X(this.getRawData,this)),this._defaultLabelLine(r)},e.prototype.getInitialData=function(r,n){return Ws(this,{coordDimensions:["value"],encodeDefaulter:ve(P5,this)})},e.prototype._defaultLabelLine=function(r){ro(r,"labelLine",["show"]);var n=r.labelLine,i=r.emphasis.labelLine;n.show=n.show&&r.label.show,i.show=i.show&&r.emphasis.label.show},e.prototype.getDataParams=function(r){var n=this.getData(),i=t.prototype.getDataParams.call(this,r),a=n.mapDimension("value"),o=n.getSum(a);return i.percent=o?+(n.get(a,r)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(je);const JK=QK;function eQ(t,e){return dt(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function tQ(t,e){for(var r=t.mapDimension("value"),n=t.mapArray(r,function(u){return u}),i=[],a=e==="ascending",o=0,s=t.count();o<s;o++)i[o]=o;return te(e)?i.sort(e):e!=="none"&&i.sort(function(u,l){return a?n[u]-n[l]:n[l]-n[u]}),i}function rQ(t){var e=t.hostModel,r=e.get("orient");t.each(function(n){var i=t.getItemModel(n),a=i.getModel("label"),o=a.get("position"),s=i.getModel("labelLine"),u=t.getItemLayout(n),l=u.points,c=o==="inner"||o==="inside"||o==="center"||o==="insideLeft"||o==="insideRight",f,h,d,p;if(c)o==="insideLeft"?(h=(l[0][0]+l[3][0])/2+5,d=(l[0][1]+l[3][1])/2,f="left"):o==="insideRight"?(h=(l[1][0]+l[2][0])/2-5,d=(l[1][1]+l[2][1])/2,f="right"):(h=(l[0][0]+l[1][0]+l[2][0]+l[3][0])/4,d=(l[0][1]+l[1][1]+l[2][1]+l[3][1])/4,f="center"),p=[[h,d],[h,d]];else{var v=void 0,g=void 0,m=void 0,y=void 0,_=s.get("length");process.env.NODE_ENV!=="production"&&(r==="vertical"&&["top","bottom"].indexOf(o)>-1&&(o="left",console.warn("Position error: Funnel chart on vertical orient dose not support top and bottom.")),r==="horizontal"&&["left","right"].indexOf(o)>-1&&(o="bottom",console.warn("Position error: Funnel chart on horizontal orient dose not support left and right."))),o==="left"?(v=(l[3][0]+l[0][0])/2,g=(l[3][1]+l[0][1])/2,m=v-_,h=m-5,f="right"):o==="right"?(v=(l[1][0]+l[2][0])/2,g=(l[1][1]+l[2][1])/2,m=v+_,h=m+5,f="left"):o==="top"?(v=(l[3][0]+l[0][0])/2,g=(l[3][1]+l[0][1])/2,y=g-_,d=y-5,f="center"):o==="bottom"?(v=(l[1][0]+l[2][0])/2,g=(l[1][1]+l[2][1])/2,y=g+_,d=y+5,f="center"):o==="rightTop"?(v=r==="horizontal"?l[3][0]:l[1][0],g=r==="horizontal"?l[3][1]:l[1][1],r==="horizontal"?(y=g-_,d=y-5,f="center"):(m=v+_,h=m+5,f="top")):o==="rightBottom"?(v=l[2][0],g=l[2][1],r==="horizontal"?(y=g+_,d=y+5,f="center"):(m=v+_,h=m+5,f="bottom")):o==="leftTop"?(v=l[0][0],g=r==="horizontal"?l[0][1]:l[1][1],r==="horizontal"?(y=g-_,d=y-5,f="center"):(m=v-_,h=m-5,f="right")):o==="leftBottom"?(v=r==="horizontal"?l[1][0]:l[3][0],g=r==="horizontal"?l[1][1]:l[2][1],r==="horizontal"?(y=g+_,d=y+5,f="center"):(m=v-_,h=m-5,f="right")):(v=(l[1][0]+l[2][0])/2,g=(l[1][1]+l[2][1])/2,r==="horizontal"?(y=g+_,d=y+5,f="center"):(m=v+_,h=m+5,f="left")),r==="horizontal"?(m=v,h=m):(y=g,d=y),p=[[v,g],[m,y]]}u.label={linePoints:p,x:h,y:d,verticalAlign:"middle",textAlign:f,inside:c}})}function nQ(t,e){t.eachSeriesByType("funnel",function(r){var n=r.getData(),i=n.mapDimension("value"),a=r.get("sort"),o=eQ(r,e),s=r.get("orient"),u=o.width,l=o.height,c=tQ(n,a),f=o.x,h=o.y,d=s==="horizontal"?[W(r.get("minSize"),l),W(r.get("maxSize"),l)]:[W(r.get("minSize"),u),W(r.get("maxSize"),u)],p=n.getDataExtent(i),v=r.get("min"),g=r.get("max");v==null&&(v=Math.min(p[0],0)),g==null&&(g=p[1]);var m=r.get("funnelAlign"),y=r.get("gap"),_=s==="horizontal"?u:l,b=(_-y*(n.count()-1))/n.count(),x=function(I,N){if(s==="horizontal"){var L=n.get(i,I)||0,O=Be(L,[v,g],d,!0),P=void 0;switch(m){case"top":P=h;break;case"center":P=h+(l-O)/2;break;case"bottom":P=h+(l-O);break}return[[N,P],[N,P+O]]}var R=n.get(i,I)||0,B=Be(R,[v,g],d,!0),z;switch(m){case"left":z=f;break;case"center":z=f+(u-B)/2;break;case"right":z=f+u-B;break}return[[z,N],[z+B,N]]};a==="ascending"&&(b=-b,y=-y,s==="horizontal"?f+=u:h+=l,c=c.reverse());for(var w=0;w<c.length;w++){var S=c[w],C=c[w+1],A=n.getItemModel(S);if(s==="horizontal"){var T=A.get(["itemStyle","width"]);T==null?T=b:(T=W(T,u),a==="ascending"&&(T=-T));var D=x(S,f),k=x(C,f+T);f+=T+y,n.setItemLayout(S,{points:D.concat(k.slice().reverse())})}else{var M=A.get(["itemStyle","height"]);M==null?M=b:(M=W(M,l),a==="ascending"&&(M=-M));var D=x(S,h),k=x(C,h+M);h+=M+y,n.setItemLayout(S,{points:D.concat(k.slice().reverse())})}}rQ(n)})}function iQ(t){t.registerChartView(KK),t.registerSeriesModel(JK),t.registerLayout(nQ),t.registerProcessor(Ql("funnel"))}var aQ=.3,oQ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._dataGroup=new le,r._initialized=!1,r}return e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(r,n,i,a){this._progressiveEls=null;var o=this._dataGroup,s=r.getData(),u=this._data,l=r.coordinateSystem,c=l.dimensions,f=V9(r);s.diff(u).add(h).update(d).remove(p).execute();function h(g){var m=z9(s,o,g,c,l);Q6(m,s,g,f)}function d(g,m){var y=u.getItemGraphicEl(m),_=CT(s,g,c,l);s.setItemGraphicEl(g,y),Ie(y,{shape:{points:_}},r,g),Qr(y),Q6(y,s,g,f)}function p(g){var m=u.getItemGraphicEl(g);o.remove(m)}if(!this._initialized){this._initialized=!0;var v=sQ(l,r,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(v)}this._data=s},e.prototype.incrementalPrepareRender=function(r,n,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(r,n,i){for(var a=n.getData(),o=n.coordinateSystem,s=o.dimensions,u=V9(n),l=this._progressiveEls=[],c=r.start;c<r.end;c++){var f=z9(a,this._dataGroup,c,s,o);f.incremental=!0,Q6(f,a,c,u),l.push(f)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(qe);function sQ(t,e,r){var n=t.model,i=t.getRect(),a=new Ee({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),o=n.get("layout")==="horizontal"?"width":"height";return a.setShape(o,0),Ye(a,{shape:{width:i.width,height:i.height}},e,r),a}function CT(t,e,r,n){for(var i=[],a=0;a<r.length;a++){var o=r[a],s=t.get(t.mapDimension(o),e);uQ(s,n.getAxis(o).type)||i.push(n.dataToPoint(s,o))}return i}function z9(t,e,r,n,i){var a=CT(t,r,n,i),o=new ar({shape:{points:a},z2:10});return e.add(o),t.setItemGraphicEl(r,o),o}function V9(t){var e=t.get("smooth",!0);return e===!0&&(e=aQ),e=qn(e),to(e)&&(e=0),{smooth:e}}function Q6(t,e,r,n){t.useStyle(e.getItemVisual(r,"style")),t.style.fill=null,t.setShape("smooth",n.smooth);var i=e.getItemModel(r),a=i.getModel("emphasis");kt(t,i,"lineStyle"),Je(t,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function uQ(t,e){return e==="category"?t==null:t==null||isNaN(t)}const lQ=oQ;var cQ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return e.prototype.getInitialData=function(r,n){return Jn(null,this,{useEncodeDefaulter:X(fQ,null,this)})},e.prototype.getRawIndicesByActiveState=function(r){var n=this.coordinateSystem,i=this.getData(),a=[];return n.eachActiveState(i,function(o,s){r===o&&a.push(i.getRawIndex(s))}),a},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(je);function fQ(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var r={};return E(e.dimensions,function(n){var i=hQ(n);r[n]=i}),r}}function hQ(t){return+t.replace("dim","")}const dQ=cQ;var pQ=["lineStyle","opacity"],vQ={seriesType:"parallel",reset:function(t,e){var r=t.coordinateSystem,n={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(i,a){r.eachActiveState(a,function(o,s){var u=n[o];if(o==="normal"&&a.hasItemOption){var l=a.getItemModel(s).get(pQ,!0);l!=null&&(u=l)}var c=a.ensureUniqueItemVisual(s,"style");c.opacity=u},i.start,i.end)}}}};const gQ=vQ;function mQ(t){yQ(t),_Q(t)}function yQ(t){if(!t.parallel){var e=!1;E(t.series,function(r){r&&r.type==="parallel"&&(e=!0)}),e&&(t.parallel=[{}])}}function _Q(t){var e=ze(t.parallelAxis);E(e,function(r){if(ne(r)){var n=r.parallelIndex||0,i=ze(t.parallel)[n];i&&i.parallelAxisDefault&&ge(r,i.parallelAxisDefault,!1)}})}var bQ=5,xQ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){this._model=r,this._api=i,this._handlers||(this._handlers={},E(wQ,function(a,o){i.getZr().on(o,this._handlers[o]=X(a,this))},this)),Gs(this,"_throttledDispatchExpand",r.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(r,n){bl(this,"_throttledDispatchExpand"),E(this._handlers,function(i,a){n.getZr().off(a,i)}),this._handlers=null},e.prototype._throttledDispatchExpand=function(r){this._dispatchExpand(r)},e.prototype._dispatchExpand=function(r){r&&this._api.dispatchAction($({type:"parallelAxisExpand"},r))},e.type="parallel",e}(et),wQ={mousedown:function(t){J6(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(J6(this,"click")&&e){var r=[t.offsetX,t.offsetY],n=Math.pow(e[0]-r[0],2)+Math.pow(e[1]-r[1],2);if(n>bQ)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!(this._mouseDownPoint||!J6(this,"mousemove"))){var e=this._model,r=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),n=r.behavior;n==="jump"&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand(n==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:n==="jump"?null:{duration:0}})}}};function J6(t,e){var r=t._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===e}const SQ=xQ;var CQ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(r){var n=this.option;r&&ge(n,r,!0),this._initDimensions()},e.prototype.contains=function(r,n){var i=r.get("parallelIndex");return i!=null&&n.getComponent("parallel",i)===this},e.prototype.setAxisExpand=function(r){E(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(n){r.hasOwnProperty(n)&&(this.option[n]=r[n])},this)},e.prototype._initDimensions=function(){var r=this.dimensions=[],n=this.parallelAxisIndex=[],i=Ne(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(a){return(a.get("parallelIndex")||0)===this.componentIndex},this);E(i,function(a){r.push("dim"+a.get("dim")),n.push(a.componentIndex)})},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(Ce);const AQ=CQ;var TQ=function(t){F(e,t);function e(r,n,i,a,o){var s=t.call(this,r,n,i)||this;return s.type=a||"value",s.axisIndex=o,s}return e.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},e}(en);const DQ=TQ;function xo(t,e,r,n,i,a){t=t||0;var o=r[1]-r[0];if(i!=null&&(i=Ho(i,[0,o])),a!=null&&(a=Math.max(a,i??0)),n==="all"){var s=Math.abs(e[1]-e[0]);s=Ho(s,[0,o]),i=a=Ho(s,[i,a]),n=0}e[0]=Ho(e[0],r),e[1]=Ho(e[1],r);var u=eh(e,n);e[n]+=t;var l=i||0,c=r.slice();u.sign<0?c[0]+=l:c[1]-=l,e[n]=Ho(e[n],c);var f;return f=eh(e,n),i!=null&&(f.sign!==u.sign||f.span<i)&&(e[1-n]=e[n]+u.sign*i),f=eh(e,n),a!=null&&f.span>a&&(e[1-n]=e[n]+f.sign*a),e}function eh(t,e){var r=t[e]-t[1-e];return{span:Math.abs(r),sign:r>0?-1:r<0?1:e?-1:1}}function Ho(t,e){return Math.min(e[1]!=null?e[1]:1/0,Math.max(e[0]!=null?e[0]:-1/0,t))}var th=E,AT=Math.min,TT=Math.max,$9=Math.floor,EQ=Math.ceil,G9=nt,kQ=Math.PI,MQ=function(){function t(e,r,n){this.type="parallel",this._axesMap=J(),this._axesLayout={},this.dimensions=e.dimensions,this._model=e,this._init(e,r,n)}return t.prototype._init=function(e,r,n){var i=e.dimensions,a=e.parallelAxisIndex;th(i,function(o,s){var u=a[s],l=r.getComponent("parallelAxis",u),c=this._axesMap.set(o,new DQ(o,F2(l),[0,0],l.get("type"),u)),f=c.type==="category";c.onBand=f&&l.get("boundaryGap"),c.inverse=l.get("inverse"),l.axis=c,c.model=l,c.coordinateSystem=l.coordinateSystem=this},this)},t.prototype.update=function(e,r){this._updateAxesFromSeries(this._model,e)},t.prototype.containPoint=function(e){var r=this._makeLayoutInfo(),n=r.axisBase,i=r.layoutBase,a=r.pixelDimIndex,o=e[1-a],s=e[a];return o>=n&&o<=n+r.axisLength&&s>=i&&s<=i+r.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(e,r){r.eachSeries(function(n){if(e.contains(n,r)){var i=n.getData();th(this.dimensions,function(a){var o=this._axesMap.get(a);o.scale.unionExtentFromData(i,i.mapDimension(a)),xs(o.scale,o.model)},this)}},this)},t.prototype.resize=function(e,r){this._rect=dt(e.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var e=this._model,r=this._rect,n=["x","y"],i=["width","height"],a=e.get("layout"),o=a==="horizontal"?0:1,s=r[i[o]],u=[0,s],l=this.dimensions.length,c=l0(e.get("axisExpandWidth"),u),f=l0(e.get("axisExpandCount")||0,[0,l]),h=e.get("axisExpandable")&&l>3&&l>f&&f>1&&c>0&&s>0,d=e.get("axisExpandWindow"),p;if(d)p=l0(d[1]-d[0],u),d[1]=d[0]+p;else{p=l0(c*(f-1),u);var v=e.get("axisExpandCenter")||$9(l/2);d=[c*v-p/2],d[1]=d[0]+p}var g=(s-p)/(l-f);g<3&&(g=0);var m=[$9(G9(d[0]/c,1))+1,EQ(G9(d[1]/c,1))-1],y=g/c*d[0];return{layout:a,pixelDimIndex:o,layoutBase:r[n[o]],layoutLength:s,axisBase:r[n[1-o]],axisLength:r[i[1-o]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:d,axisCount:l,winInnerIndices:m,axisExpandWindow0Pos:y}},t.prototype._layoutAxes=function(){var e=this._rect,r=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),a=i.layout;r.each(function(o){var s=[0,i.axisLength],u=o.inverse?1:0;o.setExtent(s[u],s[1-u])}),th(n,function(o,s){var u=(i.axisExpandable?IQ:LQ)(s,i),l={horizontal:{x:u.position,y:i.axisLength},vertical:{x:0,y:u.position}},c={horizontal:kQ/2,vertical:0},f=[l[a].x+e.x,l[a].y+e.y],h=c[a],d=cr();ho(d,d,h),xn(d,d,f),this._axesLayout[o]={position:f,rotation:h,transform:d,axisNameAvailableWidth:u.axisNameAvailableWidth,axisLabelShow:u.axisLabelShow,nameTruncateMaxWidth:u.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},t.prototype.getAxis=function(e){return this._axesMap.get(e)},t.prototype.dataToPoint=function(e,r){return this.axisCoordToPoint(this._axesMap.get(r).dataToCoord(e),r)},t.prototype.eachActiveState=function(e,r,n,i){n==null&&(n=0),i==null&&(i=e.count());var a=this._axesMap,o=this.dimensions,s=[],u=[];E(o,function(g){s.push(e.mapDimension(g)),u.push(a.get(g).model)});for(var l=this.hasAxisBrushed(),c=n;c<i;c++){var f=void 0;if(!l)f="normal";else{f="active";for(var h=e.getValues(s,c),d=0,p=o.length;d<p;d++){var v=u[d].getActiveState(h[d]);if(v==="inactive"){f="inactive";break}}}r(f,c)}},t.prototype.hasAxisBrushed=function(){for(var e=this.dimensions,r=this._axesMap,n=!1,i=0,a=e.length;i<a;i++)r.get(e[i]).model.getActiveState()!=="normal"&&(n=!0);return n},t.prototype.axisCoordToPoint=function(e,r){var n=this._axesLayout[r];return Xr([e,0],n.transform)},t.prototype.getAxisLayout=function(e){return oe(this._axesLayout[e])},t.prototype.getSlidedAxisExpandWindow=function(e){var r=this._makeLayoutInfo(),n=r.pixelDimIndex,i=r.axisExpandWindow.slice(),a=i[1]-i[0],o=[0,r.axisExpandWidth*(r.axisCount-1)];if(!this.containPoint(e))return{behavior:"none",axisExpandWindow:i};var s=e[n]-r.layoutBase-r.axisExpandWindow0Pos,u,l="slide",c=r.axisCollapseWidth,f=this._model.get("axisExpandSlideTriggerArea"),h=f[0]!=null;if(c)h&&c&&s<a*f[0]?(l="jump",u=s-a*f[2]):h&&c&&s>a*(1-f[0])?(l="jump",u=s-a*(1-f[2])):(u=s-a*f[1])>=0&&(u=s-a*(1-f[1]))<=0&&(u=0),u*=r.axisExpandWidth/c,u?xo(u,i,o,"all"):l="none";else{var d=i[1]-i[0],p=o[1]*s/d;i=[TT(0,p-d/2)],i[1]=AT(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},t}();function l0(t,e){return AT(TT(t,e[0]),e[1])}function LQ(t,e){var r=e.layoutLength/(e.axisCount-1);return{position:r*t,axisNameAvailableWidth:r,axisLabelShow:!0}}function IQ(t,e){var r=e.layoutLength,n=e.axisExpandWidth,i=e.axisCount,a=e.axisCollapseWidth,o=e.winInnerIndices,s,u=a,l=!1,c;return t<o[0]?(s=t*a,c=a):t<=o[1]?(s=e.axisExpandWindow0Pos+t*n-e.axisExpandWindow[0],u=n,l=!0):(s=r-(i-1-t)*a,c=a),{position:s,axisNameAvailableWidth:u,axisLabelShow:l,nameTruncateMaxWidth:c}}const PQ=MQ;function RQ(t,e){var r=[];return t.eachComponent("parallel",function(n,i){var a=new PQ(n,t,e);a.name="parallel_"+i,a.resize(n,e),n.coordinateSystem=a,a.model=n,r.push(a)}),t.eachSeries(function(n){if(n.get("coordinateSystem")==="parallel"){var i=n.getReferringComponents("parallel",lt).models[0];n.coordinateSystem=i.coordinateSystem}}),r}var NQ={create:RQ};const OQ=NQ;var DT=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.activeIntervals=[],r}return e.prototype.getAreaSelectStyle=function(){return io([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(r){var n=this.activeIntervals=oe(r);if(n)for(var i=n.length-1;i>=0;i--)Mr(n[i])},e.prototype.getActiveState=function(r){var n=this.activeIntervals;if(!n.length)return"normal";if(r==null||isNaN(+r))return"inactive";if(n.length===1){var i=n[0];if(i[0]<=r&&r<=i[1])return"active"}else for(var a=0,o=n.length;a<o;a++)if(n[a][0]<=r&&r<=n[a][1])return"active";return"inactive"},e}(Ce);ft(DT,Zl);const H9=DT;var so=!0,Ll=Math.min,Cs=Math.max,BQ=Math.pow,FQ=1e4,zQ=6,VQ=6,U9="globalPan",$Q={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},GQ={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},W9={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},HQ=0,UQ=function(t){F(e,t);function e(r){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},process.env.NODE_ENV!=="production"&&ie(r),n._zr=r,n.group=new le,n._uid="brushController_"+HQ++,E(KQ,function(i,a){this._handlers[a]=X(i,this)},n),n}return e.prototype.enableBrush=function(r){return process.env.NODE_ENV!=="production"&&ie(this._mounted),this._brushType&&this._doDisableBrush(),r.brushType&&this._doEnableBrush(r),this},e.prototype._doEnableBrush=function(r){var n=this._zr;this._enableGlobalPan||eX(n,U9,this._uid),E(this._handlers,function(i,a){n.on(a,i)}),this._brushType=r.brushType,this._brushOption=ge(oe(W9),r,!0)},e.prototype._doDisableBrush=function(){var r=this._zr;tX(r,U9,this._uid),E(this._handlers,function(n,i){r.off(i,n)}),this._brushType=this._brushOption=null},e.prototype.setPanels=function(r){if(r&&r.length){var n=this._panels={};E(r,function(i){n[i.panelId]=oe(i)})}else this._panels=null;return this},e.prototype.mount=function(r){r=r||{},process.env.NODE_ENV!=="production"&&(this._mounted=!0),this._enableGlobalPan=r.enableGlobalPan;var n=this.group;return this._zr.add(n),n.attr({x:r.x||0,y:r.y||0,rotation:r.rotation||0,scaleX:r.scaleX||1,scaleY:r.scaleY||1}),this._transform=n.getLocalTransform(),this},e.prototype.updateCovers=function(r){process.env.NODE_ENV!=="production"&&ie(this._mounted),r=H(r,function(h){return ge(oe(W9),h,!0)});var n="\0-brush-index-",i=this._covers,a=this._covers=[],o=this,s=this._creatingCover;return new Xn(i,r,l,u).add(c).update(c).remove(f).execute(),this;function u(h,d){return(h.id!=null?h.id:n+d)+"-"+h.brushType}function l(h,d){return u(h.__brushOption,d)}function c(h,d){var p=r[h];if(d!=null&&i[d]===s)a[h]=i[d];else{var v=a[h]=d!=null?(i[d].__brushOption=p,i[d]):kT(o,ET(o,p));T7(o,v)}}function f(h){i[h]!==s&&o.group.remove(i[h])}},e.prototype.unmount=function(){if(!(process.env.NODE_ENV!=="production"&&!this._mounted))return this.enableBrush(!1),u4(this),this._zr.remove(this.group),process.env.NODE_ENV!=="production"&&(this._mounted=!1),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(Or);function ET(t,e){var r=U2[e.brushType].createCover(t,e);return r.__brushOption=e,LT(r,e),t.group.add(r),r}function kT(t,e){var r=D7(e);return r.endCreating&&(r.endCreating(t,e),LT(e,e.__brushOption)),e}function MT(t,e){var r=e.__brushOption;D7(e).updateCoverShape(t,e,r.range,r)}function LT(t,e){var r=e.z;r==null&&(r=FQ),t.traverse(function(n){n.z=r,n.z2=r})}function T7(t,e){D7(e).updateCommon(t,e),MT(t,e)}function D7(t){return U2[t.__brushOption.brushType]}function E7(t,e,r){var n=t._panels;if(!n)return so;var i,a=t._transform;return E(n,function(o){o.isTargetByCursor(e,r,a)&&(i=o)}),i}function IT(t,e){var r=t._panels;if(!r)return so;var n=e.__brushOption.panelId;return n!=null?r[n]:so}function u4(t){var e=t._covers,r=e.length;return E(e,function(n){t.group.remove(n)},t),e.length=0,!!r}function uo(t,e){var r=H(t._covers,function(n){var i=n.__brushOption,a=oe(i.range);return{brushType:i.brushType,panelId:i.panelId,range:a}});t.trigger("brush",{areas:r,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function WQ(t){var e=t._track;if(!e.length)return!1;var r=e[e.length-1],n=e[0],i=r[0]-n[0],a=r[1]-n[1],o=BQ(i*i+a*a,.5);return o>zQ}function PT(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function RT(t,e,r,n){var i=new le;return i.add(new Ee({name:"main",style:k7(r),silent:!0,draggable:!0,cursor:"move",drift:ve(q9,t,e,i,["n","s","w","e"]),ondragend:ve(uo,e,{isEnd:!0})})),E(n,function(a){i.add(new Ee({name:a.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:ve(q9,t,e,i,a),ondragend:ve(uo,e,{isEnd:!0})}))}),i}function NT(t,e,r,n){var i=n.brushStyle.lineWidth||0,a=Cs(i,VQ),o=r[0][0],s=r[1][0],u=o-i/2,l=s-i/2,c=r[0][1],f=r[1][1],h=c-a+i/2,d=f-a+i/2,p=c-o,v=f-s,g=p+i,m=v+i;Pn(t,e,"main",o,s,p,v),n.transformable&&(Pn(t,e,"w",u,l,a,m),Pn(t,e,"e",h,l,a,m),Pn(t,e,"n",u,l,g,a),Pn(t,e,"s",u,d,g,a),Pn(t,e,"nw",u,l,a,a),Pn(t,e,"ne",h,l,a,a),Pn(t,e,"sw",u,d,a,a),Pn(t,e,"se",h,d,a,a))}function l4(t,e){var r=e.__brushOption,n=r.transformable,i=e.childAt(0);i.useStyle(k7(r)),i.attr({silent:!n,cursor:n?"move":"default"}),E([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(a){var o=e.childOfName(a.join("")),s=a.length===1?c4(t,a[0]):ZQ(t,a);o&&o.attr({silent:!n,invisible:!n,cursor:n?GQ[s]+"-resize":null})})}function Pn(t,e,r,n,i,a,o){var s=e.childOfName(r);s&&s.setShape(XQ(M7(t,e,[[n,i],[n+a,i+o]])))}function k7(t){return ae({strokeNoScale:!0},t.brushStyle)}function OT(t,e,r,n){var i=[Ll(t,r),Ll(e,n)],a=[Cs(t,r),Cs(e,n)];return[[i[0],a[0]],[i[1],a[1]]]}function qQ(t){return Xa(t.group)}function c4(t,e){var r={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},i=w2(r[e],qQ(t));return n[i]}function ZQ(t,e){var r=[c4(t,e[0]),c4(t,e[1])];return(r[0]==="e"||r[0]==="w")&&r.reverse(),r.join("")}function q9(t,e,r,n,i,a){var o=r.__brushOption,s=t.toRectRange(o.range),u=BT(e,i,a);E(n,function(l){var c=$Q[l];s[c[0]][c[1]]+=u[c[0]]}),o.range=t.fromRectRange(OT(s[0][0],s[1][0],s[0][1],s[1][1])),T7(e,r),uo(e,{isEnd:!1})}function YQ(t,e,r,n){var i=e.__brushOption.range,a=BT(t,r,n);E(i,function(o){o[0]+=a[0],o[1]+=a[1]}),T7(t,e),uo(t,{isEnd:!1})}function BT(t,e,r){var n=t.group,i=n.transformCoordToLocal(e,r),a=n.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function M7(t,e,r){var n=IT(t,e);return n&&n!==so?n.clipPath(r,t._transform):oe(r)}function XQ(t){var e=Ll(t[0][0],t[1][0]),r=Ll(t[0][1],t[1][1]),n=Cs(t[0][0],t[1][0]),i=Cs(t[0][1],t[1][1]);return{x:e,y:r,width:n-e,height:i-r}}function jQ(t,e,r){if(!(!t._brushType||QQ(t,e.offsetX,e.offsetY))){var n=t._zr,i=t._covers,a=E7(t,e,r);if(!t._dragging)for(var o=0;o<i.length;o++){var s=i[o].__brushOption;if(a&&(a===so||s.panelId===a.panelId)&&U2[s.brushType].contain(i[o],r[0],r[1]))return}a&&n.setCursorStyle("crosshair")}}function f4(t){var e=t.event;e.preventDefault&&e.preventDefault()}function h4(t,e,r){return t.childOfName("main").contain(e,r)}function FT(t,e,r,n){var i=t._creatingCover,a=t._creatingPanel,o=t._brushOption,s;if(t._track.push(r.slice()),WQ(t)||i){if(a&&!i){o.brushMode==="single"&&u4(t);var u=oe(o);u.brushType=Z9(u.brushType,a),u.panelId=a===so?null:a.panelId,i=t._creatingCover=ET(t,u),t._covers.push(i)}if(i){var l=U2[Z9(t._brushType,a)],c=i.__brushOption;c.range=l.getCreatingRange(M7(t,i,t._track)),n&&(kT(t,i),l.updateCommon(t,i)),MT(t,i),s={isEnd:n}}}else n&&o.brushMode==="single"&&o.removeOnClick&&E7(t,e,r)&&u4(t)&&(s={isEnd:n,removeOnClick:!0});return s}function Z9(t,e){return t==="auto"?(process.env.NODE_ENV!=="production"&&ie(e&&e.defaultBrushType,'MUST have defaultBrushType when brushType is "atuo"'),e.defaultBrushType):t}var KQ={mousedown:function(t){if(this._dragging)Y9(this,t);else if(!t.target||!t.target.draggable){f4(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null;var r=this._creatingPanel=E7(this,t,e);r&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,r=t.offsetY,n=this.group.transformCoordToLocal(e,r);if(jQ(this,t,n),this._dragging){f4(t);var i=FT(this,t,n,!1);i&&uo(this,i)}},mouseup:function(t){Y9(this,t)}};function Y9(t,e){if(t._dragging){f4(e);var r=e.offsetX,n=e.offsetY,i=t.group.transformCoordToLocal(r,n),a=FT(t,e,i,!0);t._dragging=!1,t._track=[],t._creatingCover=null,a&&uo(t,a)}}function QQ(t,e,r){var n=t._zr;return e<0||e>n.getWidth()||r<0||r>n.getHeight()}var U2={lineX:X9(0),lineY:X9(1),rect:{createCover:function(t,e){function r(n){return n}return RT({toRectRange:r,fromRectRange:r},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=PT(t);return OT(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,r,n){NT(t,e,r,n)},updateCommon:l4,contain:h4},polygon:{createCover:function(t,e){var r=new le;return r.add(new ar({name:"main",style:k7(e),silent:!0})),r},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new nr({name:"main",draggable:!0,drift:ve(YQ,t,e),ondragend:ve(uo,t,{isEnd:!0})}))},updateCoverShape:function(t,e,r,n){e.childAt(0).setShape({points:M7(t,e,r)})},updateCommon:l4,contain:h4}};function X9(t){return{createCover:function(e,r){return RT({toRectRange:function(n){var i=[n,[0,100]];return t&&i.reverse(),i},fromRectRange:function(n){return n[t]}},e,r,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var r=PT(e),n=Ll(r[0][t],r[1][t]),i=Cs(r[0][t],r[1][t]);return[n,i]},updateCoverShape:function(e,r,n,i){var a,o=IT(e,r);if(o!==so&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(t);else{var s=e._zr;a=[0,[s.getWidth(),s.getHeight()][1-t]]}var u=[n,a];t&&u.reverse(),NT(e,r,u,i)},updateCommon:l4,contain:h4}}const L7=UQ;function zT(t){return t=I7(t),function(e){return Gw(e,t)}}function VT(t,e){return t=I7(t),function(r){var n=e??r,i=n?t.width:t.height,a=n?t.x:t.y;return[a,a+(i||0)]}}function $T(t,e,r){var n=I7(t);return function(i,a){return n.contain(a[0],a[1])&&!V2(i,e,r)}}function I7(t){return ye.create(t)}var JQ=["axisLine","axisTickLabel","axisName"],eJ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r,n){t.prototype.init.apply(this,arguments),(this._brushController=new L7(n.getZr())).on("brush",X(this._onBrush,this))},e.prototype.render=function(r,n,i,a){if(!tJ(r,n,a)){this.axisModel=r,this.api=i,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new le,this.group.add(this._axisGroup),!!r.get("show")){var s=nJ(r,n),u=s.coordinateSystem,l=r.getAreaSelectStyle(),c=l.width,f=r.axis.dim,h=u.getAxisLayout(f),d=$({strokeContainThreshold:c},h),p=new jn(r,d);E(JQ,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(d,l,r,s,c,i),Hl(o,this._axisGroup,r)}}},e.prototype._refreshBrushController=function(r,n,i,a,o,s){var u=i.axis.getExtent(),l=u[1]-u[0],c=Math.min(30,Math.abs(l)*.1),f=ye.create({x:u[0],y:-o/2,width:l,height:o});f.x-=c,f.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:r.rotation,x:r.position[0],y:r.position[1]}).setPanels([{panelId:"pl",clipPath:zT(f),isTargetByCursor:$T(f,s,a),getLinearBrushOtherExtent:VT(f,0)}]).enableBrush({brushType:"lineX",brushStyle:n,removeOnClick:!0}).updateCovers(rJ(i))},e.prototype._onBrush=function(r){var n=r.areas,i=this.axisModel,a=i.axis,o=H(n,function(s){return[a.coordToData(s.range[0],!0),a.coordToData(s.range[1],!0)]});(!i.option.realtime===r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:i.id,intervals:o})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(et);function tJ(t,e,r){return r&&r.type==="axisAreaSelect"&&e.findComponents({mainType:"parallelAxis",query:r})[0]===t}function rJ(t){var e=t.axis;return H(t.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(r[0],!0),e.dataToCoord(r[1],!0)]}})}function nJ(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}const iJ=eJ;var aJ={type:"axisAreaSelect",event:"axisAreaSelected"};function oJ(t){t.registerAction(aJ,function(e,r){r.eachComponent({mainType:"parallelAxis",query:e},function(n){n.axis.model.setActiveIntervals(e.intervals)})}),t.registerAction("parallelAxisExpand",function(e,r){r.eachComponent({mainType:"parallel",query:e},function(n){n.setAxisExpand(e)})})}var sJ={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function GT(t){t.registerComponentView(SQ),t.registerComponentModel(AQ),t.registerCoordinateSystem("parallel",OQ),t.registerPreprocessor(mQ),t.registerComponentModel(H9),t.registerComponentView(iJ),Ss(t,"parallel",H9,sJ),oJ(t)}function uJ(t){be(GT),t.registerChartView(lQ),t.registerSeriesModel(dQ),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,gQ)}var lJ=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),cJ=function(t){F(e,t);function e(r){return t.call(this,r)||this}return e.prototype.getDefaultShape=function(){return new lJ},e.prototype.buildPath=function(r,n){var i=n.extent;r.moveTo(n.x1,n.y1),r.bezierCurveTo(n.cpx1,n.cpy1,n.cpx2,n.cpy2,n.x2,n.y2),n.orient==="vertical"?(r.lineTo(n.x2+i,n.y2),r.bezierCurveTo(n.cpx2+i,n.cpy2,n.cpx1+i,n.cpy1,n.x1+i,n.y1)):(r.lineTo(n.x2,n.y2+i),r.bezierCurveTo(n.cpx2,n.cpy2+i,n.cpx1,n.cpy1+i,n.x1,n.y1+i)),r.closePath()},e.prototype.highlight=function(){Zn(this)},e.prototype.downplay=function(){Yn(this)},e}(we),fJ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._focusAdjacencyDisabled=!1,r}return e.prototype.render=function(r,n,i){var a=this,o=r.getGraph(),s=this.group,u=r.layoutInfo,l=u.width,c=u.height,f=r.getData(),h=r.getData("edge"),d=r.get("orient");this._model=r,s.removeAll(),s.x=u.x,s.y=u.y,o.eachEdge(function(p){var v=new cJ,g=ce(v);g.dataIndex=p.dataIndex,g.seriesIndex=r.seriesIndex,g.dataType="edge";var m=p.getModel(),y=m.getModel("lineStyle"),_=y.get("curveness"),b=p.node1.getLayout(),x=p.node1.getModel(),w=x.get("localX"),S=x.get("localY"),C=p.node2.getLayout(),A=p.node2.getModel(),T=A.get("localX"),D=A.get("localY"),k=p.getLayout(),M,I,N,L,O,P,R,B;v.shape.extent=Math.max(1,k.dy),v.shape.orient=d,d==="vertical"?(M=(w!=null?w*l:b.x)+k.sy,I=(S!=null?S*c:b.y)+b.dy,N=(T!=null?T*l:C.x)+k.ty,L=D!=null?D*c:C.y,O=M,P=I*(1-_)+L*_,R=N,B=I*_+L*(1-_)):(M=(w!=null?w*l:b.x)+b.dx,I=(S!=null?S*c:b.y)+k.sy,N=T!=null?T*l:C.x,L=(D!=null?D*c:C.y)+k.ty,O=M*(1-_)+N*_,P=I,R=M*_+N*(1-_),B=L),v.setShape({x1:M,y1:I,x2:N,y2:L,cpx1:O,cpy1:P,cpx2:R,cpy2:B}),v.useStyle(y.getItemStyle()),j9(v.style,d,p);var z=""+m.get("value"),V=gt(m,"edgeLabel");Mt(v,V,{labelFetcher:{getFormattedLabel:function(K,xe,Ve,ue,ee,he){return r.getFormattedLabel(K,xe,"edge",ue,Lr(ee,V.normal&&V.normal.get("formatter"),z),he)}},labelDataIndex:p.dataIndex,defaultText:z}),v.setTextConfig({position:"inside"});var U=m.getModel("emphasis");kt(v,m,"lineStyle",function(K){var xe=K.getItemStyle();return j9(xe,d,p),xe}),s.add(v),h.setItemGraphicEl(p.dataIndex,v);var q=U.get("focus");Je(v,q==="adjacency"?p.getAdjacentDataIndices():q==="trajectory"?p.getTrajectoryDataIndices():q,U.get("blurScope"),U.get("disabled"))}),o.eachNode(function(p){var v=p.getLayout(),g=p.getModel(),m=g.get("localX"),y=g.get("localY"),_=g.getModel("emphasis"),b=g.get(["itemStyle","borderRadius"])||0,x=new Ee({shape:{x:m!=null?m*l:v.x,y:y!=null?y*c:v.y,width:v.dx,height:v.dy,r:b},style:g.getModel("itemStyle").getItemStyle(),z2:10});Mt(x,gt(g),{labelFetcher:{getFormattedLabel:function(S,C){return r.getFormattedLabel(S,C,"node")}},labelDataIndex:p.dataIndex,defaultText:p.id}),x.disableLabelAnimation=!0,x.setStyle("fill",p.getVisual("color")),x.setStyle("decal",p.getVisual("style").decal),kt(x,g),s.add(x),f.setItemGraphicEl(p.dataIndex,x),ce(x).dataType="node";var w=_.get("focus");Je(x,w==="adjacency"?p.getAdjacentDataIndices():w==="trajectory"?p.getTrajectoryDataIndices():w,_.get("blurScope"),_.get("disabled"))}),f.eachItemGraphicEl(function(p,v){var g=f.getItemModel(v);g.get("draggable")&&(p.drift=function(m,y){a._focusAdjacencyDisabled=!0,this.shape.x+=m,this.shape.y+=y,this.dirty(),i.dispatchAction({type:"dragNode",seriesId:r.id,dataIndex:f.getRawIndex(v),localX:this.shape.x/l,localY:this.shape.y/c})},p.ondragend=function(){a._focusAdjacencyDisabled=!1},p.draggable=!0,p.cursor="move")}),!this._data&&r.isAnimationEnabled()&&s.setClipPath(hJ(s.getBoundingRect(),r,function(){s.removeClipPath()})),this._data=r.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(qe);function j9(t,e,r){switch(t.fill){case"source":t.fill=r.node1.getVisual("color"),t.decal=r.node1.getVisual("style").decal;break;case"target":t.fill=r.node2.getVisual("color"),t.decal=r.node2.getVisual("style").decal;break;case"gradient":var n=r.node1.getVisual("color"),i=r.node2.getVisual("color");Z(n)&&Z(i)&&(t.fill=new Gl(0,0,+(e==="horizontal"),+(e==="vertical"),[{color:n,offset:0},{color:i,offset:1}]))}}function hJ(t,e,r){var n=new Ee({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Ye(n,{shape:{width:t.width+20}},e,r),n}const dJ=fJ;var pJ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.getInitialData=function(r,n){var i=r.edges||r.links||[],a=r.data||r.nodes||[],o=r.levels||[];this.levelModels=[];for(var s=this.levelModels,u=0;u<o.length;u++)if(o[u].depth!=null&&o[u].depth>=0)s[o[u].depth]=new We(o[u],this,n);else if(process.env.NODE_ENV!=="production")throw new Error("levels[i].depth is mandatory and should be natural number");var l=ST(a,i,this,!0,c);return l.data;function c(f,h){f.wrapMethod("getItemModel",function(d,p){var v=d.parentModel,g=v.getData().getItemLayout(p);if(g){var m=g.depth,y=v.levelModels[m];y&&(d.parentModel=y)}return d}),h.wrapMethod("getItemModel",function(d,p){var v=d.parentModel,g=v.getGraph().getEdgeByIndex(p),m=g.node1.getLayout();if(m){var y=m.depth,_=v.levelModels[y];_&&(d.parentModel=_)}return d})}},e.prototype.setNodePosition=function(r,n){var i=this.option.data||this.option.nodes,a=i[r];a.localX=n[0],a.localY=n[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(r,n,i){function a(d){return isNaN(d)||d==null}if(i==="edge"){var o=this.getDataParams(r,i),s=o.data,u=o.value,l=s.source+" -- "+s.target;return mt("nameValue",{name:l,value:u,noValue:a(u)})}else{var c=this.getGraph().getNodeByIndex(r),f=c.getLayout().value,h=this.getDataParams(r,i).data.name;return mt("nameValue",{name:h!=null?h+"":null,value:f,noValue:a(f)})}},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(r,n){var i=t.prototype.getDataParams.call(this,r,n);if(i.value==null&&n==="node"){var a=this.getGraph().getNodeByIndex(r),o=a.getLayout().value;i.value=o}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(je);const vJ=pJ;function gJ(t,e){t.eachSeriesByType("sankey",function(r){var n=r.get("nodeWidth"),i=r.get("nodeGap"),a=mJ(r,e);r.layoutInfo=a;var o=a.width,s=a.height,u=r.getGraph(),l=u.nodes,c=u.edges;_J(l);var f=Ne(l,function(v){return v.getLayout().value===0}),h=f.length!==0?0:r.get("layoutIterations"),d=r.get("orient"),p=r.get("nodeAlign");yJ(l,c,n,i,o,s,h,d,p)})}function mJ(t,e){return dt(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function yJ(t,e,r,n,i,a,o,s,u){bJ(t,e,r,i,a,s,u),CJ(t,e,a,i,n,o,s),PJ(t,s)}function _J(t){E(t,function(e){var r=Ri(e.outEdges,Rc),n=Ri(e.inEdges,Rc),i=e.getValue()||0,a=Math.max(r,n,i);e.setLayout({value:a},!0)})}function bJ(t,e,r,n,i,a,o){for(var s=[],u=[],l=[],c=[],f=0,h=0;h<e.length;h++)s[h]=1;for(var h=0;h<t.length;h++)u[h]=t[h].inEdges.length,u[h]===0&&l.push(t[h]);for(var d=-1;l.length;){for(var p=0;p<l.length;p++){var v=l[p],g=v.hostGraph.data.getRawDataItem(v.dataIndex),m=g.depth!=null&&g.depth>=0;m&&g.depth>d&&(d=g.depth),v.setLayout({depth:m?g.depth:f},!0),a==="vertical"?v.setLayout({dy:r},!0):v.setLayout({dx:r},!0);for(var y=0;y<v.outEdges.length;y++){var _=v.outEdges[y],b=e.indexOf(_);s[b]=0;var x=_.node2,w=t.indexOf(x);--u[w]===0&&c.indexOf(x)<0&&c.push(x)}}++f,l=c,c=[]}for(var h=0;h<s.length;h++)if(s[h]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var S=d>f-1?d:f-1;o&&o!=="left"&&xJ(t,o,a,S);var C=a==="vertical"?(i-r)/S:(n-r)/S;SJ(t,C,a)}function HT(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return e.depth!=null&&e.depth>=0}function xJ(t,e,r,n){if(e==="right"){for(var i=[],a=t,o=0;a.length;){for(var s=0;s<a.length;s++){var u=a[s];u.setLayout({skNodeHeight:o},!0);for(var l=0;l<u.inEdges.length;l++){var c=u.inEdges[l];i.indexOf(c.node1)<0&&i.push(c.node1)}}a=i,i=[],++o}E(t,function(f){HT(f)||f.setLayout({depth:Math.max(0,n-f.getLayout().skNodeHeight)},!0)})}else e==="justify"&&wJ(t,n)}function wJ(t,e){E(t,function(r){!HT(r)&&!r.outEdges.length&&r.setLayout({depth:e},!0)})}function SJ(t,e,r){E(t,function(n){var i=n.getLayout().depth*e;r==="vertical"?n.setLayout({y:i},!0):n.setLayout({x:i},!0)})}function CJ(t,e,r,n,i,a,o){var s=AJ(t,o);TJ(s,e,r,n,i,o),rh(s,i,r,n,o);for(var u=1;a>0;a--)u*=.99,DJ(s,u,o),rh(s,i,r,n,o),IJ(s,u,o),rh(s,i,r,n,o)}function AJ(t,e){var r=[],n=e==="vertical"?"y":"x",i=pd(t,function(a){return a.getLayout()[n]});return i.keys.sort(function(a,o){return a-o}),E(i.keys,function(a){r.push(i.buckets.get(a))}),r}function TJ(t,e,r,n,i,a){var o=1/0;E(t,function(s){var u=s.length,l=0;E(s,function(f){l+=f.getLayout().value});var c=a==="vertical"?(n-(u-1)*i)/l:(r-(u-1)*i)/l;c<o&&(o=c)}),E(t,function(s){E(s,function(u,l){var c=u.getLayout().value*o;a==="vertical"?(u.setLayout({x:l},!0),u.setLayout({dx:c},!0)):(u.setLayout({y:l},!0),u.setLayout({dy:c},!0))})}),E(e,function(s){var u=+s.getValue()*o;s.setLayout({dy:u},!0)})}function rh(t,e,r,n,i){var a=i==="vertical"?"x":"y";E(t,function(o){o.sort(function(v,g){return v.getLayout()[a]-g.getLayout()[a]});for(var s,u,l,c=0,f=o.length,h=i==="vertical"?"dx":"dy",d=0;d<f;d++)u=o[d],l=c-u.getLayout()[a],l>0&&(s=u.getLayout()[a]+l,i==="vertical"?u.setLayout({x:s},!0):u.setLayout({y:s},!0)),c=u.getLayout()[a]+u.getLayout()[h]+e;var p=i==="vertical"?n:r;if(l=c-e-p,l>0){s=u.getLayout()[a]-l,i==="vertical"?u.setLayout({x:s},!0):u.setLayout({y:s},!0),c=s;for(var d=f-2;d>=0;--d)u=o[d],l=u.getLayout()[a]+u.getLayout()[h]+e-c,l>0&&(s=u.getLayout()[a]-l,i==="vertical"?u.setLayout({x:s},!0):u.setLayout({y:s},!0)),c=u.getLayout()[a]}})}function DJ(t,e,r){E(t.slice().reverse(),function(n){E(n,function(i){if(i.outEdges.length){var a=Ri(i.outEdges,EJ,r)/Ri(i.outEdges,Rc);if(isNaN(a)){var o=i.outEdges.length;a=o?Ri(i.outEdges,kJ,r)/o:0}if(r==="vertical"){var s=i.getLayout().x+(a-Wi(i,r))*e;i.setLayout({x:s},!0)}else{var u=i.getLayout().y+(a-Wi(i,r))*e;i.setLayout({y:u},!0)}}})})}function EJ(t,e){return Wi(t.node2,e)*t.getValue()}function kJ(t,e){return Wi(t.node2,e)}function MJ(t,e){return Wi(t.node1,e)*t.getValue()}function LJ(t,e){return Wi(t.node1,e)}function Wi(t,e){return e==="vertical"?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function Rc(t){return t.getValue()}function Ri(t,e,r){for(var n=0,i=t.length,a=-1;++a<i;){var o=+e(t[a],r);isNaN(o)||(n+=o)}return n}function IJ(t,e,r){E(t,function(n){E(n,function(i){if(i.inEdges.length){var a=Ri(i.inEdges,MJ,r)/Ri(i.inEdges,Rc);if(isNaN(a)){var o=i.inEdges.length;a=o?Ri(i.inEdges,LJ,r)/o:0}if(r==="vertical"){var s=i.getLayout().x+(a-Wi(i,r))*e;i.setLayout({x:s},!0)}else{var u=i.getLayout().y+(a-Wi(i,r))*e;i.setLayout({y:u},!0)}}})})}function PJ(t,e){var r=e==="vertical"?"x":"y";E(t,function(n){n.outEdges.sort(function(i,a){return i.node2.getLayout()[r]-a.node2.getLayout()[r]}),n.inEdges.sort(function(i,a){return i.node1.getLayout()[r]-a.node1.getLayout()[r]})}),E(t,function(n){var i=0,a=0;E(n.outEdges,function(o){o.setLayout({sy:i},!0),i+=o.getLayout().dy}),E(n.inEdges,function(o){o.setLayout({ty:a},!0),a+=o.getLayout().dy})})}function RJ(t){t.eachSeriesByType("sankey",function(e){var r=e.getGraph(),n=r.nodes,i=r.edges;if(n.length){var a=1/0,o=-1/0;E(n,function(s){var u=s.getLayout().value;u<a&&(a=u),u>o&&(o=u)}),E(n,function(s){var u=new Dt({type:"color",mappingMethod:"linear",dataExtent:[a,o],visual:e.get("color")}),l=u.mapValueToVisual(s.getLayout().value),c=s.getModel().get(["itemStyle","color"]);c!=null?(s.setVisual("color",c),s.setVisual("style",{fill:c})):(s.setVisual("color",l),s.setVisual("style",{fill:l}))})}i.length&&E(i,function(s){var u=s.getModel().get("lineStyle");s.setVisual("style",u)})})}function NJ(t){t.registerChartView(dJ),t.registerSeriesModel(vJ),t.registerLayout(gJ),t.registerVisual(RJ),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(e,r){r.eachComponent({mainType:"series",subType:"sankey",query:e},function(n){n.setNodePosition(e.dataIndex,[e.localX,e.localY])})})}var UT=function(){function t(){}return t.prototype._hasEncodeRule=function(e){var r=this.getEncode();return r&&r.get(e)!=null},t.prototype.getInitialData=function(e,r){var n,i=r.getComponent("xAxis",this.get("xAxisIndex")),a=r.getComponent("yAxis",this.get("yAxisIndex")),o=i.get("type"),s=a.get("type"),u;o==="category"?(e.layout="horizontal",n=i.getOrdinalMeta(),u=!this._hasEncodeRule("x")):s==="category"?(e.layout="vertical",n=a.getOrdinalMeta(),u=!this._hasEncodeRule("y")):e.layout=e.layout||"horizontal";var l=["x","y"],c=e.layout==="horizontal"?0:1,f=this._baseAxisDim=l[c],h=l[1-c],d=[i,a],p=d[c].get("type"),v=d[1-c].get("type"),g=e.data;if(g&&u){var m=[];E(g,function(b,x){var w;G(b)?(w=b.slice(),b.unshift(x)):G(b.value)?(w=$({},b),w.value=w.value.slice(),b.value.unshift(x)):w=b,m.push(w)}),e.data=m}var y=this.defaultValueDimensions,_=[{name:f,type:wc(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:wc(v),dimsDef:y.slice()}];return Ws(this,{coordDimensions:_,dimensionsCount:y.length+1,encodeDefaulter:ve(dS,_,this)})},t.prototype.getBaseAxis=function(){var e=this._baseAxisDim;return this.ecModel.getComponent(e+"Axis",this.get(e+"AxisIndex")).axis},t}(),WT=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],r.visualDrawType="stroke",r}return e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(je);ft(WT,UT,!0);const OJ=WT;var BJ=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=r.getData(),o=this.group,s=this._data;this._data||o.removeAll();var u=r.get("layout")==="horizontal"?1:0;a.diff(s).add(function(l){if(a.hasValue(l)){var c=a.getItemLayout(l),f=K9(c,a,l,u,!0);a.setItemGraphicEl(l,f),o.add(f)}}).update(function(l,c){var f=s.getItemGraphicEl(c);if(!a.hasValue(l)){o.remove(f);return}var h=a.getItemLayout(l);f?(Qr(f),qT(h,f,a,l)):f=K9(h,a,l,u),o.add(f),a.setItemGraphicEl(l,f)}).remove(function(l){var c=s.getItemGraphicEl(l);c&&o.remove(c)}).execute(),this._data=a},e.prototype.remove=function(r){var n=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(a){a&&n.remove(a)})},e.type="boxplot",e}(qe),FJ=function(){function t(){}return t}(),zJ=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="boxplotBoxPath",n}return e.prototype.getDefaultShape=function(){return new FJ},e.prototype.buildPath=function(r,n){var i=n.points,a=0;for(r.moveTo(i[a][0],i[a][1]),a++;a<4;a++)r.lineTo(i[a][0],i[a][1]);for(r.closePath();a<i.length;a++)r.moveTo(i[a][0],i[a][1]),a++,r.lineTo(i[a][0],i[a][1])},e}(we);function K9(t,e,r,n,i){var a=t.ends,o=new zJ({shape:{points:i?VJ(a,n,t):a}});return qT(t,o,e,r,i),o}function qT(t,e,r,n,i){var a=r.hostModel,o=vo[i?"initProps":"updateProps"];o(e,{shape:{points:t.ends}},a,n),e.useStyle(r.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.z2=100;var s=r.getItemModel(n),u=s.getModel("emphasis");kt(e,s),Je(e,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function VJ(t,e,r){return H(t,function(n){return n=n.slice(),n[e]=r.initBaseline,n})}const $J=BJ;var tl=E;function GJ(t){var e=HJ(t);tl(e,function(r){var n=r.seriesModels;n.length&&(UJ(r),tl(n,function(i,a){WJ(i,r.boxOffsetList[a],r.boxWidthList[a])}))})}function HJ(t){var e=[],r=[];return t.eachSeriesByType("boxplot",function(n){var i=n.getBaseAxis(),a=_e(r,i);a<0&&(a=r.length,r[a]=i,e[a]={axis:i,seriesModels:[]}),e[a].seriesModels.push(n)}),e}function UJ(t){var e=t.axis,r=t.seriesModels,n=r.length,i=t.boxWidthList=[],a=t.boxOffsetList=[],o=[],s;if(e.type==="category")s=e.getBandWidth();else{var u=0;tl(r,function(p){u=Math.max(u,p.getData().count())});var l=e.getExtent();s=Math.abs(l[1]-l[0])/u}tl(r,function(p){var v=p.get("boxWidth");G(v)||(v=[v,v]),o.push([W(v[0],s)||0,W(v[1],s)||0])});var c=s*.8-2,f=c/n*.3,h=(c-f*(n-1))/n,d=h/2-c/2;tl(r,function(p,v){a.push(d),d+=f+h,i.push(Math.min(Math.max(h,o[v][0]),o[v][1]))})}function WJ(t,e,r){var n=t.coordinateSystem,i=t.getData(),a=r/2,o=t.get("layout")==="horizontal"?0:1,s=1-o,u=["x","y"],l=i.mapDimension(u[o]),c=i.mapDimensionsAll(u[s]);if(l==null||c.length<5)return;for(var f=0;f<i.count();f++){var h=i.get(l,f),d=_(h,c[2],f),p=_(h,c[0],f),v=_(h,c[1],f),g=_(h,c[3],f),m=_(h,c[4],f),y=[];b(y,v,!1),b(y,g,!0),y.push(p,v,m,g),x(y,p),x(y,m),x(y,d),i.setItemLayout(f,{initBaseline:d[s],ends:y})}function _(w,S,C){var A=i.get(S,C),T=[];T[o]=w,T[s]=A;var D;return isNaN(w)||isNaN(A)?D=[NaN,NaN]:(D=n.dataToPoint(T),D[o]+=e),D}function b(w,S,C){var A=S.slice(),T=S.slice();A[o]+=a,T[o]-=a,C?w.push(A,T):w.push(T,A)}function x(w,S){var C=S.slice(),A=S.slice();C[o]-=a,A[o]+=a,w.push(C,A)}}function qJ(t,e){e=e||{};for(var r=[],n=[],i=e.boundIQR,a=i==="none"||i===0,o=0;o<t.length;o++){var s=Mr(t[o].slice()),u=kf(s,.25),l=kf(s,.5),c=kf(s,.75),f=s[0],h=s[s.length-1],d=(i??1.5)*(c-u),p=a?f:Math.max(f,u-d),v=a?h:Math.min(h,c+d),g=e.itemNameFormatter,m=te(g)?g({value:o}):Z(g)?g.replace("{value}",o+""):o+"";r.push([m,p,u,l,c,v]);for(var y=0;y<s.length;y++){var _=s[y];if(_<p||_>v){var b=[m,_];n.push(b)}}}return{boxData:r,outliers:n}}var ZJ={type:"echarts:boxplot",transform:function(e){var r=e.upstream;if(r.sourceFormat!==Vt){var n="";process.env.NODE_ENV!=="production"&&(n=Yt("source data is not applicable for this boxplot transform. Expect number[][].")),Re(n)}var i=qJ(r.getRawData(),e.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function YJ(t){t.registerSeriesModel(OJ),t.registerChartView($J),t.registerLayout(GJ),t.registerTransform(ZJ)}var XJ=["itemStyle","borderColor"],jJ=["itemStyle","borderColor0"],KJ=["itemStyle","borderColorDoji"],QJ=["itemStyle","color"],JJ=["itemStyle","color0"];function P7(t,e){return e.get(t>0?QJ:JJ)}function R7(t,e){return e.get(t===0?KJ:t>0?XJ:jJ)}var eee={seriesType:"candlestick",plan:$s(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t)){var r=t.pipelineContext.large;return!r&&{progress:function(n,i){for(var a;(a=n.next())!=null;){var o=i.getItemModel(a),s=i.getItemLayout(a).sign,u=o.getItemStyle();u.fill=P7(s,o),u.stroke=R7(s,o)||u.fill;var l=i.ensureUniqueItemVisual(a,"style");$(l,u)}}}}}};const tee=eee;var ree=["color","borderColor"],nee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(r),this._isLargeDraw?this._renderLarge(r):this._renderNormal(r)},e.prototype.incrementalPrepareRender=function(r,n,i){this._clear(),this._updateDrawMode(r)},e.prototype.incrementalRender=function(r,n,i,a){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(r,n):this._incrementalRenderNormal(r,n)},e.prototype.eachRendered=function(r){Xi(this._progressiveEls||this.group,r)},e.prototype._updateDrawMode=function(r){var n=r.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},e.prototype._renderNormal=function(r){var n=r.getData(),i=this._data,a=this.group,o=n.getLayout("isSimpleBox"),s=r.get("clip",!0),u=r.coordinateSystem,l=u.getArea&&u.getArea();this._data||a.removeAll(),n.diff(i).add(function(c){if(n.hasValue(c)){var f=n.getItemLayout(c);if(s&&Q9(l,f))return;var h=nh(f,c,!0);Ye(h,{shape:{points:f.ends}},r,c),ih(h,n,c,o),a.add(h),n.setItemGraphicEl(c,h)}}).update(function(c,f){var h=i.getItemGraphicEl(f);if(!n.hasValue(c)){a.remove(h);return}var d=n.getItemLayout(c);if(s&&Q9(l,d)){a.remove(h);return}h?(Ie(h,{shape:{points:d.ends}},r,c),Qr(h)):h=nh(d),ih(h,n,c,o),a.add(h),n.setItemGraphicEl(c,h)}).remove(function(c){var f=i.getItemGraphicEl(c);f&&a.remove(f)}).execute(),this._data=n},e.prototype._renderLarge=function(r){this._clear(),J9(r,this.group);var n=r.get("clip",!0)?jl(r.coordinateSystem,!1,r):null;n?this.group.setClipPath(n):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(r,n){for(var i=n.getData(),a=i.getLayout("isSimpleBox"),o;(o=r.next())!=null;){var s=i.getItemLayout(o),u=nh(s);ih(u,i,o,a),u.incremental=!0,this.group.add(u),this._progressiveEls.push(u)}},e.prototype._incrementalRenderLarge=function(r,n){J9(n,this.group,this._progressiveEls,!0)},e.prototype.remove=function(r){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(qe),iee=function(){function t(){}return t}(),aee=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="normalCandlestickBox",n}return e.prototype.getDefaultShape=function(){return new iee},e.prototype.buildPath=function(r,n){var i=n.points;this.__simpleBox?(r.moveTo(i[4][0],i[4][1]),r.lineTo(i[6][0],i[6][1])):(r.moveTo(i[0][0],i[0][1]),r.lineTo(i[1][0],i[1][1]),r.lineTo(i[2][0],i[2][1]),r.lineTo(i[3][0],i[3][1]),r.closePath(),r.moveTo(i[4][0],i[4][1]),r.lineTo(i[5][0],i[5][1]),r.moveTo(i[6][0],i[6][1]),r.lineTo(i[7][0],i[7][1]))},e}(we);function nh(t,e,r){var n=t.ends;return new aee({shape:{points:r?oee(n,t):n},z2:100})}function Q9(t,e){for(var r=!0,n=0;n<e.ends.length;n++)if(t.contain(e.ends[n][0],e.ends[n][1])){r=!1;break}return r}function ih(t,e,r,n){var i=e.getItemModel(r);t.useStyle(e.getItemVisual(r,"style")),t.style.strokeNoScale=!0,t.__simpleBox=n,kt(t,i);var a=e.getItemLayout(r).sign;E(t.states,function(s,u){var l=i.getModel(u),c=P7(a,l),f=R7(a,l)||c,h=s.style||(s.style={});c&&(h.fill=c),f&&(h.stroke=f)});var o=i.getModel("emphasis");Je(t,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function oee(t,e){return H(t,function(r){return r=r.slice(),r[1]=e.initBaseline,r})}var see=function(){function t(){}return t}(),ah=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n.type="largeCandlestickBox",n}return e.prototype.getDefaultShape=function(){return new see},e.prototype.buildPath=function(r,n){for(var i=n.points,a=0;a<i.length;)if(this.__sign===i[a++]){var o=i[a++];r.moveTo(o,i[a++]),r.lineTo(o,i[a++])}else a+=3},e}(we);function J9(t,e,r,n){var i=t.getData(),a=i.getLayout("largePoints"),o=new ah({shape:{points:a},__sign:1,ignoreCoarsePointer:!0});e.add(o);var s=new ah({shape:{points:a},__sign:-1,ignoreCoarsePointer:!0});e.add(s);var u=new ah({shape:{points:a},__sign:0,ignoreCoarsePointer:!0});e.add(u),oh(1,o,t),oh(-1,s,t),oh(0,u,t),n&&(o.incremental=!0,s.incremental=!0),r&&r.push(o,s)}function oh(t,e,r,n){var i=R7(t,r)||P7(t,r),a=r.getModel("itemStyle").getItemStyle(ree);e.useStyle(a),e.style.fill=null,e.style.stroke=i}const uee=nee;var ZT=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],r}return e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(r,n,i){var a=n.getItemLayout(r);return a&&i.rect(a.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(je);ft(ZT,UT,!0);const lee=ZT;function cee(t){!t||!G(t.series)||E(t.series,function(e){ne(e)&&e.type==="k"&&(e.type="candlestick")})}var fee={seriesType:"candlestick",plan:$s(),reset:function(t){var e=t.coordinateSystem,r=t.getData(),n=hee(t,r),i=0,a=1,o=["x","y"],s=r.getDimensionIndex(r.mapDimension(o[i])),u=H(r.mapDimensionsAll(o[a]),r.getDimensionIndex,r),l=u[0],c=u[1],f=u[2],h=u[3];if(r.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),s<0||u.length<4)return;return{progress:t.pipelineContext.large?p:d};function d(v,g){for(var m,y=g.getStore();(m=v.next())!=null;){var _=y.get(s,m),b=y.get(l,m),x=y.get(c,m),w=y.get(f,m),S=y.get(h,m),C=Math.min(b,x),A=Math.max(b,x),T=O(C,_),D=O(A,_),k=O(w,_),M=O(S,_),I=[];P(I,D,0),P(I,T,1),I.push(B(M),B(D),B(k),B(T));var N=g.getItemModel(m),L=!!N.get(["itemStyle","borderColorDoji"]);g.setItemLayout(m,{sign:em(y,m,b,x,c,L),initBaseline:b>x?D[a]:T[a],ends:I,brushRect:R(w,S,_)})}function O(z,V){var U=[];return U[i]=V,U[a]=z,isNaN(V)||isNaN(z)?[NaN,NaN]:e.dataToPoint(U)}function P(z,V,U){var q=V.slice(),K=V.slice();q[i]=I0(q[i]+n/2,1,!1),K[i]=I0(K[i]-n/2,1,!0),U?z.push(q,K):z.push(K,q)}function R(z,V,U){var q=O(z,U),K=O(V,U);return q[i]-=n/2,K[i]-=n/2,{x:q[0],y:q[1],width:n,height:K[1]-q[1]}}function B(z){return z[i]=I0(z[i],1),z}}function p(v,g){for(var m=gn(v.count*4),y=0,_,b=[],x=[],w,S=g.getStore(),C=!!t.get(["itemStyle","borderColorDoji"]);(w=v.next())!=null;){var A=S.get(s,w),T=S.get(l,w),D=S.get(c,w),k=S.get(f,w),M=S.get(h,w);if(isNaN(A)||isNaN(k)||isNaN(M)){m[y++]=NaN,y+=3;continue}m[y++]=em(S,w,T,D,c,C),b[i]=A,b[a]=k,_=e.dataToPoint(b,null,x),m[y++]=_?_[0]:NaN,m[y++]=_?_[1]:NaN,b[a]=M,_=e.dataToPoint(b,null,x),m[y++]=_?_[1]:NaN}g.setLayout("largePoints",m)}}};function em(t,e,r,n,i,a){var o;return r>n?o=-1:r<n?o=1:o=a?0:e>0?t.get(i,e-1)<=n?1:-1:1,o}function hee(t,e){var r=t.getBaseAxis(),n,i=r.type==="category"?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/e.count()),a=W(fe(t.get("barMaxWidth"),i),i),o=W(fe(t.get("barMinWidth"),1),i),s=t.get("barWidth");return s!=null?W(s,i):Math.max(Math.min(i/2,a),o)}const dee=fee;function pee(t){t.registerChartView(uee),t.registerSeriesModel(lee),t.registerPreprocessor(cee),t.registerVisual(tee),t.registerLayout(dee)}function tm(t,e){var r=e.rippleEffectColor||e.color;t.eachChild(function(n){n.attr({z:e.z,zlevel:e.zlevel,style:{stroke:e.brushType==="stroke"?r:null,fill:e.brushType==="fill"?r:null}})})}var vee=function(t){F(e,t);function e(r,n){var i=t.call(this)||this,a=new Yl(r,n),o=new le;return i.add(a),i.add(o),i.updateData(r,n),i}return e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(r){for(var n=r.symbolType,i=r.color,a=r.rippleNumber,o=this.childAt(1),s=0;s<a;s++){var u=ct(n,-1,-1,2,2,i);u.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var l=-s/a*r.period+r.effectOffset;u.animate("",!0).when(r.period,{scaleX:r.rippleScale/2,scaleY:r.rippleScale/2}).delay(l).start(),u.animateStyle(!0).when(r.period,{opacity:0}).delay(l).start(),o.add(u)}tm(o,r)},e.prototype.updateEffectAnimation=function(r){for(var n=this._effectCfg,i=this.childAt(1),a=["symbolType","period","rippleScale","rippleNumber"],o=0;o<a.length;o++){var s=a[o];if(n[s]!==r[s]){this.stopEffectAnimation(),this.startEffectAnimation(r);return}}tm(i,r)},e.prototype.highlight=function(){Zn(this)},e.prototype.downplay=function(){Yn(this)},e.prototype.getSymbolType=function(){var r=this.childAt(0);return r&&r.getSymbolType()},e.prototype.updateData=function(r,n){var i=this,a=r.hostModel;this.childAt(0).updateData(r,n);var o=this.childAt(1),s=r.getItemModel(n),u=r.getItemVisual(n,"symbol"),l=Hs(r.getItemVisual(n,"symbolSize")),c=r.getItemVisual(n,"style"),f=c&&c.fill,h=s.getModel("emphasis");o.setScale(l),o.traverse(function(g){g.setStyle("fill",f)});var d=mo(r.getItemVisual(n,"symbolOffset"),l);d&&(o.x=d[0],o.y=d[1]);var p=r.getItemVisual(n,"symbolRotate");o.rotation=(p||0)*Math.PI/180||0;var v={};v.showEffectOn=a.get("showEffectOn"),v.rippleScale=s.get(["rippleEffect","scale"]),v.brushType=s.get(["rippleEffect","brushType"]),v.period=s.get(["rippleEffect","period"])*1e3,v.effectOffset=n/r.count(),v.z=a.getShallow("z")||0,v.zlevel=a.getShallow("zlevel")||0,v.symbolType=u,v.color=f,v.rippleEffectColor=s.get(["rippleEffect","color"]),v.rippleNumber=s.get(["rippleEffect","number"]),v.showEffectOn==="render"?(this._effectCfg?this.updateEffectAnimation(v):this.startEffectAnimation(v),this._effectCfg=v):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(g){g==="emphasis"?v.showEffectOn!=="render"&&i.startEffectAnimation(v):g==="normal"&&v.showEffectOn!=="render"&&i.stopEffectAnimation()}),this._effectCfg=v,Je(this,h.get("focus"),h.get("blurScope"),h.get("disabled"))},e.prototype.fadeOut=function(r){r&&r()},e}(le);const gee=vee;var mee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(){this._symbolDraw=new Xl(gee)},e.prototype.render=function(r,n,i){var a=r.getData(),o=this._symbolDraw;o.updateData(a,{clipShape:this._getClipShape(r)}),this.group.add(o.group)},e.prototype._getClipShape=function(r){var n=r.coordinateSystem,i=n&&n.getArea&&n.getArea();return r.get("clip",!0)?i:null},e.prototype.updateTransform=function(r,n,i){var a=r.getData();this.group.dirty();var o=Kl("").reset(r,n,i);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(r){var n=r.coordinateSystem;n&&n.getRoamTransform&&(this.group.transform=VB(n.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(qe);const yee=mee;var _ee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r}return e.prototype.getInitialData=function(r,n){return Jn(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(r,n,i){return i.point(n.getItemLayout(r))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(je);const bee=_ee;function xee(t){t.registerChartView(yee),t.registerSeriesModel(bee),t.registerLayout(Kl("effectScatter"))}var wee=function(t){F(e,t);function e(r,n,i){var a=t.call(this)||this;return a.add(a.createLine(r,n,i)),a._updateEffectSymbol(r,n),a}return e.prototype.createLine=function(r,n,i){return new C7(r,n,i)},e.prototype._updateEffectSymbol=function(r,n){var i=r.getItemModel(n),a=i.getModel("effect"),o=a.get("symbolSize"),s=a.get("symbol");G(o)||(o=[o,o]);var u=r.getItemVisual(n,"style"),l=a.get("color")||u&&u.stroke,c=this.childAt(1);this._symbolType!==s&&(this.remove(c),c=ct(s,-.5,-.5,1,1,l),c.z2=100,c.culling=!0,this.add(c)),c&&(c.setStyle("shadowColor",l),c.setStyle(a.getItemStyle(["color"])),c.scaleX=o[0],c.scaleY=o[1],c.setColor(l),this._symbolType=s,this._symbolScale=o,this._updateEffectAnimation(r,a,n))},e.prototype._updateEffectAnimation=function(r,n,i){var a=this.childAt(1);if(a){var o=r.getItemLayout(i),s=n.get("period")*1e3,u=n.get("loop"),l=n.get("roundTrip"),c=n.get("constantSpeed"),f=ut(n.get("delay"),function(d){return d/r.count()*s/3});if(a.ignore=!0,this._updateAnimationPoints(a,o),c>0&&(s=this._getLineLength(a)/c*1e3),s!==this._period||u!==this._loop||l!==this._roundTrip){a.stopAnimation();var h=void 0;te(f)?h=f(i):h=f,a.__t>0&&(h=-s*a.__t),this._animateSymbol(a,s,h,u,l)}this._period=s,this._loop=u,this._roundTrip=l}},e.prototype._animateSymbol=function(r,n,i,a,o){if(n>0){r.__t=0;var s=this,u=r.animate("",a).when(o?n*2:n,{__t:o?2:1}).delay(i).during(function(){s._updateSymbolPosition(r)});a||u.done(function(){s.remove(r)}),u.start()}},e.prototype._getLineLength=function(r){return Si(r.__p1,r.__cp1)+Si(r.__cp1,r.__p2)},e.prototype._updateAnimationPoints=function(r,n){r.__p1=n[0],r.__p2=n[1],r.__cp1=n[2]||[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]},e.prototype.updateData=function(r,n,i){this.childAt(0).updateData(r,n,i),this._updateEffectSymbol(r,n)},e.prototype._updateSymbolPosition=function(r){var n=r.__p1,i=r.__p2,a=r.__cp1,o=r.__t<1?r.__t:2-r.__t,s=[r.x,r.y],u=s.slice(),l=_t,c=Qh;s[0]=l(n[0],a[0],i[0],o),s[1]=l(n[1],a[1],i[1],o);var f=r.__t<1?c(n[0],a[0],i[0],o):c(i[0],a[0],n[0],1-o),h=r.__t<1?c(n[1],a[1],i[1],o):c(i[1],a[1],n[1],1-o);r.rotation=-Math.atan2(h,f)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(r.__lastT!==void 0&&r.__lastT<r.__t?(r.scaleY=Si(u,s)*1.05,o===1&&(s[0]=u[0]+(s[0]-u[0])/2,s[1]=u[1]+(s[1]-u[1])/2)):r.__lastT===1?r.scaleY=2*Si(n,s):r.scaleY=this._symbolScale[1]),r.__lastT=r.__t,r.ignore=!1,r.x=s[0],r.y=s[1]},e.prototype.updateLayout=function(r,n){this.childAt(0).updateLayout(r,n);var i=r.getItemModel(n).getModel("effect");this._updateEffectAnimation(r,i,n)},e}(le);const YT=wee;var See=function(t){F(e,t);function e(r,n,i){var a=t.call(this)||this;return a._createPolyline(r,n,i),a}return e.prototype._createPolyline=function(r,n,i){var a=r.getItemLayout(n),o=new ar({shape:{points:a}});this.add(o),this._updateCommonStl(r,n,i)},e.prototype.updateData=function(r,n,i){var a=r.hostModel,o=this.childAt(0),s={shape:{points:r.getItemLayout(n)}};Ie(o,s,a,n),this._updateCommonStl(r,n,i)},e.prototype._updateCommonStl=function(r,n,i){var a=this.childAt(0),o=r.getItemModel(n),s=i&&i.emphasisLineStyle,u=i&&i.focus,l=i&&i.blurScope,c=i&&i.emphasisDisabled;if(!i||r.hasItemOption){var f=o.getModel("emphasis");s=f.getModel("lineStyle").getLineStyle(),c=f.get("disabled"),u=f.get("focus"),l=f.get("blurScope")}a.useStyle(r.getItemVisual(n,"style")),a.style.fill=null,a.style.strokeNoScale=!0;var h=a.ensureState("emphasis");h.style=s,Je(this,u,l,c)},e.prototype.updateLayout=function(r,n){var i=this.childAt(0);i.setShape("points",r.getItemLayout(n))},e}(le);const XT=See;var Cee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r._lastFrame=0,r._lastFramePercent=0,r}return e.prototype.createLine=function(r,n,i){return new XT(r,n,i)},e.prototype._updateAnimationPoints=function(r,n){this._points=n;for(var i=[0],a=0,o=1;o<n.length;o++){var s=n[o-1],u=n[o];a+=Si(s,u),i.push(a)}if(a===0){this._length=0;return}for(var o=0;o<i.length;o++)i[o]/=a;this._offsets=i,this._length=a},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(r){var n=r.__t<1?r.__t:2-r.__t,i=this._points,a=this._offsets,o=i.length;if(a){var s=this._lastFrame,u;if(n<this._lastFramePercent){var l=Math.min(s+1,o-1);for(u=l;u>=0&&!(a[u]<=n);u--);u=Math.min(u,o-2)}else{for(u=s;u<o&&!(a[u]>n);u++);u=Math.min(u-1,o-2)}var c=(n-a[u])/(a[u+1]-a[u]),f=i[u],h=i[u+1];r.x=f[0]*(1-c)+c*h[0],r.y=f[1]*(1-c)+c*h[1];var d=r.__t<1?h[0]-f[0]:f[0]-h[0],p=r.__t<1?h[1]-f[1]:f[1]-h[1];r.rotation=-Math.atan2(p,d)-Math.PI/2,this._lastFrame=u,this._lastFramePercent=n,r.ignore=!1}},e}(YT);const Aee=Cee;var Tee=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),Dee=function(t){F(e,t);function e(r){var n=t.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new Tee},e.prototype.buildPath=function(r,n){var i=n.segs,a=n.curveness,o;if(n.polyline)for(o=this._off;o<i.length;){var s=i[o++];if(s>0){r.moveTo(i[o++],i[o++]);for(var u=1;u<s;u++)r.lineTo(i[o++],i[o++])}}else for(o=this._off;o<i.length;){var l=i[o++],c=i[o++],f=i[o++],h=i[o++];if(r.moveTo(l,c),a>0){var d=(l+f)/2-(c-h)*a,p=(c+h)/2-(f-l)*a;r.quadraticCurveTo(d,p,f,h)}else r.lineTo(f,h)}this.incremental&&(this._off=o,this.notClear=!0)},e.prototype.findDataIndex=function(r,n){var i=this.shape,a=i.segs,o=i.curveness,s=this.style.lineWidth;if(i.polyline)for(var u=0,l=0;l<a.length;){var c=a[l++];if(c>0)for(var f=a[l++],h=a[l++],d=1;d<c;d++){var p=a[l++],v=a[l++];if(gi(f,h,p,v,s,r,n))return u}u++}else for(var u=0,l=0;l<a.length;){var f=a[l++],h=a[l++],p=a[l++],v=a[l++];if(o>0){var g=(f+p)/2-(h-v)*o,m=(h+v)/2-(p-f)*o;if(tw(f,h,g,m,p,v,s,r,n))return u}else if(gi(f,h,p,v,s,r,n))return u;u++}return-1},e.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(r=i[0],n=i[1],a.contain(r,n)){var o=this.hoverDataIdx=this.findDataIndex(r,n);return o>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var r=this._rect;if(!r){for(var n=this.shape,i=n.segs,a=1/0,o=1/0,s=-1/0,u=-1/0,l=0;l<i.length;){var c=i[l++],f=i[l++];a=Math.min(c,a),s=Math.max(c,s),o=Math.min(f,o),u=Math.max(f,u)}r=this._rect=new ye(a,o,s,u)}return r},e}(we),Eee=function(){function t(){this.group=new le}return t.prototype.updateData=function(e){this._clear();var r=this._create();r.setShape({segs:e.getLayout("linesPoints")}),this._setCommon(r,e)},t.prototype.incrementalPrepareUpdate=function(e){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(e,r){var n=this._newAdded[0],i=r.getLayout("linesPoints"),a=n&&n.shape.segs;if(a&&a.length<2e4){var o=a.length,s=new Float32Array(o+i.length);s.set(a),s.set(i,o),n.setShape({segs:s})}else{this._newAdded=[];var u=this._create();u.incremental=!0,u.setShape({segs:i}),this._setCommon(u,r),u.__startIndex=e.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(e){this._newAdded[0]&&e(this._newAdded[0])},t.prototype._create=function(){var e=new Dee({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(e),this.group.add(e),e},t.prototype._setCommon=function(e,r,n){var i=r.hostModel;e.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),e.useStyle(i.getModel("lineStyle").getLineStyle()),e.style.strokeNoScale=!0;var a=r.getVisual("style");a&&a.stroke&&e.setStyle("stroke",a.stroke),e.setStyle("fill",null);var o=ce(e);o.seriesIndex=i.seriesIndex,e.on("mousemove",function(s){o.dataIndex=null;var u=e.hoverDataIdx;u>0&&(o.dataIndex=u+e.__startIndex)})},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();const kee=Eee;var Mee={seriesType:"lines",plan:$s(),reset:function(t){var e=t.coordinateSystem;if(!e){process.env.NODE_ENV!=="production"&&Et("The lines series must have a coordinate system.");return}var r=t.get("polyline"),n=t.pipelineContext.large;return{progress:function(i,a){var o=[];if(n){var s=void 0,u=i.end-i.start;if(r){for(var l=0,c=i.start;c<i.end;c++)l+=t.getLineCoordsCount(c);s=new Float32Array(u+l*2)}else s=new Float32Array(u*4);for(var f=0,h=[],c=i.start;c<i.end;c++){var d=t.getLineCoords(c,o);r&&(s[f++]=d);for(var p=0;p<d;p++)h=e.dataToPoint(o[p],!1,h),s[f++]=h[0],s[f++]=h[1]}a.setLayout("linesPoints",s)}else for(var c=i.start;c<i.end;c++){var v=a.getItemModel(c),d=t.getLineCoords(c,o),g=[];if(r)for(var m=0;m<d;m++)g.push(e.dataToPoint(o[m]));else{g[0]=e.dataToPoint(o[0]),g[1]=e.dataToPoint(o[1]);var y=v.get(["lineStyle","curveness"]);+y&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*y,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*y])}a.setItemLayout(c,g)}}}}};const jT=Mee;var Lee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=r.getData(),o=this._updateLineDraw(a,r),s=r.get("zlevel"),u=r.get(["effect","trailLength"]),l=i.getZr(),c=l.painter.getType()==="svg";c||l.painter.getLayer(s).clear(!0),this._lastZlevel!=null&&!c&&l.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(r)&&u>0&&(c?process.env.NODE_ENV!=="production"&&console.warn("SVG render mode doesn't support lines with trail effect"):l.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(u/10+.9,1),0)})),o.updateData(a);var f=r.get("clip",!0)&&jl(r.coordinateSystem,!1,r);f?this.group.setClipPath(f):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},e.prototype.incrementalPrepareRender=function(r,n,i){var a=r.getData(),o=this._updateLineDraw(a,r);o.incrementalPrepareUpdate(a),this._clearLayer(i),this._finished=!1},e.prototype.incrementalRender=function(r,n,i){this._lineDraw.incrementalUpdate(r,n.getData()),this._finished=r.end===n.getData().count()},e.prototype.eachRendered=function(r){this._lineDraw&&this._lineDraw.eachRendered(r)},e.prototype.updateTransform=function(r,n,i){var a=r.getData(),o=r.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=jT.reset(r,n,i);s.progress&&s.progress({start:0,end:a.count(),count:a.count()},a),this._lineDraw.updateLayout(),this._clearLayer(i)},e.prototype._updateLineDraw=function(r,n){var i=this._lineDraw,a=this._showEffect(n),o=!!n.get("polyline"),s=n.pipelineContext,u=s.large;return process.env.NODE_ENV!=="production"&&a&&u&&console.warn("Large lines not support effect"),(!i||a!==this._hasEffet||o!==this._isPolyline||u!==this._isLargeDraw)&&(i&&i.remove(),i=this._lineDraw=u?new kee:new A7(o?a?Aee:XT:a?YT:C7),this._hasEffet=a,this._isPolyline=o,this._isLargeDraw=u),this.group.add(i.group),i},e.prototype._showEffect=function(r){return!!r.get(["effect","show"])},e.prototype._clearLayer=function(r){var n=r.getZr(),i=n.painter.getType()==="svg";!i&&this._lastZlevel!=null&&n.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(r,n){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(n)},e.prototype.dispose=function(r,n){this.remove(r,n)},e.type="lines",e}(qe);const Iee=Lee;var Pee=typeof Uint32Array>"u"?Array:Uint32Array,Ree=typeof Float64Array>"u"?Array:Float64Array;function rm(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(process.env.NODE_ENV!=="production"&&console.warn("Lines data configuration has been changed to { coords:[[1,2],[2,3]] }"),t.data=H(e,function(r){var n=[r[0].coord,r[1].coord],i={coords:n};return r[0].name&&(i.fromName=r[0].name),r[1].name&&(i.toName=r[1].name),J4([i,r[0],r[1]])}))}var Nee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return e.prototype.init=function(r){r.data=r.data||[],rm(r);var n=this._processFlatCoordsArray(r.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(r.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(r){if(rm(r),r.data){var n=this._processFlatCoordsArray(r.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(r.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(r){var n=this._processFlatCoordsArray(r.data);n.flatCoords&&(this._flatCoords?(this._flatCoords=ll(this._flatCoords,n.flatCoords),this._flatCoordsOffset=ll(this._flatCoordsOffset,n.flatCoordsOffset)):(this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset),r.data=new Float32Array(n.count)),this.getRawData().appendData(r.data)},e.prototype._getCoordsFromItemModel=function(r){var n=this.getData().getItemModel(r),i=n.option instanceof Array?n.option:n.getShallow("coords");if(process.env.NODE_ENV!=="production"&&!(i instanceof Array&&i.length>0&&i[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(i)+". Lines must have 2d coords array in data item.");return i},e.prototype.getLineCoordsCount=function(r){return this._flatCoordsOffset?this._flatCoordsOffset[r*2+1]:this._getCoordsFromItemModel(r).length},e.prototype.getLineCoords=function(r,n){if(this._flatCoordsOffset){for(var i=this._flatCoordsOffset[r*2],a=this._flatCoordsOffset[r*2+1],o=0;o<a;o++)n[o]=n[o]||[],n[o][0]=this._flatCoords[i+o*2],n[o][1]=this._flatCoords[i+o*2+1];return a}else{for(var s=this._getCoordsFromItemModel(r),o=0;o<s.length;o++)n[o]=n[o]||[],n[o][0]=s[o][0],n[o][1]=s[o][1];return s.length}},e.prototype._processFlatCoordsArray=function(r){var n=0;if(this._flatCoords&&(n=this._flatCoords.length),Me(r[0])){for(var i=r.length,a=new Pee(i),o=new Ree(i),s=0,u=0,l=0,c=0;c<i;){l++;var f=r[c++];a[u++]=s+n,a[u++]=f;for(var h=0;h<f;h++){var d=r[c++],p=r[c++];if(o[s++]=d,o[s++]=p,c>i&&process.env.NODE_ENV!=="production")throw new Error("Invalid data format.")}}return{flatCoordsOffset:new Uint32Array(a.buffer,0,u),flatCoords:o,count:l}}return{flatCoordsOffset:null,flatCoords:null,count:r.length}},e.prototype.getInitialData=function(r,n){if(process.env.NODE_ENV!=="production"){var i=Vs.get(r.coordinateSystem);if(!i)throw new Error("Unknown coordinate system "+r.coordinateSystem)}var a=new qt(["value"],this);return a.hasItemOption=!1,a.initData(r.data,[],function(o,s,u,l){if(o instanceof Array)return NaN;a.hasItemOption=!0;var c=o.value;if(c!=null)return c instanceof Array?c[l]:c}),a},e.prototype.formatTooltip=function(r,n,i){var a=this.getData(),o=a.getItemModel(r),s=o.get("name");if(s)return s;var u=o.get("fromName"),l=o.get("toName"),c=[];return u!=null&&c.push(u),l!=null&&c.push(l),mt("nameValue",{name:c.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?1e4:this.get("progressive"))},e.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?2e4:this.get("progressiveThreshold"))},e.prototype.getZLevelKey=function(){var r=this.getModel("effect"),n=r.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:r.get("show")&&n>0?n+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(je);const Oee=Nee;function c0(t){return t instanceof Array||(t=[t,t]),t}var Bee={seriesType:"lines",reset:function(t){var e=c0(t.get("symbol")),r=c0(t.get("symbolSize")),n=t.getData();n.setVisual("fromSymbol",e&&e[0]),n.setVisual("toSymbol",e&&e[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]);function i(a,o){var s=a.getItemModel(o),u=c0(s.getShallow("symbol",!0)),l=c0(s.getShallow("symbolSize",!0));u[0]&&a.setItemVisual(o,"fromSymbol",u[0]),u[1]&&a.setItemVisual(o,"toSymbol",u[1]),l[0]&&a.setItemVisual(o,"fromSymbolSize",l[0]),l[1]&&a.setItemVisual(o,"toSymbolSize",l[1])}return{dataEach:n.hasItemOption?i:null}}};const Fee=Bee;function zee(t){t.registerChartView(Iee),t.registerSeriesModel(Oee),t.registerLayout(jT),t.registerVisual(Fee)}var Vee=256,$ee=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var e=Fi.createCanvas();this.canvas=e}return t.prototype.update=function(e,r,n,i,a,o){var s=this._getBrush(),u=this._getGradient(a,"inRange"),l=this._getGradient(a,"outOfRange"),c=this.pointSize+this.blurSize,f=this.canvas,h=f.getContext("2d"),d=e.length;f.width=r,f.height=n;for(var p=0;p<d;++p){var v=e[p],g=v[0],m=v[1],y=v[2],_=i(y);h.globalAlpha=_,h.drawImage(s,g-c,m-c)}if(!f.width||!f.height)return f;for(var b=h.getImageData(0,0,f.width,f.height),x=b.data,w=0,S=x.length,C=this.minOpacity,A=this.maxOpacity,T=A-C;w<S;){var _=x[w+3]/256,D=Math.floor(_*(Vee-1))*4;if(_>0){var k=o(_)?u:l;_>0&&(_=_*T+C),x[w++]=k[D],x[w++]=k[D+1],x[w++]=k[D+2],x[w++]=k[D+3]*_*256}else w+=4}return h.putImageData(b,0,0),f},t.prototype._getBrush=function(){var e=this._brushCanvas||(this._brushCanvas=Fi.createCanvas()),r=this.pointSize+this.blurSize,n=r*2;e.width=n,e.height=n;var i=e.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-r,r,this.pointSize,0,Math.PI*2,!0),i.closePath(),i.fill(),e},t.prototype._getGradient=function(e,r){for(var n=this._gradientPixels,i=n[r]||(n[r]=new Uint8ClampedArray(256*4)),a=[0,0,0,0],o=0,s=0;s<256;s++)e[r](s/255,!0,a),i[o++]=a[0],i[o++]=a[1],i[o++]=a[2],i[o++]=a[3];return i},t}();const Gee=$ee;function Hee(t,e,r){var n=t[1]-t[0];e=H(e,function(o){return{interval:[(o.interval[0]-t[0])/n,(o.interval[1]-t[0])/n]}});var i=e.length,a=0;return function(o){var s;for(s=a;s<i;s++){var u=e[s].interval;if(u[0]<=o&&o<=u[1]){a=s;break}}if(s===i)for(s=a-1;s>=0;s--){var u=e[s].interval;if(u[0]<=o&&o<=u[1]){a=s;break}}return s>=0&&s<i&&r[s]}}function Uee(t,e){var r=t[1]-t[0];return e=[(e[0]-t[0])/r,(e[1]-t[0])/r],function(n){return n>=e[0]&&n<=e[1]}}function nm(t){var e=t.dimensions;return e[0]==="lng"&&e[1]==="lat"}var Wee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a;if(n.eachComponent("visualMap",function(s){s.eachTargetSeries(function(u){u===r&&(a=s)})}),process.env.NODE_ENV!=="production"&&!a)throw new Error("Heatmap must use with visualMap");this._progressiveEls=null,this.group.removeAll();var o=r.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(r,i,0,r.getData().count()):nm(o)&&this._renderOnGeo(o,r,a,i)},e.prototype.incrementalPrepareRender=function(r,n,i){this.group.removeAll()},e.prototype.incrementalRender=function(r,n,i,a){var o=n.coordinateSystem;o&&(nm(o)?this.render(n,i,a):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(n,a,r.start,r.end,!0)))},e.prototype.eachRendered=function(r){Xi(this._progressiveEls||this.group,r)},e.prototype._renderOnCartesianAndCalendar=function(r,n,i,a,o){var s=r.coordinateSystem,u=_o(s,"cartesian2d"),l,c,f,h;if(u){var d=s.getAxis("x"),p=s.getAxis("y");if(process.env.NODE_ENV!=="production"){if(!(d.type==="category"&&p.type==="category"))throw new Error("Heatmap on cartesian must have two category axes");if(!(d.onBand&&p.onBand))throw new Error("Heatmap on cartesian must have two axes with boundaryGap true")}l=d.getBandWidth()+.5,c=p.getBandWidth()+.5,f=d.scale.getExtent(),h=p.scale.getExtent()}for(var v=this.group,g=r.getData(),m=r.getModel(["emphasis","itemStyle"]).getItemStyle(),y=r.getModel(["blur","itemStyle"]).getItemStyle(),_=r.getModel(["select","itemStyle"]).getItemStyle(),b=r.get(["itemStyle","borderRadius"]),x=gt(r),w=r.getModel("emphasis"),S=w.get("focus"),C=w.get("blurScope"),A=w.get("disabled"),T=u?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],D=i;D<a;D++){var k=void 0,M=g.getItemVisual(D,"style");if(u){var I=g.get(T[0],D),N=g.get(T[1],D);if(isNaN(g.get(T[2],D))||isNaN(I)||isNaN(N)||I<f[0]||I>f[1]||N<h[0]||N>h[1])continue;var L=s.dataToPoint([I,N]);k=new Ee({shape:{x:L[0]-l/2,y:L[1]-c/2,width:l,height:c},style:M})}else{if(isNaN(g.get(T[1],D)))continue;k=new Ee({z2:1,shape:s.dataToRect([g.get(T[0],D)]).contentShape,style:M})}if(g.hasItemOption){var O=g.getItemModel(D),P=O.getModel("emphasis");m=P.getModel("itemStyle").getItemStyle(),y=O.getModel(["blur","itemStyle"]).getItemStyle(),_=O.getModel(["select","itemStyle"]).getItemStyle(),b=O.get(["itemStyle","borderRadius"]),S=P.get("focus"),C=P.get("blurScope"),A=P.get("disabled"),x=gt(O)}k.shape.r=b;var R=r.getRawValue(D),B="-";R&&R[2]!=null&&(B=R[2]+""),Mt(k,x,{labelFetcher:r,labelDataIndex:D,defaultOpacity:M.opacity,defaultText:B}),k.ensureState("emphasis").style=m,k.ensureState("blur").style=y,k.ensureState("select").style=_,Je(k,S,C,A),k.incremental=o,o&&(k.states.emphasis.hoverLayer=!0),v.add(k),g.setItemGraphicEl(D,k),this._progressiveEls&&this._progressiveEls.push(k)}},e.prototype._renderOnGeo=function(r,n,i,a){var o=i.targetVisuals.inRange,s=i.targetVisuals.outOfRange,u=n.getData(),l=this._hmLayer||this._hmLayer||new Gee;l.blurSize=n.get("blurSize"),l.pointSize=n.get("pointSize"),l.minOpacity=n.get("minOpacity"),l.maxOpacity=n.get("maxOpacity");var c=r.getViewRect().clone(),f=r.getRoamTransform();c.applyTransform(f);var h=Math.max(c.x,0),d=Math.max(c.y,0),p=Math.min(c.width+c.x,a.getWidth()),v=Math.min(c.height+c.y,a.getHeight()),g=p-h,m=v-d,y=[u.mapDimension("lng"),u.mapDimension("lat"),u.mapDimension("value")],_=u.mapArray(y,function(S,C,A){var T=r.dataToPoint([S,C]);return T[0]-=h,T[1]-=d,T.push(A),T}),b=i.getExtent(),x=i.type==="visualMap.continuous"?Uee(b,i.option.range):Hee(b,i.getPieceList(),i.option.selected);l.update(_,g,m,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},x);var w=new Lt({style:{width:g,height:m,x:h,y:d,image:l.canvas},silent:!0});this.group.add(w)},e.type="heatmap",e}(qe);const qee=Wee;var Zee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.getInitialData=function(r,n){return Jn(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var r=Vs.get(this.get("coordinateSystem"));if(r&&r.dimensions)return r.dimensions[0]==="lng"&&r.dimensions[1]==="lat"},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(je);const Yee=Zee;function Xee(t){t.registerChartView(qee),t.registerSeriesModel(Yee)}var jee=["itemStyle","borderWidth"],im=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],sh=new Yi,Kee=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=this.group,o=r.getData(),s=this._data,u=r.coordinateSystem,l=u.getBaseAxis(),c=l.isHorizontal(),f=u.master.getRect(),h={ecSize:{width:i.getWidth(),height:i.getHeight()},seriesModel:r,coordSys:u,coordSysExtent:[[f.x,f.x+f.width],[f.y,f.y+f.height]],isHorizontal:c,valueDim:im[+c],categoryDim:im[1-+c]};o.diff(s).add(function(p){if(o.hasValue(p)){var v=om(o,p),g=am(o,p,v,h),m=sm(o,h,g);o.setItemGraphicEl(p,m),a.add(m),lm(m,h,g)}}).update(function(p,v){var g=s.getItemGraphicEl(v);if(!o.hasValue(p)){a.remove(g);return}var m=om(o,p),y=am(o,p,m,h),_=rD(o,y);g&&_!==g.__pictorialShapeStr&&(a.remove(g),o.setItemGraphicEl(p,null),g=null),g?ite(g,h,y):g=sm(o,h,y,!0),o.setItemGraphicEl(p,g),g.__pictorialSymbolMeta=y,a.add(g),lm(g,h,y)}).remove(function(p){var v=s.getItemGraphicEl(p);v&&um(s,p,v.__pictorialSymbolMeta.animationModel,v)}).execute();var d=r.get("clip",!0)?jl(r.coordinateSystem,!1,r):null;return d?a.setClipPath(d):a.removeClipPath(),this._data=o,this.group},e.prototype.remove=function(r,n){var i=this.group,a=this._data;r.get("animation")?a&&a.eachItemGraphicEl(function(o){um(a,ce(o).dataIndex,r,o)}):i.removeAll()},e.type="pictorialBar",e}(qe);function am(t,e,r,n){var i=t.getItemLayout(e),a=r.get("symbolRepeat"),o=r.get("symbolClip"),s=r.get("symbolPosition")||"start",u=r.get("symbolRotate"),l=(u||0)*Math.PI/180||0,c=r.get("symbolPatternSize")||2,f=r.isAnimationEnabled(),h={dataIndex:e,layout:i,itemModel:r,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:a,symbolRepeatDirection:r.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:l,animationModel:f?r:null,hoverScale:f&&r.get(["emphasis","scale"]),z2:r.getShallow("z",!0)||0};Qee(r,a,i,n,h),Jee(t,e,i,a,o,h.boundingLength,h.pxSign,c,n,h),ete(r,h.symbolScale,l,n,h);var d=h.symbolSize,p=mo(r.get("symbolOffset"),d);return tte(r,d,i,a,o,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,n,h),h}function Qee(t,e,r,n,i){var a=n.valueDim,o=t.get("symbolBoundingData"),s=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),u=s.toGlobalCoord(s.dataToCoord(0)),l=1-+(r[a.wh]<=0),c;if(G(o)){var f=[uh(s,o[0])-u,uh(s,o[1])-u];f[1]<f[0]&&f.reverse(),c=f[l]}else o!=null?c=uh(s,o)-u:e?c=n.coordSysExtent[a.index][l]-u:c=r[a.wh];i.boundingLength=c,e&&(i.repeatCutLength=r[a.wh]);var h=a.xy==="x",d=s.inverse;i.pxSign=h&&!d||!h&&d?c>=0?1:-1:c>0?1:-1}function uh(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function Jee(t,e,r,n,i,a,o,s,u,l){var c=u.valueDim,f=u.categoryDim,h=Math.abs(r[f.wh]),d=t.getItemVisual(e,"symbolSize"),p;G(d)?p=d.slice():d==null?p=["100%","100%"]:p=[d,d],p[f.index]=W(p[f.index],h),p[c.index]=W(p[c.index],n?h:Math.abs(a)),l.symbolSize=p;var v=l.symbolScale=[p[0]/s,p[1]/s];v[c.index]*=(u.isHorizontal?-1:1)*o}function ete(t,e,r,n,i){var a=t.get(jee)||0;a&&(sh.attr({scaleX:e[0],scaleY:e[1],rotation:r}),sh.updateTransform(),a/=sh.getLineScale(),a*=e[n.valueDim.index]),i.valueLineWidth=a||0}function tte(t,e,r,n,i,a,o,s,u,l,c,f){var h=c.categoryDim,d=c.valueDim,p=f.pxSign,v=Math.max(e[d.index]+s,0),g=v;if(n){var m=Math.abs(u),y=ut(t.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var b=W(y,e[d.index]),x=Math.max(v+b*2,0),w=_?0:b*2,S=l5(n),C=S?n:cm((m+w)/x),A=m-C*v;b=A/2/(_?C:Math.max(C-1,1)),x=v+b*2,w=_?0:b*2,!S&&n!=="fixed"&&(C=l?cm((Math.abs(l)+w)/x):0),g=C*x-w,f.repeatTimes=C,f.symbolMargin=b}var T=p*(g/2),D=f.pathPosition=[];D[h.index]=r[h.wh]/2,D[d.index]=o==="start"?T:o==="end"?u-T:u/2,a&&(D[0]+=a[0],D[1]+=a[1]);var k=f.bundlePosition=[];k[h.index]=r[h.xy],k[d.index]=r[d.xy];var M=f.barRectShape=$({},r);M[d.wh]=p*Math.max(Math.abs(r[d.wh]),Math.abs(D[d.index]+T)),M[h.wh]=r[h.wh];var I=f.clipShape={};I[h.xy]=-r[h.xy],I[h.wh]=c.ecSize[h.wh],I[d.xy]=0,I[d.wh]=r[d.wh]}function KT(t){var e=t.symbolPatternSize,r=ct(t.symbolType,-e/2,-e/2,e,e);return r.attr({culling:!0}),r.type!=="image"&&r.setStyle({strokeNoScale:!0}),r}function QT(t,e,r,n){var i=t.__pictorialBundle,a=r.symbolSize,o=r.valueLineWidth,s=r.pathPosition,u=e.valueDim,l=r.repeatTimes||0,c=0,f=a[e.valueDim.index]+o+r.symbolMargin*2;for(N7(t,function(v){v.__pictorialAnimationIndex=c,v.__pictorialRepeatTimes=l,c<l?ds(v,null,p(c),r,n):ds(v,null,{scaleX:0,scaleY:0},r,n,function(){i.remove(v)}),c++});c<l;c++){var h=KT(r);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=l,i.add(h);var d=p(c);ds(h,{x:d.x,y:d.y,scaleX:0,scaleY:0},{scaleX:d.scaleX,scaleY:d.scaleY,rotation:d.rotation},r,n)}function p(v){var g=s.slice(),m=r.pxSign,y=v;return(r.symbolRepeatDirection==="start"?m>0:m<0)&&(y=l-1-v),g[u.index]=f*(y-l/2+.5)+s[u.index],{x:g[0],y:g[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation}}}function JT(t,e,r,n){var i=t.__pictorialBundle,a=t.__pictorialMainPath;a?ds(a,null,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation},r,n):(a=t.__pictorialMainPath=KT(r),i.add(a),ds(a,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:0,scaleY:0,rotation:r.rotation},{scaleX:r.symbolScale[0],scaleY:r.symbolScale[1]},r,n))}function eD(t,e,r){var n=$({},e.barRectShape),i=t.__pictorialBarRect;i?ds(i,null,{shape:n},e,r):(i=t.__pictorialBarRect=new Ee({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,t.add(i))}function tD(t,e,r,n){if(r.symbolClip){var i=t.__pictorialClipPath,a=$({},r.clipShape),o=e.valueDim,s=r.animationModel,u=r.dataIndex;if(i)Ie(i,{shape:a},s,u);else{a[o.wh]=0,i=new Ee({shape:a}),t.__pictorialBundle.setClipPath(i),t.__pictorialClipPath=i;var l={};l[o.wh]=r.clipShape[o.wh],vo[n?"updateProps":"initProps"](i,{shape:l},s,u)}}}function om(t,e){var r=t.getItemModel(e);return r.getAnimationDelayParams=rte,r.isAnimationEnabled=nte,r}function rte(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function nte(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function sm(t,e,r,n){var i=new le,a=new le;return i.add(a),i.__pictorialBundle=a,a.x=r.bundlePosition[0],a.y=r.bundlePosition[1],r.symbolRepeat?QT(i,e,r):JT(i,e,r),eD(i,r,n),tD(i,e,r,n),i.__pictorialShapeStr=rD(t,r),i.__pictorialSymbolMeta=r,i}function ite(t,e,r){var n=r.animationModel,i=r.dataIndex,a=t.__pictorialBundle;Ie(a,{x:r.bundlePosition[0],y:r.bundlePosition[1]},n,i),r.symbolRepeat?QT(t,e,r,!0):JT(t,e,r,!0),eD(t,r,!0),tD(t,e,r,!0)}function um(t,e,r,n){var i=n.__pictorialBarRect;i&&i.removeTextContent();var a=[];N7(n,function(o){a.push(o)}),n.__pictorialMainPath&&a.push(n.__pictorialMainPath),n.__pictorialClipPath&&(r=null),E(a,function(o){$i(o,{scaleX:0,scaleY:0},r,e,function(){n.parent&&n.parent.remove(n)})}),t.setItemGraphicEl(e,null)}function rD(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function N7(t,e,r){E(t.__pictorialBundle.children(),function(n){n!==t.__pictorialBarRect&&e.call(r,n)})}function ds(t,e,r,n,i,a){e&&t.attr(e),n.symbolClip&&!i?r&&t.attr(r):r&&vo[i?"updateProps":"initProps"](t,r,n.animationModel,n.dataIndex,a)}function lm(t,e,r){var n=r.dataIndex,i=r.itemModel,a=i.getModel("emphasis"),o=a.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),u=i.getModel(["select","itemStyle"]).getItemStyle(),l=i.getShallow("cursor"),c=a.get("focus"),f=a.get("blurScope"),h=a.get("scale");N7(t,function(v){if(v instanceof Lt){var g=v.style;v.useStyle($({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},r.style))}else v.useStyle(r.style);var m=v.ensureState("emphasis");m.style=o,h&&(m.scaleX=v.scaleX*1.1,m.scaleY=v.scaleY*1.1),v.ensureState("blur").style=s,v.ensureState("select").style=u,l&&(v.cursor=l),v.z2=r.z2});var d=e.valueDim.posDesc[+(r.boundingLength>0)],p=t.__pictorialBarRect;p.ignoreClip=!0,Mt(p,gt(i),{labelFetcher:e.seriesModel,labelDataIndex:n,defaultText:ws(e.seriesModel.getData(),n),inheritColor:r.style.fill,defaultOpacity:r.style.opacity,defaultOutsidePosition:d}),Je(t,c,f,a.get("disabled"))}function cm(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}const ate=Kee;var ote=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.hasSymbolVisual=!0,r.defaultSymbol="roundRect",r}return e.prototype.getInitialData=function(r){return r.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=ji(Dc.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(Dc);const ste=ote;function ute(t){t.registerChartView(ate),t.registerSeriesModel(ste),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,ve(RC,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,NC("pictorialBar"))}var lte=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._layers=[],r}return e.prototype.render=function(r,n,i){var a=r.getData(),o=this,s=this.group,u=r.getLayerSeries(),l=a.getLayout("layoutInfo"),c=l.rect,f=l.boundaryGap;s.x=0,s.y=c.y+f[0];function h(g){return g.name}var d=new Xn(this._layersSeries||[],u,h,h),p=[];d.add(X(v,this,"add")).update(X(v,this,"update")).remove(X(v,this,"remove")).execute();function v(g,m,y){var _=o._layers;if(g==="remove"){s.remove(_[m]);return}for(var b=[],x=[],w,S=u[m].indices,C=0;C<S.length;C++){var A=a.getItemLayout(S[C]),T=A.x,D=A.y0,k=A.y;b.push(T,D),x.push(T,D+k),w=a.getItemVisual(S[C],"style")}var M,I=a.getItemLayout(S[0]),N=r.getModel("label"),L=N.get("margin"),O=r.getModel("emphasis");if(g==="add"){var P=p[m]=new le;M=new AA({shape:{points:b,stackedOnPoints:x,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),P.add(M),s.add(P),r.isAnimationEnabled()&&M.setClipPath(cte(M.getBoundingRect(),r,function(){M.removeClipPath()}))}else{var P=_[y];M=P.childAt(0),s.add(P),p[m]=P,Ie(M,{shape:{points:b,stackedOnPoints:x}},r),Qr(M)}Mt(M,gt(r),{labelDataIndex:S[C-1],defaultText:a.getName(S[C-1]),inheritColor:w.fill},{normal:{verticalAlign:"middle"}}),M.setTextConfig({position:null,local:!0});var R=M.getTextContent();R&&(R.x=I.x-L,R.y=I.y0+I.y/2),M.useStyle(w),a.setItemGraphicEl(m,M),kt(M,r),Je(M,O.get("focus"),O.get("blurScope"),O.get("disabled"))}this._layersSeries=u,this._layers=p},e.type="themeRiver",e}(qe);function cte(t,e,r){var n=new Ee({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Ye(n,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,r),n}const fte=lte;var lh=2,hte=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Jl(X(this.getData,this),X(this.getRawData,this))},e.prototype.fixData=function(r){var n=r.length,i={},a=pd(r,function(h){return i.hasOwnProperty(h[0]+"")||(i[h[0]+""]=-1),h[2]}),o=[];a.buckets.each(function(h,d){o.push({name:d,dataList:h})});for(var s=o.length,u=0;u<s;++u){for(var l=o[u].name,c=0;c<o[u].dataList.length;++c){var f=o[u].dataList[c][0]+"";i[f]=u}for(var f in i)i.hasOwnProperty(f)&&i[f]!==u&&(i[f]=u,r[n]=[f,0,l],n++)}return r},e.prototype.getInitialData=function(r,n){for(var i=this.getReferringComponents("singleAxis",lt).models[0],a=i.get("type"),o=Ne(r.data,function(p){return p[2]!==void 0}),s=this.fixData(o||[]),u=[],l=this.nameMap=J(),c=0,f=0;f<s.length;++f)u.push(s[f][lh]),l.get(s[f][lh])||(l.set(s[f][lh],c),c++);var h=ql(s,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:wc(a)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,d=new qt(h,this);return d.initData(s),d},e.prototype.getLayerSeries=function(){for(var r=this.getData(),n=r.count(),i=[],a=0;a<n;++a)i[a]=a;var o=r.mapDimension("single"),s=pd(i,function(l){return r.get("name",l)}),u=[];return s.buckets.each(function(l,c){l.sort(function(f,h){return r.get(o,f)-r.get(o,h)}),u.push({name:c,indices:l})}),u},e.prototype.getAxisTooltipData=function(r,n,i){G(r)||(r=r?[r]:[]);for(var a=this.getData(),o=this.getLayerSeries(),s=[],u=o.length,l,c=0;c<u;++c){for(var f=Number.MAX_VALUE,h=-1,d=o[c].indices.length,p=0;p<d;++p){var v=a.get(r[0],o[c].indices[p]),g=Math.abs(v-n);g<=f&&(l=v,f=g,h=o[c].indices[p])}s.push(h)}return{dataIndices:s,nestestValue:l}},e.prototype.formatTooltip=function(r,n,i){var a=this.getData(),o=a.getName(r),s=a.get(a.mapDimension("value"),r);return mt("nameValue",{name:o,value:s})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(je);const dte=hte;function pte(t,e){t.eachSeriesByType("themeRiver",function(r){var n=r.getData(),i=r.coordinateSystem,a={},o=i.getRect();a.rect=o;var s=r.get("boundaryGap"),u=i.getAxis();if(a.boundaryGap=s,u.orient==="horizontal"){s[0]=W(s[0],o.height),s[1]=W(s[1],o.height);var l=o.height-s[0]-s[1];fm(n,r,l)}else{s[0]=W(s[0],o.width),s[1]=W(s[1],o.width);var c=o.width-s[0]-s[1];fm(n,r,c)}n.setLayout("layoutInfo",a)})}function fm(t,e,r){if(t.count())for(var n=e.coordinateSystem,i=e.getLayerSeries(),a=t.mapDimension("single"),o=t.mapDimension("value"),s=H(i,function(g){return H(g.indices,function(m){var y=n.dataToPoint(t.get(a,m));return y[1]=t.get(o,m),y})}),u=vte(s),l=u.y0,c=r/u.max,f=i.length,h=i[0].indices.length,d,p=0;p<h;++p){d=l[p]*c,t.setItemLayout(i[0].indices[p],{layerIndex:0,x:s[0][p][0],y0:d,y:s[0][p][1]*c});for(var v=1;v<f;++v)d+=s[v-1][p][1]*c,t.setItemLayout(i[v].indices[p],{layerIndex:v,x:s[v][p][0],y0:d,y:s[v][p][1]*c})}}function vte(t){for(var e=t.length,r=t[0].length,n=[],i=[],a=0,o=0;o<r;++o){for(var s=0,u=0;u<e;++u)s+=t[u][o][1];s>a&&(a=s),n.push(s)}for(var l=0;l<r;++l)i[l]=(a-n[l])/2;a=0;for(var c=0;c<r;++c){var f=n[c]+i[c];f>a&&(a=f)}return{y0:i,max:a}}function gte(t){t.registerChartView(fte),t.registerSeriesModel(dte),t.registerLayout(pte),t.registerProcessor(Ql("themeRiver"))}var mte=2,yte=4,_te=function(t){F(e,t);function e(r,n,i,a){var o=t.call(this)||this;o.z2=mte,o.textConfig={inside:!0},ce(o).seriesIndex=n.seriesIndex;var s=new ke({z2:yte,silent:r.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,r,n,i,a),o}return e.prototype.updateData=function(r,n,i,a,o){this.node=n,n.piece=this,i=i||this._seriesModel,a=a||this._ecModel;var s=this;ce(s).dataIndex=n.dataIndex;var u=n.getModel(),l=u.getModel("emphasis"),c=n.getLayout(),f=$({},c);f.label=null;var h=n.getVisual("style");h.lineJoin="bevel";var d=n.getVisual("decal");d&&(h.decal=bs(d,o));var p=Ga(u.getModel("itemStyle"),f,!0);$(f,p),E(Xt,function(y){var _=s.ensureState(y),b=u.getModel([y,"itemStyle"]);_.style=b.getItemStyle();var x=Ga(b,f);x&&(_.shape=x)}),r?(s.setShape(f),s.shape.r=c.r0,Ye(s,{shape:{r:c.r}},i,n.dataIndex)):(Ie(s,{shape:f},i),Qr(s)),s.useStyle(h),this._updateLabel(i);var v=u.getShallow("cursor");v&&s.attr("cursor",v),this._seriesModel=i||this._seriesModel,this._ecModel=a||this._ecModel;var g=l.get("focus"),m=g==="relative"?ll(n.getAncestorsIndices(),n.getDescendantIndices()):g==="ancestor"?n.getAncestorsIndices():g==="descendant"?n.getDescendantIndices():g;Je(this,m,l.get("blurScope"),l.get("disabled"))},e.prototype._updateLabel=function(r){var n=this,i=this.node.getModel(),a=i.getModel("label"),o=this.node.getLayout(),s=o.endAngle-o.startAngle,u=(o.startAngle+o.endAngle)/2,l=Math.cos(u),c=Math.sin(u),f=this,h=f.getTextContent(),d=this.node.dataIndex,p=a.get("minAngle")/180*Math.PI,v=a.get("show")&&!(p!=null&&Math.abs(s)<p);h.ignore=!v,E(vl,function(m){var y=m==="normal"?i.getModel("label"):i.getModel([m,"label"]),_=m==="normal",b=_?h:h.ensureState(m),x=r.getFormattedLabel(d,m);_&&(x=x||n.node.name),b.style=Ue(y,{},null,m!=="normal",!0),x&&(b.style.text=x);var w=y.get("show");w!=null&&!_&&(b.ignore=!w);var S=g(y,"position"),C=_?f:f.states[m],A=C.style.fill;C.textConfig={outsideFill:y.get("color")==="inherit"?A:null,inside:S!=="outside"};var T,D=g(y,"distance")||0,k=g(y,"align"),M=g(y,"rotate"),I=Math.PI*.5,N=Math.PI*1.5,L=lr(M==="tangential"?Math.PI/2-u:u),O=L>I&&!dl(L-I)&&L<N;S==="outside"?(T=o.r+D,k=O?"right":"left"):!k||k==="center"?(s===2*Math.PI&&o.r0===0?T=0:T=(o.r+o.r0)/2,k="center"):k==="left"?(T=o.r0+D,k=O?"right":"left"):k==="right"&&(T=o.r-D,k=O?"left":"right"),b.style.align=k,b.style.verticalAlign=g(y,"verticalAlign")||"middle",b.x=T*l+o.cx,b.y=T*c+o.cy;var P=0;M==="radial"?P=lr(-u)+(O?Math.PI:0):M==="tangential"?P=lr(Math.PI/2-u)+(O?Math.PI:0):Me(M)&&(P=M*Math.PI/180),b.rotation=lr(P)});function g(m,y){var _=m.get(y);return _??a.get(y)}h.dirtyStyle()},e}(rr);const hm=_te;var d4="sunburstRootToNode",dm="sunburstHighlight",bte="sunburstUnhighlight";function xte(t){t.registerAction({type:d4,update:"updateView"},function(e,r){r.eachComponent({mainType:"series",subType:"sunburst",query:e},n);function n(i,a){var o=Dl(e,[d4],i);if(o){var s=i.getViewRoot();s&&(e.direction=y7(s,o.node)?"rollUp":"drillDown"),i.resetViewRoot(o.node)}}}),t.registerAction({type:dm,update:"none"},function(e,r,n){e=$({},e),r.eachComponent({mainType:"series",subType:"sunburst",query:e},i);function i(a){var o=Dl(e,[dm],a);o&&(e.dataIndex=o.node.dataIndex)}process.env.NODE_ENV!=="production"&&st("sunburstHighlight","highlight"),n.dispatchAction($(e,{type:"highlight"}))}),t.registerAction({type:bte,update:"updateView"},function(e,r,n){e=$({},e),process.env.NODE_ENV!=="production"&&st("sunburstUnhighlight","downplay"),n.dispatchAction($(e,{type:"downplay"}))})}var wte=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i,a){var o=this;this.seriesModel=r,this.api=i,this.ecModel=n;var s=r.getData(),u=s.tree.root,l=r.getViewRoot(),c=this.group,f=r.get("renderLabelForZeroData"),h=[];l.eachNode(function(y){h.push(y)});var d=this._oldChildren||[];p(h,d),m(u,l),this._initEvents(),this._oldChildren=h;function p(y,_){if(y.length===0&&_.length===0)return;new Xn(_,y,b,b).add(x).update(x).remove(ve(x,null)).execute();function b(w){return w.getId()}function x(w,S){var C=w==null?null:y[w],A=S==null?null:_[S];v(C,A)}}function v(y,_){if(!f&&y&&!y.getValue()&&(y=null),y!==u&&_!==u){if(_&&_.piece)y?(_.piece.updateData(!1,y,r,n,i),s.setItemGraphicEl(y.dataIndex,_.piece)):g(_);else if(y){var b=new hm(y,r,n,i);c.add(b),s.setItemGraphicEl(y.dataIndex,b)}}}function g(y){y&&y.piece&&(c.remove(y.piece),y.piece=null)}function m(y,_){_.depth>0?(o.virtualPiece?o.virtualPiece.updateData(!1,y,r,n,i):(o.virtualPiece=new hm(y,r,n,i),c.add(o.virtualPiece)),_.piece.off("click"),o.virtualPiece.on("click",function(b){o._rootToNode(_.parentNode)})):o.virtualPiece&&(c.remove(o.virtualPiece),o.virtualPiece=null)}},e.prototype._initEvents=function(){var r=this;this.group.off("click"),this.group.on("click",function(n){var i=!1,a=r.seriesModel.getViewRoot();a.eachNode(function(o){if(!i&&o.piece&&o.piece===n.target){var s=o.getModel().get("nodeClick");if(s==="rootToNode")r._rootToNode(o);else if(s==="link"){var u=o.getModel(),l=u.get("link");if(l){var c=u.get("target",!0)||"_blank";hc(l,c)}}i=!0}})})},e.prototype._rootToNode=function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:d4,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},e.prototype.containPoint=function(r,n){var i=n.getData(),a=i.getItemLayout(0);if(a){var o=r[0]-a.cx,s=r[1]-a.cy,u=Math.sqrt(o*o+s*s);return u<=a.r&&u>=a.r0}},e.type="sunburst",e}(qe);const Ste=wte;var Cte=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.ignoreStyleOnData=!0,r}return e.prototype.getInitialData=function(r,n){var i={name:r.name,children:r.data};nD(i);var a=this._levelModels=H(r.levels||[],function(u){return new We(u,this,n)},this),o=m7.createTree(i,this,s);function s(u){u.wrapMethod("getItemModel",function(l,c){var f=o.getNodeByDataIndex(c),h=a[f.depth];return h&&(l.parentModel=h),l})}return o.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(r){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(r);return n.treePathInfo=G2(i,this),n},e.prototype.getLevelModel=function(r){return this._levelModels&&this._levelModels[r.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(r){r?this._viewRoot=r:r=this._viewRoot;var n=this.getRawData().tree.root;(!r||r!==n&&!n.contains(r))&&(this._viewRoot=n)},e.prototype.enableAriaDecal=function(){sT(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(je);function nD(t){var e=0;E(t.children,function(n){nD(n);var i=n.value;G(i)&&(i=i[0]),e+=i});var r=t.value;G(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=e),r<0&&(r=0),G(t.value)?t.value[0]=r:t.value=r}const Ate=Cte;var pm=Math.PI/180;function Tte(t,e,r){e.eachSeriesByType(t,function(n){var i=n.get("center"),a=n.get("radius");G(a)||(a=[0,a]),G(i)||(i=[i,i]);var o=r.getWidth(),s=r.getHeight(),u=Math.min(o,s),l=W(i[0],o),c=W(i[1],s),f=W(a[0],u/2),h=W(a[1],u/2),d=-n.get("startAngle")*pm,p=n.get("minAngle")*pm,v=n.getData().tree.root,g=n.getViewRoot(),m=g.depth,y=n.get("sort");y!=null&&iD(g,y);var _=0;E(g.children,function(L){!isNaN(L.getValue())&&_++});var b=g.getValue(),x=Math.PI/(b||_)*2,w=g.depth>0,S=g.height-(w?-1:1),C=(h-f)/(S||1),A=n.get("clockwise"),T=n.get("stillShowZeroSum"),D=A?1:-1,k=function(L,O){if(L){var P=O;if(L!==v){var R=L.getValue(),B=b===0&&T?x:R*x;B<p&&(B=p),P=O+D*B;var z=L.depth-m-(w?-1:1),V=f+C*z,U=f+C*(z+1),q=n.getLevelModel(L);if(q){var K=q.get("r0",!0),xe=q.get("r",!0),Ve=q.get("radius",!0);Ve!=null&&(K=Ve[0],xe=Ve[1]),K!=null&&(V=W(K,u/2)),xe!=null&&(U=W(xe,u/2))}L.setLayout({angle:B,startAngle:O,endAngle:P,clockwise:A,cx:l,cy:c,r0:V,r:U})}if(L.children&&L.children.length){var ue=0;E(L.children,function(ee){ue+=k(ee,O+ue)})}return P-O}};if(w){var M=f,I=f+C,N=Math.PI*2;v.setLayout({angle:N,startAngle:d,endAngle:d+N,clockwise:A,cx:l,cy:c,r0:M,r:I})}k(g,d)})}function iD(t,e){var r=t.children||[];t.children=Dte(r,e),r.length&&E(t.children,function(n){iD(n,e)})}function Dte(t,e){if(te(e)){var r=H(t,function(i,a){var o=i.getValue();return{params:{depth:i.depth,height:i.height,dataIndex:i.dataIndex,getValue:function(){return o}},index:a}});return r.sort(function(i,a){return e(i.params,a.params)}),H(r,function(i){return t[i.index]})}else{var n=e==="asc";return t.sort(function(i,a){var o=(i.getValue()-a.getValue())*(n?1:-1);return o===0?(i.dataIndex-a.dataIndex)*(n?-1:1):o})}}function Ete(t){var e={};function r(n,i,a){for(var o=n;o&&o.depth>1;)o=o.parentNode;var s=i.getColorFromPalette(o.name||o.dataIndex+"",e);return n.depth>1&&Z(s)&&(s=td(s,(n.depth-1)/(a-1)*.5)),s}t.eachSeriesByType("sunburst",function(n){var i=n.getData(),a=i.tree;a.eachNode(function(o){var s=o.getModel(),u=s.getModel("itemStyle").getItemStyle();u.fill||(u.fill=r(o,n,a.root.height));var l=i.ensureUniqueItemVisual(o.dataIndex,"style");$(l,u)})})}function kte(t){t.registerChartView(Ste),t.registerSeriesModel(Ate),t.registerLayout(ve(Tte,"sunburst")),t.registerProcessor(ve(Ql,"sunburst")),t.registerVisual(Ete),xte(t)}var vm={color:"fill",borderColor:"stroke"},Mte={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Gn=Ae(),Lte=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(r,n){return Jn(null,this)},e.prototype.getDataParams=function(r,n,i){var a=t.prototype.getDataParams.call(this,r,n);return i&&(a.info=Gn(i).info),a},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(je);const Ite=Lte;function Pte(t,e){return e=e||[0,0],H(["x","y"],function(r,n){var i=this.getAxis(r),a=e[n],o=t[n]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(a-o)-i.dataToCoord(a+o))},this)}function Rte(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(r){return t.dataToPoint(r)},size:X(Pte,t)}}}function Nte(t,e){return e=e||[0,0],H([0,1],function(r){var n=e[r],i=t[r]/2,a=[],o=[];return a[r]=n-i,o[r]=n+i,a[1-r]=o[1-r]=e[1-r],Math.abs(this.dataToPoint(a)[r]-this.dataToPoint(o)[r])},this)}function Ote(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(r){return t.dataToPoint(r)},size:X(Nte,t)}}}function Bte(t,e){var r=this.getAxis(),n=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return r.type==="category"?r.getBandWidth():Math.abs(r.dataToCoord(n-i)-r.dataToCoord(n+i))}function Fte(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(r){return t.dataToPoint(r)},size:X(Bte,t)}}}function zte(t,e){return e=e||[0,0],H(["Radius","Angle"],function(r,n){var i="get"+r+"Axis",a=this[i](),o=e[n],s=t[n]/2,u=a.type==="category"?a.getBandWidth():Math.abs(a.dataToCoord(o-s)-a.dataToCoord(o+s));return r==="Angle"&&(u=u*Math.PI/180),u},this)}function Vte(t){var e=t.getRadiusAxis(),r=t.getAngleAxis(),n=e.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:n[1],r0:n[0]},api:{coord:function(i){var a=e.dataToRadius(i[0]),o=r.dataToAngle(i[1]),s=t.coordToPoint([a,o]);return s.push(a,o*Math.PI/180),s},size:X(zte,t)}}}function $te(t){var e=t.getRect(),r=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:r.start,end:r.end,weeks:r.weeks,dayCount:r.allDay}},api:{coord:function(n,i){return t.dataToPoint(n,i)}}}}var gm={};function aD(t,e,r,n){return t&&(t.legacy||t.legacy!==!1&&!r&&!n&&e!=="tspan"&&(e==="text"||j(t,"text")))}function oD(t,e,r){var n=t,i,a,o;if(e==="text")o=n;else{o={},j(n,"text")&&(o.text=n.text),j(n,"rich")&&(o.rich=n.rich),j(n,"textFill")&&(o.fill=n.textFill),j(n,"textStroke")&&(o.stroke=n.textStroke),j(n,"fontFamily")&&(o.fontFamily=n.fontFamily),j(n,"fontSize")&&(o.fontSize=n.fontSize),j(n,"fontStyle")&&(o.fontStyle=n.fontStyle),j(n,"fontWeight")&&(o.fontWeight=n.fontWeight),a={type:"text",style:o,silent:!0},i={};var s=j(n,"textPosition");r?i.position=s?n.textPosition:"inside":s&&(i.position=n.textPosition),j(n,"textPosition")&&(i.position=n.textPosition),j(n,"textOffset")&&(i.offset=n.textOffset),j(n,"textRotation")&&(i.rotation=n.textRotation),j(n,"textDistance")&&(i.distance=n.textDistance)}return mm(o,t),E(o.rich,function(u){mm(u,u)}),{textConfig:i,textContent:a}}function mm(t,e){e&&(e.font=e.textFont||e.font,j(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),j(e,"textAlign")&&(t.align=e.textAlign),j(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),j(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),j(e,"textWidth")&&(t.width=e.textWidth),j(e,"textHeight")&&(t.height=e.textHeight),j(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),j(e,"textPadding")&&(t.padding=e.textPadding),j(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),j(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),j(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),j(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),j(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),j(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),j(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function ym(t,e,r){var n=t;n.textPosition=n.textPosition||r.position||"inside",r.offset!=null&&(n.textOffset=r.offset),r.rotation!=null&&(n.textRotation=r.rotation),r.distance!=null&&(n.textDistance=r.distance);var i=n.textPosition.indexOf("inside")>=0,a=t.fill||"#000";_m(n,e);var o=n.textFill==null;return i?o&&(n.textFill=r.insideFill||"#fff",!n.textStroke&&r.insideStroke&&(n.textStroke=r.insideStroke),!n.textStroke&&(n.textStroke=a),n.textStrokeWidth==null&&(n.textStrokeWidth=2)):(o&&(n.textFill=t.fill||r.outsideFill||"#000"),!n.textStroke&&r.outsideStroke&&(n.textStroke=r.outsideStroke)),n.text=e.text,n.rich=e.rich,E(e.rich,function(s){_m(s,s)}),n}function _m(t,e){e&&(j(e,"fill")&&(t.textFill=e.fill),j(e,"stroke")&&(t.textStroke=e.fill),j(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),j(e,"font")&&(t.font=e.font),j(e,"fontStyle")&&(t.fontStyle=e.fontStyle),j(e,"fontWeight")&&(t.fontWeight=e.fontWeight),j(e,"fontSize")&&(t.fontSize=e.fontSize),j(e,"fontFamily")&&(t.fontFamily=e.fontFamily),j(e,"align")&&(t.textAlign=e.align),j(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),j(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),j(e,"width")&&(t.textWidth=e.width),j(e,"height")&&(t.textHeight=e.height),j(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),j(e,"padding")&&(t.textPadding=e.padding),j(e,"borderColor")&&(t.textBorderColor=e.borderColor),j(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),j(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),j(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),j(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),j(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),j(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),j(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),j(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),j(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),j(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}function bm(t,e){if(process.env.NODE_ENV!=="production"){var r=t+"^_^"+e;gm[r]||(console.warn('[ECharts] DEPRECATED: "'+t+'" has been deprecated. '+e),gm[r]=!0)}}var sD={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},xm=Se(sD),Nc=bn(wn,function(t,e){return t[e]=1,t},{}),wm=wn.join(", "),Oc=["","style","shape","extra"],As=Ae();function O7(t,e,r,n,i){var a=t+"Animation",o=Ps(t,n,i)||{},s=As(e).userDuring;return o.duration>0&&(o.during=s?X(qte,{el:e,userDuring:s}):null,o.setToFinal=!0,o.scope=t),$(o,r[a]),o}function F0(t,e,r,n){n=n||{};var i=n.dataIndex,a=n.isInit,o=n.clearStyle,s=r.isAnimationEnabled(),u=As(t),l=e.style;u.userDuring=e.during;var c={},f={};if(Yte(t,e,f),Cm("shape",e,f),Cm("extra",e,f),!a&&s&&(Zte(t,e,c),Sm("shape",t,e,c),Sm("extra",t,e,c),Xte(t,e,l,c)),f.style=l,Gte(t,f,o),Ute(t,e),s)if(a){var h={};E(Oc,function(p){var v=p?e[p]:e;v&&v.enterFrom&&(p&&(h[p]=h[p]||{}),$(p?h[p]:h,v.enterFrom))});var d=O7("enter",t,e,r,i);d.duration>0&&t.animateFrom(h,d)}else Hte(t,e,i||0,r,c);uD(t,e),l?t.dirty():t.markRedraw()}function uD(t,e){for(var r=As(t).leaveToProps,n=0;n<Oc.length;n++){var i=Oc[n],a=i?e[i]:e;a&&a.leaveTo&&(r||(r=As(t).leaveToProps={}),i&&(r[i]=r[i]||{}),$(i?r[i]:r,a.leaveTo))}}function W2(t,e,r,n){if(t){var i=t.parent,a=As(t).leaveToProps;if(a){var o=O7("update",t,e,r,0);o.done=function(){i.remove(t),n&&n()},t.animateTo(a,o)}else i.remove(t),n&&n()}}function Ja(t){return t==="all"}function Gte(t,e,r){var n=e.style;if(!t.isGroup&&n){if(r){t.useStyle({});for(var i=t.animators,a=0;a<i.length;a++){var o=i[a];o.targetName==="style"&&o.changeTarget(t.style)}}t.setStyle(n)}e&&(e.style=null,e&&t.attr(e),e.style=n)}function Hte(t,e,r,n,i){if(i){var a=O7("update",t,e,n,r);a.duration>0&&t.animateFrom(i,a)}}function Ute(t,e){j(e,"silent")&&(t.silent=e.silent),j(e,"ignore")&&(t.ignore=e.ignore),t instanceof Rr&&j(e,"invisible")&&(t.invisible=e.invisible),t instanceof we&&j(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}var sn={},Wte={setTransform:function(t,e){return process.env.NODE_ENV!=="production"&&ie(j(Nc,t),"Only "+wm+" available in `setTransform`."),sn.el[t]=e,this},getTransform:function(t){return process.env.NODE_ENV!=="production"&&ie(j(Nc,t),"Only "+wm+" available in `getTransform`."),sn.el[t]},setShape:function(t,e){process.env.NODE_ENV!=="production"&&Uo(t);var r=sn.el,n=r.shape||(r.shape={});return n[t]=e,r.dirtyShape&&r.dirtyShape(),this},getShape:function(t){process.env.NODE_ENV!=="production"&&Uo(t);var e=sn.el.shape;if(e)return e[t]},setStyle:function(t,e){process.env.NODE_ENV!=="production"&&Uo(t);var r=sn.el,n=r.style;return n&&(process.env.NODE_ENV!=="production"&&to(e)&&Qe("style."+t+" must not be assigned with NaN."),n[t]=e,r.dirtyStyle&&r.dirtyStyle()),this},getStyle:function(t){process.env.NODE_ENV!=="production"&&Uo(t);var e=sn.el.style;if(e)return e[t]},setExtra:function(t,e){process.env.NODE_ENV!=="production"&&Uo(t);var r=sn.el.extra||(sn.el.extra={});return r[t]=e,this},getExtra:function(t){process.env.NODE_ENV!=="production"&&Uo(t);var e=sn.el.extra;if(e)return e[t]}};function Uo(t){if(process.env.NODE_ENV!=="production"&&(t==="transition"||t==="enterFrom"||t==="leaveTo"))throw new Error('key must not be "'+t+'"')}function qte(){var t=this,e=t.el;if(e){var r=As(e).userDuring,n=t.userDuring;if(r!==n){t.el=t.userDuring=null;return}sn.el=e,n(Wte)}}function Sm(t,e,r,n){var i=r[t];if(i){var a=e[t],o;if(a){var s=r.transition,u=i.transition;if(u)if(!o&&(o=n[t]={}),Ja(u))$(o,a);else for(var l=ze(u),c=0;c<l.length;c++){var f=l[c],h=a[f];o[f]=h}else if(Ja(s)||_e(s,t)>=0){!o&&(o=n[t]={});for(var d=Se(a),c=0;c<d.length;c++){var f=d[c],h=a[f];jte(i[f],h)&&(o[f]=h)}}}}}function Cm(t,e,r){var n=e[t];if(n)for(var i=r[t]={},a=Se(n),o=0;o<a.length;o++){var s=a[o];i[s]=Hu(n[s])}}function Zte(t,e,r){for(var n=e.transition,i=Ja(n)?wn:ze(n||[]),a=0;a<i.length;a++){var o=i[a];if(!(o==="style"||o==="shape"||o==="extra")){var s=t[o];process.env.NODE_ENV!=="production"&&lD(o,"el.transition"),r[o]=s}}}function Yte(t,e,r){for(var n=0;n<xm.length;n++){var i=xm[n],a=sD[i],o=e[i];o&&(r[a[0]]=o[0],r[a[1]]=o[1])}for(var n=0;n<wn.length;n++){var s=wn[n];e[s]!=null&&(r[s]=e[s])}}function Xte(t,e,r,n){if(r){var i=t.style,a;if(i){var o=r.transition,s=e.transition;if(o&&!Ja(o)){var u=ze(o);!a&&(a=n.style={});for(var l=0;l<u.length;l++){var c=u[l],f=i[c];a[c]=f}}else if(t.getAnimationStyleProps&&(Ja(s)||Ja(o)||_e(s,"style")>=0)){var h=t.getAnimationStyleProps(),d=h?h.style:null;if(d){!a&&(a=n.style={});for(var p=Se(r),l=0;l<p.length;l++){var c=p[l];if(d[c]){var f=i[c];a[c]=f}}}}}}}function jte(t,e){return zt(t)?t!==e:t!=null&&isFinite(t)}var lD;process.env.NODE_ENV!=="production"&&(lD=function(t,e){j(Nc,t)||Qe("Prop `"+t+"` is not a permitted in `"+e+"`. Only `"+Se(Nc).join("`, `")+"` are permitted.")});var cD=Ae(),Kte=["percent","easing","shape","style","extra"];function fD(t){t.stopAnimation("keyframe"),t.attr(cD(t))}function Bc(t,e,r){if(!(!r.isAnimationEnabled()||!e)){if(G(e)){E(e,function(s){Bc(t,s,r)});return}var n=e.keyframes,i=e.duration;if(r&&i==null){var a=Ps("enter",r,0);i=a&&a.duration}if(!(!n||!i)){var o=cD(t);E(Oc,function(s){if(!(s&&!t[s])){var u,l=!1;n.sort(function(c,f){return c.percent-f.percent}),E(n,function(c){var f=t.animators,h=s?c[s]:c;if(process.env.NODE_ENV!=="production"&&c.percent>=1&&(l=!0),!!h){var d=Se(h);if(s||(d=Ne(d,function(g){return _e(Kte,g)<0})),!!d.length){u||(u=t.animate(s,e.loop,!0),u.scope="keyframe");for(var p=0;p<f.length;p++)f[p]!==u&&f[p].targetName===u.targetName&&f[p].stopTracks(d);s&&(o[s]=o[s]||{});var v=s?o[s]:o;E(d,function(g){v[g]=((s?t[s]:t)||{})[g]}),u.whenWithKeys(i*c.percent,h,d,c.easing)}}}),u&&(process.env.NODE_ENV!=="production"&&(l||Qe("End frame with percent: 1 is missing in the keyframeAnimation.",!0)),u.delay(e.delay||0).duration(i).start(e.easing))}})}}}var Hn="emphasis",Mi="normal",B7="blur",F7="select",qi=[Mi,Hn,B7,F7],ch={normal:["itemStyle"],emphasis:[Hn,"itemStyle"],blur:[B7,"itemStyle"],select:[F7,"itemStyle"]},fh={normal:["label"],emphasis:[Hn,"label"],blur:[B7,"label"],select:[F7,"label"]},Qte=["x","y"],Jte="e\0\0",_r={normal:{},emphasis:{},blur:{},select:{}},Am={cartesian2d:Rte,geo:Ote,single:Fte,polar:Vte,calendar:$te};function Fc(t){return t instanceof we}function p4(t){return t instanceof Rr}function ere(t,e){e.copyTransform(t),p4(e)&&p4(t)&&(e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel,e.invisible=t.invisible,e.ignore=t.ignore,Fc(e)&&Fc(t)&&e.setShape(t.shape))}var tre=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i,a){this._progressiveEls=null;var o=this._data,s=r.getData(),u=this.group,l=Tm(r,s,n,i);o||u.removeAll(),s.diff(o).add(function(f){hh(i,null,f,l(f,a),r,u,s)}).remove(function(f){var h=o.getItemGraphicEl(f);h&&W2(h,Gn(h).option,r)}).update(function(f,h){var d=o.getItemGraphicEl(h);hh(i,d,f,l(f,a),r,u,s)}).execute();var c=r.get("clip",!0)?jl(r.coordinateSystem,!1,r):null;c?u.setClipPath(c):u.removeClipPath(),this._data=s},e.prototype.incrementalPrepareRender=function(r,n,i){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(r,n,i,a,o){var s=n.getData(),u=Tm(n,s,i,a),l=this._progressiveEls=[];function c(d){d.isGroup||(d.incremental=!0,d.ensureState("emphasis").hoverLayer=!0)}for(var f=r.start;f<r.end;f++){var h=hh(null,null,f,u(f,o),n,this.group,s);h&&(h.traverse(c),l.push(h))}},e.prototype.eachRendered=function(r){Xi(this._progressiveEls||this.group,r)},e.prototype.filterForExposedEvent=function(r,n,i,a){var o=n.element;if(o==null||i.name===o)return!0;for(;(i=i.__hostTarget||i.parent)&&i!==this.group;)if(i.name===o)return!0;return!1},e.type="custom",e}(qe);const rre=tre;function z7(t){var e=t.type,r;if(e==="path"){var n=t.shape,i=n.width!=null&&n.height!=null?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,a=pD(n);r=x2(a,null,i,n.layout||"center"),Gn(r).customPathData=a}else if(e==="image")r=new Lt({}),Gn(r).customImagePath=t.style.image;else if(e==="text")r=new ke({});else if(e==="group")r=new le;else{if(e==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var o=A5(e);if(!o){var s="";process.env.NODE_ENV!=="production"&&(s='graphic type "'+e+'" can not be found.'),Re(s)}r=new o}return Gn(r).customGraphicType=e,r.name=t.name,r.z2EmphasisLift=1,r.z2SelectLift=1,r}function V7(t,e,r,n,i,a,o){fD(e);var s=i&&i.normal.cfg;s&&e.setTextConfig(s),n&&n.transition==null&&(n.transition=Qte);var u=n&&n.style;if(u){if(e.type==="text"){var l=u;j(l,"textFill")&&(l.fill=l.textFill),j(l,"textStroke")&&(l.stroke=l.textStroke)}var c=void 0,f=Fc(e)?u.decal:null;t&&f&&(f.dirty=!0,c=bs(f,t)),u.__decalPattern=c}if(p4(e)&&u){var c=u.__decalPattern;c&&(u.decal=c)}F0(e,n,a,{dataIndex:r,isInit:o,clearStyle:!0}),Bc(e,n.keyframeAnimation,a)}function hD(t,e,r,n,i){var a=e.isGroup?null:e,o=i&&i[t].cfg;if(a){var s=a.ensureState(t);if(n===!1){var u=a.getState(t);u&&(u.style=null)}else s.style=n||null;o&&(s.textConfig=o),ao(a)}}function nre(t,e,r){if(!t.isGroup){var n=t,i=r.currentZ,a=r.currentZLevel;n.z=i,n.zlevel=a;var o=e.z2;o!=null&&(n.z2=o||0);for(var s=0;s<qi.length;s++)ire(n,e,qi[s])}}function ire(t,e,r){var n=r===Mi,i=n?e:zc(e,r),a=i?i.z2:null,o;a!=null&&(o=n?t:t.ensureState(r),o.z2=a||0)}function Tm(t,e,r,n){var i=t.get("renderItem"),a=t.coordinateSystem,o={};a&&(process.env.NODE_ENV!=="production"&&(ie(i,"series.render is required."),ie(a.prepareCustoms||Am[a.type],"This coordSys does not support custom series.")),o=a.prepareCustoms?a.prepareCustoms(a):Am[a.type](a));for(var s=ae({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:b,style:w,ordinalRawValue:x,styleEmphasis:S,visual:T,barLayout:D,currentSeriesIndices:k,font:M},o.api||{}),u={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:o.coordSys,dataInsideLength:e.count(),encode:are(t.getData())},l,c,f={},h={},d={},p={},v=0;v<qi.length;v++){var g=qi[v];d[g]=t.getModel(ch[g]),p[g]=t.getModel(fh[g])}function m(I){return I===l?c||(c=e.getItemModel(I)):e.getItemModel(I)}function y(I,N){return e.hasItemOption?I===l?f[N]||(f[N]=m(I).getModel(ch[N])):m(I).getModel(ch[N]):d[N]}function _(I,N){return e.hasItemOption?I===l?h[N]||(h[N]=m(I).getModel(fh[N])):m(I).getModel(fh[N]):p[N]}return function(I,N){return l=I,c=null,f={},h={},i&&i(ae({dataIndexInside:I,dataIndex:e.getRawIndex(I),actionType:N?N.type:null},u),s)};function b(I,N){return N==null&&(N=l),e.getStore().get(e.getDimensionIndex(I||0),N)}function x(I,N){N==null&&(N=l),I=I||0;var L=e.getDimensionInfo(I);if(!L){var O=e.getDimensionIndex(I);return O>=0?e.getStore().get(O,N):void 0}var P=e.get(L.name,N),R=L&&L.ordinalMeta;return R?R.categories[P]:P}function w(I,N){process.env.NODE_ENV!=="production"&&bm("api.style","Please write literal style directly instead."),N==null&&(N=l);var L=e.getItemVisual(N,"style"),O=L&&L.fill,P=L&&L.opacity,R=y(N,Mi).getItemStyle();O!=null&&(R.fill=O),P!=null&&(R.opacity=P);var B={inheritColor:Z(O)?O:"#000"},z=_(N,Mi),V=Ue(z,null,B,!1,!0);V.text=z.getShallow("show")?fe(t.getFormattedLabel(N,Mi),ws(e,N)):null;var U=cc(z,B,!1);return A(I,R),R=ym(R,V,U),I&&C(R,I),R.legacy=!0,R}function S(I,N){process.env.NODE_ENV!=="production"&&bm("api.styleEmphasis","Please write literal style directly instead."),N==null&&(N=l);var L=y(N,Hn).getItemStyle(),O=_(N,Hn),P=Ue(O,null,null,!0,!0);P.text=O.getShallow("show")?Lr(t.getFormattedLabel(N,Hn),t.getFormattedLabel(N,Mi),ws(e,N)):null;var R=cc(O,null,!0);return A(I,L),L=ym(L,P,R),I&&C(L,I),L.legacy=!0,L}function C(I,N){for(var L in N)j(N,L)&&(I[L]=N[L])}function A(I,N){I&&(I.textFill&&(N.textFill=I.textFill),I.textPosition&&(N.textPosition=I.textPosition))}function T(I,N){if(N==null&&(N=l),j(vm,I)){var L=e.getItemVisual(N,"style");return L?L[vm[I]]:null}if(j(Mte,I))return e.getItemVisual(N,I)}function D(I){if(a.type==="cartesian2d"){var N=a.getBaseAxis();return oW(ae({axis:N},I))}}function k(){return r.getCurrentSeriesIndices()}function M(I){return T5(I,r)}}function are(t){var e={};return E(t.dimensions,function(r){var n=t.getDimensionInfo(r);if(!n.isExtraCoord){var i=n.coordDim,a=e[i]=e[i]||[];a[n.coordDimIndex]=t.getDimensionIndex(r)}}),e}function hh(t,e,r,n,i,a,o){if(!n){a.remove(e);return}var s=$7(t,e,r,n,i,a);return s&&o.setItemGraphicEl(r,s),s&&Je(s,n.focus,n.blurScope,n.emphasisDisabled),s}function $7(t,e,r,n,i,a){process.env.NODE_ENV!=="production"&&ie(n,"should not have an null/undefined element setting");var o=-1,s=e;e&&dD(e,n,i)&&(o=_e(a.childrenRef(),e),e=null);var u=!e,l=e;l?l.clearStates():(l=z7(n),s&&ere(s,l)),n.morph===!1?l.disableMorphing=!0:l.disableMorphing&&(l.disableMorphing=!1),_r.normal.cfg=_r.normal.conOpt=_r.emphasis.cfg=_r.emphasis.conOpt=_r.blur.cfg=_r.blur.conOpt=_r.select.cfg=_r.select.conOpt=null,_r.isLegacy=!1,sre(l,r,n,i,u,_r),ore(l,r,n,i,u),V7(t,l,r,n,_r,i,u),j(n,"info")&&(Gn(l).info=n.info);for(var c=0;c<qi.length;c++){var f=qi[c];if(f!==Mi){var h=zc(n,f),d=G7(n,h,f);hD(f,l,h,d,_r)}}return nre(l,n,i),n.type==="group"&&ure(t,l,r,n,i),o>=0?a.replaceAt(l,o):a.add(l),l}function dD(t,e,r){var n=Gn(t),i=e.type,a=e.shape,o=e.style;return r.isUniversalTransitionEnabled()||i!=null&&i!==n.customGraphicType||i==="path"&&hre(a)&&pD(a)!==n.customPathData||i==="image"&&j(o,"image")&&o.image!==n.customImagePath}function ore(t,e,r,n,i){var a=r.clipPath;if(a===!1)t&&t.getClipPath()&&t.removeClipPath();else if(a){var o=t.getClipPath();o&&dD(o,a,n)&&(o=null),o||(o=z7(a),process.env.NODE_ENV!=="production"&&ie(Fc(o),"Only any type of `path` can be used in `clipPath`, rather than "+o.type+"."),t.setClipPath(o)),V7(null,o,e,a,null,n,i)}}function sre(t,e,r,n,i,a){if(!t.isGroup){Dm(r,null,a),Dm(r,Hn,a);var o=a.normal.conOpt,s=a.emphasis.conOpt,u=a.blur.conOpt,l=a.select.conOpt;if(o!=null||s!=null||l!=null||u!=null){var c=t.getTextContent();if(o===!1)c&&t.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=z7(o),t.setTextContent(c)),V7(null,c,e,o,null,n,i);for(var f=o&&o.style,h=0;h<qi.length;h++){var d=qi[h];if(d!==Mi){var p=a[d].conOpt;hD(d,c,p,G7(o,p,d),null)}}f?c.dirty():c.markRedraw()}}}}function Dm(t,e,r){var n=e?zc(t,e):t,i=e?G7(t,n,Hn):t.style,a=t.type,o=n?n.textConfig:null,s=t.textContent,u=s?e?zc(s,e):s:null;if(i&&(r.isLegacy||aD(i,a,!!o,!!u))){r.isLegacy=!0;var l=oD(i,a,!e);!o&&l.textConfig&&(o=l.textConfig),!u&&l.textContent&&(u=l.textContent)}if(!e&&u){var c=u;!c.type&&(c.type="text"),process.env.NODE_ENV!=="production"&&ie(c.type==="text",'textContent.type must be "text"')}var f=e?r[e]:r.normal;f.cfg=o,f.conOpt=u}function zc(t,e){return e?t?t[e]:null:t}function G7(t,e,r){var n=e&&e.style;return n==null&&r===Hn&&t&&(n=t.styleEmphasis),n}function ure(t,e,r,n,i){var a=n.children,o=a?a.length:0,s=n.$mergeChildren,u=s==="byName"||n.diffChildrenByName,l=s===!1;if(!(!o&&!u&&!l)){if(u){cre({api:t,oldChildren:e.children()||[],newChildren:a||[],dataIndex:r,seriesModel:i,group:e});return}l&&e.removeAll();for(var c=0;c<o;c++){var f=a[c],h=e.childAt(c);f?(f.ignore==null&&(f.ignore=!1),$7(t,h,r,f,i,e)):(process.env.NODE_ENV!=="production"&&ie(h,"renderItem should not return a group containing elements as null/undefined/{} if they do not exist before."),h.ignore=!0)}for(var d=e.childCount()-1;d>=c;d--){var p=e.childAt(d);lre(e,p,i)}}}function lre(t,e,r){e&&W2(e,Gn(t).option,r)}function cre(t){new Xn(t.oldChildren,t.newChildren,Em,Em,t).add(km).update(km).remove(fre).execute()}function Em(t,e){var r=t&&t.name;return r??Jte+e}function km(t,e){var r=this.context,n=t!=null?r.newChildren[t]:null,i=e!=null?r.oldChildren[e]:null;$7(r.api,i,r.dataIndex,n,r.seriesModel,r.group)}function fre(t){var e=this.context,r=e.oldChildren[t];r&&W2(r,Gn(r).option,e.seriesModel)}function pD(t){return t&&(t.pathData||t.d)}function hre(t){return t&&(j(t,"pathData")||j(t,"d"))}function dre(t){t.registerChartView(rre),t.registerSeriesModel(Ite)}var La=Ae(),Mm=oe,dh=X,pre=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(e,r,n,i){var a=r.get("value"),o=r.get("status");if(this._axisModel=e,this._axisPointerModel=r,this._api=n,!(!i&&this._lastValue===a&&this._lastStatus===o)){this._lastValue=a,this._lastStatus=o;var s=this._group,u=this._handle;if(!o||o==="hide"){s&&s.hide(),u&&u.hide();return}s&&s.show(),u&&u.show();var l={};this.makeElOption(l,a,e,r,n);var c=l.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(e,r);if(!s)s=this._group=new le,this.createPointerEl(s,l,e,r),this.createLabelEl(s,l,e,r),n.getZr().add(s);else{var h=ve(Lm,r,f);this.updatePointerEl(s,l,h),this.updateLabelEl(s,l,h,r)}Pm(s,r,!0),this._renderHandle(a)}},t.prototype.remove=function(e){this.clear(e)},t.prototype.dispose=function(e){this.clear(e)},t.prototype.determineAnimation=function(e,r){var n=r.get("animation"),i=e.axis,a=i.type==="category",o=r.get("snap");if(!o&&!a)return!1;if(n==="auto"||n==null){var s=this.animationThreshold;if(a&&i.getBandWidth()>s)return!0;if(o){var u=c7(e).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/u>s}return!1}return n===!0},t.prototype.makeElOption=function(e,r,n,i,a){},t.prototype.createPointerEl=function(e,r,n,i){var a=r.pointer;if(a){var o=La(e).pointerEl=new vo[a.type](Mm(r.pointer));e.add(o)}},t.prototype.createLabelEl=function(e,r,n,i){if(r.label){var a=La(e).labelEl=new ke(Mm(r.label));e.add(a),Im(a,i)}},t.prototype.updatePointerEl=function(e,r,n){var i=La(e).pointerEl;i&&r.pointer&&(i.setStyle(r.pointer.style),n(i,{shape:r.pointer.shape}))},t.prototype.updateLabelEl=function(e,r,n,i){var a=La(e).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),Im(a,i))},t.prototype._renderHandle=function(e){if(!(this._dragging||!this.updateHandleTransform)){var r=this._axisPointerModel,n=this._api.getZr(),i=this._handle,a=r.getModel("handle"),o=r.get("status");if(!a.get("show")||!o||o==="hide"){i&&n.remove(i),this._handle=null;return}var s;this._handle||(s=!0,i=this._handle=Ul(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(l){Wn(l.event)},onmousedown:dh(this._onHandleDragMove,this,0,0),drift:dh(this._onHandleDragMove,this),ondragend:dh(this._onHandleDragEnd,this)}),n.add(i)),Pm(i,r,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");G(u)||(u=[u,u]),i.scaleX=u[0]/2,i.scaleY=u[1]/2,Gs(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(e,s)}},t.prototype._moveHandleToValue=function(e,r){Lm(this._axisPointerModel,!r&&this._moveAnimation,this._handle,ph(this.getHandleTransform(e,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(e,r){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(ph(n),[e,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(ph(i)),La(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var e=this._handle;if(e){var r=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var e=this._handle;if(e){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(e){this._lastValue=null,this._lastStatus=null;var r=e.getZr(),n=this._group,i=this._handle;r&&n&&(this._lastGraphicKey=null,n&&r.remove(n),i&&r.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),bl(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(e,r,n){return n=n||0,{x:e[n],y:e[1-n],width:r[n],height:r[1-n]}},t}();function Lm(t,e,r,n){vD(La(r).lastProp,n)||(La(r).lastProp=n,e?Ie(r,n,t):(r.stopAnimation(),r.attr(n)))}function vD(t,e){if(ne(t)&&ne(e)){var r=!0;return E(e,function(n,i){r=r&&vD(t[i],n)}),!!r}else return t===e}function Im(t,e){t[e.get(["label","show"])?"show":"hide"]()}function ph(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function Pm(t,e,r){var n=e.get("z"),i=e.get("zlevel");t&&t.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=r)})}const H7=pre;function U7(t){var e=t.get("type"),r=t.getModel(e+"Style"),n;return e==="line"?(n=r.getLineStyle(),n.fill=null):e==="shadow"&&(n=r.getAreaStyle(),n.stroke=null),n}function gD(t,e,r,n,i){var a=r.get("value"),o=mD(a,e.axis,e.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),u=Os(s.get("padding")||0),l=s.getFont(),c=zl(o,l),f=i.position,h=c.width+u[1]+u[3],d=c.height+u[0]+u[2],p=i.align;p==="right"&&(f[0]-=h),p==="center"&&(f[0]-=h/2);var v=i.verticalAlign;v==="bottom"&&(f[1]-=d),v==="middle"&&(f[1]-=d/2),vre(f,h,d,n);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=e.get(["axisLine","lineStyle","color"])),t.label={x:f[0],y:f[1],style:Ue(s,{text:o,font:l,fill:s.getTextColor(),padding:u,backgroundColor:g}),z2:10}}function vre(t,e,r,n){var i=n.getWidth(),a=n.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+r,a)-r,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function mD(t,e,r,n,i){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:i.precision}),o=i.formatter;if(o){var s={value:e7(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};E(n,function(u){var l=r.getSeriesByIndex(u.seriesIndex),c=u.dataIndexInside,f=l&&l.getDataParams(c);f&&s.seriesData.push(f)}),Z(o)?a=o.replace("{value}",a):te(o)&&(a=o(s))}return a}function W7(t,e,r){var n=cr();return ho(n,n,r.rotation),xn(n,n,r.position),Xr([t.dataToCoord(e),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function yD(t,e,r,n,i,a){var o=jn.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),gD(e,n,i,a,{position:W7(n.axis,t,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function q7(t,e,r){return r=r||0,{x1:t[r],y1:t[1-r],x2:e[r],y2:e[1-r]}}function _D(t,e,r){return r=r||0,{x:t[r],y:t[1-r],width:e[r],height:e[1-r]}}function Rm(t,e,r,n,i,a){return{cx:t,cy:e,r0:r,r:n,startAngle:i,endAngle:a,clockwise:!0}}var gre=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,u=s.grid,l=a.get("type"),c=Nm(u,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(n,!0));if(l&&l!=="none"){var h=U7(a),d=mre[l](s,f,c);d.style=h,r.graphicKey=d.type,r.pointer=d}var p=Kd(u.model,i);yD(n,r,p,i,a,o)},e.prototype.getHandleTransform=function(r,n,i){var a=Kd(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=W7(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.grid,u=o.getGlobalExtent(!0),l=Nm(s,o).getOtherAxis(o).getGlobalExtent(),c=o.dim==="x"?0:1,f=[r.x,r.y];f[c]+=n[c],f[c]=Math.min(u[1],f[c]),f[c]=Math.max(u[0],f[c]);var h=(l[1]+l[0])/2,d=[h,h];d[c]=f[c];var p=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:r.rotation,cursorPoint:d,tooltipOption:p[c]}},e}(H7);function Nm(t,e){var r={};return r[e.dim+"AxisIndex"]=e.index,t.getCartesian(r)}var mre={line:function(t,e,r){var n=q7([e,r[0]],[e,r[1]],Om(t));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(t,e,r){var n=Math.max(1,t.getBandWidth()),i=r[1]-r[0];return{type:"Rect",shape:_D([e-n/2,r[0]],[n,i],Om(t))}}};function Om(t){return t.dim==="x"?0:1}const yre=gre;var _re=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(Ce);const bre=_re;var Bn=Ae(),xre=E;function bD(t,e,r){if(!De.node){var n=e.getZr();Bn(n).records||(Bn(n).records={}),wre(n,e);var i=Bn(n).records[t]||(Bn(n).records[t]={});i.handler=r}}function wre(t,e){if(Bn(t).initialized)return;Bn(t).initialized=!0,r("click",ve(Bm,"click")),r("mousemove",ve(Bm,"mousemove")),r("globalout",Cre);function r(n,i){t.on(n,function(a){var o=Are(e);xre(Bn(t).records,function(s){s&&i(s,a,o.dispatchAction)}),Sre(o.pendings,e)})}}function Sre(t,e){var r=t.showTip.length,n=t.hideTip.length,i;r?i=t.showTip[r-1]:n&&(i=t.hideTip[n-1]),i&&(i.dispatchAction=null,e.dispatchAction(i))}function Cre(t,e,r){t.handler("leave",null,r)}function Bm(t,e,r,n){e.handler(t,r,n)}function Are(t){var e={showTip:[],hideTip:[]},r=function(n){var i=e[n.type];i?i.push(n):(n.dispatchAction=r,t.dispatchAction(n))};return{dispatchAction:r,pendings:e}}function v4(t,e){if(!De.node){var r=e.getZr(),n=(Bn(r).records||{})[t];n&&(Bn(r).records[t]=null)}}var Tre=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=n.getComponent("tooltip"),o=r.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";bD("axisPointer",i,function(s,u,l){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&l({type:"updateAxisPointer",currTrigger:s,x:u&&u.offsetX,y:u&&u.offsetY})})},e.prototype.remove=function(r,n){v4("axisPointer",n)},e.prototype.dispose=function(r,n){v4("axisPointer",n)},e.type="axisPointer",e}(et);const Dre=Tre;function xD(t,e){var r=[],n=t.seriesIndex,i;if(n==null||!(i=e.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=no(a,t);if(o==null||o<0||G(o))return{point:[]};var s=a.getItemGraphicEl(o),u=i.coordinateSystem;if(i.getTooltipPosition)r=i.getTooltipPosition(o)||[];else if(u&&u.dataToPoint)if(t.isStacked){var l=u.getBaseAxis(),c=u.getOtherAxis(l),f=c.dim,h=l.dim,d=f==="x"||f==="radius"?1:0,p=a.mapDimension(h),v=[];v[d]=a.get(p,o),v[1-d]=a.get(a.getCalculationInfo("stackResultDimension"),o),r=u.dataToPoint(v)||[]}else r=u.dataToPoint(a.getValues(H(u.dimensions,function(m){return a.mapDimension(m)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),r=[g.x+g.width/2,g.y+g.height/2]}return{point:r,el:s}}var Fm=Ae();function Ere(t,e,r){var n=t.currTrigger,i=[t.x,t.y],a=t,o=t.dispatchAction||X(r.dispatchAction,r),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){z0(i)&&(i=xD({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var u=z0(i),l=a.axesInfo,c=s.axesInfo,f=n==="leave"||z0(i),h={},d={},p={list:[],map:{}},v={showPointer:ve(Mre,d),showTooltip:ve(Lre,p)};E(s.coordSysMap,function(m,y){var _=u||m.containPoint(i);E(s.coordSysAxesInfo[y],function(b,x){var w=b.axis,S=Nre(l,b);if(!f&&_&&(!l||S)){var C=S&&S.value;C==null&&!u&&(C=w.pointToData(i)),C!=null&&zm(b,C,v,!1,h)}})});var g={};return E(c,function(m,y){var _=m.linkGroup;_&&!d[y]&&E(_.axesInfo,function(b,x){var w=d[x];if(b!==m&&w){var S=w.value;_.mapper&&(S=m.axis.scale.parse(_.mapper(S,Vm(b),Vm(m)))),g[m.key]=S}})}),E(g,function(m,y){zm(c[y],m,v,!0,h)}),Ire(d,c,h),Pre(p,i,t,o),Rre(c,o,r),h}}function zm(t,e,r,n,i){var a=t.axis;if(!(a.scale.isBlank()||!a.containData(e))){if(!t.involveSeries){r.showPointer(t,e);return}var o=kre(e,t),s=o.payloadBatch,u=o.snapToValue;s[0]&&i.seriesIndex==null&&$(i,s[0]),!n&&t.snap&&a.containData(u)&&u!=null&&(e=u),r.showPointer(t,e,s),r.showTooltip(t,o,u)}}function kre(t,e){var r=e.axis,n=r.dim,i=t,a=[],o=Number.MAX_VALUE,s=-1;return E(e.seriesModels,function(u,l){var c=u.getData().mapDimensionsAll(n),f,h;if(u.getAxisTooltipData){var d=u.getAxisTooltipData(c,t,r);h=d.dataIndices,f=d.nestestValue}else{if(h=u.getData().indicesOfNearest(c[0],t,r.type==="category"?.5:null),!h.length)return;f=u.getData().get(c[0],h[0])}if(!(f==null||!isFinite(f))){var p=t-f,v=Math.abs(p);v<=o&&((v<o||p>=0&&s<0)&&(o=v,s=p,i=f,a.length=0),E(h,function(g){a.push({seriesIndex:u.seriesIndex,dataIndexInside:g,dataIndex:u.getData().getRawIndex(g)})}))}}),{payloadBatch:a,snapToValue:i}}function Mre(t,e,r,n){t[e.key]={value:r,payloadBatch:n}}function Lre(t,e,r,n){var i=r.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(!(!e.triggerTooltip||!i.length)){var u=e.coordSys.model,l=Tl(u),c=t.map[l];c||(c=t.map[l]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(c)),c.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function Ire(t,e,r){var n=r.axesInfo=[];E(e,function(i,a){var o=i.axisPointerModel.option,s=t[a];s?(!i.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!i.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:i.axis.dim,axisIndex:i.axis.model.componentIndex,value:o.value})})}function Pre(t,e,r,n){if(z0(e)||!t.list.length){n({type:"hideTip"});return}var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}function Rre(t,e,r){var n=r.getZr(),i="axisPointerLastHighlights",a=Fm(n)[i]||{},o=Fm(n)[i]={};E(t,function(l,c){var f=l.axisPointerModel.option;f.status==="show"&&l.triggerEmphasis&&E(f.seriesDataIndices,function(h){var d=h.seriesIndex+" | "+h.dataIndex;o[d]=h})});var s=[],u=[];E(a,function(l,c){!o[c]&&u.push(l)}),E(o,function(l,c){!a[c]&&s.push(l)}),u.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),s.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function Nre(t,e){for(var r=0;r<(t||[]).length;r++){var n=t[r];if(e.axis.dim===n.axisDim&&e.axis.model.componentIndex===n.axisIndex)return n}}function Vm(t){var e=t.axis.model,r={},n=r.axisDim=t.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=e.componentIndex,r.axisName=r[n+"AxisName"]=e.name,r.axisId=r[n+"AxisId"]=e.id,r}function z0(t){return!t||t[0]==null||isNaN(t[0])||t[1]==null||isNaN(t[1])}function r1(t){bo.registerAxisPointerClass("CartesianAxisPointer",yre),t.registerComponentModel(bre),t.registerComponentView(Dre),t.registerPreprocessor(function(e){if(e){(!e.axisPointer||e.axisPointer.length===0)&&(e.axisPointer={});var r=e.axisPointer.link;r&&!G(r)&&(e.axisPointer.link=[r])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(e,r){e.getComponent("axisPointer").coordSysAxesInfo=SY(e,r)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Ere)}function Ore(t){be(qA),be(r1)}var Bre=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var u=s.polar,l=u.getOtherAxis(s),c=l.getExtent(),f=s.dataToCoord(n),h=a.get("type");if(h&&h!=="none"){var d=U7(a),p=zre[h](s,u,f,c);p.style=d,r.graphicKey=p.type,r.pointer=p}var v=a.get(["label","margin"]),g=Fre(n,i,a,u,v);gD(r,i,a,o,g)},e}(H7);function Fre(t,e,r,n,i){var a=e.axis,o=a.dataToCoord(t),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var u=n.getRadiusAxis().getExtent(),l,c,f;if(a.dim==="radius"){var h=cr();ho(h,h,s),xn(h,h,[n.cx,n.cy]),l=Xr([o,-i],h);var d=e.getModel("axisLabel").get("rotate")||0,p=jn.innerTextLayout(s,d*Math.PI/180,-1);c=p.textAlign,f=p.textVerticalAlign}else{var v=u[1];l=n.coordToPoint([v+i,o]);var g=n.cx,m=n.cy;c=Math.abs(l[0]-g)/v<.3?"center":l[0]>g?"left":"right",f=Math.abs(l[1]-m)/v<.3?"middle":l[1]>m?"top":"bottom"}return{position:l,align:c,verticalAlign:f}}var zre={line:function(t,e,r,n){return t.dim==="angle"?{type:"Line",shape:q7(e.coordToPoint([n[0],r]),e.coordToPoint([n[1],r]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r}}},shadow:function(t,e,r,n){var i=Math.max(1,t.getBandWidth()),a=Math.PI/180;return t.dim==="angle"?{type:"Sector",shape:Rm(e.cx,e.cy,n[0],n[1],(-r-i/2)*a,(-r+i/2)*a)}:{type:"Sector",shape:Rm(e.cx,e.cy,r-i/2,r+i/2,0,Math.PI*2)}}};const Vre=Bre;var $re=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.findAxisModel=function(r){var n,i=this.ecModel;return i.eachComponent(r,function(a){a.getCoordSysModel()===this&&(n=a)},this),n},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(Ce);const Gre=$re;var Z7=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",lt).models[0]},e.type="polarAxis",e}(Ce);ft(Z7,Zl);var Hre=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="angleAxis",e}(Z7),Ure=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="radiusAxis",e}(Z7),Y7=function(t){F(e,t);function e(r,n){return t.call(this,"radius",r,n)||this}return e.prototype.pointToData=function(r,n){return this.polar.pointToData(r,n)[this.dim==="radius"?0:1]},e}(en);Y7.prototype.dataToRadius=en.prototype.dataToCoord;Y7.prototype.radiusToData=en.prototype.coordToData;const Wre=Y7;var qre=Ae(),X7=function(t){F(e,t);function e(r,n){return t.call(this,"angle",r,n||[0,360])||this}return e.prototype.pointToData=function(r,n){return this.polar.pointToData(r,n)[this.dim==="radius"?0:1]},e.prototype.calculateCategoryInterval=function(){var r=this,n=r.getLabelModel(),i=r.scale,a=i.getExtent(),o=i.count();if(a[1]-a[0]<1)return 0;var s=a[0],u=r.dataToCoord(s+1)-r.dataToCoord(s),l=Math.abs(u),c=zl(s==null?"":s+"",n.getFont(),"center","top"),f=Math.max(c.height,7),h=f/l;isNaN(h)&&(h=1/0);var d=Math.max(0,Math.floor(h)),p=qre(r.model),v=p.lastAutoInterval,g=p.lastTickCount;return v!=null&&g!=null&&Math.abs(v-d)<=1&&Math.abs(g-o)<=1&&v>d?d=v:(p.lastTickCount=o,p.lastAutoInterval=d),d},e}(en);X7.prototype.dataToAngle=en.prototype.dataToCoord;X7.prototype.angleToData=en.prototype.coordToData;const Zre=X7;var wD=["radius","angle"],Yre=function(){function t(e){this.dimensions=wD,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new Wre,this._angleAxis=new Zre,this.axisPointerEnabled=!0,this.name=e||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(e){var r=this.pointToCoord(e);return this._radiusAxis.contain(r[0])&&this._angleAxis.contain(r[1])},t.prototype.containData=function(e){return this._radiusAxis.containData(e[0])&&this._angleAxis.containData(e[1])},t.prototype.getAxis=function(e){var r="_"+e+"Axis";return this[r]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(e){var r=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===e&&r.push(n),i.scale.type===e&&r.push(i),r},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(e){var r=this._angleAxis;return e===r?this._radiusAxis:r},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(e){var r=e!=null&&e!=="auto"?this.getAxis(e):this.getBaseAxis();return{baseAxes:[r],otherAxes:[this.getOtherAxis(r)]}},t.prototype.dataToPoint=function(e,r){return this.coordToPoint([this._radiusAxis.dataToRadius(e[0],r),this._angleAxis.dataToAngle(e[1],r)])},t.prototype.pointToData=function(e,r){var n=this.pointToCoord(e);return[this._radiusAxis.radiusToData(n[0],r),this._angleAxis.angleToData(n[1],r)]},t.prototype.pointToCoord=function(e){var r=e[0]-this.cx,n=e[1]-this.cy,i=this.getAngleAxis(),a=i.getExtent(),o=Math.min(a[0],a[1]),s=Math.max(a[0],a[1]);i.inverse?o=s-360:s=o+360;var u=Math.sqrt(r*r+n*n);r/=u,n/=u;for(var l=Math.atan2(-n,r)/Math.PI*180,c=l<o?1:-1;l<o||l>s;)l+=c*360;return[u,l]},t.prototype.coordToPoint=function(e){var r=e[0],n=e[1]/180*Math.PI,i=Math.cos(n)*r+this.cx,a=-Math.sin(n)*r+this.cy;return[i,a]},t.prototype.getArea=function(){var e=this.getAngleAxis(),r=this.getRadiusAxis(),n=r.getExtent().slice();n[0]>n[1]&&n.reverse();var i=e.getExtent(),a=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*a,endAngle:-i[1]*a,clockwise:e.inverse,contain:function(s,u){var l=s-this.cx,c=u-this.cy,f=l*l+c*c,h=this.r,d=this.r0;return h!==d&&f-o<=h*h&&f+o>=d*d}}},t.prototype.convertToPixel=function(e,r,n){var i=$m(r);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,r,n){var i=$m(r);return i===this?this.pointToData(n):null},t}();function $m(t){var e=t.seriesModel,r=t.polarModel;return r&&r.coordinateSystem||e&&e.coordinateSystem}const Xre=Yre;function jre(t,e,r){var n=e.get("center"),i=r.getWidth(),a=r.getHeight();t.cx=W(n[0],i),t.cy=W(n[1],a);var o=t.getRadiusAxis(),s=Math.min(i,a)/2,u=e.get("radius");u==null?u=[0,"100%"]:G(u)||(u=[0,u]);var l=[W(u[0],s),W(u[1],s)];o.inverse?o.setExtent(l[1],l[0]):o.setExtent(l[0],l[1])}function Kre(t,e){var r=this,n=r.getAngleAxis(),i=r.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),t.eachSeries(function(s){if(s.coordinateSystem===r){var u=s.getData();E(Sc(u,"radius"),function(l){i.scale.unionExtentFromData(u,l)}),E(Sc(u,"angle"),function(l){n.scale.unionExtentFromData(u,l)})}}),xs(n.scale,n.model),xs(i.scale,i.model),n.type==="category"&&!n.onBand){var a=n.getExtent(),o=360/n.scale.count();n.inverse?a[1]+=o:a[1]-=o,n.setExtent(a[0],a[1])}}function Qre(t){return t.mainType==="angleAxis"}function Gm(t,e){var r;if(t.type=e.get("type"),t.scale=F2(e),t.onBand=e.get("boundaryGap")&&t.type==="category",t.inverse=e.get("inverse"),Qre(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle"),i=(r=e.get("endAngle"))!==null&&r!==void 0?r:n+(t.inverse?-360:360);t.setExtent(n,i)}e.axis=t,t.model=e}var Jre={dimensions:wD,create:function(t,e){var r=[];return t.eachComponent("polar",function(n,i){var a=new Xre(i+"");a.update=Kre;var o=a.getRadiusAxis(),s=a.getAngleAxis(),u=n.findAxisModel("radiusAxis"),l=n.findAxisModel("angleAxis");Gm(o,u),Gm(s,l),jre(a,n,e),r.push(a),n.coordinateSystem=a,a.model=n}),t.eachSeries(function(n){if(n.get("coordinateSystem")==="polar"){var i=n.getReferringComponents("polar",lt).models[0];if(process.env.NODE_ENV!=="production"&&!i)throw new Error('Polar "'+ut(n.get("polarIndex"),n.get("polarId"),0)+'" not found');n.coordinateSystem=i.coordinateSystem}}),r}};const ene=Jre;var tne=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function f0(t,e,r){e[1]>e[0]&&(e=e.slice().reverse());var n=t.coordToPoint([e[0],r]),i=t.coordToPoint([e[1],r]);return{x1:n[0],y1:n[1],x2:i[0],y2:i[1]}}function h0(t){var e=t.getRadiusAxis();return e.inverse?0:1}function Hm(t){var e=t[0],r=t[t.length-1];e&&r&&Math.abs(Math.abs(e.coord-r.coord)-360)<1e-4&&t.pop()}var rne=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.axisPointerClass="PolarAxisPointer",r}return e.prototype.render=function(r,n){if(this.group.removeAll(),!!r.get("show")){var i=r.axis,a=i.polar,o=a.getRadiusAxis().getExtent(),s=i.getTicksCoords(),u=i.getMinorTicksCoords(),l=H(i.getViewLabels(),function(c){c=oe(c);var f=i.scale,h=f.type==="ordinal"?f.getRawOrdinalNumber(c.tickValue):c.tickValue;return c.coord=i.dataToCoord(h),c});Hm(l),Hm(s),E(tne,function(c){r.get([c,"show"])&&(!i.scale.isBlank()||c==="axisLine")&&nne[c](this.group,r,a,s,u,o,l)},this)}},e.type="angleAxis",e}(bo),nne={axisLine:function(t,e,r,n,i,a){var o=e.getModel(["axisLine","lineStyle"]),s=r.getAngleAxis(),u=Math.PI/180,l=s.getExtent(),c=h0(r),f=c?0:1,h,d=Math.abs(l[1]-l[0])===360?"Circle":"Arc";a[f]===0?h=new vo[d]({shape:{cx:r.cx,cy:r.cy,r:a[c],startAngle:-l[0]*u,endAngle:-l[1]*u,clockwise:s.inverse},style:o.getLineStyle(),z2:1,silent:!0}):h=new _2({shape:{cx:r.cx,cy:r.cy,r:a[c],r0:a[f]},style:o.getLineStyle(),z2:1,silent:!0}),h.style.fill=null,t.add(h)},axisTick:function(t,e,r,n,i,a){var o=e.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),u=a[h0(r)],l=H(n,function(c){return new xt({shape:f0(r,[u,u+s],c.coord)})});t.add(Er(l,{style:ae(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,r,n,i,a){if(i.length){for(var o=e.getModel("axisTick"),s=e.getModel("minorTick"),u=(o.get("inside")?-1:1)*s.get("length"),l=a[h0(r)],c=[],f=0;f<i.length;f++)for(var h=0;h<i[f].length;h++)c.push(new xt({shape:f0(r,[l,l+u],i[f][h].coord)}));t.add(Er(c,{style:ae(s.getModel("lineStyle").getLineStyle(),ae(o.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,r,n,i,a,o){var s=e.getCategories(!0),u=e.getModel("axisLabel"),l=u.get("margin"),c=e.get("triggerEvent");E(o,function(f,h){var d=u,p=f.tickValue,v=a[h0(r)],g=r.coordToPoint([v+l,f.coord]),m=r.cx,y=r.cy,_=Math.abs(g[0]-m)/v<.3?"center":g[0]>m?"left":"right",b=Math.abs(g[1]-y)/v<.3?"middle":g[1]>y?"top":"bottom";if(s&&s[p]){var x=s[p];ne(x)&&x.textStyle&&(d=new We(x.textStyle,u,u.ecModel))}var w=new ke({silent:jn.isLabelSilent(e),style:Ue(d,{x:g[0],y:g[1],fill:d.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:f.formattedLabel,align:_,verticalAlign:b})});if(t.add(w),c){var S=jn.makeAxisEventDataBase(e);S.targetType="axisLabel",S.value=f.rawLabel,ce(w).eventData=S}},this)},splitLine:function(t,e,r,n,i,a){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),u=s.get("color"),l=0;u=u instanceof Array?u:[u];for(var c=[],f=0;f<n.length;f++){var h=l++%u.length;c[h]=c[h]||[],c[h].push(new xt({shape:f0(r,a,n[f].coord)}))}for(var f=0;f<c.length;f++)t.add(Er(c[f],{style:ae({stroke:u[f%u.length]},s.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,r,n,i,a){if(i.length){for(var o=e.getModel("minorSplitLine"),s=o.getModel("lineStyle"),u=[],l=0;l<i.length;l++)for(var c=0;c<i[l].length;c++)u.push(new xt({shape:f0(r,a,i[l][c].coord)}));t.add(Er(u,{style:s.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,r,n,i,a){if(n.length){var o=e.getModel("splitArea"),s=o.getModel("areaStyle"),u=s.get("color"),l=0;u=u instanceof Array?u:[u];for(var c=[],f=Math.PI/180,h=-n[0].coord*f,d=Math.min(a[0],a[1]),p=Math.max(a[0],a[1]),v=e.get("clockwise"),g=1,m=n.length;g<=m;g++){var y=g===m?n[0].coord:n[g].coord,_=l++%u.length;c[_]=c[_]||[],c[_].push(new rr({shape:{cx:r.cx,cy:r.cy,r0:d,r:p,startAngle:h,endAngle:-y*f,clockwise:v},silent:!0})),h=-y*f}for(var g=0;g<c.length;g++)t.add(Er(c[g],{style:ae({fill:u[g%u.length]},s.getAreaStyle()),silent:!0}))}}};const ine=rne;var ane=["axisLine","axisTickLabel","axisName"],one=["splitLine","splitArea","minorSplitLine"],sne=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.axisPointerClass="PolarAxisPointer",r}return e.prototype.render=function(r,n){if(this.group.removeAll(),!!r.get("show")){var i=this._axisGroup,a=this._axisGroup=new le;this.group.add(a);var o=r.axis,s=o.polar,u=s.getAngleAxis(),l=o.getTicksCoords(),c=o.getMinorTicksCoords(),f=u.getExtent()[0],h=o.getExtent(),d=lne(s,r,f),p=new jn(r,d);E(ane,p.add,p),a.add(p.getGroup()),Hl(i,a,r),E(one,function(v){r.get([v,"show"])&&!o.scale.isBlank()&&une[v](this.group,r,s,f,h,l,c)},this)}},e.type="radiusAxis",e}(bo),une={splitLine:function(t,e,r,n,i,a){var o=e.getModel("splitLine"),s=o.getModel("lineStyle"),u=s.get("color"),l=0,c=r.getAngleAxis(),f=Math.PI/180,h=c.getExtent(),d=Math.abs(h[1]-h[0])===360?"Circle":"Arc";u=u instanceof Array?u:[u];for(var p=[],v=0;v<a.length;v++){var g=l++%u.length;p[g]=p[g]||[],p[g].push(new vo[d]({shape:{cx:r.cx,cy:r.cy,r:Math.max(a[v].coord,0),startAngle:-h[0]*f,endAngle:-h[1]*f,clockwise:c.inverse}}))}for(var v=0;v<p.length;v++)t.add(Er(p[v],{style:ae({stroke:u[v%u.length],fill:null},s.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,r,n,i,a,o){if(o.length){for(var s=e.getModel("minorSplitLine"),u=s.getModel("lineStyle"),l=[],c=0;c<o.length;c++)for(var f=0;f<o[c].length;f++)l.push(new Yi({shape:{cx:r.cx,cy:r.cy,r:o[c][f].coord}}));t.add(Er(l,{style:ae({fill:null},u.getLineStyle()),silent:!0}))}},splitArea:function(t,e,r,n,i,a){if(a.length){var o=e.getModel("splitArea"),s=o.getModel("areaStyle"),u=s.get("color"),l=0;u=u instanceof Array?u:[u];for(var c=[],f=a[0].coord,h=1;h<a.length;h++){var d=l++%u.length;c[d]=c[d]||[],c[d].push(new rr({shape:{cx:r.cx,cy:r.cy,r0:f,r:a[h].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),f=a[h].coord}for(var h=0;h<c.length;h++)t.add(Er(c[h],{style:ae({fill:u[h%u.length]},s.getAreaStyle()),silent:!0}))}}};function lne(t,e,r){return{position:[t.cx,t.cy],rotation:r/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}const cne=sne;function SD(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function CD(t,e){return e.dim+t.model.componentIndex}function fne(t,e,r){var n={},i=hne(Ne(e.getSeriesByType(t),function(a){return!e.isSeriesFiltered(a)&&a.coordinateSystem&&a.coordinateSystem.type==="polar"}));e.eachSeriesByType(t,function(a){if(a.coordinateSystem.type==="polar"){var o=a.getData(),s=a.coordinateSystem,u=s.getBaseAxis(),l=CD(s,u),c=SD(a),f=i[l][c],h=f.offset,d=f.width,p=s.getOtherAxis(u),v=a.coordinateSystem.cx,g=a.coordinateSystem.cy,m=a.get("barMinHeight")||0,y=a.get("barMinAngle")||0;n[c]=n[c]||[];for(var _=o.mapDimension(p.dim),b=o.mapDimension(u.dim),x=Hi(o,_),w=u.dim!=="radius"||!a.get("roundCap",!0),S=p.model,C=S.get("startValue"),A=p.dataToCoord(C||0),T=0,D=o.count();T<D;T++){var k=o.get(_,T),M=o.get(b,T),I=k>=0?"p":"n",N=A;x&&(n[c][M]||(n[c][M]={p:A,n:A}),N=n[c][M][I]);var L=void 0,O=void 0,P=void 0,R=void 0;if(p.dim==="radius"){var B=p.dataToCoord(k)-A,z=u.dataToCoord(M);Math.abs(B)<m&&(B=(B<0?-1:1)*m),L=N,O=N+B,P=z-h,R=P-d,x&&(n[c][M][I]=O)}else{var V=p.dataToCoord(k,w)-A,U=u.dataToCoord(M);Math.abs(V)<y&&(V=(V<0?-1:1)*y),L=U+h,O=L+d,P=N,R=N+V,x&&(n[c][M][I]=R)}o.setItemLayout(T,{cx:v,cy:g,r0:L,r:O,startAngle:-P*Math.PI/180,endAngle:-R*Math.PI/180,clockwise:P>=R})}}})}function hne(t){var e={};E(t,function(n,i){var a=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),u=CD(o,s),l=s.getExtent(),c=s.type==="category"?s.getBandWidth():Math.abs(l[1]-l[0])/a.count(),f=e[u]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=f.stacks;e[u]=f;var d=SD(n);h[d]||f.autoWidthCount++,h[d]=h[d]||{width:0,maxWidth:0};var p=W(n.get("barWidth"),c),v=W(n.get("barMaxWidth"),c),g=n.get("barGap"),m=n.get("barCategoryGap");p&&!h[d].width&&(p=Math.min(f.remainedWidth,p),h[d].width=p,f.remainedWidth-=p),v&&(h[d].maxWidth=v),g!=null&&(f.gap=g),m!=null&&(f.categoryGap=m)});var r={};return E(e,function(n,i){r[i]={};var a=n.stacks,o=n.bandWidth,s=W(n.categoryGap,o),u=W(n.gap,1),l=n.remainedWidth,c=n.autoWidthCount,f=(l-s)/(c+(c-1)*u);f=Math.max(f,0),E(a,function(v,g){var m=v.maxWidth;m&&m<f&&(m=Math.min(m,l),v.width&&(m=Math.min(m,v.width)),l-=m,v.width=m,c--)}),f=(l-s)/(c+(c-1)*u),f=Math.max(f,0);var h=0,d;E(a,function(v,g){v.width||(v.width=f),d=v,h+=v.width*(1+u)}),d&&(h-=d.width*u);var p=-h/2;E(a,function(v,g){r[i][g]=r[i][g]||{offset:p,width:v.width},p+=v.width*(1+u)})}),r}var dne={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},pne={splitNumber:5},vne=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="polar",e}(et);function gne(t){be(r1),bo.registerAxisPointerClass("PolarAxisPointer",Vre),t.registerCoordinateSystem("polar",ene),t.registerComponentModel(Gre),t.registerComponentView(vne),Ss(t,"angle",Hre,dne),Ss(t,"radius",Ure,pne),t.registerComponentView(ine),t.registerComponentView(cne),t.registerLayout(ve(fne,"bar"))}function g4(t,e){e=e||{};var r=t.coordinateSystem,n=t.axis,i={},a=n.position,o=n.orient,s=r.getRect(),u=[s.x,s.x+s.width,s.y,s.y+s.height],l={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};i.position=[o==="vertical"?l.vertical[a]:u[0],o==="horizontal"?l.horizontal[a]:u[3]];var c={horizontal:0,vertical:1};i.rotation=Math.PI/2*c[o];var f={top:-1,bottom:1,right:1,left:-1};i.labelDirection=i.tickDirection=i.nameDirection=f[a],t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),ut(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var h=e.rotate;return h==null&&(h=t.get(["axisLabel","rotate"])),i.labelRotation=a==="top"?-h:h,i.z2=1,i}var mne=["axisLine","axisTickLabel","axisName"],yne=["splitArea","splitLine"],_ne=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.axisPointerClass="SingleAxisPointer",r}return e.prototype.render=function(r,n,i,a){var o=this.group;o.removeAll();var s=this._axisGroup;this._axisGroup=new le;var u=g4(r),l=new jn(r,u);E(mne,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),E(yne,function(c){r.get([c,"show"])&&bne[c](this,this.group,this._axisGroup,r)},this),Hl(s,this._axisGroup,r),t.prototype.render.call(this,r,n,i,a)},e.prototype.remove=function(){HA(this)},e.type="singleAxis",e}(bo),bne={splitLine:function(t,e,r,n){var i=n.axis;if(!i.scale.isBlank()){var a=n.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=s instanceof Array?s:[s];for(var u=o.get("width"),l=n.coordinateSystem.getRect(),c=i.isHorizontal(),f=[],h=0,d=i.getTicksCoords({tickModel:a}),p=[],v=[],g=0;g<d.length;++g){var m=i.toGlobalCoord(d[g].coord);c?(p[0]=m,p[1]=l.y,v[0]=m,v[1]=l.y+l.height):(p[0]=l.x,p[1]=m,v[0]=l.x+l.width,v[1]=m);var y=new xt({shape:{x1:p[0],y1:p[1],x2:v[0],y2:v[1]},silent:!0});ys(y.shape,u);var _=h++%s.length;f[_]=f[_]||[],f[_].push(y)}for(var b=o.getLineStyle(["color"]),g=0;g<f.length;++g)e.add(Er(f[g],{style:ae({stroke:s[g%s.length]},b),silent:!0}))}},splitArea:function(t,e,r,n){GA(t,r,n,n)}};const xne=_ne;var AD=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(Ce);ft(AD,Zl.prototype);const vh=AD;var wne=function(t){F(e,t);function e(r,n,i,a,o){var s=t.call(this,r,n,i)||this;return s.type=a||"value",s.position=o||"bottom",s}return e.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},e.prototype.pointToData=function(r,n){return this.coordinateSystem.pointToData(r)[0]},e}(en);const Sne=wne;var TD=["single"],Cne=function(){function t(e,r,n){this.type="single",this.dimension="single",this.dimensions=TD,this.axisPointerEnabled=!0,this.model=e,this._init(e,r,n)}return t.prototype._init=function(e,r,n){var i=this.dimension,a=new Sne(i,F2(e),[0,0],e.get("type"),e.get("position")),o=a.type==="category";a.onBand=o&&e.get("boundaryGap"),a.inverse=e.get("inverse"),a.orient=e.get("orient"),e.axis=a,a.model=e,a.coordinateSystem=this,this._axis=a},t.prototype.update=function(e,r){e.eachSeries(function(n){if(n.coordinateSystem===this){var i=n.getData();E(i.mapDimensionsAll(this.dimension),function(a){this._axis.scale.unionExtentFromData(i,a)},this),xs(this._axis.scale,this._axis.model)}},this)},t.prototype.resize=function(e,r){this._rect=dt({left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var e=this._rect,r=this._axis,n=r.isHorizontal(),i=n?[0,e.width]:[0,e.height],a=r.inverse?1:0;r.setExtent(i[a],i[1-a]),this._updateAxisTransform(r,n?e.x:e.y)},t.prototype._updateAxisTransform=function(e,r){var n=e.getExtent(),i=n[0]+n[1],a=e.isHorizontal();e.toGlobalCoord=a?function(o){return o+r}:function(o){return i-o+r},e.toLocalCoord=a?function(o){return o-r}:function(o){return i-o+r}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(e){var r=this.getRect(),n=this.getAxis(),i=n.orient;return i==="horizontal"?n.contain(n.toLocalCoord(e[0]))&&e[1]>=r.y&&e[1]<=r.y+r.height:n.contain(n.toLocalCoord(e[1]))&&e[0]>=r.y&&e[0]<=r.y+r.height},t.prototype.pointToData=function(e){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(e[r.orient==="horizontal"?0:1]))]},t.prototype.dataToPoint=function(e){var r=this.getAxis(),n=this.getRect(),i=[],a=r.orient==="horizontal"?0:1;return e instanceof Array&&(e=e[0]),i[a]=r.toGlobalCoord(r.dataToCoord(+e)),i[1-a]=a===0?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(e,r,n){var i=Um(r);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,r,n){var i=Um(r);return i===this?this.pointToData(n):null},t}();function Um(t){var e=t.seriesModel,r=t.singleAxisModel;return r&&r.coordinateSystem||e&&e.coordinateSystem}function Ane(t,e){var r=[];return t.eachComponent("singleAxis",function(n,i){var a=new Cne(n,t,e);a.name="single_"+i,a.resize(n,e),n.coordinateSystem=a,r.push(a)}),t.eachSeries(function(n){if(n.get("coordinateSystem")==="singleAxis"){var i=n.getReferringComponents("singleAxis",lt).models[0];n.coordinateSystem=i&&i.coordinateSystem}}),r}var Tne={create:Ane,dimensions:TD};const Dne=Tne;var Wm=["x","y"],Ene=["width","height"],kne=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,u=s.coordinateSystem,l=gh(u,1-Vc(s)),c=u.dataToPoint(n)[0],f=a.get("type");if(f&&f!=="none"){var h=U7(a),d=Mne[f](s,c,l);d.style=h,r.graphicKey=d.type,r.pointer=d}var p=g4(i);yD(n,r,p,i,a,o)},e.prototype.getHandleTransform=function(r,n,i){var a=g4(n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=W7(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.coordinateSystem,u=Vc(o),l=gh(s,u),c=[r.x,r.y];c[u]+=n[u],c[u]=Math.min(l[1],c[u]),c[u]=Math.max(l[0],c[u]);var f=gh(s,1-u),h=(f[1]+f[0])/2,d=[h,h];return d[u]=c[u],{x:c[0],y:c[1],rotation:r.rotation,cursorPoint:d,tooltipOption:{verticalAlign:"middle"}}},e}(H7),Mne={line:function(t,e,r){var n=q7([e,r[0]],[e,r[1]],Vc(t));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(t,e,r){var n=t.getBandWidth(),i=r[1]-r[0];return{type:"Rect",shape:_D([e-n/2,r[0]],[n,i],Vc(t))}}};function Vc(t){return t.isHorizontal()?0:1}function gh(t,e){var r=t.getRect();return[r[Wm[e]],r[Wm[e]]+r[Ene[e]]]}const Lne=kne;var Ine=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="single",e}(et);function Pne(t){be(r1),bo.registerAxisPointerClass("SingleAxisPointer",Lne),t.registerComponentView(Ine),t.registerComponentView(xne),t.registerComponentModel(vh),Ss(t,"single",vh,vh.defaultOption),t.registerCoordinateSystem("single",Dne)}var Rne=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r,n,i){var a=Bs(r);t.prototype.init.apply(this,arguments),qm(r,a)},e.prototype.mergeOption=function(r){t.prototype.mergeOption.apply(this,arguments),qm(this.option,r)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(Ce);function qm(t,e){var r=t.cellSize,n;G(r)?n=r:n=t.cellSize=[r,r],n.length===1&&(n[1]=n[0]);var i=H([0,1],function(a){return O$(e,a)&&(n[a]="auto"),n[a]!=null&&n[a]!=="auto"});Gi(t,e,{type:"box",ignoreSize:i})}const Nne=Rne;var One=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){var a=this.group;a.removeAll();var o=r.coordinateSystem,s=o.getRangeInfo(),u=o.getOrient(),l=n.getLocaleModel();this._renderDayRect(r,s,a),this._renderLines(r,s,u,a),this._renderYearText(r,s,u,a),this._renderMonthText(r,l,u,a),this._renderWeekText(r,l,s,u,a)},e.prototype._renderDayRect=function(r,n,i){for(var a=r.coordinateSystem,o=r.getModel("itemStyle").getItemStyle(),s=a.getCellWidth(),u=a.getCellHeight(),l=n.start.time;l<=n.end.time;l=a.getNextNDay(l,1).time){var c=a.dataToRect([l],!1).tl,f=new Ee({shape:{x:c[0],y:c[1],width:s,height:u},cursor:"default",style:o});i.add(f)}},e.prototype._renderLines=function(r,n,i,a){var o=this,s=r.coordinateSystem,u=r.getModel(["splitLine","lineStyle"]).getLineStyle(),l=r.get(["splitLine","show"]),c=u.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var f=n.start,h=0;f.time<=n.end.time;h++){p(f.formatedDate),h===0&&(f=s.getDateInfo(n.start.y+"-"+n.start.m));var d=f.date;d.setMonth(d.getMonth()+1),f=s.getDateInfo(d)}p(s.getNextNDay(n.end.time,1).formatedDate);function p(v){o._firstDayOfMonth.push(s.getDateInfo(v)),o._firstDayPoints.push(s.dataToRect([v],!1).tl);var g=o._getLinePointsOfOneWeek(r,v,i);o._tlpoints.push(g[0]),o._blpoints.push(g[g.length-1]),l&&o._drawSplitline(g,u,a)}l&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,c,i),u,a),l&&this._drawSplitline(o._getEdgesPoints(o._blpoints,c,i),u,a)},e.prototype._getEdgesPoints=function(r,n,i){var a=[r[0].slice(),r[r.length-1].slice()],o=i==="horizontal"?0:1;return a[0][o]=a[0][o]-n/2,a[1][o]=a[1][o]+n/2,a},e.prototype._drawSplitline=function(r,n,i){var a=new ar({z2:20,shape:{points:r},style:n});i.add(a)},e.prototype._getLinePointsOfOneWeek=function(r,n,i){for(var a=r.coordinateSystem,o=a.getDateInfo(n),s=[],u=0;u<7;u++){var l=a.getNextNDay(o.time,u),c=a.dataToRect([l.time],!1);s[2*l.day]=c.tl,s[2*l.day+1]=c[i==="horizontal"?"bl":"tr"]}return s},e.prototype._formatterLabel=function(r,n){return Z(r)&&r?P$(r,n):te(r)?r(n):n.nameMap},e.prototype._yearTextPositionControl=function(r,n,i,a,o){var s=n[0],u=n[1],l=["center","bottom"];a==="bottom"?(u+=o,l=["center","top"]):a==="left"?s-=o:a==="right"?(s+=o,l=["center","top"]):u-=o;var c=0;return(a==="left"||a==="right")&&(c=Math.PI/2),{rotation:c,x:s,y:u,style:{align:l[0],verticalAlign:l[1]}}},e.prototype._renderYearText=function(r,n,i,a){var o=r.getModel("yearLabel");if(o.get("show")){var s=o.get("margin"),u=o.get("position");u||(u=i!=="horizontal"?"top":"left");var l=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(l[0][0]+l[1][0])/2,f=(l[0][1]+l[1][1])/2,h=i==="horizontal"?0:1,d={top:[c,l[h][1]],bottom:[c,l[1-h][1]],left:[l[1-h][0],f],right:[l[h][0],f]},p=n.start.y;+n.end.y>+n.start.y&&(p=p+"-"+n.end.y);var v=o.get("formatter"),g={start:n.start.y,end:n.end.y,nameMap:p},m=this._formatterLabel(v,g),y=new ke({z2:30,style:Ue(o,{text:m}),silent:o.get("silent")});y.attr(this._yearTextPositionControl(y,d[u],i,u,s)),a.add(y)}},e.prototype._monthTextPositionControl=function(r,n,i,a,o){var s="left",u="top",l=r[0],c=r[1];return i==="horizontal"?(c=c+o,n&&(s="center"),a==="start"&&(u="bottom")):(l=l+o,n&&(u="middle"),a==="start"&&(s="right")),{x:l,y:c,align:s,verticalAlign:u}},e.prototype._renderMonthText=function(r,n,i,a){var o=r.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),u=o.get("margin"),l=o.get("position"),c=o.get("align"),f=[this._tlpoints,this._blpoints];(!s||Z(s))&&(s&&(n=Td(s)||n),s=n.get(["time","monthAbbr"])||[]);var h=l==="start"?0:1,d=i==="horizontal"?0:1;u=l==="start"?-u:u;for(var p=c==="center",v=o.get("silent"),g=0;g<f[h].length-1;g++){var m=f[h][g].slice(),y=this._firstDayOfMonth[g];if(p){var _=this._firstDayPoints[g];m[d]=(_[d]+f[0][g+1][d])/2}var b=o.get("formatter"),x=s[+y.m-1],w={yyyy:y.y,yy:(y.y+"").slice(2),MM:y.m,M:+y.m,nameMap:x},S=this._formatterLabel(b,w),C=new ke({z2:30,style:$(Ue(o,{text:S}),this._monthTextPositionControl(m,p,i,l,u)),silent:v});a.add(C)}}},e.prototype._weekTextPositionControl=function(r,n,i,a,o){var s="center",u="middle",l=r[0],c=r[1],f=i==="start";return n==="horizontal"?(l=l+a+(f?1:-1)*o[0]/2,s=f?"right":"left"):(c=c+a+(f?1:-1)*o[1]/2,u=f?"bottom":"top"),{x:l,y:c,align:s,verticalAlign:u}},e.prototype._renderWeekText=function(r,n,i,a,o){var s=r.getModel("dayLabel");if(s.get("show")){var u=r.coordinateSystem,l=s.get("position"),c=s.get("nameMap"),f=s.get("margin"),h=u.getFirstDayOfWeek();if(!c||Z(c)){c&&(n=Td(c)||n);var d=n.get(["time","dayOfWeekShort"]);c=d||H(n.get(["time","dayOfWeekAbbr"]),function(w){return w[0]})}var p=u.getNextNDay(i.end.time,7-i.lweek).time,v=[u.getCellWidth(),u.getCellHeight()];f=W(f,Math.min(v[1],v[0])),l==="start"&&(p=u.getNextNDay(i.start.time,-(7+i.fweek)).time,f=-f);for(var g=s.get("silent"),m=0;m<7;m++){var y=u.getNextNDay(p,m),_=u.dataToRect([y.time],!1).center,b=m;b=Math.abs((m+h)%7);var x=new ke({z2:30,style:$(Ue(s,{text:c[b]}),this._weekTextPositionControl(_,a,l,f,v)),silent:g});o.add(x)}}},e.type="calendar",e}(et);const Bne=One;var mh=864e5,Fne=function(){function t(e,r,n){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(e){e=Sn(e);var r=e.getFullYear(),n=e.getMonth()+1,i=n<10?"0"+n:""+n,a=e.getDate(),o=a<10?"0"+a:""+a,s=e.getDay();return s=Math.abs((s+7-this.getFirstDayOfWeek())%7),{y:r+"",m:i,d:o,day:s,time:e.getTime(),formatedDate:r+"-"+i+"-"+o,date:e}},t.prototype.getNextNDay=function(e,r){return r=r||0,r===0?this.getDateInfo(e):(e=new Date(this.getDateInfo(e).time),e.setDate(e.getDate()+r),this.getDateInfo(e))},t.prototype.update=function(e,r){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,i=["width","height"],a=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),s=this._orient==="horizontal"?[n,7]:[7,n];E([0,1],function(f){c(a,f)&&(o[i[f]]=a[f]*s[f])});var u={width:r.getWidth(),height:r.getHeight()},l=this._rect=dt(o,u);E([0,1],function(f){c(a,f)||(a[f]=l[i[f]]/s[f])});function c(f,h){return f[h]!=null&&f[h]!=="auto"}this._sw=a[0],this._sh=a[1]},t.prototype.dataToPoint=function(e,r){G(e)&&(e=e[0]),r==null&&(r=!0);var n=this.getDateInfo(e),i=this._rangeInfo,a=n.formatedDate;if(r&&!(n.time>=i.start.time&&n.time<i.end.time+mh))return[NaN,NaN];var o=n.day,s=this._getRangeInfo([i.start.time,a]).nthWeek;return this._orient==="vertical"?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+s*this._sh+this._sh/2]:[this._rect.x+s*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},t.prototype.pointToData=function(e){var r=this.pointToDate(e);return r&&r.time},t.prototype.dataToRect=function(e,r){var n=this.dataToPoint(e,r);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(e){var r=Math.floor((e[0]-this._rect.x)/this._sw)+1,n=Math.floor((e[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(n,r-1,i):this._getDateByWeeksAndDay(r,n-1,i)},t.prototype.convertToPixel=function(e,r,n){var i=Zm(r);return i===this?i.dataToPoint(n):null},t.prototype.convertFromPixel=function(e,r,n){var i=Zm(r);return i===this?i.pointToData(n):null},t.prototype.containPoint=function(e){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var e=this._model.get("range"),r;if(G(e)&&e.length===1&&(e=e[0]),G(e))r=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(r=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var i=this.getDateInfo(n),a=i.date;a.setMonth(a.getMonth()+1);var o=this.getNextNDay(a,-1);r=[i.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(r=[n,n])}if(!r)return process.env.NODE_ENV!=="production"&&Zr("Invalid date range."),e;var s=this._getRangeInfo(r);return s.start.time>s.end.time&&r.reverse(),r},t.prototype._getRangeInfo=function(e){var r=[this.getDateInfo(e[0]),this.getDateInfo(e[1])],n;r[0].time>r[1].time&&(n=!0,r.reverse());var i=Math.floor(r[1].time/mh)-Math.floor(r[0].time/mh)+1,a=new Date(r[0].time),o=a.getDate(),s=r[1].date.getDate();a.setDate(o+i-1);var u=a.getDate();if(u!==s)for(var l=a.getTime()-r[1].time>0?1:-1;(u=a.getDate())!==s&&(a.getTime()-r[1].time)*l>0;)i-=l,a.setDate(u-l);var c=Math.floor((i+r[0].day+6)/7),f=n?-c+1:c-1;return n&&r.reverse(),{range:[r[0].formatedDate,r[1].formatedDate],start:r[0],end:r[1],allDay:i,weeks:c,nthWeek:f,fweek:r[0].day,lweek:r[1].day}},t.prototype._getDateByWeeksAndDay=function(e,r,n){var i=this._getRangeInfo(n);if(e>i.weeks||e===0&&r<i.fweek||e===i.weeks&&r>i.lweek)return null;var a=(e-1)*7-i.fweek+r,o=new Date(i.start.time);return o.setDate(+i.start.d+a),this.getDateInfo(o)},t.create=function(e,r){var n=[];return e.eachComponent("calendar",function(i){var a=new t(i);n.push(a),i.coordinateSystem=a}),e.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=n[i.get("calendarIndex")||0])}),n},t.dimensions=["time","value"],t}();function Zm(t){var e=t.calendarModel,r=t.seriesModel,n=e?e.coordinateSystem:r?r.coordinateSystem:null;return n}const zne=Fne;function Vne(t){t.registerComponentModel(Nne),t.registerComponentView(Bne),t.registerCoordinateSystem("calendar",zne)}function $ne(t,e){var r=t.existing;if(e.id=t.keyInfo.id,!e.type&&r&&(e.type=r.type),e.parentId==null){var n=e.parentOption;n?e.parentId=n.id:r&&(e.parentId=r.parentId)}e.parentOption=null}function Ym(t,e){var r;return E(e,function(n){t[n]!=null&&t[n]!=="auto"&&(r=!0)}),r}function Gne(t,e,r){var n=$({},r),i=t[e],a=r.$action||"merge";if(a==="merge")if(i){if(process.env.NODE_ENV!=="production"){var o=r.type;ie(!o||i.type===o,'Please set $action: "replace" to change `type`')}ge(i,n,!0),Gi(i,n,{ignoreSize:!0}),lS(r,i),d0(r,i),d0(r,i,"shape"),d0(r,i,"style"),d0(r,i,"extra"),r.clipPath=i.clipPath}else t[e]=n;else a==="replace"?t[e]=n:a==="remove"&&i&&(t[e]=null)}var DD=["transition","enterFrom","leaveTo"],Hne=DD.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function d0(t,e,r){if(r&&(!t[r]&&e[r]&&(t[r]={}),t=t[r],e=e[r]),!(!t||!e))for(var n=r?DD:Hne,i=0;i<n.length;i++){var a=n[i];t[a]==null&&e[a]!=null&&(t[a]=e[a])}}function Une(t,e){if(t&&(t.hv=e.hv=[Ym(e,["left","right"]),Ym(e,["top","bottom"])],t.type==="group")){var r=t,n=e;r.width==null&&(r.width=n.width=0),r.height==null&&(r.height=n.height=0)}}var Wne=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.preventAutoZ=!0,r}return e.prototype.mergeOption=function(r,n){var i=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,r,n),this.option.elements=i},e.prototype.optionUpdated=function(r,n){var i=this.option,a=(n?i:r).elements,o=i.elements=n?[]:i.elements,s=[];this._flatten(a,s,null);var u=qx(o,s,"normalMerge"),l=this._elOptionsToUpdate=[];E(u,function(c,f){var h=c.newOption;process.env.NODE_ENV!=="production"&&ie(ne(h)||c.existing,"Empty graphic option definition"),h&&(l.push(h),$ne(c,h),Gne(o,f,h),Une(o[f],h))},this),i.elements=Ne(o,function(c){return c&&delete c.$action,c!=null})},e.prototype._flatten=function(r,n,i){E(r,function(a){if(a){i&&(a.parentOption=i),n.push(a);var o=a.children;o&&o.length&&this._flatten(o,n,a),delete a.children}},this)},e.prototype.useElOptionsToUpdate=function(){var r=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,r},e.type="graphic",e.defaultOption={elements:[]},e}(Ce),Xm={path:null,compoundPath:null,group:le,image:Lt,text:ke},Ar=Ae(),qne=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(){this._elMap=J()},e.prototype.render=function(r,n,i){r!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=r,this._updateElements(r),this._relocate(r,i)},e.prototype._updateElements=function(r){var n=r.useElOptionsToUpdate();if(n){var i=this._elMap,a=this.group,o=r.get("z"),s=r.get("zlevel");E(n,function(u){var l=ht(u.id,null),c=l!=null?i.get(l):null,f=ht(u.parentId,null),h=f!=null?i.get(f):a,d=u.type,p=u.style;d==="text"&&p&&u.hv&&u.hv[1]&&(p.textVerticalAlign=p.textBaseline=p.verticalAlign=p.align=null);var v=u.textContent,g=u.textConfig;if(p&&aD(p,d,!!g,!!v)){var m=oD(p,d,!0);!g&&m.textConfig&&(g=u.textConfig=m.textConfig),!v&&m.textContent&&(v=m.textContent)}var y=Zne(u);process.env.NODE_ENV!=="production"&&c&&ie(h===c.parent,"Changing parent is not supported.");var _=u.$action||"merge",b=_==="merge",x=_==="replace";if(b){var w=!c,S=c;w?S=jm(l,h,u.type,i):(S&&(Ar(S).isNew=!1),fD(S)),S&&(F0(S,y,r,{isInit:w}),Km(S,u,o,s))}else if(x){V0(c,u,i,r);var C=jm(l,h,u.type,i);C&&(F0(C,y,r,{isInit:!0}),Km(C,u,o,s))}else _==="remove"&&(uD(c,u),V0(c,u,i,r));var A=i.get(l);if(A&&v)if(b){var T=A.getTextContent();T?T.attr(v):A.setTextContent(new ke(v))}else x&&A.setTextContent(new ke(v));if(A){var D=u.clipPath;if(D){var k=D.type,M=void 0,w=!1;if(b){var I=A.getClipPath();w=!I||Ar(I).type!==k,M=w?m4(k):I}else x&&(w=!0,M=m4(k));A.setClipPath(M),F0(M,D,r,{isInit:w}),Bc(M,D.keyframeAnimation,r)}var N=Ar(A);A.setTextConfig(g),N.option=u,Yne(A,r,u),po({el:A,componentModel:r,itemName:A.name,itemTooltipOption:u.tooltip}),Bc(A,u.keyframeAnimation,r)}})}},e.prototype._relocate=function(r,n){for(var i=r.option.elements,a=this.group,o=this._elMap,s=n.getWidth(),u=n.getHeight(),l=["x","y"],c=0;c<i.length;c++){var f=i[c],h=ht(f.id,null),d=h!=null?o.get(h):null;if(!(!d||!d.isGroup)){var p=d.parent,v=p===a,g=Ar(d),m=Ar(p);g.width=W(g.option.width,v?s:m.width)||0,g.height=W(g.option.height,v?u:m.height)||0}}for(var c=i.length-1;c>=0;c--){var f=i[c],h=ht(f.id,null),d=h!=null?o.get(h):null;if(d){var p=d.parent,m=Ar(p),y=p===a?{width:s,height:u}:{width:m.width,height:m.height},_={},b=k2(d,f,y,null,{hv:f.hv,boundingMode:f.bounding},_);if(!Ar(d).isNew&&b){for(var x=f.transition,w={},S=0;S<l.length;S++){var C=l[S],A=_[C];x&&(Ja(x)||_e(x,C)>=0)?w[C]=A:d[C]=A}Ie(d,w,r,0)}else d.attr(_)}}},e.prototype._clear=function(){var r=this,n=this._elMap;n.each(function(i){V0(i,Ar(i).option,n,r._lastGraphicModel)}),this._elMap=J()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(et);function m4(t){process.env.NODE_ENV!=="production"&&ie(t,"graphic type MUST be set");var e=j(Xm,t)?Xm[t]:A5(t);process.env.NODE_ENV!=="production"&&ie(e,"graphic type "+t+" can not be found");var r=new e({});return Ar(r).type=t,r}function jm(t,e,r,n){var i=m4(r);return e.add(i),n.set(t,i),Ar(i).id=t,Ar(i).isNew=!0,i}function V0(t,e,r,n){var i=t&&t.parent;i&&(t.type==="group"&&t.traverse(function(a){V0(a,e,r,n)}),W2(t,e,n),r.removeKey(Ar(t).id))}function Km(t,e,r,n){t.isGroup||E([["cursor",Rr.prototype.cursor],["zlevel",n||0],["z",r||0],["z2",0]],function(i){var a=i[0];j(e,a)?t[a]=fe(e[a],i[1]):t[a]==null&&(t[a]=i[1])}),E(Se(e),function(i){if(i.indexOf("on")===0){var a=e[i];t[i]=te(a)?a:null}}),j(e,"draggable")&&(t.draggable=e.draggable),e.name!=null&&(t.name=e.name),e.id!=null&&(t.id=e.id)}function Zne(t){return t=$({},t),E(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(uS),function(e){delete t[e]}),t}function Yne(t,e,r){var n=ce(t).eventData;!t.silent&&!t.ignore&&!n&&(n=ce(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),n&&(n.info=r.info)}function Xne(t){t.registerComponentModel(Wne),t.registerComponentView(qne),t.registerPreprocessor(function(e){var r=e.graphic;G(r)?!r[0]||!r[0].elements?e.graphic=[{elements:r}]:e.graphic=[e.graphic[0]]:r&&!r.elements&&(e.graphic=[{elements:[r]}])})}var Qm=["x","y","radius","angle","single"],jne=["cartesian2d","polar","singleAxis"];function Kne(t){var e=t.get("coordinateSystem");return _e(jne,e)>=0}function Li(t){return process.env.NODE_ENV!=="production"&&ie(t),t+"Axis"}function Qne(t,e){var r=J(),n=[],i=J();t.eachComponent({mainType:"dataZoom",query:e},function(c){i.get(c.uid)||s(c)});var a;do a=!1,t.eachComponent("dataZoom",o);while(a);function o(c){!i.get(c.uid)&&u(c)&&(s(c),a=!0)}function s(c){i.set(c.uid,!0),n.push(c),l(c)}function u(c){var f=!1;return c.eachTargetAxis(function(h,d){var p=r.get(h);p&&p[d]&&(f=!0)}),f}function l(c){c.eachTargetAxis(function(f,h){(r.get(f)||r.set(f,[]))[h]=!0})}return n}function ED(t){var e=t.ecModel,r={infoList:[],infoMap:J()};return t.eachTargetAxis(function(n,i){var a=e.getComponent(Li(n),i);if(a){var o=a.getCoordSysModel();if(o){var s=o.uid,u=r.infoMap.get(s);u||(u={model:o,axisModels:[]},r.infoList.push(u),r.infoMap.set(s,u)),u.axisModels.push(a)}}}),r}var yh=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(e){this.indexMap[e]||(this.indexList.push(e),this.indexMap[e]=!0)},t}(),Jne=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._autoThrottle=!0,r._noTarget=!0,r._rangePropMode=["percent","percent"],r}return e.prototype.init=function(r,n,i){var a=Jm(r);this.settledOption=a,this.mergeDefaultAndTheme(r,i),this._doInit(a)},e.prototype.mergeOption=function(r){var n=Jm(r);ge(this.option,r,!0),ge(this.settledOption,n,!0),this._doInit(n)},e.prototype._doInit=function(r){var n=this.option;this._setDefaultThrottle(r),this._updateRangeUse(r);var i=this.settledOption;E([["start","startValue"],["end","endValue"]],function(a,o){this._rangePropMode[o]==="value"&&(n[a[0]]=i[a[0]]=null)},this),this._resetTarget()},e.prototype._resetTarget=function(){var r=this.get("orient",!0),n=this._targetAxisInfoMap=J(),i=this._fillSpecifiedTargetAxis(n);i?this._orient=r||this._makeAutoOrientByTargetAxis():(this._orient=r||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(a){a.indexList.length&&(this._noTarget=!1)},this)},e.prototype._fillSpecifiedTargetAxis=function(r){var n=!1;return E(Qm,function(i){var a=this.getReferringComponents(Li(i),dz);if(a.specified){n=!0;var o=new yh;E(a.models,function(s){o.add(s.componentIndex)}),r.set(i,o)}},this),n},e.prototype._fillAutoTargetAxisByOrient=function(r,n){var i=this.ecModel,a=!0;if(a){var o=n==="vertical"?"y":"x",s=i.findComponents({mainType:o+"Axis"});u(s,o)}if(a){var s=i.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===n}});u(s,"single")}function u(l,c){var f=l[0];if(f){var h=new yh;if(h.add(f.componentIndex),r.set(c,h),a=!1,c==="x"||c==="y"){var d=f.getReferringComponents("grid",lt).models[0];d&&E(l,function(p){f.componentIndex!==p.componentIndex&&d===p.getReferringComponents("grid",lt).models[0]&&h.add(p.componentIndex)})}}}a&&E(Qm,function(l){if(a){var c=i.findComponents({mainType:Li(l),filter:function(h){return h.get("type",!0)==="category"}});if(c[0]){var f=new yh;f.add(c[0].componentIndex),r.set(l,f),a=!1}}},this)},e.prototype._makeAutoOrientByTargetAxis=function(){var r;return this.eachTargetAxis(function(n){!r&&(r=n)},this),r==="y"?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(r){if(r.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var n=this.ecModel.option;this.option.throttle=n.animation&&n.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(r){var n=this._rangePropMode,i=this.get("rangeMode");E([["start","startValue"],["end","endValue"]],function(a,o){var s=r[a[0]]!=null,u=r[a[1]]!=null;s&&!u?n[o]="percent":!s&&u?n[o]="value":i?n[o]=i[o]:s&&(n[o]="percent")})},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var r;return this.eachTargetAxis(function(n,i){r==null&&(r=this.ecModel.getComponent(Li(n),i))},this),r},e.prototype.eachTargetAxis=function(r,n){this._targetAxisInfoMap.each(function(i,a){E(i.indexList,function(o){r.call(n,a,o)})})},e.prototype.getAxisProxy=function(r,n){var i=this.getAxisModel(r,n);if(i)return i.__dzAxisProxy},e.prototype.getAxisModel=function(r,n){process.env.NODE_ENV!=="production"&&ie(r&&n!=null);var i=this._targetAxisInfoMap.get(r);if(i&&i.indexMap[n])return this.ecModel.getComponent(Li(r),n)},e.prototype.setRawRange=function(r){var n=this.option,i=this.settledOption;E([["start","startValue"],["end","endValue"]],function(a){(r[a[0]]!=null||r[a[1]]!=null)&&(n[a[0]]=i[a[0]]=r[a[0]],n[a[1]]=i[a[1]]=r[a[1]])},this),this._updateRangeUse(r)},e.prototype.setCalculatedRange=function(r){var n=this.option;E(["start","startValue","end","endValue"],function(i){n[i]=r[i]})},e.prototype.getPercentRange=function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},e.prototype.getValueRange=function(r,n){if(r==null&&n==null){var i=this.findRepresentativeAxisProxy();if(i)return i.getDataValueWindow()}else return this.getAxisProxy(r,n).getDataValueWindow()},e.prototype.findRepresentativeAxisProxy=function(r){if(r)return r.__dzAxisProxy;for(var n,i=this._targetAxisInfoMap.keys(),a=0;a<i.length;a++)for(var o=i[a],s=this._targetAxisInfoMap.get(o),u=0;u<s.indexList.length;u++){var l=this.getAxisProxy(o,s.indexList[u]);if(l.hostedBy(this))return l;n||(n=l)}return n},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return process.env.NODE_ENV!=="production"&&ie(this._orient),this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(Ce);function Jm(t){var e={};return E(["start","end","startValue","endValue","throttle"],function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e}const Il=Jne;var eie=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="dataZoom.select",e}(Il);const tie=eie;var rie=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i,a){this.dataZoomModel=r,this.ecModel=n,this.api=i},e.type="dataZoom",e}(et);const j7=rie;var nie=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="dataZoom.select",e}(j7);const iie=nie;var Jo=E,ey=Mr,aie=function(){function t(e,r,n,i){this._dimName=e,this._axisIndex=r,this.ecModel=i,this._dataZoomModel=n}return t.prototype.hostedBy=function(e){return this._dataZoomModel===e},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var e=[];return this.ecModel.eachSeries(function(r){if(Kne(r)){var n=Li(this._dimName),i=r.getReferringComponents(n,lt).models[0];i&&this._axisIndex===i.componentIndex&&e.push(r)}},this),e},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return oe(this._minMaxSpan)},t.prototype.calculateDataWindow=function(e){var r=this._dataExtent,n=this.getAxisModel(),i=n.axis.scale,a=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],u=[],l;Jo(["start","end"],function(h,d){var p=e[h],v=e[h+"Value"];a[d]==="percent"?(p==null&&(p=o[d]),v=i.parse(Be(p,o,r))):(l=!0,v=v==null?r[d]:i.parse(v),p=Be(v,r,o)),u[d]=v==null||isNaN(v)?r[d]:v,s[d]=p==null||isNaN(p)?o[d]:p}),ey(u),ey(s);var c=this._minMaxSpan;l?f(u,s,r,o,!1):f(s,u,o,r,!0);function f(h,d,p,v,g){var m=g?"Span":"ValueSpan";xo(0,h,p,"all",c["min"+m],c["max"+m]);for(var y=0;y<2;y++)d[y]=Be(h[y],p,v,!0),g&&(d[y]=i.parse(d[y]))}return{valueWindow:u,percentWindow:s}},t.prototype.reset=function(e){if(e===this._dataZoomModel){var r=this.getTargetSeriesModels();this._dataExtent=oie(this,this._dimName,r),this._updateMinMaxSpan();var n=this.calculateDataWindow(e.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(e,r){if(e!==this._dataZoomModel)return;var n=this._dimName,i=this.getTargetSeriesModels(),a=e.get("filterMode"),o=this._valueWindow;if(a==="none")return;Jo(i,function(u){var l=u.getData(),c=l.mapDimensionsAll(n);if(c.length){if(a==="weakFilter"){var f=l.getStore(),h=H(c,function(d){return l.getDimensionIndex(d)},l);l.filterSelf(function(d){for(var p,v,g,m=0;m<c.length;m++){var y=f.get(h[m],d),_=!isNaN(y),b=y<o[0],x=y>o[1];if(_&&!b&&!x)return!0;_&&(g=!0),b&&(p=!0),x&&(v=!0)}return g&&p&&v})}else Jo(c,function(d){if(a==="empty")u.setData(l=l.map(d,function(v){return s(v)?v:NaN}));else{var p={};p[d]=o,l.selectRange(p)}});Jo(c,function(d){l.setApproximateExtent(o,d)})}});function s(u){return u>=o[0]&&u<=o[1]}},t.prototype._updateMinMaxSpan=function(){var e=this._minMaxSpan={},r=this._dataZoomModel,n=this._dataExtent;Jo(["min","max"],function(i){var a=r.get(i+"Span"),o=r.get(i+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?a=Be(n[0]+o,n,[0,100],!0):a!=null&&(o=Be(a,[0,100],n,!0)-n[0]),e[i+"Span"]=a,e[i+"ValueSpan"]=o},this)},t.prototype._setAxisModel=function(){var e=this.getAxisModel(),r=this._percentWindow,n=this._valueWindow;if(r){var i=zx(n,[0,500]);i=Math.min(i,20);var a=e.axis.scale.rawExtentInfo;r[0]!==0&&a.setDeterminedMinMax("min",+n[0].toFixed(i)),r[1]!==100&&a.setDeterminedMinMax("max",+n[1].toFixed(i)),a.freeze()}},t}();function oie(t,e,r){var n=[1/0,-1/0];Jo(r,function(o){kW(n,o.getData(),e)});var i=t.getAxisModel(),a=$C(i.axis.scale,i,n).calculate();return[a.min,a.max]}const sie=aie;var uie={getTargetSeries:function(t){function e(i){t.eachComponent("dataZoom",function(a){a.eachTargetAxis(function(o,s){var u=t.getComponent(Li(o),s);i(o,s,u,a)})})}e(function(i,a,o,s){o.__dzAxisProxy=null});var r=[];e(function(i,a,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new sie(i,a,s,t),r.push(o.__dzAxisProxy))});var n=J();return E(r,function(i){E(i.getTargetSeriesModels(),function(a){n.set(a.uid,a)})}),n},overallReset:function(t,e){t.eachComponent("dataZoom",function(r){r.eachTargetAxis(function(n,i){r.getAxisProxy(n,i).reset(r)}),r.eachTargetAxis(function(n,i){r.getAxisProxy(n,i).filterData(r,e)})}),t.eachComponent("dataZoom",function(r){var n=r.findRepresentativeAxisProxy();if(n){var i=n.getDataPercentWindow(),a=n.getDataValueWindow();r.setCalculatedRange({start:i[0],end:i[1],startValue:a[0],endValue:a[1]})}})}};const lie=uie;function cie(t){t.registerAction("dataZoom",function(e,r){var n=Qne(r,e);E(n,function(i){i.setRawRange({start:e.start,end:e.end,startValue:e.startValue,endValue:e.endValue})})})}var ty=!1;function K7(t){ty||(ty=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,lie),cie(t),t.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function fie(t){t.registerComponentModel(tie),t.registerComponentView(iie),K7(t)}var Dr=function(){function t(){}return t}(),kD={};function es(t,e){kD[t]=e}function MD(t){return kD[t]}var hie=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var r=this.ecModel;E(this.option.feature,function(n,i){var a=MD(i);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(r)),ge(n,a.defaultOption))})},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(Ce);const die=hie;function pie(t,e,r){var n=e.getBoxLayoutParams(),i=e.get("padding"),a={width:r.getWidth(),height:r.getHeight()},o=dt(n,a,i);ja(e.get("orient"),t,e.get("itemGap"),o.width,o.height),k2(t,n,a,i)}function LD(t,e){var r=Os(e.get("padding")),n=e.getItemStyle(["color","opacity"]);return n.fill=e.get("backgroundColor"),t=new Ee({shape:{x:t.x-r[3],y:t.y-r[0],width:t.width+r[1]+r[3],height:t.height+r[0]+r[2],r:e.get("borderRadius")},style:n,silent:!0,z2:-1}),t}var vie=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(r,n,i,a){var o=this.group;if(o.removeAll(),!r.get("show"))return;var s=+r.get("itemSize"),u=r.get("orient")==="vertical",l=r.get("feature")||{},c=this._features||(this._features={}),f=[];E(l,function(p,v){f.push(v)}),new Xn(this._featureNames||[],f).add(h).update(h).remove(ve(h,null)).execute(),this._featureNames=f;function h(p,v){var g=f[p],m=f[v],y=l[g],_=new We(y,r,r.ecModel),b;if(a&&a.newTitle!=null&&a.featureName===g&&(y.title=a.newTitle),g&&!m){if(gie(g))b={onclick:_.option.onclick,featureName:g};else{var x=MD(g);if(!x)return;b=new x}c[g]=b}else if(b=c[m],!b)return;b.uid=Ns("toolbox-feature"),b.model=_,b.ecModel=n,b.api=i;var w=b instanceof Dr;if(!g&&m){w&&b.dispose&&b.dispose(n,i);return}if(!_.get("show")||w&&b.unusable){w&&b.remove&&b.remove(n,i);return}d(_,b,g),_.setIconStatus=function(S,C){var A=this.option,T=this.iconPaths;A.iconStatus=A.iconStatus||{},A.iconStatus[S]=C,T[S]&&(C==="emphasis"?Zn:Yn)(T[S])},b instanceof Dr&&b.render&&b.render(_,n,i,a)}function d(p,v,g){var m=p.getModel("iconStyle"),y=p.getModel(["emphasis","iconStyle"]),_=v instanceof Dr&&v.getIcons?v.getIcons():p.get("icon"),b=p.get("title")||{},x,w;Z(_)?(x={},x[g]=_):x=_,Z(b)?(w={},w[g]=b):w=b;var S=p.iconPaths={};E(x,function(C,A){var T=Ul(C,{},{x:-s/2,y:-s/2,width:s,height:s});T.setStyle(m.getItemStyle());var D=T.ensureState("emphasis");D.style=y.getItemStyle();var k=new ke({style:{text:w[A],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null,font:T5({fontStyle:y.get("textFontStyle"),fontFamily:y.get("textFontFamily"),fontSize:y.get("textFontSize"),fontWeight:y.get("textFontWeight")},n)},ignore:!0});T.setTextContent(k),po({el:T,componentModel:r,itemName:A,formatterParamsExtra:{title:w[A]}}),T.__title=w[A],T.on("mouseover",function(){var M=y.getItemStyle(),I=u?r.get("right")==null&&r.get("left")!=="right"?"right":"left":r.get("bottom")==null&&r.get("top")!=="bottom"?"bottom":"top";k.setStyle({fill:y.get("textFill")||M.fill||M.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),T.setTextConfig({position:y.get("textPosition")||I}),k.ignore=!r.get("showTitle"),i.enterEmphasis(this)}).on("mouseout",function(){p.get(["iconStatus",A])!=="emphasis"&&i.leaveEmphasis(this),k.hide()}),(p.get(["iconStatus",A])==="emphasis"?Zn:Yn)(T),o.add(T),T.on("click",X(v.onclick,v,n,i,A)),S[A]=T})}pie(o,r,i),o.add(LD(o.getBoundingRect(),r)),u||o.eachChild(function(p){var v=p.__title,g=p.ensureState("emphasis"),m=g.textConfig||(g.textConfig={}),y=p.getTextContent(),_=y&&y.ensureState("emphasis");if(_&&!te(_)&&v){var b=_.style||(_.style={}),x=zl(v,ke.makeFont(b)),w=p.x+o.x,S=p.y+o.y+s,C=!1;S+x.height>i.getHeight()&&(m.position="top",C=!0);var A=C?-5-x.height:s+10;w+x.width/2>i.getWidth()?(m.position=["100%",A],b.align="right"):w-x.width/2<0&&(m.position=[0,A],b.align="left")}})},e.prototype.updateView=function(r,n,i,a){E(this._features,function(o){o instanceof Dr&&o.updateView&&o.updateView(o.model,n,i,a)})},e.prototype.remove=function(r,n){E(this._features,function(i){i instanceof Dr&&i.remove&&i.remove(r,n)}),this.group.removeAll()},e.prototype.dispose=function(r,n){E(this._features,function(i){i instanceof Dr&&i.dispose&&i.dispose(r,n)})},e.type="toolbox",e}(et);function gie(t){return t.indexOf("my")===0}const mie=vie;var yie=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.onclick=function(r,n){var i=this.model,a=i.get("name")||r.get("title.0.text")||"echarts",o=n.getZr().painter.getType()==="svg",s=o?"svg":i.get("type",!0)||"png",u=n.getConnectedDataURL({type:s,backgroundColor:i.get("backgroundColor",!0)||r.get("backgroundColor")||"#fff",connectedBackgroundColor:i.get("connectedBackgroundColor"),excludeComponents:i.get("excludeComponents"),pixelRatio:i.get("pixelRatio")}),l=De.browser;if(typeof MouseEvent=="function"&&(l.newEdge||!l.ie&&!l.edge)){var c=document.createElement("a");c.download=a+"."+s,c.target="_blank",c.href=u;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(f)}else if(window.navigator.msSaveOrOpenBlob||o){var h=u.split(","),d=h[0].indexOf("base64")>-1,p=o?decodeURIComponent(h[1]):h[1];d&&(p=window.atob(p));var v=a+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=p.length,m=new Uint8Array(g);g--;)m[g]=p.charCodeAt(g);var y=new Blob([m]);window.navigator.msSaveOrOpenBlob(y,v)}else{var _=document.createElement("iframe");document.body.appendChild(_);var b=_.contentWindow,x=b.document;x.open("image/svg+xml","replace"),x.write(p),x.close(),b.focus(),x.execCommand("SaveAs",!0,v),document.body.removeChild(_)}}else{var w=i.get("lang"),S='<body style="margin:0;"><img src="'+u+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',C=window.open();C.document.write(S),C.document.title=a}},e.getDefaultOption=function(r){var n={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:r.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:r.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return n},e}(Dr);const _ie=yie;var ry="__ec_magicType_stack__",bie=[["line","bar"],["stack"]],xie=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getIcons=function(){var r=this.model,n=r.get("icon"),i={};return E(r.get("type"),function(a){n[a]&&(i[a]=n[a])}),i},e.getDefaultOption=function(r){var n={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:r.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return n},e.prototype.onclick=function(r,n,i){var a=this.model,o=a.get(["seriesIndex",i]);if(ny[i]){var s={series:[]},u=function(f){var h=f.subType,d=f.id,p=ny[i](h,d,f,a);p&&(ae(p,f.option),s.series.push(p));var v=f.coordinateSystem;if(v&&v.type==="cartesian2d"&&(i==="line"||i==="bar")){var g=v.getAxesByScale("ordinal")[0];if(g){var m=g.dim,y=m+"Axis",_=f.getReferringComponents(y,lt).models[0],b=_.componentIndex;s[y]=s[y]||[];for(var x=0;x<=b;x++)s[y][b]=s[y][b]||{};s[y][b].boundaryGap=i==="bar"}}};E(bie,function(f){_e(f,i)>=0&&E(f,function(h){a.setIconStatus(h,"normal")})}),a.setIconStatus(i,"emphasis"),r.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},u);var l,c=i;i==="stack"&&(l=ge({stack:a.option.title.tiled,tiled:a.option.title.stack},a.option.title),a.get(["iconStatus",i])!=="emphasis"&&(c="tiled")),n.dispatchAction({type:"changeMagicType",currentType:c,newOption:s,newTitle:l,featureName:"magicType"})}},e}(Dr),ny={line:function(t,e,r,n){if(t==="bar")return ge({id:e,type:"line",data:r.get("data"),stack:r.get("stack"),markPoint:r.get("markPoint"),markLine:r.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(t,e,r,n){if(t==="line")return ge({id:e,type:"bar",data:r.get("data"),stack:r.get("stack"),markPoint:r.get("markPoint"),markLine:r.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(t,e,r,n){var i=r.get("stack")===ry;if(t==="line"||t==="bar")return n.setIconStatus("stack",i?"normal":"emphasis"),ge({id:e,stack:i?"":ry},n.get(["option","stack"])||{},!0)}};kn({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(t,e){e.mergeOption(t.newOption)});const wie=xie;var q2=new Array(60).join("-"),Ts=" ";function Sie(t){var e={},r=[],n=[];return t.eachRawSeries(function(i){var a=i.coordinateSystem;if(a&&(a.type==="cartesian2d"||a.type==="polar")){var o=a.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;e[s]||(e[s]={categoryAxis:o,valueAxis:a.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),e[s].series.push(i)}else r.push(i)}else r.push(i)}),{seriesGroupByCategoryAxis:e,other:r,meta:n}}function Cie(t){var e=[];return E(t,function(r,n){var i=r.categoryAxis,a=r.valueAxis,o=a.dim,s=[" "].concat(H(r.series,function(d){return d.name})),u=[i.model.getCategories()];E(r.series,function(d){var p=d.getRawData();u.push(d.getRawData().mapArray(p.mapDimension(o),function(v){return v}))});for(var l=[s.join(Ts)],c=0;c<u[0].length;c++){for(var f=[],h=0;h<u.length;h++)f.push(u[h][c]);l.push(f.join(Ts))}e.push(l.join(`
|
|
94
|
+
`))}),e.join(`
|
|
95
|
+
|
|
96
|
+
`+q2+`
|
|
97
|
+
|
|
98
|
+
`)}function Aie(t){return H(t,function(e){var r=e.getRawData(),n=[e.name],i=[];return r.each(r.dimensions,function(){for(var a=arguments.length,o=arguments[a-1],s=r.getName(o),u=0;u<a-1;u++)i[u]=arguments[u];n.push((s?s+Ts:"")+i.join(Ts))}),n.join(`
|
|
99
|
+
`)}).join(`
|
|
100
|
+
|
|
101
|
+
`+q2+`
|
|
102
|
+
|
|
103
|
+
`)}function Tie(t){var e=Sie(t);return{value:Ne([Cie(e.seriesGroupByCategoryAxis),Aie(e.other)],function(r){return!!r.replace(/[\n\t\s]/g,"")}).join(`
|
|
104
|
+
|
|
105
|
+
`+q2+`
|
|
106
|
+
|
|
107
|
+
`),meta:e.meta}}function $c(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Die(t){var e=t.slice(0,t.indexOf(`
|
|
108
|
+
`));if(e.indexOf(Ts)>=0)return!0}var y4=new RegExp("["+Ts+"]+","g");function Eie(t){for(var e=t.split(/\n+/g),r=$c(e.shift()).split(y4),n=[],i=H(r,function(u){return{name:u,data:[]}}),a=0;a<e.length;a++){var o=$c(e[a]).split(y4);n.push(o.shift());for(var s=0;s<o.length;s++)i[s]&&(i[s].data[a]=o[s])}return{series:i,categories:n}}function kie(t){for(var e=t.split(/\n+/g),r=$c(e.shift()),n=[],i=0;i<e.length;i++){var a=$c(e[i]);if(a){var o=a.split(y4),s="",u=void 0,l=!1;isNaN(o[0])?(l=!0,s=o[0],o=o.slice(1),n[i]={name:s,value:[]},u=n[i].value):u=n[i]=[];for(var c=0;c<o.length;c++)u.push(+o[c]);u.length===1&&(l?n[i].value=u[0]:n[i]=u[0])}}return{name:r,data:n}}function Mie(t,e){var r=t.split(new RegExp(`
|
|
109
|
+
*`+q2+`
|
|
110
|
+
*`,"g")),n={series:[]};return E(r,function(i,a){if(Die(i)){var o=Eie(i),s=e[a],u=s.axisDim+"Axis";s&&(n[u]=n[u]||[],n[u][s.axisIndex]={data:o.categories},n.series=n.series.concat(o.series))}else{var o=kie(i);n.series.push(o)}}),n}var Lie=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.onclick=function(r,n){setTimeout(function(){n.dispatchAction({type:"hideTip"})});var i=n.getDom(),a=this.model;this._dom&&i.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"),u=a.get("lang")||[];s.innerHTML=u[0]||a.get("title"),s.style.cssText="margin:10px 20px",s.style.color=a.get("textColor");var l=document.createElement("div"),c=document.createElement("textarea");l.style.cssText="overflow:auto";var f=a.get("optionToContent"),h=a.get("contentToOption"),d=Tie(r);if(te(f)){var p=f(n.getOption());Z(p)?l.innerHTML=p:eo(p)&&l.appendChild(p)}else{c.readOnly=a.get("readOnly");var v=c.style;v.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",v.color=a.get("textColor"),v.borderColor=a.get("textareaBorderColor"),v.backgroundColor=a.get("textareaColor"),c.value=d.value,l.appendChild(c)}var g=d.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var y="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_=document.createElement("div"),b=document.createElement("div");y+=";background-color:"+a.get("buttonColor"),y+=";color:"+a.get("buttonTextColor");var x=this;function w(){i.removeChild(o),x._dom=null}jh(_,"click",w),jh(b,"click",function(){if(h==null&&f!=null||h!=null&&f==null){process.env.NODE_ENV!=="production"&&Qe("It seems you have just provided one of `contentToOption` and `optionToContent` functions but missed the other one. Data change is ignored."),w();return}var S;try{te(h)?S=h(l,n.getOption()):S=Mie(c.value,g)}catch(C){throw w(),new Error("Data view format error "+C)}S&&n.dispatchAction({type:"changeDataView",newOption:S}),w()}),_.innerHTML=u[1],b.innerHTML=u[2],b.style.cssText=_.style.cssText=y,!a.get("readOnly")&&m.appendChild(b),m.appendChild(_),o.appendChild(s),o.appendChild(l),o.appendChild(m),l.style.height=i.clientHeight-80+"px",i.appendChild(o),this._dom=o},e.prototype.remove=function(r,n){this._dom&&n.getDom().removeChild(this._dom)},e.prototype.dispose=function(r,n){this.remove(r,n)},e.getDefaultOption=function(r){var n={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:r.getLocaleModel().get(["toolbox","dataView","title"]),lang:r.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return n},e}(Dr);function Iie(t,e){return H(t,function(r,n){var i=e&&e[n];if(ne(i)&&!G(i)){var a=ne(r)&&!G(r);a||(r={value:r});var o=i.name!=null&&r.name==null;return r=ae(r,i),o&&delete r.name,r}else return r})}kn({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(t,e){var r=[];E(t.newOption.series,function(n){var i=e.getSeriesByName(n.name)[0];if(!i)r.push($({type:"scatter"},n));else{var a=i.get("data");r.push({name:n.name,data:Iie(n.data,a)})}}),e.mergeOption(ae({series:r},t.newOption))});const Pie=Lie;var ID=E,PD=Ae();function Rie(t,e){var r=Q7(t);ID(e,function(n,i){for(var a=r.length-1;a>=0;a--){var o=r[a];if(o[i])break}if(a<0){var s=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(s){var u=s.getPercentRange();r[0][i]={dataZoomId:i,start:u[0],end:u[1]}}}}),r.push(e)}function Nie(t){var e=Q7(t),r=e[e.length-1];e.length>1&&e.pop();var n={};return ID(r,function(i,a){for(var o=e.length-1;o>=0;o--)if(i=e[o][a],i){n[a]=i;break}}),n}function Oie(t){PD(t).snapshots=null}function Bie(t){return Q7(t).length}function Q7(t){var e=PD(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var Fie=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.onclick=function(r,n){Oie(r),n.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(r){var n={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:r.getLocaleModel().get(["toolbox","restore","title"])};return n},e}(Dr);kn({type:"restore",event:"restore",update:"prepareAndUpdate"},function(t,e){e.resetOption("recreate")});const zie=Fie;var Vie=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],$ie=function(){function t(e,r,n){var i=this;this._targetInfoList=[];var a=iy(r,e);E(Gie,function(o,s){(!n||!n.include||_e(n.include,s)>=0)&&o(a,i._targetInfoList)})}return t.prototype.setOutputRanges=function(e,r){return this.matchOutputRanges(e,r,function(n,i,a){if((n.coordRanges||(n.coordRanges=[])).push(i),!n.coordRange){n.coordRange=i;var o=_h[n.brushType](0,a,i);n.__rangeOffset={offset:uy[n.brushType](o.values,n.range,[1,1]),xyMinMax:o.xyMinMax}}}),e},t.prototype.matchOutputRanges=function(e,r,n){E(e,function(i){var a=this.findTargetInfo(i,r);a&&a!==!0&&E(a.coordSyses,function(o){var s=_h[i.brushType](1,o,i.range,!0);n(i,s.values,o,r)})},this)},t.prototype.setInputRanges=function(e,r){E(e,function(n){var i=this.findTargetInfo(n,r);if(process.env.NODE_ENV!=="production"&&(ie(!i||i===!0||n.coordRange,"coordRange must be specified when coord index specified."),ie(!i||i!==!0||n.range,"range must be specified in global brush.")),n.range=n.range||[],i&&i!==!0){n.panelId=i.panelId;var a=_h[n.brushType](0,i.coordSys,n.coordRange),o=n.__rangeOffset;n.range=o?uy[n.brushType](a.values,o.offset,Hie(a.xyMinMax,o.xyMinMax)):a.values}},this)},t.prototype.makePanelOpts=function(e,r){return H(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:r?r(n):null,clipPath:zT(i),isTargetByCursor:$T(i,e,n.coordSysModel),getLinearBrushOtherExtent:VT(i)}})},t.prototype.controlSeries=function(e,r,n){var i=this.findTargetInfo(e,n);return i===!0||i&&_e(i.coordSyses,r.coordinateSystem)>=0},t.prototype.findTargetInfo=function(e,r){for(var n=this._targetInfoList,i=iy(r,e),a=0;a<n.length;a++){var o=n[a],s=e.panelId;if(s){if(o.panelId===s)return o}else for(var u=0;u<ay.length;u++)if(ay[u](i,o))return o}return!0},t}();function _4(t){return t[0]>t[1]&&t.reverse(),t}function iy(t,e){return Wu(t,e,{includeMainTypes:Vie})}var Gie={grid:function(t,e){var r=t.xAxisModels,n=t.yAxisModels,i=t.gridModels,a=J(),o={},s={};!r&&!n&&!i||(E(r,function(u){var l=u.axis.grid.model;a.set(l.id,l),o[l.id]=!0}),E(n,function(u){var l=u.axis.grid.model;a.set(l.id,l),s[l.id]=!0}),E(i,function(u){a.set(u.id,u),o[u.id]=!0,s[u.id]=!0}),a.each(function(u){var l=u.coordinateSystem,c=[];E(l.getCartesians(),function(f,h){(_e(r,f.getAxis("x").model)>=0||_e(n,f.getAxis("y").model)>=0)&&c.push(f)}),e.push({panelId:"grid--"+u.id,gridModel:u,coordSysModel:u,coordSys:c[0],coordSyses:c,getPanelRect:oy.grid,xAxisDeclared:o[u.id],yAxisDeclared:s[u.id]})}))},geo:function(t,e){E(t.geoModels,function(r){var n=r.coordinateSystem;e.push({panelId:"geo--"+r.id,geoModel:r,coordSysModel:r,coordSys:n,coordSyses:[n],getPanelRect:oy.geo})})}},ay=[function(t,e){var r=t.xAxisModel,n=t.yAxisModel,i=t.gridModel;return!i&&r&&(i=r.axis.grid.model),!i&&n&&(i=n.axis.grid.model),i&&i===e.gridModel},function(t,e){var r=t.geoModel;return r&&r===e.geoModel}],oy={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Xa(t)),e}},_h={lineX:ve(sy,0),lineY:ve(sy,1),rect:function(t,e,r,n){var i=t?e.pointToData([r[0][0],r[1][0]],n):e.dataToPoint([r[0][0],r[1][0]],n),a=t?e.pointToData([r[0][1],r[1][1]],n):e.dataToPoint([r[0][1],r[1][1]],n),o=[_4([i[0],a[0]]),_4([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,r,n){var i=[[1/0,-1/0],[1/0,-1/0]],a=H(r,function(o){var s=t?e.pointToData(o,n):e.dataToPoint(o,n);return i[0][0]=Math.min(i[0][0],s[0]),i[1][0]=Math.min(i[1][0],s[1]),i[0][1]=Math.max(i[0][1],s[0]),i[1][1]=Math.max(i[1][1],s[1]),s});return{values:a,xyMinMax:i}}};function sy(t,e,r,n){process.env.NODE_ENV!=="production"&&ie(r.type==="cartesian2d","lineX/lineY brush is available only in cartesian2d.");var i=r.getAxis(["x","y"][t]),a=_4(H([0,1],function(s){return e?i.coordToData(i.toLocalCoord(n[s]),!0):i.toGlobalCoord(i.dataToCoord(n[s]))})),o=[];return o[t]=a,o[1-t]=[NaN,NaN],{values:a,xyMinMax:o}}var uy={lineX:ve(ly,0),lineY:ve(ly,1),rect:function(t,e,r){return[[t[0][0]-r[0]*e[0][0],t[0][1]-r[0]*e[0][1]],[t[1][0]-r[1]*e[1][0],t[1][1]-r[1]*e[1][1]]]},polygon:function(t,e,r){return H(t,function(n,i){return[n[0]-r[0]*e[i][0],n[1]-r[1]*e[i][1]]})}};function ly(t,e,r,n){return[e[0]-n[t]*r[0],e[1]-n[t]*r[1]]}function Hie(t,e){var r=cy(t),n=cy(e),i=[r[0]/n[0],r[1]/n[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function cy(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}const J7=$ie;var b4=E,Uie=uz("toolbox-dataZoom_"),Wie=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(r,n,i,a){this._brushController||(this._brushController=new L7(i.getZr()),this._brushController.on("brush",X(this._onBrush,this)).mount()),Yie(r,n,this,a,i),Zie(r,n)},e.prototype.onclick=function(r,n,i){qie[i].call(this)},e.prototype.remove=function(r,n){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(r,n){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(r){var n=r.areas;if(!r.isEnd||!n.length)return;var i={},a=this.ecModel;this._brushController.updateCovers([]);var o=new J7(ep(this.model),a,{include:["grid"]});o.matchOutputRanges(n,a,function(l,c,f){if(f.type==="cartesian2d"){var h=l.brushType;h==="rect"?(s("x",f,c[0]),s("y",f,c[1])):s({lineX:"x",lineY:"y"}[h],f,c)}}),Rie(a,i),this._dispatchZoomAction(i);function s(l,c,f){var h=c.getAxis(l),d=h.model,p=u(l,d,a),v=p.findRepresentativeAxisProxy(d).getMinMaxSpan();(v.minValueSpan!=null||v.maxValueSpan!=null)&&(f=xo(0,f.slice(),h.scale.getExtent(),0,v.minValueSpan,v.maxValueSpan)),p&&(i[p.id]={dataZoomId:p.id,startValue:f[0],endValue:f[1]})}function u(l,c,f){var h;return f.eachComponent({mainType:"dataZoom",subType:"select"},function(d){var p=d.getAxisModel(l,c.componentIndex);p&&(h=d)}),h}},e.prototype._dispatchZoomAction=function(r){var n=[];b4(r,function(i,a){n.push(oe(i))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},e.getDefaultOption=function(r){var n={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:r.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return n},e}(Dr),qie={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(Nie(this.ecModel))}};function ep(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return e.xAxisIndex==null&&e.xAxisId==null&&(e.xAxisIndex="all"),e.yAxisIndex==null&&e.yAxisId==null&&(e.yAxisIndex="all"),e}function Zie(t,e){t.setIconStatus("back",Bie(e)>1?"emphasis":"normal")}function Yie(t,e,r,n,i){var a=r._isZoomActive;n&&n.type==="takeGlobalCursor"&&(a=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),r._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var o=new J7(ep(t),e,{include:["grid"]}),s=o.makePanelOpts(i,function(u){return u.xAxisDeclared&&!u.yAxisDeclared?"lineX":!u.xAxisDeclared&&u.yAxisDeclared?"lineY":"rect"});r._brushController.setPanels(s).enableBrush(a&&s.length?{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()}:!1)}G$("dataZoom",function(t){var e=t.getComponent("toolbox",0),r=["feature","dataZoom"];if(!e||e.get(r)==null)return;var n=e.getModel(r),i=[],a=ep(n),o=Wu(t,a);b4(o.xAxisModels,function(u){return s(u,"xAxis","xAxisIndex")}),b4(o.yAxisModels,function(u){return s(u,"yAxis","yAxisIndex")});function s(u,l,c){var f=u.componentIndex,h={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:Uie+l+f};h[c]=f,i.push(h)}return i});const Xie=Wie;function jie(t){t.registerComponentModel(die),t.registerComponentView(mie),es("saveAsImage",_ie),es("magicType",wie),es("dataView",Pie),es("dataZoom",Xie),es("restore",zie),be(fie)}var Kie=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(Ce);const Qie=Kie;function RD(t){var e=t.get("confine");return e!=null?!!e:t.get("renderMode")==="richText"}function ND(t){if(De.domSupported){for(var e=document.documentElement.style,r=0,n=t.length;r<n;r++)if(t[r]in e)return t[r]}}var OD=ND(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Jie=ND(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function BD(t,e){if(!t)return e;e=oS(e,!0);var r=t.indexOf(e);return t=r===-1?e:"-"+t.slice(0,r)+"-"+e,t.toLowerCase()}function eae(t,e){var r=t.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(t);return r?e?r[e]:r:null}var tae=BD(Jie,"transition"),tp=BD(OD,"transform"),rae="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(De.transform3dSupported?"will-change:transform;":"");function nae(t){return t=t==="left"?"right":t==="right"?"left":t==="top"?"bottom":"top",t}function iae(t,e,r){if(!Z(r)||r==="inside")return"";var n=t.get("backgroundColor"),i=t.get("borderWidth");e=oo(e);var a=nae(r),o=Math.max(Math.round(i)*1.5,6),s="",u=tp+":",l;_e(["left","right"],a)>-1?(s+="top:50%",u+="translateY(-50%) rotate("+(l=a==="left"?-225:-45)+"deg)"):(s+="left:50%",u+="translateX(-50%) rotate("+(l=a==="top"?225:45)+"deg)");var c=l*Math.PI/180,f=o+i,h=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),d=Math.round(((h-Math.SQRT2*i)/2+Math.SQRT2*i-(h-f)/2)*100)/100;s+=";"+a+":-"+d+"px";var p=e+" solid "+i+"px;",v=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+u+";","border-bottom:"+p,"border-right:"+p,"background-color:"+n+";"];return'<div style="'+v.join("")+'"></div>'}function aae(t,e){var r="cubic-bezier(0.23,1,0.32,1)",n=" "+t/2+"s "+r,i="opacity"+n+",visibility"+n;return e||(n=" "+t+"s "+r,i+=De.transformSupported?","+tp+n:",left"+n+",top"+n),tae+":"+i}function fy(t,e,r){var n=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!De.transformSupported)return r?"top:"+i+";left:"+n+";":[["top",i],["left",n]];var a=De.transform3dSupported,o="translate"+(a?"3d":"")+"("+n+","+i+(a?",0":"")+")";return r?"top:0;left:0;"+tp+":"+o+";":[["top",0],["left",0],[OD,o]]}function oae(t){var e=[],r=t.get("fontSize"),n=t.getTextColor();n&&e.push("color:"+n),e.push("font:"+t.getFont());var i=fe(t.get("lineHeight"),Math.round(r*3/2));r&&e.push("line-height:"+i+"px");var a=t.get("textShadowColor"),o=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,u=t.get("textShadowOffsetY")||0;return a&&o&&e.push("text-shadow:"+s+"px "+u+"px "+o+"px "+a),E(["decoration","align"],function(l){var c=t.get(l);c&&e.push("text-"+l+":"+c)}),e.join(";")}function sae(t,e,r){var n=[],i=t.get("transitionDuration"),a=t.get("backgroundColor"),o=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),l=t.get("shadowOffsetY"),c=t.getModel("textStyle"),f=$S(t,"html"),h=u+"px "+l+"px "+o+"px "+s;return n.push("box-shadow:"+h),e&&i&&n.push(aae(i,r)),a&&n.push("background-color:"+a),E(["width","color","radius"],function(d){var p="border-"+d,v=oS(p),g=t.get(v);g!=null&&n.push(p+":"+g+(d==="color"?"":"px"))}),n.push(oae(c)),f!=null&&n.push("padding:"+Os(f).join("px ")+"px"),n.join(";")+";"}function hy(t,e,r,n,i){var a=e&&e.painter;if(r){var o=a&&a.getViewportRoot();o&&kB(t,o,r,n,i)}else{t[0]=n,t[1]=i;var s=a&&a.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var uae=function(){function t(e,r){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,De.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=e.getZr(),a=r.appendTo,o=a&&(Z(a)?document.querySelector(a):eo(a)?a:te(a)&&a(e.getDom()));hy(this._styleCoord,i,o,e.getWidth()/2,e.getHeight()/2),(o||e.getDom()).appendChild(n),this._api=e,this._container=o;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(u){if(u=u||window.event,!s._enterable){var l=i.handler,c=i.painter.getViewportRoot();wr(c,u,!0),l.dispatch("mousemove",u)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(e){if(!this._container){var r=this._api.getDom(),n=eae(r,"position"),i=r.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative")}var a=e.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=e.get("className")||""},t.prototype.show=function(e,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=rae+sae(e,!this._firstShow,this._longHide)+fy(a[0],a[1],!0)+("border-color:"+oo(r)+";")+(e.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(e,r,n,i,a){var o=this.el;if(e==null){o.innerHTML="";return}var s="";if(Z(a)&&n.get("trigger")==="item"&&!RD(n)&&(s=iae(n,i,a)),Z(e))o.innerHTML=e+s;else if(e){o.innerHTML="",G(e)||(e=[e]);for(var u=0;u<e.length;u++)eo(e[u])&&e[u].parentNode!==o&&o.appendChild(e[u]);if(s&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=s,o.appendChild(l)}}},t.prototype.setEnterable=function(e){this._enterable=e},t.prototype.getSize=function(){var e=this.el;return e?[e.offsetWidth,e.offsetHeight]:[0,0]},t.prototype.moveTo=function(e,r){if(this.el){var n=this._styleCoord;if(hy(n,this._zr,this._container,e,r),n[0]!=null&&n[1]!=null){var i=this.el.style,a=fy(n[0],n[1]);E(a,function(o){i[o[0]]=o[1]})}}},t.prototype._moveIfResized=function(){var e=this._styleCoord[2],r=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),r*this._zr.getHeight())},t.prototype.hide=function(){var e=this,r=this.el.style;r.visibility="hidden",r.opacity="0",De.transform3dSupported&&(r.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return e._longHide=!0},500)},t.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(X(this.hide,this),e)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var e=this.el.parentNode;e&&e.removeChild(this.el),this.el=this._container=null},t}();const lae=uae;var cae=function(){function t(e){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=e.getZr(),py(this._styleCoord,this._zr,e.getWidth()/2,e.getHeight()/2)}return t.prototype.update=function(e){var r=e.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(e,r,n,i,a){var o=this;ne(e)&&Re(process.env.NODE_ENV!=="production"?"Passing DOM nodes as content is not supported in richText tooltip!":""),this.el&&this._zr.remove(this.el);var s=n.getModel("textStyle");this.el=new ke({style:{rich:r.richTextStyles,text:e,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:s.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:$S(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),E(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(l){o.el.style[l]=n.get(l)}),E(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(l){o.el.style[l]=s.get(l)||0}),this._zr.add(this.el);var u=this;this.el.on("mouseover",function(){u._enterable&&(clearTimeout(u._hideTimeout),u._show=!0),u._inContent=!0}),this.el.on("mouseout",function(){u._enterable&&u._show&&u.hideLater(u._hideDelay),u._inContent=!1})},t.prototype.setEnterable=function(e){this._enterable=e},t.prototype.getSize=function(){var e=this.el,r=this.el.getBoundingRect(),n=dy(e.style);return[r.width+n.left+n.right,r.height+n.top+n.bottom]},t.prototype.moveTo=function(e,r){var n=this.el;if(n){var i=this._styleCoord;py(i,this._zr,e,r),e=i[0],r=i[1];var a=n.style,o=di(a.borderWidth||0),s=dy(a);n.x=e+o+s.left,n.y=r+o+s.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var e=this._styleCoord[2],r=this._styleCoord[3];this.moveTo(e*this._zr.getWidth(),r*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(e){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(e?(this._hideDelay=e,this._show=!1,this._hideTimeout=setTimeout(X(this.hide,this),e)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function di(t){return Math.max(0,t)}function dy(t){var e=di(t.shadowBlur||0),r=di(t.shadowOffsetX||0),n=di(t.shadowOffsetY||0);return{left:di(e-r),right:di(e+r),top:di(e-n),bottom:di(e+n)}}function py(t,e,r,n){t[0]=r,t[1]=n,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}const fae=cae;var hae=new Ee({shape:{x:-1,y:-1,width:2,height:2}}),dae=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r,n){if(!(De.node||!n.getDom())){var i=r.getComponent("tooltip"),a=this._renderMode=vz(i.get("renderMode"));this._tooltipContent=a==="richText"?new fae(n):new lae(n,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},e.prototype.render=function(r,n,i){if(!(De.node||!i.getDom())){this.group.removeAll(),this._tooltipModel=r,this._ecModel=n,this._api=i;var a=this._tooltipContent;a.update(r),a.setEnterable(r.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&r.get("transitionDuration")?Gs(this,"_updatePosition",50,"fixRate"):bl(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var r=this._tooltipModel,n=r.get("triggerOn");bD("itemTooltip",this._api,X(function(i,a,o){n!=="none"&&(n.indexOf(i)>=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},e.prototype._keepShow=function(){var r=this._tooltipModel,n=this._ecModel,i=this._api,a=r.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&a!=="none"&&a!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!i.isDisposed()&&o.manuallyShowTip(r,n,i,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},e.prototype.manuallyShowTip=function(r,n,i,a){if(!(a.from===this.uid||De.node||!i.getDom())){var o=vy(a,i);this._ticket="";var s=a.dataByCoordSys,u=mae(a,n,i);if(u){var l=u.el.getBoundingRect().clone();l.applyTransform(u.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:u.el,position:a.position,positionDefault:"bottom"},o)}else if(a.tooltip&&a.x!=null&&a.y!=null){var c=hae;c.x=a.x,c.y=a.y,c.update(),ce(c).tooltipConfig={name:null,option:a.tooltip},this._tryShow({offsetX:a.x,offsetY:a.y,target:c},o)}else if(s)this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,dataByCoordSys:s,tooltipOption:a.tooltipOption},o);else if(a.seriesIndex!=null){if(this._manuallyAxisShowTip(r,n,i,a))return;var f=xD(a,n),h=f.point[0],d=f.point[1];h!=null&&d!=null&&this._tryShow({offsetX:h,offsetY:d,target:f.el,position:a.position,positionDefault:"bottom"},o)}else a.x!=null&&a.y!=null&&(i.dispatchAction({type:"updateAxisPointer",x:a.x,y:a.y}),this._tryShow({offsetX:a.x,offsetY:a.y,position:a.position,target:i.getZr().findHover(a.x,a.y).target},o))}},e.prototype.manuallyHideTip=function(r,n,i,a){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,a.from!==this.uid&&this._hide(vy(a,i))},e.prototype._manuallyAxisShowTip=function(r,n,i,a){var o=a.seriesIndex,s=a.dataIndex,u=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||u==null)){var l=n.getSeriesByIndex(o);if(l){var c=l.getData(),f=xu([c.getItemModel(s),l,(l.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return i.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:a.position}),!0}}},e.prototype._tryShow=function(r,n){var i=r.target,a=this._tooltipModel;if(a){this._lastX=r.offsetX,this._lastY=r.offsetY;var o=r.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,r);else if(i){var s=ce(i);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var u,l;za(i,function(c){if(ce(c).dataIndex!=null)return u=c,!0;if(ce(c).tooltipConfig!=null)return l=c,!0},!0),u?this._showSeriesItemTooltip(r,u,n):l?this._showComponentItemTooltip(r,l,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},e.prototype._showOrMove=function(r,n){var i=r.get("showDelay");n=X(n,this),clearTimeout(this._showTimout),i>0?this._showTimout=setTimeout(n,i):n()},e.prototype._showAxisTooltip=function(r,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=xu([n.tooltipOption],a),u=this._renderMode,l=[],c=mt("section",{blocks:[],noHeader:!0}),f=[],h=new r6;E(r,function(y){E(y.dataByAxis,function(_){var b=i.getComponent(_.axisDim+"Axis",_.axisIndex),x=_.value;if(!(!b||x==null)){var w=mD(x,b.axis,i,_.seriesDataIndices,_.valueLabelOpt),S=mt("section",{header:w,noHeader:!Wr(w),sortBlocks:!0,blocks:[]});c.blocks.push(S),E(_.seriesDataIndices,function(C){var A=i.getSeriesByIndex(C.seriesIndex),T=C.dataIndexInside,D=A.getDataParams(T);if(!(D.dataIndex<0)){D.axisDim=_.axisDim,D.axisIndex=_.axisIndex,D.axisType=_.axisType,D.axisId=_.axisId,D.axisValue=e7(b.axis,{value:x}),D.axisValueLabel=w,D.marker=h.makeTooltipMarker("item",oo(D.color),u);var k=j3(A.formatTooltip(T,!0,null)),M=k.frag;if(M){var I=xu([A],a).get("valueFormatter");S.blocks.push(I?$({valueFormatter:I},M):M)}k.text&&f.push(k.text),l.push(D)}})}})}),c.blocks.reverse(),f.reverse();var d=n.position,p=s.get("order"),v=r8(c,h,u,p,i.get("useUTC"),s.get("textStyle"));v&&f.unshift(v);var g=u==="richText"?`
|
|
111
|
+
|
|
112
|
+
`:"<br/>",m=f.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(r,l)?this._updatePosition(s,d,o[0],o[1],this._tooltipContent,l):this._showTooltipContent(s,m,l,Math.random()+"",o[0],o[1],d,null,h)})},e.prototype._showSeriesItemTooltip=function(r,n,i){var a=this._ecModel,o=ce(n),s=o.seriesIndex,u=a.getSeriesByIndex(s),l=o.dataModel||u,c=o.dataIndex,f=o.dataType,h=l.getData(f),d=this._renderMode,p=r.positionDefault,v=xu([h.getItemModel(c),l,u&&(u.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=v.get("trigger");if(!(g!=null&&g!=="item")){var m=l.getDataParams(c,f),y=new r6;m.marker=y.makeTooltipMarker("item",oo(m.color),d);var _=j3(l.formatTooltip(c,!1,f)),b=v.get("order"),x=v.get("valueFormatter"),w=_.frag,S=w?r8(x?$({valueFormatter:x},w):w,y,d,b,a.get("useUTC"),v.get("textStyle")):_.text,C="item_"+l.name+"_"+c;this._showOrMove(v,function(){this._showTooltipContent(v,S,m,C,r.offsetX,r.offsetY,r.position,r.target,y)}),i({type:"showTip",dataIndexInside:c,dataIndex:h.getRawIndex(c),seriesIndex:s,from:this.uid})}},e.prototype._showComponentItemTooltip=function(r,n,i){var a=this._renderMode==="html",o=ce(n),s=o.tooltipConfig,u=s.option||{},l=u.encodeHTMLContent;if(Z(u)){var c=u;u={content:c,formatter:c},l=!0}l&&a&&u.content&&(u=oe(u),u.content=Bt(u.content));var f=[u],h=this._ecModel.getComponent(o.componentMainType,o.componentIndex);h&&f.push(h),f.push({formatter:u.content});var d=r.positionDefault,p=xu(f,this._tooltipModel,d?{position:d}:null),v=p.get("content"),g=Math.random()+"",m=new r6;this._showOrMove(p,function(){var y=oe(p.get("formatterParams")||{});this._showTooltipContent(p,v,y,g,r.offsetX,r.offsetY,r.position,n,m)}),i({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(r,n,i,a,o,s,u,l,c){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var f=this._tooltipContent;f.setEnterable(r.get("enterable"));var h=r.get("formatter");u=u||r.get("position");var d=n,p=this._getNearestPoint([o,s],i,r.get("trigger"),r.get("borderColor")),v=p.color;if(h)if(Z(h)){var g=r.ecModel.get("useUTC"),m=G(i)?i[0]:i,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;d=h,y&&(d=C2(m.axisValue,d,g)),d=sS(d,i,!0)}else if(te(h)){var _=X(function(b,x){b===this._ticket&&(f.setContent(x,c,r,v,u),this._updatePosition(r,u,o,s,f,i,l))},this);this._ticket=a,d=h(i,a,_)}else d=h;f.setContent(d,c,r,v,u),f.show(r,v),this._updatePosition(r,u,o,s,f,i,l)}},e.prototype._getNearestPoint=function(r,n,i,a){if(i==="axis"||G(n))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!G(n))return{color:a||n.color||n.borderColor}},e.prototype._updatePosition=function(r,n,i,a,o,s,u){var l=this._api.getWidth(),c=this._api.getHeight();n=n||r.get("position");var f=o.getSize(),h=r.get("align"),d=r.get("verticalAlign"),p=u&&u.getBoundingRect().clone();if(u&&p.applyTransform(u.transform),te(n)&&(n=n([i,a],s,o.el,p,{viewSize:[l,c],contentSize:f.slice()})),G(n))i=W(n[0],l),a=W(n[1],c);else if(ne(n)){var v=n;v.width=f[0],v.height=f[1];var g=dt(v,{width:l,height:c});i=g.x,a=g.y,h=null,d=null}else if(Z(n)&&u){var m=gae(n,p,f,r.get("borderWidth"));i=m[0],a=m[1]}else{var m=pae(i,a,o,l,c,h?null:20,d?null:20);i=m[0],a=m[1]}if(h&&(i-=gy(h)?f[0]/2:h==="right"?f[0]:0),d&&(a-=gy(d)?f[1]/2:d==="bottom"?f[1]:0),RD(r)){var m=vae(i,a,o,l,c);i=m[0],a=m[1]}o.moveTo(i,a)},e.prototype._updateContentNotChangedOnAxis=function(r,n){var i=this._lastDataByCoordSys,a=this._cbParamsList,o=!!i&&i.length===r.length;return o&&E(i,function(s,u){var l=s.dataByAxis||[],c=r[u]||{},f=c.dataByAxis||[];o=o&&l.length===f.length,o&&E(l,function(h,d){var p=f[d]||{},v=h.seriesDataIndices||[],g=p.seriesDataIndices||[];o=o&&h.value===p.value&&h.axisType===p.axisType&&h.axisId===p.axisId&&v.length===g.length,o&&E(v,function(m,y){var _=g[y];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),a&&E(h.seriesDataIndices,function(m){var y=m.seriesIndex,_=n[y],b=a[y];_&&b&&b.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=n,!!o},e.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},e.prototype.dispose=function(r,n){De.node||!n.getDom()||(bl(this,"_updatePosition"),this._tooltipContent.dispose(),v4("itemTooltip",n))},e.type="tooltip",e}(et);function xu(t,e,r){var n=e.ecModel,i;r?(i=new We(r,n,n),i=new We(e.option,i,n)):i=e;for(var a=t.length-1;a>=0;a--){var o=t[a];o&&(o instanceof We&&(o=o.get("tooltip",!0)),Z(o)&&(o={formatter:o}),o&&(i=new We(o,i,n)))}return i}function vy(t,e){return t.dispatchAction||X(e.dispatchAction,e)}function pae(t,e,r,n,i,a,o){var s=r.getSize(),u=s[0],l=s[1];return a!=null&&(t+u+a+2>n?t-=u+a:t+=a),o!=null&&(e+l+o>i?e-=l+o:e+=o),[t,e]}function vae(t,e,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return t=Math.min(t+o,n)-o,e=Math.min(e+s,i)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function gae(t,e,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,u=0,l=e.width,c=e.height;switch(t){case"inside":s=e.x+l/2-i/2,u=e.y+c/2-a/2;break;case"top":s=e.x+l/2-i/2,u=e.y-a-o;break;case"bottom":s=e.x+l/2-i/2,u=e.y+c+o;break;case"left":s=e.x-i-o,u=e.y+c/2-a/2;break;case"right":s=e.x+l+o,u=e.y+c/2-a/2}return[s,u]}function gy(t){return t==="center"||t==="middle"}function mae(t,e,r){var n=f5(t).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=Vl(e,i,n.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}),o=a.models[0];if(o){var s=r.getViewOfComponentModel(o),u;if(s.group.traverse(function(l){var c=ce(l).tooltipConfig;if(c&&c.name===t.name)return u=l,!0}),u)return{componentMainType:i,componentIndex:o.componentIndex,el:u}}}}const yae=dae;function _ae(t){be(r1),t.registerComponentModel(Qie),t.registerComponentView(yae),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},at),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},at)}var bae=["rect","polygon","keep","clear"];function xae(t,e){var r=ze(t?t.brush:[]);if(r.length){var n=[];E(r,function(u){var l=u.hasOwnProperty("toolbox")?u.toolbox:[];l instanceof Array&&(n=n.concat(l))});var i=t&&t.toolbox;G(i)&&(i=i[0]),i||(i={feature:{}},t.toolbox=[i]);var a=i.feature||(i.feature={}),o=a.brush||(a.brush={}),s=o.type||(o.type=[]);s.push.apply(s,n),wae(s),e&&!s.length&&s.push.apply(s,bae)}}function wae(t){var e={};E(t,function(r){e[r]=1}),t.length=0,E(e,function(r,n){t.push(n)})}var my=E;function yy(t){if(t){for(var e in t)if(t.hasOwnProperty(e))return!0}}function x4(t,e,r){var n={};return my(e,function(a){var o=n[a]=i();my(t[a],function(s,u){if(Dt.isValidType(u)){var l={type:u,visual:s};r&&r(l,a),o[u]=new Dt(l),u==="opacity"&&(l=oe(l),l.type="colorAlpha",o.__hidden.__alphaForOpacity=new Dt(l))}})}),n;function i(){var a=function(){};a.prototype.__hidden=a.prototype;var o=new a;return o}}function FD(t,e,r){var n;E(r,function(i){e.hasOwnProperty(i)&&yy(e[i])&&(n=!0)}),n&&E(r,function(i){e.hasOwnProperty(i)&&yy(e[i])?t[i]=oe(e[i]):delete t[i]})}function Sae(t,e,r,n,i,a){var o={};E(t,function(f){var h=Dt.prepareVisualTypes(e[f]);o[f]=h});var s;function u(f){return H5(r,s,f)}function l(f,h){KS(r,s,f,h)}a==null?r.each(c):r.each([a],c);function c(f,h){s=a==null?f:h;var d=r.getRawDataItem(s);if(!(d&&d.visualMap===!1))for(var p=n.call(i,f),v=e[p],g=o[p],m=0,y=g.length;m<y;m++){var _=g[m];v[_]&&v[_].applyVisual(f,u,l)}}}function Cae(t,e,r,n){var i={};return E(t,function(a){var o=Dt.prepareVisualTypes(e[a]);i[a]=o}),{progress:function(o,s){var u;n!=null&&(u=s.getDimensionIndex(n));function l(x){return H5(s,f,x)}function c(x,w){KS(s,f,x,w)}for(var f,h=s.getStore();(f=o.next())!=null;){var d=s.getRawDataItem(f);if(!(d&&d.visualMap===!1))for(var p=n!=null?h.get(u,f):f,v=r(p),g=e[v],m=i[v],y=0,_=m.length;y<_;y++){var b=m[y];g[b]&&g[b].applyVisual(p,l,c)}}}}}function Aae(t){var e=t.brushType,r={point:function(n){return _y[e].point(n,r,t)},rect:function(n){return _y[e].rect(n,r,t)}};return r}var _y={lineX:by(0),lineY:by(1),rect:{point:function(t,e,r){return t&&r.boundingRect.contain(t[0],t[1])},rect:function(t,e,r){return t&&r.boundingRect.intersect(t)}},polygon:{point:function(t,e,r){return t&&r.boundingRect.contain(t[0],t[1])&&ka(r.range,t[0],t[1])},rect:function(t,e,r){var n=r.range;if(!t||n.length<=1)return!1;var i=t.x,a=t.y,o=t.width,s=t.height,u=n[0];if(ka(n,i,a)||ka(n,i+o,a)||ka(n,i,a+s)||ka(n,i+o,a+s)||ye.create(t).contain(u[0],u[1])||Lu(i,a,i+o,a,n)||Lu(i,a,i,a+s,n)||Lu(i+o,a,i+o,a+s,n)||Lu(i,a+s,i+o,a+s,n))return!0}}};function by(t){var e=["x","y"],r=["width","height"];return{point:function(n,i,a){if(n){var o=a.range,s=n[t];return wu(s,o)}},rect:function(n,i,a){if(n){var o=a.range,s=[n[e[t]],n[e[t]]+n[r[t]]];return s[1]<s[0]&&s.reverse(),wu(s[0],o)||wu(s[1],o)||wu(o[0],s)||wu(o[1],s)}}}}function wu(t,e){return e[0]<=t&&t<=e[1]}var xy=["inBrush","outOfBrush"],bh="__ecBrushSelect",w4="__ecInBrushSelectEvent";function zD(t){t.eachComponent({mainType:"brush"},function(e){var r=e.brushTargetManager=new J7(e.option,t);r.setInputRanges(e.areas,t)})}function Tae(t,e,r){var n=[],i,a;t.eachComponent({mainType:"brush"},function(o){r&&r.type==="takeGlobalCursor"&&o.setBrushOption(r.key==="brush"?r.brushOption:{brushType:!1})}),zD(t),t.eachComponent({mainType:"brush"},function(o,s){var u={brushId:o.id,brushIndex:s,brushName:o.name,areas:oe(o.areas),selected:[]};n.push(u);var l=o.option,c=l.brushLink,f=[],h=[],d=[],p=!1;s||(i=l.throttleType,a=l.throttleDelay);var v=H(o.areas,function(x){var w=Mae[x.brushType],S=ae({boundingRect:w?w(x):void 0},x);return S.selectors=Aae(S),S}),g=x4(o.option,xy,function(x){x.mappingMethod="fixed"});G(c)&&E(c,function(x){f[x]=1});function m(x){return c==="all"||!!f[x]}function y(x){return!!x.length}t.eachSeries(function(x,w){var S=d[w]=[];x.subType==="parallel"?_(x,w):b(x,w,S)});function _(x,w){var S=x.coordinateSystem;p=p||S.hasAxisBrushed(),m(w)&&S.eachActiveState(x.getData(),function(C,A){C==="active"&&(h[A]=1)})}function b(x,w,S){if(!(!x.brushSelector||kae(o,w))&&(E(v,function(A){o.brushTargetManager.controlSeries(A,x,t)&&S.push(A),p=p||y(S)}),m(w)&&y(S))){var C=x.getData();C.each(function(A){wy(x,S,C,A)&&(h[A]=1)})}}t.eachSeries(function(x,w){var S={seriesId:x.id,seriesIndex:w,seriesName:x.name,dataIndex:[]};u.selected.push(S);var C=d[w],A=x.getData(),T=m(w)?function(D){return h[D]?(S.dataIndex.push(A.getRawIndex(D)),"inBrush"):"outOfBrush"}:function(D){return wy(x,C,A,D)?(S.dataIndex.push(A.getRawIndex(D)),"inBrush"):"outOfBrush"};(m(w)?p:y(C))&&Sae(xy,g,A,T)})}),Dae(e,i,a,n,r)}function Dae(t,e,r,n,i){if(i){var a=t.getZr();if(!a[w4]){a[bh]||(a[bh]=Eae);var o=Gs(a,bh,r,e);o(t,n)}}}function Eae(t,e){if(!t.isDisposed()){var r=t.getZr();r[w4]=!0,t.dispatchAction({type:"brushSelect",batch:e}),r[w4]=!1}}function wy(t,e,r,n){for(var i=0,a=e.length;i<a;i++){var o=e[i];if(t.brushSelector(n,r,o.selectors,o))return!0}}function kae(t,e){var r=t.option.seriesIndex;return r!=null&&r!=="all"&&(G(r)?_e(r,e)<0:e!==r)}var Mae={rect:function(t){return Sy(t.range)},polygon:function(t){for(var e,r=t.range,n=0,i=r.length;n<i;n++){e=e||[[1/0,-1/0],[1/0,-1/0]];var a=r[n];a[0]<e[0][0]&&(e[0][0]=a[0]),a[0]>e[0][1]&&(e[0][1]=a[0]),a[1]<e[1][0]&&(e[1][0]=a[1]),a[1]>e[1][1]&&(e[1][1]=a[1])}return e&&Sy(e)}};function Sy(t){return new ye(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var Lae=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r,n){this.ecModel=r,this.api=n,this.model,(this._brushController=new L7(n.getZr())).on("brush",X(this._onBrush,this)).mount()},e.prototype.render=function(r,n,i,a){this.model=r,this._updateController(r,n,i,a)},e.prototype.updateTransform=function(r,n,i,a){zD(n),this._updateController(r,n,i,a)},e.prototype.updateVisual=function(r,n,i,a){this.updateTransform(r,n,i,a)},e.prototype.updateView=function(r,n,i,a){this._updateController(r,n,i,a)},e.prototype._updateController=function(r,n,i,a){(!a||a.$from!==r.id)&&this._brushController.setPanels(r.brushTargetManager.makePanelOpts(i)).enableBrush(r.brushOption).updateCovers(r.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(r){var n=this.model.id,i=this.model.brushTargetManager.setOutputRanges(r.areas,this.ecModel);(!r.isEnd||r.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:oe(i),$from:n}),r.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:oe(i),$from:n})},e.type="brush",e}(et);const Iae=Lae;var Pae="#ddd",Rae=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.areas=[],r.brushOption={},r}return e.prototype.optionUpdated=function(r,n){var i=this.option;!n&&FD(i,r,["inBrush","outOfBrush"]);var a=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:Pae},a.hasOwnProperty("liftZ")||(a.liftZ=5)},e.prototype.setAreas=function(r){process.env.NODE_ENV!=="production"&&(ie(G(r)),E(r,function(n){ie(n.brushType,"Illegal areas")})),r&&(this.areas=H(r,function(n){return Cy(this.option,n)},this))},e.prototype.setBrushOption=function(r){this.brushOption=Cy(this.option,r),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(Ce);function Cy(t,e){return ge({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new We(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}const Nae=Rae;var Oae=["rect","polygon","lineX","lineY","keep","clear"],Bae=function(t){F(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.render=function(r,n,i){var a,o,s;n.eachComponent({mainType:"brush"},function(u){a=u.brushType,o=u.brushOption.brushMode||"single",s=s||!!u.areas.length}),this._brushType=a,this._brushMode=o,E(r.get("type",!0),function(u){r.setIconStatus(u,(u==="keep"?o==="multiple":u==="clear"?s:u===a)?"emphasis":"normal")})},e.prototype.updateView=function(r,n,i){this.render(r,n,i)},e.prototype.getIcons=function(){var r=this.model,n=r.get("icon",!0),i={};return E(r.get("type",!0),function(a){n[a]&&(i[a]=n[a])}),i},e.prototype.onclick=function(r,n,i){var a=this._brushType,o=this._brushMode;i==="clear"?(n.dispatchAction({type:"axisAreaSelect",intervals:[]}),n.dispatchAction({type:"brush",command:"clear",areas:[]})):n.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:i==="keep"?a:a===i?!1:i,brushMode:i==="keep"?o==="multiple"?"single":"multiple":o}})},e.getDefaultOption=function(r){var n={show:!0,type:Oae.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:r.getLocaleModel().get(["toolbox","brush","title"])};return n},e}(Dr);const Fae=Bae;function zae(t){t.registerComponentView(Iae),t.registerComponentModel(Nae),t.registerPreprocessor(xae),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,Tae),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(e,r){r.eachComponent({mainType:"brush",query:e},function(n){n.setAreas(e.areas)})}),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},at),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},at),es("brush",Fae)}var Vae=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.layoutMode={type:"box",ignoreSize:!0},r}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(Ce),$ae=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.render=function(r,n,i){if(this.group.removeAll(),!!r.get("show")){var a=this.group,o=r.getModel("textStyle"),s=r.getModel("subtextStyle"),u=r.get("textAlign"),l=fe(r.get("textBaseline"),r.get("textVerticalAlign")),c=new ke({style:Ue(o,{text:r.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),f=c.getBoundingRect(),h=r.get("subtext"),d=new ke({style:Ue(s,{text:h,fill:s.getTextColor(),y:f.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=r.get("link"),v=r.get("sublink"),g=r.get("triggerEvent",!0);c.silent=!p&&!g,d.silent=!v&&!g,p&&c.on("click",function(){hc(p,"_"+r.get("target"))}),v&&d.on("click",function(){hc(v,"_"+r.get("subtarget"))}),ce(c).eventData=ce(d).eventData=g?{componentType:"title",componentIndex:r.componentIndex}:null,a.add(c),h&&a.add(d);var m=a.getBoundingRect(),y=r.getBoxLayoutParams();y.width=m.width,y.height=m.height;var _=dt(y,{width:i.getWidth(),height:i.getHeight()},r.get("padding"));u||(u=r.get("left")||r.get("right"),u==="middle"&&(u="center"),u==="right"?_.x+=_.width:u==="center"&&(_.x+=_.width/2)),l||(l=r.get("top")||r.get("bottom"),l==="center"&&(l="middle"),l==="bottom"?_.y+=_.height:l==="middle"&&(_.y+=_.height/2),l=l||"top"),a.x=_.x,a.y=_.y,a.markRedraw();var b={align:u,verticalAlign:l};c.setStyle(b),d.setStyle(b),m=a.getBoundingRect();var x=_.margin,w=r.getItemStyle(["color","opacity"]);w.fill=r.get("backgroundColor");var S=new Ee({shape:{x:m.x-x[3],y:m.y-x[0],width:m.width+x[1]+x[3],height:m.height+x[0]+x[2],r:r.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});a.add(S)}},e.type="title",e}(et);function Gae(t){t.registerComponentModel(Vae),t.registerComponentView($ae)}var Hae=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.layoutMode="box",r}return e.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i),this._initData()},e.prototype.mergeOption=function(r){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(r){r==null&&(r=this.option.currentIndex);var n=this._data.count();this.option.loop?r=(r%n+n)%n:(r>=n&&(r=n-1),r<0&&(r=0)),this.option.currentIndex=r},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(r){this.option.autoPlay=!!r},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var r=this.option,n=r.data||[],i=r.axisType,a=this._names=[],o;i==="category"?(o=[],E(n,function(l,c){var f=ht(Ls(l),""),h;ne(l)?(h=oe(l),h.value=c):h=c,o.push(h),a.push(f)})):o=n;var s={category:"ordinal",time:"time",value:"number"}[i]||"number",u=this._data=new qt([{name:"value",type:s}],this);u.initData(o,a)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(Ce);const Ay=Hae;var VD=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="timeline.slider",e.defaultOption=ji(Ay.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(Ay);ft(VD,L2.prototype);const Uae=VD;var Wae=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="timeline",e}(et);const qae=Wae;var Zae=function(t){F(e,t);function e(r,n,i,a){var o=t.call(this,r,n,i)||this;return o.type=a||"value",o}return e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},e}(en);const Yae=Zae;var xh=Math.PI,Ty=Ae(),Xae=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(r,n){this.api=n},e.prototype.render=function(r,n,i){if(this.model=r,this.api=i,this.ecModel=n,this.group.removeAll(),r.get("show",!0)){var a=this._layout(r,i),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),u=this._axis=this._createAxis(a,r);r.formatTooltip=function(l){var c=u.scale.getLabel({value:l});return mt("nameValue",{noName:!0,value:c})},E(["AxisLine","AxisTick","Control","CurrentPointer"],function(l){this["_render"+l](a,o,u,r)},this),this._renderAxisLabel(a,s,u,r),this._position(a,r)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(r,n){var i=r.get(["label","position"]),a=r.get("orient"),o=Kae(r,n),s;i==null||i==="auto"?s=a==="horizontal"?o.y+o.height/2<n.getHeight()/2?"-":"+":o.x+o.width/2<n.getWidth()/2?"+":"-":Z(i)?s={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[a][i]:s=i;var u={horizontal:"center",vertical:s>=0||s==="+"?"left":"right"},l={horizontal:s>=0||s==="+"?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:xh/2},f=a==="vertical"?o.height:o.width,h=r.getModel("controlStyle"),d=h.get("show",!0),p=d?h.get("itemSize"):0,v=d?h.get("itemGap"):0,g=p+v,m=r.get(["label","rotate"])||0;m=m*xh/180;var y,_,b,x=h.get("position",!0),w=d&&h.get("showPlayBtn",!0),S=d&&h.get("showPrevBtn",!0),C=d&&h.get("showNextBtn",!0),A=0,T=f;x==="left"||x==="bottom"?(w&&(y=[0,0],A+=g),S&&(_=[A,0],A+=g),C&&(b=[T-p,0],T-=g)):(w&&(y=[T-p,0],T-=g),S&&(_=[0,0],A+=g),C&&(b=[T-p,0],T-=g));var D=[A,T];return r.get("inverse")&&D.reverse(),{viewRect:o,mainLength:f,orient:a,rotation:c[a],labelRotation:m,labelPosOpt:s,labelAlign:r.get(["label","align"])||u[a],labelBaseline:r.get(["label","verticalAlign"])||r.get(["label","baseline"])||l[a],playPosition:y,prevBtnPosition:_,nextBtnPosition:b,axisExtent:D,controlSize:p,controlGap:v}},e.prototype._position=function(r,n){var i=this._mainGroup,a=this._labelGroup,o=r.viewRect;if(r.orient==="vertical"){var s=cr(),u=o.x,l=o.y+o.height;xn(s,s,[-u,-l]),ho(s,s,-xh/2),xn(s,s,[u,l]),o=o.clone(),o.applyTransform(s)}var c=y(o),f=y(i.getBoundingRect()),h=y(a.getBoundingRect()),d=[i.x,i.y],p=[a.x,a.y];p[0]=d[0]=c[0][0];var v=r.labelPosOpt;if(v==null||Z(v)){var g=v==="+"?0:1;_(d,f,c,1,g),_(p,h,c,1,1-g)}else{var g=v>=0?0:1;_(d,f,c,1,g),p[1]=d[1]+v}i.setPosition(d),a.setPosition(p),i.rotation=a.rotation=r.rotation,m(i),m(a);function m(b){b.originX=c[0][0]-b.x,b.originY=c[1][0]-b.y}function y(b){return[[b.x,b.x+b.width],[b.y,b.y+b.height]]}function _(b,x,w,S,C){b[S]+=w[S][C]-x[S][C]}},e.prototype._createAxis=function(r,n){var i=n.getData(),a=n.get("axisType"),o=jae(n,a);o.getTicks=function(){return i.mapArray(["value"],function(l){return{value:l}})};var s=i.getDataExtent("value");o.setExtent(s[0],s[1]),o.calcNiceTicks();var u=new Yae("value",o,r.axisExtent,a);return u.model=n,u},e.prototype._createGroup=function(r){var n=this[r]=new le;return this.group.add(n),n},e.prototype._renderAxisLine=function(r,n,i,a){var o=i.getExtent();if(a.get(["lineStyle","show"])){var s=new xt({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:$({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});n.add(s);var u=this._progressLine=new xt({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:ae({lineCap:"round",lineWidth:s.style.lineWidth},a.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});n.add(u)}},e.prototype._renderAxisTick=function(r,n,i,a){var o=this,s=a.getData(),u=i.scale.getTicks();this._tickSymbols=[],E(u,function(l){var c=i.dataToCoord(l.value),f=s.getItemModel(l.value),h=f.getModel("itemStyle"),d=f.getModel(["emphasis","itemStyle"]),p=f.getModel(["progress","itemStyle"]),v={x:c,y:0,onclick:X(o._changeTimeline,o,l.value)},g=Dy(f,h,n,v);g.ensureState("emphasis").style=d.getItemStyle(),g.ensureState("progress").style=p.getItemStyle(),Ya(g);var m=ce(g);f.get("tooltip")?(m.dataIndex=l.value,m.dataModel=a):m.dataIndex=m.dataModel=null,o._tickSymbols.push(g)})},e.prototype._renderAxisLabel=function(r,n,i,a){var o=this,s=i.getLabelModel();if(s.get("show")){var u=a.getData(),l=i.getViewLabels();this._tickLabels=[],E(l,function(c){var f=c.tickValue,h=u.getItemModel(f),d=h.getModel("label"),p=h.getModel(["emphasis","label"]),v=h.getModel(["progress","label"]),g=i.dataToCoord(c.tickValue),m=new ke({x:g,y:0,rotation:r.labelRotation-r.rotation,onclick:X(o._changeTimeline,o,f),silent:!1,style:Ue(d,{text:c.formattedLabel,align:r.labelAlign,verticalAlign:r.labelBaseline})});m.ensureState("emphasis").style=Ue(p),m.ensureState("progress").style=Ue(v),n.add(m),Ya(m),Ty(m).dataIndex=f,o._tickLabels.push(m)})}},e.prototype._renderControl=function(r,n,i,a){var o=r.controlSize,s=r.rotation,u=a.getModel("controlStyle").getItemStyle(),l=a.getModel(["emphasis","controlStyle"]).getItemStyle(),c=a.getPlayState(),f=a.get("inverse",!0);h(r.nextBtnPosition,"next",X(this._changeTimeline,this,f?"-":"+")),h(r.prevBtnPosition,"prev",X(this._changeTimeline,this,f?"+":"-")),h(r.playPosition,c?"stop":"play",X(this._handlePlayClick,this,!c),!0);function h(d,p,v,g){if(d){var m=jr(fe(a.get(["controlStyle",p+"BtnSize"]),o),o),y=[0,-m/2,m,m],_=Qae(a,p+"Icon",y,{x:d[0],y:d[1],originX:o/2,originY:0,rotation:g?-s:0,rectHover:!0,style:u,onclick:v});_.ensureState("emphasis").style=l,n.add(_),Ya(_)}}},e.prototype._renderCurrentPointer=function(r,n,i,a){var o=a.getData(),s=a.getCurrentIndex(),u=o.getItemModel(s).getModel("checkpointStyle"),l=this,c={onCreate:function(f){f.draggable=!0,f.drift=X(l._handlePointerDrag,l),f.ondragend=X(l._handlePointerDragend,l),Ey(f,l._progressLine,s,i,a,!0)},onUpdate:function(f){Ey(f,l._progressLine,s,i,a)}};this._currentPointer=Dy(u,u,this._mainGroup,{},this._currentPointer,c)},e.prototype._handlePlayClick=function(r){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:r,from:this.uid})},e.prototype._handlePointerDrag=function(r,n,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},e.prototype._handlePointerDragend=function(r){this._pointerChangeTimeline([r.offsetX,r.offsetY],!0)},e.prototype._pointerChangeTimeline=function(r,n){var i=this._toAxisCoord(r)[0],a=this._axis,o=Mr(a.getExtent().slice());i>o[1]&&(i=o[1]),i<o[0]&&(i=o[0]),this._currentPointer.x=i,this._currentPointer.markRedraw();var s=this._progressLine;s&&(s.shape.x2=i,s.dirty());var u=this._findNearestTick(i),l=this.model;(n||u!==l.getCurrentIndex()&&l.get("realtime"))&&this._changeTimeline(u)},e.prototype._doPlayStop=function(){var r=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var n=r.model;r._changeTimeline(n.getCurrentIndex()+(n.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},e.prototype._toAxisCoord=function(r){var n=this._mainGroup.getLocalTransform();return Xr(r,n,!0)},e.prototype._findNearestTick=function(r){var n=this.model.getData(),i=1/0,a,o=this._axis;return n.each(["value"],function(s,u){var l=o.dataToCoord(s),c=Math.abs(l-r);c<i&&(i=c,a=u)}),a},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(r){var n=this.model.getCurrentIndex();r==="+"?r=n+1:r==="-"&&(r=n-1),this.api.dispatchAction({type:"timelineChange",currentIndex:r,from:this.uid})},e.prototype._updateTicksStatus=function(){var r=this.model.getCurrentIndex(),n=this._tickSymbols,i=this._tickLabels;if(n)for(var a=0;a<n.length;a++)n&&n[a]&&n[a].toggleState("progress",a<r);if(i)for(var a=0;a<i.length;a++)i&&i[a]&&i[a].toggleState("progress",Ty(i[a]).dataIndex<=r)},e.type="timeline.slider",e}(qae);function jae(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new j5({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new zC({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new Ui}}function Kae(t,e){return dt(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}function Qae(t,e,r,n){var i=n.style,a=Ul(t.get(["controlStyle",e]),n||{},new ye(r[0],r[1],r[2],r[3]));return i&&a.setStyle(i),a}function Dy(t,e,r,n,i,a){var o=e.get("color");if(i)i.setColor(o),r.add(i),a&&a.onUpdate(i);else{var s=t.get("symbol");i=ct(s,-1,-1,2,2,o),i.setStyle("strokeNoScale",!0),r.add(i),a&&a.onCreate(i)}var u=e.getItemStyle(["color"]);i.setStyle(u),n=ge({rectHover:!0,z2:100},n,!0);var l=Hs(t.get("symbolSize"));n.scaleX=l[0]/2,n.scaleY=l[1]/2;var c=mo(t.get("symbolOffset"),l);c&&(n.x=(n.x||0)+c[0],n.y=(n.y||0)+c[1]);var f=t.get("symbolRotate");return n.rotation=(f||0)*Math.PI/180||0,i.attr(n),i.updateTransform(),i}function Ey(t,e,r,n,i,a){if(!t.dragging){var o=i.getModel("checkpointStyle"),s=n.dataToCoord(i.getData().get("value",r));if(a||!o.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var u={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},u),e&&e.animateTo({shape:{x2:s}},u)}}}const Jae=Xae;function eoe(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(e,r,n){var i=r.getComponent("timeline");return i&&e.currentIndex!=null&&(i.setCurrentIndex(e.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:e.from}))),r.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),ae({currentIndex:i.option.currentIndex},e)}),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(e,r){var n=r.getComponent("timeline");n&&e.playState!=null&&n.setPlayState(e.playState)})}function toe(t){var e=t&&t.timeline;G(e)||(e=e?[e]:[]),E(e,function(r){r&&roe(r)})}function roe(t){var e=t.type,r={number:"value",time:"time"};if(r[e]&&(t.axisType=r[e],delete t.type),ky(t),Ia(t,"controlPosition")){var n=t.controlStyle||(t.controlStyle={});Ia(n,"position")||(n.position=t.controlPosition),n.position==="none"&&!Ia(n,"show")&&(n.show=!1,delete n.position),delete t.controlPosition}E(t.data||[],function(i){ne(i)&&!G(i)&&(!Ia(i,"value")&&Ia(i,"name")&&(i.value=i.name),ky(i))})}function ky(t){var e=t.itemStyle||(t.itemStyle={}),r=e.emphasis||(e.emphasis={}),n=t.label||t.label||{},i=n.normal||(n.normal={}),a={normal:1,emphasis:1};E(n,function(o,s){!a[s]&&!Ia(i,s)&&(i[s]=o)}),r.label&&!Ia(n,"emphasis")&&(n.emphasis=r.label,delete r.label)}function Ia(t,e){return t.hasOwnProperty(e)}function noe(t){t.registerComponentModel(Uae),t.registerComponentView(Jae),t.registerSubTypeDefaulter("timeline",function(){return"slider"}),eoe(t),t.registerPreprocessor(toe)}function rp(t,e){if(!t)return!1;for(var r=G(t)?t:[t],n=0;n<r.length;n++)if(r[n]&&r[n][e])return!0;return!1}function p0(t){ro(t,"label",["show"])}var v0=Ae(),$D=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.createdBySelf=!1,r}return e.prototype.init=function(r,n,i){if(process.env.NODE_ENV!=="production"&&this.type==="marker")throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");this.mergeDefaultAndTheme(r,i),this._mergeOption(r,i,!1,!0)},e.prototype.isAnimationEnabled=function(){if(De.node)return!1;var r=this.__hostSeries;return this.getShallow("animation")&&r&&r.isAnimationEnabled()},e.prototype.mergeOption=function(r,n){this._mergeOption(r,n,!1,!1)},e.prototype._mergeOption=function(r,n,i,a){var o=this.mainType;i||n.eachSeries(function(s){var u=s.get(this.mainType,!0),l=v0(s)[o];if(!u||!u.data){v0(s)[o]=null;return}l?l._mergeOption(u,n,!0):(a&&p0(u),E(u.data,function(c){c instanceof Array?(p0(c[0]),p0(c[1])):p0(c)}),l=this.createMarkerModelFromSeries(u,this,n),$(l,{mainType:this.mainType,seriesIndex:s.seriesIndex,name:s.name,createdBySelf:!0}),l.__hostSeries=s),v0(s)[o]=l},this)},e.prototype.formatTooltip=function(r,n,i){var a=this.getData(),o=this.getRawValue(r),s=a.getName(r);return mt("section",{header:this.name,blocks:[mt("nameValue",{name:s,value:o,noName:!s,noValue:o==null})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(r){this._data=r},e.prototype.getDataParams=function(r,n){var i=L2.prototype.getDataParams.call(this,r,n),a=this.__hostSeries;return a&&(i.seriesId=a.id,i.seriesName=a.name,i.seriesType=a.subType),i},e.getMarkerModelFromSeries=function(r,n){return v0(r)[n]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(Ce);ft($D,L2.prototype);const Zi=$D;var ioe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.createMarkerModelFromSeries=function(r,n,i){return new e(r,n,i)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(Zi);const aoe=ioe;function S4(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function ooe(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}function g0(t,e,r,n,i,a){var o=[],s=Hi(e,n),u=s?e.getCalculationInfo("stackResultDimension"):n,l=np(e,u,t),c=e.indicesOfNearest(u,l)[0];o[i]=e.get(r,c),o[a]=e.get(u,c);var f=e.get(n,c),h=pn(e.get(n,c));return h=Math.min(h,20),h>=0&&(o[a]=+o[a].toFixed(h)),[o,f]}var wh={min:ve(g0,"min"),max:ve(g0,"max"),average:ve(g0,"average"),median:ve(g0,"median")};function Pl(t,e){if(e){var r=t.getData(),n=t.coordinateSystem,i=n&&n.dimensions;if(!ooe(e)&&!G(e.coord)&&G(i)){var a=GD(e,r,n,t);if(e=oe(e),e.type&&wh[e.type]&&a.baseAxis&&a.valueAxis){var o=_e(i,a.baseAxis.dim),s=_e(i,a.valueAxis.dim),u=wh[e.type](r,a.baseDataDim,a.valueDataDim,o,s);e.coord=u[0],e.value=u[1]}else e.coord=[e.xAxis!=null?e.xAxis:e.radiusAxis,e.yAxis!=null?e.yAxis:e.angleAxis]}if(e.coord==null||!G(i))e.coord=[];else for(var l=e.coord,c=0;c<2;c++)wh[l[c]]&&(l[c]=np(r,r.mapDimension(i[c]),l[c]));return e}}function GD(t,e,r,n){var i={};return t.valueIndex!=null||t.valueDim!=null?(i.valueDataDim=t.valueIndex!=null?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=r.getAxis(soe(n,i.valueDataDim)),i.baseAxis=r.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=n.getBaseAxis(),i.valueAxis=r.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function soe(t,e){var r=t.getData().getDimensionInfo(e);return r&&r.coordDim}function Rl(t,e){return t&&t.containData&&e.coord&&!S4(e)?t.containData(e.coord):!0}function uoe(t,e,r){return t&&t.containZone&&e.coord&&r.coord&&!S4(e)&&!S4(r)?t.containZone(e.coord,r.coord):!0}function HD(t,e){return t?function(r,n,i,a){var o=a<2?r.coord&&r.coord[a]:r.value;return Pi(o,e[a])}:function(r,n,i,a){return Pi(r.value,e[a])}}function np(t,e,r){if(r==="average"){var n=0,i=0;return t.each(e,function(a,o){isNaN(a)||(n+=a,i++)}),n/i}else return r==="median"?t.getMedian(e):t.getDataExtent(e)[r==="max"?1:0]}var Sh=Ae(),loe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.init=function(){this.markerGroupMap=J()},e.prototype.render=function(r,n,i){var a=this,o=this.markerGroupMap;o.each(function(s){Sh(s).keep=!1}),n.eachSeries(function(s){var u=Zi.getMarkerModelFromSeries(s,a.type);u&&a.renderSeries(s,u,n,i)}),o.each(function(s){!Sh(s).keep&&a.group.remove(s.group)})},e.prototype.markKeep=function(r){Sh(r).keep=!0},e.prototype.toggleBlurSeries=function(r,n){var i=this;E(r,function(a){var o=Zi.getMarkerModelFromSeries(a,i.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(u){u&&(n?vw(u):y5(u))})}})},e.type="marker",e}(et);const ip=loe;function My(t,e,r){var n=e.coordinateSystem;t.each(function(i){var a=t.getItemModel(i),o,s=W(a.get("x"),r.getWidth()),u=W(a.get("y"),r.getHeight());if(!isNaN(s)&&!isNaN(u))o=[s,u];else if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(n){var l=t.get(n.dimensions[0],i),c=t.get(n.dimensions[1],i);o=n.dataToPoint([l,c])}isNaN(s)||(o[0]=s),isNaN(u)||(o[1]=u),t.setItemLayout(i,o)})}var coe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.updateTransform=function(r,n,i){n.eachSeries(function(a){var o=Zi.getMarkerModelFromSeries(a,"markPoint");o&&(My(o.getData(),a,i),this.markerGroupMap.get(a.id).updateLayout())},this)},e.prototype.renderSeries=function(r,n,i,a){var o=r.coordinateSystem,s=r.id,u=r.getData(),l=this.markerGroupMap,c=l.get(s)||l.set(s,new Xl),f=foe(o,r,n);n.setData(f),My(n.getData(),r,a),f.each(function(h){var d=f.getItemModel(h),p=d.getShallow("symbol"),v=d.getShallow("symbolSize"),g=d.getShallow("symbolRotate"),m=d.getShallow("symbolOffset"),y=d.getShallow("symbolKeepAspect");if(te(p)||te(v)||te(g)||te(m)){var _=n.getRawValue(h),b=n.getDataParams(h);te(p)&&(p=p(_,b)),te(v)&&(v=v(_,b)),te(g)&&(g=g(_,b)),te(m)&&(m=m(_,b))}var x=d.getModel("itemStyle").getItemStyle(),w=Wl(u,"color");x.fill||(x.fill=w),f.setItemVisual(h,{symbol:p,symbolSize:v,symbolRotate:g,symbolOffset:m,symbolKeepAspect:y,style:x})}),c.updateData(f),this.group.add(c.group),f.eachItemGraphicEl(function(h){h.traverse(function(d){ce(d).dataModel=n})}),this.markKeep(c),c.group.silent=n.get("silent")||r.get("silent")},e.type="markPoint",e}(ip);function foe(t,e,r){var n;t?n=H(t&&t.dimensions,function(s){var u=e.getData().getDimensionInfo(e.getData().mapDimension(s))||{};return $($({},u),{name:s,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var i=new qt(n,r),a=H(r.get("data"),ve(Pl,e));t&&(a=Ne(a,ve(Rl,t)));var o=HD(!!t,n);return i.initData(a,null,o),i}const hoe=coe;function doe(t){t.registerComponentModel(aoe),t.registerComponentView(hoe),t.registerPreprocessor(function(e){rp(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}var poe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.createMarkerModelFromSeries=function(r,n,i){return new e(r,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(Zi);const voe=poe;var m0=Ae(),goe=function(t,e,r,n){var i=t.getData(),a;if(G(n))a=n;else{var o=n.type;if(o==="min"||o==="max"||o==="average"||o==="median"||n.xAxis!=null||n.yAxis!=null){var s=void 0,u=void 0;if(n.yAxis!=null||n.xAxis!=null)s=e.getAxis(n.yAxis!=null?"y":"x"),u=ut(n.yAxis,n.xAxis);else{var l=GD(n,i,e,t);s=l.valueAxis;var c=AC(i,l.valueDataDim);u=np(i,c,o)}var f=s.dim==="x"?0:1,h=1-f,d=oe(n),p={coord:[]};d.type=null,d.coord=[],d.coord[h]=-1/0,p.coord[h]=1/0;var v=r.get("precision");v>=0&&Me(u)&&(u=+u.toFixed(Math.min(v,20))),d.coord[f]=p.coord[f]=u,a=[d,p,{type:o,valueIndex:n.valueIndex,value:u}]}else process.env.NODE_ENV!=="production"&&Zr("Invalid markLine data."),a=[]}var g=[Pl(t,a[0]),Pl(t,a[1]),$({},a[2])];return g[2].type=g[2].type||null,ge(g[2],g[0]),ge(g[2],g[1]),g};function Gc(t){return!isNaN(t)&&!isFinite(t)}function Ly(t,e,r,n){var i=1-t,a=n.dimensions[t];return Gc(e[i])&&Gc(r[i])&&e[t]===r[t]&&n.getAxis(a).containData(e[t])}function moe(t,e){if(t.type==="cartesian2d"){var r=e[0].coord,n=e[1].coord;if(r&&n&&(Ly(1,r,n,t)||Ly(0,r,n,t)))return!0}return Rl(t,e[0])&&Rl(t,e[1])}function Ch(t,e,r,n,i){var a=n.coordinateSystem,o=t.getItemModel(e),s,u=W(o.get("x"),i.getWidth()),l=W(o.get("y"),i.getHeight());if(!isNaN(u)&&!isNaN(l))s=[u,l];else{if(n.getMarkerPosition)s=n.getMarkerPosition(t.getValues(t.dimensions,e));else{var c=a.dimensions,f=t.get(c[0],e),h=t.get(c[1],e);s=a.dataToPoint([f,h])}if(_o(a,"cartesian2d")){var d=a.getAxis("x"),p=a.getAxis("y"),c=a.dimensions;Gc(t.get(c[0],e))?s[0]=d.toGlobalCoord(d.getExtent()[r?0:1]):Gc(t.get(c[1],e))&&(s[1]=p.toGlobalCoord(p.getExtent()[r?0:1]))}isNaN(u)||(s[0]=u),isNaN(l)||(s[1]=l)}t.setItemLayout(e,s)}var yoe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.updateTransform=function(r,n,i){n.eachSeries(function(a){var o=Zi.getMarkerModelFromSeries(a,"markLine");if(o){var s=o.getData(),u=m0(o).from,l=m0(o).to;u.each(function(c){Ch(u,c,!0,a,i),Ch(l,c,!1,a,i)}),s.each(function(c){s.setItemLayout(c,[u.getItemLayout(c),l.getItemLayout(c)])}),this.markerGroupMap.get(a.id).updateLayout()}},this)},e.prototype.renderSeries=function(r,n,i,a){var o=r.coordinateSystem,s=r.id,u=r.getData(),l=this.markerGroupMap,c=l.get(s)||l.set(s,new A7);this.group.add(c.group);var f=_oe(o,r,n),h=f.from,d=f.to,p=f.line;m0(n).from=h,m0(n).to=d,n.setData(p);var v=n.get("symbol"),g=n.get("symbolSize"),m=n.get("symbolRotate"),y=n.get("symbolOffset");G(v)||(v=[v,v]),G(g)||(g=[g,g]),G(m)||(m=[m,m]),G(y)||(y=[y,y]),f.from.each(function(b){_(h,b,!0),_(d,b,!1)}),p.each(function(b){var x=p.getItemModel(b).getModel("lineStyle").getLineStyle();p.setItemLayout(b,[h.getItemLayout(b),d.getItemLayout(b)]),x.stroke==null&&(x.stroke=h.getItemVisual(b,"style").fill),p.setItemVisual(b,{fromSymbolKeepAspect:h.getItemVisual(b,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(b,"symbolOffset"),fromSymbolRotate:h.getItemVisual(b,"symbolRotate"),fromSymbolSize:h.getItemVisual(b,"symbolSize"),fromSymbol:h.getItemVisual(b,"symbol"),toSymbolKeepAspect:d.getItemVisual(b,"symbolKeepAspect"),toSymbolOffset:d.getItemVisual(b,"symbolOffset"),toSymbolRotate:d.getItemVisual(b,"symbolRotate"),toSymbolSize:d.getItemVisual(b,"symbolSize"),toSymbol:d.getItemVisual(b,"symbol"),style:x})}),c.updateData(p),f.line.eachItemGraphicEl(function(b){ce(b).dataModel=n,b.traverse(function(x){ce(x).dataModel=n})});function _(b,x,w){var S=b.getItemModel(x);Ch(b,x,w,r,a);var C=S.getModel("itemStyle").getItemStyle();C.fill==null&&(C.fill=Wl(u,"color")),b.setItemVisual(x,{symbolKeepAspect:S.get("symbolKeepAspect"),symbolOffset:fe(S.get("symbolOffset",!0),y[w?0:1]),symbolRotate:fe(S.get("symbolRotate",!0),m[w?0:1]),symbolSize:fe(S.get("symbolSize"),g[w?0:1]),symbol:fe(S.get("symbol",!0),v[w?0:1]),style:C})}this.markKeep(c),c.group.silent=n.get("silent")||r.get("silent")},e.type="markLine",e}(ip);function _oe(t,e,r){var n;t?n=H(t&&t.dimensions,function(l){var c=e.getData().getDimensionInfo(e.getData().mapDimension(l))||{};return $($({},c),{name:l,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var i=new qt(n,r),a=new qt(n,r),o=new qt([],r),s=H(r.get("data"),ve(goe,e,t,r));t&&(s=Ne(s,ve(moe,t)));var u=HD(!!t,n);return i.initData(H(s,function(l){return l[0]}),null,u),a.initData(H(s,function(l){return l[1]}),null,u),o.initData(H(s,function(l){return l[2]})),o.hasItemOption=!0,{from:i,to:a,line:o}}const boe=yoe;function xoe(t){t.registerComponentModel(voe),t.registerComponentView(boe),t.registerPreprocessor(function(e){rp(e.series,"markLine")&&(e.markLine=e.markLine||{})})}var woe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.createMarkerModelFromSeries=function(r,n,i){return new e(r,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(Zi);const Soe=woe;var y0=Ae(),Coe=function(t,e,r,n){var i=n[0],a=n[1];if(!(!i||!a)){var o=Pl(t,i),s=Pl(t,a),u=o.coord,l=s.coord;u[0]=ut(u[0],-1/0),u[1]=ut(u[1],-1/0),l[0]=ut(l[0],1/0),l[1]=ut(l[1],1/0);var c=J4([{},o,s]);return c.coord=[o.coord,s.coord],c.x0=o.x,c.y0=o.y,c.x1=s.x,c.y1=s.y,c}};function Hc(t){return!isNaN(t)&&!isFinite(t)}function Iy(t,e,r,n){var i=1-t;return Hc(e[i])&&Hc(r[i])}function Aoe(t,e){var r=e.coord[0],n=e.coord[1],i={coord:r,x:e.x0,y:e.y0},a={coord:n,x:e.x1,y:e.y1};return _o(t,"cartesian2d")?r&&n&&(Iy(1,r,n)||Iy(0,r,n))?!0:uoe(t,i,a):Rl(t,i)||Rl(t,a)}function Py(t,e,r,n,i){var a=n.coordinateSystem,o=t.getItemModel(e),s,u=W(o.get(r[0]),i.getWidth()),l=W(o.get(r[1]),i.getHeight());if(!isNaN(u)&&!isNaN(l))s=[u,l];else{if(n.getMarkerPosition){var c=t.getValues(["x0","y0"],e),f=t.getValues(["x1","y1"],e),h=a.clampData(c),d=a.clampData(f),p=[];r[0]==="x0"?p[0]=h[0]>d[0]?f[0]:c[0]:p[0]=h[0]>d[0]?c[0]:f[0],r[1]==="y0"?p[1]=h[1]>d[1]?f[1]:c[1]:p[1]=h[1]>d[1]?c[1]:f[1],s=n.getMarkerPosition(p,r,!0)}else{var v=t.get(r[0],e),g=t.get(r[1],e),m=[v,g];a.clampData&&a.clampData(m,m),s=a.dataToPoint(m,!0)}if(_o(a,"cartesian2d")){var y=a.getAxis("x"),_=a.getAxis("y"),v=t.get(r[0],e),g=t.get(r[1],e);Hc(v)?s[0]=y.toGlobalCoord(y.getExtent()[r[0]==="x0"?0:1]):Hc(g)&&(s[1]=_.toGlobalCoord(_.getExtent()[r[1]==="y0"?0:1]))}isNaN(u)||(s[0]=u),isNaN(l)||(s[1]=l)}return s}var Ry=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],Toe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.updateTransform=function(r,n,i){n.eachSeries(function(a){var o=Zi.getMarkerModelFromSeries(a,"markArea");if(o){var s=o.getData();s.each(function(u){var l=H(Ry,function(f){return Py(s,u,f,a,i)});s.setItemLayout(u,l);var c=s.getItemGraphicEl(u);c.setShape("points",l)})}},this)},e.prototype.renderSeries=function(r,n,i,a){var o=r.coordinateSystem,s=r.id,u=r.getData(),l=this.markerGroupMap,c=l.get(s)||l.set(s,{group:new le});this.group.add(c.group),this.markKeep(c);var f=Doe(o,r,n);n.setData(f),f.each(function(h){var d=H(Ry,function(C){return Py(f,h,C,r,a)}),p=o.getAxis("x").scale,v=o.getAxis("y").scale,g=p.getExtent(),m=v.getExtent(),y=[p.parse(f.get("x0",h)),p.parse(f.get("x1",h))],_=[v.parse(f.get("y0",h)),v.parse(f.get("y1",h))];Mr(y),Mr(_);var b=!(g[0]>y[1]||g[1]<y[0]||m[0]>_[1]||m[1]<_[0]),x=!b;f.setItemLayout(h,{points:d,allClipped:x});var w=f.getItemModel(h).getModel("itemStyle").getItemStyle(),S=Wl(u,"color");w.fill||(w.fill=S,Z(w.fill)&&(w.fill=ec(w.fill,.4))),w.stroke||(w.stroke=S),f.setItemVisual(h,"style",w)}),f.diff(y0(c).data).add(function(h){var d=f.getItemLayout(h);if(!d.allClipped){var p=new nr({shape:{points:d.points}});f.setItemGraphicEl(h,p),c.group.add(p)}}).update(function(h,d){var p=y0(c).data.getItemGraphicEl(d),v=f.getItemLayout(h);v.allClipped?p&&c.group.remove(p):(p?Ie(p,{shape:{points:v.points}},n,h):p=new nr({shape:{points:v.points}}),f.setItemGraphicEl(h,p),c.group.add(p))}).remove(function(h){var d=y0(c).data.getItemGraphicEl(h);c.group.remove(d)}).execute(),f.eachItemGraphicEl(function(h,d){var p=f.getItemModel(d),v=f.getItemVisual(d,"style");h.useStyle(f.getItemVisual(d,"style")),Mt(h,gt(p),{labelFetcher:n,labelDataIndex:d,defaultText:f.getName(d)||"",inheritColor:Z(v.fill)?ec(v.fill,1):"#000"}),kt(h,p),Je(h,null,null,p.get(["emphasis","disabled"])),ce(h).dataModel=n}),y0(c).data=f,c.group.silent=n.get("silent")||r.get("silent")},e.type="markArea",e}(ip);function Doe(t,e,r){var n,i,a=["x0","y0","x1","y1"];if(t){var o=H(t&&t.dimensions,function(l){var c=e.getData(),f=c.getDimensionInfo(c.mapDimension(l))||{};return $($({},f),{name:l,ordinalMeta:null})});i=H(a,function(l,c){return{name:l,type:o[c%2].type}}),n=new qt(i,r)}else i=[{name:"value",type:"float"}],n=new qt(i,r);var s=H(r.get("data"),ve(Coe,e,t,r));t&&(s=Ne(s,ve(Aoe,t)));var u=t?function(l,c,f,h){var d=l.coord[Math.floor(h/2)][h%2];return Pi(d,i[h])}:function(l,c,f,h){return Pi(l.value,i[h])};return n.initData(s,null,u),n.hasItemOption=!0,n}const Eoe=Toe;function koe(t){t.registerComponentModel(Soe),t.registerComponentView(Eoe),t.registerPreprocessor(function(e){rp(e.series,"markArea")&&(e.markArea=e.markArea||{})})}var Moe=function(t,e){if(e==="all")return{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}},Loe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.layoutMode={type:"box",ignoreSize:!0},r}return e.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i),r.selected=r.selected||{},this._updateSelector(r)},e.prototype.mergeOption=function(r,n){t.prototype.mergeOption.call(this,r,n),this._updateSelector(r)},e.prototype._updateSelector=function(r){var n=r.selector,i=this.ecModel;n===!0&&(n=r.selector=["all","inverse"]),G(n)&&E(n,function(a,o){Z(a)&&(a={type:a}),n[o]=ge(a,Moe(i,a.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var r=this._data;if(r[0]&&this.get("selectedMode")==="single"){for(var n=!1,i=0;i<r.length;i++){var a=r[i].get("name");if(this.isSelected(a)){this.select(a),n=!0;break}}!n&&this.select(r[0].get("name"))}},e.prototype._updateData=function(r){var n=[],i=[];r.eachRawSeries(function(u){var l=u.name;i.push(l);var c;if(u.legendVisualProvider){var f=u.legendVisualProvider,h=f.getAllNames();r.isSeriesFiltered(u)||(i=i.concat(h)),h.length?n=n.concat(h):c=!0}else c=!0;c&&c5(u)&&n.push(u.name)}),this._availableNames=i;var a=this.get("data")||n,o=J(),s=H(a,function(u){return(Z(u)||Me(u))&&(u={name:u}),o.get(u.name)?null:(o.set(u.name,!0),new We(u,this,this.ecModel))},this);this._data=Ne(s,function(u){return!!u})},e.prototype.getData=function(){return this._data},e.prototype.select=function(r){var n=this.option.selected,i=this.get("selectedMode");if(i==="single"){var a=this._data;E(a,function(o){n[o.get("name")]=!1})}n[r]=!0},e.prototype.unSelect=function(r){this.get("selectedMode")!=="single"&&(this.option.selected[r]=!1)},e.prototype.toggleSelected=function(r){var n=this.option.selected;n.hasOwnProperty(r)||(n[r]=!0),this[n[r]?"unSelect":"select"](r)},e.prototype.allSelect=function(){var r=this._data,n=this.option.selected;E(r,function(i){n[i.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var r=this._data,n=this.option.selected;E(r,function(i){var a=i.get("name",!0);n.hasOwnProperty(a)||(n[a]=!0),n[a]=!n[a]})},e.prototype.isSelected=function(r){var n=this.option.selected;return!(n.hasOwnProperty(r)&&!n[r])&&_e(this._availableNames,r)>=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(Ce);const C4=Loe;var Wo=ve,A4=E,_0=le,Ioe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.newlineDisabled=!1,r}return e.prototype.init=function(){this.group.add(this._contentGroup=new _0),this.group.add(this._selectorGroup=new _0),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(r,n,i){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!r.get("show",!0)){var o=r.get("align"),s=r.get("orient");(!o||o==="auto")&&(o=r.get("left")==="right"&&s==="vertical"?"right":"left");var u=r.get("selector",!0),l=r.get("selectorPosition",!0);u&&(!l||l==="auto")&&(l=s==="horizontal"?"end":"start"),this.renderInner(o,r,n,i,u,s,l);var c=r.getBoxLayoutParams(),f={width:i.getWidth(),height:i.getHeight()},h=r.get("padding"),d=dt(c,f,h),p=this.layoutInner(r,o,d,a,u,l),v=dt(ae({width:p.width,height:p.height},c),f,h);this.group.x=v.x-p.x,this.group.y=v.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=LD(p,r))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(r,n,i,a,o,s,u){var l=this.getContentGroup(),c=J(),f=n.get("selectedMode"),h=[];i.eachRawSeries(function(d){!d.get("legendHoverLink")&&h.push(d.id)}),A4(n.getData(),function(d,p){var v=d.get("name");if(!this.newlineDisabled&&(v===""||v===`
|
|
113
|
+
`)){var g=new _0;g.newline=!0,l.add(g);return}var m=i.getSeriesByName(v)[0];if(!c.get(v)){if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},b=y.getVisual("legendIcon"),x=y.getVisual("style"),w=this._createItem(m,v,p,d,n,r,_,x,b,f,a);w.on("click",Wo(Ny,v,null,a,h)).on("mouseover",Wo(T4,m.name,null,a,h)).on("mouseout",Wo(D4,m.name,null,a,h)),i.ssr&&w.eachChild(function(S){var C=ce(S);C.seriesIndex=m.seriesIndex,C.dataIndex=p,C.ssrType="legend"}),c.set(v,!0)}else i.eachRawSeries(function(S){if(!c.get(v)&&S.legendVisualProvider){var C=S.legendVisualProvider;if(!C.containName(v))return;var A=C.indexOfName(v),T=C.getItemVisual(A,"style"),D=C.getItemVisual(A,"legendIcon"),k=fr(T.fill);k&&k[3]===0&&(k[3]=.2,T=$($({},T),{fill:Vn(k,"rgba")}));var M=this._createItem(S,v,p,d,n,r,{},T,D,f,a);M.on("click",Wo(Ny,null,v,a,h)).on("mouseover",Wo(T4,null,v,a,h)).on("mouseout",Wo(D4,null,v,a,h)),i.ssr&&M.eachChild(function(I){var N=ce(I);N.seriesIndex=S.seriesIndex,N.dataIndex=p,N.ssrType="legend"}),c.set(v,!0)}},this);process.env.NODE_ENV!=="production"&&(c.get(v)||console.warn(v+" series not exists. Legend data should be same with series name or data name."))}},this),o&&this._createSelector(o,n,a,s,u)},e.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();A4(r,function(l){var c=l.type,f=new ke({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){i.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:n.id})}});s.add(f);var h=n.getModel("selectorLabel"),d=n.getModel(["emphasis","selectorLabel"]);Mt(f,{normal:h,emphasis:d},{defaultText:l.title}),Ya(f)})},e.prototype._createItem=function(r,n,i,a,o,s,u,l,c,f,h){var d=r.visualDrawType,p=o.get("itemWidth"),v=o.get("itemHeight"),g=o.isSelected(n),m=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");c=_||c||"roundRect";var b=Poe(c,a,u,l,d,g,h),x=new _0,w=a.getModel("textStyle");if(te(r.getLegendIcon)&&(!_||_==="inherit"))x.add(r.getLegendIcon({itemWidth:p,itemHeight:v,icon:c,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));else{var S=_==="inherit"&&r.getData().getVisual("symbol")?m==="inherit"?r.getData().getVisual("symbolRotate"):m:0;x.add(Roe({itemWidth:p,itemHeight:v,icon:c,iconRotate:S,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}))}var C=s==="left"?p+5:-5,A=s,T=o.get("formatter"),D=n;Z(T)&&T?D=T.replace("{name}",n??""):te(T)&&(D=T(n));var k=g?w.getTextColor():a.get("inactiveColor");x.add(new ke({style:Ue(w,{text:D,x:C,y:v/2,fill:k,align:A,verticalAlign:"middle"},{inheritColor:k})}));var M=new Ee({shape:x.getBoundingRect(),style:{fill:"transparent"}}),I=a.getModel("tooltip");return I.get("show")&&po({el:M,componentModel:o,itemName:n,itemTooltipOption:I.option}),x.add(M),x.eachChild(function(N){N.silent=!0}),M.silent=!f,this.getContentGroup().add(x),Ya(x),x.__legendDataIndex=i,x},e.prototype.layoutInner=function(r,n,i,a,o,s){var u=this.getContentGroup(),l=this.getSelectorGroup();ja(r.get("orient"),u,r.get("itemGap"),i.width,i.height);var c=u.getBoundingRect(),f=[-c.x,-c.y];if(l.markRedraw(),u.markRedraw(),o){ja("horizontal",l,r.get("selectorItemGap",!0));var h=l.getBoundingRect(),d=[-h.x,-h.y],p=r.get("selectorButtonGap",!0),v=r.getOrient().index,g=v===0?"width":"height",m=v===0?"height":"width",y=v===0?"y":"x";s==="end"?d[v]+=c[g]+p:f[v]+=h[g]+p,d[1-v]+=c[m]/2-h[m]/2,l.x=d[0],l.y=d[1],u.x=f[0],u.y=f[1];var _={x:0,y:0};return _[g]=c[g]+p+h[g],_[m]=Math.max(c[m],h[m]),_[y]=Math.min(0,h[y]+d[1-v]),_}else return u.x=f[0],u.y=f[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(et);function Poe(t,e,r,n,i,a,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),A4(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var u=e.getModel("itemStyle"),l=u.getItemStyle(),c=t.lastIndexOf("empty",0)===0?"fill":"stroke",f=u.getShallow("decal");l.decal=!f||f==="inherit"?n.decal:bs(f,o),l.fill==="inherit"&&(l.fill=n[i]),l.stroke==="inherit"&&(l.stroke=n[c]),l.opacity==="inherit"&&(l.opacity=(i==="fill"?n:r).opacity),s(l,n);var h=e.getModel("lineStyle"),d=h.getLineStyle();if(s(d,r),l.fill==="auto"&&(l.fill=n.fill),l.stroke==="auto"&&(l.stroke=n.fill),d.stroke==="auto"&&(d.stroke=n.fill),!a){var p=e.get("inactiveBorderWidth"),v=l[c];l.lineWidth=p==="auto"?n.lineWidth>0&&v?2:0:l.lineWidth,l.fill=e.get("inactiveColor"),l.stroke=e.get("inactiveBorderColor"),d.stroke=h.get("inactiveColor"),d.lineWidth=h.get("inactiveWidth")}return{itemStyle:l,lineStyle:d}}function Roe(t){var e=t.icon||"roundRect",r=ct(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return r.setStyle(t.itemStyle),r.rotation=(t.iconRotate||0)*Math.PI/180,r.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function Ny(t,e,r,n){D4(t,e,r,n),r.dispatchAction({type:"legendToggleSelect",name:t??e}),T4(t,e,r,n)}function UD(t){for(var e=t.getZr().storage.getDisplayList(),r,n=0,i=e.length;n<i&&!(r=e[n].states.emphasis);)n++;return r&&r.hoverLayer}function T4(t,e,r,n){UD(r)||r.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:n})}function D4(t,e,r,n){UD(r)||r.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:n})}const WD=Ioe;function Noe(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(r){for(var n=0;n<e.length;n++)if(!e[n].isSelected(r.name))return!1;return!0})}function Su(t,e,r){var n=t==="allSelect"||t==="inverseSelect",i={},a=[];r.eachComponent({mainType:"legend",query:e},function(s){n?s[t]():s[t](e.name),Oy(s,i),a.push(s.componentIndex)});var o={};return r.eachComponent("legend",function(s){E(i,function(u,l){s[u?"select":"unSelect"](l)}),Oy(s,o)}),n?{selected:o,legendIndex:a}:{name:e.name,selected:o}}function Oy(t,e){var r=e||{};return E(t.getData(),function(n){var i=n.get("name");if(!(i===`
|
|
114
|
+
`||i==="")){var a=t.isSelected(i);j(r,i)?r[i]=r[i]&&a:r[i]=a}}),r}function Ooe(t){t.registerAction("legendToggleSelect","legendselectchanged",ve(Su,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",ve(Su,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",ve(Su,"inverseSelect")),t.registerAction("legendSelect","legendselected",ve(Su,"select")),t.registerAction("legendUnSelect","legendunselected",ve(Su,"unSelect"))}function qD(t){t.registerComponentModel(C4),t.registerComponentView(WD),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,Noe),t.registerSubTypeDefaulter("legend",function(){return"plain"}),Ooe(t)}var Boe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},e.prototype.init=function(r,n,i){var a=Bs(r);t.prototype.init.call(this,r,n,i),By(this,r,a)},e.prototype.mergeOption=function(r,n){t.prototype.mergeOption.call(this,r,n),By(this,this.option,r)},e.type="legend.scroll",e.defaultOption=ji(C4.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}(C4);function By(t,e,r){var n=t.getOrient(),i=[1,1];i[n.index]=0,Gi(e,r,{type:"box",ignoreSize:!!i})}const Foe=Boe;var Fy=le,Ah=["width","height"],Th=["x","y"],zoe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.newlineDisabled=!0,r._currentIndex=0,r}return e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new Fy),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Fy)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(r,n,i,a,o,s,u){var l=this;t.prototype.renderInner.call(this,r,n,i,a,o,s,u);var c=this._controllerGroup,f=n.get("pageIconSize",!0),h=G(f)?f:[f,f];p("pagePrev",0);var d=n.getModel("pageTextStyle");c.add(new ke({name:"pageText",style:{text:"xx/xx",fill:d.getTextColor(),font:d.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1);function p(v,g){var m=v+"DataIndex",y=Ul(n.get("pageIcons",!0)[n.getOrient().name][g],{onclick:X(l._pageGo,l,m,n,a)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});y.name=v,c.add(y)}},e.prototype.layoutInner=function(r,n,i,a,o,s){var u=this.getSelectorGroup(),l=r.getOrient().index,c=Ah[l],f=Th[l],h=Ah[1-l],d=Th[1-l];o&&ja("horizontal",u,r.get("selectorItemGap",!0));var p=r.get("selectorButtonGap",!0),v=u.getBoundingRect(),g=[-v.x,-v.y],m=oe(i);o&&(m[c]=i[c]-v[c]-p);var y=this._layoutContentAndController(r,a,m,l,c,h,d,f);if(o){if(s==="end")g[l]+=y[c]+p;else{var _=v[c]+p;g[l]-=_,y[f]-=_}y[c]+=v[c]+p,g[1-l]+=y[d]+y[h]/2-v[h]/2,y[h]=Math.max(y[h],v[h]),y[d]=Math.min(y[d],v[d]+g[1-l]),u.x=g[0],u.y=g[1],u.markRedraw()}return y},e.prototype._layoutContentAndController=function(r,n,i,a,o,s,u,l){var c=this.getContentGroup(),f=this._containerGroup,h=this._controllerGroup;ja(r.get("orient"),c,r.get("itemGap"),a?i.width:null,a?null:i.height),ja("horizontal",h,r.get("pageButtonItemGap",!0));var d=c.getBoundingRect(),p=h.getBoundingRect(),v=this._showController=d[o]>i[o],g=[-d.x,-d.y];n||(g[a]=c[l]);var m=[0,0],y=[-p.x,-p.y],_=fe(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(v){var b=r.get("pageButtonPosition",!0);b==="end"?y[a]+=i[o]-p[o]:m[a]+=p[o]+_}y[1-a]+=d[s]/2-p[s]/2,c.setPosition(g),f.setPosition(m),h.setPosition(y);var x={x:0,y:0};if(x[o]=v?i[o]:d[o],x[s]=Math.max(d[s],p[s]),x[u]=Math.min(0,p[u]+y[1-a]),f.__rectSize=i[o],v){var w={x:0,y:0};w[o]=Math.max(i[o]-p[o]-_,0),w[s]=x[s],f.setClipPath(new Ee({shape:w})),f.__rectSize=w[o]}else h.eachChild(function(C){C.attr({invisible:!0,silent:!0})});var S=this._getPageInfo(r);return S.pageIndex!=null&&Ie(c,{x:S.contentPosition[0],y:S.contentPosition[1]},v?r:null),this._updatePageInfoView(r,S),x},e.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},e.prototype._updatePageInfoView=function(r,n){var i=this._controllerGroup;E(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",h=n[f]!=null,d=i.childOfName(c);d&&(d.setStyle("fill",h?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),d.cursor=h?"pointer":"default")});var a=i.childOfName("pageText"),o=r.get("pageFormatter"),s=n.pageIndex,u=s!=null?s+1:0,l=n.pageCount;a&&o&&a.setStyle("text",Z(o)?o.replace("{current}",u==null?"":u+"").replace("{total}",l==null?"":l+""):o({current:u,total:l}))},e.prototype._getPageInfo=function(r){var n=r.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=r.getOrient().index,s=Ah[o],u=Th[o],l=this._findTargetItemIndex(n),c=i.children(),f=c[l],h=c.length,d=h?1:0,p={contentPosition:[i.x,i.y],pageCount:d,pageIndex:d-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return p;var v=b(f);p.contentPosition[o]=-v.s;for(var g=l+1,m=v,y=v,_=null;g<=h;++g)_=b(c[g]),(!_&&y.e>m.s+a||_&&!x(_,m.s))&&(y.i>m.i?m=y:m=_,m&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=_;for(var g=l-1,m=v,y=v,_=null;g>=-1;--g)_=b(c[g]),(!_||!x(y,_.s))&&m.i<y.i&&(y=m,p.pagePrevDataIndex==null&&(p.pagePrevDataIndex=m.i),++p.pageCount,++p.pageIndex),m=_;return p;function b(w){if(w){var S=w.getBoundingRect(),C=S[u]+w[u];return{s:C,e:C+S[s],i:w.__legendDataIndex}}}function x(w,S){return w.e>=S&&w.s<=S+a}},e.prototype._findTargetItemIndex=function(r){if(!this._showController)return 0;var n,i=this.getContentGroup(),a;return i.eachChild(function(o,s){var u=o.__legendDataIndex;a==null&&u!=null&&(a=s),u===r&&(n=s)}),n??a},e.type="legend.scroll",e}(WD);const Voe=zoe;function $oe(t){t.registerAction("legendScroll","legendscroll",function(e,r){var n=e.scrollDataIndex;n!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:e},function(i){i.setScrollDataIndex(n)})})}function Goe(t){be(qD),t.registerComponentModel(Foe),t.registerComponentView(Voe),$oe(t)}function Hoe(t){be(qD),be(Goe)}var Uoe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="dataZoom.inside",e.defaultOption=ji(Il.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(Il);const Woe=Uoe;var ap=Ae();function qoe(t,e,r){ap(t).coordSysRecordMap.each(function(n){var i=n.dataZoomInfoMap.get(e.uid);i&&(i.getRange=r)})}function Zoe(t,e){for(var r=ap(t).coordSysRecordMap,n=r.keys(),i=0;i<n.length;i++){var a=n[i],o=r.get(a),s=o.dataZoomInfoMap;if(s){var u=e.uid,l=s.get(u);l&&(s.removeKey(u),s.keys().length||ZD(r,o))}}}function ZD(t,e){if(e){t.removeKey(e.model.uid);var r=e.controller;r&&r.dispose()}}function Yoe(t,e){var r={model:e,containsPoint:ve(joe,e),dispatchAction:ve(Xoe,t),dataZoomInfoMap:null,controller:null},n=r.controller=new e1(t.getZr());return E(["pan","zoom","scrollMove"],function(i){n.on(i,function(a){var o=[];r.dataZoomInfoMap.each(function(s){if(a.isAvailableBehavior(s.model.option)){var u=(s.getRange||{})[i],l=u&&u(s.dzReferCoordSysInfo,r.model.mainType,r.controller,a);!s.model.get("disabled",!0)&&l&&o.push({dataZoomId:s.model.id,start:l[0],end:l[1]})}}),o.length&&r.dispatchAction(o)})}),r}function Xoe(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function joe(t,e,r,n){return t.coordinateSystem.containPoint([r,n])}function Koe(t){var e,r="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each(function(a){var o=a.model,s=o.get("disabled",!0)?!1:o.get("zoomLock",!0)?"move":!0;n[r+s]>n[r+e]&&(e=s),i=i&&o.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function Qoe(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,function(e,r){var n=ap(r),i=n.coordSysRecordMap||(n.coordSysRecordMap=J());i.each(function(a){a.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(a){var o=ED(a);E(o.infoList,function(s){var u=s.model.uid,l=i.get(u)||i.set(u,Yoe(r,s.model)),c=l.dataZoomInfoMap||(l.dataZoomInfoMap=J());c.set(a.uid,{dzReferCoordSysInfo:s,model:a,getRange:null})})}),i.each(function(a){var o=a.controller,s,u=a.dataZoomInfoMap;if(u){var l=u.keys()[0];l!=null&&(s=u.get(l))}if(!s){ZD(i,a);return}var c=Koe(u);o.enable(c.controlType,c.opt),o.setPointerChecker(a.containsPoint),Gs(a,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var Joe=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="dataZoom.inside",r}return e.prototype.render=function(r,n,i){if(t.prototype.render.apply(this,arguments),r.noTarget()){this._clear();return}this.range=r.getPercentRange(),qoe(i,r,{pan:X(Dh.pan,this),zoom:X(Dh.zoom,this),scrollMove:X(Dh.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){Zoe(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(j7),Dh={zoom:function(t,e,r,n){var i=this.range,a=i.slice(),o=t.axisModels[0];if(o){var s=Eh[e](null,[n.originX,n.originY],o,r,t),u=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],l=Math.max(1/n.scale,0);a[0]=(a[0]-u)*l+u,a[1]=(a[1]-u)*l+u;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(xo(0,a,[0,100],0,c.minSpan,c.maxSpan),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}},pan:zy(function(t,e,r,n,i,a){var o=Eh[n]([a.oldX,a.oldY],[a.newX,a.newY],e,i,r);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength}),scrollMove:zy(function(t,e,r,n,i,a){var o=Eh[n]([0,0],[a.scrollDelta,a.scrollDelta],e,i,r);return o.signal*(t[1]-t[0])*a.scrollDelta})};function zy(t){return function(e,r,n,i){var a=this.range,o=a.slice(),s=e.axisModels[0];if(s){var u=t(o,s,e,r,n,i);if(xo(u,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1])return o}}}var Eh={grid:function(t,e,r,n,i){var a=r.axis,o={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],a.dim==="x"?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(t,e,r,n,i){var a=r.axis,o={},s=i.model.coordinateSystem,u=s.getRadiusAxis().getExtent(),l=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),r.mainType==="radiusAxis"?(o.pixel=e[0]-t[0],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?-1:1),o},singleAxis:function(t,e,r,n,i){var a=r.axis,o=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],a.orient==="horizontal"?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};const ese=Joe;function YD(t){K7(t),t.registerComponentModel(Woe),t.registerComponentView(ese),Qoe(t)}var tse=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=ji(Il.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(Il);const rse=tse;var Cu=Ee,Vy=7,nse=1,kh=30,ise=7,Au="horizontal",$y="vertical",ase=5,ose=["line","bar","candlestick","scatter"],sse={easing:"cubicOut",duration:100,delay:0},use=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._displayables={},r}return e.prototype.init=function(r,n){this.api=n,this._onBrush=X(this._onBrush,this),this._onBrushEnd=X(this._onBrushEnd,this)},e.prototype.render=function(r,n,i,a){if(t.prototype.render.apply(this,arguments),Gs(this,"_dispatchZoomAction",r.get("throttle"),"fixRate"),this._orient=r.getOrient(),r.get("show")===!1){this.group.removeAll();return}if(r.noTarget()){this._clear(),this.group.removeAll();return}(!a||a.type!=="dataZoom"||a.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){bl(this,"_dispatchZoomAction");var r=this.api.getZr();r.off("mousemove",this._onBrush),r.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var r=this.group;r.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var n=this._displayables.sliderGroup=new le;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),r.add(n),this._positionGroup()},e.prototype._resetLocation=function(){var r=this.dataZoomModel,n=this.api,i=r.get("brushSelect"),a=i?ise:0,o=this._findCoordRect(),s={width:n.getWidth(),height:n.getHeight()},u=this._orient===Au?{right:s.width-o.x-o.width,top:s.height-kh-Vy-a,width:o.width,height:kh}:{right:Vy,top:o.y,width:kh,height:o.height},l=Bs(r.option);E(["right","top","width","height"],function(f){l[f]==="ph"&&(l[f]=u[f])});var c=dt(l,s);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===$y&&this._size.reverse()},e.prototype._positionGroup=function(){var r=this.group,n=this._location,i=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),o=a&&a.get("inverse"),s=this._displayables.sliderGroup,u=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(i===Au&&!o?{scaleY:u?1:-1,scaleX:1}:i===Au&&o?{scaleY:u?1:-1,scaleX:-1}:i===$y&&!o?{scaleY:u?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:u?-1:1,scaleX:-1,rotation:Math.PI/2});var l=r.getBoundingRect([s]);r.x=n.x-l.x,r.y=n.y-l.y,r.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var r=this.dataZoomModel,n=this._size,i=this._displayables.sliderGroup,a=r.get("brushSelect");i.add(new Cu({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:r.get("backgroundColor")},z2:-40}));var o=new Cu({shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:"transparent"},z2:0,onclick:X(this._onClickPanel,this)}),s=this.api.getZr();a?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",s.on("mousemove",this._onBrush),s.on("mouseup",this._onBrushEnd)):(s.off("mousemove",this._onBrush),s.off("mouseup",this._onBrushEnd)),i.add(o)},e.prototype._renderDataShadow=function(){var r=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!r)return;var n=this._size,i=this._shadowSize||[],a=r.series,o=a.getRawData(),s=a.getShadowDim&&a.getShadowDim(),u=s&&o.getDimensionInfo(s)?a.getShadowDim():r.otherDim;if(u==null)return;var l=this._shadowPolygonPts,c=this._shadowPolylinePts;if(o!==this._shadowData||u!==this._shadowDim||n[0]!==i[0]||n[1]!==i[1]){var f=o.getDataExtent(u),h=(f[1]-f[0])*.3;f=[f[0]-h,f[1]+h];var d=[0,n[1]],p=[0,n[0]],v=[[n[0],0],[0,0]],g=[],m=p[1]/(o.count()-1),y=0,_=Math.round(o.count()/n[0]),b;o.each([u],function(A,T){if(_>0&&T%_){y+=m;return}var D=A==null||isNaN(A)||A==="",k=D?0:Be(A,f,d,!0);D&&!b&&T?(v.push([v[v.length-1][0],0]),g.push([g[g.length-1][0],0])):!D&&b&&(v.push([y,0]),g.push([y,0])),v.push([y,k]),g.push([y,k]),y+=m,b=D}),l=this._shadowPolygonPts=v,c=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=u,this._shadowSize=[n[0],n[1]];var x=this.dataZoomModel;function w(A){var T=x.getModel(A?"selectedDataBackground":"dataBackground"),D=new le,k=new nr({shape:{points:l},segmentIgnoreThreshold:1,style:T.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),M=new ar({shape:{points:c},segmentIgnoreThreshold:1,style:T.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return D.add(k),D.add(M),D}for(var S=0;S<3;S++){var C=w(S===1);this._displayables.sliderGroup.add(C),this._displayables.dataShadowSegs.push(C)}},e.prototype._prepareDataShadowInfo=function(){var r=this.dataZoomModel,n=r.get("showDataShadow");if(n!==!1){var i,a=this.ecModel;return r.eachTargetAxis(function(o,s){var u=r.getAxisProxy(o,s).getTargetSeriesModels();E(u,function(l){if(!i&&!(n!==!0&&_e(ose,l.get("type"))<0)){var c=a.getComponent(Li(o),s).axis,f=lse(o),h,d=l.coordinateSystem;f!=null&&d.getOtherAxis&&(h=d.getOtherAxis(c).inverse),f=l.getData().mapDimension(f),i={thisAxis:c,series:l,thisDim:o,otherDim:f,otherAxisInverse:h}}},this)},this),i}},e.prototype._renderHandle=function(){var r=this.group,n=this._displayables,i=n.handles=[null,null],a=n.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,u=this.dataZoomModel,l=this.api,c=u.get("borderRadius")||0,f=u.get("brushSelect"),h=n.filler=new Cu({silent:f,style:{fill:u.get("fillerColor")},textConfig:{position:"inside"}});o.add(h),o.add(new Cu({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:c},style:{stroke:u.get("dataBackgroundColor")||u.get("borderColor"),lineWidth:nse,fill:"rgba(0,0,0,0)"}})),E([0,1],function(_){var b=u.get("handleIcon");!gc[b]&&b.indexOf("path://")<0&&b.indexOf("image://")<0&&(b="path://"+b,process.env.NODE_ENV!=="production"&&Kr("handleIcon now needs 'path://' prefix when using a path string"));var x=ct(b,-1,0,2,2,null,!0);x.attr({cursor:Gy(this._orient),draggable:!0,drift:X(this._onDragMove,this,_),ondragend:X(this._onDragEnd,this),onmouseover:X(this._showDataInfo,this,!0),onmouseout:X(this._showDataInfo,this,!1),z2:5});var w=x.getBoundingRect(),S=u.get("handleSize");this._handleHeight=W(S,this._size[1]),this._handleWidth=w.width/w.height*this._handleHeight,x.setStyle(u.getModel("handleStyle").getItemStyle()),x.style.strokeNoScale=!0,x.rectHover=!0,x.ensureState("emphasis").style=u.getModel(["emphasis","handleStyle"]).getItemStyle(),Ya(x);var C=u.get("handleColor");C!=null&&(x.style.fill=C),o.add(i[_]=x);var A=u.getModel("textStyle"),T=u.get("handleLabel")||{},D=T.show||!1;r.add(a[_]=new ke({silent:!0,invisible:!D,style:Ue(A,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:A.getTextColor(),font:A.getFont()}),z2:10}))},this);var d=h;if(f){var p=W(u.get("moveHandleSize"),s[1]),v=n.moveHandle=new Ee({style:u.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:p}}),g=p*.8,m=n.moveHandleIcon=ct(u.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=s[1]+p/2-.5,v.ensureState("emphasis").style=u.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(s[1]/2,Math.max(p,10));d=n.moveZone=new Ee({invisible:!0,shape:{y:s[1]-y,height:p+y}}),d.on("mouseover",function(){l.enterEmphasis(v)}).on("mouseout",function(){l.leaveEmphasis(v)}),o.add(v),o.add(m),o.add(d)}d.attr({draggable:!0,cursor:Gy(this._orient),drift:X(this._onDragMove,this,"all"),ondragstart:X(this._showDataInfo,this,!0),ondragend:X(this._onDragEnd,this),onmouseover:X(this._showDataInfo,this,!0),onmouseout:X(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var r=this._range=this.dataZoomModel.getPercentRange(),n=this._getViewExtent();this._handleEnds=[Be(r[0],[0,100],n,!0),Be(r[1],[0,100],n,!0)]},e.prototype._updateInterval=function(r,n){var i=this.dataZoomModel,a=this._handleEnds,o=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),u=[0,100];xo(n,a,o,i.get("zoomLock")?"all":r,s.minSpan!=null?Be(s.minSpan,u,o,!0):null,s.maxSpan!=null?Be(s.maxSpan,u,o,!0):null);var l=this._range,c=this._range=Mr([Be(a[0],o,u,!0),Be(a[1],o,u,!0)]);return!l||l[0]!==c[0]||l[1]!==c[1]},e.prototype._updateView=function(r){var n=this._displayables,i=this._handleEnds,a=Mr(i.slice()),o=this._size;E([0,1],function(d){var p=n.handles[d],v=this._handleHeight;p.attr({scaleX:v/2,scaleY:v/2,x:i[d]+(d?-1:1),y:o[1]/2-v/2})},this),n.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:o[1]});var s={x:a[0],width:a[1]-a[0]};n.moveHandle&&(n.moveHandle.setShape(s),n.moveZone.setShape(s),n.moveZone.getBoundingRect(),n.moveHandleIcon&&n.moveHandleIcon.attr("x",s.x+s.width/2));for(var u=n.dataShadowSegs,l=[0,a[0],a[1],o[0]],c=0;c<u.length;c++){var f=u[c],h=f.getClipPath();h||(h=new Ee,f.setClipPath(h)),h.setShape({x:l[c],y:0,width:l[c+1]-l[c],height:o[1]})}this._updateDataInfo(r)},e.prototype._updateDataInfo=function(r){var n=this.dataZoomModel,i=this._displayables,a=i.handleLabels,o=this._orient,s=["",""];if(n.get("showDetail")){var u=n.findRepresentativeAxisProxy();if(u){var l=u.getAxisModel().axis,c=this._range,f=r?u.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:u.getDataValueWindow();s=[this._formatLabel(f[0],l),this._formatLabel(f[1],l)]}}var h=Mr(this._handleEnds.slice());d.call(this,0),d.call(this,1);function d(p){var v=Xa(i.handles[p].parent,this.group),g=w2(p===0?"right":"left",v),m=this._handleWidth/2+ase,y=Xr([h[p]+(p===0?-m:m),this._size[1]/2],v);a[p].setStyle({x:y[0],y:y[1],verticalAlign:o===Au?"middle":g,align:o===Au?g:"center",text:s[p]})}},e.prototype._formatLabel=function(r,n){var i=this.dataZoomModel,a=i.get("labelFormatter"),o=i.get("labelPrecision");(o==null||o==="auto")&&(o=n.getPixelPrecision());var s=r==null||isNaN(r)?"":n.type==="category"||n.type==="time"?n.scale.getLabel({value:Math.round(r)}):r.toFixed(Math.min(o,20));return te(a)?a(r,s):Z(a)?a.replace("{value}",s):s},e.prototype._showDataInfo=function(r){var n=this.dataZoomModel.get("handleLabel")||{},i=n.show||!1,a=this.dataZoomModel.getModel(["emphasis","handleLabel"]),o=a.get("show")||!1,s=r||this._dragging?o:i,u=this._displayables,l=u.handleLabels;l[0].attr("invisible",!s),l[1].attr("invisible",!s),u.moveHandle&&this.api[s?"enterEmphasis":"leaveEmphasis"](u.moveHandle,1)},e.prototype._onDragMove=function(r,n,i,a){this._dragging=!0,Wn(a.event);var o=this._displayables.sliderGroup.getLocalTransform(),s=Xr([n,i],o,!0),u=this._updateInterval(r,s[0]),l=this.dataZoomModel.get("realtime");this._updateView(!l),u&&l&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var r=this.dataZoomModel.get("realtime");!r&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(r){var n=this._size,i=this._displayables.sliderGroup.transformCoordToLocal(r.offsetX,r.offsetY);if(!(i[0]<0||i[0]>n[0]||i[1]<0||i[1]>n[1])){var a=this._handleEnds,o=(a[0]+a[1])/2,s=this._updateInterval("all",i[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(r){var n=r.offsetX,i=r.offsetY;this._brushStart=new me(n,i),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(r){if(this._brushing){var n=this._displayables.brushRect;if(this._brushing=!1,!!n){n.attr("ignore",!0);var i=n.shape,a=+new Date;if(!(a-this._brushStartTime<200&&Math.abs(i.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=Mr([Be(i.x,o,s,!0),Be(i.x+i.width,o,s,!0)]),this._handleEnds=[i.x,i.x+i.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(r){this._brushing&&(Wn(r.event),this._updateBrushRect(r.offsetX,r.offsetY))},e.prototype._updateBrushRect=function(r,n){var i=this._displayables,a=this.dataZoomModel,o=i.brushRect;o||(o=i.brushRect=new Cu({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),i.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,u=this._displayables.sliderGroup,l=u.transformCoordToLocal(r,n),c=u.transformCoordToLocal(s.x,s.y),f=this._size;l[0]=Math.max(Math.min(f[0],l[0]),0),o.setShape({x:c[0],y:0,width:l[0]-c[0],height:f[1]})},e.prototype._dispatchZoomAction=function(r){var n=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:r?sse:null,start:n[0],end:n[1]})},e.prototype._findCoordRect=function(){var r,n=ED(this.dataZoomModel).infoList;if(!r&&n.length){var i=n[0].model.coordinateSystem;r=i.getRect&&i.getRect()}if(!r){var a=this.api.getWidth(),o=this.api.getHeight();r={x:a*.2,y:o*.2,width:a*.6,height:o*.6}}return r},e.type="dataZoom.slider",e}(j7);function lse(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function Gy(t){return t==="vertical"?"ns-resize":"ew-resize"}const cse=use;function XD(t){t.registerComponentModel(rse),t.registerComponentView(cse),K7(t)}function fse(t){be(YD),be(XD)}var hse={get:function(t,e,r){var n=oe((dse[t]||{})[e]);return r&&G(n)?n[n.length-1]:n}},dse={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const jD=hse;var Hy=Dt.mapVisual,pse=Dt.eachVisual,vse=G,Uy=E,gse=Mr,mse=Be,yse=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.stateList=["inRange","outOfRange"],r.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],r.layoutMode={type:"box",ignoreSize:!0},r.dataBound=[-1/0,1/0],r.targetVisuals={},r.controllerVisuals={},r}return e.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i)},e.prototype.optionUpdated=function(r,n){var i=this.option;!n&&FD(i,r,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(r){var n=this.stateList;r=X(r,this),this.controllerVisuals=x4(this.option.controller,n,r),this.targetVisuals=x4(this.option.target,n,r)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var r=this.option.seriesIndex,n=[];return r==null||r==="all"?this.ecModel.eachSeries(function(i,a){n.push(a)}):n=ze(r),n},e.prototype.eachTargetSeries=function(r,n){E(this.getTargetSeriesIndices(),function(i){var a=this.ecModel.getSeriesByIndex(i);a&&r.call(n,a)},this)},e.prototype.isTargetSeries=function(r){var n=!1;return this.eachTargetSeries(function(i){i===r&&(n=!0)}),n},e.prototype.formatValueText=function(r,n,i){var a=this.option,o=a.precision,s=this.dataBound,u=a.formatter,l;i=i||["<",">"],G(r)&&(r=r.slice(),l=!0);var c=n?r:l?[f(r[0]),f(r[1])]:f(r);if(Z(u))return u.replace("{value}",l?c[0]:c).replace("{value2}",l?c[1]:c);if(te(u))return l?u(r[0],r[1]):u(r);if(l)return r[0]===s[0]?i[0]+" "+c[1]:r[1]===s[1]?i[1]+" "+c[0]:c[0]+" - "+c[1];return c;function f(h){return h===s[0]?"min":h===s[1]?"max":(+h).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var r=this.option,n=gse([r.min,r.max]);this._dataExtent=n},e.prototype.getDataDimensionIndex=function(r){var n=this.option.dimension;if(n!=null)return r.getDimensionIndex(n);for(var i=r.dimensions,a=i.length-1;a>=0;a--){var o=i[a],s=r.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var r=this.ecModel,n=this.option,i={inRange:n.inRange,outOfRange:n.outOfRange},a=n.target||(n.target={}),o=n.controller||(n.controller={});ge(a,i),ge(o,i);var s=this.isCategory();u.call(this,a),u.call(this,o),l.call(this,a,"inRange","outOfRange"),c.call(this,o);function u(f){vse(n.color)&&!f.inRange&&(f.inRange={color:n.color.slice().reverse()}),f.inRange=f.inRange||{color:r.get("gradientColor")}}function l(f,h,d){var p=f[h],v=f[d];p&&!v&&(v=f[d]={},Uy(p,function(g,m){if(Dt.isValidType(m)){var y=jD.get(m,"inactive",s);y!=null&&(v[m]=y,m==="color"&&!v.hasOwnProperty("opacity")&&!v.hasOwnProperty("colorAlpha")&&(v.opacity=[0,0]))}}))}function c(f){var h=(f.inRange||{}).symbol||(f.outOfRange||{}).symbol,d=(f.inRange||{}).symbolSize||(f.outOfRange||{}).symbolSize,p=this.get("inactiveColor"),v=this.getItemSymbol(),g=v||"roundRect";Uy(this.stateList,function(m){var y=this.itemSize,_=f[m];_||(_=f[m]={color:s?p:[p]}),_.symbol==null&&(_.symbol=h&&oe(h)||(s?g:[g])),_.symbolSize==null&&(_.symbolSize=d&&oe(d)||(s?y[0]:[y[0],y[0]])),_.symbol=Hy(_.symbol,function(w){return w==="none"?g:w});var b=_.symbolSize;if(b!=null){var x=-1/0;pse(b,function(w){w>x&&(x=w)}),_.symbolSize=Hy(b,function(w){return mse(w,[0,x],[0,y[0]],!0)})}},this)}},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(r){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(r){return null},e.prototype.getVisualMeta=function(r){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(Ce);const Uc=yse;var Wy=[20,140],_se=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.optionUpdated=function(r,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var r=this.itemSize;(r[0]==null||isNaN(r[0]))&&(r[0]=Wy[0]),(r[1]==null||isNaN(r[1]))&&(r[1]=Wy[1])},e.prototype._resetRange=function(){var r=this.getExtent(),n=this.option.range;!n||n.auto?(r.auto=1,this.option.range=r):G(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],r[0]),n[1]=Math.min(n[1],r[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),E(this.stateList,function(r){var n=this.option.controller[r].symbolSize;n&&n[0]!==n[1]&&(n[0]=n[1]/3)},this)},e.prototype.setSelected=function(r){this.option.range=r.slice(),this._resetRange()},e.prototype.getSelected=function(){var r=this.getExtent(),n=Mr((this.get("range")||[]).slice());return n[0]>r[1]&&(n[0]=r[1]),n[1]>r[1]&&(n[1]=r[1]),n[0]<r[0]&&(n[0]=r[0]),n[1]<r[0]&&(n[1]=r[0]),n},e.prototype.getValueState=function(r){var n=this.option.range,i=this.getExtent();return(n[0]<=i[0]||n[0]<=r)&&(n[1]>=i[1]||r<=n[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(r){var n=[];return this.eachTargetSeries(function(i){var a=[],o=i.getData();o.each(this.getDataDimensionIndex(o),function(s,u){r[0]<=s&&s<=r[1]&&a.push(u)},this),n.push({seriesId:i.id,dataIndex:a})},this),n},e.prototype.getVisualMeta=function(r){var n=qy(this,"outOfRange",this.getExtent()),i=qy(this,"inRange",this.option.range.slice()),a=[];function o(d,p){a.push({value:d,color:r(d,p)})}for(var s=0,u=0,l=i.length,c=n.length;u<c&&(!i.length||n[u]<=i[0]);u++)n[u]<i[s]&&o(n[u],"outOfRange");for(var f=1;s<l;s++,f=0)f&&a.length&&o(i[s],"outOfRange"),o(i[s],"inRange");for(var f=1;u<c;u++)(!i.length||i[i.length-1]<n[u])&&(f&&(a.length&&o(a[a.length-1].value,"outOfRange"),f=0),o(n[u],"outOfRange"));var h=a.length;return{stops:a,outerColors:[h?a[0].color:"transparent",h?a[h-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=ji(Uc.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(Uc);function qy(t,e,r){if(r[0]===r[1])return r.slice();for(var n=200,i=(r[1]-r[0])/n,a=r[0],o=[],s=0;s<=n&&a<r[1];s++)o.push(a),a+=i;return o.push(r[1]),o}const bse=_se;var xse=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r.autoPositionValues={left:1,right:1,top:1,bottom:1},r}return e.prototype.init=function(r,n){this.ecModel=r,this.api=n},e.prototype.render=function(r,n,i,a){if(this.visualMapModel=r,r.get("show")===!1){this.group.removeAll();return}this.doRender(r,n,i,a)},e.prototype.renderBackground=function(r){var n=this.visualMapModel,i=Os(n.get("padding")||0),a=r.getBoundingRect();r.add(new Ee({z2:-1,silent:!0,shape:{x:a.x-i[3],y:a.y-i[0],width:a.width+i[3]+i[1],height:a.height+i[0]+i[2]},style:{fill:n.get("backgroundColor"),stroke:n.get("borderColor"),lineWidth:n.get("borderWidth")}}))},e.prototype.getControllerVisual=function(r,n,i){i=i||{};var a=i.forceState,o=this.visualMapModel,s={};if(n==="color"){var u=o.get("contentColor");s.color=u}function l(d){return s[d]}function c(d,p){s[d]=p}var f=o.controllerVisuals[a||o.getValueState(r)],h=Dt.prepareVisualTypes(f);return E(h,function(d){var p=f[d];i.convertOpacityToAlpha&&d==="opacity"&&(d="colorAlpha",p=f.__alphaForOpacity),Dt.dependsOn(d,n)&&p&&p.applyVisual(r,l,c)}),s[n]},e.prototype.positionGroup=function(r){var n=this.visualMapModel,i=this.api;k2(r,n.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},e.prototype.doRender=function(r,n,i,a){},e.type="visualMap",e}(et);const KD=xse;var Zy=[["left","right","width"],["top","bottom","height"]];function QD(t,e,r){var n=t.option,i=n.align;if(i!=null&&i!=="auto")return i;for(var a={width:e.getWidth(),height:e.getHeight()},o=n.orient==="horizontal"?1:0,s=Zy[o],u=[0,null,10],l={},c=0;c<3;c++)l[Zy[1-o][c]]=u[c],l[s[c]]=c===2?r[0]:n[s[c]];var f=[["x","width",3],["y","height",0]][o],h=dt(l,a,n.padding);return s[(h.margin[f[2]]||0)+h[f[0]]+h[f[1]]*.5<a[f[1]]*.5?0:1]}function $0(t,e){return E(t||[],function(r){r.dataIndex!=null&&(r.dataIndexInside=r.dataIndex,r.dataIndex=null),r.highlightKey="visualMap"+(e?e.componentIndex:"")}),t}var un=Be,wse=E,Yy=Math.min,Mh=Math.max,Sse=12,Cse=6,Ase=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._shapes={},r._dataInterval=[],r._handleEnds=[],r._hoverLinkDataIndices=[],r}return e.prototype.init=function(r,n){t.prototype.init.call(this,r,n),this._hoverLinkFromSeriesMouseOver=X(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=X(this._hideIndicator,this)},e.prototype.doRender=function(r,n,i,a){(!a||a.type!=="selectDataRange"||a.from!==this.uid)&&this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var r=this.visualMapModel,n=this.group;this._orient=r.get("orient"),this._useHandle=r.get("calculable"),this._resetInterval(),this._renderBar(n);var i=r.get("text");this._renderEndsText(n,i,0),this._renderEndsText(n,i,1),this._updateView(!0),this.renderBackground(n),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(n)},e.prototype._renderEndsText=function(r,n,i){if(n){var a=n[1-i];a=a!=null?a+"":"";var o=this.visualMapModel,s=o.get("textGap"),u=o.itemSize,l=this._shapes.mainGroup,c=this._applyTransform([u[0]/2,i===0?-s:u[1]+s],l),f=this._applyTransform(i===0?"bottom":"top",l),h=this._orient,d=this.visualMapModel.textStyleModel;this.group.add(new ke({style:Ue(d,{x:c[0],y:c[1],verticalAlign:h==="horizontal"?"middle":f,align:h==="horizontal"?f:"center",text:a})}))}},e.prototype._renderBar=function(r){var n=this.visualMapModel,i=this._shapes,a=n.itemSize,o=this._orient,s=this._useHandle,u=QD(n,this.api,a),l=i.mainGroup=this._createBarGroup(u),c=new le;l.add(c),c.add(i.outOfRange=Xy()),c.add(i.inRange=Xy(null,s?Ky(this._orient):null,X(this._dragHandle,this,"all",!1),X(this._dragHandle,this,"all",!0))),c.setClipPath(new Ee({shape:{x:0,y:0,width:a[0],height:a[1],r:3}}));var f=n.textStyleModel.getTextRect("国"),h=Mh(f.width,f.height);s&&(i.handleThumbs=[],i.handleLabels=[],i.handleLabelPoints=[],this._createHandle(n,l,0,a,h,o),this._createHandle(n,l,1,a,h,o)),this._createIndicator(n,l,a,h,o),r.add(l)},e.prototype._createHandle=function(r,n,i,a,o,s){var u=X(this._dragHandle,this,i,!1),l=X(this._dragHandle,this,i,!0),c=jr(r.get("handleSize"),a[0]),f=ct(r.get("handleIcon"),-c/2,-c/2,c,c,null,!0),h=Ky(this._orient);f.attr({cursor:h,draggable:!0,drift:u,ondragend:l,onmousemove:function(m){Wn(m.event)}}),f.x=a[0]/2,f.useStyle(r.getModel("handleStyle").getItemStyle()),f.setStyle({strokeNoScale:!0,strokeFirst:!0}),f.style.lineWidth*=2,f.ensureState("emphasis").style=r.getModel(["emphasis","handleStyle"]).getItemStyle(),Ba(f,!0),n.add(f);var d=this.visualMapModel.textStyleModel,p=new ke({cursor:h,draggable:!0,drift:u,onmousemove:function(m){Wn(m.event)},ondragend:l,style:Ue(d,{x:0,y:0,text:""})});p.ensureState("blur").style={opacity:.1},p.stateTransition={duration:200},this.group.add(p);var v=[c,0],g=this._shapes;g.handleThumbs[i]=f,g.handleLabelPoints[i]=v,g.handleLabels[i]=p},e.prototype._createIndicator=function(r,n,i,a,o){var s=jr(r.get("indicatorSize"),i[0]),u=ct(r.get("indicatorIcon"),-s/2,-s/2,s,s,null,!0);u.attr({cursor:"move",invisible:!0,silent:!0,x:i[0]/2});var l=r.getModel("indicatorStyle").getItemStyle();if(u instanceof Lt){var c=u.style;u.useStyle($({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},l))}else u.useStyle(l);n.add(u);var f=this.visualMapModel.textStyleModel,h=new ke({silent:!0,invisible:!0,style:Ue(f,{x:0,y:0,text:""})});this.group.add(h);var d=[(o==="horizontal"?a/2:Cse)+i[0]/2,0],p=this._shapes;p.indicator=u,p.indicatorLabel=h,p.indicatorLabelPoint=d,this._firstShowIndicator=!0},e.prototype._dragHandle=function(r,n,i,a){if(this._useHandle){if(this._dragging=!n,!n){var o=this._applyTransform([i,a],this._shapes.mainGroup,!0);this._updateInterval(r,o[1]),this._hideIndicator(),this._updateView()}n===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),n?!this._hovering&&this._clearHoverLinkToSeries():jy(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[r],!1)}},e.prototype._resetInterval=function(){var r=this.visualMapModel,n=this._dataInterval=r.getSelected(),i=r.getExtent(),a=[0,r.itemSize[1]];this._handleEnds=[un(n[0],i,a,!0),un(n[1],i,a,!0)]},e.prototype._updateInterval=function(r,n){n=n||0;var i=this.visualMapModel,a=this._handleEnds,o=[0,i.itemSize[1]];xo(n,a,o,r,0);var s=i.getExtent();this._dataInterval=[un(a[0],o,s,!0),un(a[1],o,s,!0)]},e.prototype._updateView=function(r){var n=this.visualMapModel,i=n.getExtent(),a=this._shapes,o=[0,n.itemSize[1]],s=r?o:this._handleEnds,u=this._createBarVisual(this._dataInterval,i,s,"inRange"),l=this._createBarVisual(i,i,o,"outOfRange");a.inRange.setStyle({fill:u.barColor}).setShape("points",u.barPoints),a.outOfRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),this._updateHandle(s,u)},e.prototype._createBarVisual=function(r,n,i,a){var o={forceState:a,convertOpacityToAlpha:!0},s=this._makeColorGradient(r,o),u=[this.getControllerVisual(r[0],"symbolSize",o),this.getControllerVisual(r[1],"symbolSize",o)],l=this._createBarPoints(i,u);return{barColor:new Gl(0,0,0,1,s),barPoints:l,handlesColor:[s[0].color,s[s.length-1].color]}},e.prototype._makeColorGradient=function(r,n){var i=100,a=[],o=(r[1]-r[0])/i;a.push({color:this.getControllerVisual(r[0],"color",n),offset:0});for(var s=1;s<i;s++){var u=r[0]+o*s;if(u>r[1])break;a.push({color:this.getControllerVisual(u,"color",n),offset:s/i})}return a.push({color:this.getControllerVisual(r[1],"color",n),offset:1}),a},e.prototype._createBarPoints=function(r,n){var i=this.visualMapModel.itemSize;return[[i[0]-n[0],r[0]],[i[0],r[0]],[i[0],r[1]],[i[0]-n[1],r[1]]]},e.prototype._createBarGroup=function(r){var n=this._orient,i=this.visualMapModel.get("inverse");return new le(n==="horizontal"&&!i?{scaleX:r==="bottom"?1:-1,rotation:Math.PI/2}:n==="horizontal"&&i?{scaleX:r==="bottom"?-1:1,rotation:-Math.PI/2}:n==="vertical"&&!i?{scaleX:r==="left"?1:-1,scaleY:-1}:{scaleX:r==="left"?1:-1})},e.prototype._updateHandle=function(r,n){if(this._useHandle){var i=this._shapes,a=this.visualMapModel,o=i.handleThumbs,s=i.handleLabels,u=a.itemSize,l=a.getExtent(),c=this._applyTransform("left",i.mainGroup);wse([0,1],function(f){var h=o[f];h.setStyle("fill",n.handlesColor[f]),h.y=r[f];var d=un(r[f],[0,u[1]],l,!0),p=this.getControllerVisual(d,"symbolSize");h.scaleX=h.scaleY=p/u[0],h.x=u[0]-p/2;var v=Xr(i.handleLabelPoints[f],Xa(h,this.group));if(this._orient==="horizontal"){var g=c==="left"||c==="top"?(u[0]-p)/2:(u[0]-p)/-2;v[1]+=g}s[f].setStyle({x:v[0],y:v[1],text:a.formatValueText(this._dataInterval[f]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",i.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(r,n,i,a){var o=this.visualMapModel,s=o.getExtent(),u=o.itemSize,l=[0,u[1]],c=this._shapes,f=c.indicator;if(f){f.attr("invisible",!1);var h={convertOpacityToAlpha:!0},d=this.getControllerVisual(r,"color",h),p=this.getControllerVisual(r,"symbolSize"),v=un(r,s,l,!0),g=u[0]-p/2,m={x:f.x,y:f.y};f.y=v,f.x=g;var y=Xr(c.indicatorLabelPoint,Xa(f,this.group)),_=c.indicatorLabel;_.attr("invisible",!1);var b=this._applyTransform("left",c.mainGroup),x=this._orient,w=x==="horizontal";_.setStyle({text:(i||"")+o.formatValueText(n),verticalAlign:w?b:"middle",align:w?"center":b});var S={x:g,y:v,style:{fill:d}},C={style:{x:y[0],y:y[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var A={duration:100,easing:"cubicInOut",additive:!0};f.x=m.x,f.y=m.y,f.animateTo(S,A),_.animateTo(C,A)}else f.attr(S),_.attr(C);this._firstShowIndicator=!1;var T=this._shapes.handleLabels;if(T)for(var D=0;D<T.length;D++)this.api.enterBlur(T[D])}},e.prototype._enableHoverLinkToSeries=function(){var r=this;this._shapes.mainGroup.on("mousemove",function(n){if(r._hovering=!0,!r._dragging){var i=r.visualMapModel.itemSize,a=r._applyTransform([n.offsetX,n.offsetY],r._shapes.mainGroup,!0,!0);a[1]=Yy(Mh(0,a[1]),i[1]),r._doHoverLinkToSeries(a[1],0<=a[0]&&a[0]<=i[0])}}).on("mouseout",function(){r._hovering=!1,!r._dragging&&r._clearHoverLinkToSeries()})},e.prototype._enableHoverLinkFromSeries=function(){var r=this.api.getZr();this.visualMapModel.option.hoverLink?(r.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),r.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(r,n){var i=this.visualMapModel,a=i.itemSize;if(i.option.hoverLink){var o=[0,a[1]],s=i.getExtent();r=Yy(Mh(o[0],r),o[1]);var u=Tse(i,s,o),l=[r-u,r+u],c=un(r,o,s,!0),f=[un(l[0],o,s,!0),un(l[1],o,s,!0)];l[0]<o[0]&&(f[0]=-1/0),l[1]>o[1]&&(f[1]=1/0),n&&(f[0]===-1/0?this._showIndicator(c,f[1],"< ",u):f[1]===1/0?this._showIndicator(c,f[0],"> ",u):this._showIndicator(c,c,"≈ ",u));var h=this._hoverLinkDataIndices,d=[];(n||jy(i))&&(d=this._hoverLinkDataIndices=i.findTargetDataIndices(f));var p=fz(h,d);this._dispatchHighDown("downplay",$0(p[0],i)),this._dispatchHighDown("highlight",$0(p[1],i))}},e.prototype._hoverLinkFromSeriesMouseOver=function(r){var n;if(za(r.target,function(u){var l=ce(u);if(l.dataIndex!=null)return n=l,!0},!0),!!n){var i=this.ecModel.getSeriesByIndex(n.seriesIndex),a=this.visualMapModel;if(a.isTargetSeries(i)){var o=i.getData(n.dataType),s=o.getStore().get(a.getDataDimensionIndex(o),n.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},e.prototype._hideIndicator=function(){var r=this._shapes;r.indicator&&r.indicator.attr("invisible",!0),r.indicatorLabel&&r.indicatorLabel.attr("invisible",!0);var n=this._shapes.handleLabels;if(n)for(var i=0;i<n.length;i++)this.api.leaveBlur(n[i])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var r=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",$0(r,this.visualMapModel)),r.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var r=this.api.getZr();r.off("mouseover",this._hoverLinkFromSeriesMouseOver),r.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(r,n,i,a){var o=Xa(n,a?null:this.group);return G(r)?Xr(r,o,i):w2(r,o,i)},e.prototype._dispatchHighDown=function(r,n){n&&n.length&&this.api.dispatchAction({type:r,batch:n})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(KD);function Xy(t,e,r,n){return new nr({shape:{points:t},draggable:!!r,cursor:e,drift:r,onmousemove:function(i){Wn(i.event)},ondragend:n})}function Tse(t,e,r){var n=Sse/2,i=t.get("hoverLinkDataSize");return i&&(n=un(i,e,r,!0)/2),n}function jy(t){var e=t.get("hoverLinkOnHandle");return!!(e??t.get("realtime"))}function Ky(t){return t==="vertical"?"ns-resize":"ew-resize"}const Dse=Ase;var Ese={type:"selectDataRange",event:"dataRangeSelected",update:"update"},kse=function(t,e){e.eachComponent({mainType:"visualMap",query:t},function(r){r.setSelected(t.selected)})},Mse=[{createOnAllSeries:!0,reset:function(t,e){var r=[];return e.eachComponent("visualMap",function(n){var i=t.pipelineContext;!n.isTargetSeries(t)||i&&i.large||r.push(Cae(n.stateList,n.targetVisuals,X(n.getValueState,n),n.getDataDimensionIndex(t.getData())))}),r}},{createOnAllSeries:!0,reset:function(t,e){var r=t.getData(),n=[];e.eachComponent("visualMap",function(i){if(i.isTargetSeries(t)){var a=i.getVisualMeta(X(Lse,null,t,i))||{stops:[],outerColors:[]},o=i.getDataDimensionIndex(r);o>=0&&(a.dimension=o,n.push(a))}}),t.getData().setVisual("visualMeta",n)}}];function Lse(t,e,r,n){for(var i=e.targetVisuals[n],a=Dt.prepareVisualTypes(i),o={color:Wl(t.getData(),"color")},s=0,u=a.length;s<u;s++){var l=a[s],c=i[l==="opacity"?"__alphaForOpacity":l];c&&c.applyVisual(r,f,h)}return o.color;function f(d){return o[d]}function h(d,p){o[d]=p}}var Qy=E;function Ise(t){var e=t&&t.visualMap;G(e)||(e=e?[e]:[]),Qy(e,function(r){if(r){qo(r,"splitList")&&!qo(r,"pieces")&&(r.pieces=r.splitList,delete r.splitList);var n=r.pieces;n&&G(n)&&Qy(n,function(i){ne(i)&&(qo(i,"start")&&!qo(i,"min")&&(i.min=i.start),qo(i,"end")&&!qo(i,"max")&&(i.max=i.end))})}})}function qo(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var Jy=!1;function JD(t){Jy||(Jy=!0,t.registerSubTypeDefaulter("visualMap",function(e){return!e.categories&&(!(e.pieces?e.pieces.length>0:e.splitNumber>0)||e.calculable)?"continuous":"piecewise"}),t.registerAction(Ese,kse),E(Mse,function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)}),t.registerPreprocessor(Ise))}function eE(t){t.registerComponentModel(bse),t.registerComponentView(Dse),JD(t)}var Pse=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r._pieceList=[],r}return e.prototype.optionUpdated=function(r,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],Rse[this._mode].call(this,this._pieceList),this._resetSelected(r,n);var a=this.option.categories;this.resetVisual(function(o,s){i==="categories"?(o.mappingMethod="category",o.categories=oe(a)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=H(this._pieceList,function(u){return u=oe(u),s!=="inRange"&&(u.visual=null),u}))})},e.prototype.completeVisualOption=function(){var r=this.option,n={},i=Dt.listVisualTypes(),a=this.isCategory();E(r.pieces,function(s){E(i,function(u){s.hasOwnProperty(u)&&(n[u]=1)})}),E(n,function(s,u){var l=!1;E(this.stateList,function(c){l=l||o(r,c,u)||o(r.target,c,u)},this),!l&&E(this.stateList,function(c){(r[c]||(r[c]={}))[u]=jD.get(u,c==="inRange"?"active":"inactive",a)})},this);function o(s,u,l){return s&&s[u]&&s[u].hasOwnProperty(l)}t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(r,n){var i=this.option,a=this._pieceList,o=(n?i:r).selected||{};if(i.selected=o,E(a,function(u,l){var c=this.getSelectedMapKey(u);o.hasOwnProperty(c)||(o[c]=!0)},this),i.selectedMode==="single"){var s=!1;E(a,function(u,l){var c=this.getSelectedMapKey(u);o[c]&&(s?o[c]=!1:s=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(r){return this._mode==="categories"?r.value+"":r.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var r=this.option;return r.pieces&&r.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(r){this.option.selected=oe(r)},e.prototype.getValueState=function(r){var n=Dt.findPieceIndex(r,this._pieceList);return n!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[n])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(r){var n=[],i=this._pieceList;return this.eachTargetSeries(function(a){var o=[],s=a.getData();s.each(this.getDataDimensionIndex(s),function(u,l){var c=Dt.findPieceIndex(u,i);c===r&&o.push(l)},this),n.push({seriesId:a.id,dataIndex:o})},this),n},e.prototype.getRepresentValue=function(r){var n;if(this.isCategory())n=r.value;else if(r.value!=null)n=r.value;else{var i=r.interval||[];n=i[0]===-1/0&&i[1]===1/0?0:(i[0]+i[1])/2}return n},e.prototype.getVisualMeta=function(r){if(this.isCategory())return;var n=[],i=["",""],a=this;function o(c,f){var h=a.getRepresentValue({interval:c});f||(f=a.getValueState(h));var d=r(h,f);c[0]===-1/0?i[0]=d:c[1]===1/0?i[1]=d:n.push({value:c[0],color:d},{value:c[1],color:d})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var u=s[0].interval[0];u!==-1/0&&s.unshift({interval:[-1/0,u]}),u=s[s.length-1].interval[1],u!==1/0&&s.push({interval:[u,1/0]})}var l=-1/0;return E(s,function(c){var f=c.interval;f&&(f[0]>l&&o([l,f[0]],"outOfRange"),o(f.slice()),l=f[1])},this),{stops:n,outerColors:i}},e.type="visualMap.piecewise",e.defaultOption=ji(Uc.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(Uc),Rse={splitNumber:function(t){var e=this.option,r=Math.min(e.precision,20),n=this.getExtent(),i=e.splitNumber;i=Math.max(parseInt(i,10),1),e.splitNumber=i;for(var a=(n[1]-n[0])/i;+a.toFixed(r)!==a&&r<5;)r++;e.precision=r,a=+a.toFixed(r),e.minOpen&&t.push({interval:[-1/0,n[0]],close:[0,0]});for(var o=0,s=n[0];o<i;s+=a,o++){var u=o===i-1?n[1]:s+a;t.push({interval:[s,u],close:[1,1]})}e.maxOpen&&t.push({interval:[n[1],1/0],close:[0,0]}),zv(t),E(t,function(l,c){l.index=c,l.text=this.formatValueText(l.interval)},this)},categories:function(t){var e=this.option;E(e.categories,function(r){t.push({text:this.formatValueText(r,!0),value:r})},this),e_(e,t)},pieces:function(t){var e=this.option;E(e.pieces,function(r,n){ne(r)||(r={value:r});var i={text:"",index:n};if(r.label!=null&&(i.text=r.label),r.hasOwnProperty("value")){var a=i.value=r.value;i.interval=[a,a],i.close=[1,1]}else{for(var o=i.interval=[],s=i.close=[0,0],u=[1,0,1],l=[-1/0,1/0],c=[],f=0;f<2;f++){for(var h=[["gte","gt","min"],["lte","lt","max"]][f],d=0;d<3&&o[f]==null;d++)o[f]=r[h[d]],s[f]=u[d],c[f]=d===2;o[f]==null&&(o[f]=l[f])}c[0]&&o[1]===1/0&&(s[0]=0),c[1]&&o[0]===-1/0&&(s[1]=0),process.env.NODE_ENV!=="production"&&o[0]>o[1]&&console.warn("Piece "+n+"is illegal: "+o+" lower bound should not greater then uppper bound."),o[0]===o[1]&&s[0]&&s[1]&&(i.value=o[0])}i.visual=Dt.retrieveVisuals(r),t.push(i)},this),e_(e,t),zv(t),E(t,function(r){var n=r.close,i=[["<","≤"][n[1]],[">","≥"][n[0]]];r.text=r.text||this.formatValueText(r.value!=null?r.value:r.interval,!1,i)},this)}};function e_(t,e){var r=t.inverse;(t.orient==="vertical"?!r:r)&&e.reverse()}const Nse=Pse;var Ose=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type=e.type,r}return e.prototype.doRender=function(){var r=this.group;r.removeAll();var n=this.visualMapModel,i=n.get("textGap"),a=n.textStyleModel,o=a.getFont(),s=a.getTextColor(),u=this._getItemAlign(),l=n.itemSize,c=this._getViewData(),f=c.endsText,h=ut(n.get("showLabel",!0),!f),d=!n.get("selectedMode");f&&this._renderEndsText(r,f[0],l,h,u),E(c.viewPieceList,function(p){var v=p.piece,g=new le;g.onclick=X(this._onItemClick,this,v),this._enableHoverLink(g,p.indexInModelPieceList);var m=n.getRepresentValue(v);if(this._createItemSymbol(g,m,[0,0,l[0],l[1]],d),h){var y=this.visualMapModel.getValueState(m);g.add(new ke({style:{x:u==="right"?-i:l[0]+i,y:l[1]/2,text:v.text,verticalAlign:"middle",align:u,font:o,fill:s,opacity:y==="outOfRange"?.5:1},silent:d}))}r.add(g)},this),f&&this._renderEndsText(r,f[1],l,h,u),ja(n.get("orient"),r,n.get("itemGap")),this.renderBackground(r),this.positionGroup(r)},e.prototype._enableHoverLink=function(r,n){var i=this;r.on("mouseover",function(){return a("highlight")}).on("mouseout",function(){return a("downplay")});var a=function(o){var s=i.visualMapModel;s.option.hoverLink&&i.api.dispatchAction({type:o,batch:$0(s.findTargetDataIndices(n),s)})}},e.prototype._getItemAlign=function(){var r=this.visualMapModel,n=r.option;if(n.orient==="vertical")return QD(r,this.api,r.itemSize);var i=n.align;return(!i||i==="auto")&&(i="left"),i},e.prototype._renderEndsText=function(r,n,i,a,o){if(n){var s=new le,u=this.visualMapModel.textStyleModel;s.add(new ke({style:Ue(u,{x:a?o==="right"?i[0]:0:i[0]/2,y:i[1]/2,verticalAlign:"middle",align:a?o:"center",text:n})})),r.add(s)}},e.prototype._getViewData=function(){var r=this.visualMapModel,n=H(r.getPieceList(),function(s,u){return{piece:s,indexInModelPieceList:u}}),i=r.get("text"),a=r.get("orient"),o=r.get("inverse");return(a==="horizontal"?o:!o)?n.reverse():i&&(i=i.slice().reverse()),{viewPieceList:n,endsText:i}},e.prototype._createItemSymbol=function(r,n,i,a){var o=ct(this.getControllerVisual(n,"symbol"),i[0],i[1],i[2],i[3],this.getControllerVisual(n,"color"));o.silent=a,r.add(o)},e.prototype._onItemClick=function(r){var n=this.visualMapModel,i=n.option,a=i.selectedMode;if(a){var o=oe(i.selected),s=n.getSelectedMapKey(r);a==="single"||a===!0?(o[s]=!0,E(o,function(u,l){o[l]=l===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},e.type="visualMap.piecewise",e}(KD);const Bse=Ose;function tE(t){t.registerComponentModel(Nse),t.registerComponentView(Bse),JD(t)}function Fse(t){be(eE),be(tE)}var zse={label:{enabled:!0},decal:{show:!1}},t_=Ae(),Vse={};function $se(t,e){var r=t.getModel("aria");if(!r.get("enabled"))return;var n=oe(zse);ge(n.label,t.getLocaleModel().get("aria"),!1),ge(r.option,n,!1),i(),a();function i(){var l=r.getModel("decal"),c=l.get("show");if(c){var f=J();t.eachSeries(function(h){if(!h.isColorBySeries()){var d=f.get(h.type);d||(d={},f.set(h.type,d)),t_(h).scope=d}}),t.eachRawSeries(function(h){if(t.isSeriesFiltered(h))return;if(te(h.enableAriaDecal)){h.enableAriaDecal();return}var d=h.getData();if(h.isColorBySeries()){var y=Md(h.ecModel,h.name,Vse,t.getSeriesCount()),_=d.getVisual("decal");d.setVisual("decal",b(_,y))}else{var p=h.getRawData(),v={},g=t_(h).scope;d.each(function(x){var w=d.getRawIndex(x);v[w]=x});var m=p.count();p.each(function(x){var w=v[x],S=p.getName(x)||x+"",C=Md(h.ecModel,S,g,m),A=d.getItemVisual(w,"decal");d.setItemVisual(w,"decal",b(A,C))})}function b(x,w){var S=x?$($({},w),x):w;return S.dirty=!0,S}})}}function a(){var l=e.getZr().dom;if(l){var c=t.getLocaleModel().get("aria"),f=r.getModel("label");if(f.option=ae(f.option,c),!!f.get("enabled")){if(l.setAttribute("role","img"),f.get("description")){l.setAttribute("aria-label",f.get("description"));return}var h=t.getSeriesCount(),d=f.get(["data","maxCount"])||10,p=f.get(["series","maxCount"])||10,v=Math.min(h,p),g;if(!(h<1)){var m=s();if(m){var y=f.get(["general","withTitle"]);g=o(y,{title:m})}else g=f.get(["general","withoutTitle"]);var _=[],b=h>1?f.get(["series","multiple","prefix"]):f.get(["series","single","prefix"]);g+=o(b,{seriesCount:h}),t.eachSeries(function(C,A){if(A<v){var T=void 0,D=C.get("name"),k=D?"withName":"withoutName";T=h>1?f.get(["series","multiple",k]):f.get(["series","single",k]),T=o(T,{seriesId:C.seriesIndex,seriesName:C.get("name"),seriesType:u(C.subType)});var M=C.getData();if(M.count()>d){var I=f.get(["data","partialData"]);T+=o(I,{displayCnt:d})}else T+=f.get(["data","allData"]);for(var N=f.get(["data","separator","middle"]),L=f.get(["data","separator","end"]),O=f.get(["data","excludeDimensionId"]),P=[],R=0;R<M.count();R++)if(R<d){var B=M.getName(R),z=O?Ne(M.getValues(R),function(U,q){return _e(O,q)===-1}):M.getValues(R),V=f.get(["data",B?"withName":"withoutName"]);P.push(o(V,{name:B,value:z.join(N)}))}T+=P.join(N)+L,_.push(T)}});var x=f.getModel(["series","multiple","separator"]),w=x.get("middle"),S=x.get("end");g+=_.join(w)+S,l.setAttribute("aria-label",g)}}}}function o(l,c){if(!Z(l))return l;var f=l;return E(c,function(h,d){f=f.replace(new RegExp("\\{\\s*"+d+"\\s*\\}","g"),h)}),f}function s(){var l=t.get("title");return l&&l.length&&(l=l[0]),l&&l.text}function u(l){var c=t.getLocaleModel().get(["series","typeNames"]);return c[l]||c.chart}}function Gse(t){if(!(!t||!t.aria)){var e=t.aria;e.show!=null&&(e.enabled=e.show),e.label=e.label||{},E(["description","general","series","data"],function(r){e[r]!=null&&(e.label[r]=e[r])})}}function Hse(t){t.registerPreprocessor(Gse),t.registerVisual(t.PRIORITY.VISUAL.ARIA,$se)}var r_={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Use=function(){function t(e){var r=this._condVal=Z(e)?new RegExp(e):ix(e)?e:null;if(r==null){var n="";process.env.NODE_ENV!=="production"&&(n=Yt("Illegal regexp",e,"in")),Re(n)}}return t.prototype.evaluate=function(e){var r=typeof e;return Z(r)?this._condVal.test(e):Me(r)?this._condVal.test(e+""):!1},t}(),Wse=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),qse=function(){function t(){}return t.prototype.evaluate=function(){for(var e=this.children,r=0;r<e.length;r++)if(!e[r].evaluate())return!1;return!0},t}(),Zse=function(){function t(){}return t.prototype.evaluate=function(){for(var e=this.children,r=0;r<e.length;r++)if(e[r].evaluate())return!0;return!1},t}(),Yse=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),Xse=function(){function t(){}return t.prototype.evaluate=function(){for(var e=!!this.valueParser,r=this.getValue,n=r(this.valueGetterParam),i=e?this.valueParser(n):null,a=0;a<this.subCondList.length;a++)if(!this.subCondList[a].evaluate(e?i:n))return!1;return!0},t}();function op(t,e){if(t===!0||t===!1){var r=new Wse;return r.value=t,r}var n="";return rE(t)||(process.env.NODE_ENV!=="production"&&(n=Yt("Illegal config. Expect a plain object but actually",t)),Re(n)),t.and?n_("and",t,e):t.or?n_("or",t,e):t.not?jse(t,e):Kse(t,e)}function n_(t,e,r){var n=e[t],i="";process.env.NODE_ENV!=="production"&&(i=Yt('"and"/"or" condition should only be `'+t+": [...]` and must not be empty array.","Illegal condition:",e)),G(n)||Re(i),n.length||Re(i);var a=t==="and"?new qse:new Zse;return a.children=H(n,function(o){return op(o,r)}),a.children.length||Re(i),a}function jse(t,e){var r=t.not,n="";process.env.NODE_ENV!=="production"&&(n=Yt('"not" condition should only be `not: {}`.',"Illegal condition:",t)),rE(r)||Re(n);var i=new Yse;return i.child=op(r,e),i.child||Re(n),i}function Kse(t,e){for(var r="",n=e.prepareGetValue(t),i=[],a=Se(t),o=t.parser,s=o?ES(o):null,u=0;u<a.length;u++){var l=a[u];if(!(l==="parser"||e.valueGetterAttrMap.get(l))){var c=j(r_,l)?r_[l]:l,f=t[l],h=s?s(f):f,d=EG(c,h)||c==="reg"&&new Use(h);d||(process.env.NODE_ENV!=="production"&&(r=Yt('Illegal relational operation: "'+l+'" in condition:',t)),Re(r)),i.push(d)}}i.length||(process.env.NODE_ENV!=="production"&&(r=Yt("Relational condition must have at least one operator.","Illegal condition:",t)),Re(r));var p=new Xse;return p.valueGetterParam=n,p.valueParser=s,p.getValue=e.getValue,p.subCondList=i,p}function rE(t){return ne(t)&&!zt(t)}var Qse=function(){function t(e,r){this._cond=op(e,r)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();function Jse(t,e){return new Qse(t,e)}var eue={type:"echarts:filter",transform:function(t){for(var e=t.upstream,r,n=Jse(t.config,{valueGetterAttrMap:J({dimension:!0}),prepareGetValue:function(s){var u="",l=s.dimension;j(s,"dimension")||(process.env.NODE_ENV!=="production"&&(u=Yt('Relation condition must has prop "dimension" specified.',"Illegal condition:",s)),Re(u));var c=e.getDimensionInfo(l);return c||(process.env.NODE_ENV!=="production"&&(u=Yt("Can not find dimension info via: "+l+`.
|
|
115
|
+
`,"Existing dimensions: ",e.cloneAllDimensionInfo(),`.
|
|
116
|
+
`,"Illegal condition:",s,`.
|
|
117
|
+
`)),Re(u)),{dimIdx:c.index}},getValue:function(s){return e.retrieveValueFromItem(r,s.dimIdx)}}),i=[],a=0,o=e.count();a<o;a++)r=e.getRawDataItem(a),n.evaluate()&&i.push(r);return{data:i}}},E4="";process.env.NODE_ENV!=="production"&&(E4=["Valid config is like:",'{ dimension: "age", order: "asc" }','or [{ dimension: "age", order: "asc"], { dimension: "date", order: "desc" }]'].join(" "));var tue={type:"echarts:sort",transform:function(t){var e=t.upstream,r=t.config,n="",i=ze(r);i.length||(process.env.NODE_ENV!=="production"&&(n="Empty `config` in sort transform."),Re(n));var a=[];E(i,function(c){var f=c.dimension,h=c.order,d=c.parser,p=c.incomparable;if(f==null&&(process.env.NODE_ENV!=="production"&&(n='Sort transform config must has "dimension" specified.'+E4),Re(n)),h!=="asc"&&h!=="desc"&&(process.env.NODE_ENV!=="production"&&(n='Sort transform config must has "order" specified.'+E4),Re(n)),p&&p!=="min"&&p!=="max"){var v="";process.env.NODE_ENV!=="production"&&(v='incomparable must be "min" or "max" rather than "'+p+'".'),Re(v)}if(h!=="asc"&&h!=="desc"){var g="";process.env.NODE_ENV!=="production"&&(g='order must be "asc" or "desc" rather than "'+h+'".'),Re(g)}var m=e.getDimensionInfo(f);m||(process.env.NODE_ENV!=="production"&&(n=Yt("Can not find dimension info via: "+f+`.
|
|
118
|
+
`,"Existing dimensions: ",e.cloneAllDimensionInfo(),`.
|
|
119
|
+
`,"Illegal config:",c,`.
|
|
120
|
+
`)),Re(n));var y=d?ES(d):null;d&&!y&&(process.env.NODE_ENV!=="production"&&(n=Yt("Invalid parser name "+d+`.
|
|
121
|
+
`,"Illegal config:",c,`.
|
|
122
|
+
`)),Re(n)),a.push({dimIdx:m.index,parser:y,comparator:new MS(h,p)})});var o=e.sourceFormat;o!==Vt&&o!==Fr&&(process.env.NODE_ENV!=="production"&&(n='sourceFormat "'+o+'" is not supported yet'),Re(n));for(var s=[],u=0,l=e.count();u<l;u++)s.push(e.getRawDataItem(u));return s.sort(function(c,f){for(var h=0;h<a.length;h++){var d=a[h],p=e.retrieveValueFromItem(c,d.dimIdx),v=e.retrieveValueFromItem(f,d.dimIdx);d.parser&&(p=d.parser(p),v=d.parser(v));var g=d.comparator.evaluate(p,v);if(g!==0)return g}return 0}),{data:s}}};function rue(t){t.registerTransform(eue),t.registerTransform(tue)}var nue=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="dataset",r}return e.prototype.init=function(r,n,i){t.prototype.init.call(this,r,n,i),this._sourceManager=new RS(this),e8(this)},e.prototype.mergeOption=function(r,n){t.prototype.mergeOption.call(this,r,n),e8(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:_n},e}(Ce),iue=function(t){F(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.type="dataset",r}return e.type="dataset",e}(et);function aue(t){t.registerComponentModel(nue),t.registerComponentView(iue)}var on=Cn.CMD;function as(t,e){return Math.abs(t-e)<1e-5}function k4(t){var e=t.data,r=t.len(),n=[],i,a=0,o=0,s=0,u=0;function l(M,I){i&&i.length>2&&n.push(i),i=[M,I]}function c(M,I,N,L){as(M,N)&&as(I,L)||i.push(M,I,N,L,N,L)}function f(M,I,N,L,O,P){var R=Math.abs(I-M),B=Math.tan(R/4)*4/3,z=I<M?-1:1,V=Math.cos(M),U=Math.sin(M),q=Math.cos(I),K=Math.sin(I),xe=V*O+N,Ve=U*P+L,ue=q*O+N,ee=K*P+L,he=O*B*z,Q=P*B*z;i.push(xe-he*U,Ve+Q*V,ue+he*K,ee-Q*q,ue,ee)}for(var h,d,p,v,g=0;g<r;){var m=e[g++],y=g===1;switch(y&&(a=e[g],o=e[g+1],s=a,u=o,(m===on.L||m===on.C||m===on.Q)&&(i=[s,u])),m){case on.M:a=s=e[g++],o=u=e[g++],l(s,u);break;case on.L:h=e[g++],d=e[g++],c(a,o,h,d),a=h,o=d;break;case on.C:i.push(e[g++],e[g++],e[g++],e[g++],a=e[g++],o=e[g++]);break;case on.Q:h=e[g++],d=e[g++],p=e[g++],v=e[g++],i.push(a+2/3*(h-a),o+2/3*(d-o),p+2/3*(h-p),v+2/3*(d-v),p,v),a=p,o=v;break;case on.A:var _=e[g++],b=e[g++],x=e[g++],w=e[g++],S=e[g++],C=e[g++]+S;g+=1;var A=!e[g++];h=Math.cos(S)*x+_,d=Math.sin(S)*w+b,y?(s=h,u=d,l(s,u)):c(a,o,h,d),a=Math.cos(C)*x+_,o=Math.sin(C)*w+b;for(var T=(A?-1:1)*Math.PI/2,D=S;A?D>C:D<C;D+=T){var k=A?Math.max(D+T,C):Math.min(D+T,C);f(D,k,_,b,x,w)}break;case on.R:s=a=e[g++],u=o=e[g++],h=s+e[g++],d=u+e[g++],l(h,u),c(h,u,h,d),c(h,d,s,d),c(s,d,s,u),c(s,u,h,u);break;case on.Z:i&&c(a,o,s,u),a=s,o=u;break}}return i&&i.length>2&&n.push(i),n}function M4(t,e,r,n,i,a,o,s,u,l){if(as(t,r)&&as(e,n)&&as(i,o)&&as(a,s)){u.push(o,s);return}var c=2/l,f=c*c,h=o-t,d=s-e,p=Math.sqrt(h*h+d*d);h/=p,d/=p;var v=r-t,g=n-e,m=i-o,y=a-s,_=v*v+g*g,b=m*m+y*y;if(_<f&&b<f){u.push(o,s);return}var x=h*v+d*g,w=-h*m-d*y,S=_-x*x,C=b-w*w;if(S<f&&x>=0&&C<f&&w>=0){u.push(o,s);return}var A=[],T=[];zi(t,r,i,o,.5,A),zi(e,n,a,s,.5,T),M4(A[0],T[0],A[1],T[1],A[2],T[2],A[3],T[3],u,l),M4(A[4],T[4],A[5],T[5],A[6],T[6],A[7],T[7],u,l)}function oue(t,e){var r=k4(t),n=[];e=e||1;for(var i=0;i<r.length;i++){var a=r[i],o=[],s=a[0],u=a[1];o.push(s,u);for(var l=2;l<a.length;){var c=a[l++],f=a[l++],h=a[l++],d=a[l++],p=a[l++],v=a[l++];M4(s,u,c,f,h,d,p,v,o,e),s=p,u=v}n.push(o)}return n}function nE(t,e,r){var n=t[e],i=t[1-e],a=Math.abs(n/i),o=Math.ceil(Math.sqrt(a*r)),s=Math.floor(r/o);s===0&&(s=1,o=r);for(var u=[],l=0;l<o;l++)u.push(s);var c=o*s,f=r-c;if(f>0)for(var l=0;l<f;l++)u[l%o]+=1;return u}function i_(t,e,r){for(var n=t.r0,i=t.r,a=t.startAngle,o=t.endAngle,s=Math.abs(o-a),u=s*i,l=i-n,c=u>Math.abs(l),f=nE([u,l],c?0:1,e),h=(c?s:l)/f.length,d=0;d<f.length;d++)for(var p=(c?l:s)/f[d],v=0;v<f[d];v++){var g={};c?(g.startAngle=a+h*d,g.endAngle=a+h*(d+1),g.r0=n+p*v,g.r=n+p*(v+1)):(g.startAngle=a+p*v,g.endAngle=a+p*(v+1),g.r0=n+h*d,g.r=n+h*(d+1)),g.clockwise=t.clockwise,g.cx=t.cx,g.cy=t.cy,r.push(g)}}function sue(t,e,r){for(var n=t.width,i=t.height,a=n>i,o=nE([n,i],a?0:1,e),s=a?"width":"height",u=a?"height":"width",l=a?"x":"y",c=a?"y":"x",f=t[s]/o.length,h=0;h<o.length;h++)for(var d=t[u]/o[h],p=0;p<o[h];p++){var v={};v[l]=h*f,v[c]=p*d,v[s]=f,v[u]=d,v.x+=t.x,v.y+=t.y,r.push(v)}}function a_(t,e,r,n){return t*n-r*e}function uue(t,e,r,n,i,a,o,s){var u=r-t,l=n-e,c=o-i,f=s-a,h=a_(c,f,u,l);if(Math.abs(h)<1e-6)return null;var d=t-i,p=e-a,v=a_(d,p,c,f)/h;return v<0||v>1?null:new me(v*u+t,v*l+e)}function lue(t,e,r){var n=new me;me.sub(n,r,e),n.normalize();var i=new me;me.sub(i,t,e);var a=i.dot(n);return a}function Zo(t,e){var r=t[t.length-1];r&&r[0]===e[0]&&r[1]===e[1]||t.push(e)}function cue(t,e,r){for(var n=t.length,i=[],a=0;a<n;a++){var o=t[a],s=t[(a+1)%n],u=uue(o[0],o[1],s[0],s[1],e.x,e.y,r.x,r.y);u&&i.push({projPt:lue(u,e,r),pt:u,idx:a})}if(i.length<2)return[{points:t},{points:t}];i.sort(function(g,m){return g.projPt-m.projPt});var l=i[0],c=i[i.length-1];if(c.idx<l.idx){var f=l;l=c,c=f}for(var h=[l.pt.x,l.pt.y],d=[c.pt.x,c.pt.y],p=[h],v=[d],a=l.idx+1;a<=c.idx;a++)Zo(p,t[a].slice());Zo(p,d),Zo(p,h);for(var a=c.idx+1;a<=l.idx+n;a++)Zo(v,t[a%n].slice());return Zo(v,h),Zo(v,d),[{points:p},{points:v}]}function o_(t){var e=t.points,r=[],n=[];g2(e,r,n);var i=new ye(r[0],r[1],n[0]-r[0],n[1]-r[1]),a=i.width,o=i.height,s=i.x,u=i.y,l=new me,c=new me;return a>o?(l.x=c.x=s+a/2,l.y=u,c.y=u+o):(l.y=c.y=u+o/2,l.x=s,c.x=s+a),cue(e,l,c)}function Wc(t,e,r,n){if(r===1)n.push(e);else{var i=Math.floor(r/2),a=t(e);Wc(t,a[0],i,n),Wc(t,a[1],r-i,n)}return n}function fue(t,e){for(var r=[],n=0;n<e;n++)r.push(b5(t));return r}function hue(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function due(t){for(var e=[],r=0;r<t.length;)e.push([t[r++],t[r++]]);return e}function pue(t,e){var r=[],n=t.shape,i;switch(t.type){case"rect":sue(n,e,r),i=Ee;break;case"sector":i_(n,e,r),i=rr;break;case"circle":i_({r0:0,r:n.r,startAngle:0,endAngle:Math.PI*2,cx:n.cx,cy:n.cy},e,r),i=rr;break;default:var a=t.getComputedTransform(),o=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,s=H(oue(t.getUpdatedPathProxy(),o),function(m){return due(m)}),u=s.length;if(u===0)Wc(o_,{points:s[0]},e,r);else if(u===e)for(var l=0;l<u;l++)r.push({points:s[l]});else{var c=0,f=H(s,function(m){var y=[],_=[];g2(m,y,_);var b=(_[1]-y[1])*(_[0]-y[0]);return c+=b,{poly:m,area:b}});f.sort(function(m,y){return y.area-m.area});for(var h=e,l=0;l<u;l++){var d=f[l];if(h<=0)break;var p=l===u-1?h:Math.ceil(d.area/c*e);p<0||(Wc(o_,{points:d.poly},p,r),h-=p)}}i=nr;break}if(!i)return fue(t,e);for(var v=[],l=0;l<r.length;l++){var g=new i;g.setShape(r[l]),hue(t,g),v.push(g)}return v}function vue(t,e){var r=t.length,n=e.length;if(r===n)return[t,e];for(var i=[],a=[],o=r<n?t:e,s=Math.min(r,n),u=Math.abs(n-r)/6,l=(s-2)/6,c=Math.ceil(u/l)+1,f=[o[0],o[1]],h=u,d=2;d<s;){var p=o[d-2],v=o[d-1],g=o[d++],m=o[d++],y=o[d++],_=o[d++],b=o[d++],x=o[d++];if(h<=0){f.push(g,m,y,_,b,x);continue}for(var w=Math.min(h,c-1)+1,S=1;S<=w;S++){var C=S/w;zi(p,g,y,b,C,i),zi(v,m,_,x,C,a),p=i[3],v=a[3],f.push(i[1],a[1],i[2],a[2],p,v),g=i[5],m=a[5],y=i[6],_=a[6]}h-=w-1}return o===t?[f,e]:[t,f]}function s_(t,e){for(var r=t.length,n=t[r-2],i=t[r-1],a=[],o=0;o<e.length;)a[o++]=n,a[o++]=i;return a}function gue(t,e){for(var r,n,i,a=[],o=[],s=0;s<Math.max(t.length,e.length);s++){var u=t[s],l=e[s],c=void 0,f=void 0;u?l?(r=vue(u,l),c=r[0],f=r[1],n=c,i=f):(f=s_(i||u,u),c=u):(c=s_(n||l,l),f=l),a.push(c),o.push(f)}return[a,o]}function u_(t){for(var e=0,r=0,n=0,i=t.length,a=0,o=i-2;a<i;o=a,a+=2){var s=t[o],u=t[o+1],l=t[a],c=t[a+1],f=s*c-l*u;e+=f,r+=(s+l)*f,n+=(u+c)*f}return e===0?[t[0]||0,t[1]||0]:[r/e/3,n/e/3,e]}function mue(t,e,r,n){for(var i=(t.length-2)/6,a=1/0,o=0,s=t.length,u=s-2,l=0;l<i;l++){for(var c=l*6,f=0,h=0;h<s;h+=2){var d=h===0?c:(c+h-2)%u+2,p=t[d]-r[0],v=t[d+1]-r[1],g=e[h]-n[0],m=e[h+1]-n[1],y=g-p,_=m-v;f+=y*y+_*_}f<a&&(a=f,o=l)}return o}function yue(t){for(var e=[],r=t.length,n=0;n<r;n+=2)e[n]=t[r-n-2],e[n+1]=t[r-n-1];return e}function _ue(t,e,r,n){for(var i=[],a,o=0;o<t.length;o++){var s=t[o],u=e[o],l=u_(s),c=u_(u);a==null&&(a=l[2]<0!=c[2]<0);var f=[],h=[],d=0,p=1/0,v=[],g=s.length;a&&(s=yue(s));for(var m=mue(s,u,l,c)*6,y=g-2,_=0;_<y;_+=2){var b=(m+_)%y+2;f[_+2]=s[b]-l[0],f[_+3]=s[b+1]-l[1]}if(f[0]=s[m]-l[0],f[1]=s[m+1]-l[1],r>0)for(var x=n/r,w=-n/2;w<=n/2;w+=x){for(var S=Math.sin(w),C=Math.cos(w),A=0,_=0;_<s.length;_+=2){var T=f[_],D=f[_+1],k=u[_]-c[0],M=u[_+1]-c[1],I=k*C-M*S,N=k*S+M*C;v[_]=I,v[_+1]=N;var L=I-T,O=N-D;A+=L*L+O*O}if(A<p){p=A,d=w;for(var P=0;P<v.length;P++)h[P]=v[P]}}else for(var R=0;R<g;R+=2)h[R]=u[R]-c[0],h[R+1]=u[R+1]-c[1];i.push({from:f,to:h,fromCp:l,toCp:c,rotation:-d})}return i}function qc(t){return t.__isCombineMorphing}var iE="__mOriginal_";function Zc(t,e,r){var n=iE+e,i=t[n]||t[e];t[n]||(t[n]=t[e]);var a=r.replace,o=r.after,s=r.before;t[e]=function(){var u=arguments,l;return s&&s.apply(this,u),a?l=a.apply(this,u):l=i.apply(this,u),o&&o.apply(this,u),l}}function rl(t,e){var r=iE+e;t[r]&&(t[e]=t[r],t[r]=null)}function l_(t,e){for(var r=0;r<t.length;r++)for(var n=t[r],i=0;i<n.length;){var a=n[i],o=n[i+1];n[i++]=e[0]*a+e[2]*o+e[4],n[i++]=e[1]*a+e[3]*o+e[5]}}function aE(t,e){var r=t.getUpdatedPathProxy(),n=e.getUpdatedPathProxy(),i=gue(k4(r),k4(n)),a=i[0],o=i[1],s=t.getComputedTransform(),u=e.getComputedTransform();function l(){this.transform=null}s&&l_(a,s),u&&l_(o,u),Zc(e,"updateTransform",{replace:l}),e.transform=null;var c=_ue(a,o,10,Math.PI),f=[];Zc(e,"buildPath",{replace:function(h){for(var d=e.__morphT,p=1-d,v=[],g=0;g<c.length;g++){var m=c[g],y=m.from,_=m.to,b=m.rotation*d,x=m.fromCp,w=m.toCp,S=Math.sin(b),C=Math.cos(b);C0(v,x,w,d);for(var A=0;A<y.length;A+=2){var T=y[A],D=y[A+1],k=_[A],M=_[A+1],I=T*p+k*d,N=D*p+M*d;f[A]=I*C-N*S+v[0],f[A+1]=I*S+N*C+v[1]}var L=f[0],O=f[1];h.moveTo(L,O);for(var A=2;A<y.length;){var k=f[A++],M=f[A++],P=f[A++],R=f[A++],B=f[A++],z=f[A++];L===k&&O===M&&P===B&&R===z?h.lineTo(B,z):h.bezierCurveTo(k,M,P,R,B,z),L=B,O=z}}}})}function sp(t,e,r){if(!t||!e)return e;var n=r.done,i=r.during;aE(t,e),e.__morphT=0;function a(){rl(e,"buildPath"),rl(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape()}return e.animateTo({__morphT:1},ae({during:function(o){e.dirtyShape(),i&&i(o)},done:function(){a(),n&&n()}},r)),e}function bue(t,e,r,n,i,a){var o=16;t=i===r?0:Math.round(32767*(t-r)/(i-r)),e=a===n?0:Math.round(32767*(e-n)/(a-n));for(var s=0,u,l=(1<<o)/2;l>0;l/=2){var c=0,f=0;(t&l)>0&&(c=1),(e&l)>0&&(f=1),s+=l*l*(3*c^f),f===0&&(c===1&&(t=l-1-t,e=l-1-e),u=t,t=e,e=u)}return s}function Yc(t){var e=1/0,r=1/0,n=-1/0,i=-1/0,a=H(t,function(s){var u=s.getBoundingRect(),l=s.getComputedTransform(),c=u.x+u.width/2+(l?l[4]:0),f=u.y+u.height/2+(l?l[5]:0);return e=Math.min(c,e),r=Math.min(f,r),n=Math.max(c,n),i=Math.max(f,i),[c,f]}),o=H(a,function(s,u){return{cp:s,z:bue(s[0],s[1],e,r,n,i),path:t[u]}});return o.sort(function(s,u){return s.z-u.z}).map(function(s){return s.path})}function oE(t){return pue(t.path,t.count)}function L4(){return{fromIndividuals:[],toIndividuals:[],count:0}}function xue(t,e,r){var n=[];function i(x){for(var w=0;w<x.length;w++){var S=x[w];qc(S)?i(S.childrenRef()):S instanceof we&&n.push(S)}}i(t);var a=n.length;if(!a)return L4();var o=r.dividePath||oE,s=o({path:e,count:a});if(s.length!==a)return console.error("Invalid morphing: unmatched splitted path"),L4();n=Yc(n),s=Yc(s);for(var u=r.done,l=r.during,c=r.individualDelay,f=new On,h=0;h<a;h++){var d=n[h],p=s[h];p.parent=e,p.copyTransform(f),c||aE(d,p)}e.__isCombineMorphing=!0,e.childrenRef=function(){return s};function v(x){for(var w=0;w<s.length;w++)s[w].addSelfToZr(x)}Zc(e,"addSelfToZr",{after:function(x){v(x)}}),Zc(e,"removeSelfFromZr",{after:function(x){for(var w=0;w<s.length;w++)s[w].removeSelfFromZr(x)}});function g(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,rl(e,"addSelfToZr"),rl(e,"removeSelfFromZr")}var m=s.length;if(c)for(var y=m,_=function(){y--,y===0&&(g(),u&&u())},h=0;h<m;h++){var b=c?ae({delay:(r.delay||0)+c(h,m,n[h],s[h]),done:_},r):r;sp(n[h],s[h],b)}else e.__morphT=0,e.animateTo({__morphT:1},ae({during:function(x){for(var w=0;w<m;w++){var S=s[w];S.__morphT=e.__morphT,S.dirtyShape()}l&&l(x)},done:function(){g();for(var x=0;x<t.length;x++)rl(t[x],"updateTransform");u&&u()}},r));return e.__zr&&v(e.__zr),{fromIndividuals:n,toIndividuals:s,count:m}}function wue(t,e,r){var n=e.length,i=[],a=r.dividePath||oE;function o(d){for(var p=0;p<d.length;p++){var v=d[p];qc(v)?o(v.childrenRef()):v instanceof we&&i.push(v)}}if(qc(t)){o(t.childrenRef());var s=i.length;if(s<n)for(var u=0,l=s;l<n;l++)i.push(b5(i[u++%s]));i.length=n}else{i=a({path:t,count:n});for(var c=t.getComputedTransform(),l=0;l<i.length;l++)i[l].setLocalTransform(c);if(i.length!==n)return console.error("Invalid morphing: unmatched splitted path"),L4()}i=Yc(i),e=Yc(e);for(var f=r.individualDelay,l=0;l<n;l++){var h=f?ae({delay:(r.delay||0)+f(l,n,i[l],e[l])},r):r;sp(i[l],e[l],h)}return{fromIndividuals:i,toIndividuals:e,count:e.length}}function c_(t){return G(t[0])}function f_(t,e){for(var r=[],n=t.length,i=0;i<n;i++)r.push({one:t[i],many:[]});for(var i=0;i<e.length;i++){var a=e[i].length,o=void 0;for(o=0;o<a;o++)r[o%n].many.push(e[i][o])}for(var s=0,i=n-1;i>=0;i--)if(!r[i].many.length){var u=r[s].many;if(u.length<=1)if(s)s=0;else return r;var a=u.length,l=Math.ceil(a/2);r[i].many=u.slice(l,a),r[s].many=u.slice(0,l),s++}return r}var Sue={clone:function(t){for(var e=[],r=1-Math.pow(1-t.path.style.opacity,1/t.count),n=0;n<t.count;n++){var i=b5(t.path);i.setStyle("opacity",r),e.push(i)}return e},split:null};function Lh(t,e,r,n,i,a){if(!t.length||!e.length)return;var o=Ps("update",n,i);if(!(o&&o.duration>0))return;var s=n.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},o),l,c;c_(t)&&(l=t,c=e),c_(e)&&(l=e,c=t);function f(m,y,_,b,x){var w=m.many,S=m.one;if(w.length===1&&!x){var C=y?w[0]:S,A=y?S:w[0];if(qc(C))f({many:[C],one:A},!0,_,b,!0);else{var T=s?ae({delay:s(_,b)},u):u;sp(C,A,T),a(C,A,C,A,T)}}else for(var D=ae({dividePath:Sue[r],individualDelay:s&&function(O,P,R,B){return s(O+_,b)}},u),k=y?xue(w,S,D):wue(S,w,D),M=k.fromIndividuals,I=k.toIndividuals,N=M.length,L=0;L<N;L++){var T=s?ae({delay:s(L,N)},u):u;a(M[L],I[L],y?w[L]:m.one,y?m.one:w[L],T)}}for(var h=l?l===t:t.length>e.length,d=l?f_(c,l):f_(h?e:t,[h?t:e]),p=0,v=0;v<d.length;v++)p+=d[v].many.length;for(var g=0,v=0;v<d.length;v++)f(d[v],h,g,p),g+=d[v].many.length}function Ea(t){if(!t)return[];if(G(t)){for(var e=[],r=0;r<t.length;r++)e.push(Ea(t[r]));return e}var n=[];return t.traverse(function(i){i instanceof we&&!i.disableMorphing&&!i.invisible&&!i.ignore&&n.push(i)}),n}var sE=1e4,Cue=0,h_=1,d_=2,Aue=Ae();function Tue(t,e){for(var r=t.dimensions,n=0;n<r.length;n++){var i=t.getDimensionInfo(r[n]);if(i&&i.otherDims[e]===0)return r[n]}}function Due(t,e,r){var n=t.getDimensionInfo(r),i=n&&n.ordinalMeta;if(n){var a=t.get(n.name,e);return i&&i.categories[a]||a+""}}function p_(t,e,r,n){var i=n?"itemChildGroupId":"itemGroupId",a=Tue(t,i);if(a){var o=Due(t,e,a);return o}var s=t.getRawDataItem(e),u=n?"childGroupId":"groupId";if(s&&s[u])return s[u]+"";if(!n)return r||t.getId(e)}function v_(t){var e=[];return E(t,function(r){var n=r.data,i=r.dataGroupId;if(n.count()>sE){process.env.NODE_ENV!=="production"&&Qe("Universal transition is disabled on large data > 10k.");return}for(var a=n.getIndices(),o=0;o<a.length;o++)e.push({data:n,groupId:p_(n,o,i,!1),childGroupId:p_(n,o,i,!0),divide:r.divide,dataIndex:o})}),e}function Ih(t,e,r){t.traverse(function(n){n instanceof we&&Ye(n,{style:{opacity:0}},e,{dataIndex:r,isFrom:!0})})}function Ph(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function Yo(t){t.stopAnimation(),t.isGroup&&t.traverse(function(e){e.stopAnimation()})}function Eue(t,e,r){var n=Ps("update",r,e);n&&t.traverse(function(i){if(i instanceof Rr){var a=a$(i);a&&i.animateFrom({style:a},n)}})}function kue(t,e){var r=t.length;if(r!==e.length)return!1;for(var n=0;n<r;n++){var i=t[n],a=e[n];if(i.data.getId(i.dataIndex)!==a.data.getId(a.dataIndex))return!1}return!0}function uE(t,e,r){var n=v_(t),i=v_(e);function a(_,b,x,w,S){(x||_)&&b.animateFrom({style:x&&x!==_?$($({},x.style),_.style):_.style},S)}var o=!1,s=Cue,u=J(),l=J();n.forEach(function(_){_.groupId&&u.set(_.groupId,!0),_.childGroupId&&l.set(_.childGroupId,!0)});for(var c=0;c<i.length;c++){var f=i[c].groupId;if(l.get(f)){s=h_;break}var h=i[c].childGroupId;if(h&&u.get(h)){s=d_;break}}function d(_,b){return function(x){var w=x.data,S=x.dataIndex;return b?w.getId(S):_?s===h_?x.childGroupId:x.groupId:s===d_?x.childGroupId:x.groupId}}var p=kue(n,i),v={};if(!p)for(var c=0;c<i.length;c++){var g=i[c],m=g.data.getItemGraphicEl(g.dataIndex);m&&(v[m.id]=!0)}function y(_,b){var x=n[b],w=i[_],S=w.data.hostModel,C=x.data.getItemGraphicEl(x.dataIndex),A=w.data.getItemGraphicEl(w.dataIndex);if(C===A){A&&Eue(A,w.dataIndex,S);return}C&&v[C.id]||A&&(Yo(A),C?(Yo(C),Ph(C),o=!0,Lh(Ea(C),Ea(A),w.divide,S,_,a)):Ih(A,S,_))}new Xn(n,i,d(!0,p),d(!1,p),null,"multiple").update(y).updateManyToOne(function(_,b){var x=i[_],w=x.data,S=w.hostModel,C=w.getItemGraphicEl(x.dataIndex),A=Ne(H(b,function(T){return n[T].data.getItemGraphicEl(n[T].dataIndex)}),function(T){return T&&T!==C&&!v[T.id]});C&&(Yo(C),A.length?(E(A,function(T){Yo(T),Ph(T)}),o=!0,Lh(Ea(A),Ea(C),x.divide,S,_,a)):Ih(C,S,x.dataIndex))}).updateOneToMany(function(_,b){var x=n[b],w=x.data.getItemGraphicEl(x.dataIndex);if(!(w&&v[w.id])){var S=Ne(H(_,function(A){return i[A].data.getItemGraphicEl(i[A].dataIndex)}),function(A){return A&&A!==w}),C=i[_[0]].data.hostModel;S.length&&(E(S,function(A){return Yo(A)}),w?(Yo(w),Ph(w),o=!0,Lh(Ea(w),Ea(S),x.divide,C,_[0],a)):E(S,function(A){return Ih(A,C,_[0])}))}}).updateManyToMany(function(_,b){new Xn(b,_,function(x){return n[x].data.getId(n[x].dataIndex)},function(x){return i[x].data.getId(i[x].dataIndex)}).update(function(x,w){y(_[x],b[w])}).execute()}).execute(),o&&E(e,function(_){var b=_.data,x=b.hostModel,w=x&&r.getViewOfSeriesModel(x),S=Ps("update",x,0);w&&x.isAnimationEnabled()&&S&&S.duration>0&&w.group.traverse(function(C){C instanceof we&&!C.animators.length&&C.animateFrom({style:{opacity:0}},S)})})}function g_(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function m_(t){return G(t)?t.sort().join(","):t}function mi(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function Mue(t,e){var r=J(),n=J(),i=J();E(t.oldSeries,function(o,s){var u=t.oldDataGroupIds[s],l=t.oldData[s],c=g_(o),f=m_(c);n.set(f,{dataGroupId:u,data:l}),G(c)&&E(c,function(h){i.set(h,{key:f,dataGroupId:u,data:l})})});function a(o){r.get(o)&&Qe("Duplicated seriesKey in universalTransition "+o)}return E(e.updatedSeries,function(o){if(o.isUniversalTransitionEnabled()&&o.isAnimationEnabled()){var s=o.get("dataGroupId"),u=o.getData(),l=g_(o),c=m_(l),f=n.get(c);if(f)process.env.NODE_ENV!=="production"&&a(c),r.set(c,{oldSeries:[{dataGroupId:f.dataGroupId,divide:mi(f.data),data:f.data}],newSeries:[{dataGroupId:s,divide:mi(u),data:u}]});else if(G(l)){process.env.NODE_ENV!=="production"&&a(c);var h=[];E(l,function(v){var g=n.get(v);g.data&&h.push({dataGroupId:g.dataGroupId,divide:mi(g.data),data:g.data})}),h.length&&r.set(c,{oldSeries:h,newSeries:[{dataGroupId:s,data:u,divide:mi(u)}]})}else{var d=i.get(l);if(d){var p=r.get(d.key);p||(p={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:mi(d.data)}],newSeries:[]},r.set(d.key,p)),p.newSeries.push({dataGroupId:s,data:u,divide:mi(u)})}}}}),r}function y_(t,e){for(var r=0;r<t.length;r++){var n=e.seriesIndex!=null&&e.seriesIndex===t[r].seriesIndex||e.seriesId!=null&&e.seriesId===t[r].id;if(n)return r}}function Lue(t,e,r,n){var i=[],a=[];E(ze(t.from),function(o){var s=y_(e.oldSeries,o);s>=0&&i.push({dataGroupId:e.oldDataGroupIds[s],data:e.oldData[s],divide:mi(e.oldData[s]),groupIdDim:o.dimension})}),E(ze(t.to),function(o){var s=y_(r.updatedSeries,o);if(s>=0){var u=r.updatedSeries[s].getData();a.push({dataGroupId:e.oldDataGroupIds[s],data:u,divide:mi(u),groupIdDim:o.dimension})}}),i.length>0&&a.length>0&&uE(i,a,n)}function Iue(t){t.registerUpdateLifecycle("series:beforeupdate",function(e,r,n){E(ze(n.seriesTransition),function(i){E(ze(i.to),function(a){for(var o=n.updatedSeries,s=0;s<o.length;s++)(a.seriesIndex!=null&&a.seriesIndex===o[s].seriesIndex||a.seriesId!=null&&a.seriesId===o[s].id)&&(o[s][N0]=!0)})})}),t.registerUpdateLifecycle("series:transition",function(e,r,n){var i=Aue(r);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var a=n.seriesTransition;if(a)E(ze(a),function(d){Lue(d,i,n,r)});else{var o=Mue(i,n);E(o.keys(),function(d){var p=o.get(d);uE(p.oldSeries,p.newSeries,r)})}E(n.updatedSeries,function(d){d[N0]&&(d[N0]=!1)})}for(var s=e.getSeries(),u=i.oldSeries=[],l=i.oldDataGroupIds=[],c=i.oldData=[],f=0;f<s.length;f++){var h=s[f].getData();h.count()<sE&&(u.push(s[f]),l.push(s[f].get("dataGroupId")),c.push(h))}})}be([Yq]);be([$q]);be([yZ,OZ,XZ,OY,JY,ZX,Cj,cK,FK,ZK,iQ,uJ,NJ,YJ,pee,xee,zee,Xee,ute,gte,kte,dre]);be(Ore);be(gne);be(rT);be(Pne);be(GT);be(Vne);be(Xne);be(jie);be(_ae);be(r1);be(zae);be(Gae);be(noe);be(doe);be(xoe);be(koe);be(Hoe);be(fse);be(YD);be(XD);be(Fse);be(eE);be(tE);be(Hse);be(rue);be(aue);be(Iue);be(aq);const Pue={name:"MsgChart",props:{clazz:{type:String,default:"lke-chat-chart"},chartContainerId:{type:String,default:"lke-chat-chart-id"},chartDataArr:{type:Array,default:()=>[]},height:{type:Number,default:400}},data(){return{width:600,chart:[]}},watch:{chartDataArr:{handler(){this.chartDataArr.length>0&&this.initChart()},deep:!0}},mounted(){this.$nextTick(()=>{const t=document.querySelector(`#chart-${this.chartContainerId}`);t&&(this.width=t.offsetWidth-50),window.addEventListener("resize",this.resizeDebounce),this.initChart()})},beforeDestroy(){window.removeEventListener("resize",this.resizeDebounce),this.chart.forEach(t=>t.dispose()),this.chart=[]},methods:{initChart(){this.chart.forEach(t=>t.dispose()),this.chart=[],this.$nextTick(()=>{this.chartDataArr.forEach((t,e)=>{const r=document.querySelector(`#chart-${this.chartContainerId} > #chart-${e}`);if(!r)return;const n=bU(r,"light",{renderer:"canvas"});this.chart.push(n);try{typeof t=="string"?n.setOption(JSON.parse(t)):n.setOption(t)}catch(i){console.log("图表数据json格式解析出错",i)}n.resize({width:this.width})})})},updateChart(t,e){if(this.chart[e])try{typeof t=="string"?this.chart[e].setOption(JSON.parse(t)):this.chart[e].setOption(t)}catch(r){console.log("图表数据json格式解析出错",r)}},resizeDebounce(){const t=document.querySelector(`#chart-${this.chartContainerId}`);t&&(this.width=t.offsetWidth-50,this.chart.forEach(e=>{e.resize({width:this.width})}))}}};var Rue=function(){var e=this,r=e._self._c;return r("div",{class:e.clazz,attrs:{id:`chart-${e.chartContainerId}`}},e._l(e.chartDataArr,function(n,i){return r("div",{key:`${e.chartContainerId}-chart-${i}`,style:{width:`${e.width}px`,height:`${e.height}px`},attrs:{id:`chart-${i}`}})}),0)},Nue=[],Oue=pr(Pue,Rue,Nue,!1,null,"e50f6d7c",null,null);const Bue=Oue.exports,up=An(Bue),lE=An(r2),cE=An(jb),lp=An(Zb);const Fue={name:"MsgLoading",props:{loadingIcon:String,loadingMessage:Boolean,loadingText:String,transferStatus:Boolean},data(){return{defaultIcon:"https://bqq.gtimg.com/CDN/source/images/webim/markdown-loading.gif"}}};var zue=function(){var e=this,r=e._self._c;return e.loadingMessage&&!e.transferStatus?r("div",{class:e.loadingIcon?"loading":"loadingWithoutIcon",style:{"--bgurl":e.loadingIcon?"url("+e.loadingIcon+")":"url("+e.defaultIcon+")"}},[e._v(e._s(e.loadingText?e.loadingText:"正在思考中"))]):e._e()},Vue=[],$ue=pr(Fue,zue,Vue,!1,null,"5c1bbe0d",null,null);const fE=$ue.exports,Gue={name:"LkeMsg",components:{MsgContent:Jb,MsgLoading:fE},props:{loadingIcon:String,type:String,isReplaceLinks:Boolean,showProcedures:Boolean,isPrintAnimate:Boolean,transferStatus:Boolean,clazz:String,item:Object,styleObj:Object,clazzTable:String,clazzMd:String,anchorAttributes:Object,imgMinWidth:[Number,String],imgMaxWidth:[Number,String],linkify:Boolean,isMermaidRenderAfterOutput:Boolean},data(){return{currentIndex:0}},computed:{loadingText(){return this.item.text?this.item.text:this.showProcedures&&this.type==="token_stat"&&this.item.procedures&&this.item.procedures.length>0?this.item.procedures[this.item.procedures.length-1].title||"思考着":""},loadingMessage(){return this.item.loading_message||this.item.is_from_self||this.type==="token_stat"&&this.currentIndex===0||this.type==="show_search_engine"&&this.currentIndex===0}},methods:{postrender(t){this.currentIndex=t,this.$emit("postrender",t)},imageClick(t){this.$emit("imageClick",t)}}};var Hue=function(){var e=this,r=e._self._c;return r("div",{class:e.clazz},[r("MsgLoading",{attrs:{loadingIcon:e.loadingIcon,loadingMessage:e.loadingMessage,loadingText:e.loadingText,transferStatus:e.transferStatus}}),e.loadingMessage?e._e():r("MsgContent",{attrs:{isReplaceLinks:e.isReplaceLinks,isPrintAnimate:e.isPrintAnimate,linkify:e.linkify,loadingMessage:e.loadingMessage,content:e.item.content,isFinal:e.item.is_final,isMdExpand:e.item.isMdExpand,clazzTable:e.clazzTable||(e.item.is_final?"table-style":"table"),clazzMd:e.clazzMd?e.clazzMd:"answer-md",styleObj:e.styleObj,anchorAttributes:e.anchorAttributes,imgMinWidth:e.imgMinWidth,imgMaxWidth:e.imgMaxWidth,isMermaidRenderAfterOutput:e.isMermaidRenderAfterOutput},on:{postrender:e.postrender,imageClick:e.imageClick}})],1)},Uue=[],Wue=pr(Gue,Hue,Uue,!1,null,null,null,null);const que=Wue.exports,cp=An(que),fp=An(fE);const Zue={name:"StreamAudioPlayerCard",components:{VIcon:r2},props:{audioItem:{type:Object,required:!0},isGenerating:{type:Boolean,default:!1}},data(){return{player:null,showDragTip:!1,isDragging:!1,isHoveringProgress:!1}},computed:{cardClass(){return{generating:this.audioItem.status==="generating",completed:this.audioItem.status==="completed",playing:this.audioItem.status==="playing",paused:this.audioItem.status==="paused",hoverable:this.audioItem.status!=="generating"}},progressPercentage(){return this.audioItem.duration===0?0:this.audioItem.currentTime/this.audioItem.duration*100},showHandle(){return(this.isHoveringProgress||this.isDragging)&&this.audioItem.status!=="generating"}},mounted(){this.initPlayer()},beforeUnmount(){this.player&&this.player.destroy()},methods:{initPlayer(){this.player=new Yb,this.player.onPlay(()=>{this.audioItem.status="playing",this.$emit("play",this.audioItem)}),this.player.onPause(()=>{this.audioItem.status="paused",this.$emit("pause",this.audioItem)}),this.player.onEnd(()=>{this.isGenerating||(this.audioItem.status="completed",this.audioItem.currentTime=0,this.$emit("end",this.audioItem))}),this.player.onTimeUpdate((t,e)=>{this.audioItem.currentTime=t,this.isGenerating||(this.audioItem.duration=e),t>=e&&e>0&&!this.isGenerating&&(this.player.pause(),this.audioItem.status="completed",this.audioItem.currentTime=e)}),this.player.onError(t=>{console.error("音频播放错误:",t),this.$emit("error",t)}),this.audioItem.player=this.player},async addAudioChunk(t){if(!this.player){console.warn("播放器未初始化");return}try{let e;if(typeof t=="string"){const r=t.replace(/^data:.*?;base64,/,""),n=window.atob(r),i=new Uint8Array(n.length);for(let a=0;a<n.length;a++)i[a]=n.charCodeAt(a);e=i.buffer}else if(t instanceof ArrayBuffer)e=t;else if(t instanceof Blob)e=await t.arrayBuffer();else{console.error("不支持的音频数据格式");return}await this.player.addAudioChunk(e),this.$emit("chunk-added",{duration:this.audioItem.duration,queueLength:this.player.audioQueue.length})}catch(e){console.error("添加音频片段失败:",e),this.$emit("error",e)}},markGenerationComplete(){this.player&&(this.audioItem.duration=this.player.totalDuration),this.audioItem.status!=="playing"&&(this.audioItem.status="completed")},async handlePlayPause(){if(this.player)try{this.audioItem.status==="playing"?this.player.pause():(this.audioItem.currentTime>=this.audioItem.duration&&this.audioItem.duration>0&&(this.audioItem.currentTime=0,this.player.pausedAt=0),await this.player.play())}catch(t){console.error("播放控制错误:",t)}},handleDownload(){this.$emit("download",this.audioItem)},getPlayButtonTitle(){return this.isGenerating&&this.audioItem.duration===0?"等待音频生成":this.audioItem.status==="playing"?"暂停":"播放"},formatTime(t){if(!t||isNaN(t))return"00:00";const e=Math.floor(t/60),r=Math.floor(t%60);return`${e.toString().padStart(2,"0")}:${r.toString().padStart(2,"0")}`},handleMouseEnter(){this.audioItem.status==="playing"&&(this.showDragTip=!0)},handleMouseLeave(){this.showDragTip=!1},handleProgressMouseEnter(){this.audioItem.status!=="generating"&&(this.isHoveringProgress=!0)},handleProgressMouseLeave(){this.isDragging||(this.isHoveringProgress=!1)},handleProgressMouseDown(t){this.audioItem.status!=="generating"&&this.seekToPosition(t)},handleDragStart(t){if(this.audioItem.status==="generating")return;this.isDragging=!0,t.preventDefault();const e=n=>{this.seekToPosition(n)},r=()=>{this.isDragging=!1,this.isHoveringProgress||(this.isHoveringProgress=!1),document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",e),document.addEventListener("mouseup",r)},seekToPosition(t){if(!this.player||!this.$refs.progressTrack)return;const r=this.$refs.progressTrack.getBoundingClientRect(),n=t.clientX-r.left,a=Math.max(0,Math.min(1,n/r.width))*this.audioItem.duration,o=this.audioItem.status==="playing";o&&this.player.pause(),this.audioItem.currentTime=a,this.player.pausedAt=a,o&&this.player.play()}}};var Yue=function(){var e=this,r=e._self._c;return r("div",{staticClass:"stream-audio-player-card",class:e.cardClass,on:{mouseenter:e.handleMouseEnter,mouseleave:e.handleMouseLeave}},[r("div",{staticClass:"audio-content"},[r("div",{staticClass:"audio-icon"},[r("v-icon",{attrs:{name:"file_icon_audio_light",size:30}})],1),r("div",{staticClass:"file-info"},[r("div",{staticClass:"file-name"},[e._v(e._s(e.audioItem.fileName))]),r("div",{staticClass:"file-status"},[r("span",{staticClass:"status-text",class:{generating:e.isGenerating,completed:e.audioItem.status==="completed",playing:e.audioItem.status==="playing",paused:e.audioItem.status==="paused"}},[e._v(" "+e._s(e.formatTime(e.audioItem.currentTime))+" / "+e._s(e.isGenerating?"生成中":e.formatTime(e.audioItem.duration))+" ")])])]),r("div",{staticClass:"audio-controls"},[r("button",{staticClass:"control-btn download-btn",attrs:{disabled:e.audioItem.status==="generating",title:e.audioItem.status==="generating"?"生成中,暂不可下载":"下载"},on:{click:e.handleDownload}},[r("v-icon",{attrs:{name:"basic_download2_line",size:18}})],1),r("button",{staticClass:"control-btn play-btn",attrs:{disabled:e.isGenerating&&e.audioItem.duration===0,title:e.getPlayButtonTitle()},on:{click:e.handlePlayPause}},[e.audioItem.status==="playing"?r("v-icon",{attrs:{name:"basic_pause_line",size:18}}):r("v-icon",{attrs:{name:"basic_play_line",size:18}})],1)])]),r("div",{staticClass:"progress-container"},[r("div",{ref:"progressTrack",staticClass:"progress-track",on:{mousedown:e.handleProgressMouseDown,mouseenter:e.handleProgressMouseEnter,mouseleave:e.handleProgressMouseLeave}},[r("div",{staticClass:"progress-played",class:{"no-transition":e.isDragging},style:{width:e.progressPercentage+"%"}}),e.showHandle?r("div",{staticClass:"progress-handle",class:{"no-transition":e.isDragging},style:{left:e.progressPercentage+"%"},on:{mousedown:function(n){return n.stopPropagation(),e.handleDragStart.apply(null,arguments)}}}):e._e()])])])},Xue=[],jue=pr(Zue,Yue,Xue,!1,null,"439cf304",null,null);const Kue=jue.exports,hE=An(Kue);const Que={in_progress:"running",running:"running",processing:"running",pending:"pending",completed:"completed",success:"completed",done:"completed",stop:"stopped",stopped:"stopped"},Jue={name:"MsgTaskList",props:{tasks:{type:Array,default:()=>[]},defaultExpanded:{type:Boolean,default:!1},locale:{type:String,default:"zh-CN"}},data(){return{isExpanded:this.defaultExpanded}},computed:{i18nText(){return{allCompleted:_i("allCompleted",this.locale,"MsgTaskList"),stopped:_i("stopped",this.locale,"MsgTaskList"),taskProgress:_i("taskProgress",this.locale,"MsgTaskList")}},normalizedTasks(){return this.tasks.map(t=>({name:t.name||t.content||"",status:Que[t.status]||"pending",priority:t.priority||"medium"}))},completedCount(){return this.normalizedTasks.filter(t=>t.status==="completed").length},allCompleted(){return this.normalizedTasks.length>0&&this.normalizedTasks.every(t=>t.status==="completed")},hasStopped(){return this.normalizedTasks.some(t=>t.status==="stopped")},allDone(){return this.normalizedTasks.length>0&&this.normalizedTasks.every(t=>t.status==="completed"||t.status==="stopped")},stoppedSummary(){const t=this.normalizedTasks.filter(e=>e.status==="stopped");return t.length>0?t[t.length-1].name:""},currentTaskName(){const t=this.normalizedTasks.find(r=>r.status==="running");if(t)return t.name;const e=this.normalizedTasks.find(r=>r.status==="pending");return e?e.name:""}},methods:{toggleExpand(){this.isExpanded=!this.isExpanded}}};var ele=function(){var e=this,r=e._self._c;return e.normalizedTasks.length?r("div",{staticClass:"msg-task-list"},[r("div",{staticClass:"task-card"},[r("div",{staticClass:"task-header",on:{click:e.toggleExpand}},[r("div",{staticClass:"task-header-left"},[e.allCompleted?r("svg",{staticClass:"header-icon icon-finish",attrs:{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("circle",{attrs:{cx:"6",cy:"6",r:"6",fill:"#34D399"}}),r("path",{attrs:{d:"M3.5 6L5.5 8L8.5 4.5",stroke:"#fff","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})]):e.hasStopped?r("svg",{staticClass:"header-icon icon-stopped",attrs:{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("circle",{attrs:{cx:"6",cy:"6",r:"6",fill:"#F59E0B"}}),r("rect",{attrs:{x:"3.5",y:"3.5",width:"5",height:"5",rx:"0.5",fill:"#fff"}})]):r("svg",{staticClass:"header-icon icon-spinner",attrs:{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("circle",{attrs:{cx:"6",cy:"6",r:"5",stroke:"#E5E7EB","stroke-width":"1.5"}}),r("path",{attrs:{d:"M6 1C8.76 1 11 3.24 11 6",stroke:"#3B82F6","stroke-width":"1.5","stroke-linecap":"round"}})]),r("span",{staticClass:"task-progress-text"},[e.allCompleted?[e._v(e._s(e.i18nText.allCompleted))]:e.hasStopped?[e._v(e._s(e.i18nText.stopped)+" "+e._s(e.completedCount)+"/"+e._s(e.normalizedTasks.length)+":"+e._s(e.stoppedSummary))]:[e._v(e._s(e.i18nText.taskProgress)+" "+e._s(e.completedCount)+"/"+e._s(e.normalizedTasks.length)+":"+e._s(e.currentTaskName))]],2)]),r("svg",{staticClass:"header-arrow",class:{expanded:e.isExpanded},attrs:{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("path",{attrs:{d:"M3 4.5L6 7.5L9 4.5",stroke:"rgba(3,10,38,0.4)","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})])]),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}],staticClass:"task-list-wrapper"},[r("div",{staticClass:"task-list-divider"}),r("div",{staticClass:"task-list"},e._l(e.normalizedTasks,function(n,i){return r("div",{key:i,staticClass:"task-item",class:{"task-completed":n.status==="completed","task-stopped":n.status==="stopped"}},[n.status==="completed"?r("svg",{staticClass:"task-icon icon-finish",attrs:{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("circle",{attrs:{cx:"6",cy:"6",r:"6",fill:"#34D399"}}),r("path",{attrs:{d:"M3.5 6L5.5 8L8.5 4.5",stroke:"#fff","stroke-width":"1.2","stroke-linecap":"round","stroke-linejoin":"round"}})]):n.status==="stopped"?r("svg",{staticClass:"task-icon icon-stopped",attrs:{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("circle",{attrs:{cx:"6",cy:"6",r:"6",fill:"#F59E0B"}}),r("rect",{attrs:{x:"3.5",y:"3.5",width:"5",height:"5",rx:"0.5",fill:"#fff"}})]):n.status==="running"?r("svg",{staticClass:"task-icon icon-spinner",attrs:{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("circle",{attrs:{cx:"6",cy:"6",r:"5",stroke:"#E5E7EB","stroke-width":"1.5"}}),r("path",{attrs:{d:"M6 1C8.76 1 11 3.24 11 6",stroke:"#3B82F6","stroke-width":"1.5","stroke-linecap":"round"}})]):r("svg",{staticClass:"task-icon icon-pending",attrs:{viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[r("circle",{attrs:{cx:"6",cy:"6",r:"5",stroke:"#D1D5DB","stroke-width":"1.2"}})]),r("span",{staticClass:"task-name"},[e._v(e._s(n.name))])])}),0)])])]):e._e()},tle=[],rle=pr(Jue,ele,tle,!1,null,"b1601cee",null,null);const nle=rle.exports,hp=An(nle),dE=(t={})=>(t=Object.assign({},{watches:["source","show","toc"],source:"",show:!0,highlight:!0,html:!0,xhtmlOut:!0,breaks:!0,linkify:!1,emoji:!0,typographer:!0,langPrefix:"language-",quotes:"“”‘’",tableClass:"table",taskLists:!0,toc:!1,tocId:"",tocClass:"table-of-contents",tocFirstLevel:2,tocLastLevel:0,tocAnchorLink:!0,tocAnchorClass:"toc-anchor",tocAnchorLinkSymbol:"#",tocAnchorLinkSpace:!0,tocAnchorLinkClass:"toc-anchor-link",anchorAttributes:()=>({}),prerender:r=>r,postrender:r=>r},t),new Promise((r,n)=>{t.source?wb({},()=>{const i=document.createElement("div"),{replacedString:a,videoTags:o}=ab(t.source),{modifiedMdString:s,codeBlocks:u}=nb(a),l=tb(s),{transformed:c,extracted:f}=Cb(l);i.innerHTML=c;const h=()=>{const d=Ab(rb(ob(ib(i.innerHTML,u),o)),f),p=eb({html:t.html,xhtmlOut:t.xhtmlOut,breaks:t.breaks,linkify:t.linkify,emoji:t.emoji,typographer:t.typographer,langPrefix:t.langPrefix,quotes:t.quotes,taskLists:t.taskLists,tableClass:t.tableClass,anchorAttributes:typeof t.anchorAttributes=="function"?t.anchorAttributes():t.anchorAttributes,toc:t.toc,tocClass:t.tocClass,tocFirstLevel:t.tocFirstLevel,tocLastLevel:t.tocLastLevel>t.tocFirstLevel?t.tocLastLevel:t.tocFirstLevel+1,tocAnchorLink:t.tocAnchorLink,tocAnchorLinkSymbol:t.tocAnchorLinkSymbol,tocAnchorLinkSpace:t.tocAnchorLinkSpace,tocAnchorClass:t.tocAnchorClass,tocAnchorLinkClass:t.tocAnchorLinkClass,tocId:t.tocId,onTocRendered:g=>{t.$emit&&t.$emit("toc-rendered",g)}});let v=t.show?p.render((t.prerender?t.prerender(d):d).replace(/(^|[^~\\])~([^~]|$)/g,"$1\\~$2")):"";v=t.postrender?t.postrender(v):v,r(v)};Sb(i).then(h).catch(h)}):r("")})),ile=[Y4,X4,up,lE,cE,lp,cp,fp,hE,hp,n2],pE=t=>{ile.forEach(e=>{e.install&&e.install(t)})};typeof window<"u"&&window.Vue&&pE(window.Vue);const ale={install:pE,markdownToHtml:dE,WidgetHelper:i2,MsgChart:up,MsgContent:Y4,MsgLoading:fp,LkeMsg:cp,MsgThought:X4,MsgWidget:lp,MsgTaskList:hp,ClassifyTag:n2};exports.ClassifyTag=n2;exports.Icon=lE;exports.LkeMsg=cp;exports.MsgChart=up;exports.MsgContent=Y4;exports.MsgLoading=fp;exports.MsgTaskList=hp;exports.MsgThought=X4;exports.MsgWidget=lp;exports.StreamAudioPlayer=cE;exports.StreamAudioPlayerCard=hE;exports.WidgetHelper=i2;exports.createWidgetHelper=GO;exports.default=ale;exports.getJsonSchema=WO;exports.getPreview=UO;exports.getTemplate=HO;exports.markdownToHtml=dE;
|