lke-component 2.0.0-beta.6 → 2.0.0-beta.7
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 +124 -1
- package/dist/lke-component.es.js +60642 -18
- package/dist/lke-component.umd.js +60 -1576
- package/package.json +1 -2
- package/dist/index-2297ef13.mjs +0 -60655
- package/dist/index-a450601f.js +0 -1517
- package/dist/index-c252edcb.js +0 -124
- package/dist/index-de39bb3e.mjs +0 -26233
|
@@ -1 +1,124 @@
|
|
|
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 Mu=require("vue");function jD(e){if(!e||typeof e!="string")return e;const t=document.createElement("textarea");t.innerHTML=e;const r=t.value;return t.remove(),r}function Xn(e){const t=e;return t.install=r=>{r.component(t.name,e)},t}var J7=11;function KD(e,t){var r=t.attributes,n,i,a,o,s;if(!(t.nodeType===J7||e.nodeType===J7)){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=e.getAttributeNS(a,i),s!==o&&(n.prefix==="xmlns"&&(i=n.name),e.setAttributeNS(a,i,o))):(s=e.getAttribute(i),s!==o&&e.setAttribute(i,o));for(var l=e.attributes,c=l.length-1;c>=0;c--)n=l[c],i=n.name,a=n.namespaceURI,a?(i=n.localName||i,t.hasAttributeNS(a,i)||e.removeAttributeNS(a,i)):t.hasAttribute(i)||e.removeAttribute(i)}}var Yl,QD="http://www.w3.org/1999/xhtml",Ut=typeof document>"u"?void 0:document,JD=!!Ut&&"content"in Ut.createElement("template"),eE=!!Ut&&Ut.createRange&&"createContextualFragment"in Ut.createRange();function tE(e){var t=Ut.createElement("template");return t.innerHTML=e,t.content.childNodes[0]}function rE(e){Yl||(Yl=Ut.createRange(),Yl.selectNode(Ut.body));var t=Yl.createContextualFragment(e);return t.childNodes[0]}function nE(e){var t=Ut.createElement("body");return t.innerHTML=e,t.childNodes[0]}function iE(e){return e=e.trim(),JD?tE(e):eE?rE(e):nE(e)}function Xl(e,t){var r=e.nodeName,n=t.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 aE(e,t){return!t||t===QD?Ut.createElement(e):Ut.createElementNS(t,e)}function oE(e,t){for(var r=e.firstChild;r;){var n=r.nextSibling;t.appendChild(r),r=n}return t}function B2(e,t,r){e[r]!==t[r]&&(e[r]=t[r],e[r]?e.setAttribute(r,""):e.removeAttribute(r))}var ep={OPTION:function(e,t){var r=e.parentNode;if(r){var n=r.nodeName.toUpperCase();n==="OPTGROUP"&&(r=r.parentNode,n=r&&r.nodeName.toUpperCase()),n==="SELECT"&&!r.hasAttribute("multiple")&&(e.hasAttribute("selected")&&!t.selected&&(e.setAttribute("selected","selected"),e.removeAttribute("selected")),r.selectedIndex=-1)}B2(e,t,"selected")},INPUT:function(e,t){B2(e,t,"checked"),B2(e,t,"disabled"),e.value!==t.value&&(e.value=t.value),t.hasAttribute("value")||e.removeAttribute("value")},TEXTAREA:function(e,t){var r=t.value;e.value!==r&&(e.value=r);var n=e.firstChild;if(n){var i=n.nodeValue;if(i==r||!r&&i==e.placeholder)return;n.nodeValue=r}},SELECT:function(e,t){if(!t.hasAttribute("multiple")){for(var r=-1,n=0,i=e.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)}e.selectedIndex=r}}},Fs=1,tp=11,rp=3,np=8;function Jn(){}function sE(e){if(e)return e.getAttribute&&e.getAttribute("id")||e.id}function uE(e){return function(r,n,i){if(i||(i={}),typeof n=="string")if(r.nodeName==="#document"||r.nodeName==="HTML"){var a=n;n=Ut.createElement("html"),n.innerHTML=a}else if(r.nodeName==="BODY"){var o=n;n=Ut.createElement("html"),n.innerHTML=o;var s=n.querySelector("body");s&&(n=s)}else n=iE(n);else n.nodeType===tp&&(n=n.firstElementChild);var u=i.getNodeKey||sE,l=i.onBeforeNodeAdded||Jn,c=i.onNodeAdded||Jn,f=i.onBeforeElUpdated||Jn,h=i.onElUpdated||Jn,d=i.onBeforeNodeDiscarded||Jn,p=i.onNodeDiscarded||Jn,v=i.onBeforeElChildrenUpdated||Jn,g=i.skipFromChildren||Jn,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===Fs)for(var V=R.firstChild;V;){var z=void 0;B&&(z=u(V))?x(z):(p(V),V.firstChild&&w(V,B)),V=V.nextSibling}}function S(R,B,V){d(R)!==!1&&(B&&B.removeChild(R),p(R),w(R,V))}function C(R){if(R.nodeType===Fs||R.nodeType===tp)for(var B=R.firstChild;B;){var V=u(B);V&&(_[V]=B),C(B),B=B.nextSibling}}C(r);function A(R){c(R);for(var B=R.firstChild;B;){var V=B.nextSibling,z=u(B);if(z){var U=_[z];U&&Xl(B,U)?(B.parentNode.replaceChild(U,B),D(U,B)):A(B)}else A(B);B=V}}function T(R,B,V){for(;B;){var z=B.nextSibling;(V=u(B))?x(V):S(B,R,!0),B=z}}function D(R,B,V){var z=u(B);if(z&&delete _[z],!V){var U=f(R,B);if(U===!1||(U instanceof HTMLElement&&(R=U,C(R)),e(R,B),h(R),v(R,B)===!1))return}R.nodeName!=="TEXTAREA"?k(R,B):ep.TEXTAREA(R,B)}function k(R,B){var V=g(R,B),z=B.firstChild,U=R.firstChild,q,K,xe,ze,ue;e:for(;z;){for(ze=z.nextSibling,q=u(z);!V&&U;){if(xe=U.nextSibling,z.isSameNode&&z.isSameNode(U)){z=ze,U=xe;continue e}K=u(U);var ee=U.nodeType,he=void 0;if(ee===z.nodeType&&(ee===Fs?(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&&Xl(U,z),he&&D(U,z)):(ee===rp||ee==np)&&(he=!0,U.nodeValue!==z.nodeValue&&(U.nodeValue=z.nodeValue))),he){z=ze,U=xe;continue e}K?x(K):S(U,R,!0),U=xe}if(q&&(ue=_[q])&&Xl(ue,z))V||m(R,ue),D(ue,z);else{var Q=l(z);Q!==!1&&(Q&&(z=Q),z.actualize&&(z=z.actualize(R.ownerDocument||Ut)),m(R,z),A(z))}z=ze,U=xe}T(R,U,K);var se=ep[R.nodeName];se&&se(R,B)}var M=r,L=M.nodeType,N=n.nodeType;if(!y){if(L===Fs)N===Fs?Xl(r,n)||(p(r),M=oE(r,aE(n.nodeName,n.namespaceURI))):M=n;else if(L===rp||L===np){if(N===L)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 I=0,O=b.length;I<O;I++){var P=_[b[I]];P&&S(P,P.parentNode,!1)}}return!y&&M!==r&&r.parentNode&&(M.actualize&&(M=M.actualize(r.ownerDocument||Ut)),r.parentNode.replaceChild(M,r)),M}}var lE=uE(KD);const ip={};function cE(e){let t=ip[e];if(t)return t;t=ip[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);t.push(n)}for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2)}return t}function os(e,t){typeof t!="string"&&(t=os.defaultChars);const r=cE(t);return e.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})}os.defaultChars=";/?:@&=+$,#";os.componentChars="";const ap={};function fE(e){let t=ap[e];if(t)return t;t=ap[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r<e.length;r++)t[e.charCodeAt(r)]=e[r];return t}function Tl(e,t,r){typeof t!="string"&&(r=t,t=Tl.defaultChars),typeof r>"u"&&(r=!0);const n=fE(t);let i="";for(let a=0,o=e.length;a<o;a++){const s=e.charCodeAt(a);if(r&&s===37&&a+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(a+1,a+3))){i+=e.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=e.charCodeAt(a+1);if(u>=56320&&u<=57343){i+=encodeURIComponent(e[a]+e[a+1]),a++;continue}}i+="%EF%BF%BD";continue}i+=encodeURIComponent(e[a])}return i}Tl.defaultChars=";/?:@&=+$,-_.!~*'()#";Tl.componentChars="-_.!~*'()";function _4(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function P0(){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 hE=/^([a-z0-9.+-]+:)/i,dE=/:[0-9]*$/,pE=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,vE=["<",">",'"',"`"," ","\r",`
|
|
2
|
+
`," "],gE=["{","}","|","\\","^","`"].concat(vE),mE=["'"].concat(gE),op=["%","/","?",";","#"].concat(mE),sp=["/","?","#"],yE=255,up=/^[+a-z0-9A-Z_-]{0,63}$/,_E=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,lp={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 b4(e,t){if(e&&e instanceof P0)return e;const r=new P0;return r.parse(e,t),r}P0.prototype.parse=function(e,t){let r,n,i,a=e;if(a=a.trim(),!t&&e.split("#").length===1){const l=pE.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}let o=hE.exec(a);if(o&&(o=o[0],r=o.toLowerCase(),this.protocol=o,a=a.substr(o.length)),(t||o||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(o&&lp[o])&&(a=a.substr(2),this.slashes=!0)),!lp[o]&&(i||o&&!cp[o])){let l=-1;for(let p=0;p<sp.length;p++)n=a.indexOf(sp[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<op.length;p++)n=a.indexOf(op[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(up)){let y="";for(let _=0,b=m.length;_<b;_++)m.charCodeAt(_)>127?y+="x":y+=m[_];if(!y.match(up)){const _=p.slice(0,v),b=p.slice(v+1),x=m.match(_E);x&&(_.push(x[1]),b.unshift(x[2])),b.length&&(a=b.join(".")+a),this.hostname=_.join(".");break}}}}this.hostname.length>yE&&(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};P0.prototype.parseHost=function(e){let t=dE.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const bE=Object.freeze(Object.defineProperty({__proto__:null,decode:os,encode:Tl,format:_4,parse:b4},Symbol.toStringTag,{value:"Module"})),r_=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,n_=/[\0-\x1F\x7F-\x9F]/,xE=/[\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]/,x4=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,i_=/[\$\+<->\^`\|~\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]/,a_=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,wE=Object.freeze(Object.defineProperty({__proto__:null,Any:r_,Cc:n_,Cf:xE,P:x4,S:i_,Z:a_},Symbol.toStringTag,{value:"Module"})),SE=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(e=>e.charCodeAt(0))),CE=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var F2;const AE=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]]),TE=(F2=String.fromCodePoint)!==null&&F2!==void 0?F2:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function DE(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=AE.get(e))!==null&&t!==void 0?t:e}var bt;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(bt||(bt={}));const EE=32;var mi;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(mi||(mi={}));function wh(e){return e>=bt.ZERO&&e<=bt.NINE}function kE(e){return e>=bt.UPPER_A&&e<=bt.UPPER_F||e>=bt.LOWER_A&&e<=bt.LOWER_F}function ME(e){return e>=bt.UPPER_A&&e<=bt.UPPER_Z||e>=bt.LOWER_A&&e<=bt.LOWER_Z||wh(e)}function IE(e){return e===bt.EQUALS||ME(e)}var yt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(yt||(yt={}));var gi;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(gi||(gi={}));class LE{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=yt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=gi.Strict}startEntity(t){this.decodeMode=t,this.state=yt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case yt.EntityStart:return t.charCodeAt(r)===bt.NUM?(this.state=yt.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=yt.NamedEntity,this.stateNamedEntity(t,r));case yt.NumericStart:return this.stateNumericStart(t,r);case yt.NumericDecimal:return this.stateNumericDecimal(t,r);case yt.NumericHex:return this.stateNumericHex(t,r);case yt.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|EE)===bt.LOWER_X?(this.state=yt.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=yt.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,i){if(r!==n){const a=n-r;this.result=this.result*Math.pow(i,a)+parseInt(t.substr(r,a),i),this.consumed+=a}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const i=t.charCodeAt(r);if(wh(i)||kE(i))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const i=t.charCodeAt(r);if(wh(i))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===bt.SEMI)this.consumed+=1;else if(this.decodeMode===gi.Strict)return 0;return this.emitCodePoint(DE(this.result),this.consumed),this.errors&&(t!==bt.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let i=n[this.treeIndex],a=(i&mi.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const o=t.charCodeAt(r);if(this.treeIndex=PE(n,i,this.treeIndex+Math.max(1,a),o),this.treeIndex<0)return this.result===0||this.decodeMode===gi.Attribute&&(a===0||IE(o))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],a=(i&mi.VALUE_LENGTH)>>14,a!==0){if(o===bt.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==gi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,i=(n[r]&mi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:i}=this;return this.emitCodePoint(r===1?i[t]&~mi.VALUE_LENGTH:i[t+1],n),r===3&&this.emitCodePoint(i[t+2],n),n}end(){var t;switch(this.state){case yt.NamedEntity:return this.result!==0&&(this.decodeMode!==gi.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(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case yt.EntityStart:return 0}}}function o_(e){let t="";const r=new LE(e,n=>t+=TE(n));return function(i,a){let o=0,s=0;for(;(s=i.indexOf("&",s))>=0;){t+=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=t+i.slice(o);return t="",u}}function PE(e,t,r,n){const i=(t&mi.BRANCH_LENGTH)>>7,a=t&mi.JUMP_TABLE;if(i===0)return a!==0&&n===a?r:-1;if(a){const u=n-a;return u<0||u>=i?-1:e[r+u]-1}let o=r,s=o+i-1;for(;o<=s;){const u=o+s>>>1,l=e[u];if(l<n)o=u+1;else if(l>n)s=u-1;else return e[u+i]}return-1}const RE=o_(SE);o_(CE);function s_(e,t=gi.Legacy){return RE(e,t)}function NE(e){return Object.prototype.toString.call(e)}function w4(e){return NE(e)==="[object String]"}const OE=Object.prototype.hasOwnProperty;function BE(e,t){return OE.call(e,t)}function Fc(e){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){e[n]=r[n]})}}),e}function u_(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function S4(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function R0(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const l_=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,FE=/&([a-z#][a-z0-9]{1,31});/gi,VE=new RegExp(l_.source+"|"+FE.source,"gi"),zE=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function $E(e,t){if(t.charCodeAt(0)===35&&zE.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return S4(n)?R0(n):e}const r=s_(e);return r!==e?r:e}function GE(e){return e.indexOf("\\")<0?e:e.replace(l_,"$1")}function ss(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(VE,function(t,r,n){return r||$E(t,n)})}const HE=/[&<>"]/,UE=/[&<>"]/g,WE={"&":"&","<":"<",">":">",'"':"""};function qE(e){return WE[e]}function Ii(e){return HE.test(e)?e.replace(UE,qE):e}const ZE=/[.?*+^$[\]\\(){}|-]/g;function YE(e){return e.replace(ZE,"\\$&")}function Xe(e){switch(e){case 9:case 32:return!0}return!1}function Yu(e){if(e>=8192&&e<=8202)return!0;switch(e){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 Xu(e){return x4.test(e)||i_.test(e)}function ju(e){switch(e){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 Vc(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const XE={mdurl:bE,ucmicro:wE},jE=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:u_,assign:Fc,escapeHtml:Ii,escapeRE:YE,fromCodePoint:R0,has:BE,isMdAsciiPunct:ju,isPunctChar:Xu,isSpace:Xe,isString:w4,isValidEntityCode:S4,isWhiteSpace:Yu,lib:XE,normalizeReference:Vc,unescapeAll:ss,unescapeMd:GE},Symbol.toStringTag,{value:"Module"}));function KE(e,t,r){let n,i,a,o;const s=e.posMax,u=e.pos;for(e.pos=t+1,n=1;e.pos<s;){if(a=e.src.charCodeAt(e.pos),a===93&&(n--,n===0)){i=!0;break}if(o=e.pos,e.md.inline.skipToken(e),a===91){if(o===e.pos-1)n++;else if(r)return e.pos=u,-1}}let l=-1;return i&&(l=e.pos),e.pos=u,l}function QE(e,t,r){let n,i=t;const a={ok:!1,pos:0,str:""};if(e.charCodeAt(i)===60){for(i++;i<r;){if(n=e.charCodeAt(i),n===10||n===60)return a;if(n===62)return a.pos=i+1,a.str=ss(e.slice(t+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=e.charCodeAt(i),!(n===32||n<32||n===127));){if(n===92&&i+1<r){if(e.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 t===i||o!==0||(a.str=ss(e.slice(t,i)),a.pos=i,a.ok=!0),a}function JE(e,t,r,n){let i,a=t;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=e.charCodeAt(a);if(s!==34&&s!==39&&s!==40)return o;t++,a++,s===40&&(s=41),o.marker=s}for(;a<r;){if(i=e.charCodeAt(a),i===o.marker)return o.pos=a+1,o.str+=ss(e.slice(t,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+=ss(e.slice(t,a)),o}const ek=Object.freeze(Object.defineProperty({__proto__:null,parseLinkDestination:QE,parseLinkLabel:KE,parseLinkTitle:JE},Symbol.toStringTag,{value:"Module"})),wn={};wn.code_inline=function(e,t,r,n,i){const a=e[t];return"<code"+i.renderAttrs(a)+">"+Ii(a.content)+"</code>"};wn.code_block=function(e,t,r,n,i){const a=e[t];return"<pre"+i.renderAttrs(a)+"><code>"+Ii(e[t].content)+`</code></pre>
|
|
3
|
+
`};wn.fence=function(e,t,r,n,i){const a=e[t],o=a.info?ss(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)||Ii(a.content):l=Ii(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
|
+
`};wn.image=function(e,t,r,n,i){const a=e[t];return a.attrs[a.attrIndex("alt")][1]=i.renderInlineAsText(a.children,r,n),i.renderToken(e,t,r)};wn.hardbreak=function(e,t,r){return r.xhtmlOut?`<br />
|
|
7
|
+
`:`<br>
|
|
8
|
+
`};wn.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?`<br />
|
|
9
|
+
`:`<br>
|
|
10
|
+
`:`
|
|
11
|
+
`};wn.text=function(e,t){return Ii(e[t].content)};wn.html_block=function(e,t){return e[t].content};wn.html_inline=function(e,t){return e[t].content};function _s(){this.rules=Fc({},wn)}_s.prototype.renderAttrs=function(t){let r,n,i;if(!t.attrs)return"";for(i="",r=0,n=t.attrs.length;r<n;r++)i+=" "+Ii(t.attrs[r][0])+'="'+Ii(t.attrs[r][1])+'"';return i};_s.prototype.renderToken=function(t,r,n){const i=t[r];let a="";if(i.hidden)return"";i.block&&i.nesting!==-1&&r&&t[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<t.length)){const s=t[r+1];(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===i.tag)&&(o=!1)}return a+=o?`>
|
|
13
|
+
`:">",a};_s.prototype.renderInline=function(e,t,r){let n="";const i=this.rules;for(let a=0,o=e.length;a<o;a++){const s=e[a].type;typeof i[s]<"u"?n+=i[s](e,a,t,r,this):n+=this.renderToken(e,a,t)}return n};_s.prototype.renderInlineAsText=function(e,t,r){let n="";for(let i=0,a=e.length;i<a;i++)switch(e[i].type){case"text":n+=e[i].content;break;case"image":n+=this.renderInlineAsText(e[i].children,t,r);break;case"html_inline":case"html_block":n+=e[i].content;break;case"softbreak":case"hardbreak":n+=`
|
|
14
|
+
`;break}return n};_s.prototype.render=function(e,t,r){let n="";const i=this.rules;for(let a=0,o=e.length;a<o;a++){const s=e[a].type;s==="inline"?n+=this.renderInline(e[a].children,t,r):typeof i[s]<"u"?n+=i[s](e,a,t,r,this):n+=this.renderToken(e,a,t,r)}return n};function er(){this.__rules__=[],this.__cache__=null}er.prototype.__find__=function(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};er.prototype.__compile__=function(){const e=this,t=[""];e.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){t.indexOf(n)<0&&t.push(n)})}),e.__cache__={},t.forEach(function(r){e.__cache__[r]=[],e.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||e.__cache__[r].push(n.fn))})})};er.prototype.at=function(e,t,r){const n=this.__find__(e),i=r||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=i.alt||[],this.__cache__=null};er.prototype.before=function(e,t,r,n){const i=this.__find__(e),a=n||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i,0,{name:t,enabled:!0,fn:r,alt:a.alt||[]}),this.__cache__=null};er.prototype.after=function(e,t,r,n){const i=this.__find__(e),a=n||{};if(i===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(i+1,0,{name:t,enabled:!0,fn:r,alt:a.alt||[]}),this.__cache__=null};er.prototype.push=function(e,t,r){const n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null};er.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);const r=[];return e.forEach(function(n){const i=this.__find__(n);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[i].enabled=!0,r.push(n)},this),this.__cache__=null,r};er.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(e,t)};er.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);const r=[];return e.forEach(function(n){const i=this.__find__(n);if(i<0){if(t)return;throw new Error("Rules manager: invalid rule name "+n)}this.__rules__[i].enabled=!1,r.push(n)},this),this.__cache__=null,r};er.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Pr(e,t,r){this.type=e,this.tag=t,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}Pr.prototype.attrIndex=function(t){if(!this.attrs)return-1;const r=this.attrs;for(let n=0,i=r.length;n<i;n++)if(r[n][0]===t)return n;return-1};Pr.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Pr.prototype.attrSet=function(t,r){const n=this.attrIndex(t),i=[t,r];n<0?this.attrPush(i):this.attrs[n]=i};Pr.prototype.attrGet=function(t){const r=this.attrIndex(t);let n=null;return r>=0&&(n=this.attrs[r][1]),n};Pr.prototype.attrJoin=function(t,r){const n=this.attrIndex(t);n<0?this.attrPush([t,r]):this.attrs[n][1]=this.attrs[n][1]+" "+r};const tk=Object.freeze(Object.defineProperty({__proto__:null,default:Pr},Symbol.toStringTag,{value:"Module"}));function c_(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}c_.prototype.Token=Pr;const rk=/\r\n?|\n/g,nk=/\0/g;function ik(e){let t;t=e.src.replace(rk,`
|
|
15
|
+
`),t=t.replace(nk,"�"),e.src=t}function ak(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function ok(e){const t=e.tokens;for(let r=0,n=t.length;r<n;r++){const i=t[r];i.type==="inline"&&e.md.inline.parse(i.content,e.md,e.env,i.children)}}function sk(e){return/^<a[>\s]/i.test(e)}function uk(e){return/^<\/a\s*>/i.test(e)}function lk(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,n=t.length;r<n;r++){if(t[r].type!=="inline"||!e.md.linkify.pretest(t[r].content))continue;let i=t[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"&&(sk(s.content)&&a>0&&a--,uk(s.content)&&a++),!(a>0)&&s.type==="text"&&e.md.linkify.test(s.content)){const u=s.content;let l=e.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=e.md.normalizeLink(p);if(!e.md.validateLink(v))continue;let g=l[d].text;l[d].schema?l[d].schema==="mailto:"&&!/^mailto:/i.test(g)?g=e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):g=e.md.normalizeLinkText(g):g=e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,"");const m=l[d].index;if(m>h){const x=new e.Token("text","",0);x.content=u.slice(h,m),x.level=f,c.push(x)}const y=new e.Token("link_open","a",1);y.attrs=[["href",v]],y.level=f++,y.markup="linkify",y.info="auto",c.push(y);const _=new e.Token("text","",0);_.content=g,_.level=f,c.push(_);const b=new e.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 e.Token("text","",0);d.content=u.slice(h),d.level=f,c.push(d)}t[r].children=i=u_(i,o,c)}}}}const f_=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,ck=/\((c|tm|r)\)/i,fk=/\((c|tm|r)\)/ig,hk={c:"©",r:"®",tm:"™"};function dk(e,t){return hk[t.toLowerCase()]}function pk(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];n.type==="text"&&!t&&(n.content=n.content.replace(fk,dk)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function vk(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];n.type==="text"&&!t&&f_.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"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function gk(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(ck.test(e.tokens[t].content)&&pk(e.tokens[t].children),f_.test(e.tokens[t].content)&&vk(e.tokens[t].children))}const mk=/['"]/,fp=/['"]/g,hp="’";function jl(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function yk(e,t){let r;const n=[];for(let i=0;i<e.length;i++){const a=e[i],o=e[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;){fp.lastIndex=u;const c=fp.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&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r--)if(e[r].content){p=e[r].content.charCodeAt(e[r].content.length-1);break}let v=32;if(u<l)v=s.charCodeAt(u);else for(r=i+1;r<e.length&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r++)if(e[r].content){v=e[r].content.charCodeAt(0);break}const g=ju(p)||Xu(String.fromCharCode(p)),m=ju(v)||Xu(String.fromCharCode(v)),y=Yu(p),_=Yu(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=jl(a.content,c.index,hp));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=t.md.options.quotes[2],w=t.md.options.quotes[3]):(x=t.md.options.quotes[0],w=t.md.options.quotes[1]),a.content=jl(a.content,c.index,w),e[b.token].content=jl(e[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=jl(a.content,c.index,hp))}}}function _k(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!mk.test(e.tokens[t].content)||yk(e.tokens[t].children,e)}function bk(e){let t,r;const n=e.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(t=0;t<s;t++)o[t].type==="text_special"&&(o[t].type="text");for(t=r=0;t<s;t++)o[t].type==="text"&&t+1<s&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==r&&(o[r]=o[t]),r++);t!==r&&(o.length=r)}}const V2=[["normalize",ik],["block",ak],["inline",ok],["linkify",lk],["replacements",gk],["smartquotes",_k],["text_join",bk]];function C4(){this.ruler=new er;for(let e=0;e<V2.length;e++)this.ruler.push(V2[e][0],V2[e][1])}C4.prototype.process=function(e){const t=this.ruler.getRules("");for(let r=0,n=t.length;r<n;r++)t[r](e)};C4.prototype.State=c_;function Sn(e,t,r,n){this.src=e,this.md=t,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}Sn.prototype.push=function(e,t,r){const n=new Pr(e,t,r);return n.block=!0,r<0&&this.level--,n.level=this.level,r>0&&this.level++,this.tokens.push(n),n};Sn.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Sn.prototype.skipEmptyLines=function(t){for(let r=this.lineMax;t<r&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Sn.prototype.skipSpaces=function(t){for(let r=this.src.length;t<r;t++){const n=this.src.charCodeAt(t);if(!Xe(n))break}return t};Sn.prototype.skipSpacesBack=function(t,r){if(t<=r)return t;for(;t>r;)if(!Xe(this.src.charCodeAt(--t)))return t+1;return t};Sn.prototype.skipChars=function(t,r){for(let n=this.src.length;t<n&&this.src.charCodeAt(t)===r;t++);return t};Sn.prototype.skipCharsBack=function(t,r,n){if(t<=n)return t;for(;t>n;)if(r!==this.src.charCodeAt(--t))return t+1;return t};Sn.prototype.getLines=function(t,r,n,i){if(t>=r)return"";const a=new Array(r-t);for(let o=0,s=t;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("")};Sn.prototype.Token=Pr;const xk=65536;function z2(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function dp(e){const t=[],r=e.length;let n=0,i=e.charCodeAt(n),a=!1,o=0,s="";for(;n<r;)i===124&&(a?(s+=e.substring(o,n-1),o=n):(t.push(s+e.substring(o,n)),s="",o=n+1)),a=i===92,n++,i=e.charCodeAt(n);return t.push(s+e.substring(o)),t}function wk(e,t,r,n){if(t+2>r)return!1;let i=t+1;if(e.sCount[i]<e.blkIndent||e.sCount[i]-e.blkIndent>=4)return!1;let a=e.bMarks[i]+e.tShift[i];if(a>=e.eMarks[i])return!1;const o=e.src.charCodeAt(a++);if(o!==124&&o!==45&&o!==58||a>=e.eMarks[i])return!1;const s=e.src.charCodeAt(a++);if(s!==124&&s!==45&&s!==58&&!Xe(s)||o===45&&Xe(s))return!1;for(;a<e.eMarks[i];){const b=e.src.charCodeAt(a);if(b!==124&&b!==45&&b!==58&&!Xe(b))return!1;a++}let u=z2(e,t+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=z2(e,t).trim(),u.indexOf("|")===-1||e.sCount[t]-e.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=e.parentType;e.parentType="table";const d=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),v=[t,0];p.map=v;const g=e.push("thead_open","thead",1);g.map=[t,t+1];const m=e.push("tr_open","tr",1);m.map=[t,t+1];for(let b=0;b<l.length;b++){const x=e.push("th_open","th",1);c[b]&&(x.attrs=[["style","text-align:"+c[b]]]);const w=e.push("inline","",0);w.content=l[b].trim(),w.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let y,_=0;for(i=t+2;i<r&&!(e.sCount[i]<e.blkIndent);i++){let b=!1;for(let w=0,S=d.length;w<S;w++)if(d[w](e,i,r,!0)){b=!0;break}if(b||(u=z2(e,i).trim(),!u)||e.sCount[i]-e.blkIndent>=4||(l=dp(u),l.length&&l[0]===""&&l.shift(),l.length&&l[l.length-1]===""&&l.pop(),_+=f-l.length,_>xk))break;if(i===t+2){const w=e.push("tbody_open","tbody",1);w.map=y=[t+2,0]}const x=e.push("tr_open","tr",1);x.map=[i,i+1];for(let w=0;w<f;w++){const S=e.push("td_open","td",1);c[w]&&(S.attrs=[["style","text-align:"+c[w]]]);const C=e.push("inline","",0);C.content=l[w]?l[w].trim():"",C.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return y&&(e.push("tbody_close","tbody",-1),y[1]=i),e.push("table_close","table",-1),v[1]=i,e.parentType=h,e.line=i,!0}function Sk(e,t,r){if(e.sCount[t]-e.blkIndent<4)return!1;let n=t+1,i=n;for(;n<r;){if(e.isEmpty(n)){n++;continue}if(e.sCount[n]-e.blkIndent>=4){n++,i=n;continue}break}e.line=i;const a=e.push("code_block","code",0);return a.content=e.getLines(t,i,4+e.blkIndent,!1)+`
|
|
16
|
+
`,a.map=[t,e.line],!0}function Ck(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||i+3>a)return!1;const o=e.src.charCodeAt(i);if(o!==126&&o!==96)return!1;let s=i;i=e.skipChars(i,o);let u=i-s;if(u<3)return!1;const l=e.src.slice(s,i),c=e.src.slice(i,a);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let f=t,h=!1;for(;f++,!(f>=r||(i=s=e.bMarks[f]+e.tShift[f],a=e.eMarks[f],i<a&&e.sCount[f]<e.blkIndent));)if(e.src.charCodeAt(i)===o&&!(e.sCount[f]-e.blkIndent>=4)&&(i=e.skipChars(i,o),!(i-s<u)&&(i=e.skipSpaces(i),!(i<a)))){h=!0;break}u=e.sCount[t],e.line=f+(h?1:0);const d=e.push("fence","code",0);return d.info=c,d.content=e.getLines(t+1,f,u,!0),d.markup=l,d.map=[t,e.line],!0}function Ak(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];const o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==62)return!1;if(n)return!0;const s=[],u=[],l=[],c=[],f=e.md.block.ruler.getRules("blockquote"),h=e.parentType;e.parentType="blockquote";let d=!1,p;for(p=t;p<r;p++){const _=e.sCount[p]<e.blkIndent;if(i=e.bMarks[p]+e.tShift[p],a=e.eMarks[p],i>=a)break;if(e.src.charCodeAt(i++)===62&&!_){let x=e.sCount[p]+1,w,S;e.src.charCodeAt(i)===32?(i++,x++,S=!1,w=!0):e.src.charCodeAt(i)===9?(w=!0,(e.bsCount[p]+x)%4===3?(i++,x++,S=!1):S=!0):w=!1;let C=x;for(s.push(e.bMarks[p]),e.bMarks[p]=i;i<a;){const A=e.src.charCodeAt(i);if(Xe(A))A===9?C+=4-(C+e.bsCount[p]+(S?1:0))%4:C++;else break;i++}d=i>=a,u.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(w?1:0),l.push(e.sCount[p]),e.sCount[p]=C-x,c.push(e.tShift[p]),e.tShift[p]=i-e.bMarks[p];continue}if(d)break;let b=!1;for(let x=0,w=f.length;x<w;x++)if(f[x](e,p,r,!0)){b=!0;break}if(b){e.lineMax=p,e.blkIndent!==0&&(s.push(e.bMarks[p]),u.push(e.bsCount[p]),c.push(e.tShift[p]),l.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}s.push(e.bMarks[p]),u.push(e.bsCount[p]),c.push(e.tShift[p]),l.push(e.sCount[p]),e.sCount[p]=-1}const v=e.blkIndent;e.blkIndent=0;const g=e.push("blockquote_open","blockquote",1);g.markup=">";const m=[t,0];g.map=m,e.md.block.tokenize(e,t,p);const y=e.push("blockquote_close","blockquote",-1);y.markup=">",e.lineMax=o,e.parentType=h,m[1]=e.line;for(let _=0;_<c.length;_++)e.bMarks[_+t]=s[_],e.tShift[_+t]=c[_],e.sCount[_+t]=l[_],e.bsCount[_+t]=u[_];return e.blkIndent=v,!0}function Tk(e,t,r,n){const i=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let a=e.bMarks[t]+e.tShift[t];const o=e.src.charCodeAt(a++);if(o!==42&&o!==45&&o!==95)return!1;let s=1;for(;a<i;){const l=e.src.charCodeAt(a++);if(l!==o&&!Xe(l))return!1;l===o&&s++}if(s<3)return!1;if(n)return!0;e.line=t+1;const u=e.push("hr","hr",0);return u.map=[t,e.line],u.markup=Array(s+1).join(String.fromCharCode(o)),!0}function pp(e,t){const r=e.eMarks[t];let n=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(n++);if(i!==42&&i!==45&&i!==43)return-1;if(n<r){const a=e.src.charCodeAt(n);if(!Xe(a))return-1}return n}function vp(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];let i=r;if(i+1>=n)return-1;let a=e.src.charCodeAt(i++);if(a<48||a>57)return-1;for(;;){if(i>=n)return-1;if(a=e.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=e.src.charCodeAt(i),!Xe(a))?-1:i}function Dk(e,t){const r=e.level+2;for(let n=t+2,i=e.tokens.length-2;n<i;n++)e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}function Ek(e,t,r,n){let i,a,o,s,u=t,l=!0;if(e.sCount[u]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[u]-e.listIndent>=4&&e.sCount[u]<e.blkIndent)return!1;let c=!1;n&&e.parentType==="paragraph"&&e.sCount[u]>=e.blkIndent&&(c=!0);let f,h,d;if((d=vp(e,u))>=0){if(f=!0,o=e.bMarks[u]+e.tShift[u],h=Number(e.src.slice(o,d-1)),c&&h!==1)return!1}else if((d=pp(e,u))>=0)f=!1;else return!1;if(c&&e.skipSpaces(d)>=e.eMarks[u])return!1;if(n)return!0;const p=e.src.charCodeAt(d-1),v=e.tokens.length;f?(s=e.push("ordered_list_open","ol",1),h!==1&&(s.attrs=[["start",h]])):s=e.push("bullet_list_open","ul",1);const g=[u,0];s.map=g,s.markup=String.fromCharCode(p);let m=!1;const y=e.md.block.ruler.getRules("list"),_=e.parentType;for(e.parentType="list";u<r;){a=d,i=e.eMarks[u];const b=e.sCount[u]+d-(e.bMarks[u]+e.tShift[u]);let x=b;for(;a<i;){const N=e.src.charCodeAt(a);if(N===9)x+=4-(x+e.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=e.push("list_item_open","li",1),s.markup=String.fromCharCode(p);const A=[u,0];s.map=A,f&&(s.info=e.src.slice(o,d-1));const T=e.tight,D=e.tShift[u],k=e.sCount[u],M=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=C,e.tight=!0,e.tShift[u]=w-e.bMarks[u],e.sCount[u]=x,w>=i&&e.isEmpty(u+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,u,r,!0),(!e.tight||m)&&(l=!1),m=e.line-u>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=M,e.tShift[u]=D,e.sCount[u]=k,e.tight=T,s=e.push("list_item_close","li",-1),s.markup=String.fromCharCode(p),u=e.line,A[1]=u,u>=r||e.sCount[u]<e.blkIndent||e.sCount[u]-e.blkIndent>=4)break;let L=!1;for(let N=0,I=y.length;N<I;N++)if(y[N](e,u,r,!0)){L=!0;break}if(L)break;if(f){if(d=vp(e,u),d<0)break;o=e.bMarks[u]+e.tShift[u]}else if(d=pp(e,u),d<0)break;if(p!==e.src.charCodeAt(d-1))break}return f?s=e.push("ordered_list_close","ol",-1):s=e.push("bullet_list_close","ul",-1),s.markup=String.fromCharCode(p),g[1]=u,e.line=u,e.parentType=_,l&&Dk(e,v),!0}function kk(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(i)!==91)return!1;function s(y){const _=e.lineMax;if(y>=_||e.isEmpty(y))return null;let b=!1;if(e.sCount[y]-e.blkIndent>3&&(b=!0),e.sCount[y]<0&&(b=!0),!b){const S=e.md.block.ruler.getRules("reference"),C=e.parentType;e.parentType="reference";let A=!1;for(let T=0,D=S.length;T<D;T++)if(S[T](e,y,_,!0)){A=!0;break}if(e.parentType=C,A)return null}const x=e.bMarks[y]+e.tShift[y],w=e.eMarks[y];return e.src.slice(x,w+1)}let u=e.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=e.md.helpers.parseLinkDestination(u,i,a);if(!c.ok)return!1;const f=e.md.normalizeLink(c.str);if(!e.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=e.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=e.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=Vc(u.slice(1,l));return m?(n||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[m]>"u"&&(e.env.references[m]={title:g,href:f}),e.line=o),!0):!1}const Mk=["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"],Ik="[a-zA-Z_:][a-zA-Z0-9:._-]*",Lk="[^\"'=<>`\\x00-\\x20]+",Pk="'[^']*'",Rk='"[^"]*"',Nk="(?:"+Lk+"|"+Pk+"|"+Rk+")",Ok="(?:\\s+"+Ik+"(?:\\s*=\\s*"+Nk+")?)",h_="<[A-Za-z][A-Za-z0-9\\-]*"+Ok+"*\\s*\\/?>",d_="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Bk="<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->",Fk="<[?][\\s\\S]*?[?]>",Vk="<![A-Za-z][^>]*>",zk="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",$k=new RegExp("^(?:"+h_+"|"+d_+"|"+Bk+"|"+Fk+"|"+Vk+"|"+zk+")"),Gk=new RegExp("^(?:"+h_+"|"+d_+")"),vo=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Mk.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Gk.source+"\\s*$"),/^$/,!1]];function Hk(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(i)!==60)return!1;let o=e.src.slice(i,a),s=0;for(;s<vo.length&&!vo[s][0].test(o);s++);if(s===vo.length)return!1;if(n)return vo[s][2];let u=t+1;if(!vo[s][1].test(o)){for(;u<r&&!(e.sCount[u]<e.blkIndent);u++)if(i=e.bMarks[u]+e.tShift[u],a=e.eMarks[u],o=e.src.slice(i,a),vo[s][1].test(o)){o.length!==0&&u++;break}}e.line=u;const l=e.push("html_block","",0);return l.map=[t,u],l.content=e.getLines(t,u,e.blkIndent,!0),!0}function Uk(e,t,r,n){let i=e.bMarks[t]+e.tShift[t],a=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(i);if(o!==35||i>=a)return!1;let s=1;for(o=e.src.charCodeAt(++i);o===35&&i<a&&s<=6;)s++,o=e.src.charCodeAt(++i);if(s>6||i<a&&!Xe(o))return!1;if(n)return!0;a=e.skipSpacesBack(a,i);const u=e.skipCharsBack(a,35,i);u>i&&Xe(e.src.charCodeAt(u-1))&&(a=u),e.line=t+1;const l=e.push("heading_open","h"+String(s),1);l.markup="########".slice(0,s),l.map=[t,e.line];const c=e.push("inline","",0);c.content=e.src.slice(i,a).trim(),c.map=[t,e.line],c.children=[];const f=e.push("heading_close","h"+String(s),-1);return f.markup="########".slice(0,s),!0}function Wk(e,t,r){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const i=e.parentType;e.parentType="paragraph";let a=0,o,s=t+1;for(;s<r&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3)continue;if(e.sCount[s]>=e.blkIndent){let d=e.bMarks[s]+e.tShift[s];const p=e.eMarks[s];if(d<p&&(o=e.src.charCodeAt(d),(o===45||o===61)&&(d=e.skipChars(d,o),d=e.skipSpaces(d),d>=p))){a=o===61?1:2;break}}if(e.sCount[s]<0)continue;let h=!1;for(let d=0,p=n.length;d<p;d++)if(n[d](e,s,r,!0)){h=!0;break}if(h)break}if(!a)return!1;const u=e.getLines(t,s,e.blkIndent,!1).trim();e.line=s+1;const l=e.push("heading_open","h"+String(a),1);l.markup=String.fromCharCode(o),l.map=[t,e.line];const c=e.push("inline","",0);c.content=u,c.map=[t,e.line-1],c.children=[];const f=e.push("heading_close","h"+String(a),-1);return f.markup=String.fromCharCode(o),e.parentType=i,!0}function qk(e,t,r){const n=e.md.block.ruler.getRules("paragraph"),i=e.parentType;let a=t+1;for(e.parentType="paragraph";a<r&&!e.isEmpty(a);a++){if(e.sCount[a]-e.blkIndent>3||e.sCount[a]<0)continue;let l=!1;for(let c=0,f=n.length;c<f;c++)if(n[c](e,a,r,!0)){l=!0;break}if(l)break}const o=e.getLines(t,a,e.blkIndent,!1).trim();e.line=a;const s=e.push("paragraph_open","p",1);s.map=[t,e.line];const u=e.push("inline","",0);return u.content=o,u.map=[t,e.line],u.children=[],e.push("paragraph_close","p",-1),e.parentType=i,!0}const Kl=[["table",wk,["paragraph","reference"]],["code",Sk],["fence",Ck,["paragraph","reference","blockquote","list"]],["blockquote",Ak,["paragraph","reference","blockquote","list"]],["hr",Tk,["paragraph","reference","blockquote","list"]],["list",Ek,["paragraph","reference","blockquote"]],["reference",kk],["html_block",Hk,["paragraph","reference","blockquote"]],["heading",Uk,["paragraph","reference","blockquote"]],["lheading",Wk],["paragraph",qk]];function zc(){this.ruler=new er;for(let e=0;e<Kl.length;e++)this.ruler.push(Kl[e][0],Kl[e][1],{alt:(Kl[e][2]||[]).slice()})}zc.prototype.tokenize=function(e,t,r){const n=this.ruler.getRules(""),i=n.length,a=e.md.options.maxNesting;let o=t,s=!1;for(;o<r&&(e.line=o=e.skipEmptyLines(o),!(o>=r||e.sCount[o]<e.blkIndent));){if(e.level>=a){e.line=r;break}const u=e.line;let l=!1;for(let c=0;c<i;c++)if(l=n[c](e,o,r,!1),l){if(u>=e.line)throw new Error("block rule didn't increment state.line");break}if(!l)throw new Error("none of the block rules matched");e.tight=!s,e.isEmpty(e.line-1)&&(s=!0),o=e.line,o<r&&e.isEmpty(o)&&(s=!0,o++,e.line=o)}};zc.prototype.parse=function(e,t,r,n){if(!e)return;const i=new this.State(e,t,r,n);this.tokenize(i,i.line,i.lineMax)};zc.prototype.State=Sn;function Dl(e,t,r,n){this.src=e,this.env=r,this.md=t,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}Dl.prototype.pushPending=function(){const e=new Pr("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};Dl.prototype.push=function(e,t,r){this.pending&&this.pushPending();const n=new Pr(e,t,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};Dl.prototype.scanDelims=function(e,t){const r=this.posMax,n=this.src.charCodeAt(e),i=e>0?this.src.charCodeAt(e-1):32;let a=e;for(;a<r&&this.src.charCodeAt(a)===n;)a++;const o=a-e,s=a<r?this.src.charCodeAt(a):32,u=ju(i)||Xu(String.fromCharCode(i)),l=ju(s)||Xu(String.fromCharCode(s)),c=Yu(i),f=Yu(s),h=!f&&(!l||c||u),d=!c&&(!u||f||l);return{can_open:h&&(t||!d||u),can_close:d&&(t||!h||l),length:o}};Dl.prototype.Token=Pr;function Zk(e){switch(e){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 Yk(e,t){let r=e.pos;for(;r<e.posMax&&!Zk(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}const Xk=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;function jk(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;const r=e.pos,n=e.posMax;if(r+3>n||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47)return!1;const i=e.pending.match(Xk);if(!i)return!1;const a=i[1],o=e.md.linkify.matchAtStart(e.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=e.md.normalizeLink(s);if(!e.md.validateLink(l))return!1;if(!t){e.pending=e.pending.slice(0,-a.length);const c=e.push("link_open","a",1);c.attrs=[["href",l]],c.markup="linkify",c.info="auto";const f=e.push("text","",0);f.content=e.md.normalizeLinkText(s);const h=e.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return e.pos+=s.length-a.length,!0}function Kk(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;const n=e.pending.length-1,i=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let a=n-1;for(;a>=1&&e.pending.charCodeAt(a-1)===32;)a--;e.pending=e.pending.slice(0,a),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r<i&&Xe(e.src.charCodeAt(r));)r++;return e.pos=r,!0}const A4=[];for(let e=0;e<256;e++)A4.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){A4[e.charCodeAt(0)]=1});function Qk(e,t){let r=e.pos;const n=e.posMax;if(e.src.charCodeAt(r)!==92||(r++,r>=n))return!1;let i=e.src.charCodeAt(r);if(i===10){for(t||e.push("hardbreak","br",0),r++;r<n&&(i=e.src.charCodeAt(r),!!Xe(i));)r++;return e.pos=r,!0}let a=e.src[r];if(i>=55296&&i<=56319&&r+1<n){const s=e.src.charCodeAt(r+1);s>=56320&&s<=57343&&(a+=e.src[r+1],r++)}const o="\\"+a;if(!t){const s=e.push("text_special","",0);i<256&&A4[i]!==0?s.content=a:s.content=o,s.markup=o,s.info="escape"}return e.pos=r+1,!0}function Jk(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const i=r;r++;const a=e.posMax;for(;r<a&&e.src.charCodeAt(r)===96;)r++;const o=e.src.slice(i,r),s=o.length;if(e.backticksScanned&&(e.backticks[s]||0)<=i)return t||(e.pending+=o),e.pos+=s,!0;let u=r,l;for(;(l=e.src.indexOf("`",u))!==-1;){for(u=l+1;u<a&&e.src.charCodeAt(u)===96;)u++;const c=u-l;if(c===s){if(!t){const f=e.push("code_inline","code",0);f.markup=o,f.content=e.src.slice(r,l).replace(/\n/g," ").replace(/^ (.+) $/,"$1")}return e.pos=u,!0}e.backticks[c]=l}return e.backticksScanned=!0,t||(e.pending+=o),e.pos+=s,!0}function eM(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t||n!==126)return!1;const i=e.scanDelims(e.pos,!0);let a=i.length;const o=String.fromCharCode(n);if(a<2)return!1;let s;a%2&&(s=e.push("text","",0),s.content=o,a--);for(let u=0;u<a;u+=2)s=e.push("text","",0),s.content=o+o,e.delimiters.push({marker:n,length:0,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close});return e.pos+=i.length,!0}function gp(e,t){let r;const n=[],i=t.length;for(let a=0;a<i;a++){const o=t[a];if(o.marker!==126||o.end===-1)continue;const s=t[o.end];r=e.tokens[o.token],r.type="s_open",r.tag="s",r.nesting=1,r.markup="~~",r.content="",r=e.tokens[s.token],r.type="s_close",r.tag="s",r.nesting=-1,r.markup="~~",r.content="",e.tokens[s.token-1].type==="text"&&e.tokens[s.token-1].content==="~"&&n.push(s.token-1)}for(;n.length;){const a=n.pop();let o=a+1;for(;o<e.tokens.length&&e.tokens[o].type==="s_close";)o++;o--,a!==o&&(r=e.tokens[o],e.tokens[o]=e.tokens[a],e.tokens[a]=r)}}function tM(e){const t=e.tokens_meta,r=e.tokens_meta.length;gp(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&gp(e,t[n].delimiters)}const p_={tokenize:eM,postProcess:tM};function rM(e,t){const r=e.pos,n=e.src.charCodeAt(r);if(t||n!==95&&n!==42)return!1;const i=e.scanDelims(e.pos,n===42);for(let a=0;a<i.length;a++){const o=e.push("text","",0);o.content=String.fromCharCode(n),e.delimiters.push({marker:n,length:i.length,token:e.tokens.length-1,end:-1,open:i.can_open,close:i.can_close})}return e.pos+=i.length,!0}function mp(e,t){const r=t.length;for(let n=r-1;n>=0;n--){const i=t[n];if(i.marker!==95&&i.marker!==42||i.end===-1)continue;const a=t[i.end],o=n>0&&t[n-1].end===i.end+1&&t[n-1].marker===i.marker&&t[n-1].token===i.token-1&&t[i.end+1].token===a.token+1,s=String.fromCharCode(i.marker),u=e.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=e.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&&(e.tokens[t[n-1].token].content="",e.tokens[t[i.end+1].token].content="",n--)}}function nM(e){const t=e.tokens_meta,r=e.tokens_meta.length;mp(e,e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&mp(e,t[n].delimiters)}const v_={tokenize:rM,postProcess:nM};function iM(e,t){let r,n,i,a,o="",s="",u=e.pos,l=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;const c=e.pos,f=e.posMax,h=e.pos+1,d=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(d<0)return!1;let p=d+1;if(p<f&&e.src.charCodeAt(p)===40){for(l=!1,p++;p<f&&(r=e.src.charCodeAt(p),!(!Xe(r)&&r!==10));p++);if(p>=f)return!1;if(u=p,i=e.md.helpers.parseLinkDestination(e.src,p,e.posMax),i.ok){for(o=e.md.normalizeLink(i.str),e.md.validateLink(o)?p=i.pos:o="",u=p;p<f&&(r=e.src.charCodeAt(p),!(!Xe(r)&&r!==10));p++);if(i=e.md.helpers.parseLinkTitle(e.src,p,e.posMax),p<f&&u!==p&&i.ok)for(s=i.str,p=i.pos;p<f&&(r=e.src.charCodeAt(p),!(!Xe(r)&&r!==10));p++);}(p>=f||e.src.charCodeAt(p)!==41)&&(l=!0),p++}if(l){if(typeof e.env.references>"u")return!1;if(p<f&&e.src.charCodeAt(p)===91?(u=p+1,p=e.md.helpers.parseLinkLabel(e,p),p>=0?n=e.src.slice(u,p++):p=d+1):p=d+1,n||(n=e.src.slice(h,d)),a=e.env.references[Vc(n)],!a)return e.pos=c,!1;o=a.href,s=a.title}if(!t){e.pos=h,e.posMax=d;const v=e.push("link_open","a",1),g=[["href",o]];v.attrs=g,s&&g.push(["title",s]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=p,e.posMax=f,!0}function aM(e,t){let r,n,i,a,o,s,u,l,c="";const f=e.pos,h=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const d=e.pos+2,p=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(p<0)return!1;if(a=p+1,a<h&&e.src.charCodeAt(a)===40){for(a++;a<h&&(r=e.src.charCodeAt(a),!(!Xe(r)&&r!==10));a++);if(a>=h)return!1;for(l=a,s=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),s.ok&&(c=e.md.normalizeLink(s.str),e.md.validateLink(c)?a=s.pos:c=""),l=a;a<h&&(r=e.src.charCodeAt(a),!(!Xe(r)&&r!==10));a++);if(s=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<h&&l!==a&&s.ok)for(u=s.str,a=s.pos;a<h&&(r=e.src.charCodeAt(a),!(!Xe(r)&&r!==10));a++);else u="";if(a>=h||e.src.charCodeAt(a)!==41)return e.pos=f,!1;a++}else{if(typeof e.env.references>"u")return!1;if(a<h&&e.src.charCodeAt(a)===91?(l=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?i=e.src.slice(l,a++):a=p+1):a=p+1,i||(i=e.src.slice(d,p)),o=e.env.references[Vc(i)],!o)return e.pos=f,!1;c=o.href,u=o.title}if(!t){n=e.src.slice(d,p);const v=[];e.md.inline.parse(n,e.md,e.env,v);const g=e.push("image","img",0),m=[["src",c],["alt",""]];g.attrs=m,g.children=v,g.content=n,u&&m.push(["title",u])}return e.pos=a,e.posMax=h,!0}const oM=/^([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])?)*)$/,sM=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function uM(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;const n=e.pos,i=e.posMax;for(;;){if(++r>=i)return!1;const o=e.src.charCodeAt(r);if(o===60)return!1;if(o===62)break}const a=e.src.slice(n+1,r);if(sM.test(a)){const o=e.md.normalizeLink(a);if(!e.md.validateLink(o))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const u=e.push("text","",0);u.content=e.md.normalizeLinkText(a);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=a.length+2,!0}if(oM.test(a)){const o=e.md.normalizeLink("mailto:"+a);if(!e.md.validateLink(o))return!1;if(!t){const s=e.push("link_open","a",1);s.attrs=[["href",o]],s.markup="autolink",s.info="auto";const u=e.push("text","",0);u.content=e.md.normalizeLinkText(a);const l=e.push("link_close","a",-1);l.markup="autolink",l.info="auto"}return e.pos+=a.length+2,!0}return!1}function lM(e){return/^<a[>\s]/i.test(e)}function cM(e){return/^<\/a\s*>/i.test(e)}function fM(e){const t=e|32;return t>=97&&t<=122}function hM(e,t){if(!e.md.options.html)return!1;const r=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=r)return!1;const i=e.src.charCodeAt(n+1);if(i!==33&&i!==63&&i!==47&&!fM(i))return!1;const a=e.src.slice(n).match($k);if(!a)return!1;if(!t){const o=e.push("html_inline","",0);o.content=a[0],lM(o.content)&&e.linkLevel++,cM(o.content)&&e.linkLevel--}return e.pos+=a[0].length,!0}const dM=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,pM=/^&([a-z][a-z0-9]{1,31});/i;function vM(e,t){const r=e.pos,n=e.posMax;if(e.src.charCodeAt(r)!==38||r+1>=n)return!1;if(e.src.charCodeAt(r+1)===35){const a=e.src.slice(r).match(dM);if(a){if(!t){const o=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),s=e.push("text_special","",0);s.content=S4(o)?R0(o):R0(65533),s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}else{const a=e.src.slice(r).match(pM);if(a){const o=s_(a[0]);if(o!==a[0]){if(!t){const s=e.push("text_special","",0);s.content=o,s.markup=a[0],s.info="entity"}return e.pos+=a[0].length,!0}}}return!1}function yp(e){const t={},r=e.length;if(!r)return;let n=0,i=-2;const a=[];for(let o=0;o<r;o++){const s=e[o];if(a.push(0),(e[n].marker!==s.marker||i!==s.token-1)&&(n=o),i=s.token,s.length=s.length||0,!s.close)continue;t.hasOwnProperty(s.marker)||(t[s.marker]=[-1,-1,-1,-1,-1,-1]);const u=t[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=e[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&&!e[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&&(t[s.marker][(s.open?3:0)+(s.length||0)%3]=c)}}function gM(e){const t=e.tokens_meta,r=e.tokens_meta.length;yp(e.delimiters);for(let n=0;n<r;n++)t[n]&&t[n].delimiters&&yp(t[n].delimiters)}function mM(e){let t,r,n=0;const i=e.tokens,a=e.tokens.length;for(t=r=0;t<a;t++)i[t].nesting<0&&n--,i[t].level=n,i[t].nesting>0&&n++,i[t].type==="text"&&t+1<a&&i[t+1].type==="text"?i[t+1].content=i[t].content+i[t+1].content:(t!==r&&(i[r]=i[t]),r++);t!==r&&(i.length=r)}const $2=[["text",Yk],["linkify",jk],["newline",Kk],["escape",Qk],["backticks",Jk],["strikethrough",p_.tokenize],["emphasis",v_.tokenize],["link",iM],["image",aM],["autolink",uM],["html_inline",hM],["entity",vM]],G2=[["balance_pairs",gM],["strikethrough",p_.postProcess],["emphasis",v_.postProcess],["fragments_join",mM]];function El(){this.ruler=new er;for(let e=0;e<$2.length;e++)this.ruler.push($2[e][0],$2[e][1]);this.ruler2=new er;for(let e=0;e<G2.length;e++)this.ruler2.push(G2[e][0],G2[e][1])}El.prototype.skipToken=function(e){const t=e.pos,r=this.ruler.getRules(""),n=r.length,i=e.md.options.maxNesting,a=e.cache;if(typeof a[t]<"u"){e.pos=a[t];return}let o=!1;if(e.level<i){for(let s=0;s<n;s++)if(e.level++,o=r[s](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,a[t]=e.pos};El.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,n=e.posMax,i=e.md.options.maxNesting;for(;e.pos<n;){const a=e.pos;let o=!1;if(e.level<i){for(let s=0;s<r;s++)if(o=t[s](e,!1),o){if(a>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};El.prototype.parse=function(e,t,r,n){const i=new this.State(e,t,r,n);this.tokenize(i);const a=this.ruler2.getRules(""),o=a.length;for(let s=0;s<o;s++)a[s](i)};El.prototype.State=Dl;function yM(e){const t={};e=e||{},t.src_Any=r_.source,t.src_Cc=n_.source,t.src_Z=a_.source,t.src_P=x4.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.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]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function Sh(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(n){e[n]=r[n]})}),e}function $c(e){return Object.prototype.toString.call(e)}function _M(e){return $c(e)==="[object String]"}function bM(e){return $c(e)==="[object Object]"}function xM(e){return $c(e)==="[object RegExp]"}function _p(e){return $c(e)==="[object Function]"}function wM(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const g_={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function SM(e){return Object.keys(e||{}).reduce(function(t,r){return t||g_.hasOwnProperty(r)},!1)}const CM={"http:":{validate:function(e,t,r){const n=e.slice(t);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(e,t,r){const n=e.slice(t);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)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);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}}},AM="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]",TM="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function DM(e){e.__index__=-1,e.__text_cache__=""}function EM(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function bp(){return function(e,t){t.normalize(e)}}function N0(e){const t=e.re=yM(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(AM),r.push(t.src_xn),t.src_tlds=r.join("|");function n(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const i=[];e.__compiled__={};function a(s,u){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+u)}Object.keys(e.__schemas__).forEach(function(s){const u=e.__schemas__[s];if(u===null)return;const l={validate:null,link:null};if(e.__compiled__[s]=l,bM(u)){xM(u.validate)?l.validate=EM(u.validate):_p(u.validate)?l.validate=u.validate:a(s,u),_p(u.normalize)?l.normalize=u.normalize:u.normalize?a(s,u):l.normalize=bp();return}if(_M(u)){i.push(s);return}a(s,u)}),i.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:bp()};const o=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(wM).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+o+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),DM(e)}function kM(e,t){const r=e.__index__,n=e.__last_index__,i=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=i,this.text=i,this.url=i}function Ch(e,t){const r=new kM(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function hr(e,t){if(!(this instanceof hr))return new hr(e,t);t||SM(e)&&(t=e,e={}),this.__opts__=Sh({},g_,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Sh({},CM,e),this.__compiled__={},this.__tlds__=TM,this.__tlds_replaced__=!1,this.re={},N0(this)}hr.prototype.add=function(t,r){return this.__schemas__[t]=r,N0(this),this};hr.prototype.set=function(t){return this.__opts__=Sh(this.__opts__,t),this};hr.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let r,n,i,a,o,s,u,l,c;if(this.re.schema_test.test(t)){for(u=this.re.schema_search,u.lastIndex=0;(r=u.exec(t))!==null;)if(a=this.testSchemaAt(t,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=t.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(n=t.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=t.indexOf("@"),c>=0&&(i=t.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};hr.prototype.pretest=function(t){return this.re.pretest.test(t)};hr.prototype.testSchemaAt=function(t,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(t,n,this):0};hr.prototype.match=function(t){const r=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(r.push(Ch(this,n)),n=this.__last_index__);let i=n?t.slice(n):t;for(;this.test(i);)r.push(Ch(this,n)),i=i.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};hr.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const r=this.re.schema_at_start.exec(t);if(!r)return null;const n=this.testSchemaAt(t,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,Ch(this,0)):null};hr.prototype.tlds=function(t,r){return t=Array.isArray(t)?t:[t],r?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,i,a){return n!==a[i-1]}).reverse(),N0(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,N0(this),this)};hr.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};hr.prototype.onCompile=function(){};const Qo=2147483647,cn=36,T4=1,Ku=26,MM=38,IM=700,m_=72,y_=128,__="-",LM=/^xn--/,PM=/[^\0-\x7F]/,RM=/[\x2E\u3002\uFF0E\uFF61]/g,NM={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},H2=cn-T4,fn=Math.floor,U2=String.fromCharCode;function hi(e){throw new RangeError(NM[e])}function OM(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}function b_(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(RM,".");const i=e.split("."),a=OM(i,t).join(".");return n+a}function x_(e){const t=[];let r=0;const n=e.length;for(;r<n;){const i=e.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){const a=e.charCodeAt(r++);(a&64512)==56320?t.push(((i&1023)<<10)+(a&1023)+65536):(t.push(i),r--)}else t.push(i)}return t}const BM=e=>String.fromCodePoint(...e),FM=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:cn},xp=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},w_=function(e,t,r){let n=0;for(e=r?fn(e/IM):e>>1,e+=fn(e/t);e>H2*Ku>>1;n+=cn)e=fn(e/H2);return fn(n+(H2+1)*e/(e+MM))},S_=function(e){const t=[],r=e.length;let n=0,i=y_,a=m_,o=e.lastIndexOf(__);o<0&&(o=0);for(let s=0;s<o;++s)e.charCodeAt(s)>=128&&hi("not-basic"),t.push(e.charCodeAt(s));for(let s=o>0?o+1:0;s<r;){const u=n;for(let c=1,f=cn;;f+=cn){s>=r&&hi("invalid-input");const h=FM(e.charCodeAt(s++));h>=cn&&hi("invalid-input"),h>fn((Qo-n)/c)&&hi("overflow"),n+=h*c;const d=f<=a?T4:f>=a+Ku?Ku:f-a;if(h<d)break;const p=cn-d;c>fn(Qo/p)&&hi("overflow"),c*=p}const l=t.length+1;a=w_(n-u,l,u==0),fn(n/l)>Qo-i&&hi("overflow"),i+=fn(n/l),n%=l,t.splice(n++,0,i)}return String.fromCodePoint(...t)},C_=function(e){const t=[];e=x_(e);const r=e.length;let n=y_,i=0,a=m_;for(const u of e)u<128&&t.push(U2(u));const o=t.length;let s=o;for(o&&t.push(__);s<r;){let u=Qo;for(const c of e)c>=n&&c<u&&(u=c);const l=s+1;u-n>fn((Qo-i)/l)&&hi("overflow"),i+=(u-n)*l,n=u;for(const c of e)if(c<n&&++i>Qo&&hi("overflow"),c===n){let f=i;for(let h=cn;;h+=cn){const d=h<=a?T4:h>=a+Ku?Ku:h-a;if(f<d)break;const p=f-d,v=cn-d;t.push(U2(xp(d+p%v,0))),f=fn(p/v)}t.push(U2(xp(f,0))),a=w_(i,l,s===o),i=0,++s}++i,++n}return t.join("")},VM=function(e){return b_(e,function(t){return LM.test(t)?S_(t.slice(4).toLowerCase()):t})},zM=function(e){return b_(e,function(t){return PM.test(t)?"xn--"+C_(t):t})},A_={version:"2.3.1",ucs2:{decode:x_,encode:BM},decode:S_,encode:C_,toASCII:zM,toUnicode:VM},$M={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},GM={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"]}}},HM={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"]}}},UM={default:$M,zero:GM,commonmark:HM},WM=/^(vbscript|javascript|file|data):/,qM=/^data:image\/(gif|png|jpeg|webp);/;function ZM(e){const t=e.trim().toLowerCase();return WM.test(t)?qM.test(t):!0}const T_=["http:","https:","mailto:"];function YM(e){const t=b4(e,!0);if(t.hostname&&(!t.protocol||T_.indexOf(t.protocol)>=0))try{t.hostname=A_.toASCII(t.hostname)}catch{}return Tl(_4(t))}function XM(e){const t=b4(e,!0);if(t.hostname&&(!t.protocol||T_.indexOf(t.protocol)>=0))try{t.hostname=A_.toUnicode(t.hostname)}catch{}return os(_4(t),os.defaultChars+"%")}function Ir(e,t){if(!(this instanceof Ir))return new Ir(e,t);t||w4(e)||(t=e||{},e="default"),this.inline=new El,this.block=new zc,this.core=new C4,this.renderer=new _s,this.linkify=new hr,this.validateLink=ZM,this.normalizeLink=YM,this.normalizeLinkText=XM,this.utils=jE,this.helpers=Fc({},ek),this.options={},this.configure(e),t&&this.set(t)}Ir.prototype.set=function(e){return Fc(this.options,e),this};Ir.prototype.configure=function(e){const t=this;if(w4(e)){const r=e;if(e=UM[r],!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};Ir.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){r=r.concat(this[i].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(i){return r.indexOf(i)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Ir.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(i){r=r.concat(this[i].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(i){return r.indexOf(i)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Ir.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};Ir.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens};Ir.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};Ir.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens};Ir.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function jM(e,t){return e[t].content}function KM(e,t,r,n,i){const a=e.utils.arrayReplaceAt,o=e.utils.lib.ucmicro,s=e.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=t[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 QM(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function JM(e){let t=e.defs;e.enabled.length&&(t=Object.keys(t).reduce((s,u)=>(e.enabled.indexOf(u)>=0&&(s[u]=t[u]),s),{}));const r=Object.keys(e.shortcuts).reduce((s,u)=>t[u]?Array.isArray(e.shortcuts[u])?(e.shortcuts[u].forEach(l=>{s[l]=u}),s):(s[e.shortcuts[u]]=u,s):s,{}),n=Object.keys(t);let i;n.length===0?i="^$":i=n.map(s=>`:${s}:`).concat(Object.keys(r)).sort().reverse().map(s=>QM(s)).join("|");const a=RegExp(i),o=RegExp(i,"g");return{defs:t,shortcuts:r,scanRE:a,replaceRE:o}}function eI(e,t){const r={defs:{},shortcuts:{},enabled:[]},n=JM(e.utils.assign({},r,t||{}));e.renderer.rules.emoji=jM,e.core.ruler.after("linkify","emoji",KM(e,n.defs,n.shortcuts,n.scanRE,n.replaceRE))}const tI={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:[";)",";-)"]},rI={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 nI(e,t){const r={defs:rI,shortcuts:tI,enabled:[]},n=e.utils.assign({},r,t||{});eI(e,n)}const iI=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function aI(e,t){const r=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==126||t||n+2>=r)return!1;e.pos=n+1;let i=!1;for(;e.pos<r;){if(e.src.charCodeAt(e.pos)===126){i=!0;break}e.md.inline.skipToken(e)}if(!i||n+1===e.pos)return e.pos=n,!1;const a=e.src.slice(n+1,e.pos);if(a.match(/(^|[^\\])(\\\\)*\s/))return e.pos=n,!1;e.posMax=e.pos,e.pos=n+1;const o=e.push("sub_open","sub",1);o.markup="~";const s=e.push("text","",0);s.content=a.replace(iI,"$1");const u=e.push("sub_close","sub",-1);return u.markup="~",e.pos=e.posMax+1,e.posMax=r,!0}function oI(e){e.inline.ruler.after("emphasis","sub",aI)}const sI=/\\([ \\!"#$%&'()*+,./:;<=>?@[\]^_`{|}~-])/g;function uI(e,t){const r=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==94||t||n+2>=r)return!1;e.pos=n+1;let i=!1;for(;e.pos<r;){if(e.src.charCodeAt(e.pos)===94){i=!0;break}e.md.inline.skipToken(e)}if(!i||n+1===e.pos)return e.pos=n,!1;const a=e.src.slice(n+1,e.pos);if(a.match(/(^|[^\\])(\\\\)*\s/))return e.pos=n,!1;e.posMax=e.pos,e.pos=n+1;const o=e.push("sup_open","sup",1);o.markup="^";const s=e.push("text","",0);s.content=a.replace(sI,"$1");const u=e.push("sup_close","sup",-1);return u.markup="^",e.pos=e.posMax+1,e.posMax=r,!0}function lI(e){e.inline.ruler.after("emphasis","sup",uI)}function cI(e,t,r,n){const i=Number(e[t].meta.id+1).toString();let a="";return typeof n.docId=="string"&&(a=`-${n.docId}-`),a+i}function fI(e,t){let r=Number(e[t].meta.id+1).toString();return e[t].meta.subId>0&&(r+=`:${e[t].meta.subId}`),`[${r}]`}function hI(e,t,r,n,i){const a=i.rules.footnote_anchor_name(e,t,r,n,i),o=i.rules.footnote_caption(e,t,r,n,i);let s=a;return e[t].meta.subId>0&&(s+=`:${e[t].meta.subId}`),`<sup class="footnote-ref"><a href="#fn${a}" id="fnref${s}">${o}</a></sup>`}function dI(e,t,r){return(r.xhtmlOut?`<hr class="footnotes-sep" />
|
|
17
|
+
`:`<hr class="footnotes-sep">
|
|
18
|
+
`)+`<section class="footnotes">
|
|
19
|
+
<ol class="footnotes-list">
|
|
20
|
+
`}function pI(){return`</ol>
|
|
21
|
+
</section>
|
|
22
|
+
`}function vI(e,t,r,n,i){let a=i.rules.footnote_anchor_name(e,t,r,n,i);return e[t].meta.subId>0&&(a+=`:${e[t].meta.subId}`),`<li id="fn${a}" class="footnote-item">`}function gI(){return`</li>
|
|
23
|
+
`}function mI(e,t,r,n,i){let a=i.rules.footnote_anchor_name(e,t,r,n,i);return e[t].meta.subId>0&&(a+=`:${e[t].meta.subId}`),` <a href="#fnref${a}" class="footnote-backref">↩︎</a>`}function yI(e){const t=e.helpers.parseLinkLabel,r=e.utils.isSpace;e.renderer.rules.footnote_ref=hI,e.renderer.rules.footnote_block_open=dI,e.renderer.rules.footnote_block_close=pI,e.renderer.rules.footnote_open=vI,e.renderer.rules.footnote_close=gI,e.renderer.rules.footnote_anchor=mI,e.renderer.rules.footnote_caption=fI,e.renderer.rules.footnote_anchor_name=cI;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=t(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))}e.block.ruler.before("reference","footnote_def",n,{alt:["paragraph","reference"]}),e.inline.ruler.after("image","footnote_inline",i),e.inline.ruler.after("footnote_inline","footnote_ref",a),e.core.ruler.after("inline","footnote_tail",o)}function _I(e){const t=e.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(t(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],L=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=L,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}e.block.ruler.before("paragraph","deflist",i,{alt:["paragraph","reference","blockquote"]})}function bI(e){const t=e.utils.escapeRE,r=e.utils.arrayReplaceAt,n=" \r\n$+<=>^`|~",i=e.utils.lib.ucmicro.P.source,a=e.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(t).join("|")+")"),f="(^|"+i+"|"+a+"|["+n.split("").map(t).join("")+"])("+Object.keys(u.env.abbreviations).map(function(d){return d.substr(1)}).sort(function(d,p){return p.length-d.length}).map(t).join("|")+")($|"+i+"|"+a+"|["+n.split("").map(t).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)}}}}e.block.ruler.before("reference","abbr_def",o,{alt:["paragraph","reference"]}),e.core.ruler.after("linkify","abbr_replace",s)}function xI(e){function t(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)}}e.inline.ruler.before("emphasis","ins",t),e.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 wI(e){function t(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}}}e.inline.ruler.before("emphasis","mark",t),e.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 nr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function SI(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var Ah=!0,D_=!1,E_=!1,CI=function(e,t){t&&(Ah=!t.enabled,D_=!!t.label,E_=!!t.labelAfter),e.core.ruler.after("inline","github-task-lists",function(r){for(var n=r.tokens,i=2;i<n.length;i++)TI(n,i)&&(DI(n[i],r.Token),wp(n[i-2],"class","task-list-item"+(Ah?"":" enabled")),wp(n[AI(n,i-2)],"class","contains-task-list"))})};function wp(e,t,r){var n=e.attrIndex(t),i=[t,r];n<0?e.attrPush(i):e.attrs[n]=i}function AI(e,t){for(var r=e[t].level-1,n=t-1;n>=0;n--)if(e[n].level===r)return n;return-1}function TI(e,t){return LI(e[t])&&PI(e[t-1])&&RI(e[t-2])&&NI(e[t])}function DI(e,t){if(e.children.unshift(EI(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),D_)if(E_){e.children.pop();var r="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);e.children[0].content=e.children[0].content.slice(0,-1)+' id="'+r+'">',e.children.push(II(e.content,r,t))}else e.children.unshift(kI(t)),e.children.push(MI(t))}function EI(e,t){var r=new t("html_inline","",0),n=Ah?' disabled="" ':"";return e.content.indexOf("[ ] ")===0?r.content='<input class="task-list-item-checkbox"'+n+'type="checkbox">':(e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0)&&(r.content='<input class="task-list-item-checkbox" checked=""'+n+'type="checkbox">'),r}function kI(e){var t=new e("html_inline","",0);return t.content="<label>",t}function MI(e){var t=new e("html_inline","",0);return t.content="</label>",t}function II(e,t,r){var n=new r("html_inline","",0);return n.content='<label class="task-list-item-label" for="'+t+'">'+e+"</label>",n.attrs=[{for:t}],n}function LI(e){return e.type==="inline"}function PI(e){return e.type==="paragraph_open"}function RI(e){return e.type==="list_item_open"}function NI(e){return e.content.indexOf("[ ] ")===0||e.content.indexOf("[x] ")===0||e.content.indexOf("[X] ")===0}const OI=nr(CI);var k_={},M_={exports:{}};(function(e){var t=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],L=Object.getOwnPropertyDescriptor(x,M);L&&!L.enumerable&&!g||(S[M]=b(x[M],w-1),L.enumerable||Object.defineProperty(S,M,{enumerable:!1}))}if(g)for(var N=Object.getOwnPropertyNames(x),T=0;T<N.length;T++){var I=N[T],L=Object.getOwnPropertyDescriptor(x,I);L&&L.enumerable||(S[I]=b(x[I],w-1),Object.defineProperty(S,I,{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}();e.exports&&(e.exports=t)})(M_);var BI=M_.exports,I_={exports:{}},L_={};L_.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 P_={};P_.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 R_={};R_.Z=[32,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];var N_={};N_.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 O_={exports:{}};(function(e){(function(t){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 V=p[R];return V||(V=P(R,B),V.feature&&++v[R>>8&255]>n&&(p[R]=V)),V}function y(P,R,B){var V=R&65280,z=d.udata[V]||{},U=z[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 V;if(R<a||a+u<=R&&R<i||i+h<R)return P(R,B);if(a<=R&&R<a+u){var z={},U=(R-a)*l;for(V=0;V<l;++V)z[o+V]=i+c*(V+U);return new d(R,[,,z])}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]={},V=1;V<c;++V)xe[2][s+V]=R+V;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,V){return R(P,B,V)}},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,V){var z=V.getDecomp();if(z&&!(B&&V.isCompatibility())){for(var U=[],q=0;q<z.length;++q){var K=P(B,d.fromCharCode(z[q]));U=U.concat(K)}return U}else return[V]}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 V=this.resBuf[B-1],z=V.getCanonicalClass();if(z<=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),V=P.getCanonicalClass();B&&(this.lastClass<V||this.lastClass===0)?this.procBuf[0]=B:(V===0&&(this.resBuf=this.procBuf,this.procBuf=[]),this.lastClass=V,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),V="",z;z=B.next();)V+=z.toString();return V};function M(P){return k("NFD",P)}function L(P){return k("NFKD",P)}function N(P){return k("NFC",P)}function I(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:I,nfkd:L};e.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)})()})(O_);var FI=O_.exports;(function(){var e=L_.L,t=P_.N,r=R_.Z,n=N_.M,i=FI,a=function(o){if(~e.indexOf(o))return"L";if(~t.indexOf(o))return"N";if(~r.indexOf(o))return"Z";if(~n.indexOf(o))return"M"};I_.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 VI=I_.exports,zI=VI;const $I=SI(tk);Object.defineProperty(k_,"__esModule",{value:!0});var GI=k_.default=nL,HI=D4(BI),UI=D4(zI),Da=D4($I);function D4(e){return e&&e.__esModule?e:{default:e}}function f0(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?f0=function(r){return typeof r}:f0=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},f0(e)}function Sp(e){return ZI(e)||qI(e)||WI()}function WI(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function qI(e){if(Symbol.iterator in Object(e)||Object.prototype.toString.call(e)==="[object Arguments]")return Array.from(e)}function ZI(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}function Jo(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},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){YI(e,i,r[i])})}return e}function YI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var XI="@[toc]",jI=/^@\[toc\]/im,Ql=function(){},Jl={},Vs="",KI=function(t,r){return new Array(r+1).join(t)},Cp=function(t,r,n){var i=n(t);return r[i]||(r[i]=0),r[i]++,i+(r[i]>1?"-".concat(r[i]):"")},QI=function(){return Jo({},new Da.default("text","",0),{content:" "})},JI=function(t){return t.anchorLinkSymbolClassName?[Jo({},new Da.default("span_open","span",1),{attrs:[["class",t.anchorLinkSymbolClassName]]}),Jo({},new Da.default("text","",0),{content:t.anchorLinkSymbol}),new Da.default("span_close","span",-1)]:[Jo({},new Da.default("text","",0),{content:t.anchorLinkSymbol})]},eL=function(t,r,n,i){var a=[];r.anchorClassName!=null&&a.push(["class",r.anchorClassName]),a.push(["href","#".concat(t)]);var o=Jo({},new Da.default("link_open","a",1),{attrs:a}),s=new Da.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(Sp(JI(r)),[s]),c={false:"push",true:"unshift"};r.anchorLinkSpace&&l[c[!r.anchorLinkBefore]](QI()),(u=n[i+1].children)[c[r.anchorLinkBefore]].apply(u,Sp(l))}},tL=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return t.map(function(n){var i=" ",a="".concat(KI(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+=e(n.nodes,r+1)),a}).join("")},rL=function(t,r){var n={nodes:[]};return t.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:[]})}}),tL(n.nodes)};function nL(e,t){t=Jo({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},t),Ql=(0,HI.default)(e),Jl={},e.core.ruler.push("init_toc",function(n){var i=n.tokens;t.resetIds&&(Jl={});for(var a=[],o="",s=[],u=typeof t.slugify=="function"&&t.slugify||UI.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=Cp(h,Jl,u)):(h=c.content,c._tocAnchor=Cp(c.children.reduce(function(p,v){return p+v.content},""),Jl,u)),t.anchorLinkPrefix&&(c._tocAnchor=t.anchorLinkPrefix+c._tocAnchor),a.push({content:h,anchor:c._tocAnchor,level:+f.tag.substr(1,1)})}}if(o=rL(a,t),s=Ql.parse(o,{}),f0(s[0])==="object"&&s[0].type==="bullet_list_open"){var d=s[0].attrs=s[0].attrs||[];t.tocClassName!=null&&d.push(["class",t.tocClassName])}Vs=Ql.renderer.render(s,Ql.options),typeof n.env.tocCallback=="function"?n.env.tocCallback.call(void 0,o,a,Vs):typeof t.tocCallback=="function"?t.tocCallback.call(void 0,o,a,Vs):typeof e.options.tocCallback=="function"&&e.options.tocCallback.call(void 0,o,a,Vs)}),e.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=jI.exec(n.src),o=o?o.filter(function(s){return s}):[],o.length<1)?!1:(a=n.push("toc_open","toc",1),a.markup=XI,a=n.push("toc_body","",0),a=n.push("toc_close","toc",-1),n.pos=n.pos+6,!0)});var r=e.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)};e.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]),t.anchorLink&&eL.apply(void 0,[l,t].concat(i)),r.apply(this,i)},e.renderer.rules.toc_open=function(){return""},e.renderer.rules.toc_close=function(){return""},e.renderer.rules.toc_body=function(){return""},t.toc&&(e.renderer.rules.toc_body=function(){return Vs})}function iL(e){if(!e.linkify)return;const t=e.linkify,r=t.match;t.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 B_(e={}){const{html:t=!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}=e,S=new Ir().use(oI).use(lI).use(yI).use(_I).use(bI).use(xI).use(wI).use(OI,{enabled:l});if(a&&S.use(nI,{shortcuts:{}}),S.set({html:t,xhtmlOut:r,breaks:n,linkify:i,typographer:o,langPrefix:s,quotes:u}),iL(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(L=>{let N=A[T].attrIndex(L),I=f[L];N<0?A[T].attrPush([L,I]):A[T].attrs[N][1]=I}),C(A,T,D,k,M))}return h&&S.use(GI,{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 F_(e,t){const r=new RegExp("&(?!#?\\w+;)","g");return e&&e.replace?e.replace(t?new RegExp("&","g"):r,"&").replace(new RegExp("<","g"),"<").replace(new RegExp(">","g"),">").replace(new RegExp('"',"g"),""").replace(new RegExp("'","g"),"'"):e}function V_(e){return e&&e.replace?e.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"),"\\\\"):e}function z_(e){const t=[],r=new RegExp("```[\\s\\S]*?```","g");return{modifiedMdString:e.replace(r,i=>(t.push(i),"{{CODE_BLOCK}}")),codeBlocks:t}}function $_(e,t){const r=new RegExp("\\{\\{CODE_BLOCK\\}\\}","g");let n=0;return e.replace(r,()=>t[n++])}function G_(e){const t=new RegExp("<video[\\s\\S]*?<\\/video>","gi"),r=[];return{replacedString:e.replace(t,i=>{const a=i.replace(/>\s+</g,"><").replace(/\n\s*/g," ").trim();return r.push(a),"HTML@@Video"}),videoTags:r}}function H_(e,t){let r=e;return t.forEach(n=>{r=r.replace("HTML@@Video",n)}),r}const aL={"$@$":"DEOLLERQ1","$@":"DEOLLERQ2"};Object.fromEntries(Object.entries(aL).map(([e,t])=>[t,e]));let zs;const Ap=()=>{if(typeof zs=="boolean")return zs;try{new RegExp("(?<!x)y"),zs=!0}catch{zs=!1}return zs},oL=e=>(console.log(9999,Ap()),Ap()?e.replace(new RegExp("(?<!!)\\[\\]\\((https?:\\/\\/[^)]+)\\)","g"),function(r,n){return"["+n+"]("+n+")"}):e.replace(new RegExp("(\\!?)(\\[\\]\\((https?:\\/\\/[^)]+)\\))","g"),function(t,r,n,i){return r==="!"?t:"["+i+"]("+i+")"}));var Th={exports:{}},tt={},Dh={exports:{}},ro={};function U_(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function sL(e,t,r){}function uL(e,t,r){}var lL=/javascript\s*\:/img;function cL(e,t){return lL.test(t)?"":t}ro.whiteList=U_();ro.getDefaultWhiteList=U_;ro.onAttr=sL;ro.onIgnoreAttr=uL;ro.safeAttrValue=cL;var fL={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,i;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},$s=fL;function hL(e,t){e=$s.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,n=!1,i=0,a=0,o="";function s(){if(!n){var c=$s.trim(e.slice(i,a)),f=c.indexOf(":");if(f!==-1){var h=$s.trim(c.slice(0,f)),d=$s.trim(c.slice(f+1));if(h){var p=t(i,o.length,h,d,c);p&&(o+=p+"; ")}}}i=a+1}for(;a<r;a++){var u=e[a];if(u==="/"&&e[a+1]==="*"){var l=e.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===`
|
|
27
|
+
`&&s()}return $s.trim(o)}var dL=hL,e1=ro,pL=dL;function Tp(e){return e==null}function vL(e){var t={};for(var r in e)t[r]=e[r];return t}function W_(e){e=vL(e||{}),e.whiteList=e.whiteList||e1.whiteList,e.onAttr=e.onAttr||e1.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||e1.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||e1.safeAttrValue,this.options=e}W_.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,n=r.whiteList,i=r.onAttr,a=r.onIgnoreAttr,o=r.safeAttrValue,s=pL(e,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 Tp(g)?c+":"+f:g}else{var g=a(c,f,v);if(!Tp(g))return g}}});return s};var gL=W_;(function(e,t){var r=ro,n=gL;function i(o,s){var u=new n(s);return u.process(o)}t=e.exports=i,t.FilterCSS=n;for(var a in r)t[a]=r[a];typeof window<"u"&&(window.filterCSS=e.exports)})(Dh,Dh.exports);var E4=Dh.exports,k4={indexOf:function(e,t){var r,n;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var n,i;if(Array.prototype.forEach)return e.forEach(t,r);for(n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,r=t.exec(e);return r?r.index:-1}},mL=E4.FilterCSS,yL=E4.getDefaultWhiteList,O0=k4;function q_(){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 Z_=new mL;function _L(e,t,r){}function bL(e,t,r){}function xL(e,t,r){}function wL(e,t,r){}function Y_(e){return e.replace(CL,"<").replace(AL,">")}function SL(e,t,r,n){if(r=eb(r),t==="href"||t==="src"){if(r=O0.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(t==="background"){if(t1.lastIndex=0,t1.test(r))return""}else if(t==="style"){if(Dp.lastIndex=0,Dp.test(r)||(Ep.lastIndex=0,Ep.test(r)&&(t1.lastIndex=0,t1.test(r))))return"";n!==!1&&(n=n||Z_,r=n.process(r))}return r=tb(r),r}var CL=/</g,AL=/>/g,TL=/"/g,DL=/"/g,EL=/&#([a-zA-Z0-9]*);?/gim,kL=/:?/gim,ML=/&newline;?/gim,t1=/((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,Dp=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Ep=/u\s*r\s*l\s*\(.*/gi;function X_(e){return e.replace(TL,""")}function j_(e){return e.replace(DL,'"')}function K_(e){return e.replace(EL,function(r,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function Q_(e){return e.replace(kL,":").replace(ML," ")}function J_(e){for(var t="",r=0,n=e.length;r<n;r++)t+=e.charCodeAt(r)<32?" ":e.charAt(r);return O0.trim(t)}function eb(e){return e=j_(e),e=K_(e),e=Q_(e),e=J_(e),e}function tb(e){return e=X_(e),e=Y_(e),e}function IL(){return""}function LL(e,t){typeof t!="function"&&(t=function(){});var r=!Array.isArray(e);function n(o){return r?!0:O0.indexOf(e,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 t(o,s,u)},remove:function(o){var s="",u=0;return O0.forEach(i,function(l){s+=o.slice(u,l[0]),u=l[1]}),s+=o.slice(u),s}}}function PL(e){for(var t="",r=0;r<e.length;){var n=e.indexOf("<!--",r);if(n===-1){t+=e.slice(r);break}t+=e.slice(r,n);var i=e.indexOf("-->",n);if(i===-1)break;r=i+3}return t}function RL(e){var t=e.split("");return t=t.filter(function(r){var n=r.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),t.join("")}tt.whiteList=q_();tt.getDefaultWhiteList=q_;tt.onTag=_L;tt.onIgnoreTag=bL;tt.onTagAttr=xL;tt.onIgnoreTagAttr=wL;tt.safeAttrValue=SL;tt.escapeHtml=Y_;tt.escapeQuote=X_;tt.unescapeQuote=j_;tt.escapeHtmlEntities=K_;tt.escapeDangerHtml5Entities=Q_;tt.clearNonPrintableCharacter=J_;tt.friendlyAttrValue=eb;tt.escapeAttrValue=tb;tt.onIgnoreTagStripAll=IL;tt.StripTagBody=LL;tt.stripCommentTag=PL;tt.stripBlankChar=RL;tt.attributeWrapSign='"';tt.cssFilter=Z_;tt.getDefaultCSSWhiteList=yL;var Gc={},di=k4;function NL(e){var t=di.spaceIndex(e),r;return t===-1?r=e.slice(1,-1):r=e.slice(1,t+1),r=di.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function OL(e){return e.slice(0,2)==="</"}function BL(e,t,r){var n="",i=0,a=!1,o=!1,s=0,u=e.length,l="",c="";e:for(s=0;s<u;s++){var f=e.charAt(s);if(a===!1){if(f==="<"){a=s;continue}}else if(o===!1){if(f==="<"){n+=r(e.slice(i,s)),a=s,i=s;continue}if(f===">"||s===u-1){n+=r(e.slice(i,a)),c=e.slice(a,s+1),l=NL(c),n+=t(a,n.length,l,c,OL(c)),i=s+1,a=!1;continue}if(f==='"'||f==="'")for(var h=1,d=e.charAt(s-h);d.trim()===""||d==="=";){if(d==="="){o=f;continue e}d=e.charAt(s-++h)}}else if(f===o){o=!1;continue}}return i<u&&(n+=r(e.substr(i))),n}var FL=/[^a-zA-Z0-9\\_:.-]/gim;function VL(e,t){var r=0,n=0,i=[],a=!1,o=e.length;function s(h,d){if(h=di.trim(h),h=h.replace(FL,"").toLowerCase(),!(h.length<1)){var p=t(h,d||"");p&&i.push(p)}}for(var u=0;u<o;u++){var l=e.charAt(u),c,f;if(a===!1&&l==="="){a=e.slice(r,u),r=u+1,n=e.charAt(r)==='"'||e.charAt(r)==="'"?r:$L(e,u+1);continue}if(a!==!1&&u===n){if(f=e.indexOf(l,u+1),f===-1)break;c=di.trim(e.slice(n+1,f)),s(a,c),a=!1,u=f,r=u+1;continue}if(/\s|\n|\t/.test(l))if(e=e.replace(/\s|\n|\t/g," "),a===!1)if(f=zL(e,u),f===-1){c=di.trim(e.slice(r,u)),s(c),a=!1,r=u+1;continue}else{u=f-1;continue}else if(f=GL(e,u-1),f===-1){c=di.trim(e.slice(r,u)),c=kp(c),s(a,c),a=!1,r=u+1;continue}else continue}return r<e.length&&(a===!1?s(e.slice(r)):s(a,kp(di.trim(e.slice(r))))),di.trim(i.join(" "))}function zL(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="="?t:-1}}function $L(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="'"||r==='"'?t:-1}}function GL(e,t){for(;t>0;t--){var r=e[t];if(r!==" ")return r==="="?t:-1}}function HL(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function kp(e){return HL(e)?e.substr(1,e.length-2):e}Gc.parseTag=BL;Gc.parseAttr=VL;var UL=E4.FilterCSS,_r=tt,rb=Gc,WL=rb.parseTag,qL=rb.parseAttr,h0=k4;function r1(e){return e==null}function ZL(e){var t=h0.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=h0.trim(e.slice(t+1,-1));var r=e[e.length-1]==="/";return r&&(e=h0.trim(e.slice(0,-1))),{html:e,closing:r}}function YL(e){var t={};for(var r in e)t[r]=e[r];return t}function XL(e){var t={};for(var r in e)Array.isArray(e[r])?t[r.toLowerCase()]=e[r].map(function(n){return n.toLowerCase()}):t[r.toLowerCase()]=e[r];return t}function nb(e){e=YL(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=_r.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=XL(e.whiteList||e.allowList):e.whiteList=_r.whiteList,this.attributeWrapSign=e.singleQuotedAttributeValue===!0?"'":_r.attributeWrapSign,e.onTag=e.onTag||_r.onTag,e.onTagAttr=e.onTagAttr||_r.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||_r.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||_r.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||_r.safeAttrValue,e.escapeHtml=e.escapeHtml||_r.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new UL(e.css))}nb.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,n=r.whiteList,i=r.onTag,a=r.onIgnoreTag,o=r.onTagAttr,s=r.onIgnoreTagAttr,u=r.safeAttrValue,l=r.escapeHtml,c=t.attributeWrapSign,f=t.cssFilter;r.stripBlankChar&&(e=_r.stripBlankChar(e)),r.allowCommentTag||(e=_r.stripCommentTag(e));var h=!1;r.stripIgnoreTagBody&&(h=_r.StripTagBody(r.stripIgnoreTagBody,a),a=h.onIgnoreTag);var d=WL(e,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(!r1(b))return b;if(_.isWhite){if(_.isClosing)return"</"+g+">";var x=ZL(m),w=n[g],S=qL(x.html,function(C,A){var T=h0.indexOf(w,C)!==-1,D=o(g,C,A,T);return r1(D)?T?(A=u(g,C,A,f),A?C+"="+c+A+c:C):(D=s(g,C,A,T),r1(D)?void 0:D):D});return m="<"+g,S&&(m+=" "+S),x.closing&&(m+=" /"),m+=">",m}else return b=a(g,m,_),r1(b)?l(m):b},l);return h&&(d=h.remove(d)),d};var jL=nb;(function(e,t){var r=tt,n=Gc,i=jL;function a(s,u){var l=new i(u);return l.process(s)}t=e.exports=a,t.filterXSS=a,t.FilterXSS=i,function(){for(var s in r)t[s]=r[s];for(var u in n)t[u]=n[u]}(),typeof window<"u"&&(window.filterXSS=e.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=e.exports)})(Th,Th.exports);var $n=Th.exports;const Hc=$n.getDefaultWhiteList();Hc.a=["href","title","target"];Hc.source=["src","type"];console.log("myWhiteList",Hc);const ib={css:!1,whiteList:Hc,onTag:function(e,t,r){return e.startsWith("mjx-")||e.startsWith("mjx")||e.startsWith("mj")?t:null},onTagAttr(e,t,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(`阻止包含危险字符的属性: ${e} ${t}="${r}"`),"";if(e.indexOf("_")!==-1)return`${t}="${r}"`;if(["div","span","strong","p","mark"].includes(e)&&!new RegExp("^on").test(t))return`${t}="${r}"`;if(["class","style"].includes(t))return`${t}="${r}"`;if(e==="a"&&["rel","data-link-url"].includes(t))return`${t}="${r}"`;if(e==="a"&&t==="href"){const f=["qdweb","qdim","mqqwpa"],h=r.split(":")[0];if(f.includes(h))return`${t}="${$n.escapeAttrValue(r)}"`}if(e==="video"&&["rel","webkit-playsinline","x5-playsinline","title","size","format"].includes(t))return`${t}="${r}"`;if(e==="audio"&&["controls","controlslist","id","speed","title","size","format","data-duration-ms"].includes(t))return`${t}="${r}"`;if(e==="img"&&["alt","data-value"].includes(t))return`${t}="${r}"`;if((e.startsWith("mjx-")||e.startsWith("mjx")||e.startsWith("mj")||e.startsWith("mo"))&&(t==="class"||t==="style"))return`${t}="${$n.escapeAttrValue(r)}"`}},M4=$n.getDefaultWhiteList();M4.a=["href","title","target"];M4.source=["src","type"];const KL={css:!1,whiteList:M4,onTag:function(e,t,r){return e.startsWith("mjx-")||e.startsWith("mjx")||e.startsWith("mj")?t:null},onTagAttr(e,t,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(`阻止包含危险字符的属性: ${e} ${t}="${r}"`),"";if(e.indexOf("_")!==-1)return`${t}="${r}"`;if(["div","span","strong","p","mark"].includes(e)&&!new RegExp("^on").test(t))return`${t}="${r}"`;if(["class","style"].includes(t))return`${t}="${r}"`;if(e==="a"&&["rel","data-link-url"].includes(t))return`${t}="${r}"`;if(e==="a"&&t==="href"){const f=["qdweb","qdim","mqqwpa"],h=r.split(":")[0];if(f.includes(h))return`${t}="${$n.escapeAttrValue(r)}"`}if(e==="video"&&["rel","webkit-playsinline","x5-playsinline","title","size","format"].includes(t))return`${t}="${r}"`;if(e==="audio"&&["controls","controlslist","id","speed","title","size","format","data-duration-ms"].includes(t))return`${t}="${r}"`;if(e==="img"&&["alt","data-value"].includes(t))return`${t}="${r}"`;if((e.startsWith("mjx-")||e.startsWith("mjx")||e.startsWith("mj")||e.startsWith("mo"))&&(t==="class"||t==="style"))return`${t}="${$n.escapeAttrValue(r)}"`}},QL={success:"success",failed:"failed",processing:"processing",stop:"stop"};window.isMathJaxLoaded=!1;function JL({loadType:e,url:t}){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 ab(e={},t){if(window.isMathJaxLoaded)t&&t();else if(window.MathJax){const r=window.MathJax.startup.pageReady;window.MathJax.startup.pageReady=()=>{console.log("MathJax callback"),t&&t(),window.isMathJaxLoaded=!0,r()}}else JL({}),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"),t&&t(),window.isMathJaxLoaded=!0}},svg:{fontCache:"global"}}}function ob(e){return e&&!Array.isArray(e)&&(e=[e]),new Promise((t,r)=>{ab({},()=>{window.MathJax.typesetPromise(e).then(()=>{t(void 0)}).catch(n=>r(n))})})}function Mp(e){let t="$"+e+"$";return console.log("isMathJaxFormula 66",t),[/\$\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(t))}function Ip(e){if(console.log("isMathJaxFormula 6",Mp(e),e),Mp(e)||e.includes("\\"")&&(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]")||/\\"[^\\]+\\"\s*:\s*\\"[^\\]*\\"/.test(e))||(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))&&(e.includes('\\"')||e.includes('\\"')||e.includes("\\"")||e.includes("""))&&e.includes(":")||/^#{1,6}\s+/.test(e.trim())||e.includes("###")||e.includes("##")||/^#\s+/.test(e.trim())||!e||e.trim()===""||e.match(/^CONST\[/)||e.match(/^[A-Z_]+\[/)||e.includes("@\\`")||e.startsWith("$")&&e.endsWith("$")&&e.includes("\\`")||/\$[a-zA-Z0-9_]+\\`/.test(e)||/`[^`]*`/.test(e)||/\*\*.*?\*\*|__.*?__|_.*?_|\*.*?\*|~~.*?~~|\[.*?\]\(.*?\)/.test(e)&&!/(\\frac|\\sum|\\int|\\prod|\\lim|\\{|\\}|\\[|\\]|\\(|\\))/.test(e))return!1;if(e.includes(`
|
|
28
|
+
`)){const d=e.trim().split(`
|
|
29
|
+
`);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 t=e.trim();if(/^(Based on|According to|From|In|The) .*(answer|correct|material|provided|explanation).*:?$/i.test(t)||/(at least|\bat\b|\bof\b|\bis\b|\bfine\b|\bpay\b|\bfees?\b|\bprice\b|\bcosts?\b|\bpenalty|\bpenalties)\s+(\*\*)?\$\d+/i.test(e)||/^[-•*]\s+.*\$\d+/.test(e)||/^[\d]+\.?\s+.*\$\d+/.test(e)||/table\s+\d+|general\s+impairment|high\s+rate|highest\s+rate/i.test(e)&&/\$\d+/.test(e)||/^(\$)?\s*\d+(\.\d+)?\s*$/.test(t))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(t))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(t))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(t))return!1;if(/\$\d+(\.\d+)?([\s,]+(across|for|in|when|per|each|every|all|any|most|minimum|maximum))/i.test(e)||/^(\d+)?\.?\d+$/.test(t)||/['"][^'"]*\$\d+[^'"]*['"]/.test(e)||/^>.*\$\d+/.test(t))return!1;if(e.startsWith("$")&&e.endsWith("$")&&e.length>2){const d=e.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(t)||/^[A-Z]{2}$/.test(t))return!0;const o=e.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 sb(e){let t=[],r=e,n=0;const i=[],a=/\$\$([\s\S]*?)\$\$/g;let o,s=[];for(;(o=a.exec(e))!==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(!Ip(g.content)){const m=`__PLACEHOLDER_${n}__`;t[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"),!Ip(g.content)){const m=`__PLACEHOLDER_${n}__`;t[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,t),{transformed:r,extracted:t}}function ub(e,t,r=[]){let n=e;const i=new RegExp("__PLACEHOLDER_(\\d+)__","g");n=n.replace(i,(o,s)=>{const u=parseInt(s,10);return u<t.length?t[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 eP(e){if(!e)return"";try{const r=new DOMParser().parseFromString(e,"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 元素"),e)}catch(t){return console.error("清理 SVG 时发生错误:",t),""}}function Lp(e){if(!e||typeof e!="string")return"";let t=e;return t=t.replace(/<[^>]*>/g,""),t=t.replace(/\bon\w+\s*=\s*["'][^"']*["']/gi,""),t=t.replace(/\bon\w+\s*=\s*[^\s>]*/gi,""),t=t.replace(/javascript:/gi,""),t=t.replace(/vbscript:/gi,""),t=t.replace(/data:text\/html/gi,""),t=t.replace(/data:application/gi,""),t=t.replace(/<script[\s\S]*?<\/script>/gi,""),t=t.replace(/<script/gi,""),t=t.replace(/<img/gi,""),t=t.replace(/<iframe/gi,""),t}function tP({loadType:e,url:t},r){if(!window.isMermaidLoaded){const n=document.createElement("script");n.src=window.MermaidSrc?window.MermaidSrc:"https://cdn.xiaowei.qq.com/webim/assets/static/mermaid.min.js",n.async=!0,n.onload=()=>{window.isMermaidLoaded=!0,r()},n.onerror=i=>{console.error("Mermaid script加载失败:",i),window.mermaidLoadError=!0},document.head.appendChild(n)}}const n1={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(e=document){this.init();const t=e.querySelectorAll("pre > code.language-mermaid");console.log(`MermaidService: 找到 ${t.length} 个mermaid代码块`);for(let r=0;r<t.length;r++){const n=t[r],i=n.parentElement;if(i.getAttribute("data-processed")==="true")continue;const a=n.textContent,o=Lp(a);if(!o||!o.trim()){console.warn(`MermaidService: 代码块 #${r+1} 在清理后为空,跳过渲染`);continue}const s=document.createElement("div");s.className="mermaid-container";try{const u=`mermaid-${Date.now()}-${Math.random().toString(36).substring(2,11)}`,{svg:l}=await window.mermaid.render(u,o),c=eP(l);s.innerHTML=c,i.parentNode.replaceChild(s,i),console.log(`MermaidService: 成功渲染图表 #${r+1}`)}catch(u){console.error(`MermaidService: 渲染失败 #${r+1}:`,u);const l=Lp(a);s.innerHTML=`
|
|
30
|
+
<div class="mermaid-error">
|
|
31
|
+
<pre>${l}</pre>
|
|
32
|
+
</div>
|
|
33
|
+
`,i.parentNode.replaceChild(s,i)}}},onMermaidLoaded(e){if(window.isMermaidLoaded)e();else{if(window.mermaidLoadError)return;const t=setInterval(()=>{window.isMermaidLoaded&&(clearInterval(t),e())},500);setTimeout(()=>{clearInterval(t),console.error("Mermaid加载超时")},3e4)}}};function Cn(e,t,r,n,i,a,o,s){var u=typeof e=="function"?e.options:e;t&&(u.render=t,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:e,options:u}}const rP={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:e=>e},postrender:{type:Function,default:e=>e},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 t=this.configureMd().render(this.prerender(this.sourceData.replace(/-->/g,"-->").replace(/(^|[^~\\])~([^~]|$)/g,"$1\\~$2")));return this.postrender(t)}},watch:{source:{handler(e){const t=++this.renderSeq,r=document.createElement("div"),{replacedString:n,videoTags:i}=G_(e),{modifiedMdString:a,codeBlocks:o}=z_(n),s=F_(a),{transformed:u,extracted:l}=sb(s);r.innerHTML=u;const c=()=>{if(t!==this.renderSeq)return;const f=this.prerender(oL(ub(V_(H_($_(r.innerHTML,o),i)),l)));this.sourceData=this.xssHandler.process(f)};ob(r).then(c).catch(c)},immediate:!0},renderContent:{handler(e){const t=this.$refs.container;if(!t)return;if(!e){t.innerHTML="",this.$nextTick(()=>this.$emit("rendered",t));return}if(!this.incremental){t.innerHTML=e,this.$nextTick(()=>this.$emit("rendered",t));return}const r=document.createElement("div");r.innerHTML=e,lE(t,r,{childrenOnly:!0,onBeforeElUpdated(n,i){return 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.classList.contains("audio-stream-container")&&n.children.length>0||n.tagName==="CODE"&&n.classList.contains("hljs")&&n.textContent===i.textContent)},onNodeAdded(n){return n.nodeType===1&&n.tagName==="CODE"&&n.parentElement&&n.parentElement.tagName==="PRE"&&(n._needsHighlight=!0),n}}),this.$nextTick(()=>{this.$emit("rendered",t)})},immediate:!0}},created(){this.xssHandler=new $n.FilterXSS(ib)},mounted(){tP({},()=>{})},beforeDestroy(){this.$refs.container&&this.$emit("destroy",this.$refs.container)},methods:{configureMd(){return B_({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:e=>{this.$emit("tocRendered",e),this.$emit("toc-rendered",e)}})}}};var nP=function(){var t=this,r=t._self._c;return r("div",{ref:"container",class:t.className})},iP=[],aP=Cn(rP,nP,iP,!1,null,null,null,null);const oP=aP.exports;function lb(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const r=e[t],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&lb(r)}),e}class Pp{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function cb(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function yi(e,...t){const r=Object.create(null);for(const n in e)r[n]=e[n];return t.forEach(function(n){for(const i in n)r[i]=n[i]}),r}const sP="</span>",Rp=e=>!!e.scope,uP=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class lP{constructor(t,r){this.buffer="",this.classPrefix=r.classPrefix,t.walk(this)}addText(t){this.buffer+=cb(t)}openNode(t){if(!Rp(t))return;const r=uP(t.scope,{prefix:this.classPrefix});this.span(r)}closeNode(t){Rp(t)&&(this.buffer+=sP)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}const Np=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class I4{constructor(){this.rootNode=Np(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const r=Np({scope:t});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(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,r){return typeof r=="string"?t.addText(r):r.children&&(t.openNode(r),r.children.forEach(n=>this._walk(t,n)),t.closeNode(r)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(r=>typeof r=="string")?t.children=[t.children.join("")]:t.children.forEach(r=>{I4._collapse(r)}))}}class cP extends I4{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,r){const n=t.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new lP(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Qu(e){return e?typeof e=="string"?e:e.source:null}function fb(e){return no("(?=",e,")")}function fP(e){return no("(?:",e,")*")}function hP(e){return no("(?:",e,")?")}function no(...e){return e.map(r=>Qu(r)).join("")}function dP(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function L4(...e){return"("+(dP(e).capture?"":"?:")+e.map(n=>Qu(n)).join("|")+")"}function hb(e){return new RegExp(e.toString()+"|").exec("").length-1}function pP(e,t){const r=e&&e.exec(t);return r&&r.index===0}const vP=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function P4(e,{joinWith:t}){let r=0;return e.map(n=>{r+=1;const i=r;let a=Qu(n),o="";for(;a.length>0;){const s=vP.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(t)}const gP=/\b\B/,db="[a-zA-Z]\\w*",R4="[a-zA-Z_]\\w*",pb="\\b\\d+(\\.\\d+)?",vb="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",gb="\\b(0b[01]+)",mP="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",yP=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=no(t,/.*\b/,e.binary,/\b.*/)),yi({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},e)},Ju={begin:"\\\\[\\s\\S]",relevance:0},_P={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Ju]},bP={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Ju]},xP={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/},Uc=function(e,t,r={}){const n=yi({scope:"comment",begin:e,end:t,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=L4("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:no(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},wP=Uc("//","$"),SP=Uc("/\\*","\\*/"),CP=Uc("#","$"),AP={scope:"number",begin:pb,relevance:0},TP={scope:"number",begin:vb,relevance:0},DP={scope:"number",begin:gb,relevance:0},EP={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Ju,{begin:/\[/,end:/\]/,relevance:0,contains:[Ju]}]},kP={scope:"title",begin:db,relevance:0},MP={scope:"title",begin:R4,relevance:0},IP={begin:"\\.\\s*"+R4,relevance:0},LP=function(e){return Object.assign(e,{"on:begin":(t,r)=>{r.data._beginMatch=t[1]},"on:end":(t,r)=>{r.data._beginMatch!==t[1]&&r.ignoreMatch()}})};var i1=Object.freeze({__proto__:null,APOS_STRING_MODE:_P,BACKSLASH_ESCAPE:Ju,BINARY_NUMBER_MODE:DP,BINARY_NUMBER_RE:gb,COMMENT:Uc,C_BLOCK_COMMENT_MODE:SP,C_LINE_COMMENT_MODE:wP,C_NUMBER_MODE:TP,C_NUMBER_RE:vb,END_SAME_AS_BEGIN:LP,HASH_COMMENT_MODE:CP,IDENT_RE:db,MATCH_NOTHING_RE:gP,METHOD_GUARD:IP,NUMBER_MODE:AP,NUMBER_RE:pb,PHRASAL_WORDS_MODE:xP,QUOTE_STRING_MODE:bP,REGEXP_MODE:EP,RE_STARTERS_RE:mP,SHEBANG:yP,TITLE_MODE:kP,UNDERSCORE_IDENT_RE:R4,UNDERSCORE_TITLE_MODE:MP});function PP(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function RP(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function NP(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=PP,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function OP(e,t){Array.isArray(e.illegal)&&(e.illegal=L4(...e.illegal))}function BP(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function FP(e,t){e.relevance===void 0&&(e.relevance=1)}const VP=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach(n=>{delete e[n]}),e.keywords=r.keywords,e.begin=no(r.beforeMatch,fb(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},zP=["of","and","for","in","not","or","if","then","parent","list","value"],$P="keyword";function mb(e,t,r=$P){const n=Object.create(null);return typeof e=="string"?i(r,e.split(" ")):Array.isArray(e)?i(r,e):Object.keys(e).forEach(function(a){Object.assign(n,mb(e[a],t,a))}),n;function i(a,o){t&&(o=o.map(s=>s.toLowerCase())),o.forEach(function(s){const u=s.split("|");n[u[0]]=[a,GP(u[0],u[1])]})}}function GP(e,t){return t?Number(t):HP(e)?0:1}function HP(e){return zP.includes(e.toLowerCase())}const Op={},Oa=e=>{console.error(e)},Bp=(e,...t)=>{console.log(`WARN: ${e}`,...t)},go=(e,t)=>{Op[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Op[`${e}/${t}`]=!0)},B0=new Error;function yb(e,t,{key:r}){let n=0;const i=e[r],a={},o={};for(let s=1;s<=t.length;s++)o[s+n]=i[s],a[s+n]=!0,n+=hb(t[s-1]);e[r]=o,e[r]._emit=a,e[r]._multi=!0}function UP(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw Oa("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),B0;if(typeof e.beginScope!="object"||e.beginScope===null)throw Oa("beginScope must be object"),B0;yb(e,e.begin,{key:"beginScope"}),e.begin=P4(e.begin,{joinWith:""})}}function WP(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw Oa("skip, excludeEnd, returnEnd not compatible with endScope: {}"),B0;if(typeof e.endScope!="object"||e.endScope===null)throw Oa("endScope must be object"),B0;yb(e,e.end,{key:"endScope"}),e.end=P4(e.end,{joinWith:""})}}function qP(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function ZP(e){qP(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),UP(e),WP(e)}function YP(e){function t(o,s){return new RegExp(Qu(o),"m"+(e.case_insensitive?"i":"")+(e.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+=hb(s)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const s=this.regexes.map(u=>u[1]);this.matcherRe=t(P4(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;[RP,BP,ZP,VP].forEach(c=>c(o,s)),e.compilerExtensions.forEach(c=>c(o,s)),o.__beforeBegin=null,[NP,OP,FP].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=mb(o.keywords,e.case_insensitive)),u.keywordPatternRe=t(l,!0),s&&(o.begin||(o.begin=/\B|\b/),u.beginRe=t(u.begin),!o.end&&!o.endsWithParent&&(o.end=/\B|\b/),o.end&&(u.endRe=t(u.end)),u.terminatorEnd=Qu(u.end)||"",o.endsWithParent&&s.terminatorEnd&&(u.terminatorEnd+=(o.end?"|":"")+s.terminatorEnd)),o.illegal&&(u.illegalRe=t(o.illegal)),o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map(function(c){return XP(c==="self"?o:c)})),o.contains.forEach(function(c){a(c,u)}),o.starts&&a(o.starts,s),u.matcher=i(u),u}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=yi(e.classNameAliases||{}),a(e)}function _b(e){return e?e.endsWithParent||_b(e.starts):!1}function XP(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return yi(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:_b(e)?yi(e,{starts:e.starts?yi(e.starts):null}):Object.isFrozen(e)?yi(e):e}var jP="11.11.1";class KP extends Error{constructor(t,r){super(t),this.name="HTMLInjectionError",this.html=r}}const W2=cb,Fp=yi,Vp=Symbol("nomatch"),QP=7,bb=function(e){const t=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:cP};function u(I){return s.noHighlightRe.test(I)}function l(I){let O=I.className+" ";O+=I.parentNode?I.parentNode.className:"";const P=s.languageDetectRe.exec(O);if(P){const R=C(P[1]);return R||(Bp(a.replace("{}",P[1])),Bp("Falling back to no-highlight mode for this block.",I)),R?P[1]:"no-highlight"}return O.split(/\s+/).find(R=>u(R)||C(R))}function c(I,O,P){let R="",B="";typeof O=="object"?(R=I,P=O.ignoreIllegals,B=O.language):(go("10.7.0","highlight(lang, code, ...args) has been deprecated."),go("10.7.0",`Please use highlight(code, options) instead.
|
|
34
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),B=I,R=O),P===void 0&&(P=!0);const V={code:R,language:B};L("before:highlight",V);const z=V.result?V.result:f(V.language,V.code,P);return z.code=V.code,L("after:highlight",z),z}function f(I,O,P,R){const B=Object.create(null);function V(re,pe){return re.keywords[pe]}function z(){if(!de.keywords){Ke.addText(Oe);return}let re=0;de.keywordPatternRe.lastIndex=0;let pe=de.keywordPatternRe.exec(Oe),Ie="";for(;pe;){Ie+=Oe.substring(re,pe.index);const Ge=Te.case_insensitive?pe[0].toLowerCase():pe[0],It=V(de,Ge);if(It){const[Dn,YD]=It;if(Ke.addText(Ie),Ie="",B[Ge]=(B[Ge]||0)+1,B[Ge]<=QP&&(qi+=YD),Dn.startsWith("_"))Ie+=pe[0];else{const XD=Te.classNameAliases[Dn]||Dn;K(pe[0],XD)}}else Ie+=pe[0];re=de.keywordPatternRe.lastIndex,pe=de.keywordPatternRe.exec(Oe)}Ie+=Oe.substring(re),Ke.addText(Ie)}function U(){if(Oe==="")return;let re=null;if(typeof de.subLanguage=="string"){if(!t[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&&(qi+=re.relevance),Ke.__addSublanguage(re._emitter,re.language)}function q(){de.subLanguage!=null?U():z(),Oe=""}function K(re,pe){re!==""&&(Ke.startScope(pe),Ke.addText(re),Ke.endScope())}function xe(re,pe){let Ie=1;const Ge=pe.length-1;for(;Ie<=Ge;){if(!re._emit[Ie]){Ie++;continue}const It=Te.classNameAliases[re[Ie]]||re[Ie],Dn=pe[Ie];It?K(Dn,It):(Oe=Dn,z(),Oe=""),Ie++}}function ze(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,Ie){let Ge=pP(re.endRe,Ie);if(Ge){if(re["on:end"]){const It=new Pp(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,Ie)}function ee(re){return de.matcher.regexIndex===0?(Oe+=re[0],1):(O2=!0,0)}function he(re){const pe=re[0],Ie=re.rule,Ge=new Pp(Ie),It=[Ie.__beforeBegin,Ie["on:begin"]];for(const Dn of It)if(Dn&&(Dn(re,Ge),Ge.isMatchIgnored))return ee(pe);return Ie.skip?Oe+=pe:(Ie.excludeBegin&&(Oe+=pe),q(),!Ie.returnBegin&&!Ie.excludeBegin&&(Oe=pe)),ze(Ie,re),Ie.returnBegin?0:pe.length}function Q(re){const pe=re[0],Ie=O.substring(re.index),Ge=ue(de,re,Ie);if(!Ge)return Vp;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&&(qi+=de.relevance),de=de.parent;while(de!==Ge.parent);return Ge.starts&&ze(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 Ie=pe&&pe[0];if(Oe+=re,Ie==null)return q(),0;if(Fe.type==="begin"&&pe.type==="end"&&Fe.index===pe.index&&Ie===""){if(Oe+=O.slice(pe.index,pe.index+1),!i){const Ge=new Error(`0 width match regex (${I})`);throw Ge.languageName=I,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 "'+Ie+'" for mode "'+(de.scope||"<unnamed>")+'"');throw Ge.mode=de,Ge}else if(pe.type==="end"){const Ge=Q(pe);if(Ge!==Vp)return Ge}if(pe.type==="illegal"&&Ie==="")return Oe+=`
|
|
35
|
+
`,1;if(N2>1e5&&N2>pe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Oe+=Ie,Ie.length}const Te=C(I);if(!Te)throw Oa(a.replace("{}",I)),new Error('Unknown language: "'+I+'"');const Ze=YP(Te);let rt="",de=R||Ze;const wt={},Ke=new s.__emitter(s);se();let Oe="",qi=0,Br=0,N2=0,O2=!1;try{if(Te.__emitTokens)Te.__emitTokens(O,Ke);else{for(de.matcher.considerAll();;){N2++,O2?O2=!1:de.matcher.considerAll(),de.matcher.lastIndex=Br;const re=de.matcher.exec(O);if(!re)break;const pe=O.substring(Br,re.index),Ie=Pe(pe,re);Br=re.index+Ie}Pe(O.substring(Br))}return Ke.finalize(),rt=Ke.toHTML(),{language:I,value:rt,relevance:qi,illegal:!1,_emitter:Ke,_top:de}}catch(re){if(re.message&&re.message.includes("Illegal"))return{language:I,value:W2(O),illegal:!0,relevance:0,_illegalBy:{message:re.message,index:Br,context:O.slice(Br-100,Br+100),mode:re.mode,resultSoFar:rt},_emitter:Ke};if(i)return{language:I,value:W2(O),illegal:!1,relevance:0,errorRaised:re,_emitter:Ke,_top:de};throw re}}function h(I){const O={value:W2(I),illegal:!1,relevance:0,_top:o,_emitter:new s.__emitter(s)};return O._emitter.addText(I),O}function d(I,O){O=O||s.languages||Object.keys(t);const P=h(I),R=O.filter(C).filter(T).map(q=>f(q,I,!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}),[V,z]=B,U=V;return U.secondBest=z,U}function p(I,O,P){const R=O&&r[O]||P;I.classList.add("hljs"),I.classList.add(`language-${R}`)}function v(I){let O=null;const P=l(I);if(u(P))return;if(L("before:highlightElement",{el:I,language:P}),I.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",I);return}if(I.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(I)),s.throwUnescapedHTML))throw new KP("One of your code blocks includes unescaped HTML.",I.innerHTML);O=I;const R=O.textContent,B=P?c(R,{language:P,ignoreIllegals:!0}):d(R);I.innerHTML=B.value,I.dataset.highlighted="yes",p(I,P,B.language),I.result={language:B.language,re:B.relevance,relevance:B.relevance},B.secondBest&&(I.secondBest={language:B.secondBest.language,relevance:B.secondBest.relevance}),L("after:highlightElement",{el:I,result:B,text:R})}function g(I){s=Fp(s,I)}const m=()=>{b(),go("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){b(),go("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let _=!1;function b(){function I(){b()}if(document.readyState==="loading"){_||window.addEventListener("DOMContentLoaded",I,!1),_=!0;return}document.querySelectorAll(s.cssSelector).forEach(v)}function x(I,O){let P=null;try{P=O(e)}catch(R){if(Oa("Language definition for '{}' could not be registered.".replace("{}",I)),i)Oa(R);else throw R;P=o}P.name||(P.name=I),t[I]=P,P.rawDefinition=O.bind(null,e),P.aliases&&A(P.aliases,{languageName:I})}function w(I){delete t[I];for(const O of Object.keys(r))r[O]===I&&delete r[O]}function S(){return Object.keys(t)}function C(I){return I=(I||"").toLowerCase(),t[I]||t[r[I]]}function A(I,{languageName:O}){typeof I=="string"&&(I=[I]),I.forEach(P=>{r[P.toLowerCase()]=O})}function T(I){const O=C(I);return O&&!O.disableAutodetect}function D(I){I["before:highlightBlock"]&&!I["before:highlightElement"]&&(I["before:highlightElement"]=O=>{I["before:highlightBlock"](Object.assign({block:O.el},O))}),I["after:highlightBlock"]&&!I["after:highlightElement"]&&(I["after:highlightElement"]=O=>{I["after:highlightBlock"](Object.assign({block:O.el},O))})}function k(I){D(I),n.push(I)}function M(I){const O=n.indexOf(I);O!==-1&&n.splice(O,1)}function L(I,O){const P=I;n.forEach(function(R){R[P]&&R[P](O)})}function N(I){return go("10.7.0","highlightBlock will be removed entirely in v12.0"),go("10.7.0","Please use highlightElement now."),v(I)}Object.assign(e,{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:Fp,addPlugin:k,removePlugin:M}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=jP,e.regex={concat:no,lookahead:fb,either:L4,optional:hP,anyNumberOfTimes:fP};for(const I in i1)typeof i1[I]=="object"&&lb(i1[I]);return Object.assign(e,i1),e},us=bb({});us.newInstance=()=>bb({});var JP=us;us.HighlightJS=us;us.default=us;const Bt=nr(JP),zp="[A-Za-z$_][0-9A-Za-z$_]*",eR=["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"],tR=["true","false","null","undefined","NaN","Infinity"],xb=["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"],wb=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Sb=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],rR=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],nR=[].concat(Sb,xb,wb);function iR(e){const t=e.regex,r=(P,{after:R})=>{const B="</"+P[0].slice(1);return P.input.indexOf(B,R)!==-1},n=zp,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,V=P.input[B];if(V==="<"||V===","){R.ignoreMatch();return}V===">"&&(r(P,{after:B})||R.ignoreMatch());let z;const U=P.input.substring(B);if(z=U.match(/^\s*=/)){R.ignoreMatch();return}if((z=U.match(/^\s+extends\s+/))&&z.index===0){R.ignoreMatch();return}}},s={$pattern:zp,keyword:eR,literal:tR,built_in:nR,"variable.language":rR},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:[e.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},p={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"css"}},v={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},g={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,h]},y={className:"comment",variants:[e.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}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},_=[e.APOS_STRING_MODE,e.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+/,t.concat(n,"(",t.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:t.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:{_:[...xb,...wb]}},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 t.concat("(?!",P.join("|"),")")}const M={match:t.concat(/\b/,k([...Sb,"super","import"].map(P=>`${P}\\s*\\(`)),n,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},L={begin:t.concat(/\./,t.lookahead(t.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]},I="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",O={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(I)],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:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),A,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,p,v,g,y,{match:/\$\d+/},f,C,{scope:"attr",match:n+t.lookahead(":"),relevance:0},O,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[y,e.REGEXP_MODE,{className:"function",begin:I,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.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)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[w,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},L,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[w]},M,D,S,N,{match:/\$[(.]/}]}}var aR=iR;const oR=nr(aR);function sR(e){const t=e.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:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,u],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,u,c,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.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:[e.BACKSLASH_ESCAPE,c,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,c,l]},e.APOS_STRING_MODE,e.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:t.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,e.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,e.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 uR=sR;const lR=nr(uR);function cR(e){const t=e.regex,r=t.concat(/[\p{L}_]/u,t.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=e.inherit(a,{begin:/\(/,end:/\)/}),s=e.inherit(e.APOS_STRING_MODE,{className:"string"}),u=e.inherit(e.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]}]}]},e.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:t.concat(/</,t.lookahead(t.concat(r,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:r,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(r,/>/))),contains:[{className:"name",begin:r,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}var fR=cR;const hR=nr(fR);function dR(e){const t={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:[t,r,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var pR=dR;const vR=nr(pR);function gR(e){const t=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="<[^<>]+>",o="("+n+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.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:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},e.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},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.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,e.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:[e.inherit(h,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:[r,e.C_BLOCK_COMMENT_MODE,l,c,s,{begin:/\(/,end:/\)/,keywords:g,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,l,c,s]}]},s,r,e.C_BLOCK_COMMENT_MODE,f]};return{name:"C",aliases:["h"],keywords:g,disableAutodetect:!0,illegal:"</",contains:[].concat(y,_,m,[f,{begin:e.IDENT_RE+"::",keywords:g},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:f,strings:l,keywords:g}}}var mR=gR;const yR=nr(mR);function _R(e){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:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.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:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:a,illegal:/["']/}]}]}}var bR=_R;const xR=nr(bR);var Go="[0-9](_*[0-9])*",a1=`\\.(${Go})`,o1="[0-9a-fA-F](_*[0-9a-fA-F])*",$p={className:"number",variants:[{begin:`(\\b(${Go})((${a1})|\\.)?|(${a1}))[eE][+-]?(${Go})[fFdD]?\\b`},{begin:`\\b(${Go})((${a1})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${a1})[fFdD]?\\b`},{begin:`\\b(${Go})[fFdD]\\b`},{begin:`\\b0[xX]((${o1})\\.?|(${o1})?\\.(${o1}))[pP][+-]?(${Go})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${o1})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function Cb(e,t,r){return r===-1?"":e.replace(t,n=>Cb(e,t,r-1))}function wR(e){const t=e.regex,r="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",n=r+Cb("(?:<"+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:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:u,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.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:[t.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,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+n+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:u,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:u,relevance:0,contains:[l,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,$p,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},$p,l]}}var SR=wR;const CR=nr(SR);function AR(e){const t=e.regex,r="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",n=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.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=[e.COMMENT("#","$",{contains:[s]}),e.COMMENT("^=begin","^=end",{contains:[s],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],c={className:"subst",begin:/#\{/,end:/\}/,keywords:o},f={className:"string",contains:[e.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:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.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:e.IDENT_RE+"::"},{className:"symbol",begin:e.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:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.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:[e.SHEBANG({binary:"ruby"})].concat(T).concat(l).concat(w)}}var TR=AR;const DR=nr(TR);function ER(e){const t="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:[e.BACKSLASH_ESCAPE,i]},s=e.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:t,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:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},h,{className:"number",begin:e.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 kR=ER;const MR=nr(kR);function IR(e){const t=e.regex,r=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),n="decltype\\(auto\\)",i="[a-zA-Z_]\\w*::",a="<[^<>]+>",o="(?!struct)("+n+"|"+t.optional(i)+"[a-zA-Z_]\\w*"+t.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:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+u+"|.)",end:"'",illegal:"."},e.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},e.inherit(l,{className:"string"}),{className:"string",begin:/<.*?>/},r,e.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:t.optional(i)+e.IDENT_RE,relevance:0},d=t.optional(i)+e.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:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},w=[x,f,s,r,e.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,e.C_BLOCK_COMMENT_MODE,l,c,s,{begin:/\(/,end:/\)/,keywords:b,relevance:0,contains:["self",r,e.C_BLOCK_COMMENT_MODE,l,c,s]}]},s,r,e.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:e.IDENT_RE+"::",keywords:b},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}var LR=IR;const PR=nr(LR),RR=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.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:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.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_-]*/}}),NR=["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"],OR=["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"],BR=[...NR,...OR],FR=["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(),VR=["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(),zR=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),$R=["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 GR(e){const t=e.regex,r=RR(e),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=[e.APOS_STRING_MODE,e.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:":("+VR.join("|")+")"},{begin:":(:)?("+zR.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+$R.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:t.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:FR.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...s,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+BR.join("|")+")\\b"}]}}var HR=GR;const UR=nr(HR);function WR(e){const t={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:[e.BACKSLASH_ESCAPE,t,r]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t,r]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,r]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t,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,e.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),e.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},n,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}var qR=WR;const ZR=nr(qR);Bt.registerLanguage("javascript",oR);Bt.registerLanguage("python",lR);Bt.registerLanguage("xml",hR);Bt.registerLanguage("json",vR);Bt.registerLanguage("c",yR);Bt.registerLanguage("go",xR);Bt.registerLanguage("java",CR);Bt.registerLanguage("ruby",DR);Bt.registerLanguage("yaml",MR);Bt.registerLanguage("cpp",PR);Bt.registerLanguage("css",UR);Bt.registerLanguage("dart",ZR);window.hljs=Bt;let Gp=!1;async function YR(){if(!Gp)try{await Promise.resolve().then(()=>require("./highlightjs-line-numbers.min-b98a1afd.js")),window.hljs&&window.hljs.initLineNumbersOnLoad&&window.hljs.initLineNumbersOnLoad(),Gp=!0}catch(e){console.error("Failed to load highlightjs-line-numbers:",e)}}function q2(e){Bt.highlightBlock(e)}function Hp(e){Bt.lineNumbersBlock&&Bt.lineNumbersBlock(e)}const XR=e=>e.replace(/(\d)\*(\d)/g,"$1\\*$2"),jR=e=>{const t=/(^|\n\n)?(\$\$(.*?)\$\$)(\n\n|$)?/g;return e.replace(t,(n,i,a,o,s)=>`
|
|
36
|
+
|
|
37
|
+
`+a+`
|
|
38
|
+
|
|
39
|
+
`)},KR=e=>{const t=/(\d|\))\*(\d|\()/g;return e.replace(t,(r,n,i)=>`${n}\\*${i}`)},QR=e=>{const t=/!\[.*?\]\([^)]*$/g;return e.replace(t,"[正在输出图片...]")},JR=e=>{const t=e.split(`
|
|
40
|
+
`);for(let n=0;n<t.length;n++)/^\d+\.\s/.test(t[n])&&t[n+1]&&/^\d+\.\S/.test(t[n+1])&&(t[n+1]=t[n+1].replace(/(\d+)\.(\S)/,"$1. $2"));return t.join(`
|
|
41
|
+
`)},eN=e=>{const t=/\\boxed\{([^}]+)\}$/;return e.replace(t,"\\( \\boxed{$1} \\)")},tN=e=>{const t=/(\^?)(\[[^\[\]]+\])(\{[\d,]+\}|[\+\*\?])(\$?)/g;return e.replace(t,(r,n,i,a,o)=>`\`${n||""}${i}${a}${o||""}\``)},rN=e=>{const t=/(\d)(\*{2,})(\d)/g;return e.replace(t,(r,n,i,a)=>{const o=i.split("").map(()=>"\\*").join("");return`${n}${o}${a}`})},nN=e=>{const r=["mg","μg","ng","pg","kg","g","mL","ml","L","片","板","盒","粒","袋","支","瓶","包","条","贴","颗","滴","hrs","hr","h","小时","天","日"].sort((i,a)=>a.length-i.length);let n=e;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},iN=(e,t)=>{let r=[],n="@CODE@BLOCK@PLACEHOLDER@",i=0,a=e.replace(/```[\s\S]*?```/g,function(o){return r.push(o),n+i++});return a=t(a),a=a.replace(new RegExp(n+"\\d+","g"),function(o){let s=parseInt(o.replace(n,""));return r[s]}),a};class aN{constructor(t={}){this.options={removeZeroWidth:!0,preserveEmoji:!0,preserveComplexScripts:!1,normalizeWhitespace:!0}}clean(t){let r=t;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(t){return this.emojiStore=[],t.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(t){return t.replace(/__EMOJI_PLACEHOLDER_(\d+)__/g,(r,n)=>this.emojiStore[parseInt(n)]||"")}}const oN=(e,t)=>{const r=/\(\[@widget-([a-zA-Z0-9_\-.:=+]+)-symbol@\]\)/g;return e.replace(r,(n,i)=>{const a=t==null?void 0:t.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""})},sN=e=>e.replace(/\(\[@widget-[a-zA-Z0-9_\-.:=+]+-symbol@\]\)/g,""),uN=(e,t)=>{const r=/\(\[@stream-audio-([a-zA-Z0-9_-]+)-symbol@\]\)/g;return e.replace(r,(n,i)=>(t==null?void 0:t.find(o=>o.audioSymbolId===i))?`<div class="audio-stream-container" data-audio-symbol-id="${i}"></div>`:"")},lN=e=>e.replace(/\(\[@stream-audio-[a-zA-Z0-9_-]+-symbol@\]\)/g,""),cN=(e,t)=>{const r="https://cdn.xiaowei.qq.com/static/lke/icon/file_icon_other_file_light.svg";let n=e;if((t==null?void 0:t.length)>0){let i,a=[];const o=/\[\[(\d+)\]@file\]/g;for(;(i=o.exec(n))!==null;)a.push(i);a.forEach(s=>{let u=t.find(l=>l.id.toString()===s[1]);u&&(n=n.replace(s[0],`
|
|
42
|
+
|
|
43
|
+
<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},fN=e=>{const t=/\[(\d+(?:\s*,\s*\d+)*)\]\(@ref\)/g;return e.replace(t,(r,n)=>`<span class="tags-container">${n.split(/\s*,\s*/).map(a=>`<span class="little-tags">${a}</span>`).join("")}</span>`)},hN=e=>{const t=/!\[([^\]]*)\]\(([^)]+)\)/g,r=[];let n;for(;(n=t.exec(e))!==null;)r.push(n[0]);return r},Ab=(e,t)=>{const r=e.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]===t)return decodeURI(a[1])}return""},dN=e=>{const t=/<table>([\s\S]*?)<\/table>/g,r=/!\[([^\]]*)\]\(([^)]+)\)/g;return e.replace(t,(n,i)=>`<table>${i.replace(r,(o,s,u)=>`<img src="${u}" alt="${s}">`)}</table>`)},pN=e=>{if(!/https?:\/\/[^\s\u4e00-\u9fa5\u3000-\u303f\uff00-\uffef]+[\u4e00-\u9fa5\u3000-\u303f\uff00-\uffef]/.test(e))return e;const r=/(https?:\/\/[^\s\u4e00-\u9fa5\u3000-\u303f\uff00-\uffef]+)([\u4e00-\u9fa5\u3000-\u303f\uff00-\uffef])/g;return e.replace(r,(n,i,a)=>{const o=e.indexOf(i);return o>=2&&e.substring(o-2,o)==="]("?n:`[${i}](${i})${a}`})},mo={},vN=e=>{if(e.indexOf("<video")<0)return e;Object.keys(mo).forEach(i=>{mo[i]===null&&delete mo[i]});let t=e;const r=/<video\b[^>]*>[\s\S]*?<\/video>/gi;t=t.replace(r,i=>i);const n=/<video\b[^>]*>(?:(?!<\/video>)[\s\S])*$/gi;if(t=t.replace(n,i=>{const a=`video-placeholder-${Date.now()}-${Math.random().toString(16).slice(2)}`;return mo[a]=i,`<div class="video-placeholder" data-video-id="${a}"></div>`}),t.includes("</video>")){const i=/<div class="video-placeholder" data-video-id="([^"]+)"><\/div>/g;t=t.replace(i,(a,o)=>{const s=mo[o];if(s){const u=t.split(a)[1];if(u&&u.startsWith("</video>"))return delete mo[o],s}return a})}return t};function gN(e){let t=JSON.stringify(e,null,0);const r=new RegExp('(?<!\\\\)"(https?:\\/\\/[^"]+)"',"g");t=t.replace(r,function(i,a){return`"___URL_START___${a}___URL_END___"`});const n=/___URL_START___(.*?)___URL_END___/g;return t=t.replace(n,function(i,a){return`[${a}](${a})`}),t}function mN(e){return/```(\w*)\n([\s\S]*?)\n```/g.test(e)}function yN(e){const t=/([\s\S]*?[\]\}]|[\s\S]*?[\[\{])/g;let r=0,n="",i;for(;(i=t.exec(e))!==null;){if(i.index>r){const o=e.substring(r,i.index);n+=o}const a=i[0];try{const o=JSON.parse(a),s=gN(o);n+=s}catch{n+=a}r=i.index+i[0].length}return r<e.length&&(n+=e.substring(r)),n}const _N=new $n.FilterXSS(ib),bN=new aN({removeZeroWidth:!0,preserveEmoji:!0,preserveComplexScripts:!1});function xN(e,t={}){const{isReplaceLinks:r=!1,replaceLinksWhitelist:n,isFinal:i=!1,showTags:a=!1,showDownloadCard:o=!1,fullFiles:s=[],showWidget:u=!1,widgetList:l=[],audioList:c=[]}=t;if(/<video/i.test(e)){const f=/<video\b[^>]*$/i,h=/<video\b[^>]*>(?:(?!<\/video>)[\s\S])*$/i;f.test(e)?e=e.replace(f,`
|
|
44
|
+
|
|
45
|
+
<div class="video-placeholder"></div>
|
|
46
|
+
|
|
47
|
+
`):h.test(e)&&(e=e.replace(h,`
|
|
48
|
+
|
|
49
|
+
<div class="video-placeholder"></div>
|
|
50
|
+
|
|
51
|
+
`))}return e=vN(e),e=pN(e),r&&(e=wN(e,n)),mN(e)||(e=yN(e),e=bN.clean(e)),e=tN(e),e=rN(e),e=KR(e),e=nN(e),e=XR(e),e=jR(e),e=dN(e),i||(e=QR(e)),e=JR(e),a&&(e=fN(e)),o&&(e=cN(e,s)),u?e=oN(e,l):e=sN(e),c&&c.length>0?e=uN(e,c):e=lN(e),e=eN(e),e=_N.process(jD(e)),e}function wN(e,t){if(!e||Ab(window.location.hash,"from"))return e;let n=["lke.cloud.tencent.com","qidian"];t&&(n=t.concat(n));const i=hN(e);i.forEach((u,l)=>{e=e.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 e=e.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)=>{e=e.replace(`IMG_URL${l}`,u)}),e}function Z2(e,t={}){return iN(e,r=>xN(r,t))}const SN={data(){return{currentTimer:null,currentIndex:0}},methods:{clearTimer(){this.currentTimer&&(clearTimeout(this.currentTimer),this.currentTimer=null)},startCurrentTimer(e={}){const{printCount:t=1,printCountTime:r=16,hideCursorPoint:n=!1,isFinal:i=!1}=e;this.clearTimer(),this.currentTimer=setTimeout(()=>{const a=t;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(e)},r)}},beforeDestroy(){this.clearTimer()}};function CN(e,t={}){const{type:r="text/javascript",crossOrigin:n}=t;return new Promise((i,a)=>{if(document.querySelector(`script[src="${e}"]`)){i();return}const o=document.createElement("script");o.src=e,o.type=r,n&&(o.crossOrigin=n),o.onload=i,o.onerror=()=>a(new Error(`Failed to load: ${e}`)),document.head.appendChild(o)})}function AN(){const e=Date.now(),t=5*60*1e3;return Math.floor(e/t)*t}async function TN(){try{window.tdWidgetSrc="/cdn-proxy/webim/assets/static/widget/release/lib/js/";const e=window.tdWidgetSrc||"https://cdn.xiaowei.qq.com/webim/assets/static/widget/release/lib/js/",t=AN();return await CN(`${e}adp-widget.js?nounce=${t}`,{type:"module"}),!0}catch(e){throw console.error("Failed to load adp-widget:",e),e}}Mu.config&&!Mu.config.ignoredElements.includes("adp-widget")&&Mu.config.ignoredElements.push("adp-widget");const DN={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 TN(),this.loaded=!0}catch(e){console.error("[MsgWidget] 加载 adp-widget 失败:",e)}},methods:{handleAction(e){const{action:t}=e.detail||{};this.$emit("widget-action",t),this.$emit("widget-event",e)},handleRendered(e){const{success:t,config:r,error:n,timestamp:i}=e.detail||{};this.$emit("widget-rendered",{success:t,config:r,error:n,timestamp:i})}}};var EN=function(){var t=this,r=t._self._c;return r("div",{staticClass:"lke__widget-container"},[t.output&&t.loaded?r("adp-widget",{ref:"widget",attrs:{locale:t.locale,"widget-json":t.output,disable:t.disable},on:{"widget-rendered":t.handleRendered,"widget-action":t.handleAction}}):t._e()],1)},kN=[],MN=Cn(DN,EN,kN,!1,null,"c152fdb4",null,null);const Tb=MN.exports,Y=(...e)=>{console.log("[StreamAudioPlayer24]",...e)};let Db=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 t=this.isMobileDevice();this.maxDecodedBuffers=t?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 t=window.AudioContext||window.webkitAudioContext;this.audioContext=new t,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(t){console.error("[initAudioContext] 创建 AudioContext 失败:",t),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=t=>{Y("[setupIOSAudioRoute] iOS audio 元素错误:",t)},Y("[setupIOSAudioRoute] iOS 音频路由设置完成")}catch(t){console.error("[setupIOSAudioRoute] 设置失败:",t),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(t){Y("[startIOSAudioElement] iOS audio 元素播放失败:",t)}}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",t=>{this.onErrorCallback&&this.onErrorCallback(new Error("音频加载失败: "+(t.message||"未知错误")))}),this.audioElement.addEventListener("loadedmetadata",()=>{this.totalDuration=this.audioElement.duration||0,this.onDurationChangeCallback&&this.onDurationChangeCallback(this.totalDuration)}))}setPlayMode(t){this.playMode!==t&&(this.playMode==="stream"?this.clearStreamMode():this.playMode==="url"&&this.clearUrlMode(),this.playMode=t,t==="stream"?this.initAudioContext():t==="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(t){t&&(this.setPlayMode("url"),this.audioElement.src=t,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(t){throw console.error("[ensureAudioContextRunning] resume 失败:",t),new Error("无法激活音频上下文")}else if(this.audioContext.state==="interrupted")try{await this.audioContext.resume(),Y("[ensureAudioContextRunning] 从 interrupted 状态恢复")}catch(t){throw console.error("[ensureAudioContextRunning] 从 interrupted 恢复失败:",t),new Error("无法恢复音频上下文")}}async playUnlockSound(){if(this.audioContext)try{const t=this.audioContext.createBuffer(1,1,this.audioContext.sampleRate),r=this.audioContext.createBufferSource();r.buffer=t,r.connect(this.getAudioDestination()),r.start(0),Y("[playUnlockSound] 播放解锁音频完成")}catch(t){Y("[playUnlockSound] 播放解锁音频失败(可忽略):",t)}}addBase64ChunkLazy(t,r=1){if(!t)return;this.setPlayMode("stream"),this.pendingChunks.push(t);const n=(t.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(t){t&&this.addBase64ChunkLazy(t)}getDisplayDuration(){return Math.floor(this.totalDuration+this.estimatedDuration)}async decodeAhead(){let t=0;if(this.audioQueue.forEach(i=>{t+=i.duration}),Y("[decodeAhead] 开始",{decodingInProgress:this.decodingInProgress,pendingChunks:this.pendingChunks.length,audioQueueLength:this.audioQueue.length,currentQueueDuration:t.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(t){if(!t||!Array.isArray(t))return;const r=t.slice(this.processedChunkCount);Y("[processAudioDataArray] 处理音频数据数组",{totalLength:t.length,processedChunkCount:this.processedChunkCount,newChunksCount:r.length});for(const n of r)await this.addBase64Chunk(n),this.processedChunkCount++;Y("[processAudioDataArray] 处理完成",{processedChunkCount:this.processedChunkCount})}decodeAudioDataCompat(t){const r=(t.byteLength/1024).toFixed(2);return Y("[decodeAudioDataCompat] 开始解码",{size:`${r} KB`}),new Promise((n,i)=>{const a=this.audioContext.decodeAudioData(t,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(t){return this.addAudioChunkInternal(t)}async addAudioChunkInternal(t){if(this.setPlayMode("stream"),!this.audioContext)throw new Error("AudioContext not initialized");try{let r;t instanceof Blob?r=await t.arrayBuffer():r=t;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(t,r=24e3,n=1,i=16){if(this.setPlayMode("stream"),!this.audioContext)throw new Error("AudioContext not initialized");try{const a=i/8,o=t.byteLength/(a*n),s=this.audioContext.createBuffer(n,o,r),u=new DataView(t);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 t=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:t.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(t,this.nextScheduleTime);Y(`[scheduleNewChunks] 调度第 ${n+1} 个buffer`,{bufferDuration:i.duration.toFixed(2),scheduleTime:o.toFixed(3),currentTime:t.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(t){this.onErrorCallback&&this.onErrorCallback(t)}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(t){this.onErrorCallback&&this.onErrorCallback(t);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 t=this.pendingChunks.shift();try{const r=window.atob(t),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(t){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>t){const c=this.audioContext.createBufferSource();c.buffer=s,c.connect(this.getAudioDestination());let f=0,h=s.duration;t>u&&(f=t-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:t.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 t of this.scheduledSources)try{t.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 t=0;if(this.audioQueue.forEach(r=>{t+=r.duration}),Y("[handlePlaybackEnd] 播放结束",{totalDuration:this.totalDuration.toFixed(2),actualDecodedDuration:t.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(t){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:!!t,processedChunkCount:this.processedChunkCount}),this.generationComplete=!0,t&&(this.fullAudioUrl=t),this.isPlaying&&this.pendingChunks.length>0&&(Y("[markGenerationComplete] 正在播放,触发按需解码"),this.decodeAhead()),this.autoPlayCheckInterval&&this.scheduledSources.length===0&&this.pendingChunks.length===0&&(Y("[markGenerationComplete] 正在等待且无剩余片段,立即结束"),this.handlePlaybackEnd()),t?this.getDurationFromUrl(t):this.onDurationChangeCallback&&this.onDurationChangeCallback(this.getDisplayDuration())}getDurationFromUrl(t){Y("[getDurationFromUrl] 开始从 URL 获取时长并预加载",{audioUrl:t}),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=t,r.load()}async decodeAllPendingChunks(){for(Y("[decodeAllPendingChunks] 开始解码所有待解码 chunk",{pendingChunks:this.pendingChunks.length});this.pendingChunks.length>0;){const t=this.pendingChunks.shift(),r=this.processedChunkCount+1;try{const n=(t.length*.75/1024).toFixed(2);Y(`[decodeAllPendingChunks] 解码第 ${r} 个chunk`,{size:`${n} KB`});const i=window.atob(t),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 t=this.audioQueue.length;if(Y("[cleanupOldBuffers] 检查",{currentQueueLength:t,maxDecodedBuffers:this.maxDecodedBuffers,playedBufferCount:this.playedBufferCount,scheduledCount:this.scheduledCount,pendingChunks:this.pendingChunks.length,totalDuration:this.totalDuration.toFixed(2)}),t>this.maxDecodedBuffers&&this.playedBufferCount>0){const r=Math.min(t-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 t=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>=t&&(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 t=this.audioContext.currentTime-this.startedAt;this.onTimeUpdateCallback&&this.onTimeUpdateCallback(t,this.totalDuration)}},100))}stopTimeUpdate(){this.timeUpdateInterval&&(clearInterval(this.timeUpdateInterval),this.timeUpdateInterval=null)}seek(t){if(Y("[seek] 开始",{time:t,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(t,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(t,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(t,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",t=>{this.onErrorCallback&&this.onErrorCallback(new Error("音频加载失败: "+(t.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 t=[];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)}}t.push(a)}return t}onPlay(t){this.onPlayCallback=t}onPause(t){this.onPauseCallback=t}onEnd(t){this.onEndCallback=t}onError(t){this.onErrorCallback=t}onTimeUpdate(t){this.onTimeUpdateCallback=t}onDurationChange(t){this.onDurationChangeCallback=t}onUrlReady(t){this.onUrlReadyCallback=t}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}},Y2="https://cdn.xiaowei.qq.com/adp/assets/static/iconfont-XzKaDZdEa7j2GPL-1201.js",Iu={};function IN(e){const t={};return e.props.size&&(t.width=`${e.props.size}px`,t.height=`${e.props.size}px`),e.props.valign&&(t.verticalAlign=`${e.props.valign}px`),e.props.rotate&&(t.transform=`rotate(${e.props.rotate}deg)`),t}function LN(e){const t=e.props;return{"v-icon":!0,"is-horizontal":t.flip==="horizontal","is-vertical":t.flip==="vertical","v-icon--stroke":t.useStroke,"v-icon--fill":!t.useStroke}}function Eb(e){let t=document.createElement("script");t.type="text/javascript",t.src=e,document.getElementsByTagName("head")[0].appendChild(t)}const PN=e=>{let t=!1,r=Object.keys(Iu);r.forEach(n=>{Iu[n]===e&&(t=!0)}),t||(Iu[r.length]=e,Eb(e))},RN={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(e,t){const r=IN(t);if(t.data.style)for(let n in t.data.style)r[n]=t.data.style[n];return!Iu.defaultRemoteSrc&&Y2&&t.props.loadDefaultRemoteIcons&&(Iu.defaultRemoteSrc=Y2,Eb(Y2)),t.props.remoteSrc&&PN(t.props.remoteSrc),e("svg",{class:LN(t),style:r,attrs:{role:t.props.label?"img":"presentation","aria-label":t.props.label},on:t.data.nativeOn},[e("use",{attrs:{"xlink:href":"#"+t.props.remotePrefix+t.props.name,class:t.props.clazz},style:{pointerEvents:"none"}})])}},NN=RN,ON=null,BN=null;var FN=Cn(NN,ON,BN,!1,null,null,null,null);const Wc=FN.exports;const VN={name:"StreamAudioPlayer",components:{VIcon:Wc},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 e=!!this.audioData.audio_url,t=this.audioData.audio_data&&this.audioData.audio_data.length>0;return e||t},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 e=this.formatTime(this.currentTime),t=this.isGenerating?"生成中":this.formatTime(this.duration);return`${e} / ${t}`},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(e){var r;if(!e||!this.player)return;console.log("[StreamAudioPlayer] audioData watch 触发:",{hasAudioUrl:!!e.audio_url,audioDataLength:(r=e.audio_data)==null?void 0:r.length,isComplete:e.isComplete,playModeDecided:this.playModeDecided,lastProcessedChunkCount:this.lastProcessedChunkCount,lastKnownIsComplete:this.lastKnownIsComplete,internalStatus:this.internalStatus}),!this.playModeDecided&&e.audio_url&&(console.log("[StreamAudioPlayer] 切换到 URL 模式"),this.handleAudioUrlChange(e.audio_url)),e.audio_data&&Array.isArray(e.audio_data)&&e.audio_data.length>this.lastProcessedChunkCount&&(!this.playModeDecided||this.player.playMode==="stream")&&(console.log("[StreamAudioPlayer] 处理新的音频片段"),this.handleAudioDataChange(e.audio_data)),!!e.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 Db,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((e,t)=>{this.isDragging||(this.currentTime=e),this.duration=t,e>=t&&t>0&&!this.isGenerating&&(this.player.pause(),this.internalStatus="completed",this.currentTime=t)}),this.player.onDurationChange(e=>{this.duration=e}),this.player.onError(e=>{console.error("音频播放错误:",e),this.$emit("error",e)}),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(e){!this.player||!e||this.playModeDecided&&this.player.playMode!=="url"||(this.player.setAudioUrl(e),this.playModeDecided=!0,this.internalStatus="completed")},handleAudioDataChange(e){var r,n,i,a,o;if(!this.player||!e)return;this.playModeDecided=!0;const t=e.length-this.lastProcessedChunkCount;if(console.log("[StreamAudioPlayer.vue] handleAudioDataChange",{totalChunks:e.length,lastProcessedChunkCount:this.lastProcessedChunkCount,newChunksCount:t,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}),t<=0){console.log("[StreamAudioPlayer.vue] 没有新片段,跳过");return}(this.internalStatus==="disabled"||this.internalStatus==="pending")&&(this.internalStatus="generating");for(let s=this.lastProcessedChunkCount;s<e.length;s++){const u=e[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 e,t,r,n,i,a,o;console.log("[StreamAudioPlayer.vue] handleGenerationComplete",{playerAudioQueueLength:(t=(e=this.player)==null?void 0:e.audioQueue)==null?void 0:t.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(e){var t;if(!this.player){console.warn("播放器未初始化");return}try{typeof e=="string"?await this.player.addBase64Chunk(e):await this.player.addAudioChunk(e),this.$emit("chunk-added",{duration:this.duration,queueLength:((t=this.player.audioQueue)==null?void 0:t.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(e){console.error("播放控制错误:",e)}},handleDownload(){if(!this.canDownload)return;const e=this.audioData.audio_url,t=this.audioData.title||"音频文件",r=document.createElement("a");r.href=e,r.download=t,r.style.display="none",document.body.appendChild(r),r.click(),document.body.removeChild(r),this.$emit("audio-download",{url:e,fileName:t})},formatTime(e){if(!e||isNaN(e))return"00:00";const t=Math.floor(e/60),r=Math.floor(e%60);return`${t.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(e){this.isDisabled||!this.canSeek||this.seekToPosition(e)},handleDragStart(e){if(this.isDisabled||!this.canSeek)return;this.isDragging=!0,e.preventDefault();const t=n=>{this.seekToPosition(n)},r=()=>{this.isDragging=!1,this.isHoveringProgress||(this.isHoveringProgress=!1),document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",r),this.dragCleanup=null};this.dragCleanup=()=>{document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",r)},document.addEventListener("mousemove",t),document.addEventListener("mouseup",r)},seekToPosition(e){if(!this.player||!this.$refs.progressTrack)return;const r=this.$refs.progressTrack.getBoundingClientRect(),n=e.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 zN=function(){var t=this,r=t._self._c;return r("div",{staticClass:"stream-audio-player-card",class:t.cardClass,on:{mouseenter:t.handleMouseEnter,mouseleave:t.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:t.displayFileName}},[t._v(t._s(t.displayFileName))]),r("div",{staticClass:"file-status"},[r("span",{staticClass:"status-text",class:t.statusClass},[t._v(" "+t._s(t.statusText)+" ")])])]),r("div",{staticClass:"audio-controls"},[r("button",{staticClass:"control-btn download-btn",attrs:{disabled:!t.canDownload,title:t.downloadButtonTitle},on:{click:t.handleDownload}},[r("v-icon",{attrs:{name:"basic_download2_line",size:18}})],1),r("button",{staticClass:"control-btn play-btn",attrs:{disabled:!t.canPlay,title:t.playButtonTitle},on:{click:t.handlePlayPause}},[t.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:t.handleProgressMouseDown,mouseenter:t.handleProgressMouseEnter,mouseleave:t.handleProgressMouseLeave}},[t.isGenerating?t._e():r("div",{staticClass:"progress-played",class:{"no-transition":t.isDragging},style:{width:t.progressPercentage+"%"}}),t.showHandle?r("div",{staticClass:"progress-handle",class:{"no-transition":t.isDragging},style:{left:t.progressPercentage+"%"},on:{mousedown:function(n){return n.stopPropagation(),t.handleDragStart.apply(null,arguments)}}}):t._e()])])])},$N=[],GN=Cn(VN,zN,$N,!1,null,"c74077bd",null,null);const kb=GN.exports;let s1;const HN=new Uint8Array(16);function UN(){if(!s1&&(s1=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!s1))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s1(HN)}const St=[];for(let e=0;e<256;++e)St.push((e+256).toString(16).slice(1));function WN(e,t=0){return St[e[t+0]]+St[e[t+1]]+St[e[t+2]]+St[e[t+3]]+"-"+St[e[t+4]]+St[e[t+5]]+"-"+St[e[t+6]]+St[e[t+7]]+"-"+St[e[t+8]]+St[e[t+9]]+"-"+St[e[t+10]]+St[e[t+11]]+St[e[t+12]]+St[e[t+13]]+St[e[t+14]]+St[e[t+15]]}const qN=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),Up={randomUUID:qN};function Mb(e,t,r){if(Up.randomUUID&&!t&&!e)return Up.randomUUID();e=e||{};const n=e.random||(e.rng||UN)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let i=0;i<16;++i)t[r+i]=n[i];return t}return WN(n)}const ZN=["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 YN{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((t,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,t()}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(t=>{t.reject(new Error("Worker destroy"))}),this.callbacks.clear(),this.initializing=!1,this.initPromise=null}async parse({view:t,state:r,keyMap:n,componentNames:i=ZN}){return await this.init(),new Promise((a,o)=>{if(!this.worker){o(new Error("Worker not init"));return}const s=Mb();this.callbacks.set(s,{resolve:a,reject:o}),this.worker.postMessage({type:"parse",view:t,state:r||{},keyMap:n,componentNames:i||[],nonce:s})})}isInitialized(){return!!this.worker}}let u1=null;async function Eh(){return u1||(u1=new YN),await u1.init(),u1}class XN{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((t,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,t()}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(t=>{t.reject(new Error("Worker destroyed"))}),this.callbacks.clear(),this.initializing=!1,this.initPromise=null}async zodToJsonSchema({src:t,includeJSONSchema:r=!0}){return await this.init(),new Promise((n,i)=>{if(!this.worker){i(new Error("Worker not init"));return}const a=Mb();this.callbacks.set(a,{resolve:n,reject:i}),this.worker.postMessage({type:"parse",src:t,includeJSONSchema:r,nonce:a})})}async zodToJsonSchemaAsync(t){return await this.zodToJsonSchema({src:t,includeJSONSchema:!0})}isInitialized(){return!!this.worker}}let l1=null;async function Ib(){return l1||(l1=new XN),await l1.init(),l1}async function F0(e){const r=await(await Ib()).zodToJsonSchemaAsync(e);return{keyMap:r.keyMap,jsonSchema:JSON.stringify(r.jsonSchema,null,2)}}function jN(e,t){let r;try{r=JSON.parse(e)}catch(i){return console.warn(`unmarshal view failed, err: ${i}`),e}let n;try{n=JSON.parse(t)}catch(i){return console.warn(`unmarshal payload failed, err: ${i}`),e}kh(r,n);try{return JSON.stringify(r)}catch(i){return console.warn(`marshal view failed, err: ${i}`),e}}function kh(e,t){if(Array.isArray(e))for(let r=0;r<e.length;r++)kh(e[r],t);else if(e!==null&&typeof e=="object"){const r=e.name;if(typeof r=="string"){const n=typeof e.type=="string"?e.type:"unknown",i=KN(r,t);if(i.exists){const a=i.value;switch(n){case"DatePicker":e.defaultValue=a;break;case"Select":e.defaultValue=a;break;case"Checkbox":e.defaultChecked=a;break;case"RadioGroup":e.defaultValue=a;break;case"Input":e.defaultValue=a;break;case"Textarea":e.defaultValue=a;break;default:e.defaultValue=a}}}if(Array.isArray(e.children))for(let n=0;n<e.children.length;n++)kh(e.children[n],t)}}function KN(e,t){const r=e.split(".");let n=t;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 qc{constructor(){this.initPromise=null,this.initialized=!1,this._preload()}_preload(){return this.initPromise?this.initPromise:(this.initPromise=Promise.all([Eh(),Ib()]).then(()=>{this.initialized=!0,console.log("WidgetHelper: Workers 预加载完成")}).catch(t=>{console.warn("WidgetHelper: Workers 预加载失败:",t.message)}),this.initPromise)}async waitForReady(){this.initPromise&&await this.initPromise}isReady(){return this.initialized}async getTemplate(t){try{return""}catch(r){return console.warn("getTemplate 执行出错:",r.message),""}}async getPreview({view:t,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 F0(r);return await(await Eh()).parse({view:t,state:JSON.parse(n),keyMap:i})}catch(i){return console.warn("getPreview 执行出错:",i.message),""}}async getJsonSchema(t){try{await this.waitForReady();const{jsonSchema:r}=await F0(t);return r}catch(r){return console.warn("getJsonSchema 执行出错:",r.message),""}}genarateSnapshot(...t){return jN(...t)}decodeWidget(t){try{return JSON.parse(Buffer.from(t,"base64").toString()||"")}catch{return""}}}function QN(){return new qc}function JN(e){try{return jsxToJinja(e)}catch(t){return console.warn("getTemplate 执行出错:",t.message),""}}async function eO({view:e,schema:t,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 F0(t);return await(await Eh()).parse({view:e,state:JSON.parse(r),keyMap:n})}catch(n){return console.warn("getPreview 执行出错:",n.message),""}}async function tO(e){try{const{jsonSchema:t}=await F0(e);return t}catch(t){return console.warn("getJsonSchema 执行出错:",t.message),""}}const rO={data(){return{_widgetHelper:null}},created(){this._widgetHelper=new qc,this._widgetInstancesMap={},this._audioInstancesMap={},this._audioStateCache={}},methods:{_scaleWidgetIfNeeded(e,t){const r=this.widgetList&&this.widgetList.find(s=>s.widget_run_id===t),n=r&&r.scale,i=this._widgetInstancesMap[t],a=i&&i.instance&&i.instance.$el;if(!a)return;if(!n){e.style.width="",e.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){e.style.width="",e.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;e.style.width=`${s*o}px`,e.style.height=`${u*o}px`,a.style.transform=`scale(${o})`,a.style.transformOrigin="top left"}},async _mountWidgets(e){if(!this.showWidget)return;const t=e.querySelectorAll(".widget-container");for(const r of t){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=Mu.extend(Tb),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(e){if(!this.audioList||this.audioList.length===0)return;e.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=Mu.extend(kb),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)}})},_mountAll(e){this.$nextTick(()=>{this._mountWidgets(e),this._mountAudioPlayers(e)})},async _updateWidgets(e){if(!e)return;const t=this.$refs.containerRef,r=t&&(t.$el||t);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(e){e&&Object.keys(this._audioInstancesMap).forEach(t=>{const r=this._audioInstancesMap[t];if(!r||!r.instance)return;const n=e.find(s=>s.audioSymbolId===t);if(!n)return;const i=n.audio_data&&n.audio_data.length||0,a=!!n.isComplete,o=this._audioStateCache[t]||{length:0,isComplete:!1};(i!==o.length||a!==o.isComplete)&&(this._audioStateCache[t]={length:i,isComplete:a},r.instance.audioData=n)})},_destroyAllEmbedded(){Object.keys(this._widgetInstancesMap).forEach(e=>{try{this._widgetInstancesMap[e].instance.$destroy()}catch{}delete this._widgetInstancesMap[e]}),Object.keys(this._audioInstancesMap).forEach(e=>{try{this._audioInstancesMap[e].instance.$destroy()}catch{}delete this._audioInstancesMap[e]}),this._audioStateCache={}}},beforeDestroy(){this._destroyAllEmbedded()}},nO={methods:{_postrender(e){let t=e.replace(/&gt;/g,">").replace(/&lt;/g,"<").replace("CURSOR_POINT",'<span class="cursor"></span>');const r=document.createElement("div");return r.innerHTML=t,r.querySelectorAll("img").forEach(n=>{const i=Ab(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||q2(n):n.classList.add("hljs"),this.isFinal){this.incremental||Hp(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)}}),this.$emit("postrender",this.currentIndex,this.$refs.containerRef&&(this.$refs.containerRef.$el||this.$refs.containerRef),this.recordId),r.innerHTML.replace(/-->/g,"-->")},_onImageClick(e){this.$emit("imageClick",e)},_onDownloadCardClick(e,t){this.$emit("downloadCardClick",e,t)},_onMDRendered(e){e&&(this.incremental&&e.querySelectorAll("pre code:not(.language-mermaid)").forEach((t,r,n)=>{if(Array.from(t.classList).some(a=>a.startsWith("language-"))&&!t._highlighted&&(r===n.length-1&&!this.isFinal?q2(t):(q2(t),t._highlighted=!0)),this.isFinal&&!t._lineNumbered&&(Hp(t),t._lineNumbered=!0),!t.parentNode.querySelector(".code-language-label")&&t.result&&t.result.language){const a=document.createElement("div");a.className="code-language-label",this.codeHeaderRender?a.innerHTML=this.codeHeaderRender(t.result.language,this.content,r):a.textContent=t.result.language,t.parentNode.insertBefore(a,t)}}),this.isFinal?(this.incremental?e.querySelectorAll(".question-text img, .answer-md img").forEach(t=>{t._imgClickBound||(t.addEventListener("click",this._onImageClick),t._imgClickBound=!0)}):(e.querySelectorAll(".question-text img").forEach(t=>{t.removeEventListener("click",this._onImageClick),t.addEventListener("click",this._onImageClick)}),e.querySelectorAll(".answer-md img").forEach(t=>{t.removeEventListener("click",this._onImageClick),t.addEventListener("click",this._onImageClick)})),e.querySelectorAll(`.${this.clazzMd||"answer-md"} a`).forEach(t=>{t.setAttribute("target","_blank")}),e.querySelectorAll(".video-placeholder").forEach(t=>t.remove()),e.querySelectorAll("video").forEach(t=>{t.style.display="block"})):e.querySelectorAll(".video-placeholder").forEach(t=>{this.incremental&&t._videoPlaceholderSet||(t.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&&(t._videoPlaceholderSet=!0))}),this.showTags&&e.querySelectorAll(".tags-container").forEach(t=>{this.incremental&&t._tagClickBound||(this.incremental?(t.addEventListener("click",()=>this.$emit("littleTagClick",t,this.recordId)),t._tagClickBound=!0):(t.removeEventListener("click",this._tagClickHandler),t.addEventListener("click",()=>this.$emit("littleTagClick",t,this.recordId))))}),this.showDownloadCard&&e.querySelectorAll(".download-card").forEach(t=>{this.incremental&&t._downloadClickBound||(t.addEventListener("click",r=>{const n=r.currentTarget.getAttribute("data-file-id");this._onDownloadCardClick(n,r);try{r&&r.preventDefault&&r.preventDefault()}catch{}}),this.incremental&&(t._downloadClickBound=!0))}),this.isMermaidRenderAfterOutput?this.isFinal&&setTimeout(()=>{n1.onMermaidLoaded(()=>{n1.renderAll(e)})},0):setTimeout(()=>{n1.onMermaidLoaded(()=>{n1.renderAll(e)})},0),this._mountAll(e))}}};const iO={name:"MsgContent",components:{MDRender:oP},mixins:[SN,rO,nO],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}},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}}},watch:{content(e){this.clearTimer(),this.currentIndex=this.currentText.length,this.currentText=this._getProcessedContent(e),this.isPrintAnimate?this._startPrint():this.renderText=this.currentText},isFinal(e){e&&this.content&&(this.clearTimer(),this.currentText=this._getProcessedContent(this.content),this.renderText=this.currentText,this.currentIndex=this.currentText.length)},isMdExpand(e){e?this.currentText=Z2(this.content,this.processOptions):this.currentText=Z2((this.content||"").substr(0,3e3),this.processOptions),this.renderText=this.currentText,this.clearTimer(),this.currentIndex=this.currentText.length},widgetList:{handler(e){this._updateWidgets(e)},deep:!0},audioList:{handler(e){this._updateAudioPlayers(e)},deep:!0}},created(){this._init()},mounted(){YR()},beforeDestroy(){this.clearTimer(),this._destroyAllEmbedded()},methods:{_getProcessedContent(e){if(!e)return"";const t=this.isMdExpand===void 0||this.isMdExpand?1e6:1e4;return Z2(e.substr(0,t),this.processOptions)},_startPrint(){this.startCurrentTimer({printCount:this.printCount||1,printCountTime:this.printCountTime||16,hideCursorPoint:this.hideCursorPoint,isFinal:this.isFinal})},_init(){const e=this._getProcessedContent(this.content||"");this.currentText=e,!this.isPrintAnimate||this.isFinal?(this.renderText=e,this.currentIndex=e.length,this.clearTimer()):this._startPrint()}}};var aO=function(){var t=this,r=t._self._c;return r("div",{staticClass:"msg-content"},[t.loadingMessage?t._e():[r("MDRender",{ref:"containerRef",class:t.clazzMd||"answer-md",style:t.styleObj,attrs:{highlight:!0,"table-class":t.clazzTable||(t.isFinal?"table-style":"table"),source:t.renderText,"anchor-attributes":t.anchorAttributes||{target:"_blank"},linkify:t.linkify,incremental:t.incremental,postrender:t._postrender},on:{rendered:t._onMDRendered}})]],2)},oO=[],sO=Cn(iO,aO,oO,!1,null,null,null,null);const Lb=sO.exports,N4=Xn(Lb);const uO={name:"MsgThought",components:{VIcon:Wc},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:QL,innerDetailVisible:this.detailVisible,renderedContent:"",xssHandler:new $n.FilterXSS(KL)}},computed:{elapsedSeconds(){return this.elapsed?(this.elapsed/1e3).toFixed(1):0}},watch:{content:{immediate:!0,handler(e){const t=(e||"").replace(/^\n+/,"").replace(/\n/g,"<br>");this.renderedContent=this.xssHandler.process(t)}},detailVisible(e){this.innerDetailVisible=e}},methods:{onTitleClick(){const e=!this.innerDetailVisible;this.innerDetailVisible=e,this.$emit("update:detailVisible",e)}}};var lO=function(){var t=this,r=t._self._c;return r("div",{staticClass:"thought-clps-content"},[t.titleRender?r(t.titleRender,{tag:"component"}):t._e(),t.titleRender?t._e():r("div",{staticClass:"thought-title",on:{click:t.onTitleClick}},[r("div",{staticClass:"thought-title-container"},[r("img",{staticClass:"thought-title-icon",attrs:{src:t.titleIcon}}),r("span",{staticClass:"thought-title-name"},[t._v(" "+t._s(t.title)+" "),t.nodeName?r("span",{staticClass:"thought-clps-modellabel"},[t._v(" -"+t._s(t.nodeName)+" ")]):t._e()]),t.status===t.THOUGHT_STATUS.failed?r("v-icon",{style:{color:"#FF8345"},attrs:{name:"basic_warning_line",size:"16"}}):t._e(),t.status===t.THOUGHT_STATUS.success?r("v-icon",{style:{color:"#0FB87F"},attrs:{name:"basic_finish_line",size:"16"}}):t._e(),t.status===t.THOUGHT_STATUS.stop?r("v-icon",{style:{color:"rgba(1,11,50,0.41)"},attrs:{name:"basic_stop_line",size:"16"}}):t._e()],1),r("div",{staticClass:"thought-title-container thought-title-elapsed"},[r("span",[t._v(t._s(t.elapsedSeconds)+"s")]),r("v-icon",{staticClass:"thought__header__icon",attrs:{name:"arrow_down_small_line",rotate:t.innerDetailVisible?180:0,size:"12"}})],1)]),t.innerDetailVisible?r("div",{staticClass:"thought-detail"},[r("div",{staticClass:"question-text",class:{"question-text-mobile":t.isMobile},domProps:{innerHTML:t._s(t.renderedContent)}})]):t._e()],1)},cO=[],fO=Cn(uO,lO,cO,!1,null,"60c16159",null,null);const hO=fO.exports,O4=Xn(hO);/*! *****************************************************************************
|
|
52
|
+
Copyright (c) Microsoft Corporation.
|
|
53
|
+
|
|
54
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
55
|
+
purpose with or without fee is hereby granted.
|
|
56
|
+
|
|
57
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
58
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
59
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
60
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
61
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
62
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
63
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
64
|
+
***************************************************************************** */var Mh=function(e,t){return Mh=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])},Mh(e,t)};function F(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Mh(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var dO=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),pO=function(){function e(){this.browser=new dO,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 e}(),li=new pO;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(li.wxa=!0,li.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?li.worker=!0:!li.hasGlobalWindow||"Deno"in window?(li.node=!0,li.svgSupported=!0):vO(navigator.userAgent,li);function vO(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);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),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}const De=li;var B4=12,Pb="sans-serif",Li=B4+"px "+Pb,gO=20,mO=100,yO="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function _O(e){var t={};if(typeof JSON>"u")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-gO)/mO;t[n]=i}return t}var bO=_O(yO),Pi={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(r,n){if(!e){var i=Pi.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||Li),e.measureText(r);r=r||"",n=n||Li;var a=/((?:\d+)?\.?\d*)px/.exec(n),o=a&&+a[1]||B4,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var u=0;u<r.length;u++){var l=bO[r[u]];s+=l==null?o:l*o}return{width:s}}}(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},Rb=mn(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),Nb=mn(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),bs=Object.prototype.toString,Zc=Array.prototype,xO=Zc.forEach,wO=Zc.filter,F4=Zc.slice,SO=Zc.map,Wp=(function(){}).constructor,c1=Wp?Wp.prototype:null,V4="__proto__",CO=2311;function Ob(){return CO++}function Wr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function oe(e){if(e==null||typeof e!="object")return e;var t=e,r=bs.call(e);if(r==="[object Array]"){if(!Lu(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=oe(e[n])}}else if(Nb[r]){if(!Lu(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!Rb[r]&&!Lu(e)&&!Za(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==V4&&(t[o]=oe(e[o]))}return t}function ge(e,t,r){if(!ne(t)||!ne(e))return r?oe(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==V4){var i=e[n],a=t[n];ne(a)&&ne(i)&&!G(a)&&!G(i)&&!Za(a)&&!Za(i)&&!qp(a)&&!qp(i)&&!Lu(a)&&!Lu(i)?ge(i,a,r):(r||!(n in e))&&(e[n]=oe(t[n]))}return e}function z4(e,t){for(var r=e[0],n=1,i=e.length;n<i;n++)r=ge(r,e[n],t);return r}function $(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==V4&&(e[r]=t[r]);return e}function ae(e,t,r){for(var n=Se(t),i=0,a=n.length;i<a;i++){var o=n[i];(r?t[o]!=null:e[o]==null)&&(e[o]=t[o])}return e}function _e(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r}return-1}function AO(e,t){var r=e.prototype;function n(){}n.prototype=t.prototype,e.prototype=new n;for(var i in r)r.hasOwnProperty(i)&&(e.prototype[i]=r[i]);e.prototype.constructor=e,e.superClass=t}function ft(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){var a=n[i];a!=="constructor"&&(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else ae(e,t,r)}function Ft(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function E(e,t,r){if(e&&t)if(e.forEach&&e.forEach===xO)e.forEach(t,r);else if(e.length===+e.length)for(var n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(r,e[a],a,e)}function H(e,t,r){if(!e)return[];if(!t)return $4(e);if(e.map&&e.map===SO)return e.map(t,r);for(var n=[],i=0,a=e.length;i<a;i++)n.push(t.call(r,e[i],i,e));return n}function mn(e,t,r,n){if(e&&t){for(var i=0,a=e.length;i<a;i++)r=t.call(n,r,e[i],i,e);return r}}function Ne(e,t,r){if(!e)return[];if(!t)return $4(e);if(e.filter&&e.filter===wO)return e.filter(t,r);for(var n=[],i=0,a=e.length;i<a;i++)t.call(r,e[i],i,e)&&n.push(e[i]);return n}function TO(e,t,r){if(e&&t){for(var n=0,i=e.length;n<i;n++)if(t.call(r,e[n],n,e))return e[n]}}function Se(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function DO(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return e.apply(t,r.concat(F4.call(arguments)))}}var X=c1&&te(c1.bind)?c1.call.bind(c1.bind):DO;function ve(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(){return e.apply(this,t.concat(F4.call(arguments)))}}function G(e){return Array.isArray?Array.isArray(e):bs.call(e)==="[object Array]"}function te(e){return typeof e=="function"}function Z(e){return typeof e=="string"}function V0(e){return bs.call(e)==="[object String]"}function Me(e){return typeof e=="number"}function ne(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function qp(e){return!!Rb[bs.call(e)]}function qt(e){return!!Nb[bs.call(e)]}function Za(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function Yc(e){return e.colorStops!=null}function EO(e){return e.image!=null}function Bb(e){return bs.call(e)==="[object RegExp]"}function Ya(e){return e!==e}function ut(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e.length;r<n;r++)if(e[r]!=null)return e[r]}function fe(e,t){return e??t}function kr(e,t,r){return e??t??r}function $4(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return F4.apply(e,t)}function G4(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function ie(e,t){if(!e)throw new Error(t)}function Hr(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Fb="__ec_primitive__";function z0(e){e[Fb]=!0}function Lu(e){return e[Fb]}var kO=function(){function e(){this.data={}}return e.prototype.delete=function(t){var r=this.has(t);return r&&delete this.data[t],r},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,r){return this.data[t]=r,this},e.prototype.keys=function(){return Se(this.data)},e.prototype.forEach=function(t){var r=this.data;for(var n in r)r.hasOwnProperty(n)&&t(r[n],n)},e}(),Vb=typeof Map=="function";function MO(){return Vb?new Map:new kO}var IO=function(){function e(t){var r=G(t);this.data=MO();var n=this;t instanceof e?t.each(i):t&&E(t,i);function i(a,o){r?n.set(a,o):n.set(o,a)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,r){return this.data.set(t,r),r},e.prototype.each=function(t,r){this.data.forEach(function(n,i){t.call(r,n,i)})},e.prototype.keys=function(){var t=this.data.keys();return Vb?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e}();function J(e){return new IO(e)}function el(e,t){for(var r=new e.constructor(e.length+t.length),n=0;n<e.length;n++)r[n]=e[n];for(var i=e.length,n=0;n<t.length;n++)r[n+i]=t[n];return r}function Xc(e,t){var r;if(Object.create)r=Object.create(e);else{var n=function(){};n.prototype=e,r=new n}return t&&$(r,t),r}function zb(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function j(e,t){return e.hasOwnProperty(t)}function at(){}var d0=180/Math.PI;function io(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function $t(e,t){return e[0]=t[0],e[1]=t[1],e}function Nn(e){return[e[0],e[1]]}function LO(e,t,r){return e[0]=t,e[1]=r,e}function Zp(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function Ih(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e}function Ea(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function Lh(e){return Math.sqrt(PO(e))}function PO(e){return e[0]*e[0]+e[1]*e[1]}function p0(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function xs(e,t){var r=Lh(t);return r===0?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function Ph(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var _i=Ph;function RO(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var Ba=RO;function v0(e,t,r,n){return e[0]=t[0]+n*(r[0]-t[0]),e[1]=t[1]+n*(r[1]-t[1]),e}function At(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[2]*i+r[4],e[1]=r[1]*n+r[3]*i+r[5],e}function bi(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function xi(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var yo=function(){function e(t,r){this.target=t,this.topTarget=r&&r.topTarget}return e}(),NO=function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new yo(r,t),"dragstart",t.event))},e.prototype._drag=function(t){var r=this._draggingTarget;if(r){var n=t.offsetX,i=t.offsetY,a=n-this._x,o=i-this._y;this._x=n,this._y=i,r.drift(a,o,t),this.handler.dispatchToElement(new yo(r,t),"drag",t.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 yo(u,t),"dragleave",t.event),s&&s!==u&&this.handler.dispatchToElement(new yo(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new yo(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new yo(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e}();const OO=NO;var BO=function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,r,n,i){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof r=="function"&&(i=n,n=r,r=null),!n||!t)return this;var o=this._$eventProcessor;r!=null&&o&&o.normalizeQuery&&(r=o.normalizeQuery(r)),a[t]||(a[t]=[]);for(var s=0;s<a[t].length;s++)if(a[t][s].h===n)return this;var u={h:n,query:r,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=a[t].length-1,c=a[t][l];return c&&c.callAtLast?a[t].splice(l,0,u):a[t].push(u),this},e.prototype.isSilent=function(t){var r=this._$handlers;return!r||!r[t]||!r[t].length},e.prototype.off=function(t,r){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(r){if(n[t]){for(var i=[],a=0,o=n[t].length;a<o;a++)n[t][a].h!==r&&i.push(n[t][a]);n[t]=i}n[t]&&n[t].length===0&&delete n[t]}else delete n[t];return this},e.prototype.trigger=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],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(t,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(t),this},e.prototype.triggerWithContext=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],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(t,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(t),this},e}();const Rr=BO;var FO=Math.log(2);function Rh(e,t,r,n,i,a){var o=n+"-"+i,s=e.length;if(a.hasOwnProperty(o))return a[o];if(t===1){var u=Math.round(Math.log((1<<s)-1&~i)/FO);return e[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)*e[r][h]*Rh(e,t-1,c,l,i|p,a),d++)}return a[o]=f,f}function Yp(e,t){var r=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],n={},i=Rh(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)*Rh(r,7,o===0?1:0,1<<o,1<<s,n)/i*t[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 Xp="___zrEVENTSAVED",X2=[];function VO(e,t,r,n,i){return Nh(X2,t,n,i,!0)&&Nh(e,r,X2[0],X2[1])}function Nh(e,t,r,n,i){if(t.getBoundingClientRect&&De.domSupported&&!$b(t)){var a=t[Xp]||(t[Xp]={}),o=zO(t,a),s=$O(o,a,i);if(s)return s(e,r,n),!0}return!1}function zO(e,t){var r=t.markers;if(r)return r;r=t.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;"),e.appendChild(o),r.push(o)}return r}function $O(e,t,r){for(var n=r?"invTrans":"trans",i=t[n],a=t.srcCoords,o=[],s=[],u=!0,l=0;l<4;l++){var c=e[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(e[l].offsetLeft,e[l].offsetTop)}return u&&i?i:(t.srcCoords=o,t[n]=r?Yp(s,o):Yp(o,s))}function $b(e){return e.nodeName.toUpperCase()==="CANVAS"}var GO=/([&<>"'])/g,HO={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ot(e){return e==null?"":(e+"").replace(GO,function(t,r){return HO[r]})}var UO=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,j2=[],WO=De.browser.firefox&&+De.browser.version.split(".")[0]<39;function Oh(e,t,r,n){return r=r||{},n?jp(e,t,r):WO&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):jp(e,t,r),r}function jp(e,t,r){if(De.domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if($b(e)){var a=e.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(Nh(j2,e,n,i)){r.zrX=j2[0],r.zrY=j2[1];return}}r.zrX=r.zrY=0}function H4(e){return e||window.event}function br(e,t,r){if(t=H4(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&Oh(e,o,t,r)}else{Oh(e,t,t,r);var a=qO(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&UO.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function qO(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function Bh(e,t,r,n){e.addEventListener(t,r,n)}function ZO(e,t,r,n){e.removeEventListener(t,r,n)}var Gn=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function Kp(e){return e.which===2||e.which===3}var YO=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:r,event:t},o=0,s=i.length;o<s;o++){var u=i[o],l=Oh(n,u,{});a.points.push([l.zrX,l.zrY]),a.touches.push(u)}this._track.push(a)}},e.prototype._recognize=function(t){for(var r in K2)if(K2.hasOwnProperty(r)){var n=K2[r](this._track,t);if(n)return n}},e}();function Qp(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function XO(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var K2={pinch:function(e,t){var r=e.length;if(r){var n=(e[r-1]||{}).points,i=(e[r-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var a=Qp(n)/Qp(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=XO(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function lr(){return[1,0,0,1,0,0]}function jc(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function U4(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function On(e,t,r){var n=t[0]*r[0]+t[2]*r[1],i=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],u=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=u,e}function yn(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function ao(e,t,r,n){n===void 0&&(n=[0,0]);var i=t[0],a=t[2],o=t[4],s=t[1],u=t[3],l=t[5],c=Math.sin(r),f=Math.cos(r);return e[0]=i*f+s*c,e[1]=-i*c+s*f,e[2]=a*f+u*c,e[3]=-a*c+f*u,e[4]=f*(o-n[0])+c*(l-n[1])+n[0],e[5]=f*(l-n[1])-c*(o-n[0])+n[1],e}function W4(e,t,r){var n=r[0],i=r[1];return e[0]=t[0]*n,e[1]=t[1]*i,e[2]=t[2]*n,e[3]=t[3]*i,e[4]=t[4]*n,e[5]=t[5]*i,e}function ws(e,t){var r=t[0],n=t[2],i=t[4],a=t[1],o=t[3],s=t[5],u=r*o-a*n;return u?(u=1/u,e[0]=o*u,e[1]=-a*u,e[2]=-n*u,e[3]=r*u,e[4]=(n*s-o*i)*u,e[5]=(a*i-r*s)*u,e):null}function jO(e){var t=lr();return U4(t,e),t}var KO=function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,i){t.x=r.x+n.x*i,t.y=r.y+n.y*i},e.lerp=function(t,r,n,i){var a=1-i;t.x=a*r.x+i*n.x,t.y=a*r.y+i*n.y},e}();const me=KO;var f1=Math.min,h1=Math.max,Zi=new me,Yi=new me,Xi=new me,ji=new me,Gs=new me,Hs=new me,QO=function(){function e(t,r,n,i){n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),this.x=t,this.y=r,this.width=n,this.height=i}return e.prototype.union=function(t){var r=f1(t.x,this.x),n=f1(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=h1(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=h1(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,n=t.width/r.width,i=t.height/r.height,a=lr();return yn(a,a,[-r.x,-r.y]),W4(a,a,[n,i]),yn(a,a,[t.x,t.y]),a},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var n=this,i=n.x,a=n.x+n.width,o=n.y,s=n.y+n.height,u=t.x,l=t.x+t.width,c=t.y,f=t.y+t.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(Hs,-v,0):me.set(Hs,g,0)):_<d&&(d=_,v<g?me.set(Gs,v,0):me.set(Gs,-g,0)),s<c||f<o?b>p&&(p=b,m<y?me.set(Hs,0,-m):me.set(Hs,0,y)):_<d&&(d=_,m<y?me.set(Gs,0,m):me.set(Gs,0,-y))}return r&&me.copy(r,h?Gs:Hs),h},e.prototype.contain=function(t,r){var n=this;return t>=n.x&&t<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,n){if(!n){t!==r&&e.copy(t,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];t.x=r.x*i+o,t.y=r.y*a+s,t.width=r.width*i,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Zi.x=Xi.x=r.x,Zi.y=ji.y=r.y,Yi.x=ji.x=r.x+r.width,Yi.y=Xi.y=r.y+r.height,Zi.transform(n),ji.transform(n),Yi.transform(n),Xi.transform(n),t.x=f1(Zi.x,Yi.x,Xi.x,ji.x),t.y=f1(Zi.y,Yi.y,Xi.y,ji.y);var u=h1(Zi.x,Yi.x,Xi.x,ji.x),l=h1(Zi.y,Yi.y,Xi.y,ji.y);t.width=u-t.x,t.height=l-t.y},e}();const ye=QO;var Gb="silent";function JO(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.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:eB}}function eB(){Gn(this.event)}var tB=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Rr),Us=function(){function e(t,r){this.x=t,this.y=r}return e}(),rB=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Q2=new ye(0,0,0,0),Hb=function(e){F(t,e);function t(r,n,i,a,o){var s=e.call(this)||this;return s._hovered=new Us(0,0),s.storage=r,s.painter=n,s.painterRoot=a,s._pointerSize=o,i=i||new tB,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new OO(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(E(rB,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var n=r.zrX,i=r.zrY,a=Ub(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 Us(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)},t.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})},t.prototype.resize=function(){this._hovered=new Us(0,0)},t.prototype.dispatch=function(r,n){var i=this[r];i&&i.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},t.prototype.dispatchToElement=function(r,n,i){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+n,s=JO(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)}))}},t.prototype.findHover=function(r,n,i){var a=this.storage.getDisplayList(),o=new Us(r,n);if(Jp(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)&&(Q2.copy(h.getBoundingRect()),h.transform&&Q2.applyTransform(h.transform),Q2.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(Jp(s,o,y,_,i),o.target)return o}}return o},t.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new YO);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 Us;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t}(Rr);E(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){Hb.prototype[e]=function(t){var r=t.zrX,n=t.zrY,i=Ub(this,r,n),a,o;if((e!=="mouseup"||!i)&&(a=this.findHover(r,n),o=a.target),e==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(e==="mouseup")this._upEl=o;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||_i(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function nB(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(t,r))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s||n.parent}return i?Gb:!0}return!1}function Jp(e,t,r,n,i){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==i&&!o.ignore&&(s=nB(o,r,n))&&(!t.topTarget&&(t.topTarget=o),s!==Gb)){t.target=o;break}}}function Ub(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}const iB=Hb;var Wb=32,Ws=7;function aB(e){for(var t=0;e>=Wb;)t|=e&1,e>>=1;return e+t}function ev(e,t,r,n){var i=t+1;if(i===r)return 1;if(n(e[i++],e[t])<0){for(;i<r&&n(e[i],e[i-1])<0;)i++;oB(e,t,i)}else for(;i<r&&n(e[i],e[i-1])>=0;)i++;return i-t}function oB(e,t,r){for(r--;t<r;){var n=e[t];e[t++]=e[r],e[r--]=n}}function tv(e,t,r,n,i){for(n===t&&n++;n<r;n++){for(var a=e[n],o=t,s=n,u;o<s;)u=o+s>>>1,i(a,e[u])<0?s=u:o=u+1;var l=n-o;switch(l){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;l>0;)e[o+l]=e[o+l-1],l--}e[o]=a}}function J2(e,t,r,n,i,a){var o=0,s=0,u=1;if(a(e,t[r+i])>0){for(s=n-i;u<s&&a(e,t[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(e,t[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(e,t[r+c])>0?o=c+1:u=c}return u}function ef(e,t,r,n,i,a){var o=0,s=0,u=1;if(a(e,t[r+i])<0){for(s=i+1;u<s&&a(e,t[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(e,t[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(e,t[r+c])<0?u=c:o=c+1}return u}function sB(e,t){var r=Ws,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=ef(e[g],e,p,v,0,t);p+=y,v-=y,v!==0&&(m=J2(e[p+v-1],e,g,m,m-1,t),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]=e[d+m];var y=0,_=v,b=d;if(e[b++]=e[_++],--g===0){for(m=0;m<p;m++)e[b+m]=o[y+m];return}if(p===1){for(m=0;m<g;m++)e[b+m]=e[_+m];e[b+g]=o[y];return}for(var x=r,w,S,C;;){w=0,S=0,C=!1;do if(t(e[_],o[y])<0){if(e[b++]=e[_++],S++,w=0,--g===0){C=!0;break}}else if(e[b++]=o[y++],w++,S=0,--p===1){C=!0;break}while((w|S)<x);if(C)break;do{if(w=ef(e[_],o,y,p,0,t),w!==0){for(m=0;m<w;m++)e[b+m]=o[y+m];if(b+=w,y+=w,p-=w,p<=1){C=!0;break}}if(e[b++]=e[_++],--g===0){C=!0;break}if(S=J2(o[y],e,_,g,0,t),S!==0){for(m=0;m<S;m++)e[b+m]=e[_+m];if(b+=S,_+=S,g-=S,g===0){C=!0;break}}if(e[b++]=o[y++],--p===1){C=!0;break}x--}while(w>=Ws||S>=Ws);if(C)break;x<0&&(x=0),x+=2}if(r=x,r<1&&(r=1),p===1){for(m=0;m<g;m++)e[b+m]=e[_+m];e[b+g]=o[y]}else{if(p===0)throw new Error;for(m=0;m<p;m++)e[b+m]=o[y+m]}}function h(d,p,v,g){var m=0;for(m=0;m<g;m++)o[m]=e[v+m];var y=d+p-1,_=g-1,b=v+g-1,x=0,w=0;if(e[b--]=e[y--],--p===0){for(x=b-(g-1),m=0;m<g;m++)e[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--)e[w+m]=e[x+m];e[b]=o[_];return}for(var S=r;;){var C=0,A=0,T=!1;do if(t(o[_],e[y])<0){if(e[b--]=e[y--],C++,A=0,--p===0){T=!0;break}}else if(e[b--]=o[_--],A++,C=0,--g===1){T=!0;break}while((C|A)<S);if(T)break;do{if(C=p-ef(o[_],e,d,p,p-1,t),C!==0){for(b-=C,y-=C,p-=C,w=b+1,x=y+1,m=C-1;m>=0;m--)e[w+m]=e[x+m];if(p===0){T=!0;break}}if(e[b--]=o[_--],--g===1){T=!0;break}if(A=g-J2(e[y],o,0,g,g-1,t),A!==0){for(b-=A,_-=A,g-=A,w=b+1,x=_+1,m=0;m<A;m++)e[w+m]=o[x+m];if(g<=1){T=!0;break}}if(e[b--]=e[y--],--p===0){T=!0;break}S--}while(C>=Ws||A>=Ws);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--)e[w+m]=e[x+m];e[b]=o[_]}else{if(g===0)throw new Error;for(x=b-(g-1),m=0;m<g;m++)e[x+m]=o[m]}}return{mergeRuns:u,forceMergeRuns:l,pushRun:s}}function g0(e,t,r,n){r||(r=0),n||(n=e.length);var i=n-r;if(!(i<2)){var a=0;if(i<Wb){a=ev(e,r,n,t),tv(e,r,n,r+a,t);return}var o=sB(e,t),s=aB(i);do{if(a=ev(e,r,n,t),a<s){var u=i;u>s&&(u=s),tv(e,r,r+u,r+a,t),a=u}o.pushRun(r,a),o.mergeRuns(),i-=a,r+=a}while(i!==0);o.forceMergeRuns()}}var sr=1,mu=2,Ho=4,rv=!1;function tf(){rv||(rv=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function nv(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var uB=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=nv}return e.prototype.traverse=function(t,r){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,r)},e.prototype.getDisplayList=function(t,r){r=r||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(r),n},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var r=this._roots,n=this._displayList,i=0,a=r.length;i<a;i++)this._updateAndAddDisplayable(r[i],null,t);n.length=this._displayListLen,g0(n,nv)},e.prototype._updateAndAddDisplayable=function(t,r,n){if(!(t.ignore&&!n)){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)r=null;else if(i){r?r=r.slice():r=[];for(var a=i,o=t;a;)a.parent=o,a.updateTransform(),r.push(a),o=a,a=a.getClipPath()}if(t.childrenRef){for(var s=t.childrenRef(),u=0;u<s.length;u++){var l=s[u];t.__dirty&&(l.__dirty|=sr),this._updateAndAddDisplayable(l,r,n)}t.__dirty=0}else{var c=t;r&&r.length?c.__clipPaths=r:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(tf(),c.z=0),isNaN(c.z2)&&(tf(),c.z2=0),isNaN(c.zlevel)&&(tf(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,r,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,r,n);var d=t.getTextContent();d&&this._updateAndAddDisplayable(d,r,n)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,n=t.length;r<n;r++)this.delRoot(t[r]);return}var i=_e(this._roots,t);i>=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}();const lB=uB;var qb;qb=De.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};const Fh=qb;var m0={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-m0.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?m0.bounceIn(e*2)*.5:m0.bounceOut(e*2-1)*.5+.5}};const Zb=m0;var d1=Math.pow,Ei=Math.sqrt,$0=1e-8,Yb=1e-4,iv=Ei(3),p1=1/3,un=io(),Cr=io(),es=io();function wi(e){return e>-$0&&e<$0}function Xb(e){return e>$0||e<-$0}function pt(e,t,r,n,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*n+3*a*r)}function av(e,t,r,n,i){var a=1-i;return 3*(((t-e)*a+2*(r-t)*i)*a+(n-r)*i*i)}function G0(e,t,r,n,i,a){var o=n+3*(t-r)-e,s=3*(r-t*2+e),u=3*(t-e),l=e-i,c=s*s-3*o*u,f=s*u-9*o*l,h=u*u-3*s*l,d=0;if(wi(c)&&wi(f))if(wi(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(wi(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=Ei(v),_=c*s+1.5*o*(-f+y),b=c*s+1.5*o*(-f-y);_<0?_=-d1(-_,p1):_=d1(_,p1),b<0?b=-d1(-b,p1):b=d1(b,p1);var p=(-s-(_+b))/(3*o);p>=0&&p<=1&&(a[d++]=p)}else{var x=(2*c*s-3*o*f)/(2*Ei(c*c*c)),w=Math.acos(x)/3,S=Ei(c),C=Math.cos(w),p=(-s-2*S*C)/(3*o),m=(-s+S*(C+iv*Math.sin(w)))/(3*o),A=(-s+S*(C-iv*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 jb(e,t,r,n,i){var a=6*r-12*t+6*e,o=9*t+3*n-3*e-9*r,s=3*t-3*e,u=0;if(wi(o)){if(Xb(a)){var l=-s/a;l>=0&&l<=1&&(i[u++]=l)}}else{var c=a*a-4*o*s;if(wi(c))i[0]=-a/(2*o);else if(c>0){var f=Ei(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 Ri(e,t,r,n,i,a){var o=(t-e)*i+e,s=(r-t)*i+t,u=(n-r)*i+r,l=(s-o)*i+o,c=(u-s)*i+s,f=(c-l)*i+l;a[0]=e,a[1]=o,a[2]=l,a[3]=f,a[4]=f,a[5]=c,a[6]=u,a[7]=n}function Kb(e,t,r,n,i,a,o,s,u,l,c){var f,h=.005,d=1/0,p,v,g,m;un[0]=u,un[1]=l;for(var y=0;y<1;y+=.05)Cr[0]=pt(e,r,i,o,y),Cr[1]=pt(t,n,a,s,y),g=Ba(un,Cr),g<d&&(f=y,d=g);d=1/0;for(var _=0;_<32&&!(h<Yb);_++)p=f-h,v=f+h,Cr[0]=pt(e,r,i,o,p),Cr[1]=pt(t,n,a,s,p),g=Ba(Cr,un),p>=0&&g<d?(f=p,d=g):(es[0]=pt(e,r,i,o,v),es[1]=pt(t,n,a,s,v),m=Ba(es,un),v<=1&&m<d?(f=v,d=m):h*=.5);return c&&(c[0]=pt(e,r,i,o,f),c[1]=pt(t,n,a,s,f)),Ei(d)}function cB(e,t,r,n,i,a,o,s,u){for(var l=e,c=t,f=0,h=1/u,d=1;d<=u;d++){var p=d*h,v=pt(e,r,i,o,p),g=pt(t,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(e,t,r,n){var i=1-n;return i*(i*e+2*n*t)+n*n*r}function Vh(e,t,r,n){return 2*((1-n)*(t-e)+n*(r-t))}function fB(e,t,r,n,i){var a=e-2*t+r,o=2*(t-e),s=e-n,u=0;if(wi(a)){if(Xb(o)){var l=-s/o;l>=0&&l<=1&&(i[u++]=l)}}else{var c=o*o-4*a*s;if(wi(c)){var l=-o/(2*a);l>=0&&l<=1&&(i[u++]=l)}else if(c>0){var f=Ei(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 Qb(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function tl(e,t,r,n,i){var a=(t-e)*n+e,o=(r-t)*n+t,s=(o-a)*n+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=r}function Jb(e,t,r,n,i,a,o,s,u){var l,c=.005,f=1/0;un[0]=o,un[1]=s;for(var h=0;h<1;h+=.05){Cr[0]=_t(e,r,i,h),Cr[1]=_t(t,n,a,h);var d=Ba(un,Cr);d<f&&(l=h,f=d)}f=1/0;for(var p=0;p<32&&!(c<Yb);p++){var v=l-c,g=l+c;Cr[0]=_t(e,r,i,v),Cr[1]=_t(t,n,a,v);var d=Ba(Cr,un);if(v>=0&&d<f)l=v,f=d;else{es[0]=_t(e,r,i,g),es[1]=_t(t,n,a,g);var m=Ba(es,un);g<=1&&m<f?(l=g,f=m):c*=.5}}return u&&(u[0]=_t(e,r,i,l),u[1]=_t(t,n,a,l)),Ei(f)}function hB(e,t,r,n,i,a,o){for(var s=e,u=t,l=0,c=1/o,f=1;f<=o;f++){var h=f*c,d=_t(e,r,i,h),p=_t(t,n,a,h),v=d-s,g=p-u;l+=Math.sqrt(v*v+g*g),s=d,u=p}return l}var dB=/cubic-bezier\(([0-9,\.e ]+)\)/;function q4(e){var t=e&&dB.exec(e);if(t){var r=t[1].split(","),n=+Hr(r[0]),i=+Hr(r[1]),a=+Hr(r[2]),o=+Hr(r[3]);if(isNaN(n+i+a+o))return;var s=[];return function(u){return u<=0?0:u>=1?1:G0(0,n,a,1,u,s)&&pt(0,i,o,1,s[0])}}}var pB=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||at,this.ondestroy=t.ondestroy||at,this.onrestart=t.onrestart||at,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=t-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=t-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=te(t)?t:Zb[t]||q4(t)},e}();const vB=pB;var ex=function(){function e(t){this.value=t}return e}(),gB=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new ex(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),mB=function(){function e(t){this._list=new gB,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var n=this._list,i=this._map,a=null;if(i[t]==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 ex(r),s.key=t,n.insertEntry(s),i[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}();const kl=mB;var ov={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 qr(e){return e=Math.round(e),e<0?0:e>255?255:e}function yB(e){return e=Math.round(e),e<0?0:e>360?360:e}function rl(e){return e<0?0:e>1?1:e}function rf(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?qr(parseFloat(t)/100*255):qr(parseInt(t,10))}function Fa(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?rl(parseFloat(t)/100):rl(parseFloat(t))}function nf(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function Si(e,t,r){return e+(t-e)*r}function yr(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function zh(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var tx=new kl(20),v1=null;function _o(e,t){v1&&zh(v1,t),v1=tx.put(e,v1||t.slice())}function cr(e,t){if(e){t=t||[];var r=tx.get(e);if(r)return zh(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in ov)return zh(t,ov[n]),_o(e,t),t;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)){yr(t,0,0,0,1);return}return yr(t,(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),_o(e,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){yr(t,0,0,0,1);return}return yr(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),_o(e,t),t}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?yr(t,+l[0],+l[1],+l[2],1):yr(t,0,0,0,1);c=Fa(l.pop());case"rgb":if(l.length>=3)return yr(t,rf(l[0]),rf(l[1]),rf(l[2]),l.length===3?c:Fa(l[3])),_o(e,t),t;yr(t,0,0,0,1);return;case"hsla":if(l.length!==4){yr(t,0,0,0,1);return}return l[3]=Fa(l[3]),$h(l,t),_o(e,t),t;case"hsl":if(l.length!==3){yr(t,0,0,0,1);return}return $h(l,t),_o(e,t),t;default:return}}yr(t,0,0,0,1)}}function $h(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=Fa(e[1]),i=Fa(e[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],yr(t,qr(nf(o,a,r+1/3)*255),qr(nf(o,a,r)*255),qr(nf(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function _B(e){if(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,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-t)/6+o/2)/o,f=((a-r)/6+o/2)/o,h=((a-n)/6+o/2)/o;t===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 e[3]!=null&&d.push(e[3]),d}}function Gh(e,t){var r=cr(e);if(r){for(var n=0;n<3;n++)t<0?r[n]=r[n]*(1-t)|0:r[n]=(255-r[n])*t+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return Bn(r,r.length===4?"rgba":"rgb")}}function af(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){r=r||[];var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=t[i],s=t[a],u=n-i;return r[0]=qr(Si(o[0],s[0],u)),r[1]=qr(Si(o[1],s[1],u)),r[2]=qr(Si(o[2],s[2],u)),r[3]=rl(Si(o[3],s[3],u)),r}}function bB(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=cr(t[i]),s=cr(t[a]),u=n-i,l=Bn([qr(Si(o[0],s[0],u)),qr(Si(o[1],s[1],u)),qr(Si(o[2],s[2],u)),rl(Si(o[3],s[3],u))],"rgba");return r?{color:l,leftIndex:i,rightIndex:a,value:n}:l}}function Pu(e,t,r,n){var i=cr(e);if(e)return i=_B(i),t!=null&&(i[0]=yB(t)),r!=null&&(i[1]=Fa(r)),n!=null&&(i[2]=Fa(n)),Bn($h(i),"rgba")}function H0(e,t){var r=cr(e);if(r&&t!=null)return r[3]=rl(t),Bn(r,"rgba")}function Bn(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function U0(e,t){var r=cr(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var sv=new kl(100);function Hh(e){if(Z(e)){var t=sv.get(e);return t||(t=Gh(e,-.1),sv.put(e,t)),t}else if(Yc(e)){var r=$({},e);return r.colorStops=H(e.colorStops,function(n){return{offset:n.offset,color:Gh(n.color,-.1)}}),r}return e}var W0=Math.round;function nl(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var r=cr(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:e,opacity:t??1}}var uv=1e-4;function Ci(e){return e<uv&&e>-uv}function g1(e){return W0(e*1e3)/1e3}function Uh(e){return W0(e*1e4)/1e4}function xB(e){return"matrix("+g1(e[0])+","+g1(e[1])+","+g1(e[2])+","+g1(e[3])+","+Uh(e[4])+","+Uh(e[5])+")"}var wB={left:"start",right:"end",center:"middle",middle:"middle"};function SB(e,t,r){return r==="top"?e+=t/2:r==="bottom"&&(e-=t/2),e}function CB(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function AB(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function rx(e){return e&&!!e.image}function TB(e){return e&&!!e.svgElement}function Z4(e){return rx(e)||TB(e)}function nx(e){return e.type==="linear"}function ix(e){return e.type==="radial"}function ax(e){return e&&(e.type==="linear"||e.type==="radial")}function Kc(e){return"url(#"+e+")"}function ox(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function sx(e){var t=e.x||0,r=e.y||0,n=(e.rotation||0)*d0,i=fe(e.scaleX,1),a=fe(e.scaleY,1),o=e.skewX||0,s=e.skewY||0,u=[];return(t||r)&&u.push("translate("+t+"px,"+r+"px)"),n&&u.push("rotate("+n+")"),(i!==1||a!==1)&&u.push("scale("+i+","+a+")"),(o||s)&&u.push("skew("+W0(o*d0)+"deg, "+W0(s*d0)+"deg)"),u.join(" ")}var DB=function(){return De.hasGlobalWindow&&te(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return process.env.NODE_ENV!=="production"&&Wr("Base64 isn't natively supported in the current environment."),null}}(),Wh=Array.prototype.slice;function In(e,t,r){return(t-e)*r+e}function of(e,t,r,n){for(var i=t.length,a=0;a<i;a++)e[a]=In(t[a],r[a],n);return e}function EB(e,t,r,n){for(var i=t.length,a=i&&t[0].length,o=0;o<i;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=In(t[o][s],r[o][s],n)}return e}function m1(e,t,r,n){for(var i=t.length,a=0;a<i;a++)e[a]=t[a]+r[a]*n;return e}function lv(e,t,r,n){for(var i=t.length,a=i&&t[0].length,o=0;o<i;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=t[o][s]+r[o][s]*n}return e}function kB(e,t){for(var r=e.length,n=t.length,i=r>n?t:e,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 MB(e,t,r){var n=e,i=t;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]:Wh.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 Ru(e){if(Ft(e)){var t=e.length;if(Ft(e[0])){for(var r=[],n=0;n<t;n++)r.push(Wh.call(e[n]));return r}return Wh.call(e)}return e}function y0(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function IB(e){return Ft(e&&e[0])?2:1}var y1=0,_0=1,ux=2,yu=3,qh=4,Zh=5,cv=6;function fv(e){return e===qh||e===Zh}function _1(e){return e===_0||e===ux}var qs=[0,0,0,0],LB=function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=cv,u=r;if(Ft(r)){var l=IB(r);s=l,(l===1&&!Me(r[0])||l===2&&!Me(r[0][0]))&&(o=!0)}else if(Me(r)&&!Ya(r))s=y1;else if(Z(r))if(!isNaN(+r))s=y1;else{var c=cr(r);c&&(u=c,s=yu)}else if(Yc(r)){var f=$({},u);f.colorStops=H(r.colorStops,function(d){return{offset:d.offset,color:cr(d.color)}}),nx(r)?s=qh:ix(r)&&(s=Zh),u=f}a===0?this.valType=s:(s!==this.valType||s===cv)&&(o=!0),this.discrete=this.discrete||o;var h={time:t,value:u,rawValue:r,percent:0};return n&&(h.easing=n,h.easingFunc=te(n)?n:Zb[n]||q4(n)),i.push(h),h},e.prototype.prepare=function(t,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=_1(i),l=fv(i),c=0;c<a;c++){var f=n[c],h=f.value,d=o.value;f.percent=f.time/t,s||(u&&c!==a-1?MB(h,d,i):l&&kB(h.colorStops,d.colorStops))}if(!s&&i!==Zh&&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===y1?n[c].additiveValue=n[c].value-p:i===yu?n[c].additiveValue=m1([],n[c].value,p,-1):_1(i)&&(n[c].additiveValue=i===_0?m1([],n[c].value,p,-1):lv([],n[c].value,p,-1))}},e.prototype.step=function(t,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===yu,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?qs:t[u];if((_1(a)||l)&&!y&&(y=this._additiveValue=[]),this.discrete)t[u]=m<1?d.rawValue:p.rawValue;else if(_1(a))a===_0?of(y,d[i],p[i],m):EB(y,d[i],p[i],m);else if(fv(a)){var _=d[i],b=p[i],x=a===qh;t[u]={type:x?"linear":"radial",x:In(_.x,b.x,m),y:In(_.y,b.y,m),colorStops:H(_.colorStops,function(S,C){var A=b.colorStops[C];return{offset:In(S.offset,A.offset,m),color:y0(of([],S.color,A.color,m))}}),global:b.global},x?(t[u].x2=In(_.x2,b.x2,m),t[u].y2=In(_.y2,b.y2,m)):t[u].r=In(_.r,b.r,m)}else if(l)of(y,d[i],p[i],m),n||(t[u]=y0(y));else{var w=In(d[i],p[i],m);n?this._additiveValue=w:t[u]=w}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,i=this._additiveValue;r===y1?t[n]=t[n]+i:r===yu?(cr(t[n],qs),m1(qs,qs,i,1),t[n]=y0(qs)):r===_0?m1(t[n],t[n],i,1):r===ux&&lv(t[n],t[n],i,1)},e}(),Y4=function(){function e(t,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&i){Wr("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,n){return this.whenWithKeys(t,r,Se(r),n)},e.prototype.whenWithKeys=function(t,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 LB(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===yu&&l&&(l=y0(l))}else l=this._target[s];if(l==null)continue;t>0&&u.addKeyframe(0,Ru(l),i),this._trackKeys.push(s)}u.addKeyframe(t,Ru(r[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,n=0;n<r;n++)t[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,r=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,r)for(var n=0;n<r.length;n++)r[n].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,r=this._trackKeys,n=0;n<r.length;n++)t[r[n]].setFinished()},e.prototype._getAdditiveTrack=function(t){var r,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var a=n[i].getTrack(t);a&&(r=a)}return r},e.prototype.start=function(t){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 vB({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),t&&h.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var r=this._clip;t&&r.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return H(this._trackKeys,function(r){return t._tracks[r]})},e.prototype.stopTracks=function(t,r){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,a=0;a<t.length;a++){var o=n[t[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},e.prototype.saveTo=function(t,r,n){if(t){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&&(t[a]=Ru(u.rawValue))}}}},e.prototype.__changeFinalValue=function(t,r){r=r||Se(t);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,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e}();function Yo(){return new Date().getTime()}var PB=function(e){F(t,e);function t(r){var n=e.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 t.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},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.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}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=Yo()-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())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(Fh(n),!r._paused&&r.update())}Fh(n)},t.prototype.start=function(){this._running||(this._time=Yo(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Yo(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Yo()-this._pauseStart,this._paused=!1)},t.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},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var i=new Y4(r,n.loop);return this.addAnimator(i),i},t}(Rr);const RB=PB;var NB=300,sf=De.domSupported,uf=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=H(e,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:n}}(),hv={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},dv=!1;function Yh(e){var t=e.pointerType;return t==="pen"||t==="touch"}function OB(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function lf(e){e&&(e.zrByTouch=!0)}function BB(e,t){return br(e.dom,new FB(e,t),!0)}function lx(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var FB=function(){function e(t,r){this.stopPropagation=at,this.stopImmediatePropagation=at,this.preventDefault=at,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),zr={mousedown:function(e){e=br(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=br(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=br(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=br(this.dom,e);var t=e.toElement||e.relatedTarget;lx(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){dv=!0,e=br(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){dv||(e=br(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=br(this.dom,e),lf(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),zr.mousemove.call(this,e),zr.mousedown.call(this,e)},touchmove:function(e){e=br(this.dom,e),lf(e),this.handler.processGesture(e,"change"),zr.mousemove.call(this,e)},touchend:function(e){e=br(this.dom,e),lf(e),this.handler.processGesture(e,"end"),zr.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<NB&&zr.click.call(this,e)},pointerdown:function(e){zr.mousedown.call(this,e)},pointermove:function(e){Yh(e)||zr.mousemove.call(this,e)},pointerup:function(e){zr.mouseup.call(this,e)},pointerout:function(e){Yh(e)||zr.mouseout.call(this,e)}};E(["click","dblclick","contextmenu"],function(e){zr[e]=function(t){t=br(this.dom,t),this.trigger(e,t)}});var Xh={pointermove:function(e){Yh(e)||Xh.mousemove.call(this,e)},pointerup:function(e){Xh.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function VB(e,t){var r=t.domHandlers;De.pointerEventsSupported?E(uf.pointer,function(n){b0(t,n,function(i){r[n].call(e,i)})}):(De.touchEventsSupported&&E(uf.touch,function(n){b0(t,n,function(i){r[n].call(e,i),OB(t)})}),E(uf.mouse,function(n){b0(t,n,function(i){i=H4(i),t.touching||r[n].call(e,i)})}))}function zB(e,t){De.pointerEventsSupported?E(hv.pointer,r):De.touchEventsSupported||E(hv.mouse,r);function r(n){function i(a){a=H4(a),lx(e,a.target)||(a=BB(e,a),t.domHandlers[n].call(e,a))}b0(t,n,i,{capture:!0})}}function b0(e,t,r,n){e.mounted[t]=r,e.listenerOpts[t]=n,Bh(e.domTarget,t,r,n)}function cf(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&ZO(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var pv=function(){function e(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return e}(),$B=function(e){F(t,e);function t(r,n){var i=e.call(this)||this;return i.__pointerCapturing=!1,i.dom=r,i.painterRoot=n,i._localHandlerScope=new pv(r,zr),sf&&(i._globalHandlerScope=new pv(document,Xh)),VB(i,i._localHandlerScope),i}return t.prototype.dispose=function(){cf(this._localHandlerScope),sf&&cf(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,sf&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var n=this._globalHandlerScope;r?zB(this,n):cf(n)}},t}(Rr);const GB=$B;var cx=1;De.hasGlobalWindow&&(cx=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var q0=cx,jh=.4,Kh="#333",Qh="#ccc",HB="#eee",vv=jc,gv=5e-5;function Ki(e){return e>gv||e<-gv}var Qi=[],bo=[],ff=lr(),hf=Math.abs,UB=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return Ki(this.rotation)||Ki(this.x)||Ki(this.y)||Ki(this.scaleX-1)||Ki(this.scaleY-1)||Ki(this.skewX)||Ki(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&(vv(n),this.invTransform=null);return}n=n||lr(),r?this.getLocalTransform(n):vv(n),t&&(r?On(n,t,n):U4(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(Qi);var n=Qi[0]<0?-1:1,i=Qi[1]<0?-1:1,a=((Qi[0]-n)*r+n)/Qi[0]||0,o=((Qi[1]-i)*r+i)/Qi[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||lr(),ws(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||lr(),On(bo,t.invTransform,r),r=bo);var n=this.originX,i=this.originY;(n||i)&&(ff[4]=n,ff[5]=i,On(bo,r,ff),bo[4]-=n,bo[5]-=i,r=bo),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],i=this.invTransform;return i&&At(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],i=this.transform;return i&&At(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&hf(t[0]-1)>1e-10&&hf(t[3]-1)>1e-10?Math.sqrt(hf(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){fx(this,t)},e.getLocalTransform=function(t,r){r=r||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,c=t.x,f=t.y,h=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.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&&ao(r,r,l),r[4]+=n+c,r[5]+=i+f,r},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),_n=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function fx(e,t){for(var r=0;r<_n.length;r++){var n=_n[r];e[n]=t[n]}}const Pn=UB;var mv={};function fr(e,t){t=t||Li;var r=mv[t];r||(r=mv[t]=new kl(500));var n=r.get(e);return n==null&&(n=Pi.measureText(e,t).width,r.put(e,n)),n}function yv(e,t,r,n){var i=fr(e,t),a=Qc(t),o=_u(0,i,r),s=Uo(0,a,n),u=new ye(o,s,i,a);return u}function Ml(e,t,r,n){var i=((e||"")+"").split(`
|
|
65
|
+
`),a=i.length;if(a===1)return yv(i[0],t,r,n);for(var o=new ye(0,0,0,0),s=0;s<i.length;s++){var u=yv(i[s],t,r,n);s===0?o.copy(u):o.union(u)}return o}function _u(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function Uo(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function Qc(e){return fr("国",e)}function Yr(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function Z0(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.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+=Yr(n[0],r.width),l+=Yr(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 e=e||{},e.x=u,e.y=l,e.align=c,e.verticalAlign=f,e}var df="__zr_normal__",pf=_n.concat(["ignore"]),WB=mn(_n,function(e,t){return e[t]=!0,e},{ignore:!1}),xo={},qB=new ye(0,0,0,0),X4=function(){function e(t){this.id=Ob(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){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=qB;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),i||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(xo,n,c):Z0(xo,n,c),a.x=xo.x,a.y=xo.y,o=xo.align,s=xo.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=Yr(f[0],c.width),d=Yr(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|=sr,u&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Qh:Kh},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&cr(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,Bn(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},$(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(ne(t))for(var n=t,i=Se(n),a=0;a<i.length;a++){var o=i[a];this.attrKV(o,t[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);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!==df)){var o=i.targetName,s=o?r[o]:r;i.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var r=this._normalState;r||(r=this._normalState={}),t.textConfig&&!r.textConfig&&(r.textConfig=this.textConfig),this._savePrimaryToNormal(t,r,pf)},e.prototype._savePrimaryToNormal=function(t,r,n){for(var i=0;i<n.length;i++){var a=n[i];t[a]!=null&&!(a in r)&&(r[a]=this[a])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(df,!1,t)},e.prototype.useState=function(t,r,n,i){var a=t===df,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,u=this.stateTransition;if(!(_e(s,t)>=0&&(r||s.length===1))){var l;if(this.stateProxy&&!a&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),!l&&!a){Wr("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(l);var c=!!(l&&l.hoverLayer||i);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,r,!n&&!this.__inHover&&u&&u.duration>0,u);var f=this._textContent,h=this._textGuide;return f&&f.useState(t,r,n,c),h&&h.useState(t,r,n,c),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~sr),l}}},e.prototype.useStates=function(t,r,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var u=0;u<o;u++)if(t[u]!==a[u]){s=!1;break}}if(s)return;for(var u=0;u<o;u++){var l=t[u],c=void 0;this.stateProxy&&(c=this.stateProxy(l,t)),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(t.join(","),d,this._normalState,!1,!r&&!this.__inHover&&p&&p.duration>0,p);var v=this._textContent,g=this._textGuide;v&&v.useStates(t,r,h),g&&g.useStates(t,r,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~sr)}},e.prototype.isSilent=function(){for(var t=this.silent,r=this.parent;!t&&r;){if(r.silent){t=!0;break}r=r.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var r=this.animators[t];r.targetName&&r.changeTarget(this[r.targetName])}},e.prototype.removeState=function(t){var r=_e(this.currentStates,t);if(r>=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var i=this.currentStates.slice(),a=_e(i,t),o=_e(i,r)>=0;a>=0?o?i.splice(a,1):i[a]=r:n&&!o&&i.push(r),this.useStates(i)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,i=0;i<t.length;i++){var a=t[i];$(r,a),a.textConfig&&(n=n||{},$(n,a.textConfig))}return n&&(r.textConfig=n),r},e.prototype._applyStateObj=function(t,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<pf.length;c++){var f=pf[c],h=a&&WB[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(t,u,o)},e.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(t===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var r=this.__zr;r&&t.addSelfToZr(r),t.__zr=r,t.__hostTarget=this},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var r=this._textContent;if(r!==t){if(r&&r!==t&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.innerTransformable=new Pn,this._attachComponent(t),this._textContent=t,this.markRedraw()}},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),$(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=sr;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var r=this._textContent,n=this._textGuide;r&&(r.__inHover=t),n&&(n.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.addAnimator(r[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.removeAnimator(r[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,r,n){var i=t?this[t]:this;if(process.env.NODE_ENV!=="production"&&!i){Wr('Property "'+t+'" is not existed in element '+this.id);return}var a=new Y4(i,r,n);return t&&(a.targetName=t),this.addAnimator(a,t),a},e.prototype.addAnimator=function(t,r){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(r)}).done(function(){var a=i.animators,o=_e(a,t);o>=0&&a.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,i=n.length,a=[],o=0;o<i;o++){var s=n[o];!t||t===s.scope?s.stop(r):a.push(s)}return this.animators=a,this},e.prototype.animateTo=function(t,r,n){vf(this,t,r,n)},e.prototype.animateFrom=function(t,r,n){vf(this,t,r,n,!0)},e.prototype._transitionState=function(t,r,n,i){for(var a=vf(this,r,n,i),o=0;o<a.length;o++)a[o].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=sr;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(t,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"))}(),e}();ft(X4,Rr);ft(X4,Pn);function vf(e,t,r,n,i){r=r||{};var a=[];hx(e,"",e,t,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 gf(e,t,r){for(var n=0;n<r;n++)e[n]=t[n]}function ZB(e){return Ft(e[0])}function YB(e,t,r){if(Ft(t[r]))if(Ft(e[r])||(e[r]=[]),qt(t[r])){var n=t[r].length;e[r].length!==n&&(e[r]=new t[r].constructor(n),gf(e[r],t[r],n))}else{var i=t[r],a=e[r],o=i.length;if(ZB(i))for(var s=i[0].length,u=0;u<o;u++)a[u]?gf(a[u],i[u],s):a[u]=Array.prototype.slice.call(i[u]);else gf(a,i,o);a.length=i.length}else e[r]=t[r]}function XB(e,t){return e===t||Ft(e)&&Ft(t)&&jB(e,t)}function jB(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function hx(e,t,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=e.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)&&!Ft(y)&&!Yc(y)){if(t){s||(r[m]=y,e.updateDuringAnimation(t));continue}hx(e,m,r[m],y,i,a&&a[m],o,s)}else v.push(m);else s||(r[m]=y,e.updateDuringAnimation(t),v.push(m))}var _=v.length;if(!f&&_)for(var b=0;b<p.length;b++){var x=p[b];if(x.targetName===t){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!XB(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]=Ru(r[m]),YB(r,n,m)}}var x=new Y4(r,!1,!1,f?Ne(p,function(k){return k.targetName===t}):null);x.targetName=t,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),e.addAnimator(x,t),o.push(x)}}const dx=X4;var px=function(e){F(t,e);function t(r){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var n=this._children,i=0;i<n.length;i++)if(n[i].name===r)return n[i]},t.prototype.childCount=function(){return this._children.length},t.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},t.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},t.prototype.replace=function(r,n){var i=_e(this._children,r);return i>=0&&this.replaceAt(n,i),this},t.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},t.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()},t.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)},t.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},t.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},t.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},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(r)}},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(r)}},t.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},t}(dx);px.prototype.type="group";const le=px;/*!
|
|
66
|
+
* ZRender, a high performance 2d drawing library.
|
|
67
|
+
*
|
|
68
|
+
* Copyright (c) 2013, Baidu Inc.
|
|
69
|
+
* All rights reserved.
|
|
70
|
+
*
|
|
71
|
+
* LICENSE
|
|
72
|
+
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
73
|
+
*/var bu={},vx={};function KB(e){delete vx[e]}function QB(e){if(!e)return!1;if(typeof e=="string")return U0(e,1)<jh;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=U0(t[i].color,1);return r/=n,r<jh}return!1}var JB=function(){function e(t,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=t;var a=new lB,o=n.renderer||"canvas";if(bu[o]||(o=Se(bu)[0]),process.env.NODE_ENV!=="production"&&!bu[o])throw new Error("Renderer '"+o+"' is not imported. Please import it first.");n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new bu[o](r,a,n,t),u=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var l=!De.node&&!De.worker&&!u?new GB(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 iB(a,s,l,s.root,d),this.animation=new RB({stage:{update:u?null:function(){return i._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=QB(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(t){var r,n=Yo();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=Yo();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this._disposed||this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},e.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof le&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.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,KB(this.id))},e}();function _v(e,t){var r=new JB(Ob(),e,t);return vx[r.id]=r,r}function eF(e,t){bu[e]=t}var Jh;function tF(e){if(typeof Jh=="function")return Jh(e)}function rF(e){Jh=e}var bv=1e-4,gx=20;function nF(e){return e.replace(/^\s+|\s+$/g,"")}function Be(e,t,r,n){var i=t[0],a=t[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(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/u*l+o}function W(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Z(e)?nF(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function nt(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),gx),e=(+e).toFixed(t),r?e:+e}function Er(e){return e.sort(function(t,r){return t-r}),e}function hn(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return ed(e)}function ed(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function mx(e,t){var r=Math.log,n=Math.LN10,i=Math.floor(r(e[1]-e[0])/n),a=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function iF(e,t){var r=mn(e,function(d,p){return d+(isNaN(p)?0:p)},0);if(r===0)return[];for(var n=Math.pow(10,t),i=H(e,function(d){return(isNaN(d)?0:d)/r*n*100}),a=n*100,o=H(i,function(d){return Math.floor(d)}),s=mn(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 aF(e,t){var r=Math.max(hn(e),hn(t)),n=e+t;return r>gx?n:nt(n,r)}var xv=9007199254740991;function yx(e){var t=Math.PI*2;return(e%t+t)%t}function il(e){return e>-bv&&e<bv}var oF=/^(?:(\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 bn(e){if(e instanceof Date)return e;if(Z(e)){var t=oF.exec(e);if(!t)return new Date(NaN);if(t[8]){var r=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(r-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,r,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(Math.round(e))}function sF(e){return Math.pow(10,Jc(e))}function Jc(e){if(e===0)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function _x(e,t){var r=Jc(e),n=Math.pow(10,r),i=e/n,a;return t?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,e=a*n,r>=-20?+e.toFixed(r<0?-r:0):e}function mf(e,t){var r=(e.length-1)*t+1,n=Math.floor(r),i=+e[n-1],a=r-n;return a?i+a*(e[n]-i):i}function wv(e){e.sort(function(u,l){return s(u,l,0)?-1:1});for(var t=-1/0,r=1,n=0;n<e.length;){for(var i=e[n].interval,a=e[n].close,o=0;o<2;o++)i[o]<=t&&(i[o]=t,a[o]=o?1:1-r),t=i[o],r=a[o];i[0]===i[1]&&a[0]*a[1]!==1?e.splice(n,1):n++}return e;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 Hn(e){var t=parseFloat(e);return t==e&&(t!==0||!Z(e)||e.indexOf("x")<=0)?t:NaN}function j4(e){return!isNaN(Hn(e))}function bx(){return Math.round(Math.random()*9)}function xx(e,t){return t===0?e:xx(t,e%t)}function Sv(e,t){return e==null?t:t==null?e:e*t/xx(e,t)}var uF="[ECharts] ",Cv={},lF=typeof console<"u"&&console.warn&&console.log;function e2(e,t,r){if(lF){if(r){if(Cv[t])return;Cv[t]=!0}console[e](uF+t)}}function cF(e,t){e2("log",e,t)}function Qe(e,t){e2("warn",e,t)}function Dt(e,t){e2("error",e,t)}function Xr(e){process.env.NODE_ENV!=="production"&&e2("warn","DEPRECATED: "+e,!0)}function st(e,t,r){process.env.NODE_ENV!=="production"&&Xr((r?"["+r+"]":"")+(e+" is deprecated, use "+t+" instead."))}function Zt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];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":Ya(i)?"NaN":i instanceof Date?"Date("+i.toISOString()+")":te(i)?"function () { ... }":Bb(i)?i+"":null};r=H(e,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(e){throw new Error(e)}function Av(e,t,r){return(t-e)*r+e}var Sx="series\0",Cx="\0_ec_\0";function Ve(e){return e instanceof Array?e:e==null?[]:[e]}function Xa(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,i=r.length;n<i;n++){var a=r[n];!e.emphasis[t].hasOwnProperty(a)&&e[t].hasOwnProperty(a)&&(e.emphasis[t][a]=e[t][a])}}}var Tv=["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 Ss(e){return ne(e)&&!G(e)&&!(e instanceof Date)?e.value:e}function fF(e){return ne(e)&&!(e instanceof Array)}function Ax(e,t,r){var n=r==="normalMerge",i=r==="replaceMerge",a=r==="replaceAll";e=e||[],t=(t||[]).slice();var o=J();E(t,function(u,l){if(!ne(u)){t[l]=null;return}process.env.NODE_ENV!=="production"&&(u.id!=null&&!Ev(u.id)&&Dv(u.id),u.name!=null&&!Ev(u.name)&&Dv(u.name))});var s=hF(e,o,r);return(n||i)&&dF(s,e,o,t),n&&pF(s,t),n||i?vF(s,t,i):a&&gF(s,t),mF(s),s}function hF(e,t,r){var n=[];if(r==="replaceAll")return n;for(var i=0;i<e.length;i++){var a=e[i];a&&a.id!=null&&t.set(a.id,i),n.push({existing:r==="replaceMerge"||ls(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return n}function dF(e,t,r,n){E(n,function(i,a){if(!(!i||i.id==null)){var o=Nu(i.id),s=r.get(o);if(s!=null){var u=e[s];ie(!u.newOption,'Duplicated option on id "'+o+'".'),u.newOption=i,u.existing=t[s],n[a]=null}}})}function pF(e,t){E(t,function(r,n){if(!(!r||r.name==null))for(var i=0;i<e.length;i++){var a=e[i].existing;if(!e[i].newOption&&a&&(a.id==null||r.id==null)&&!ls(r)&&!ls(a)&&Tx("name",a,r)){e[i].newOption=r,t[n]=null;return}}})}function vF(e,t,r){E(t,function(n){if(n){for(var i,a=0;(i=e[a])&&(i.newOption||ls(i.existing)||i.existing&&n.id!=null&&!Tx("id",n,i.existing));)a++;i?(i.newOption=n,i.brandNew=r):e.push({newOption:n,brandNew:r,existing:null,keyInfo:null}),a++}})}function gF(e,t){E(t,function(r){e.push({newOption:r,brandNew:!0,existing:null,keyInfo:null})})}function mF(e){var t=J();E(e,function(r){var n=r.existing;n&&t.set(n.id,r)}),E(e,function(r){var n=r.newOption;ie(!n||n.id==null||!t.get(n.id)||t.get(n.id)===r,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&t.set(n.id,r),!r.keyInfo&&(r.keyInfo={})}),E(e,function(r,n){var i=r.existing,a=r.newOption,o=r.keyInfo;if(ne(a)){if(o.name=a.name!=null?Nu(a.name):i?i.name:Sx+n,i)o.id=Nu(i.id);else if(a.id!=null)o.id=Nu(a.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,r)}})}function Tx(e,t,r){var n=ht(t[e],null),i=ht(r[e],null);return n!=null&&i!=null&&n===i}function Nu(e){if(process.env.NODE_ENV!=="production"&&e==null)throw new Error;return ht(e,"")}function ht(e,t){return e==null?t:Z(e)?e:Me(e)||V0(e)?e+"":t}function Dv(e){process.env.NODE_ENV!=="production"&&Qe("`"+e+"` is invalid id or name. Must be a string or number.")}function Ev(e){return V0(e)||j4(e)}function K4(e){var t=e.name;return!!(t&&t.indexOf(Sx))}function ls(e){return e&&e.id!=null&&Nu(e.id).indexOf(Cx)===0}function yF(e){return Cx+e}function _F(e,t,r){E(e,function(n){var i=n.newOption;ne(i)&&(n.keyInfo.mainType=t,n.keyInfo.subType=bF(t,i,n.existing,r))})}function bF(e,t,r,n){var i=t.type?t.type:r?r.subType:n.determineSubType(e,t);return i}function xF(e,t){var r={},n={};return i(e||[],r),i(t||[],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=Ve(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 ja(e,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return G(t.dataIndex)?H(t.dataIndex,function(r){return e.indexOfRawIndex(r)}):e.indexOfRawIndex(t.dataIndex);if(t.name!=null)return G(t.name)?H(t.name,function(r){return e.indexOfName(r)}):e.indexOfName(t.name)}function Ae(){var e="__ec_inner_"+wF++;return function(t){return t[e]||(t[e]={})}}var wF=bx();function Ou(e,t,r){var n=Q4(t,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=Il(e,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 Q4(e,t){var r;if(Z(e)){var n={};n[e+"Index"]=0,r=n}else r=e;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||t&&t.includeMainTypes&&_e(t.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},SF={useDefault:!1,enableAll:!0,enableNone:!0};function Il(e,t,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=e.getComponent(t))?[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=e.queryComponents({mainType:t,index:i,id:a,name:o}),s)}function Dx(e,t,r){e.setAttribute?e.setAttribute(t,r):e[t]=r}function CF(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function AF(e){return e==="auto"?De.domSupported?"html":"richText":e||"html"}function td(e,t){var r=J(),n=[];return E(e,function(i){var a=t(i);(r.get(a)||(n.push(a),r.set(a,[]))).push(i)}),{keys:n,buckets:r}}function Ex(e,t,r,n,i){var a=t==null||t==="auto";if(n==null)return n;if(Me(n)){var o=Av(r||0,n,i);return nt(o,a?Math.max(hn(r||0),hn(n)):t)}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=e.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=Av(d,p,i);s[f]=nt(o,a?Math.max(hn(d),hn(p)):t)}}return s}}var TF=".",Ji="___EC__COMPONENT__CONTAINER___",kx="___EC__EXTENDED_CLASS___";function dn(e){var t={main:"",sub:""};if(e){var r=e.split(TF);t.main=r[0]||"",t.sub=r[1]||""}return t}function DF(e){ie(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function EF(e){return!!(e&&e[kx])}function J4(e,t){e.$constructor=e,e.extend=function(r){process.env.NODE_ENV!=="production"&&E(t,function(a){r[a]||console.warn("Method `"+a+"` should be implemented"+(r.type?" in "+r.type:"")+".")});var n=this,i;return kF(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)},AO(i,this)),$(i.prototype,r),i[kx]=!0,i.extend=this.extend,i.superCall=LF,i.superApply=PF,i.superClass=n,i}}function kF(e){return te(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function Mx(e,t){e.extend=t.extend}var MF=Math.round(Math.random()*10);function IF(e){var t=["__\0is_clz",MF++].join("_");e.prototype[t]=!0,process.env.NODE_ENV!=="production"&&ie(!e.isInstance,'The method "is" can not be defined.'),e.isInstance=function(r){return!!(r&&r[t])}}function LF(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return this.superClass.prototype[t].apply(e,r)}function PF(e,t,r){return this.superClass.prototype[t].apply(e,r)}function t2(e){var t={};e.registerClass=function(n){var i=n.type||n.prototype.type;if(i){DF(i),n.prototype.type=i;var a=dn(i);if(!a.sub)process.env.NODE_ENV!=="production"&&t[a.main]&&console.warn(a.main+" exists."),t[a.main]=n;else if(a.sub!==Ji){var o=r(a);o[a.sub]=n}}return n},e.getClass=function(n,i,a){var o=t[n];if(o&&o[Ji]&&(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},e.getClassesByMainType=function(n){var i=dn(n),a=[],o=t[i.main];return o&&o[Ji]?E(o,function(s,u){u!==Ji&&a.push(s)}):a.push(o),a},e.hasClass=function(n){var i=dn(n);return!!t[i.main]},e.getAllClassMainTypes=function(){var n=[];return E(t,function(i,a){n.push(a)}),n},e.hasSubTypes=function(n){var i=dn(n),a=t[i.main];return a&&a[Ji]};function r(n){var i=t[n.main];return(!i||!i[Ji])&&(i=t[n.main]={},i[Ji]=!0),i}}function Ka(e,t){for(var r=0;r<e.length;r++)e[r][1]||(e[r][1]=e[r][0]);return t=t||!1,function(n,i,a){for(var o={},s=0;s<e.length;s++){var u=e[s][1];if(!(i&&_e(i,u)>=0||a&&_e(a,u)<0)){var l=n.getShallow(u,t);l!=null&&(o[e[s][0]]=l)}}return o}}var RF=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],NF=Ka(RF),OF=function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return NF(this,t,r)},e}(),rd=new kl(50);function BF(e){if(typeof e=="string"){var t=rd.get(e);return t&&t.image}else return e}function e5(e,t,r,n,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=rd.get(e),o={hostEl:r,cb:n,cbPayload:i};return a?(t=a.image,!r2(t)&&a.pending.push(o)):(t=Pi.loadImage(e,kv,kv),t.__zrImageSrc=e,rd.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function kv(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var r=e.pending[t],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}e.pending.length=0}function r2(e){return e&&e.width&&e.height}var yf=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function FF(e,t,r,n,i,a){if(!r){e.text="",e.isTruncated=!1;return}var o=(t+"").split(`
|
|
74
|
+
`);a=Ix(r,n,i,a);for(var s=!1,u={},l=0,c=o.length;l<c;l++)Lx(u,o[l],a),o[l]=u.textLine,s=s||u.isTruncated;e.text=o.join(`
|
|
75
|
+
`),e.isTruncated=s}function Ix(e,t,r,n){n=n||{};var i=$({},n);i.font=t,r=fe(r,"..."),i.maxIterations=fe(n.maxIterations,2);var a=i.minChar=fe(n.minChar,0);i.cnCharWidth=fr("国",t);var o=i.ascCharWidth=fr("a",t);i.placeholder=fe(n.placeholder,"");for(var s=e=Math.max(0,e-1),u=0;u<a&&s>=o;u++)s-=o;var l=fr(r,t);return l>s&&(r="",l=0),s=e-l,i.ellipsis=r,i.ellipsisWidth=l,i.contentWidth=s,i.containerWidth=e,i}function Lx(e,t,r){var n=r.containerWidth,i=r.font,a=r.contentWidth;if(!n){e.textLine="",e.isTruncated=!1;return}var o=fr(t,i);if(o<=n){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(o<=a||s>=r.maxIterations){t+=r.ellipsis;break}var u=s===0?VF(t,a,r.ascCharWidth,r.cnCharWidth):o>0?Math.floor(t.length*a/o):0;t=t.substr(0,u),o=fr(t,i)}t===""&&(t=r.placeholder),e.textLine=t,e.isTruncated=!0}function VF(e,t,r,n){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function zF(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",o=Qc(i),s=fe(t.lineHeight,o),u=!!t.backgroundColor,l=t.lineOverflow==="truncate",c=!1,f=t.width,h;f!=null&&(r==="break"||r==="breakAll")?h=e?Px(e,t.font,f,r==="breakAll",0).lines:[]:h=e?e.split(`
|
|
76
|
+
`):[];var d=h.length*s,p=fe(t.height,d);if(d>p&&l){var v=Math.floor(p/s);c=c||h.length>v,h=h.slice(0,v)}if(e&&a&&f!=null)for(var g=Ix(f,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),m={},y=0;y<h.length;y++)Lx(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(fr(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 $F=function(){function e(){}return e}(),Mv=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),GF=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e}();function HF(e,t){var r=new GF;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=yf.lastIndex=0,u;(u=yf.exec(e))!=null;){var l=u.index;l>s&&_f(r,e.substring(s,l),t,o),_f(r,u[2],t,o,u[1]),s=yf.lastIndex}s<e.length&&_f(r,e.substring(s,e.length),t,o);var c=[],f=0,h=0,d=t.padding,p=a==="truncate",v=t.lineOverflow==="truncate",g={};function m(B,V,z){B.width=V,B.lineHeight=z,f+=z,h=Math.max(h,V)}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&&t.rich[S.styleName]||{},A=S.textPadding=C.padding,T=A?A[1]+A[3]:0,D=S.font=C.font||t.font;S.contentHeight=Qc(D);var k=fe(C.height,S.contentHeight);if(S.innerHeight=k,A&&(k+=A[0]+A[2]),S.height=k,S.lineHeight=kr(C.lineHeight,t.lineHeight,k),S.align=C&&C.align||t.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 L=C.width,N=L==null||L==="auto";if(typeof L=="string"&&L.charAt(L.length-1)==="%")S.percentWidth=L,c.push(S),S.contentWidth=fr(S.text,D);else{if(N){var I=C.backgroundColor,O=I&&I.image;O&&(O=BF(O),r2(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):(FF(g,S.text,P-T,D,t.ellipsis,{minChar:t.truncateMinChar}),S.text=g.text,r.isTruncated=r.isTruncated||g.isTruncated,S.width=S.contentWidth=fr(S.text,D)):S.contentWidth=fr(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 _f(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.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=Yr(o.width,n.width)+d;s.length>0&&p+n.accumWidth>n.width&&(c=t.split(`
|
|
77
|
+
`),l=!0),n.accumWidth=p}else{var v=Px(t,u,n.width,n.breakAll,n.accumWidth);n.accumWidth=v.accumWidth+d,f=v.linesWidths,c=v.lines}}else c=t.split(`
|
|
78
|
+
`);for(var g=0;g<c.length;g++){var m=c[g],y=new $F;if(y.styleName=i,y.text=m,y.isLineHolder=!m&&!a,typeof o.width=="number"?y.width=o.width:y.width=f?f[g]:fr(m,u),!g&&!l){var _=(s[s.length-1]||(s[0]=new Mv)).tokens,b=_.length;b===1&&_[0].isLineHolder?_[0]=y:(m||!b||a)&&_.push(y)}else s.push(new Mv([y]))}}function UF(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var WF=mn(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function qF(e){return UF(e)?!!WF[e]:!0}function Px(e,t,r,n,i){for(var a=[],o=[],s="",u="",l=0,c=0,f=0;f<e.length;f++){var h=e.charAt(f);if(h===`
|
|
79
|
+
`){u&&(s+=u,c+=l),a.push(s),o.push(c),s="",u="",l=0,c=0;continue}var d=fr(h,t),p=n?!1:!qF(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=e,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 nd="__zr_style_"+Math.round(Math.random()*10),Va={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},n2={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Va[nd]=!0;var Iv=["z","z2","invisible"],ZF=["invisible"],YF=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.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]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&XF(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},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.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},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new ye(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:$(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=mu,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&mu)},t.prototype.styleUpdated=function(){this.__dirty&=~mu},t.prototype.createStyle=function(r){return Xc(Va,r)},t.prototype.useStyle=function(r){r[nd]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[nd]},t.prototype._innerSaveToNormal=function(r){e.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,Iv)},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.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?ZF:Iv,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])}},t.prototype._mergeStates=function(r){for(var n=e.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},t.prototype._mergeStyle=function(r,n){return $(r,n),r},t.prototype.getAnimationStyleProps=function(){return n2},t.initDefaultProps=function(){var r=t.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=sr|mu}(),t}(dx),bf=new ye(0,0,0,0),xf=new ye(0,0,0,0);function XF(e,t,r){return bf.copy(e.getBoundingRect()),e.transform&&bf.applyTransform(e.transform),xf.width=t,xf.height=r,!bf.intersect(xf)}const Lr=YF;var Kt=Math.min,Qt=Math.max,wf=Math.sin,Sf=Math.cos,ea=Math.PI*2,b1=io(),x1=io(),w1=io();function i2(e,t,r){if(e.length!==0){for(var n=e[0],i=n[0],a=n[0],o=n[1],s=n[1],u=1;u<e.length;u++)n=e[u],i=Kt(i,n[0]),a=Qt(a,n[0]),o=Kt(o,n[1]),s=Qt(s,n[1]);t[0]=i,t[1]=o,r[0]=a,r[1]=s}}function Lv(e,t,r,n,i,a){i[0]=Kt(e,r),i[1]=Kt(t,n),a[0]=Qt(e,r),a[1]=Qt(t,n)}var Pv=[],Rv=[];function jF(e,t,r,n,i,a,o,s,u,l){var c=jb,f=pt,h=c(e,r,i,o,Pv);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(e,r,i,o,Pv[d]);u[0]=Kt(p,u[0]),l[0]=Qt(p,l[0])}h=c(t,n,a,s,Rv);for(var d=0;d<h;d++){var v=f(t,n,a,s,Rv[d]);u[1]=Kt(v,u[1]),l[1]=Qt(v,l[1])}u[0]=Kt(e,u[0]),l[0]=Qt(e,l[0]),u[0]=Kt(o,u[0]),l[0]=Qt(o,l[0]),u[1]=Kt(t,u[1]),l[1]=Qt(t,l[1]),u[1]=Kt(s,u[1]),l[1]=Qt(s,l[1])}function KF(e,t,r,n,i,a,o,s){var u=Qb,l=_t,c=Qt(Kt(u(e,r,i),1),0),f=Qt(Kt(u(t,n,a),1),0),h=l(e,r,i,c),d=l(t,n,a,f);o[0]=Kt(e,i,h),o[1]=Kt(t,a,d),s[0]=Qt(e,i,h),s[1]=Qt(t,a,d)}function QF(e,t,r,n,i,a,o,s,u){var l=bi,c=xi,f=Math.abs(i-a);if(f%ea<1e-4&&f>1e-4){s[0]=e-r,s[1]=t-n,u[0]=e+r,u[1]=t+n;return}if(b1[0]=Sf(i)*r+e,b1[1]=wf(i)*n+t,x1[0]=Sf(a)*r+e,x1[1]=wf(a)*n+t,l(s,b1,x1),c(u,b1,x1),i=i%ea,i<0&&(i=i+ea),a=a%ea,a<0&&(a=a+ea),i>a&&!o?a+=ea:i<a&&o&&(i+=ea),o){var h=a;a=i,i=h}for(var d=0;d<a;d+=Math.PI/2)d>i&&(w1[0]=Sf(d)*r+e,w1[1]=wf(d)*n+t,l(s,w1,s),c(u,w1,u))}var $e={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},ta=[],ra=[],Jr=[],ei=[],en=[],tn=[],Cf=Math.min,Af=Math.max,na=Math.cos,ia=Math.sin,En=Math.abs,id=Math.PI,ci=id*2,Tf=typeof Float32Array<"u",Zs=[];function Df(e){var t=Math.round(e/id*1e8)/1e8;return t%2*id}function t5(e,t){var r=Df(e[0]);r<0&&(r+=ci);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=ci?i=r+ci:t&&r-i>=ci?i=r-ci:!t&&r>i?i=r+(ci-Df(r-i)):t&&r<i&&(i=r-(ci-Df(i-r))),e[0]=r,e[1]=i}var xn=function(){function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,r,n){n=n||0,n>0&&(this._ux=En(n/q0/t)||0,this._uy=En(n/q0/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData($e.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=En(t-this._xi),i=En(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData($e.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,n,i,a,o){return this._drawPendingPt(),this.addData($e.C,t,r,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,r,n,i,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,n,i){return this._drawPendingPt(),this.addData($e.Q,t,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,r,n,i,a,o){this._drawPendingPt(),Zs[0]=i,Zs[1]=a,t5(Zs,o),i=Zs[0],a=Zs[1];var s=a-i;return this.addData($e.A,t,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,i,a,o),this._xi=na(a)*n+t,this._yi=ia(a)*n+r,this},e.prototype.arcTo=function(t,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,i,a),this},e.prototype.rect=function(t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,i),this.addData($e.R,t,r,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData($e.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&Tf&&(this.data=new Float32Array(r));for(var n=0;n<r;n++)this.data[n]=t[n];this._len=r},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var r=t.length,n=0,i=this._len,a=0;a<r;a++)n+=t[a].len();Tf&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var a=0;a<r;a++)for(var o=t[a].data,s=0;s<o.length;s++)this.data[i++]=o[s];this._len=i},e.prototype.addData=function(t,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]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r<this._len;r++)t[r]=this.data[r];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Tf&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){Jr[0]=Jr[1]=en[0]=en[1]=Number.MAX_VALUE,ei[0]=ei[1]=tn[0]=tn[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,i=0,a=0,o;for(o=0;o<this._len;){var s=t[o++],u=o===1;switch(u&&(r=t[o],n=t[o+1],i=r,a=n),s){case $e.M:r=i=t[o++],n=a=t[o++],en[0]=i,en[1]=a,tn[0]=i,tn[1]=a;break;case $e.L:Lv(r,n,t[o],t[o+1],en,tn),r=t[o++],n=t[o++];break;case $e.C:jF(r,n,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],en,tn),r=t[o++],n=t[o++];break;case $e.Q:KF(r,n,t[o++],t[o++],t[o],t[o+1],en,tn),r=t[o++],n=t[o++];break;case $e.A:var l=t[o++],c=t[o++],f=t[o++],h=t[o++],d=t[o++],p=t[o++]+d;o+=1;var v=!t[o++];u&&(i=na(d)*f+l,a=ia(d)*h+c),QF(l,c,f,h,d,p,v,en,tn),r=na(p)*f+l,n=ia(p)*h+c;break;case $e.R:i=r=t[o++],a=n=t[o++];var g=t[o++],m=t[o++];Lv(i,a,i+g,a+m,en,tn);break;case $e.Z:r=i,n=a;break}bi(Jr,Jr,en),xi(ei,ei,tn)}return o===0&&(Jr[0]=Jr[1]=ei[0]=ei[1]=0),new ye(Jr[0],Jr[1],ei[0]-Jr[0],ei[1]-Jr[1])},e.prototype._calculateLength=function(){var t=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=t[h++],p=h===1;p&&(a=t[h],o=t[h+1],s=a,u=o);var v=-1;switch(d){case $e.M:a=s=t[h++],o=u=t[h++];break;case $e.L:{var g=t[h++],m=t[h++],y=g-a,_=m-o;(En(y)>n||En(_)>i||h===r-1)&&(v=Math.sqrt(y*y+_*_),a=g,o=m);break}case $e.C:{var b=t[h++],x=t[h++],g=t[h++],m=t[h++],w=t[h++],S=t[h++];v=cB(a,o,b,x,g,m,w,S,10),a=w,o=S;break}case $e.Q:{var b=t[h++],x=t[h++],g=t[h++],m=t[h++];v=hB(a,o,b,x,g,m,10),a=g,o=m;break}case $e.A:var C=t[h++],A=t[h++],T=t[h++],D=t[h++],k=t[h++],M=t[h++],L=M+k;h+=1,p&&(s=na(k)*T+C,u=ia(k)*D+A),v=Af(T,D)*Cf(ci,Math.abs(M)),a=na(L)*T+C,o=ia(L)*D+A;break;case $e.R:{s=a=t[h++],u=o=t[h++];var N=t[h++],I=t[h++];v=N*2+I*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},e.prototype.rebuildPath=function(t,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&&(t.lineTo(b,x),_=0),S){case $e.M:s=l=n[w++],u=c=n[w++],t.moveTo(l,c);break;case $e.L:{f=n[w++],h=n[w++];var A=En(f-l),T=En(h-c);if(A>i||T>a){if(d){var D=p[m++];if(g+D>y){var k=(y-g)/D;t.lineTo(l*(1-k)+f*k,c*(1-k)+h*k);break e}g+=D}t.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 L=n[w++],N=n[w++],I=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;Ri(l,L,I,P,k,ta),Ri(c,N,O,R,k,ra),t.bezierCurveTo(ta[1],ra[1],ta[2],ra[2],ta[3],ra[3]);break e}g+=D}t.bezierCurveTo(L,N,I,O,P,R),l=P,c=R;break}case $e.Q:{var L=n[w++],N=n[w++],I=n[w++],O=n[w++];if(d){var D=p[m++];if(g+D>y){var k=(y-g)/D;tl(l,L,I,k,ta),tl(c,N,O,k,ra),t.quadraticCurveTo(ta[1],ra[1],ta[2],ra[2]);break e}g+=D}t.quadraticCurveTo(L,N,I,O),l=I,c=O;break}case $e.A:var B=n[w++],V=n[w++],z=n[w++],U=n[w++],q=n[w++],K=n[w++],xe=n[w++],ze=!n[w++],ue=z>U?z:U,ee=En(z-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&&t.ellipse?t.ellipse(B,V,z,U,xe,q,he,ze):t.arc(B,V,ue,q,he,ze),Q)break e;C&&(s=na(q)*z+B,u=ia(q)*U+V),l=na(he)*z+B,c=ia(he)*U+V;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;t.moveTo(f,h),t.lineTo(f+Cf(Pe,se),h),Pe-=se,Pe>0&&t.lineTo(f+se,h+Cf(Pe,Fe)),Pe-=Fe,Pe>0&&t.lineTo(f+Af(se-Pe,0),h+Fe),Pe-=se,Pe>0&&t.lineTo(f,h+Af(Fe-Pe,0));break e}g+=D}t.rect(f,h,se,Fe);break;case $e.Z:if(d){var D=p[m++];if(g+D>y){var k=(y-g)/D;t.lineTo(l*(1-k)+s*k,c*(1-k)+u*k);break e}g+=D}t.closePath(),l=s,c=u}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=$e,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function pi(e,t,r,n,i,a,o){if(i===0)return!1;var s=i,u=0,l=e;if(o>t+s&&o>n+s||o<t-s&&o<n-s||a>e+s&&a>r+s||a<e-s&&a<r-s)return!1;if(e!==r)u=(t-n)/(e-r),l=(e*n-r*t)/(e-r);else return Math.abs(a-e)<=s/2;var c=u*a-o+l,f=c*c/(u*u+1);return f<=s/2*s/2}function JF(e,t,r,n,i,a,o,s,u,l,c){if(u===0)return!1;var f=u;if(c>t+f&&c>n+f&&c>a+f&&c>s+f||c<t-f&&c<n-f&&c<a-f&&c<s-f||l>e+f&&l>r+f&&l>i+f&&l>o+f||l<e-f&&l<r-f&&l<i-f&&l<o-f)return!1;var h=Kb(e,t,r,n,i,a,o,s,l,c,null);return h<=f/2}function Rx(e,t,r,n,i,a,o,s,u){if(o===0)return!1;var l=o;if(u>t+l&&u>n+l&&u>a+l||u<t-l&&u<n-l&&u<a-l||s>e+l&&s>r+l&&s>i+l||s<e-l&&s<r-l&&s<i-l)return!1;var c=Jb(e,t,r,n,i,a,s,u,null);return c<=l/2}var Nv=Math.PI*2;function ur(e){return e%=Nv,e<0&&(e+=Nv),e}var Ys=Math.PI*2;function eV(e,t,r,n,i,a,o,s,u){if(o===0)return!1;var l=o;s-=e,u-=t;var c=Math.sqrt(s*s+u*u);if(c-l>r||c+l<r)return!1;if(Math.abs(n-i)%Ys<1e-4)return!0;if(a){var f=n;n=ur(i),i=ur(f)}else n=ur(n),i=ur(i);n>i&&(i+=Ys);var h=Math.atan2(u,s);return h<0&&(h+=Ys),h>=n&&h<=i||h+Ys>=n&&h+Ys<=i}function Ln(e,t,r,n,i,a){if(a>t&&a>n||a<t&&a<n||n===t)return 0;var o=(a-t)/(n-t),s=n<t?1:-1;(o===1||o===0)&&(s=n<t?.5:-.5);var u=o*(r-e)+e;return u===i?1/0:u>i?s:0}var ti=xn.CMD,aa=Math.PI*2,tV=1e-4;function rV(e,t){return Math.abs(e-t)<tV}var Gt=[-1,-1,-1],wr=[-1,-1];function nV(){var e=wr[0];wr[0]=wr[1],wr[1]=e}function iV(e,t,r,n,i,a,o,s,u,l){if(l>t&&l>n&&l>a&&l>s||l<t&&l<n&&l<a&&l<s)return 0;var c=G0(t,n,a,s,l,Gt);if(c===0)return 0;for(var f=0,h=-1,d=void 0,p=void 0,v=0;v<c;v++){var g=Gt[v],m=g===0||g===1?.5:1,y=pt(e,r,i,o,g);y<u||(h<0&&(h=jb(t,n,a,s,wr),wr[1]<wr[0]&&h>1&&nV(),d=pt(t,n,a,s,wr[0]),h>1&&(p=pt(t,n,a,s,wr[1]))),h===2?g<wr[0]?f+=d<t?m:-m:g<wr[1]?f+=p<d?m:-m:f+=s<p?m:-m:g<wr[0]?f+=d<t?m:-m:f+=s<d?m:-m)}return f}function aV(e,t,r,n,i,a,o,s){if(s>t&&s>n&&s>a||s<t&&s<n&&s<a)return 0;var u=fB(t,n,a,s,Gt);if(u===0)return 0;var l=Qb(t,n,a);if(l>=0&&l<=1){for(var c=0,f=_t(t,n,a,l),h=0;h<u;h++){var d=Gt[h]===0||Gt[h]===1?.5:1,p=_t(e,r,i,Gt[h]);p<o||(Gt[h]<l?c+=f<t?d:-d:c+=a<f?d:-d)}return c}else{var d=Gt[0]===0||Gt[0]===1?.5:1,p=_t(e,r,i,Gt[0]);return p<o?0:a<t?d:-d}}function oV(e,t,r,n,i,a,o,s){if(s-=t,s>r||s<-r)return 0;var u=Math.sqrt(r*r-s*s);Gt[0]=-u,Gt[1]=u;var l=Math.abs(n-i);if(l<1e-4)return 0;if(l>=aa-1e-4){n=0,i=aa;var c=a?1:-1;return o>=Gt[0]+e&&o<=Gt[1]+e?c:0}if(n>i){var f=n;n=i,i=f}n<0&&(n+=aa,i+=aa);for(var h=0,d=0;d<2;d++){var p=Gt[d];if(p+e>o){var v=Math.atan2(s,p),c=a?1:-1;v<0&&(v=aa+v),(v>=n&&v<=i||v+aa>=n&&v+aa<=i)&&(v>Math.PI/2&&v<Math.PI*1.5&&(c=-c),h+=c)}}return h}function Nx(e,t,r,n,i){for(var a=e.data,o=e.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===ti.M&&p>1&&(r||(s+=Ln(u,l,c,f,n,i))),g&&(u=a[p],l=a[p+1],c=u,f=l),v){case ti.M:c=a[p++],f=a[p++],u=c,l=f;break;case ti.L:if(r){if(pi(u,l,a[p],a[p+1],t,n,i))return!0}else s+=Ln(u,l,a[p],a[p+1],n,i)||0;u=a[p++],l=a[p++];break;case ti.C:if(r){if(JF(u,l,a[p++],a[p++],a[p++],a[p++],a[p],a[p+1],t,n,i))return!0}else s+=iV(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 ti.Q:if(r){if(Rx(u,l,a[p++],a[p++],a[p],a[p+1],t,n,i))return!0}else s+=aV(u,l,a[p++],a[p++],a[p],a[p+1],n,i)||0;u=a[p++],l=a[p++];break;case ti.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+=Ln(u,l,h,d,n,i);var C=(n-m)*b/_+m;if(r){if(eV(m,y,b,x,x+w,S,t,C,i))return!0}else s+=oV(m,y,b,x,x+w,S,C,i);u=Math.cos(x+w)*_+m,l=Math.sin(x+w)*b+y;break;case ti.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(pi(c,f,h,f,t,n,i)||pi(h,f,h,d,t,n,i)||pi(h,d,c,d,t,n,i)||pi(c,d,c,f,t,n,i))return!0}else s+=Ln(h,f,h,d,n,i),s+=Ln(c,d,c,f,n,i);break;case ti.Z:if(r){if(pi(u,l,c,f,t,n,i))return!0}else s+=Ln(u,l,c,f,n,i);u=c,l=f;break}}return!r&&!rV(l,f)&&(s+=Ln(u,l,c,f,n,i)||0),s!==0}function sV(e,t,r){return Nx(e,0,!1,t,r)}function uV(e,t,r,n){return Nx(e,t,!0,r,n)}var Y0=ae({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Va),lV={style:ae({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},n2.style)},Ef=_n.concat(["invisible","culling","z","z2","zlevel","parent"]),cV=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.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<Ef.length;++s)i[Ef[s]]=this[Ef[s]];i.__dirty|=sr}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.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):e.prototype.attrKV.call(this,o,s)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var r=this.style.fill;if(r!=="none"){if(Z(r)){var n=U0(r,0);return n>.5?Kh:n>.2?HB:Qh}else if(r)return Qh}return Kh},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(Z(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=U0(r,0)<jh;if(a===o)return n}},t.prototype.buildPath=function(r,n,i){},t.prototype.pathUpdated=function(){this.__dirty&=~Ho},t.prototype.getUpdatedPathProxy=function(r){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,r),this.path},t.prototype.createPathProxy=function(){this.path=new xn(!1)},t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return!(n==null||n==="none"||!(r.lineWidth>0))},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.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&Ho)&&(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},t.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)),uV(s,u/l,r,n)))return!0}if(this.hasFill())return sV(s,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Ho,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):e.prototype.attrKV.call(this,r,n)},t.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},t.prototype.shapeChanged=function(){return!!(this.__dirty&Ho)},t.prototype.createStyle=function(r){return Xc(Y0,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=$({},this.shape))},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.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()},t.prototype._mergeStates=function(r){for(var n=e.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},t.prototype.getAnimationStyleProps=function(){return lV},t.prototype.isZeroArea=function(){return!1},t.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}(t);for(var i in r)typeof r[i]=="function"&&(n.prototype[i]=r[i]);return n},t.initDefaultProps=function(){var r=t.prototype;r.type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,r.__dirty=sr|mu|Ho}(),t}(Lr);const we=cV;var fV=ae({strokeFirst:!0,font:Li,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Y0),Ox=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return n!=null&&n!=="none"&&r.lineWidth>0},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(r){return Xc(fV,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var i=Ml(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},t.initDefaultProps=function(){var r=t.prototype;r.dirtyRectTolerance=10}(),t}(Lr);Ox.prototype.type="tspan";const al=Ox;var hV=ae({x:0,y:0},Va),dV={style:ae({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},n2.style)};function pV(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Bx=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return Xc(hV,r)},t.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=pV(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},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return dV},t.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},t}(Lr);Bx.prototype.type="image";const Mt=Bx;function vV(e,t){var r=t.x,n=t.y,i=t.width,a=t.height,o=t.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),e.moveTo(r+s,n),e.lineTo(r+i-u,n),u!==0&&e.arc(r+i-u,n+u,u,-Math.PI/2,0),e.lineTo(r+i,n+a-l),l!==0&&e.arc(r+i-l,n+a-l,l,0,Math.PI/2),e.lineTo(r+c,n+a),c!==0&&e.arc(r+c,n+a-c,c,Math.PI/2,Math.PI),e.lineTo(r,n+s),s!==0&&e.arc(r+s,n+s,s,Math.PI,Math.PI*1.5)}var Xo=Math.round;function Fx(e,t,r){if(t){var n=t.x1,i=t.x2,a=t.y1,o=t.y2;e.x1=n,e.x2=i,e.y1=a,e.y2=o;var s=r&&r.lineWidth;return s&&(Xo(n*2)===Xo(i*2)&&(e.x1=e.x2=ka(n,s,!0)),Xo(a*2)===Xo(o*2)&&(e.y1=e.y2=ka(a,s,!0))),e}}function Vx(e,t,r){if(t){var n=t.x,i=t.y,a=t.width,o=t.height;e.x=n,e.y=i,e.width=a,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=ka(n,s,!0),e.y=ka(i,s,!0),e.width=Math.max(ka(n+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(ka(i+o,s,!1)-e.y,o===0?0:1)),e}}function ka(e,t,r){if(!t)return e;var n=Xo(e*2);return(n+Xo(t))%2===0?n/2:(n+(r?1:-1))/2}var gV=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),mV={},zx=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new gV},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var u=Vx(mV,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?vV(r,n):r.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(we);zx.prototype.type="rect";const Ee=zx;var Ov={fill:"#000"},Bv=2,yV={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},n2.style)},$x=function(e){F(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Ov,n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.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}},t.prototype.updateTransform=function(){var r=this.innerTransformable;r?(r.updateTransform(),r.transform&&(this.transform=r.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(r){var n=this.innerTransformable;return n?n.getLocalTransform(r):e.prototype.getLocalTransform.call(this,r)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,xV(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=r},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.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},t.prototype.setDefaultTextStyle=function(r){this._defaultStyle=r||Ov},t.prototype.setTextContent=function(r){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},t.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},t.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])}},t.prototype.getAnimationStyleProps=function(){return yV},t.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},t.prototype._updatePlainTexts=function(){var r=this.style,n=r.font||Li,i=r.padding,a=Uv(r),o=zF(a,r),s=kf(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=Uo(g,o.contentHeight,y);if(s||i){var x=_u(v,c,m),w=Uo(g,l,y);s&&this._renderBackground(r,r,x,w,c,l)}b+=d/2,i&&(_=Hv(v,m,i),y==="top"?b+=i[0]:y==="bottom"&&(b-=i[2]));for(var S=0,C=!1,A=Gv("fill"in r?r.fill:(C=!0,p.fill)),T=$v("stroke"in r?r.stroke:!u&&(!p.autoStroke||C)?(S=Bv,p.stroke):null),D=r.textShadowBlur>0,k=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),M=o.calculatedLineHeight,L=0;L<h.length;L++){var N=this._getOrCreateChild(al),I=N.createStyle();N.useStyle(I),I.text=h[L],I.x=_,I.y=b,m&&(I.textAlign=m),I.textBaseline="middle",I.opacity=r.opacity,I.strokeFirst=!0,D&&(I.shadowBlur=r.textShadowBlur||0,I.shadowColor=r.textShadowColor||"transparent",I.shadowOffsetX=r.textShadowOffsetX||0,I.shadowOffsetY=r.textShadowOffsetY||0),I.stroke=T,I.fill=A,T&&(I.lineWidth=r.lineWidth||S,I.lineDash=r.lineDash,I.lineDashOffset=r.lineDashOffset||0),I.font=n,Vv(I,r),b+=d,k&&N.setBoundingRect(new ye(_u(I.x,f,I.textAlign),Uo(I.y,M,I.textBaseline),f,M))}},t.prototype._updateRichTexts=function(){var r=this.style,n=Uv(r),i=HF(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=_u(l,o,h),v=Uo(c,s,d),g=p,m=v;u&&(g+=u[3],m+=u[0]);var y=g+a;kf(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,L=void 0;T<S&&(L=w[T],!L.align||L.align==="left");)this._placeToken(L,r,C,m,D,"left",_),A-=L.width,D+=L.width,T++;for(;M>=0&&(L=w[M],L.align==="right");)this._placeToken(L,r,C,m,k,"right",_),A-=L.width,k-=L.width,M--;for(D+=(a-(D-g)-(y-k)-A)/2;T<=M;)L=w[T],this._placeToken(L,r,C,m,D+L.width/2,"center",_),D+=L.width,T++;m+=C}},t.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&&kf(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=Hv(o,s,p),f-=r.height/2-p[0]-r.innerHeight/2);var v=this._getOrCreateChild(al),g=v.createStyle();v.useStyle(g);var m=this._defaultStyle,y=!1,_=0,b=Gv("fill"in l?l.fill:"fill"in n?n.fill:(y=!0,m.fill)),x=$v("stroke"in l?l.stroke:"stroke"in n?n.stroke:!d&&!u&&(!m.autoStroke||y)?(_=Bv,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||Li,g.opacity=kr(l.opacity,n.opacity,1),Vv(g,l),x&&(g.lineWidth=kr(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(_u(g.x,S,g.textAlign),Uo(g.y,C,g.textBaseline),S,C))},t.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(Mt),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=kr(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";return Hx(r)&&(n=[r.fontStyle,r.fontWeight,Gx(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&Hr(n)||r.textFont||r.font},t}(Lr),_V={left:!0,right:1,center:1},bV={top:1,bottom:1,middle:1},Fv=["fontStyle","fontWeight","fontSize","fontFamily"];function Gx(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?B4+"px":e+"px"}function Vv(e,t){for(var r=0;r<Fv.length;r++){var n=Fv[r],i=t[n];i!=null&&(e[n]=i)}}function Hx(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function xV(e){return zv(e),E(e.rich,zv),e}function zv(e){if(e){e.font=$x.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||_V[t]?t:"left";var r=e.verticalAlign;r==="center"&&(r="middle"),e.verticalAlign=r==null||bV[r]?r:"top";var n=e.padding;n&&(e.padding=G4(e.padding))}}function $v(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function Gv(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function Hv(e,t,r){return t==="right"?e-r[1]:t==="center"?e+r[3]/2-r[1]/2:e+r[3]}function Uv(e){var t=e.text;return t!=null&&(t+=""),t}function kf(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}const ke=$x;var ce=Ae(),ad=function(e,t,r,n){if(n){var i=ce(n);i.dataIndex=r,i.dataType=t,i.seriesIndex=e,i.ssrType="chart",n.type==="group"&&n.traverse(function(a){var o=ce(a);o.seriesIndex=e,o.dataIndex=r,o.dataType=t,o.ssrType="chart"})}},Wv=1,qv={},Ux=Ae(),r5=Ae(),n5=0,Ll=1,a2=2,Yt=["emphasis","blur","select"],ol=["normal","emphasis","blur","select"],Cs=10,wV=9,za="highlight",x0="downplay",Bu="select",w0="unselect",Fu="toggleSelect";function wo(e){return e!=null&&e!=="none"}function o2(e,t,r){e.onHoverStateChange&&(e.hoverState||0)!==r&&e.onHoverStateChange(t),e.hoverState=r}function Wx(e){o2(e,"emphasis",a2)}function qx(e){e.hoverState===a2&&o2(e,"normal",n5)}function i5(e){o2(e,"blur",Ll)}function Zx(e){e.hoverState===Ll&&o2(e,"normal",n5)}function SV(e){e.selected=!0}function CV(e){e.selected=!1}function Zv(e,t,r){t(e,r)}function jn(e,t,r){Zv(e,t,r),e.isGroup&&e.traverse(function(n){Zv(n,t,r)})}function X0(e,t){switch(t){case"emphasis":e.hoverState=a2;break;case"normal":e.hoverState=n5;break;case"blur":e.hoverState=Ll;break;case"select":e.selected=!0}}function AV(e,t,r,n){for(var i=e.style,a={},o=0;o<t.length;o++){var s=t[o],u=i[s];a[s]=u??(n&&n[s])}for(var o=0;o<e.animators.length;o++){var l=e.animators[o];l.__fromStateTransition&&l.__fromStateTransition.indexOf(r)<0&&l.targetName==="style"&&l.saveTo(a,t)}return a}function TV(e,t,r,n){var i=r&&_e(r,"select")>=0,a=!1;if(e instanceof we){var o=Ux(e),s=i&&o.selectFill||o.normalFill,u=i&&o.selectStroke||o.normalStroke;if(wo(s)||wo(u)){n=n||{};var l=n.style||{};l.fill==="inherit"?(a=!0,n=$({},n),l=$({},l),l.fill=s):!wo(l.fill)&&wo(s)?(a=!0,n=$({},n),l=$({},l),l.fill=Hh(s)):!wo(l.stroke)&&wo(u)&&(a||(n=$({},n),l=$({},l)),l.stroke=Hh(u)),n.style=l}}if(n&&n.z2==null){a||(n=$({},n));var c=e.z2EmphasisLift;n.z2=e.z2+(c??Cs)}return n}function DV(e,t,r){if(r&&r.z2==null){r=$({},r);var n=e.z2SelectLift;r.z2=e.z2+(n??wV)}return r}function EV(e,t,r){var n=_e(e.currentStates,t)>=0,i=e.style.opacity,a=n?null:AV(e,["opacity"],t,{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 Mf(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return TV(this,e,t,r);if(e==="blur")return EV(this,e,r);if(e==="select")return DV(this,e,r)}return r}function Qa(e){e.stateProxy=Mf;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=Mf),r&&(r.stateProxy=Mf)}function Yv(e,t){!Kx(e,t)&&!e.__highByOuter&&jn(e,Wx)}function Xv(e,t){!Kx(e,t)&&!e.__highByOuter&&jn(e,qx)}function Un(e,t){e.__highByOuter|=1<<(t||0),jn(e,Wx)}function Wn(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&jn(e,qx)}function Yx(e){jn(e,i5)}function a5(e){jn(e,Zx)}function Xx(e){jn(e,SV)}function jx(e){jn(e,CV)}function Kx(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function Qx(e){var t=e.getModel(),r=[],n=[];t.eachComponent(function(i,a){var o=r5(a),s=i==="series",u=s?e.getViewOfSeriesModel(a):e.getViewOfComponentModel(a);!s&&n.push(u),o.isBlured&&(u.group.traverse(function(l){Zx(l)}),s&&r.push(a)),o.isBlured=!1}),E(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(r,!1,t)})}function od(e,t,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&&a5(h)}}if(e!=null&&!(!t||t==="none")){var o=i.getSeriesByIndex(e),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||t==="series"&&c)){var d=n.getViewOfSeriesModel(l);if(d.group.traverse(function(g){g.__highByOuter&&c&&t==="self"||i5(g)}),Ft(t))a(l.getData(),t);else if(ne(t))for(var p=Se(t),v=0;v<p.length;v++)a(l.getData(p[v]),t[p[v]]);u.push(l),r5(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 sd(e,t,r){if(!(e==null||t==null)){var n=r.getModel().getComponent(e,t);if(n){r5(n).isBlured=!0;var i=r.getViewOfComponentModel(n);!i||!i.focusBlurEnabled||i.group.traverse(function(a){i5(a)})}}}function kV(e,t,r){var n=e.seriesIndex,i=e.getData(t.dataType);if(!i){process.env.NODE_ENV!=="production"&&Dt("Unknown dataType "+t.dataType);return}var a=ja(i,t);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);od(n,l.focus,l.blurScope,r)}else{var c=e.get(["emphasis","focus"]),f=e.get(["emphasis","blurScope"]);c!=null&&od(n,c,f,r)}}function o5(e,t,r,n){var i={focusSelf:!1,dispatchers:null};if(e==null||e==="series"||t==null||r==null)return i;var a=n.getModel().getComponent(e,t);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"&&!Ni(s[l])&&Dt("param should be highDownDispatcher"),ce(s[l]).focus==="self"){u=!0;break}return{focusSelf:u,dispatchers:s}}function MV(e,t,r){process.env.NODE_ENV!=="production"&&!Ni(e)&&Dt("param should be highDownDispatcher");var n=ce(e),i=o5(n.componentMainType,n.componentIndex,n.componentHighDownName,r),a=i.dispatchers,o=i.focusSelf;a?(o&&sd(n.componentMainType,n.componentIndex,r),E(a,function(s){return Yv(s,t)})):(od(n.seriesIndex,n.focus,n.blurScope,r),n.focus==="self"&&sd(n.componentMainType,n.componentIndex,r),Yv(e,t))}function IV(e,t,r){process.env.NODE_ENV!=="production"&&!Ni(e)&&Dt("param should be highDownDispatcher"),Qx(r);var n=ce(e),i=o5(n.componentMainType,n.componentIndex,n.componentHighDownName,r).dispatchers;i?E(i,function(a){return Xv(a,t)}):Xv(e,t)}function LV(e,t,r){if(ld(t)){var n=t.dataType,i=e.getData(n),a=ja(i,t);G(a)||(a=[a]),e[t.type===Fu?"toggleSelect":t.type===Bu?"select":"unselect"](a,n)}}function jv(e){var t=e.getAllData();E(t,function(r){var n=r.data,i=r.type;n.eachItemGraphicEl(function(a,o){e.isSelected(o,i)?Xx(a):jx(a)})})}function PV(e){var t=[];return e.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),t.push(s)}})}),t}function $a(e,t,r){Ma(e,!0),jn(e,Qa),ud(e,t,r)}function RV(e){Ma(e,!1)}function Je(e,t,r,n){n?RV(e):$a(e,t,r)}function ud(e,t,r){var n=ce(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var Kv=["emphasis","blur","select"],NV={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Et(e,t,r,n){r=r||"itemStyle";for(var i=0;i<Kv.length;i++){var a=Kv[i],o=t.getModel([a,r]),s=e.ensureState(a);s.style=n?n(o):o[NV[r]]()}}function Ma(e,t){var r=t===!1,n=e;e.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!r||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!r)}function Ni(e){return!!(e&&e.__highDownDispatcher)}function OV(e,t,r){var n=ce(e);n.componentMainType=t.mainType,n.componentIndex=t.componentIndex,n.componentHighDownName=r}function BV(e){var t=qv[e];return t==null&&Wv<=32&&(t=qv[e]=Wv++),t}function ld(e){var t=e.type;return t===Bu||t===w0||t===Fu}function Qv(e){var t=e.type;return t===za||t===x0}function FV(e){var t=Ux(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var r=e.states.select||{};t.selectFill=r.style&&r.style.fill||null,t.selectStroke=r.style&&r.style.stroke||null}var So=xn.CMD,VV=[[],[],[]],Jv=Math.sqrt,zV=Math.atan2;function Jx(e,t){if(t){var r=e.data,n=e.len(),i,a,o,s,u,l,c=So.M,f=So.C,h=So.L,d=So.R,p=So.A,v=So.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=t[4],m=t[5],y=Jv(t[0]*t[0]+t[1]*t[1]),_=Jv(t[2]*t[2]+t[3]*t[3]),b=zV(-t[1]/_,t[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++],At(l,l,t),r[s++]=l[0],r[s++]=l[1],l[0]+=r[o++],l[1]+=r[o++],At(l,l,t),r[s++]=l[0],r[s++]=l[1]}for(u=0;u<a;u++){var x=VV[u];x[0]=r[o++],x[1]=r[o++],At(x,x,t),r[s++]=x[0],r[s++]=x[1]}}e.increaseVersion()}}var If=Math.sqrt,S1=Math.sin,C1=Math.cos,Xs=Math.PI;function e3(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function cd(e,t){return(e[0]*t[0]+e[1]*t[1])/(e3(e)*e3(t))}function t3(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(cd(e,t))}function r3(e,t,r,n,i,a,o,s,u,l,c){var f=u*(Xs/180),h=C1(f)*(e-r)/2+S1(f)*(t-n)/2,d=-1*S1(f)*(e-r)/2+C1(f)*(t-n)/2,p=h*h/(o*o)+d*d/(s*s);p>1&&(o*=If(p),s*=If(p));var v=(i===a?-1:1)*If((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=(e+r)/2+C1(f)*g-S1(f)*m,_=(t+n)/2+S1(f)*g+C1(f)*m,b=t3([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=t3(x,w);if(cd(x,w)<=-1&&(S=Xs),cd(x,w)>=1&&(S=0),S<0){var C=Math.round(S/Xs*1e6)/1e6;S=Xs*2+C%2*Xs}c.addData(l,y,_,o,s,b,S,f,a)}var $V=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,GV=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function HV(e){var t=new xn;if(!e)return t;var r=0,n=0,i=r,a=n,o,s=xn.CMD,u=e.match($V);if(!u)return t;for(var l=0;l<u.length;l++){for(var c=u[l],f=c.charAt(0),h=void 0,d=c.match(GV)||[],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,t.addData(h,r,n);break;case"L":r=d[g++],n=d[g++],h=s.L,t.addData(h,r,n);break;case"m":r+=d[g++],n+=d[g++],h=s.M,t.addData(h,r,n),i=r,a=n,f="l";break;case"M":r=d[g++],n=d[g++],h=s.M,t.addData(h,r,n),i=r,a=n,f="L";break;case"h":r+=d[g++],h=s.L,t.addData(h,r,n);break;case"H":r=d[g++],h=s.L,t.addData(h,r,n);break;case"v":n+=d[g++],h=s.L,t.addData(h,r,n);break;case"V":n=d[g++],h=s.L,t.addData(h,r,n);break;case"C":h=s.C,t.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,t.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=t.len(),D=t.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++],t.addData(h,m,y,C,A,r,n);break;case"s":m=r,y=n,T=t.len(),D=t.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++],t.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,t.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,t.addData(h,C,A,r,n);break;case"T":m=r,y=n,T=t.len(),D=t.data,o===s.Q&&(m+=r-D[T-4],y+=n-D[T-3]),r=d[g++],n=d[g++],h=s.Q,t.addData(h,m,y,r,n);break;case"t":m=r,y=n,T=t.len(),D=t.data,o===s.Q&&(m+=r-D[T-4],y+=n-D[T-3]),r+=d[g++],n+=d[g++],h=s.Q,t.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,r3(C,A,r,n,w,S,_,b,x,h,t);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,r3(C,A,r,n,w,S,_,b,x,h,t);break}}(f==="z"||f==="Z")&&(h=s.Z,t.addData(h),r=i,n=a),o=h}return t.toStatic(),t}var ew=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(r){},t}(we);function tw(e){return e.setData!=null}function rw(e,t){var r=HV(e),n=$({},t);return n.buildPath=function(i){if(tw(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){Jx(r,i),this.dirtyShape()},n}function nw(e,t){return new ew(rw(e,t))}function UV(e,t){var r=rw(e,t),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}(ew);return n}function WV(e,t){for(var r=[],n=e.length,i=0;i<n;i++){var a=e[i];r.push(a.getUpdatedPathProxy(!0))}var o=new we(t);return o.createPathProxy(),o.buildPath=function(s){if(tw(s)){s.appendPath(r);var u=s.getContext();u&&s.rebuildPath(u,1)}},o}function s5(e,t){t=t||{};var r=new we;return e.shape&&r.setShape(e.shape),r.setStyle(e.style),t.bakeTransform?Jx(r.path,e.getComputedTransform()):t.toLocal?r.setLocalTransform(e.getComputedTransform()):r.copyTransform(e),r.buildPath=e.buildPath,r.applyTransform=r.applyTransform,r.z=e.z,r.z2=e.z2,r.zlevel=e.zlevel,r}var qV=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),iw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new qV},t.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)},t}(we);iw.prototype.type="circle";const Hi=iw;var ZV=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),aw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new ZV},t.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()},t}(we);aw.prototype.type="ellipse";const u5=aw;var ow=Math.PI,Lf=ow*2,oa=Math.sin,Co=Math.cos,YV=Math.acos,Lt=Math.atan2,n3=Math.abs,Vu=Math.sqrt,xu=Math.max,rn=Math.min,Vr=1e-4;function XV(e,t,r,n,i,a,o,s){var u=r-e,l=n-t,c=o-i,f=s-a,h=f*u-c*l;if(!(h*h<Vr))return h=(c*(t-a)-f*(e-i))/h,[e+h*u,t+h*l]}function A1(e,t,r,n,i,a,o){var s=e-r,u=t-n,l=(o?a:-a)/Vu(s*s+u*u),c=l*u,f=-l*s,h=e+c,d=t+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)*Vu(xu(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,L=T-g,N=D-m;return k*k+M*M>L*L+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 jV(e){var t;if(G(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function KV(e,t){var r,n=xu(t.r,0),i=xu(t.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=t.startAngle,l=t.endAngle;if(!(isNaN(u)||isNaN(l))){var c=t.cx,f=t.cy,h=!!t.clockwise,d=n3(l-u),p=d>Lf&&d%Lf;if(p>Vr&&(d=p),!(n>Vr))e.moveTo(c,f);else if(d>Lf-Vr)e.moveTo(c+n*Co(u),f+n*oa(u)),e.arc(c,f,n,u,l,!h),i>Vr&&(e.moveTo(c+i*Co(l),f+i*oa(l)),e.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,L=void 0,N=n*Co(u),I=n*oa(u),O=i*Co(l),P=i*oa(l),R=d>Vr;if(R){var B=t.cornerRadius;B&&(r=jV(B),v=r[0],g=r[1],m=r[2],y=r[3]);var V=n3(n-i)/2;if(_=rn(V,m),b=rn(V,y),x=rn(V,v),w=rn(V,g),A=S=xu(_,b),T=C=xu(x,w),(S>Vr||C>Vr)&&(D=n*Co(l),k=n*oa(l),M=i*Co(u),L=i*oa(u),d<ow)){var z=XV(N,I,M,L,D,k,O,P);if(z){var U=N-z[0],q=I-z[1],K=D-z[0],xe=k-z[1],ze=1/oa(YV((U*K+q*xe)/(Vu(U*U+q*q)*Vu(K*K+xe*xe)))/2),ue=Vu(z[0]*z[0]+z[1]*z[1]);A=rn(S,(n-ue)/(ze+1)),T=rn(C,(i-ue)/(ze-1))}}}if(!R)e.moveTo(c+N,f+I);else if(A>Vr){var ee=rn(m,A),he=rn(y,A),Q=A1(M,L,N,I,n,ee,h),se=A1(D,k,O,P,n,he,h);e.moveTo(c+Q.cx+Q.x0,f+Q.cy+Q.y0),A<S&&ee===he?e.arc(c+Q.cx,f+Q.cy,A,Lt(Q.y0,Q.x0),Lt(se.y0,se.x0),!h):(ee>0&&e.arc(c+Q.cx,f+Q.cy,ee,Lt(Q.y0,Q.x0),Lt(Q.y1,Q.x1),!h),e.arc(c,f,n,Lt(Q.cy+Q.y1,Q.cx+Q.x1),Lt(se.cy+se.y1,se.cx+se.x1),!h),he>0&&e.arc(c+se.cx,f+se.cy,he,Lt(se.y1,se.x1),Lt(se.y0,se.x0),!h))}else e.moveTo(c+N,f+I),e.arc(c,f,n,u,l,!h);if(!(i>Vr)||!R)e.lineTo(c+O,f+P);else if(T>Vr){var ee=rn(v,T),he=rn(g,T),Q=A1(O,P,D,k,i,-he,h),se=A1(N,I,M,L,i,-ee,h);e.lineTo(c+Q.cx+Q.x0,f+Q.cy+Q.y0),T<C&&ee===he?e.arc(c+Q.cx,f+Q.cy,T,Lt(Q.y0,Q.x0),Lt(se.y0,se.x0),!h):(he>0&&e.arc(c+Q.cx,f+Q.cy,he,Lt(Q.y0,Q.x0),Lt(Q.y1,Q.x1),!h),e.arc(c,f,i,Lt(Q.cy+Q.y1,Q.cx+Q.x1),Lt(se.cy+se.y1,se.cx+se.x1),h),ee>0&&e.arc(c+se.cx,f+se.cy,ee,Lt(se.y1,se.x1),Lt(se.y0,se.x0),!h))}else e.lineTo(c+O,f+P),e.arc(c,f,i,l,u,h)}e.closePath()}}}var QV=function(){function e(){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 e}(),sw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new QV},t.prototype.buildPath=function(r,n){KV(r,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(we);sw.prototype.type="sector";const tr=sw;var JV=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),uw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new JV},t.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)},t}(we);uw.prototype.type="ring";const s2=uw;function ez(e,t,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=e.length;h<d;h++)bi(c,c,e[h]),xi(f,f,e[h]);bi(c,c,n[0]),xi(f,f,n[1])}for(var h=0,d=e.length;h<d;h++){var p=e[h];if(r)u=e[h?h-1:d-1],l=e[(h+1)%d];else if(h===0||h===d-1){i.push(Nn(e[h]));continue}else u=e[h-1],l=e[h+1];Ea(a,l,u),p0(a,a,t);var v=Ph(p,u),g=Ph(p,l),m=v+g;m!==0&&(v/=m,g/=m),p0(o,a,-v),p0(s,a,g);var y=Zp([],p,o),_=Zp([],p,s);n&&(xi(y,y,c),bi(y,y,f),xi(_,_,c),bi(_,_,f)),i.push(y),i.push(_)}return r&&i.push(i.shift()),i}function lw(e,t,r){var n=t.smooth,i=t.points;if(i&&i.length>=2){if(n){var a=ez(i,n,r,t.smoothConstraint);e.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];e.bezierCurveTo(u[0],u[1],l[0],l[1],c[0],c[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,f=i.length;s<f;s++)e.lineTo(i[s][0],i[s][1])}r&&e.closePath()}}var tz=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),cw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new tz},t.prototype.buildPath=function(r,n){lw(r,n,!0)},t}(we);cw.prototype.type="polygon";const rr=cw;var rz=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),fw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new rz},t.prototype.buildPath=function(r,n){lw(r,n,!1)},t}(we);fw.prototype.type="polyline";const ir=fw;var nz={},iz=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),hw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new iz},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var u=Fx(nz,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))},t.prototype.pointAt=function(r){var n=this.shape;return[n.x1*(1-r)+n.x2*r,n.y1*(1-r)+n.y2*r]},t}(we);hw.prototype.type="line";const xt=hw;var Xt=[],az=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function i3(e,t,r){var n=e.cpx2,i=e.cpy2;return n!=null||i!=null?[(r?av:pt)(e.x1,e.cpx1,e.cpx2,e.x2,t),(r?av:pt)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(r?Vh:_t)(e.x1,e.cpx1,e.x2,t),(r?Vh:_t)(e.y1,e.cpy1,e.y2,t)]}var dw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new az},t.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&&(tl(i,u,o,h,Xt),u=Xt[1],o=Xt[2],tl(a,l,s,h,Xt),l=Xt[1],s=Xt[2]),r.quadraticCurveTo(u,l,o,s)):(h<1&&(Ri(i,u,c,o,h,Xt),u=Xt[1],c=Xt[2],o=Xt[3],Ri(a,l,f,s,h,Xt),l=Xt[1],f=Xt[2],s=Xt[3]),r.bezierCurveTo(u,l,c,f,o,s)))},t.prototype.pointAt=function(r){return i3(this.shape,r,!1)},t.prototype.tangentAt=function(r){var n=i3(this.shape,r,!0);return xs(n,n)},t}(we);dw.prototype.type="bezier-curve";const u2=dw;var oz=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),pw=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new oz},t.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)},t}(we);pw.prototype.type="arc";const l5=pw;var sz=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="compound",r}return t.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()},t.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)},t.prototype.buildPath=function(r,n){for(var i=n.paths||[],a=0;a<i.length;a++)i[a].buildPath(r,i[a].shape,!0)},t.prototype.afterBrush=function(){for(var r=this.shape.paths||[],n=0;n<r.length;n++)r[n].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),we.prototype.getBoundingRect.call(this)},t}(we);const c5=sz;var uz=function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,r){this.colorStops.push({offset:t,color:r})},e}();const vw=uz;var lz=function(e){F(t,e);function t(r,n,i,a,o,s){var u=e.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 t}(vw);const Pl=lz;var cz=function(e){F(t,e);function t(r,n,i,a,o){var s=e.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 t}(vw);const gw=cz;var sa=[0,0],ua=[0,0],T1=new me,D1=new me,fz=function(){function e(t,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;t&&this.fromBoundingRect(t,r)}return e.prototype.fromBoundingRect=function(t,r){var n=this._corners,i=this._axes,a=t.x,o=t.y,s=a+t.width,u=o+t.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])},e.prototype.intersect=function(t,r){var n=!0,i=!r;return T1.set(1/0,1/0),D1.set(0,0),!this._intersectCheckOneSide(this,t,T1,D1,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,T1,D1,i,-1)&&(n=!1,i)||i||me.copy(r,n?T1:D1),n},e.prototype._intersectCheckOneSide=function(t,r,n,i,a,o){for(var s=!0,u=0;u<2;u++){var l=this._axes[u];if(this._getProjMinMaxOnAxis(u,t._corners,sa),this._getProjMinMaxOnAxis(u,r._corners,ua),sa[1]<ua[0]||sa[0]>ua[1]){if(s=!1,a)return s;var c=Math.abs(ua[0]-sa[1]),f=Math.abs(sa[0]-ua[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(ua[0]-sa[1]),f=Math.abs(sa[0]-ua[1]);Math.min(c,f)<n.len()&&(c<f?me.scale(n,l,c*o):me.scale(n,l,-f*o))}}return s},e.prototype._getProjMinMaxOnAxis=function(t,r,n){for(var i=this._axes[t],a=this._origin,o=r[0].dot(i)+a[t],s=o,u=o,l=1;l<r.length;l++){var c=r[l].dot(i)+a[t];s=Math.min(c,s),u=Math.max(c,u)}n[0]=s,n[1]=u},e}();const j0=fz;var hz=[],dz=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.notClear=!0,r.incremental=!0,r._displayables=[],r._temporaryDisplayables=[],r._cursor=0,r}return t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(r,n){n?this._temporaryDisplayables.push(r):this._displayables.push(r),this.markRedraw()},t.prototype.addDisplayables=function(r,n){n=n||!1;for(var i=0;i<r.length;i++)this.addDisplayable(r[i],n)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.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])},t.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}},t.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(hz)),r.union(a)}this._rect=r}return this._rect},t.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},t}(Lr);const pz=dz;var mw=Ae();function As(e,t,r,n,i){var a;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();a=o&&o.animation}var s=t&&t.isAnimationEnabled(),u=e==="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=t.getShallow(u?"animationDurationUpdate":"animationDuration"),c=t.getShallow(u?"animationEasingUpdate":"animationEasing"),f=t.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 f5(e,t,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=e==="leave";l||t.stopAnimation("leave");var c=As(e,n,i,l?u||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,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:e,during:o};s?t.animateFrom(r,p):t.animateTo(r,p)}else t.stopAnimation(),!s&&t.attr(r),o&&o(1),a&&a()}function Le(e,t,r,n,i,a){f5("update",e,t,r,n,i,a)}function Ye(e,t,r,n,i,a){f5("enter",e,t,r,n,i,a)}function ts(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var r=e.animators[t];if(r.scope==="leave")return!0}return!1}function Oi(e,t,r,n,i,a){ts(e)||f5("leave",e,t,r,n,i,a)}function a3(e,t,r,n){e.removeTextContent(),e.removeTextGuideLine(),Oi(e,{style:{opacity:0}},t,r,n)}function sl(e,t,r){function n(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(i){i.isGroup||a3(i,t,r,n)}):a3(e,t,r,n)}function jr(e){mw(e).oldStyle=e.style}function vz(e){return mw(e).oldStyle}var K0=Math.max,Q0=Math.min,fd={};function gz(e){return we.extend(e)}var mz=UV;function yz(e,t){return mz(e,t)}function Kr(e,t){fd[e]=t}function h5(e){if(fd.hasOwnProperty(e))return fd[e]}function l2(e,t,r,n){var i=nw(e,t);return r&&(n==="center"&&(r=_w(r,i.getBoundingRect())),bw(i,r)),i}function yw(e,t,r){var n=new Mt({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(i){if(r==="center"){var a={width:i.width,height:i.height};n.setStyle(_w(t,a))}}});return n}function _w(e,t){var r=t.width/t.height,n=e.height*r,i;n<=e.width?i=e.height:(n=e.width,i=n/r);var a=e.x+e.width/2,o=e.y+e.height/2;return{x:a-n/2,y:o-i/2,width:n,height:i}}var Tr=WV;function bw(e,t){if(e.applyTransform){var r=e.getBoundingRect(),n=r.calculateTransform(t);e.applyTransform(n)}}function cs(e,t){return Fx(e,e,{lineWidth:t}),e}function _z(e){return Vx(e.shape,e.shape,e.style),e}var S0=ka;function Ga(e,t){for(var r=jc([]);e&&e!==t;)On(r,e.getLocalTransform(),r),e=e.parent;return r}function Zr(e,t,r){return t&&!Ft(t)&&(t=Pn.getLocalTransform(t)),r&&(t=ws([],t)),At([],e,t)}function c2(e,t,r){var n=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),i=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),a=[e==="left"?-n:e==="right"?n:0,e==="top"?-i:e==="bottom"?i:0];return a=Zr(a,t,r),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function o3(e){return!e.isGroup}function bz(e){return e.shape!=null}function Rl(e,t,r){if(!e||!t)return;function n(o){var s={};return o.traverse(function(u){o3(u)&&u.anid&&(s[u.anid]=u)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return bz(o)&&(s.shape=$({},o.shape)),s}var a=n(e);t.traverse(function(o){if(o3(o)&&o.anid){var s=a[o.anid];if(s){var u=i(o);o.attr(i(s)),Le(o,u,r,ce(o).dataIndex)}}})}function xw(e,t){return H(e,function(r){var n=r[0];n=K0(n,t.x),n=Q0(n,t.x+t.width);var i=r[1];return i=K0(i,t.y),i=Q0(i,t.y+t.height),[n,i]})}function xz(e,t){var r=K0(e.x,t.x),n=Q0(e.x+e.width,t.x+t.width),i=K0(e.y,t.y),a=Q0(e.y+e.height,t.y+t.height);if(n>=r&&a>=i)return{x:r,y:i,width:n-r,height:a-i}}function Nl(e,t,r){var n=$({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),ae(i,r),new Mt(n)):l2(e.replace("path://",""),n,r,"center")}function wu(e,t,r,n,i){for(var a=0,o=i[i.length-1];a<i.length;a++){var s=i[a];if(ww(e,t,r,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function ww(e,t,r,n,i,a,o,s){var u=r-e,l=n-t,c=o-i,f=s-a,h=Pf(c,f,u,l);if(wz(h))return!1;var d=e-i,p=t-a,v=Pf(d,p,u,l)/h;if(v<0||v>1)return!1;var g=Pf(d,p,c,f)/h;return!(g<0||g>1)}function Pf(e,t,r,n){return e*n-r*t}function wz(e){return e<=1e-6&&e>=-1e-6}function oo(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,i=Z(t)?{formatter:t}:t,a=r.mainType,o=r.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var u=e.formatterParamsExtra;u&&E(Se(u),function(c){j(s,c)||(s[c]=u[c],s.$vars.push(c))});var l=ce(e.el);l.componentMainType=a,l.componentIndex=o,l.tooltipConfig={name:n,option:ae({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function s3(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function Ui(e,t){if(e)if(G(e))for(var r=0;r<e.length;r++)s3(e[r],t);else s3(e,t)}Kr("circle",Hi);Kr("ellipse",u5);Kr("sector",tr);Kr("ring",s2);Kr("polygon",rr);Kr("polyline",ir);Kr("rect",Ee);Kr("line",xt);Kr("bezierCurve",u2);Kr("arc",l5);const so=Object.freeze(Object.defineProperty({__proto__:null,Arc:l5,BezierCurve:u2,BoundingRect:ye,Circle:Hi,CompoundPath:c5,Ellipse:u5,Group:le,Image:Mt,IncrementalDisplayable:pz,Line:xt,LinearGradient:Pl,OrientedBoundingRect:j0,Path:we,Point:me,Polygon:rr,Polyline:ir,RadialGradient:gw,Rect:Ee,Ring:s2,Sector:tr,Text:ke,applyTransform:Zr,clipPointsByRect:xw,clipRectByRect:xz,createIcon:Nl,extendPath:yz,extendShape:gz,getShapeClass:h5,getTransform:Ga,groupTransition:Rl,initProps:Ye,isElementRemoved:ts,lineLineIntersect:ww,linePolygonIntersect:wu,makeImage:yw,makePath:l2,mergePath:Tr,registerShape:Kr,removeElement:Oi,removeElementWithFadeOut:sl,resizePath:bw,setTooltipConfig:oo,subPixelOptimize:S0,subPixelOptimizeLine:cs,subPixelOptimizeRect:_z,transformDirection:c2,traverseElements:Ui,updateProps:Le},Symbol.toStringTag,{value:"Module"}));var f2={};function Sw(e,t){for(var r=0;r<Yt.length;r++){var n=Yt[r],i=t[n],a=e.ensureState(n);a.style=a.style||{},a.style.text=i}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function hd(e,t,r){var n=e.labelFetcher,i=e.labelDataIndex,a=e.labelDimIndex,o=t.normal,s;n&&(s=n.getFormattedLabel(i,"normal",null,a,o&&o.get("formatter"),r!=null?{interpolatedValue:r}:null)),s==null&&(s=te(e.defaultText)?e.defaultText(i,e,r):e.defaultText);for(var u={normal:s},l=0;l<Yt.length;l++){var c=Yt[l],f=t[c];u[c]=fe(n?n.getFormattedLabel(i,c,null,a,f&&f.get("formatter")):null,s)}return u}function kt(e,t,r,n){r=r||f2;for(var i=e instanceof ke,a=!1,o=0;o<ol.length;o++){var s=t[ol[o]];if(s&&s.getShallow("show")){a=!0;break}}var u=i?e:e.getTextContent();if(a){i||(u||(u=new ke,e.setTextContent(u)),e.stateProxy&&(u.stateProxy=e.stateProxy));var l=hd(r,t),c=t.normal,f=!!c.getShallow("show"),h=Ue(c,n&&n.normal,r,!1,!i);h.text=l.normal,i||e.setTextConfig(J0(c,r,!1));for(var o=0;o<Yt.length;o++){var d=Yt[o],s=t[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=e.ensureState(d);g.textConfig=J0(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&&(Ts(u).setLabelText=function(m){var y=hd(r,t,m);Sw(u,y)})}else u&&(u.ignore=!0);e.dirty()}function gt(e,t){t=t||"label";for(var r={normal:e.getModel(t)},n=0;n<Yt.length;n++){var i=Yt[n];r[i]=e.getModel([i,t])}return r}function Ue(e,t,r,n,i){var a={};return Sz(a,e,r,n,i),t&&$(a,t),a}function J0(e,t,r){t=t||{};var n={},i,a=e.getShallow("rotate"),o=fe(e.getShallow("distance"),r?null:5),s=e.getShallow("offset");return i=e.getShallow("position")||(r?null:"inside"),i==="outside"&&(i=t.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=e.get("color")==="inherit"?t.inheritColor||null:"auto",n}function Sz(e,t,r,n,i){r=r||f2;var a=t.ecModel,o=a&&a.option.textStyle,s=Cz(t),u;if(s){u={};for(var l in s)if(s.hasOwnProperty(l)){var c=t.getModel(["rich",l]);f3(u[l]={},c,o,r,n,i,!1,!0)}}u&&(e.rich=u);var f=t.get("overflow");f&&(e.overflow=f);var h=t.get("minMargin");h!=null&&(e.margin=h),f3(e,t,o,r,n,i,!0,!1)}function Cz(e){for(var t;e&&e!==e.ecModel;){var r=(e.option||f2).rich;if(r){t=t||{};for(var n=Se(r),i=0;i<n.length;i++){var a=n[i];t[a]=1}}e=e.parentModel}return t}var u3=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],l3=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],c3=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function f3(e,t,r,n,i,a,o,s){r=!i&&r||f2;var u=n&&n.inheritColor,l=t.getShallow("color"),c=t.getShallow("textBorderColor"),f=fe(t.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&&(e.fill=l),c!=null&&(e.stroke=c);var h=fe(t.getShallow("textBorderWidth"),r.textBorderWidth);h!=null&&(e.lineWidth=h);var d=fe(t.getShallow("textBorderType"),r.textBorderType);d!=null&&(e.lineDash=d);var p=fe(t.getShallow("textBorderDashOffset"),r.textBorderDashOffset);p!=null&&(e.lineDashOffset=p),!i&&f==null&&!s&&(f=n&&n.defaultOpacity),f!=null&&(e.opacity=f),!i&&!a&&e.fill==null&&n.inheritColor&&(e.fill=n.inheritColor);for(var v=0;v<u3.length;v++){var g=u3[v],m=fe(t.getShallow(g),r[g]);m!=null&&(e[g]=m)}for(var v=0;v<l3.length;v++){var g=l3[v],m=t.getShallow(g);m!=null&&(e[g]=m)}if(e.verticalAlign==null){var y=t.getShallow("baseline");y!=null&&(e.verticalAlign=y)}if(!o||!n.disableBox){for(var v=0;v<c3.length;v++){var g=c3[v],m=t.getShallow(g);m!=null&&(e[g]=m)}var _=t.getShallow("borderType");_!=null&&(e.borderDash=_),(e.backgroundColor==="auto"||e.backgroundColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&e.backgroundColor==="auto"&&st("backgroundColor: 'auto'","backgroundColor: 'inherit'"),e.backgroundColor=u),(e.borderColor==="auto"||e.borderColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&e.borderColor==="auto"&&st("borderColor: 'auto'","borderColor: 'inherit'"),e.borderColor=u)}}function d5(e,t){var r=t&&t.getModel("textStyle");return Hr([e.fontStyle||r&&r.getShallow("fontStyle")||"",e.fontWeight||r&&r.getShallow("fontWeight")||"",(e.fontSize||r&&r.getShallow("fontSize")||12)+"px",e.fontFamily||r&&r.getShallow("fontFamily")||"sans-serif"].join(" "))}var Ts=Ae();function Cw(e,t,r,n){if(e){var i=Ts(e);i.prevValue=i.value,i.value=r;var a=t.normal;i.valueAnimation=a.get("valueAnimation"),i.valueAnimation&&(i.precision=a.get("precision"),i.defaultInterpolatedText=n,i.statesModels=t)}}function Aw(e,t,r,n,i){var a=Ts(e);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=Ex(r,a.precision,s,u,c);a.interpolatedValue=c===1?null:f;var h=hd({labelDataIndex:t,labelFetcher:i,defaultText:o?o(f):f+""},a.statesModels,f);Sw(e,h)}e.percent=0,(a.prevValue==null?Ye:Le)(e,{percent:1},n,t,null,l)}var Az=["textStyle","color"],Rf=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Nf=new ke,Tz=function(){function e(){}return e.prototype.getTextColor=function(t){var r=this.ecModel;return this.getShallow("color")||(!t&&r?r.get(Az):null)},e.prototype.getFont=function(){return d5({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(t){for(var r={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Rf.length;n++)r[Rf[n]]=this.getShallow(Rf[n]);return Nf.useStyle(r),Nf.update(),Nf.getBoundingRect()},e}();const Dz=Tz;var Tw=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Ez=Ka(Tw),kz=function(){function e(){}return e.prototype.getLineStyle=function(t){return Ez(this,t)},e}(),Dw=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Mz=Ka(Dw),Iz=function(){function e(){}return e.prototype.getItemStyle=function(t,r){return Mz(this,t,r)},e}(),uo=function(){function e(t,r,n){this.parentModel=r,this.ecModel=n,this.option=t}return e.prototype.init=function(t,r,n){},e.prototype.mergeOption=function(t,r){ge(this.option,t,!0)},e.prototype.get=function(t,r){return t==null?this.option:this._doGet(this.parsePath(t),!r&&this.parentModel)},e.prototype.getShallow=function(t,r){var n=this.option,i=n==null?n:n[t];if(i==null&&!r){var a=this.parentModel;a&&(i=a.getShallow(t))}return i},e.prototype.getModel=function(t,r){var n=t!=null,i=n?this.parsePath(t):null,a=n?this._doGet(i):this.option;return r=r||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(a,r,this.ecModel)},e.prototype.isEmpty=function(){return this.option==null},e.prototype.restoreData=function(){},e.prototype.clone=function(){var t=this.constructor;return new t(oe(this.option))},e.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},e.prototype.resolveParentPath=function(t){return t},e.prototype.isAnimationEnabled=function(){if(!De.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(t,r){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&!(t[i]&&(n=n&&typeof n=="object"?n[t[i]]:null,n==null));i++);return n==null&&r&&(n=r._doGet(this.resolveParentPath(t),r.parentModel)),n},e}();J4(uo);IF(uo);ft(uo,kz);ft(uo,Iz);ft(uo,OF);ft(uo,Dz);const We=uo;var Lz=Math.round(Math.random()*10);function Ds(e){return[e||"",Lz++].join("_")}function Pz(e){var t={};e.registerSubTypeDefaulter=function(r,n){var i=dn(r);t[i.main]=n},e.determineSubType=function(r,n){var i=n.type;if(!i){var a=dn(r).main;e.hasSubTypes(r)&&t[a]&&(i=t[a](n))}return i}}function Rz(e,t){e.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=Zt("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=t(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 Wi(e,t){return ge(ge({},e,!0),t,!0)}const Nz={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:". "}}}},Oz={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 ec="ZH",p5="EN",rs=p5,C0={},v5={},Ew=De.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||rs).toUpperCase();return e.indexOf(ec)>-1?ec:rs}():rs;function kw(e,t){e=e.toUpperCase(),v5[e]=new We(t),C0[e]=t}function Bz(e){if(Z(e)){var t=C0[e.toUpperCase()]||{};return e===ec||e===p5?oe(t):ge(oe(t),oe(C0[rs]),!1)}else return ge(oe(e),oe(C0[rs]),!1)}function dd(e){return v5[e]}function Fz(){return v5[rs]}kw(p5,Nz);kw(ec,Oz);var g5=1e3,m5=g5*60,zu=m5*60,Dr=zu*24,h3=Dr*365,Su={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}"},E1="{yyyy}-{MM}-{dd}",d3={year:"{yyyy}",month:"{yyyy}-{MM}",day:E1,hour:E1+" "+Su.hour,minute:E1+" "+Su.minute,second:E1+" "+Su.second,millisecond:Su.none},Of=["year","month","day","hour","minute","second","millisecond"],Mw=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function ri(e,t){return e+="","0000".substr(0,t-e.length)+e}function ns(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function Vz(e){return e===ns(e)}function zz(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function h2(e,t,r,n){var i=bn(e),a=i[y5(r)](),o=i[is(r)]()+1,s=Math.floor((o-1)/3)+1,u=i[d2(r)](),l=i["get"+(r?"UTC":"")+"Day"](),c=i[ul(r)](),f=(c-1)%12+1,h=i[p2(r)](),d=i[v2(r)](),p=i[g2(r)](),v=c>=12?"pm":"am",g=v.toUpperCase(),m=n instanceof We?n:dd(n||Ew)||Fz(),y=m.getModel("time"),_=y.get("month"),b=y.get("monthAbbr"),x=y.get("dayOfWeek"),w=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,v+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,ri(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,b[o-1]).replace(/{MM}/g,ri(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,ri(u,2)).replace(/{d}/g,u+"").replace(/{eeee}/g,x[l]).replace(/{ee}/g,w[l]).replace(/{e}/g,l+"").replace(/{HH}/g,ri(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,ri(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,ri(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,ri(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,ri(p,3)).replace(/{S}/g,p+"")}function $z(e,t,r,n,i){var a=null;if(Z(r))a=r;else if(te(r))a=r(e.value,t,{level:e.level});else{var o=$({},Su);if(e.level>0)for(var s=0;s<Of.length;++s)o[Of[s]]="{primary|"+o[Of[s]]+"}";var u=r?r.inherit===!1?r:ae(r,o):o,l=Iw(e.value,i);if(u[l])a=u[l];else if(u.inherit){for(var c=Mw.indexOf(l),s=c-1;s>=0;--s)if(u[l]){a=u[l];break}a=a||o.none}if(G(a)){var f=e.level==null?0:e.level>=0?e.level:a.length+e.level;f=Math.min(f,a.length-1),a=a[f]}}return h2(new Date(e.value),a,i,n)}function Iw(e,t){var r=bn(e),n=r[is(t)]()+1,i=r[d2(t)](),a=r[ul(t)](),o=r[p2(t)](),s=r[v2(t)](),u=r[g2(t)](),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 p3(e,t,r){var n=Me(e)?bn(e):e;switch(t=t||Iw(e,r),t){case"year":return n[y5(r)]();case"half-year":return n[is(r)]()>=6?1:0;case"quarter":return Math.floor((n[is(r)]()+1)/4);case"month":return n[is(r)]();case"day":return n[d2(r)]();case"half-day":return n[ul(r)]()/24;case"hour":return n[ul(r)]();case"minute":return n[p2(r)]();case"second":return n[v2(r)]();case"millisecond":return n[g2(r)]()}}function y5(e){return e?"getUTCFullYear":"getFullYear"}function is(e){return e?"getUTCMonth":"getMonth"}function d2(e){return e?"getUTCDate":"getDate"}function ul(e){return e?"getUTCHours":"getHours"}function p2(e){return e?"getUTCMinutes":"getMinutes"}function v2(e){return e?"getUTCSeconds":"getSeconds"}function g2(e){return e?"getUTCMilliseconds":"getMilliseconds"}function Gz(e){return e?"setUTCFullYear":"setFullYear"}function Lw(e){return e?"setUTCMonth":"setMonth"}function Pw(e){return e?"setUTCDate":"setDate"}function Rw(e){return e?"setUTCHours":"setHours"}function Nw(e){return e?"setUTCMinutes":"setMinutes"}function Ow(e){return e?"setUTCSeconds":"setSeconds"}function Bw(e){return e?"setUTCMilliseconds":"setMilliseconds"}function Fw(e){if(!j4(e))return Z(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function Vw(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Es=G4;function pd(e,t,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(c){return c&&Hr(c)?c:"-"}function a(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=t==="time",s=e instanceof Date;if(o||s){var u=o?bn(e):e;if(isNaN(+u)){if(s)return"-"}else return h2(u,n,r)}if(t==="ordinal")return V0(e)?i(e):Me(e)&&a(e)?e+"":"-";var l=Hn(e);return a(l)?Fw(l):V0(e)?i(e):typeof e=="boolean"?e+"":"-"}var v3=["a","b","c","d","e","f","g"],Bf=function(e,t){return"{"+e+(t??"")+"}"};function zw(e,t,r){G(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],a=0;a<i.length;a++){var o=v3[a];e=e.replace(Bf(o),Bf(o,0))}for(var s=0;s<n;s++)for(var u=0;u<i.length;u++){var l=t[s][i[u]];e=e.replace(Bf(v3[u],s),r?Ot(l):l)}return e}function Hz(e,t,r){return E(t,function(n,i){e=e.replace("{"+i+"}",r?Ot(n):n)}),e}function Uz(e,t){var r=Z(e)?{color:e,extraCssText:t}:e||{},n=r.color,i=r.type;t=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:'+Ot(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Ot(n)+";"+(t||"")+'"></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 Ja(e,t){return t=t||"transparent",Z(e)?e:ne(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function tc(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var A0=E,$w=["left","right","top","bottom","width","height"],Ia=[["width","left","right"],["height","top","bottom"]];function _5(e,t,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(u,l){var c=u.getBoundingRect(),f=t.childAt(l+1),h=f&&f.getBoundingRect(),d,p;if(e==="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(),e==="horizontal"?a=d+r:o=p+r)})}var Ha=_5;ve(_5,"vertical");ve(_5,"horizontal");function Wz(e,t,r){var n=t.width,i=t.height,a=W(e.left,n),o=W(e.top,i),s=W(e.right,n),u=W(e.bottom,i);return(isNaN(a)||isNaN(parseFloat(e.left)))&&(a=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=n),(isNaN(o)||isNaN(parseFloat(e.top)))&&(o=0),(isNaN(u)||isNaN(parseFloat(e.bottom)))&&(u=i),r=Es(r||0),{width:Math.max(s-a-r[1]-r[3],0),height:Math.max(u-o-r[0]-r[2],0)}}function dt(e,t,r){r=Es(r||0);var n=t.width,i=t.height,a=W(e.left,n),o=W(e.top,i),s=W(e.right,n),u=W(e.bottom,i),l=W(e.width,n),c=W(e.height,i),f=r[2]+r[0],h=r[1]+r[3],d=e.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),e.left||e.right){case"center":a=n/2-l/2-r[3];break;case"right":a=n-l-h;break}switch(e.top||e.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 m2(e,t,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||e,a.x=e.x,a.y=e.y,!o&&!s)return!1;var l;if(u==="raw")l=e.type==="group"?new ye(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();l=l.clone(),l.applyTransform(c)}var f=dt(ae({width:l.width,height:l.height},t),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===e&&e.markRedraw(),!0}function qz(e,t){return e[Ia[t][0]]!=null||e[Ia[t][1]]!=null&&e[Ia[t][2]]!=null}function ll(e){var t=e.layoutMode||e.constructor.layoutMode;return ne(t)?t:t?{type:t}:null}function Bi(e,t,r){var n=r&&r.ignoreSize;!G(n)&&(n=[n,n]);var i=o(Ia[0],0),a=o(Ia[1],1);l(Ia[0],e,i),l(Ia[1],e,a);function o(c,f){var h={},d=0,p={},v=0,g=2;if(A0(c,function(_){p[_]=e[_]}),A0(c,function(_){s(t,_)&&(h[_]=p[_]=t[_]),u(h,_)&&d++,u(p,_)&&v++}),n[f])return u(t,c[1])?p[c[2]]=null:u(t,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(e,y)){h[y]=e[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){A0(c,function(d){f[d]=h[d]})}}function ks(e){return Gw({},e)}function Gw(e,t){return t&&e&&A0($w,function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e}var Zz=Ae(),Ms=function(e){F(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return a.uid=Ds("ec_cpt_model"),a}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=ll(this),a=i?ks(r):{},o=n.getTheme();ge(r,o.get(this.mainType)),ge(r,this.getDefaultOption()),i&&Bi(r,a,i)},t.prototype.mergeOption=function(r,n){ge(this.option,r,!0);var i=ll(this);i&&Bi(this.option,r,i)},t.prototype.optionUpdated=function(r,n){},t.prototype.getDefaultOption=function(){var r=this.constructor;if(!EF(r))return r.defaultOption;var n=Zz(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},t.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return Il(this.ecModel,r,{index:this.get(i,!0),id:this.get(a,!0)},n)},t.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")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),t}(We);Mx(Ms,We);t2(Ms);Pz(Ms);Rz(Ms,Yz);function Yz(e){var t=[];return E(Ms.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=H(t,function(r){return dn(r).main}),e!=="dataset"&&_e(t,"dataset")<=0&&t.unshift("dataset"),t}const Ce=Ms;var Hw="";typeof navigator<"u"&&(Hw=navigator.platform||"");var Ao="rgba(0, 0, 0, 0.2)";const Xz={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Ao,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Ao,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Ao,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Ao,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Ao,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Ao,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Hw.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 vd=J(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Nr="original",Vt="arrayRows",Or="objectRows",An="keyedColumns",Fn="typedArray",Uw="unknown",gn="column",Is="row",Ct={Must:1,Might:2,Not:3},Ww=Ae();function jz(e){Ww(e).datasetMap=J()}function qw(e,t,r){var n={},i=x5(t);if(!i||!e)return n;var a=[],o=[],s=t.ecModel,u=Ww(s).datasetMap,l=i.uid+"_"+r.seriesLayoutBy,c,f;e=e.slice(),E(e,function(v,g){var m=ne(v)?v:e[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(e,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 b5(e,t,r){var n={},i=x5(e);if(!i)return n;var a=t.sourceFormat,o=t.dimensionsDefine,s;(a===Or||a===An)&&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=Yw(t.data,a,t.seriesLayoutBy,o,t.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 x5(e){var t=e.get("data",!0);if(!t)return Il(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},lt).models[0]}function Kz(e){return!e.get("transform",!0)&&!e.get("fromTransformResult",!0)?[]:Il(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},lt).models}function Zw(e,t){return Yw(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function Yw(e,t,r,n,i,a){var o,s=5;if(qt(e))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(t===Vt){var f=e;if(r===Is){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(t===Or){var v=e;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(t===An){var m=e;if(!u)return Ct.Not;var h=m[u];if(!h||qt(h))return Ct.Not;for(var d=0;d<h.length&&d<s;d++)if((o=b(h[d]))!=null)return o}else if(t===Nr)for(var y=e,d=0;d<y.length&&d<s;d++){var g=y[d],_=Ss(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 gd=J();function Qz(e,t){ie(gd.get(e)==null&&t),gd.set(e,t)}function Jz(e,t,r){var n=gd.get(t);if(!n)return r;var i=n(e);if(!i)return r;if(process.env.NODE_ENV!=="production")for(var a=0;a<i.length;a++)ie(ls(i[a]));return r.concat(i)}var g3=Ae(),e$=Ae(),w5=function(){function e(){}return e.prototype.getColorFromPalette=function(t,r,n){var i=Ve(this.get("color",!0)),a=this.get("colorLayer",!0);return Xw(this,g3,i,a,t,r,n)},e.prototype.clearColorPalette=function(){r$(this,g3)},e}();function md(e,t,r,n){var i=Ve(e.get(["aria","decal","decals"]));return Xw(e,e$,i,null,t,r,n)}function t$(e,t){for(var r=e.length,n=0;n<r;n++)if(e[n].length>t)return e[n];return e[r-1]}function Xw(e,t,r,n,i,a,o){a=a||e;var s=t(a),u=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var c=o==null||!n?r:t$(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 r$(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var k1,js,m3,Ff="\0_ec_inner",y3=1,n$={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"},i$={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"},rc={};function a$(e){E(e,function(t,r){if(!Ce.hasClass(r)){var n=n$[r];n&&!rc[n]&&(Dt("Component "+r+` is used but not imported.
|
|
80
|
+
import { `+n+` } from 'echarts/components';
|
|
81
|
+
echarts.use([`+n+"]);"),rc[n]=!0)}})}var jw=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.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},t.prototype.setOption=function(r,n,i){process.env.NODE_ENV!=="production"&&(ie(r!=null,"option is null/undefined"),ie(r[Ff]!==y3,"please use chart.getOption()"));var a=x3(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,n){return this._resetOption(r,x3(n))},t.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"&&a$(o),!this.option||r==="recreate"?m3(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},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],u=J(),l=n&&n.replaceMergeMainTypeMap;jz(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=Jz(this,f,Ve(r[f])),d=a.get(f),p=d?l&&l.get(f)?"replaceMerge":"normalMerge":"replaceAll",v=Ax(d,h,p);_F(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=i$[D];rc[D]||(rc[D]=!0,Dt(k?"Series "+D+` is used but not imported.
|
|
82
|
+
import { `+k+` } from 'echarts/charts';
|
|
83
|
+
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"&&k1(this)}this._seriesIndices||k1(this)},t.prototype.getOption=function(){var r=oe(this.option);return E(r,function(n,i){if(Ce.hasClass(i)){for(var a=Ve(n),o=a.length,s=!1,u=o-1;u>=0;u--)a[u]&&!ls(a[u])?s=!0:(a[u]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[Ff],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.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]}}},t.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(Ve(i),function(l){s[l]&&u.push(s[l])})):a!=null?u=_3("id",a,s):o!=null?u=_3("name",o,s):u=Ne(s,function(l){return!!l}),b3(u,r)},t.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}},t.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)}},t.prototype.getSeriesByName=function(r){var n=ht(r,null);return Ne(this._componentsMap.get("series"),function(i){return!!i&&n!=null&&i.name===n})},t.prototype.getSeriesByIndex=function(r){return this._componentsMap.get("series")[r]},t.prototype.getSeriesByType=function(r){return Ne(this._componentsMap.get("series"),function(n){return!!n&&n.subType===r})},t.prototype.getSeries=function(){return Ne(this._componentsMap.get("series"),function(r){return!!r})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(r,n){js(this),E(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];r.call(n,a,i)},this)},t.prototype.eachRawSeries=function(r,n){E(this._componentsMap.get("series"),function(i){i&&r.call(n,i,i.componentIndex)})},t.prototype.eachSeriesByType=function(r,n,i){js(this),E(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];o.subType===r&&n.call(i,o,a)},this)},t.prototype.eachRawSeriesByType=function(r,n,i){return E(this.getSeriesByType(r),n,i)},t.prototype.isSeriesFiltered=function(r){return js(this),this._seriesIndicesMap.get(r.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(r,n){js(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)},t.prototype.restoreData=function(r){k1(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"||!o$(o,r))&&o.restoreData()})})},t.internalField=function(){k1=function(r){var n=r._seriesIndices=[];E(r._componentsMap.get("series"),function(i){i&&n.push(i.componentIndex)}),r._seriesIndicesMap=J(n)},js=function(r){if(process.env.NODE_ENV!=="production"&&!r._seriesIndices)throw new Error("Option should contains series.")},m3=function(r,n){r.option={},r.option[Ff]=y3,r._componentsMap=J({series:[]}),r._componentsCount=J();var i=n.aria;ne(i)&&i.enabled==null&&(i.enabled=!0),s$(n,r._theme.option),ge(n,Xz,!1),r._mergeOption(n,null)}}(),t}(We);function o$(e,t){if(t){var r=t.seriesIndex,n=t.seriesId,i=t.seriesName;return r!=null&&e.componentIndex!==r||n!=null&&e.id!==n||i!=null&&e.name!==i}}function s$(e,t){var r=e.color&&!e.colorLayer;E(t,function(n,i){i==="colorLayer"&&r||Ce.hasClass(i)||(typeof n=="object"?e[i]=e[i]?ge(e[i],n,!1):oe(n):e[i]==null&&(e[i]=n))})}function _3(e,t,r){if(G(t)){var n=J();return E(t,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[e])})}else{var i=ht(t,null);return Ne(r,function(a){return a&&i!=null&&a[e]===i})}}function b3(e,t){return t.hasOwnProperty("subType")?Ne(e,function(r){return r&&r.subType===t.subType}):e}function x3(e){var t=J();return e&&E(Ve(e.replaceMerge),function(r){process.env.NODE_ENV!=="production"&&ie(Ce.hasClass(r),'"'+r+'" is not valid component main type in "replaceMerge"'),t.set(r,!0)}),{replaceMergeMainTypeMap:t}}ft(jw,w5);const Kw=jw;var u$=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],l$=function(){function e(t){E(u$,function(r){this[r]=X(t[r],t)},this)}return e}();const Qw=l$;var Vf={},c$=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(t,r){var n=[];E(Vf,function(i,a){var o=i.create(t,r);n=n.concat(o||[])}),this._coordinateSystems=n},e.prototype.update=function(t,r){E(this._coordinateSystems,function(n){n.update&&n.update(t,r)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(t,r){Vf[t]=r},e.get=function(t){return Vf[t]},e}();const Ls=c$;var f$=/^(min|max)?(.+)$/,h$=function(){function e(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return e.prototype.setOption=function(t,r,n){t&&(E(Ve(t.series),function(o){o&&o.data&&qt(o.data)&&z0(o.data)}),E(Ve(t.dataset),function(o){o&&o.source&&qt(o.source)&&z0(o.source)})),t=oe(t);var i=this._optionBackup,a=d$(t,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},e.prototype.mountOption=function(t){var r=this._optionBackup;return this._timelineOptions=r.timelineOptions,this._mediaList=r.mediaList,this._mediaDefault=r.mediaDefault,this._currentMediaIndices=[],oe(t?r.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(t){var r,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(r=oe(n[i.getCurrentIndex()]))}return r},e.prototype.getMediaOption=function(t){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++)p$(i[u].query,r,n)&&o.push(u);return!o.length&&a&&(o=[-1]),o.length&&!g$(o,this._currentMediaIndices)&&(s=H(o,function(c){return oe(c===-1?a.option:i[c].option)})),this._currentMediaIndices=o,s},e}();function d$(e,t,r){var n=[],i,a,o=e.baseOption,s=e.timeline,u=e.options,l=e.media,c=!!e.media,f=!!(u||s||o&&o.timeline);o?(a=o,a.timeline||(a.timeline=s)):((f||c)&&(e.options=e.media=null),a=e),c&&(G(l)?E(l,function(d){process.env.NODE_ENV!=="production"&&d&&!d.option&&ne(d.query)&&ne(d.query.option)&&Dt("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"&&Dt("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(t,function(p){p(d,r)})}return{baseOption:a,timelineOptions:u||[],mediaDefault:i,mediaList:n}}function p$(e,t,r){var n={width:t,height:r,aspectratio:t/r},i=!0;return E(e,function(a,o){var s=o.match(f$);if(!(!s||!s[1]||!s[2])){var u=s[1],l=s[2].toLowerCase();v$(n[l],a,u)||(i=!1)}}),i}function v$(e,t,r){return r==="min"?e>=t:r==="max"?e<=t:e===t}function g$(e,t){return e.join(",")===t.join(",")}const m$=h$;var dr=E,cl=ne,w3=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function zf(e){var t=e&&e.itemStyle;if(t)for(var r=0,n=w3.length;r<n;r++){var i=w3[r],a=t.normal,o=t.emphasis;a&&a[i]&&(process.env.NODE_ENV!=="production"&&st("itemStyle.normal."+i,i),e[i]=e[i]||{},e[i].normal?ge(e[i].normal,a[i]):e[i].normal=a[i],a[i]=null),o&&o[i]&&(process.env.NODE_ENV!=="production"&&st("itemStyle.emphasis."+i,"emphasis."+i),e[i]=e[i]||{},e[i].emphasis?ge(e[i].emphasis,o[i]):e[i].emphasis=o[i],o[i]=null)}}function Nt(e,t,r){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var n=e[t].normal,i=e[t].emphasis;n&&(process.env.NODE_ENV!=="production"&&Xr("'normal' hierarchy in "+t+" has been removed since 4.0. All style properties are configured in "+t+" directly now."),r?(e[t].normal=e[t].emphasis=null,ae(e[t],n)):e[t]=n),i&&(process.env.NODE_ENV!=="production"&&Xr(t+".emphasis has been changed to emphasis."+t+" since 4.0"),e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function Cu(e){Nt(e,"itemStyle"),Nt(e,"lineStyle"),Nt(e,"areaStyle"),Nt(e,"label"),Nt(e,"labelLine"),Nt(e,"upperLabel"),Nt(e,"edgeLabel")}function ot(e,t){var r=cl(e)&&e[t],n=cl(r)&&r.textStyle;if(n){process.env.NODE_ENV!=="production"&&Xr("textStyle hierarchy in "+t+" has been removed since 4.0. All textStyle properties are configured in "+t+" directly now.");for(var i=0,a=Tv.length;i<a;i++){var o=Tv[i];n.hasOwnProperty(o)&&(r[o]=n[o])}}}function xr(e){e&&(Cu(e),ot(e,"label"),e.emphasis&&ot(e.emphasis,"label"))}function y$(e){if(cl(e)){zf(e),Cu(e),ot(e,"label"),ot(e,"upperLabel"),ot(e,"edgeLabel"),e.emphasis&&(ot(e.emphasis,"label"),ot(e.emphasis,"upperLabel"),ot(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(zf(t),xr(t));var r=e.markLine;r&&(zf(r),xr(r));var n=e.markArea;n&&xr(n);var i=e.data;if(e.type==="graph"){i=i||e.nodes;var a=e.links||e.edges;if(a&&!qt(a))for(var o=0;o<a.length;o++)xr(a[o]);E(e.categories,function(l){Cu(l)})}if(i&&!qt(i))for(var o=0;o<i.length;o++)xr(i[o]);if(t=e.markPoint,t&&t.data)for(var s=t.data,o=0;o<s.length;o++)xr(s[o]);if(r=e.markLine,r&&r.data)for(var u=r.data,o=0;o<u.length;o++)G(u[o])?(xr(u[o][0]),xr(u[o][1])):xr(u[o]);e.type==="gauge"?(ot(e,"axisLabel"),ot(e,"title"),ot(e,"detail")):e.type==="treemap"?(Nt(e.breadcrumb,"itemStyle"),E(e.levels,function(l){Cu(l)})):e.type==="tree"&&Cu(e.leaves)}}function kn(e){return G(e)?e:e?[e]:[]}function S3(e){return(G(e)?e[0]:e)||{}}function _$(e,t){dr(kn(e.series),function(n){cl(n)&&y$(n)});var r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),dr(r,function(n){dr(kn(e[n]),function(i){i&&(ot(i,"axisLabel"),ot(i.axisPointer,"label"))})}),dr(kn(e.parallel),function(n){var i=n&&n.parallelAxisDefault;ot(i,"axisLabel"),ot(i&&i.axisPointer,"label")}),dr(kn(e.calendar),function(n){Nt(n,"itemStyle"),ot(n,"dayLabel"),ot(n,"monthLabel"),ot(n,"yearLabel")}),dr(kn(e.radar),function(n){ot(n,"name"),n.name&&n.axisName==null&&(n.axisName=n.name,delete n.name,process.env.NODE_ENV!=="production"&&Xr("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"&&Xr("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&dr(n.indicator,function(i){i.text&&st("text","name","radar.indicator")})}),dr(kn(e.geo),function(n){cl(n)&&(xr(n),dr(kn(n.regions),function(i){xr(i)}))}),dr(kn(e.timeline),function(n){xr(n),Nt(n,"label"),Nt(n,"itemStyle"),Nt(n,"controlStyle",!0);var i=n.data;G(i)&&E(i,function(a){ne(a)&&(Nt(a,"label"),Nt(a,"itemStyle"))})}),dr(kn(e.toolbox),function(n){Nt(n,"iconStyle"),dr(n.feature,function(i){Nt(i,"iconStyle")})}),ot(S3(e.axisPointer),"label"),ot(S3(e.tooltip).axisPointer,"label")}function b$(e,t){for(var r=t.split(","),n=e,i=0;i<r.length&&(n=n&&n[r[i]],n!=null);i++);return n}function x$(e,t,r,n){for(var i=t.split(","),a=e,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 C3(e){e&&E(w$,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var w$=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],S$=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],$f=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Ks(e){var t=e&&e.itemStyle;if(t)for(var r=0;r<$f.length;r++){var n=$f[r][1],i=$f[r][0];t[n]!=null&&(t[i]=t[n],process.env.NODE_ENV!=="production"&&st(n,i))}}function A3(e){e&&e.alignTo==="edge"&&e.margin!=null&&e.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&st("label.margin","label.edgeDistance","pie"),e.edgeDistance=e.margin)}function T3(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay,process.env.NODE_ENV!=="production"&&st("downplay","blur","sunburst"))}function C$(e){e&&e.focusNodeAdjacency!=null&&(e.emphasis=e.emphasis||{},e.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&st("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),e.emphasis.focus="adjacency"))}function Jw(e,t){if(e)for(var r=0;r<e.length;r++)t(e[r]),e[r]&&Jw(e[r].children,t)}function eS(e,t){_$(e,t),e.series=Ve(e.series),E(e.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")),A3(r.label);var i=r.data;if(i&&!qt(i))for(var a=0;a<i.length;a++)A3(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=b$(r,"pointer.color");o!=null&&x$(r,"itemStyle.color",o)}else if(n==="bar"){Ks(r),Ks(r.backgroundStyle),Ks(r.emphasis);var i=r.data;if(i&&!qt(i))for(var a=0;a<i.length;a++)typeof i[a]=="object"&&(Ks(i[a]),Ks(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"))),T3(r),Jw(r.data,T3)}else n==="graph"||n==="sankey"?C$(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"&&Xr("`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)),C3(r)}}),e.dataRange&&(e.visualMap=e.dataRange),E(S$,function(r){var n=e[r];n&&(G(n)||(n=[n]),E(n,function(i){C3(i)}))})}function A$(e){var t=J();e.eachSeries(function(r){var n=r.get("stack");if(n){var i=t.get(n)||t.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)}}),t.each(T$)}function T$(e){E(e,function(t,r){var n=[],i=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,u=t.seriesModel.get("stackStrategy")||"samesign";o.modify(a,function(l,c,f){var h=o.get(t.stackedDimension,f);if(isNaN(h))return i;var d,p;s?p=o.getRawIndex(f):d=o.get(t.stackedByDimension,f);for(var v=NaN,g=r-1;g>=0;g--){var m=e[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=aF(h,y),v=y;break}}}return n[0]=h,n[1]=v,n})})}var y2=function(){function e(t){this.data=t.data||(t.sourceFormat===An?{}:[]),this.sourceFormat=t.sourceFormat||Uw,this.seriesLayoutBy=t.seriesLayoutBy||gn,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var n=0;n<r.length;n++){var i=r[n];i.type==null&&Zw(this,n)===Ct.Must&&(i.type="ordinal")}}return e}();function S5(e){return e instanceof y2}function yd(e,t,r){r=r||tS(e);var n=t.seriesLayoutBy,i=E$(e,r,n,t.sourceHeader,t.dimensions),a=new y2({data:e,sourceFormat:r,seriesLayoutBy:n,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:oe(t)});return a}function C5(e){return new y2({data:e,sourceFormat:qt(e)?Fn:Nr})}function D$(e){return new y2({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:oe(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function tS(e){var t=Uw;if(qt(e))t=Fn;else if(G(e)){e.length===0&&(t=Vt);for(var r=0,n=e.length;r<n;r++){var i=e[r];if(i!=null){if(G(i)||qt(i)){t=Vt;break}else if(ne(i)){t=Or;break}}}}else if(ne(e)){for(var a in e)if(j(e,a)&&Ft(e[a])){t=An;break}}return t}function E$(e,t,r,n,i){var a,o;if(!e)return{dimensionsDefine:D3(i),startIndex:o,dimensionsDetectedCount:a};if(t===Vt){var s=e;n==="auto"||n==null?E3(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=[],E3(function(l,c){i[c]=l!=null?l+"":""},r,s,1/0)),a=i?i.length:r===Is?s.length:s[0]?s[0].length:null}else if(t===Or)i||(i=k$(e));else if(t===An)i||(i=[],E(e,function(l,c){i.push(c)}));else if(t===Nr){var u=Ss(e[0]);a=G(u)&&u.length||1}else t===Fn&&process.env.NODE_ENV!=="production"&&ie(!!i,"dimensions must be given if data is TypedArray.");return{startIndex:o,dimensionsDefine:D3(i),dimensionsDetectedCount:a}}function k$(e){for(var t=0,r;t<e.length&&!(r=e[t++]););if(r)return Se(r)}function D3(e){if(e){var t=J();return H(e,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=t.get(i.name);return a?i.name+="-"+a.count++:t.set(i.name,{count:1}),i})}}function E3(e,t,r,n){if(t===Is)for(var i=0;i<r.length&&i<n;i++)e(r[i]?r[i][0]:null,i);else for(var a=r[0]||[],i=0;i<a.length&&i<n;i++)e(a[i],i)}function rS(e){var t=e.sourceFormat;return t===Or||t===An}var la,ca,fa,k3,M3,nS=function(){function e(t,r){var n=S5(t)?t:C5(t);this._source=n;var i=this._data=n.data;if(n.sourceFormat===Fn){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}M3(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,r){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var t;M3=function(o,s,u){var l=u.sourceFormat,c=u.seriesLayoutBy,f=u.startIndex,h=u.dimensionsDefine,d=k3[A5(l,c)];if(process.env.NODE_ENV!=="production"&&ie(d,"Invalide sourceFormat: "+l),$(o,d),l===Fn)o.getItem=r,o.count=i,o.fillStorage=n;else{var p=iS(l,c);o.getItem=X(p,null,s,f,h);var v=aS(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};k3=(t={},t[Vt+"_"+gn]={pure:!0,appendData:a},t[Vt+"_"+Is]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Or]={pure:!0,appendData:a},t[An]={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])})}},t[Nr]={appendData:a},t[Fn]={persistent:!1,pure:!0,appendData:function(o){process.env.NODE_ENV!=="production"&&ie(qt(o),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}}(),e}(),I3=function(e,t,r,n){return e[n]},M$=(la={},la[Vt+"_"+gn]=function(e,t,r,n){return e[n+t]},la[Vt+"_"+Is]=function(e,t,r,n,i){n+=t;for(var a=i||[],o=e,s=0;s<o.length;s++){var u=o[s];a[s]=u?u[n]:null}return a},la[Or]=I3,la[An]=function(e,t,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=e[s];a[o]=u?u[n]:null}return a},la[Nr]=I3,la);function iS(e,t){var r=M$[A5(e,t)];return process.env.NODE_ENV!=="production"&&ie(r,'Do not support get item on "'+e+'", "'+t+'".'),r}var L3=function(e,t,r){return e.length},I$=(ca={},ca[Vt+"_"+gn]=function(e,t,r){return Math.max(0,e.length-t)},ca[Vt+"_"+Is]=function(e,t,r){var n=e[0];return n?Math.max(0,n.length-t):0},ca[Or]=L3,ca[An]=function(e,t,r){var n=r[0].name;if(process.env.NODE_ENV!=="production"&&n==null)throw new Error;var i=e[n];return i?i.length:0},ca[Nr]=L3,ca);function aS(e,t){var r=I$[A5(e,t)];return process.env.NODE_ENV!=="production"&&ie(r,'Do not support count on "'+e+'", "'+t+'".'),r}var Gf=function(e,t,r){return e[t]},L$=(fa={},fa[Vt]=Gf,fa[Or]=function(e,t,r){return e[r]},fa[An]=Gf,fa[Nr]=function(e,t,r){var n=Ss(e);return n instanceof Array?n[t]:n},fa[Fn]=Gf,fa);function oS(e){var t=L$[e];return process.env.NODE_ENV!=="production"&&ie(t,'Do not support get value on "'+e+'".'),t}function A5(e,t){return e===Vt?e+"_"+t:e}function fs(e,t,r){if(e){var n=e.getRawDataItem(t);if(n!=null){var i=e.getStore(),a=i.getSource().sourceFormat;if(r!=null){var o=e.getDimensionIndex(r),s=i.getDimensionProperty(o);return oS(a)(n,o,s)}else{var u=n;return a===Nr&&(u=Ss(n)),u}}}}var P$=/\{@(.+?)\}/g,_2=function(){function e(){}return e.prototype.getDataParams=function(t,r){var n=this.getData(r),i=this.getRawValue(t,r),a=n.getRawIndex(t),o=n.getName(t),s=n.getRawDataItem(t),u=n.getItemVisual(t,"style"),l=u&&u[n.getItemVisual(t,"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"]}},e.prototype.getFormattedLabel=function(t,r,n,i,a,o){r=r||"normal";var s=this.getData(n),u=this.getDataParams(t,n);if(o&&(u.value=o.interpolatedValue),i!=null&&G(u.value)&&(u.value=u.value[i]),!a){var l=s.getItemModel(t);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=zw(a,u);return c.replace(P$,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)&&Dt("Invalide label formatter: @"+h+", only support @[0], @[1], @[2], ..."));var v=fs(s,t,p);if(o&&G(o.interpolatedValue)){var g=s.getDimensionIndex(p);g>=0&&(v=o.interpolatedValue[g])}return v!=null?v+"":""})}},e.prototype.getRawValue=function(t,r){return fs(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,n){},e}();function P3(e){var t,r;return ne(e)?e.type?r=e:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+Zt(e)):t=e,{text:t,frag:r}}function $u(e){return new R$(e)}var R$=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var r=this._upstream,n=t&&t.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(t&&t.modBy),l=t&&t.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=t&&t.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()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(t,r,n,i,a){R3.reset(r,n,i,a),this._callingProgress=t,this._callingProgress({start:r,end:n,count:n-r,next:R3.next},this.context)},e.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var r,n;!t&&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},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(t){process.env.NODE_ENV!=="production"&&ie(t&&!t._disposed&&t!==this),(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e}(),R3=function(){var e,t,r,n,i,a={reset:function(u,l,c,f){t=u,e=l,r=c,n=f,i=Math.ceil(n/r),a.next=r>1&&n>0?s:o}};return a;function o(){return t<e?t++:null}function s(){var u=t%i*r+Math.ceil(t/i),l=t>=e?null:u<n?u:t;return t++,l}}();function ki(e,t){var r=t&&t.type;return r==="ordinal"?e:(r==="time"&&!Me(e)&&e!=null&&e!=="-"&&(e=+bn(e)),e==null||e===""?NaN:Number(e))}var N$=J({number:function(e){return parseFloat(e)},time:function(e){return+bn(e)},trim:function(e){return Z(e)?Hr(e):e}});function sS(e){return N$.get(e)}var uS={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},O$=function(){function e(t,r){if(!Me(r)){var n="";process.env.NODE_ENV!=="production"&&(n='rvalue of "<", ">", "<=", ">=" can only be number in filter.'),Re(n)}this._opFn=uS[t],this._rvalFloat=Hn(r)}return e.prototype.evaluate=function(t){return Me(t)?this._opFn(t,this._rvalFloat):this._opFn(Hn(t),this._rvalFloat)},e}(),lS=function(){function e(t,r){var n=t==="desc";this._resultLT=n?1:-1,r==null&&(r=n?"min":"max"),this._incomparable=r==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,r){var n=Me(t)?t:Hn(t),i=Me(r)?r:Hn(r),a=isNaN(n),o=isNaN(i);if(a&&(n=this._incomparable),o&&(i=this._incomparable),a&&o){var s=Z(t),u=Z(r);s&&(n=u?t:0),u&&(i=s?r:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},e}(),B$=function(){function e(t,r){this._rval=r,this._isEQ=t,this._rvalTypeof=typeof r,this._rvalFloat=Hn(r)}return e.prototype.evaluate=function(t){var r=t===this._rval;if(!r){var n=typeof t;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(r=Hn(t)===this._rvalFloat)}return this._isEQ?r:!r},e}();function F$(e,t){return e==="eq"||e==="ne"?new B$(e==="eq",t):j(uS,e)?new O$(e,t):null}var V$=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,r){},e.prototype.retrieveValueFromItem=function(t,r){},e.prototype.convertValue=function(t,r){return ki(t,r)},e}();function z$(e,t){var r=new V$,n=e.data,i=r.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==gn&&(process.env.NODE_ENV!=="production"&&(o='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Re(o));var s=[],u={},l=e.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<e.dimensionsDetectedCount;c++)s.push({index:c});var f=iS(i,gn);t.__isBuiltIn&&(r.getRawDataItem=function(v){return f(n,a,s,v)},r.getRawData=X($$,null,e)),r.cloneRawData=X(G$,null,e);var h=aS(i,gn);r.count=X(h,null,n,a,s);var d=oS(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(H$,null,s,u),r.cloneAllDimensionInfo=X(U$,null,s),r}function $$(e){var t=e.sourceFormat;if(!T5(t)){var r="";process.env.NODE_ENV!=="production"&&(r="`getRawData` is not supported in source format "+t),Re(r)}return e.data}function G$(e){var t=e.sourceFormat,r=e.data;if(!T5(t)){var n="";process.env.NODE_ENV!=="production"&&(n="`cloneRawData` is not supported in source format "+t),Re(n)}if(t===Vt){for(var i=[],a=0,o=r.length;a<o;a++)i.push(r[a].slice());return i}else if(t===Or){for(var i=[],a=0,o=r.length;a<o;a++)i.push($({},r[a]));return i}}function H$(e,t,r){if(r!=null){if(Me(r)||!isNaN(r)&&!j(t,r))return e[r];if(j(t,r))return t[r]}}function U$(e){return oe(e)}var cS=J();function W$(e){e=oe(e);var t=e.type,r="";t||(process.env.NODE_ENV!=="production"&&(r="Must have a `type` when `registerTransform`."),Re(r));var n=t.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"&&(t=n[1],i=!0),e.__isBuiltIn=i,cS.set(t,e)}function q$(e,t,r){var n=Ve(e),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];t=Z$(u,t,r,i===1?null:o),o!==s-1&&(t.length=Math.max(t.length,1))}return t}function Z$(e,t,r,n){var i="";t.length||(process.env.NODE_ENV!=="production"&&(i="Must have at least one upstream dataset."),Re(i)),ne(e)||(process.env.NODE_ENV!=="production"&&(i="transform declaration must be an object rather than "+typeof e+"."),Re(i));var a=e.type,o=cS.get(a);o||(process.env.NODE_ENV!=="production"&&(i='Can not find transform on type "'+a+'".'),Re(i));var s=H(t,function(c){return z$(c,o)}),u=Ve(o.transform({upstream:s[0],upstreamList:s,config:oe(e.config)}));if(process.env.NODE_ENV!=="production"&&e.print){var l=H(u,function(c){var f=n!=null?" === pipe index: "+n:"";return["=== dataset index: "+r.datasetIndex+f+" ===","- transform result data:",Zt(c.data),"- transform result dimensions:",Zt(c.dimensions)].join(`
|
|
84
|
+
`)}).join(`
|
|
85
|
+
`);cF(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=tS(c.data);T5(d)||(process.env.NODE_ENV!=="production"&&(h="Transform result data should be array rows or object rows."),Re(h));var p,v=t[0];if(v&&f===0&&!c.dimensions){var g=v.startIndex;g&&(c.data=v.data.slice(0,g).concat(c.data)),p={seriesLayoutBy:gn,sourceHeader:g,dimensions:v.metaRawOption.dimensions}}else p={seriesLayoutBy:gn,sourceHeader:0,dimensions:c.dimensions};return yd(c.data,p,null)})}function T5(e){return e===Vt||e===Or}var b2="undefined",Y$=typeof Uint32Array===b2?Array:Uint32Array,X$=typeof Uint16Array===b2?Array:Uint16Array,fS=typeof Int32Array===b2?Array:Int32Array,N3=typeof Float64Array===b2?Array:Float64Array,hS={float:N3,int:fS,ordinal:Array,number:Array,time:N3},Hf;function To(e){return e>65535?Y$:X$}function Do(){return[1/0,-1/0]}function j$(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function O3(e,t,r,n,i){var a=hS[r||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==n){for(var u=new a(n),l=0;l<s;l++)u[l]=o[l];e[t]=u}}else e[t]=new a(n)}var _d=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=J()}return e.prototype.initData=function(t,r,n){process.env.NODE_ENV!=="production"&&ie(te(t.getItem)&&te(t.count),"Invalid data provider."),this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),a=this.defaultDimValueGetter=Hf[i.sourceFormat];this._dimValueGetter=n||a,this._rawExtent=[];var o=rS(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,t.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(t,r){var n=this._calcDimNameToIdx,i=this._dimensions,a=n.get(t);if(a!=null){if(i[a].type===r)return a}else a=i.length;return i[a]={type:r},n.set(t,a),this._chunks[a]=new hS[r||"float"](this._rawCount),this._rawExtent[a]=Do(),a},e.prototype.collectOrdinalMeta=function(t,r){var n=this._chunks[t],i=this._dimensions[t],a=this._rawExtent,o=i.ordinalOffset||0,s=n.length;o===0&&(a[t]=Do());for(var u=a[t],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"},e.prototype.getOrdinalMeta=function(t){var r=this._dimensions[t],n=r.ordinalMeta;return n},e.prototype.getDimensionProperty=function(t){var r=this._dimensions[t];return r&&r.property},e.prototype.appendData=function(t){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(t);var i=r.count();return r.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},e.prototype.appendValues=function(t,r){for(var n=this._chunks,i=this._dimensions,a=i.length,o=this._rawExtent,s=this.count(),u=s+Math.max(t.length,r||0),l=0;l<a;l++){var c=i[l];O3(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=Hf.arrayRows.call(this,t[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}},e.prototype._initDataFromProvider=function(t,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]=Do()),O3(a,c,f.type,r,n)}if(i.fillStorage)i.fillStorage(t,r,a,u);else for(var h=[],d=t;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=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(r)]:NaN},e.prototype.getValues=function(t,r){var n=[],i=[];if(r==null){r=t,t=[];for(var a=0;a<this._dimensions.length;a++)i.push(a)}else i=t;for(var a=0,o=i.length;a<o;a++)n.push(this.get(i[a],r));return n},e.prototype.getByRawIndex=function(t,r){if(!(r>=0&&r<this._rawCount))return NaN;var n=this._chunks[t];return n?n[r]:NaN},e.prototype.getSum=function(t){var r=this._chunks[t],n=0;if(r)for(var i=0,a=this.count();i<a;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},e.prototype.getMedian=function(t){var r=[];this.each([t],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},e.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,n=r[t];if(n!=null&&n<this._count&&n===t)return t;for(var i=0,a=this._count-1;i<=a;){var o=(i+a)/2|0;if(r[o]<t)i=o+1;else if(r[o]>t)a=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,r,n){var i=this._chunks,a=i[t],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},e.prototype.getIndices=function(){var t,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){t=new n(i);for(var a=0;a<i;a++)t[a]=r[a]}else t=new n(r.buffer,0,i)}else{var n=To(this._rawCount);t=new n(this.count());for(var a=0;a<t.length;a++)t[a]=a}return t},e.prototype.filter=function(t,r){if(!this._count)return this;for(var n=this.clone(),i=n.count(),a=To(n._rawCount),o=new a(i),s=[],u=t.length,l=0,c=t[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[t[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},e.prototype.selectRange=function(t){var r=this.clone(),n=r._count;if(!n)return this;var i=Se(t),a=i.length;if(!a)return this;var o=r.count(),s=To(r._rawCount),u=new s(o),l=0,c=i[0],f=t[c][0],h=t[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=t[i[1]][0],x=t[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<t[T][0]||y>t[T][1])&&(C=!1)}C&&(u[l++]=r.getRawIndex(m))}return l<o&&(r._indices=u),r._count=l,r._extent=[],r._updateGetRawIdx(),r},e.prototype.map=function(t,r){var n=this.clone(t);return this._updateDims(n,t,r),n},e.prototype.modify=function(t,r){this._updateDims(this,t,r)},e.prototype._updateDims=function(t,r,n){for(var i=t._chunks,a=[],o=r.length,s=t.count(),u=[],l=t._rawExtent,c=0;c<r.length;c++)l[r[c]]=Do();for(var f=0;f<s;f++){for(var h=t.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)}}}},e.prototype.lttbDownSample=function(t,r){var n=this.clone([t],!0),i=n._chunks,a=i[t],o=this.count(),s=0,u=Math.floor(1/r),l=this.getRawIndex(0),c,f,h,d=new(To(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},e.prototype.minmaxDownSample=function(t,r){for(var n=this.clone([t],!0),i=n._chunks,a=Math.floor(1/r),o=i[t],s=this.count(),u=new(To(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},e.prototype.downSample=function(t,r,n,i){for(var a=this.clone([t],!0),o=a._chunks,s=[],u=Math.floor(1/r),l=o[t],c=this.count(),f=a._rawExtent[t]=Do(),h=new(To(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},e.prototype.each=function(t,r){if(this._count)for(var n=t.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[t[0]][s],a);break;case 2:r(i[t[0]][s],i[t[1]][s],a);break;default:for(var u=0,l=[];u<n;u++)l[u]=i[t[u]][s];l[u]=a,r.apply(null,l)}}},e.prototype.getDataExtent=function(t){var r=this._chunks[t],n=Do();if(!r)return n;var i=this.count(),a=!this._indices,o;if(a)return this._rawExtent[t].slice();if(o=this._extent[t],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[t]=o,o},e.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);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},e.prototype.clone=function(t,r){var n=new e,i=this._chunks,a=t&&mn(t,function(s,u){return s[u]=!0,s},{});if(a)for(var o=0;o<i.length;o++)n._chunks[o]=a[o]?j$(i[o]):i[o];else n._chunks=i;return this._copyCommonProps(n),r||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},e.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=oe(this._extent),t._rawExtent=oe(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,r=void 0;if(t===Array){var n=this._indices.length;r=new t(n);for(var i=0;i<n;i++)r[i]=this._indices[i]}else r=new t(this._indices);return r}return null},e.prototype._getRawIdxIdentity=function(t){return t},e.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(r,n,i,a){return ki(r[a],this._dimensions[a])}Hf={arrayRows:t,objectRows:function(r,n,i,a){return ki(r[n],this._dimensions[a])},keyedColumns:t,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return ki(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}}(),e}(),dS=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,r){this._sourceList=t,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,r=this._getUpstreamSourceManagers(),n=!!r.length,i,a;if(Qs(t)){var o=t,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=qt(s)?Fn:Nr,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?[yd(s,{seriesLayoutBy:d,sourceHeader:p,dimensions:v},u)]:[]}else{var m=t;if(n){var y=this._applyTransform(r);i=y.sourceList,a=y.upstreamSignList}else{var _=m.get("source",!0);i=[yd(_,this._getSourceMetaRawOption(),null)],a=[]}}process.env.NODE_ENV!=="production"&&ie(i&&a),this._setLocalSource(i,a)},e.prototype._applyTransform=function(t){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="";t.length!==1&&(process.env.NODE_ENV!=="production"&&(a="When using `fromTransformResult`, there should be only one upstream dataset"),F3(a))}var o,s=[],u=[];return E(t,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),F3(f)),s.push(c),u.push(l._getVersionSign())}),n?o=q$(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[D$(s[0])]),{sourceList:o,upstreamSignList:u}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r<t.length;r++){var n=t[r];if(n._isDirty()||this._upstreamSignList[r]!==n._getVersionSign())return!0}},e.prototype.getSource=function(t){t=t||0;var r=this._sourceList[t];if(!r){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return r},e.prototype.getSharedDataStore=function(t){process.env.NODE_ENV!=="production"&&ie(Qs(this._sourceHost),"Can only call getDataStore on series source manager.");var r=t.makeStoreSchema();return this._innerGetDataStore(r.dimensions,t.source,r.hash)},e.prototype._innerGetDataStore=function(t,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];Qs(this._sourceHost)&&u?s=u._innerGetDataStore(t,r,n):(s=new _d,s.initData(new nS(r,t.length),t)),o[n]=s}return s},e.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Qs(t)){var r=x5(t);return r?[r.getSourceManager()]:[]}else return H(Kz(t),function(n){return n.getSourceManager()})},e.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,r,n,i;if(Qs(t))r=t.get("seriesLayoutBy",!0),n=t.get("sourceHeader",!0),i=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var a=t;r=a.get("seriesLayoutBy",!0),n=a.get("sourceHeader",!0),i=a.get("dimensions",!0)}return{seriesLayoutBy:r,sourceHeader:n,dimensions:i}},e}();function B3(e){var t=e.option.transform;t&&z0(e.option.transform)}function Qs(e){return e.mainType==="series"}function F3(e){throw new Error(e)}var K$="line-height:1";function pS(e){var t=e.lineHeight;return t==null?K$:"line-height:"+Ot(t+"")+"px"}function vS(e,t){var r=e.color||"#6e7079",n=e.fontSize||12,i=e.fontWeight||"400",a=e.color||"#464646",o=e.fontSize||14,s=e.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+Ot(n+"")+"px;color:"+Ot(r)+";font-weight:"+Ot(i+""),valueStyle:"font-size:"+Ot(o+"")+"px;color:"+Ot(a)+";font-weight:"+Ot(s+"")}:{nameStyle:{fontSize:n,fill:r,fontWeight:i},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var Q$=[0,10,20,30],J$=["",`
|
|
86
|
+
`,`
|
|
87
|
+
|
|
88
|
+
`,`
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
`];function mt(e,t){return t.type=e,t}function bd(e){return e.type==="section"}function gS(e){return bd(e)?eG:tG}function mS(e){if(bd(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return E(e.blocks,function(i){var a=mS(i);a>=t&&(t=a+ +(n&&(!a||bd(i)&&!i.noHeader)))}),t}return 0}function eG(e,t,r,n){var i=t.noHeader,a=rG(mS(t)),o=[],s=t.blocks||[];ie(!s||G(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(j(l,u)){var c=new lS(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=t.valueFormatter,y=gS(v)(m?$($({},e),{valueFormatter:m}):e,v,g>0?a.html:0,n);y!=null&&o.push(y)});var f=e.renderMode==="richText"?o.join(a.richText):xd(n,o.join(""),i?r:a.html);if(i)return f;var h=pd(t.header,"ordinal",e.useUTC),d=vS(n,e.renderMode).nameStyle,p=pS(n);return e.renderMode==="richText"?yS(e,h,d)+a.richText+f:xd(n,'<div style="'+d+";"+p+';">'+Ot(h)+"</div>"+f,r)}function tG(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,u=t.name,l=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(b){return b=G(b)?b:[b],H(b,function(x,w){return pd(x,G(d)?d[w]:d,l)})};if(!(a&&o)){var f=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),h=a?"":pd(u,"ordinal",l),d=t.valueType,p=o?[]:c(t.value,t.dataIndex),v=!s||!a,g=!s&&a,m=vS(n,i),y=m.nameStyle,_=m.valueStyle;return i==="richText"?(s?"":f)+(a?"":yS(e,h,y))+(o?"":aG(e,p,v,g,_)):xd(n,(s?"":f)+(a?"":nG(h,!s,y))+(o?"":iG(p,v,g,_)),r)}}function V3(e,t,r,n,i,a){if(e){var o=gS(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function rG(e){return{html:Q$[e],richText:J$[e]}}function xd(e,t,r){var n='<div style="clear:both"></div>',i="margin: "+r+"px 0 0",a=pS(e);return'<div style="'+i+";"+a+';">'+t+n+"</div>"}function nG(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+Ot(e)+"</span>"}function iG(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=G(e)?e:[e],'<span style="'+a+";"+n+'">'+H(e,function(o){return Ot(o)}).join(" ")+"</span>"}function yS(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function aG(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(G(t)?t.join(" "):t,a)}function _S(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return Ja(n)}function bS(e,t){var r=e.get("padding");return r??(t==="richText"?[8,10]:10)}var Uf=function(){function e(){this.richTextStyles={},this._nextStyleNameId=bx()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=Uz({color:r,type:t,renderMode:n,markerId:i});return Z(a)?a:(process.env.NODE_ENV!=="production"&&ie(i),this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};G(r)?E(r,function(a){return $(n,a)}):$(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e}();function xS(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),u=G(s),l=_S(t,r),c,f,h,d;if(o>1||u&&!o){var p=oG(s,t,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=fs(i,r,a[0]),f=v.type}else d=c=u?s[0]:s;var g=K4(t),m=g&&t.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:!Hr(_),value:c,valueType:f,dataIndex:r})].concat(h||[])})}function oG(e,t,r,n,i){var a=t.getData(),o=mn(e,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(fs(a,r,f),f)}):E(e,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 ni=Ae();function M1(e,t){return e.getName(t)||e.getId(t)}var T0="__universalTransitionEnabled",x2=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=$u({count:uG,reset:lG}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=ni(this).sourceManager=new dS(this);a.prepareSource();var o=this.getInitialData(r,i);$3(o,this),this.dataTask.context.data=o,process.env.NODE_ENV!=="production"&&ie(o,"getInitialData returned invalid data."),ni(this).dataBeforeProcessed=o,z3(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=ll(this),a=i?ks(r):{},o=this.subType;Ce.hasClass(o)&&(o+="Series"),ge(r,n.getTheme().get(this.subType)),ge(r,this.getDefaultOption()),Xa(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&Bi(r,a,i)},t.prototype.mergeOption=function(r,n){r=ge(this.option,r,!0),this.fillDataTextStyle(r.data);var i=ll(this);i&&Bi(this.option,r,i);var a=ni(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);$3(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,ni(this).dataBeforeProcessed=o,z3(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!qt(r))for(var n=["show"],i=0;i<r.length;i++)r[i]&&r[i].label&&Xa(r[i],"label",n)},t.prototype.getInitialData=function(r,n){},t.prototype.appendData=function(r){var n=this.getRawData();n.appendData(r.data)},t.prototype.getData=function(r){var n=wd(this);if(n){var i=n.context.data;return r==null||!i.getLinkedData?i:i.getLinkedData(r)}else return ni(this).data},t.prototype.getAllData=function(){var r=this.getData();return r&&r.getLinkedDataAll?r.getLinkedDataAll():[{data:r}]},t.prototype.setData=function(r){var n=wd(this);if(n){var i=n.context;i.outputData=r,n!==this.dataTask&&(i.data=r)}ni(this).data=r},t.prototype.getEncode=function(){var r=this.get("encode",!0);if(r)return J(r)},t.prototype.getSourceManager=function(){return ni(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return ni(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var r=this.get("colorBy");return r||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var r=this.coordinateSystem;return r&&r.getBaseAxis&&r.getBaseAxis()},t.prototype.formatTooltip=function(r,n,i){return xS({series:this,dataIndex:r,multipleSeries:n})},t.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},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=w5.prototype.getColorFromPalette.call(this,r,n,i);return o||(o=a.getColorFromPalette(r,n,i)),o},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},t.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=M1(o,u);i[l]=!1,this._selectedDataIndicesMap[l]=-1}}},t.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)},t.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},t.prototype.isSelected=function(r,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[M1(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[T0])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.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=M1(r,f);l[h]=!0,this._selectedDataIndicesMap[h]=r.getRawIndex(f)}}else if(s==="single"||s===!0){var d=n[u-1],h=M1(r,d);o.selectedMap=(i={},i[h]=!0,i),this._selectedDataIndicesMap=(a={},a[h]=r.getRawIndex(d),a)}}},t.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)}},t.registerClass=function(r){return Ce.registerClass(r)},t.protoInitialize=function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"}(),t}(Ce);ft(x2,_2);ft(x2,w5);Mx(x2,Ce);function z3(e){var t=e.name;K4(e)||(e.name=sG(e)||t)}function sG(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return E(r,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function uG(e){return e.model.getRawData().count()}function lG(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),cG}function cG(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function $3(e,t){E(el(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,ve(fG,t))})}function fG(e,t){var r=wd(e);return r&&r.setOutputEnd((t||this).count()),t}function wd(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(e.uid))}return n}}const je=x2;var D5=function(){function e(){this.group=new le,this.uid=Ds("viewComponent")}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){},e.prototype.updateLayout=function(t,r,n,i){},e.prototype.updateVisual=function(t,r,n,i){},e.prototype.toggleBlurSeries=function(t,r,n){},e.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},e}();J4(D5);t2(D5);const et=D5;function Ps(){var e=Ae();return function(t){var r=e(t),n=t.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 wS=Ae(),hG=Ps(),E5=function(){function e(){this.group=new le,this.uid=Ds("viewChart"),this.renderTask=$u({plan:dG,reset:pG}),this.renderTask.context={view:this}}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},e.prototype.highlight=function(t,r,n,i){var a=t.getData(i&&i.dataType);if(!a){process.env.NODE_ENV!=="production"&&Dt("Unknown dataType "+i.dataType);return}H3(a,i,"emphasis")},e.prototype.downplay=function(t,r,n,i){var a=t.getData(i&&i.dataType);if(!a){process.env.NODE_ENV!=="production"&&Dt("Unknown dataType "+i.dataType);return}H3(a,i,"normal")},e.prototype.remove=function(t,r){this.group.removeAll()},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateLayout=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateVisual=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.eachRendered=function(t){Ui(this.group,t)},e.markUpdateMethod=function(t,r){wS(t).updateMethod=r},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function G3(e,t,r){e&&Ni(e)&&(t==="emphasis"?Un:Wn)(e,r)}function H3(e,t,r){var n=ja(e,t),i=t&&t.highlightKey!=null?BV(t.highlightKey):null;n!=null?E(Ve(n),function(a){G3(e.getItemGraphicEl(a),r,i)}):e.eachItemGraphicEl(function(a){G3(a,r,i)})}J4(E5,["dispose"]);t2(E5);function dG(e){return hG(e.model)}function pG(e){var t=e.model,r=e.ecModel,n=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&wS(i).updateMethod,u=a?"incrementalPrepareRender":s&&o[s]?s:"render";return u!=="render"&&o[u](t,r,n,i),vG[u]}var vG={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const qe=E5;var nc="\0__throttleOriginMethod",U3="\0__throttleRate",W3="\0__throttleType";function k5(e,t,r){var n,i=0,a=0,o=null,s,u,l,c;t=t||0;function f(){a=new Date().getTime(),o=null,e.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||t,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 Rs(e,t,r,n){var i=e[t];if(i){var a=i[nc]||i,o=i[W3],s=i[U3];if(s!==r||o!==n){if(r==null||!n)return e[t]=a;i=e[t]=k5(a,r,n==="debounce"),i[nc]=a,i[W3]=n,i[U3]=r}return i}}function fl(e,t){var r=e[t];r&&r[nc]&&(r.clear&&r.clear(),e[t]=r[nc])}var q3=Ae(),Z3={itemStyle:Ka(Dw,!0),lineStyle:Ka(Tw,!0)},gG={lineStyle:"stroke",itemStyle:"fill"};function SS(e,t){var r=e.visualStyleMapper||Z3[t];return r||(console.warn("Unknown style type '"+t+"'."),Z3.itemStyle)}function CS(e,t){var r=e.visualDrawType||gG[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var mG={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=e.getModel(n),a=SS(e,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var u=CS(e,n),l=o[u],c=te(l)?l:null,f=o.fill==="auto"||o.stroke==="auto";if(!o[u]||c||f){var h=e.getColorFromPalette(e.name,null,t.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),!t.isSeriesFiltered(e)&&c)return r.setVisual("colorFromPalette",!1),{dataEach:function(d,p){var v=e.getDataParams(p),g=$({},o);g[u]=c(v),d.setItemVisual(p,"style",g)}}}},Js=new We,yG={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=SS(e,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var u=o.getRawDataItem(s);if(u&&u[n]){Js.option=u[n];var l=i(Js),c=o.ensureUniqueItemVisual(s,"style");$(c,l),Js.option.decal&&(o.setItemVisual(s,"decal",Js.option.decal),Js.option.decal.dirty=!0),a in l&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},_G={performRawSeries:!0,overallReset:function(e){var t=J();e.eachSeries(function(r){var n=r.getColorBy();if(!r.isColorBySeries()){var i=r.type+"-"+n,a=t.get(i);a||(a={},t.set(i,a)),q3(r).scope=a}}),e.eachSeries(function(r){if(!(r.isColorBySeries()||e.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=q3(r).scope,s=r.visualStyleAccessPath||"itemStyle",u=CS(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)}})}})}},I1=Math.PI;function bG(e,t){t=t||{},ae(t,{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:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var i=new ke({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new Ee({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add(a);var o;return t.showSpinner&&(o=new l5({shape:{startAngle:-I1/2,endAngle:-I1/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:I1*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:I1*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=i.getBoundingRect().width,u=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-u*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:u),c=e.getHeight()/2;t.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:e.getWidth(),height:e.getHeight()})},r.resize(),r}var xG=function(){function e(t,r,n,i){this._stageTaskMap=J(),this.ecInstance=t,this.api=r,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return e.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,r){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!r&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__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}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,r){var n=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),o=n.progressiveEnabled&&r.incrementalPrepareRender&&a>=n.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),u=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:u,large:s}},e.prototype.restorePipelines=function(t){var r=this,n=r._pipelineMap=J();t.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)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),n=this.api;E(this._allHandlers,function(i){var a=t.get(i.uid)||t.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)},e.prototype.prepareView=function(t,r,n,i){var a=t.renderTask,o=a.context;o.model=r,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(r,a)},e.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},e.prototype.performVisualTasks=function(t,r,n){this._performStageTasks(this._visualHandlers,t,r,n)},e.prototype._performStageTasks=function(t,r,n,i){i=i||{};var a=!1,o=this;E(t,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},e.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},e.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},e.prototype._createSeriesStageTask=function(t,r,n,i){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=J(),u=t.seriesType,l=t.getTargetSeries;t.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)||$u({plan:TG,reset:DG,count:kG}));d.context={model:f,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(f,d)}},e.prototype._createOverallStageTask=function(t,r,n,i){var a=this,o=r.overallTask=r.overallTask||$u({reset:wG});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,u=o.agentStubMap=J(),l=t.seriesType,c=t.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(!t.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,$u({reset:SG,onDirty:AG})));m.context={model:v,overallProgress:f},m.agent=o,m.__block=f,a._pipe(v,m)}h&&o.dirty()},e.prototype._pipe=function(t,r){var n=t.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},e.wrapStageHandler=function(t,r){return te(t)&&(t={overallReset:t,seriesType:MG(t)}),t.uid=Ds("stageHandler"),r&&(t.visualType=r),t},e}();function wG(e){e.overallReset(e.ecModel,e.api,e.payload)}function SG(e){return e.overallProgress&&CG}function CG(){this.agent.dirty(),this.getDownstream().dirty()}function AG(){this.agent&&this.agent.dirty()}function TG(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function DG(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Ve(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?H(t,function(r,n){return AS(n)}):EG}var EG=AS(0);function AS(e){return function(t,r){var n=r.data,i=r.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a<t.end;a++)i.dataEach(n,a);else i&&i.progress&&i.progress(t,n)}}function kG(e){return e.data.count()}function MG(e){ic=null;try{e(hl,TS)}catch{}return ic}var hl={},TS={},ic;DS(hl,Kw);DS(TS,Qw);hl.eachSeriesByType=hl.eachRawSeriesByType=function(e){ic=e};hl.eachComponent=function(e){e.mainType==="series"&&e.subType&&(ic=e.subType)};function DS(e,t){for(var r in t.prototype)e[r]=at}const ES=xG;var Y3=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const IG={color:Y3,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Y3]};var Rt="#B9B8CE",X3="#100C2A",L1=function(){return{axisLine:{lineStyle:{color:Rt}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},j3=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],kS={darkMode:!0,color:j3,backgroundColor:X3,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Rt},pageTextStyle:{color:Rt}},textStyle:{color:Rt},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Rt}},dataZoom:{borderColor:"#71708A",textStyle:{color:Rt},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:Rt}},timeline:{lineStyle:{color:Rt},label:{color:Rt},controlStyle:{color:Rt,borderColor:Rt}},calendar:{itemStyle:{color:X3},dayLabel:{color:Rt},monthLabel:{color:Rt},yearLabel:{color:Rt}},timeAxis:L1(),logAxis:L1(),valueAxis:L1(),categoryAxis:L1(),line:{symbol:"circle"},graph:{color:j3},gauge:{title:{color:Rt},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Rt},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};kS.categoryAxis.splitLine.show=!1;const LG=kS;var PG=function(){function e(){}return e.prototype.normalizeQuery=function(t){var r={},n={},i={};if(Z(t)){var a=dn(t);r.mainType=a.main||null,r.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};E(t,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}},e.prototype.filter=function(t,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(t,r.otherQuery,i,a));function c(f,h,d,p){return f[d]==null||h[p||d]===f[d]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),Sd=["symbol","symbolSize","symbolRotate","symbolOffset"],K3=Sd.concat(["symbolKeepAspect"]),RG={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o<Sd.length;o++){var s=Sd[o],u=e.get(s);te(u)?(a=!0,i[s]=u):n[s]=u}if(n.symbol=n.symbol||e.defaultSymbol,r.setVisual($({legendIcon:e.legendIcon||n.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},n)),t.isSeriesFiltered(e))return;var l=Se(i);function c(f,h){for(var d=e.getRawValue(h),p=e.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}}},NG={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.hasSymbolVisual||t.isSeriesFiltered(e))return;var r=e.getData();function n(i,a){for(var o=i.getItemModel(a),s=0;s<K3.length;s++){var u=K3[s],l=o.getShallow(u,!0);l!=null&&i.setItemVisual(a,u,l)}}return{dataEach:r.hasItemOption?n:null}}};function M5(e,t,r){switch(r){case"color":var n=e.getItemVisual(t,"style");return n[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,r);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+r)}}function Ol(e,t){switch(t){case"color":var r=e.getVisual("style");return r[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+t)}}function MS(e,t,r,n){switch(r){case"color":var i=e.ensureUniqueItemVisual(t,"style");i[e.getVisual("drawType")]=n,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,r,n);break;default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+r)}}function IS(e,t){function r(n,i){var a=[];return n.eachComponent({mainType:"series",subType:e,query:i},function(o){a.push(o.seriesIndex)}),a}E([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(n){t(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 Eo(e,t,r,n,i){var a=e+t;r.isSilent(a)||(process.env.NODE_ENV!=="production"&&Xr("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=ja(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 OG(e,t,r){e.on("selectchanged",function(n){var i=r.getModel();n.isFromClick?(Eo("map","selectchanged",t,i,n),Eo("pie","selectchanged",t,i,n)):n.fromAction==="select"?(Eo("map","selected",t,i,n),Eo("pie","selected",t,i,n)):n.fromAction==="unselect"&&(Eo("map","unselected",t,i,n),Eo("pie","unselected",t,i,n))})}function La(e,t,r){for(var n;e&&!(t(e)&&(n=e,r));)e=e.__hostTarget||e.parent;return n}var BG=Math.round(Math.random()*9),FG=typeof Object.defineProperty=="function",VG=function(){function e(){this._id="__ec_inner_"+BG++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var n=this._guard(t);return FG?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}();const zG=VG;var $G=we.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,i=t.width/2,a=t.height/2;e.moveTo(r,n-a),e.lineTo(r+i,n+a),e.lineTo(r-i,n+a),e.closePath()}}),GG=we.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,i=t.width/2,a=t.height/2;e.moveTo(r,n-a),e.lineTo(r+i,n),e.lineTo(r,n+a),e.lineTo(r-i,n),e.closePath()}}),HG=we.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.x,n=t.y,i=t.width/5*3,a=Math.max(i,t.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;e.moveTo(r-c,u+s),e.arc(r,u,o,Math.PI-l,Math.PI*2+l),e.bezierCurveTo(r+c-f*d,u+s+h*d,r,n-p,r,n),e.bezierCurveTo(r,n-p,r-c+f*d,u+s+h*d,r-c,u+s),e.closePath()}}),UG=we.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.height,n=t.width,i=t.x,a=t.y,o=n/3*2;e.moveTo(i,a),e.lineTo(i+o,a+r),e.lineTo(i,a+r/4*3),e.lineTo(i-o,a+r),e.lineTo(i,a),e.closePath()}}),WG={line:xt,rect:Ee,roundRect:Ee,square:Ee,circle:Hi,diamond:GG,pin:HG,arrow:UG,triangle:$G},qG={line:function(e,t,r,n,i){i.x1=e,i.y1=t+n/2,i.x2=e+r,i.y2=t+n/2},rect:function(e,t,r,n,i){i.x=e,i.y=t,i.width=r,i.height=n},roundRect:function(e,t,r,n,i){i.x=e,i.y=t,i.width=r,i.height=n,i.r=Math.min(r,n)/4},square:function(e,t,r,n,i){var a=Math.min(r,n);i.x=e,i.y=t,i.width=a,i.height=a},circle:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.r=Math.min(r,n)/2},diamond:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.width=r,i.height=n},pin:function(e,t,r,n,i){i.x=e+r/2,i.y=t+n/2,i.width=r,i.height=n},arrow:function(e,t,r,n,i){i.x=e+r/2,i.y=t+n/2,i.width=r,i.height=n},triangle:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.width=r,i.height=n}},ac={};E(WG,function(e,t){ac[t]=new e});var ZG=we.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,r){var n=Z0(e,t,r),i=this.shape;return i&&i.symbolType==="pin"&&t.position==="inside"&&(n.y=r.y+r.height*.4),n},buildPath:function(e,t,r){var n=t.symbolType;if(n!=="none"){var i=ac[n];i||(n="rect",i=ac[n]),qG[n](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,r)}}});function YG(e,t){if(this.type!=="image"){var r=this.style;this.__isEmptyBrush?(r.stroke=e,r.fill=t||"#fff",r.lineWidth=2):this.shape.symbolType==="line"?r.stroke=e:r.fill=e,this.markRedraw()}}function ct(e,t,r,n,i,a,o){var s=e.indexOf("empty")===0;s&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var u;return e.indexOf("image://")===0?u=yw(e.slice(8),new ye(t,r,n,i),o?"center":"cover"):e.indexOf("path://")===0?u=l2(e.slice(7),{},new ye(t,r,n,i),o?"center":"cover"):u=new ZG({shape:{symbolType:e,x:t,y:r,width:n,height:i}}),u.__isEmptyBrush=s,u.setColor=YG,a&&u.setColor(a),u}function Ns(e){return G(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function lo(e,t){if(e!=null)return G(e)||(e=[e,e]),[W(e[0],t[0])||0,W(fe(e[1],e[0]),t[1])||0]}function Pa(e){return isFinite(e)}function XG(e,t,r){var n=t.x==null?0:t.x,i=t.x2==null?1:t.x2,a=t.y==null?0:t.y,o=t.y2==null?0:t.y2;t.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=Pa(n)?n:0,i=Pa(i)?i:1,a=Pa(a)?a:0,o=Pa(o)?o:0;var s=e.createLinearGradient(n,a,i,o);return s}function jG(e,t,r){var n=r.width,i=r.height,a=Math.min(n,i),o=t.x==null?.5:t.x,s=t.y==null?.5:t.y,u=t.r==null?.5:t.r;t.global||(o=o*n+r.x,s=s*i+r.y,u=u*a),o=Pa(o)?o:.5,s=Pa(s)?s:.5,u=u>=0&&Pa(u)?u:.5;var l=e.createRadialGradient(o,s,0,o,s,u);return l}function Cd(e,t,r){for(var n=t.type==="radial"?jG(e,t,r):XG(e,t,r),i=t.colorStops,a=0;a<i.length;a++)n.addColorStop(i[a].offset,i[a].color);return n}function KG(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!0;return!1}function P1(e){return parseInt(e,10)}function jo(e,t,r){var n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(r[n]!=null&&r[n]!=="auto")return parseFloat(r[n]);var s=document.defaultView.getComputedStyle(e);return(e[i]||P1(s[n])||P1(e.style[n]))-(P1(s[a])||0)-(P1(s[o])||0)|0}function QG(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:Me(e)?[e]:G(e)?e:null}function I5(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&QG(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(r=H(r,function(a){return a/i}),n/=i)}return[r,n]}var JG=new xn(!0);function oc(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function Q3(e){return typeof e=="string"&&e!=="none"}function sc(e){var t=e.fill;return t!=null&&t!=="none"}function J3(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function e8(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function Ad(e,t,r){var n=e5(t.image,t.__image,r);if(r2(n)){var i=e.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*d0),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function eH(e,t,r,n){var i,a=oc(r),o=sc(r),s=r.strokePercent,u=s<1,l=!t.path;(!t.silent||u)&&l&&t.createPathProxy();var c=t.path||JG,f=t.__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=t.getBoundingRect()),p&&(y=f?Cd(e,h,w):t.__canvasFillGradient,t.__canvasFillGradient=y),v&&(_=f?Cd(e,d,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(b=f||!t.__canvasFillPattern?Ad(e,h,t):t.__canvasFillPattern,t.__canvasFillPattern=b),m&&(x=f||!t.__canvasStrokePattern?Ad(e,d,t):t.__canvasStrokePattern,t.__canvasStrokePattern=b),p?e.fillStyle=y:g&&(b?e.fillStyle=b:o=!1),v?e.strokeStyle=_:m&&(x?e.strokeStyle=x:a=!1)}var S=t.getGlobalScale();c.setScale(S[0],S[1],t.segmentIgnoreThreshold);var C,A;e.setLineDash&&r.lineDash&&(i=I5(t),C=i[0],A=i[1]);var T=!0;(l||f&Ho)&&(c.setDPR(e.dpr),u?c.setContext(null):(c.setContext(e),T=!1),c.reset(),t.buildPath(c,t.shape,n),c.toStatic(),t.pathUpdated()),T&&c.rebuildPath(e,u?s:1),C&&(e.setLineDash(C),e.lineDashOffset=A),n||(r.strokeFirst?(a&&e8(e,r),o&&J3(e,r)):(o&&J3(e,r),a&&e8(e,r))),C&&e.setLineDash([])}function tH(e,t,r){var n=t.__image=e5(r.image,t.__image,t,t.onload);if(!(!n||!r2(n))){var i=r.x||0,a=r.y||0,o=t.getWidth(),s=t.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;e.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;e.drawImage(n,l,c,f,h,i,a,o,s)}else e.drawImage(n,i,a,o,s)}}function rH(e,t,r){var n,i=r.text;if(i!=null&&(i+=""),i){e.font=r.font||Li,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,o=void 0;e.setLineDash&&r.lineDash&&(n=I5(t),a=n[0],o=n[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),r.strokeFirst?(oc(r)&&e.strokeText(i,r.x,r.y),sc(r)&&e.fillText(i,r.x,r.y)):(sc(r)&&e.fillText(i,r.x,r.y),oc(r)&&e.strokeText(i,r.x,r.y)),a&&e.setLineDash([])}}var t8=["shadowBlur","shadowOffsetX","shadowOffsetY"],r8=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function LS(e,t,r,n,i){var a=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){Jt(e,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?Va.opacity:o}(n||t.blend!==r.blend)&&(a||(Jt(e,i),a=!0),e.globalCompositeOperation=t.blend||Va.blend);for(var s=0;s<t8.length;s++){var u=t8[s];(n||t[u]!==r[u])&&(a||(Jt(e,i),a=!0),e[u]=e.dpr*(t[u]||0))}return(n||t.shadowColor!==r.shadowColor)&&(a||(Jt(e,i),a=!0),e.shadowColor=t.shadowColor||Va.shadowColor),a}function n8(e,t,r,n,i){var a=dl(t,i.inHover),o=n?null:r&&dl(r,i.inHover)||{};if(a===o)return!1;var s=LS(e,a,o,n,i);if((n||a.fill!==o.fill)&&(s||(Jt(e,i),s=!0),Q3(a.fill)&&(e.fillStyle=a.fill)),(n||a.stroke!==o.stroke)&&(s||(Jt(e,i),s=!0),Q3(a.stroke)&&(e.strokeStyle=a.stroke)),(n||a.opacity!==o.opacity)&&(s||(Jt(e,i),s=!0),e.globalAlpha=a.opacity==null?1:a.opacity),t.hasStroke()){var u=a.lineWidth,l=u/(a.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==l&&(s||(Jt(e,i),s=!0),e.lineWidth=l)}for(var c=0;c<r8.length;c++){var f=r8[c],h=f[0];(n||a[h]!==o[h])&&(s||(Jt(e,i),s=!0),e[h]=a[h]||f[1])}return s}function nH(e,t,r,n,i){return LS(e,dl(t,i.inHover),r&&dl(r,i.inHover),n,i)}function PS(e,t){var r=t.transform,n=e.dpr||1;r?e.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):e.setTransform(n,0,0,n,0,0)}function iH(e,t,r){for(var n=!1,i=0;i<e.length;i++){var a=e[i];n=n||a.isZeroArea(),PS(t,a),t.beginPath(),a.buildPath(t,a.shape),t.clip()}r.allClipped=n}function aH(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var i8=1,a8=2,o8=3,s8=4;function oH(e){var t=sc(e),r=oc(e);return!(e.lineDash||!(+t^+r)||t&&typeof e.fill!="string"||r&&typeof e.stroke!="string"||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function Jt(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function dl(e,t){return t&&e.__hoverStyle||e.style}function RS(e,t){Ra(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Ra(e,t,r,n){var i=t.transform;if(!t.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){t.__dirty&=~sr,t.__isRendered=!1;return}var a=t.__clipPaths,o=r.prevElClipPaths,s=!1,u=!1;if((!o||KG(a,o))&&(o&&o.length&&(Jt(e,r),e.restore(),u=s=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),a&&a.length&&(Jt(e,r),e.save(),iH(a,e,r),s=!0),r.prevElClipPaths=a),r.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var l=r.prevEl;l||(u=s=!0);var c=t instanceof we&&t.autoBatch&&oH(t.style);s||aH(i,l.transform)?(Jt(e,r),PS(e,t)):c||Jt(e,r);var f=dl(t,r.inHover);t instanceof we?(r.lastDrawType!==i8&&(u=!0,r.lastDrawType=i8),n8(e,t,l,u,r),(!c||!r.batchFill&&!r.batchStroke)&&e.beginPath(),eH(e,t,f,c),c&&(r.batchFill=f.fill||"",r.batchStroke=f.stroke||"")):t instanceof al?(r.lastDrawType!==o8&&(u=!0,r.lastDrawType=o8),n8(e,t,l,u,r),rH(e,t,f)):t instanceof Mt?(r.lastDrawType!==a8&&(u=!0,r.lastDrawType=a8),nH(e,t,l,u,r),tH(e,t,f)):t.getTemporalDisplayables&&(r.lastDrawType!==s8&&(u=!0,r.lastDrawType=s8),sH(e,t,r)),c&&n&&Jt(e,r),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),r.prevEl=t,t.__dirty=0,t.__isRendered=!0}function sH(e,t,r){var n=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var a={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover},o,s;for(o=t.getCursor(),s=n.length;o<s;o++){var u=n[o];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),Ra(e,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(),Ra(e,u,a,l===c-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),a.prevEl=u}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var Wf=new zG,u8=new kl(100),l8=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function hs(e,t){if(e==="none")return null;var r=t.getDevicePixelRatio(),n=t.getZr(),i=n.painter.type==="svg";e.dirty&&Wf.delete(e);var a=Wf.get(e);if(a)return a;var o=ae(e,{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,Wf.set(e,s),e.dirty=!1,s;function u(l){for(var c=[r],f=!0,h=0;h<l8.length;++h){var d=o[l8[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=u8.get(p);v&&(i?l.svgElement=v:l.image=v)}var g=OS(o.dashArrayX),m=uH(o.dashArrayY),y=NS(o.symbol),_=lH(g),b=BS(m),x=!i&&Pi.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&&u8.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=Sv(D,_[k]);for(var L=1,k=0,M=y.length;k<M;++k)L=Sv(L,y[k].length);D*=L;var N=b*_.length*y.length;if(process.env.NODE_ENV!=="production"){var I=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&&I("maxTileWidth"),N>o.maxTileHeight&&I("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,L=0,N=0,I=0;M<S.height;){if(L%2===0){for(var O=N/2%y.length,P=0,R=0,B=0;P<S.width*2;){for(var V=0,k=0;k<g[I].length;++k)V+=g[I][k];if(V<=0)break;if(R%2===0){var z=(1-o.symbolSize)*.5,U=P+g[I][R]*z,q=M+m[L]*z,K=g[I][R]*o.symbolSize,xe=m[L]*o.symbolSize,ze=B/2%y[O].length;ue(U,q,K,xe,y[O][ze])}P+=g[I][R],++B,++R,R===g[I].length&&(R=0)}++I,I===g.length&&(I=0)}M+=m[L],++N,++L,L===m.length&&(L=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 RS(C,Te)}}}}function NS(e){if(!e||e.length===0)return[["rect"]];if(Z(e))return[[e]];for(var t=!0,r=0;r<e.length;++r)if(!Z(e[r])){t=!1;break}if(t)return NS([e]);for(var n=[],r=0;r<e.length;++r)Z(e[r])?n.push([e[r]]):n.push(e[r]);return n}function OS(e){if(!e||e.length===0)return[[0,0]];if(Me(e)){var t=Math.ceil(e);return[[t,t]]}for(var r=!0,n=0;n<e.length;++n)if(!Me(e[n])){r=!1;break}if(r)return OS([e]);for(var i=[],n=0;n<e.length;++n)if(Me(e[n])){var t=Math.ceil(e[n]);i.push([t,t])}else{var t=H(e[n],function(s){return Math.ceil(s)});t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function uH(e){if(!e||typeof e=="object"&&e.length===0)return[0,0];if(Me(e)){var t=Math.ceil(e);return[t,t]}var r=H(e,function(n){return Math.ceil(n)});return e.length%2?r.concat(r):r}function lH(e){return H(e,function(t){return BS(t)})}function BS(e){for(var t=0,r=0;r<e.length;++r)t+=e[r];return e.length%2===1?t*2:t}function cH(e,t){e.eachRawSeries(function(r){if(!e.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=hs(s,t)}});var i=n.getVisual("decal");if(i){var a=n.getVisual("style");a.decal=hs(i,t)}}})}var fH=new Rr;const $r=fH;var uc={};function hH(e,t){process.env.NODE_ENV!=="production"&&uc[e]&&Dt("Already has an implementation of "+e+"."),uc[e]=t}function dH(e){return process.env.NODE_ENV!=="production"&&(uc[e]||Dt("Implementation of "+e+" doesn't exists.")),uc[e]}var pH=1,vH=800,gH=900,mH=1e3,yH=2e3,_H=5e3,FS=1e3,bH=1100,L5=2e3,VS=3e3,xH=4e3,w2=4500,wH=4600,SH=5e3,CH=6e3,zS=7e3,AH={PROCESSOR:{FILTER:mH,SERIES_FILTER:vH,STATISTIC:_H},VISUAL:{LAYOUT:FS,PROGRESSIVE_LAYOUT:bH,GLOBAL:L5,CHART:VS,POST_CHART_LAYOUT:wH,COMPONENT:xH,BRUSH:SH,CHART_ITEM:w2,ARIA:CH,DECAL:zS}},Pt="__flagInMainProcess",jt="__pendingUpdate",qf="__needsUpdateStatus",c8=/^[a-zA-Z0-9_]+$/,Zf="__connectUpdateStatus",f8=0,TH=1,DH=2;function $S(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(this.isDisposed()){or(this.id);return}return HS(this,e,t)}}function GS(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return HS(this,e,t)}}function HS(e,t,r){return r[0]=r[0]&&r[0].toLowerCase(),Rr.prototype[t].apply(e,r)}var US=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Rr),WS=US.prototype;WS.on=GS("on");WS.off=GS("off");var ko,Yf,R1,ii,Xf,jf,Kf,eu,tu,h8,d8,Qf,p8,N1,v8,qS,pr,g8,ZS=function(e){F(t,e);function t(r,n,i){var a=e.call(this,new PG)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],i=i||{},Z(n)&&(n=YS[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&&rF(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=_v(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=k5(X(c.flush,c),17),n=oe(n),n&&eS(n,!0),a._theme=n,a._locale=Bz(i.locale||Ew),a._coordSysMgr=new Ls;var f=a._api=v8(a);function h(d,p){return d.__prio-p.__prio}return g0(cc,h),g0(Td,h),a._scheduler=new ES(a,f,Td,cc),a._messageCenter=new US,a._initEvents(),a.resize=X(a.resize,a),c.animation.on("frame",a._onframe,a),h8(c,a),d8(c,a),z0(a),a}return t.prototype._onframe=function(){if(!this._disposed){g8(this);var r=this._scheduler;if(this[jt]){var n=this[jt].silent;this[Pt]=!0;try{ko(this),ii.update.call(this,null,this[jt].updateParams)}catch(u){throw this[Pt]=!1,this[jt]=null,u}this._zr.flush(),this[Pt]=!1,this[jt]=null,eu.call(this,n),tu.call(this,n)}else if(r.unfinished){var i=pH,a=this._model,o=this._api;r.unfinished=!1;do{var s=+new Date;r.performSeriesTasks(a),r.performDataProcessorTasks(a),jf(this,a),r.performVisualTasks(a),N1(this,this._model,o,"remain",{}),i-=+new Date-s}while(i>0&&r.unfinished);r.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(r,n,i){if(this[Pt]){process.env.NODE_ENV!=="production"&&Dt("`setOption` should not be called during main process.");return}if(this._disposed){or(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[Pt]=!0,!this._model||n){var u=new m$(this._api),l=this._theme,c=this._model=new Kw;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,l,this._locale,u)}this._model.setOption(r,{replaceMerge:o},Dd);var f={seriesTransition:s,optionChanged:!0};if(i)this[jt]={silent:a,updateParams:f},this[Pt]=!1,this.getZr().wakeUp();else{try{ko(this),ii.update.call(this,null,f)}catch(h){throw this[jt]=null,this[Pt]=!1,h}this._ssr||this._zr.flush(),this[jt]=null,this[Pt]=!1,eu.call(this,a),tu.call(this,a)}},t.prototype.setTheme=function(){Xr("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||De.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return process.env.NODE_ENV!=="production"&&st("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(r)},t.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()})},t.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})},t.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()}},t.prototype.getDataURL=function(r){if(this._disposed){or(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},t.prototype.getConnectedDataURL=function(r){if(this._disposed){or(this.id);return}var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(m8[i]){var u=s,l=s,c=-s,f=-s,h=[],d=r&&r.pixelRatio||this.getDevicePixelRatio();E(Hu,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=Pi.createCanvas(),m=_v(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 Mt({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)},t.prototype.convertToPixel=function(r,n){return Xf(this,"convertToPixel",r,n)},t.prototype.convertFromPixel=function(r,n){return Xf(this,"convertFromPixel",r,n)},t.prototype.containPixel=function(r,n){if(this._disposed){or(this.id);return}var i=this._model,a,o=Ou(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},t.prototype.getVisual=function(r,n){var i=this._model,a=Ou(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?M5(s,u,n):Ol(s,n)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;E(EH,function(n){var i=function(a){var o=r.getModel(),s=a.target,u,l=n==="globalout";if(l?u={}:s&&La(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(Gu,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)}),OG(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){or(this.id);return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){or(this.id);return}this._disposed=!0;var r=this.getDom();r&&Dx(this.getDom(),R5,"");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 Hu[n.id]},t.prototype.resize=function(r){if(this[Pt]){process.env.NODE_ENV!=="production"&&Dt("`resize` should not be called during main process.");return}if(this._disposed){or(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[jt]&&(a==null&&(a=this[jt].silent),i=!0,this[jt]=null),this[Pt]=!0;try{i&&ko(this),ii.update.call(this,{type:"resize",animation:$({duration:0},r&&r.animation)})}catch(o){throw this[Pt]=!1,o}this[Pt]=!1,eu.call(this,a),tu.call(this,a)}},t.prototype.showLoading=function(r,n){if(this._disposed){or(this.id);return}if(ne(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!Ed[r]){process.env.NODE_ENV!=="production"&&Qe("Loading effects "+r+" not exists.");return}var i=Ed[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)},t.prototype.hideLoading=function(){if(this._disposed){or(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var n=$({},r);return n.type=Gu[r.type],n},t.prototype.dispatchAction=function(r,n){if(this._disposed){or(this.id);return}if(ne(n)||(n={silent:!!n}),!!lc[r.type]&&this._model){if(this[Pt]){this._pendingActions.push(r);return}var i=n.silent;Kf.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&De.browser.weChat&&this._throttledZrFlush(),eu.call(this,i),tu.call(this,i)}},t.prototype.updateLabelLayout=function(){$r.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){or(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()},t.internalField=function(){ko=function(f){var h=f._scheduler;h.restorePipelines(f._model),h.prepareStageTasks(),Yf(f,!0),Yf(f,!1),h.plan()},Yf=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=dn(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)}},R1=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(Ve(_),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(Qv(d))if(w instanceof je)d.type===za&&!d.notBlur&&!w.get(["emphasis","disabled"])&&kV(w,d,f._api);else{var C=o5(w.mainType,w.componentIndex,d.name,f._api),A=C.focusSelf,T=C.dispatchers;d.type===za&&A&&!d.notBlur&&sd(w.mainType,w.componentIndex,f._api),T&&E(T,function(D){d.type===za?Un(D):Wn(D)})}else ld(d)&&w instanceof je&&(LV(w,d,f._api),jv(w),pr(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)}},ii={prepareAndUpdate:function(f){ko(this),ii.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),jf(this,d),g.update(d,p),r(d),m.performVisualTasks(d,f),Qf(this,d,p,f,h);var y=d.get("backgroundColor")||"transparent",_=d.get("darkMode");v.setBackgroundColor(y),_!=null&&_!=="auto"&&v.setDarkMode(_),$r.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}),N1(this,d,p,f,{},g),$r.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}),Qf(this,h,this._api,f,{}),$r.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)}),$r.trigger("afterupdate",d,this._api))},updateLayout:function(f){ii.update.call(this,f)}},Xf=function(f,h,d,p){if(f._disposed){or(f.id);return}for(var v=f._model,g=f._coordSysMgr.getCoordinateSystems(),m,y=Ou(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.")},jf=function(f,h){var d=f._chartsMap,p=f._scheduler;h.eachSeries(function(v){p.updateStreamModes(v,d[v.__viewId])})},Kf=function(f,h){var d=this,p=this.getModel(),v=f.type,g=f.escapeConnect,m=lc[v],y=m.actionInfo,_=(y.update||"update").split(":"),b=_.pop(),x=_[0]!=null&&dn(_[0]);this[Pt]=!0;var w=[f],S=!1;f.batch&&(S=!0,w=H(f.batch,function(L){return L=ae($({},L),f),L.batch=null,L}));var C=[],A,T=ld(f),D=Qv(f);if(D&&Qx(this._api),E(w,function(L){if(A=m.action(L,d._model,d._api),A=A||$({},L),A.type=y.event||A.type,C.push(A),D){var N=Q4(f),I=N.queryOptionMap,O=N.mainTypeSpecified,P=O?I.keys()[0]:"series";R1(d,b,L,P),pr(d)}else T?(R1(d,b,L,"series"),pr(d)):x&&R1(d,b,L,x.main,x.sub)}),b!=="none"&&!D&&!T&&!x)try{this[jt]?(ko(this),ii.update.call(this,f),this[jt]=null):ii[b].call(this,f)}catch(L){throw this[Pt]=!1,L}if(S?A={type:y.event||v,escapeConnect:g,batch:C}:A=C[0],this[Pt]=!1,!h){var k=this._messageCenter;if(k.trigger(A.type,A),T){var M={type:"selectchanged",escapeConnect:g,selected:PV(p),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};k.trigger(M.type,M)}}},eu=function(f){for(var h=this._pendingActions;h.length;){var d=h.shift();Kf.call(this,d,f)}},tu=function(f){!f&&this.trigger("updated")},h8=function(f,h){f.on("rendered",function(d){h.trigger("rendered",d),f.animation.isFinished()&&!h[jt]&&!h._scheduler.unfinished&&!h._pendingActions.length&&h.trigger("finished")})},d8=function(f,h){f.on("mouseover",function(d){var p=d.target,v=La(p,Ni);v&&(MV(v,d,h._api),pr(h))}).on("mouseout",function(d){var p=d.target,v=La(p,Ni);v&&(IV(v,d,h._api),pr(h))}).on("click",function(d){var p=d.target,v=La(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;g0(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)})}}Qf=function(f,h,d,p,v){n(h),p8(f,h,d,p,v),E(f._chartsViews,function(g){g.__alive=!1}),N1(f,h,d,p,v),E(f._chartsViews,function(g){g.__alive||g.remove(h,d)})},p8=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)})},N1=function(f,h,d,p,v,g){var m=f._scheduler;v=$(v||{},{updatedSeries:h.getSeries()}),$r.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),jv(_)}),m.unfinished=y||m.unfinished,$r.trigger("series:layoutlabels",h,d,v),$r.trigger("series:transition",h,d,v),h.eachSeries(function(_){var b=f._chartsMap[_.__viewId];s(_,b),c(_,b)}),a(f,h),$r.trigger("series:afterupdate",h,d,v)},pr=function(f){f[qf]=!0,f.getZr().wakeUp()},g8=function(f){f[qf]&&(f.getZr().storage.traverse(function(h){ts(h)||i(h)}),f[qf]=!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===a2&&f.states.emphasis?h.push("emphasis"):f.hoverState===Ll&&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(!ts(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(ts(m))return;if(m instanceof we&&FV(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)}})}v8=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){Un(p,v),pr(f)},d.prototype.leaveEmphasis=function(p,v){Wn(p,v),pr(f)},d.prototype.enterBlur=function(p){Yx(p),pr(f)},d.prototype.leaveBlur=function(p){a5(p),pr(f)},d.prototype.enterSelect=function(p){Xx(p),pr(f)},d.prototype.leaveSelect=function(p){jx(p),pr(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}(Qw))(f)},qS=function(f){function h(d,p){for(var v=0;v<d.length;v++){var g=d[v];g[Zf]=p}}E(Gu,function(d,p){f._messageCenter.on(p,function(v){if(m8[f.group]&&f[Zf]!==f8){if(v&&v.escapeConnect)return;var g=f.makeActionFromEvent(v),m=[];E(Hu,function(y){y!==f&&y.group===f.group&&m.push(y)}),h(m,f8),E(m,function(y){y[Zf]!==TH&&y.dispatchAction(g)}),h(m,DH)}})})}}(),t}(Rr),P5=ZS.prototype;P5.on=$S("on");P5.off=$S("off");P5.one=function(e,t,r){var n=this;Xr("ECharts#one is deprecated.");function i(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];t&&t.apply&&t.apply(this,a),n.off(e,i)}this.on.call(this,e,i,r)};var EH=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function or(e){process.env.NODE_ENV!=="production"&&Qe("Instance "+e+" has been disposed")}var lc={},Gu={},Td=[],Dd=[],cc=[],YS={},Ed={},Hu={},m8={},kH=+new Date-0,R5="_echarts_instance_";function MH(e,t,r){var n=!(r&&r.ssr);if(n){if(process.env.NODE_ENV!=="production"&&!e)throw new Error("Initialize failed: invalid dom.");var i=IH(e);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"&&Za(e)&&e.nodeName.toUpperCase()!=="CANVAS"&&(!e.clientWidth&&(!r||r.width==null)||!e.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 ZS(e,t,r);return a.id="ec_"+kH++,Hu[a.id]=a,n&&Dx(e,R5,a.id),qS(a),$r.trigger("afterinit",a),a}function IH(e){return Hu[CF(e,R5)]}function XS(e,t){YS[e]=t}function jS(e){_e(Dd,e)<0&&Dd.push(e)}function KS(e,t){O5(Td,e,t,yH)}function LH(e){N5("afterinit",e)}function PH(e){N5("afterupdate",e)}function N5(e,t){$r.on(e,t)}function Tn(e,t,r){te(t)&&(r=t,t="");var n=ne(e)?e.type:[e,e={event:t}][0];e.event=(e.event||n).toLowerCase(),t=e.event,!Gu[t]&&(ie(c8.test(n)&&c8.test(t)),lc[n]||(lc[n]={action:r,actionInfo:e}),Gu[t]=n)}function RH(e,t){Ls.register(e,t)}function NH(e,t){O5(cc,e,t,FS,"layout")}function co(e,t){O5(cc,e,t,VS,"visual")}var y8=[];function O5(e,t,r,n,i){if((te(t)||ne(t))&&(r=t,t=n),process.env.NODE_ENV!=="production"){if(isNaN(t)||t==null)throw new Error("Illegal priority");E(e,function(o){ie(o.__raw!==r)})}if(!(_e(y8,r)>=0)){y8.push(r);var a=ES.wrapStageHandler(r,i);a.__prio=t,a.__raw=r,e.push(a)}}function QS(e,t){Ed[e]=t}function OH(e,t,r){var n=dH("registerMap");n&&n(e,t,r)}var BH=W$;co(L5,mG);co(w2,yG);co(w2,_G);co(L5,RG);co(w2,NG);co(zS,cH);jS(eS);KS(gH,A$);QS("default",bG);Tn({type:za,event:za,update:za},at);Tn({type:x0,event:x0,update:x0},at);Tn({type:Bu,event:Bu,update:Bu},at);Tn({type:w0,event:w0,update:w0},at);Tn({type:Fu,event:Fu,update:Fu},at);XS("light",IG);XS("dark",LG);var _8=[],FH={registerPreprocessor:jS,registerProcessor:KS,registerPostInit:LH,registerPostUpdate:PH,registerUpdateLifecycle:N5,registerAction:Tn,registerCoordinateSystem:RH,registerLayout:NH,registerVisual:co,registerTransform:BH,registerLoading:QS,registerMap:OH,registerImpl:hH,PRIORITY:AH,ComponentModel:Ce,ComponentView:et,SeriesModel:je,ChartView:qe,registerComponentModel:function(e){Ce.registerClass(e)},registerComponentView:function(e){et.registerClass(e)},registerSeriesModel:function(e){je.registerClass(e)},registerChartView:function(e){qe.registerClass(e)},registerSubTypeDefaulter:function(e,t){Ce.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){eF(e,t)}};function be(e){if(G(e)){E(e,function(t){be(t)});return}_e(_8,e)>=0||(_8.push(e),te(e)&&(e={install:e}),e.install(FH))}function ru(e){return e==null?0:e.length||1}function b8(e){return e}var VH=function(){function e(t,r,n,i,a,o){this._old=t,this._new=r,this._oldKeyGetter=n||b8,this._newKeyGetter=i||b8,this.context=a,this._diffModeMultiple=o==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,r=this._new,n={},i=new Array(t.length),a=new Array(r.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(r,n,a,"_newKeyGetter");for(var o=0;o<t.length;o++){var s=i[o],u=n[s],l=ru(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)},e.prototype._executeMultiple=function(){var t=this._old,r=this._new,n={},i={},a=[],o=[];this._initIndexMap(t,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=ru(l),h=ru(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)},e.prototype._performRestAdd=function(t,r){for(var n=0;n<t.length;n++){var i=t[n],a=r[i],o=ru(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}},e.prototype._initIndexMap=function(t,r,n,i){for(var a=this._diffModeMultiple,o=0;o<t.length;o++){var s="_ec_"+this[i](t[o],o);if(a||(n[o]=s),!!r){var u=r[s],l=ru(u);l===0?(r[s]=o,a&&n.push(s)):l===1?r[s]=[u,o]:u.push(o)}}},e}();const qn=VH;var zH=function(){function e(t,r){this._encode=t,this._schema=r}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function $H(e,t){var r={},n=r.encode={},i=J(),a=[],o=[],s={};E(e.dimensions,function(h){var d=e.getDimensionInfo(h),p=d.coordDim;if(p){process.env.NODE_ENV!=="production"&&ie(vd.get(p)==null);var v=d.coordDimIndex;Jf(n,p)[v]=h,d.isExtraCoord||(i.set(p,1),GH(d.type)&&(a[0]=h),Jf(s,p)[v]=e.getDimensionIndex(d.name)),d.defaultTooltip&&o.push(h)}vd.each(function(g,m){var y=Jf(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 e.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 zH(s,t),r}function Jf(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function fc(e){return e==="category"?"ordinal":e==="time"?"time":"float"}function GH(e){return!(e==="ordinal"||e==="time")}var HH=function(){function e(t){this.otherDims={},t!=null&&$(this,t)}return e}();const D0=HH;var UH=Ae(),WH={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},JS=function(){function e(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=rC(this.source)))},e.prototype.getSourceDimensionIndex=function(t){return fe(this._dimNameMap.get(t),-1)},e.prototype.getSourceDimension=function(t){var r=this.source.dimensionsDefine;if(r)return r[t]},e.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,r=rS(this.source),n=!nC(t),i="",a=[],o=0,s=0;o<t;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+=WH[l]||"f",c&&(i+=c.uid),i+="$"}var d=this.source,p=[d.seriesLayoutBy,d.startIndex,i].join("$$");return{dimensions:a,hash:p}},e.prototype.makeOutputDimensionNames=function(){for(var t=[],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)}t.push(i)}return t},e.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function eC(e){return e instanceof JS}function tC(e){for(var t=J(),r=0;r<(e||[]).length;r++){var n=e[r],i=ne(n)?n.name:n;i!=null&&t.get(i)==null&&t.set(i,r)}return t}function rC(e){var t=UH(e);return t.dimNameMap||(t.dimNameMap=tC(e.dimensionsDefine))}function nC(e){return e>30}var nu=ne,ai=H,qH=typeof Int32Array>"u"?Array:Int32Array,ZH="e\0\0",x8=-1,YH=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],XH=["_approximateExtent"],w8,O1,iu,Mo,e6,au,t6,jH=function(){function e(t,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;eC(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),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 D0({name:f}):f instanceof D0?f:new D0(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 e.prototype.getDimension=function(t){var r=this._recognizeDimIndex(t);if(r==null)return t;if(r=t,!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},e.prototype.getDimensionIndex=function(t){var r=this._recognizeDimIndex(t);if(r!=null)return r;if(t==null)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},e.prototype._recognizeDimIndex=function(t){if(Me(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},e.prototype._getStoreDimIndex=function(t){var r=this.getDimensionIndex(t);if(process.env.NODE_ENV!=="production"&&r==null)throw new Error("Unknown dimension "+t);return r},e.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},e.prototype._initGetDimensionInfo=function(t){var r=this._dimInfos;this._getDimInfo=t?function(n){return r.hasOwnProperty(n)?r[n]:void 0}:function(n){return r[n]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(t,r){var n=this._dimSummary;if(r==null)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[r]:null},e.prototype.mapDimensionsAll=function(t){var r=this._dimSummary,n=r.encode[t];return(n||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(t,r,n){var i=this,a;if(t instanceof _d&&(a=t),!a){var o=this.dimensions,s=S5(t)||Ft(t)?new nS(t,o.length):t;a=new _d;var u=ai(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=$H(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(t){var r=this._store.appendData(t);this._doInit(r[0],r[1])},e.prototype.appendValues=function(t,r){var n=this._store.appendValues(t,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&&t6(this,s)}},e.prototype._updateOrdinalMeta=function(){for(var t=this._store,r=this.dimensions,n=0;n<r.length;n++){var i=this._dimInfos[r[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==Fn&&!t.fillStorage},e.prototype._doInit=function(t,r){if(!(t>=r)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var a=this._nameList,o=this._idList,s=i.getSource().sourceFormat,u=s===Nr;if(u&&!i.pure)for(var l=[],c=t;c<r;c++){var f=i.getItem(c,l);if(!this.hasItemOption&&fF(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=t;c<r;c++)t6(this,c);w8(this)}},e.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.setApproximateExtent=function(t,r){r=this.getDimension(r),this._approximateExtent[r]=t.slice()},e.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},e.prototype.setCalculationInfo=function(t,r){nu(t)?$(this._calculationInfo,t):this._calculationInfo[t]=r},e.prototype.getName=function(t){var r=this.getRawIndex(t),n=this._nameList[r];return n==null&&this._nameDimIdx!=null&&(n=iu(this,this._nameDimIdx,r)),n==null&&(n=""),n},e.prototype._getCategory=function(t,r){var n=this._store.get(t,r),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},e.prototype.getId=function(t){return O1(this,this.getRawIndex(t))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(t,r){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,r)},e.prototype.getByRawIndex=function(t,r){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,r)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},e.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},e.prototype.getValues=function(t,r){var n=this,i=this._store;return G(t)?i.getValues(ai(t,function(a){return n._getStoreDimIndex(a)}),r):i.getValues(t)},e.prototype.hasValue=function(t){for(var r=this._dimSummary.dataDimIndicesOnCoord,n=0,i=r.length;n<i;n++)if(isNaN(this._store.get(r[n],t)))return!1;return!0},e.prototype.indexOfName=function(t){for(var r=0,n=this._store.count();r<n;r++)if(this.getName(r)===t)return r;return-1},e.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},e.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},e.prototype.rawIndexOf=function(t,r){var n=t&&this._invertedIndicesMap[t];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("Do not supported yet");var i=n&&n[r];return i==null||isNaN(i)?x8:i},e.prototype.indicesOfNearest=function(t,r,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),r,n)},e.prototype.each=function(t,r,n){te(t)&&(n=r,r=t,t=[]);var i=n||this,a=ai(Mo(t),this._getStoreDimIndex,this);this._store.each(a,i?X(r,i):r)},e.prototype.filterSelf=function(t,r,n){te(t)&&(n=r,r=t,t=[]);var i=n||this,a=ai(Mo(t),this._getStoreDimIndex,this);return this._store=this._store.filter(a,i?X(r,i):r),this},e.prototype.selectRange=function(t){var r=this,n={},i=Se(t);return E(i,function(a){var o=r._getStoreDimIndex(a);n[o]=t[a]}),this._store=this._store.selectRange(n),this},e.prototype.mapArray=function(t,r,n){te(t)&&(n=r,r=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(r&&r.apply(this,arguments))},n),i},e.prototype.map=function(t,r,n,i){var a=n||i||this,o=ai(Mo(t),this._getStoreDimIndex,this),s=au(this);return s._store=this._store.map(o,a?X(r,a):r),s},e.prototype.modify=function(t,r,n,i){var a=this,o=n||i||this;process.env.NODE_ENV!=="production"&&E(Mo(t),function(u){var l=a.getDimensionInfo(u);l.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var s=ai(Mo(t),this._getStoreDimIndex,this);this._store.modify(s,o?X(r,o):r)},e.prototype.downSample=function(t,r,n,i){var a=au(this);return a._store=this._store.downSample(this._getStoreDimIndex(t),r,n,i),a},e.prototype.minmaxDownSample=function(t,r){var n=au(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),r),n},e.prototype.lttbDownSample=function(t,r){var n=au(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),r),n},e.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},e.prototype.getItemModel=function(t){var r=this.hostModel,n=this.getRawDataItem(t);return new We(n,r,r&&r.ecModel)},e.prototype.diff=function(t){var r=this;return new qn(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(n){return O1(t,n)},function(n){return O1(r,n)})},e.prototype.getVisual=function(t){var r=this._visual;return r&&r[t]},e.prototype.setVisual=function(t,r){this._visual=this._visual||{},nu(t)?$(this._visual,t):this._visual[t]=r},e.prototype.getItemVisual=function(t,r){var n=this._itemVisuals[t],i=n&&n[r];return i??this.getVisual(r)},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(t,r){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var a=i[r];return a==null&&(a=this.getVisual(r),G(a)?a=a.slice():nu(a)&&(a=$({},a)),i[r]=a),a},e.prototype.setItemVisual=function(t,r,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,nu(r)?$(i,r):i[r]=n},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,r){nu(t)?$(this._layout,t):this._layout[t]=r},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,r,n){this._itemLayouts[t]=n?$(this._itemLayouts[t]||{},r):r},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,r){var n=this.hostModel&&this.hostModel.seriesIndex;ad(n,this.dataType,t,r),this._graphicEls[t]=r},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,r){E(this._graphicEls,function(n,i){n&&t&&t.call(r,n,i)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:ai(this.dimensions,this._getDimInfo,this),this.hostModel)),e6(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,r){var n=this[t];te(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var i=n.apply(this,arguments);return r.apply(this,[i].concat($4(arguments)))})},e.internalField=function(){w8=function(t){var r=t._invertedIndicesMap;E(r,function(n,i){var a=t._dimInfos[i],o=a.ordinalMeta,s=t._store;if(o){n=r[i]=new qH(o.categories.length);for(var u=0;u<n.length;u++)n[u]=x8;for(var u=0;u<s.count();u++)n[s.get(a.storeDimIndex,u)]=u}})},iu=function(t,r,n){return ht(t._getCategory(r,n),null)},O1=function(t,r){var n=t._idList[r];return n==null&&t._idDimIdx!=null&&(n=iu(t,t._idDimIdx,r)),n==null&&(n=ZH+r),n},Mo=function(t){return G(t)||(t=t!=null?[t]:[]),t},au=function(t){var r=new e(t._schema?t._schema:ai(t.dimensions,t._getDimInfo,t),t.hostModel);return e6(r,t),r},e6=function(t,r){E(YH.concat(r.__wrappedMethods||[]),function(n){r.hasOwnProperty(n)&&(t[n]=r[n])}),t.__wrappedMethods=r.__wrappedMethods,E(XH,function(n){t[n]=oe(r[n])}),t._calculationInfo=$({},r._calculationInfo)},t6=function(t,r){var n=t._nameList,i=t._idList,a=t._nameDimIdx,o=t._idDimIdx,s=n[r],u=i[r];if(s==null&&a!=null&&(n[r]=s=iu(t,a,r)),u==null&&o!=null&&(i[r]=u=iu(t,o,r)),u==null&&s!=null){var l=t._nameRepeatCount,c=l[s]=(l[s]||0)+1;u=s,c>1&&(u+="__ec__"+c),i[r]=u}}}(),e}();const Wt=jH;function Bl(e,t){S5(e)||(e=C5(e)),t=t||{};var r=t.coordDimensions||[],n=t.dimensionsDefine||e.dimensionsDefine||[],i=J(),a=[],o=QH(e,r,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&nC(o),u=n===e.dimensionsDefine,l=u?rC(e):tC(n),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,o));for(var f=J(c),h=new fS(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 D0,L=k.name;L!=null&&l.get(L)!=null&&(M.name=M.displayName=L),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=Ve(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,L){var N=Z(M)?l.get(M):M;N!=null&&N<o&&(k[L]=N,g(p(N),T,L))})});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 L=M.ordinalMeta;M.ordinalMeta=null,M=$({},M),M.ordinalMeta=L,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=Ve(N),!N.length)for(var I=0;I<(D&&D.length||1);I++){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){vd.get(T)!=null?A.otherDims[T]=D:(A.coordDim=T,A.coordDimIndex=D,i.set(T,!0))}var m=t.generateCoord,y=t.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=JH(b,i,_),S.coordDimIndex=0,(!m||y<=0)&&(S.isExtraCoord=!0),y--),x(S),S.type==null&&(Zw(e,w)===Ct.Must||S.isExtraCoord&&(S.otherDims.itemName!=null||S.otherDims.seriesName!=null))&&(S.type="ordinal")}return KH(a),new JS({source:e,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function KH(e){for(var t=J(),r=0;r<e.length;r++){var n=e[r],i=n.name,a=t.get(i)||0;a>0&&(n.name=i+(a-1)),a++,t.set(i,a)}}function QH(e,t,r,n){var i=Math.max(e.dimensionsDetectedCount||1,t.length,r.length,n||0);return E(t,function(a){var o;ne(a)&&(o=a.dimsDef)&&(i=Math.max(i,o.length))}),i}function JH(e,t,r){if(r||t.hasKey(e)){for(var n=0;t.hasKey(e+n);)n++;e+=n}return t.set(e,!0),e}var eU=function(){function e(t){this.coordSysDims=[],this.axisMap=J(),this.categoryAxisMap=J(),this.coordSysName=t}return e}();function tU(e){var t=e.get("coordinateSystem"),r=new eU(t),n=rU[t];if(n)return n(e,r,r.axisMap,r.categoryAxisMap),r}var rU={cartesian2d:function(e,t,r,n){var i=e.getReferringComponents("xAxis",lt).models[0],a=e.getReferringComponents("yAxis",lt).models[0];if(process.env.NODE_ENV!=="production"){if(!i)throw new Error('xAxis "'+ut(e.get("xAxisIndex"),e.get("xAxisId"),0)+'" not found');if(!a)throw new Error('yAxis "'+ut(e.get("xAxisIndex"),e.get("yAxisId"),0)+'" not found')}t.coordSysDims=["x","y"],r.set("x",i),r.set("y",a),Io(i)&&(n.set("x",i),t.firstCategoryDimIndex=0),Io(a)&&(n.set("y",a),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,r,n){var i=e.getReferringComponents("singleAxis",lt).models[0];if(process.env.NODE_ENV!=="production"&&!i)throw new Error("singleAxis should be specified.");t.coordSysDims=["single"],r.set("single",i),Io(i)&&(n.set("single",i),t.firstCategoryDimIndex=0)},polar:function(e,t,r,n){var i=e.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")}t.coordSysDims=["radius","angle"],r.set("radius",a),r.set("angle",o),Io(a)&&(n.set("radius",a),t.firstCategoryDimIndex=0),Io(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,r,n){t.coordSysDims=["lng","lat"]},parallel:function(e,t,r,n){var i=e.ecModel,a=i.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=a.dimensions.slice();E(a.parallelAxisIndex,function(s,u){var l=i.getComponent("parallelAxis",s),c=o[u];r.set(c,l),Io(l)&&(n.set(c,l),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=u))})}};function Io(e){return e.get("type")==="category"}function nU(e,t,r){r=r||{};var n=r.byIndex,i=r.stackedCoordDimension,a,o,s;iU(t)?a=t:(o=t.schema,a=o.dimensions,s=t.store);var u=!!(e&&e.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_"+e.id,h="__\0ecstackedover_"+e.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 iU(e){return!eC(e.schema)}function Fi(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function iC(e,t){return Fi(e,t)?e.getCalculationInfo("stackResultDimension"):t}function aU(e,t){var r=e.get("coordinateSystem"),n=Ls.get(r),i;return t&&t.coordSysDims&&(i=H(t.coordSysDims,function(a){var o={name:a},s=t.axisMap.get(a);if(s){var u=s.get("type");o.type=fc(u)}return o})),i||(i=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),i}function oU(e,t,r){var n,i;return r&&E(e,function(a,o){var s=a.coordDim,u=r.categoryAxisMap.get(s);u&&(n==null&&(n=o),a.ordinalMeta=u.getOrdinalMeta(),t&&(a.createInvertedIndices=!0)),a.otherDims.itemName!=null&&(i=!0)}),!i&&n!=null&&(e[n].otherDims.itemName=0),n}function Kn(e,t,r){r=r||{};var n=t.getSourceManager(),i,a=!1;e?(a=!0,i=C5(e)):(i=n.getSource(),a=i.sourceFormat===Nr);var o=tU(t),s=aU(t,o),u=r.useEncodeDefaulter,l=te(u)?u:u?ve(qw,s,t):null,c={coordDimensions:s,generateCoord:r.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:l,canOmitUnusedDimensions:!a},f=Bl(i,c),h=oU(f.dimensions,r.createInvertedIndices,o),d=a?null:n.getSharedDataStore(f),p=nU(t,{schema:f,store:d}),v=new Wt(f,t);v.setCalculationInfo(p);var g=h!=null&&sU(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 sU(e){if(e.sourceFormat===Nr){var t=uU(e.data||[]);return!G(Ss(t))}}function uU(e){for(var t=0;t<e.length&&e[t]==null;)t++;return e[t]}var aC=function(){function e(t){this._setting=t||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(t){return this._setting[t]},e.prototype.unionExtent=function(t){var r=this._extent;t[0]<r[0]&&(r[0]=t[0]),t[1]>r[1]&&(r[1]=t[1])},e.prototype.unionExtentFromData=function(t,r){this.unionExtent(t.getApproximateExtent(r))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,r){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(r)||(n[1]=r)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();t2(aC);const Qn=aC;var lU=0,cU=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++lU}return e.createByAxisModel=function(t){var r=t.option,n=r.data,i=n&&H(n,fU);return new e({categories:i,needCollect:!i,deduplication:r.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var r,n=this._needCollect;if(!Z(t)&&!n)return t;if(n&&!this._deduplication)return r=this.categories.length,this.categories[r]=t,r;var i=this._getOrCreateMap();return r=i.get(t),r==null&&(n?(r=this.categories.length,this.categories[r]=t,i.set(t,r)):r=NaN),r},e.prototype._getOrCreateMap=function(){return this._map||(this._map=J(this.categories))},e}();function fU(e){return ne(e)&&e.value!=null?e.value:e+""}const kd=cU;function hU(e){var t=Math.pow(10,Jc(Math.abs(e))),r=Math.abs(e/t);return r===0||r===1||r===2||r===3||r===5}function Md(e){return e.type==="interval"||e.type==="log"}function dU(e,t,r,n){var i={},a=e[1]-e[0],o=i.interval=_x(a/t,!0);r!=null&&o<r&&(o=i.interval=r),n!=null&&o>n&&(o=i.interval=n);var s=i.intervalPrecision=oC(o),u=i.niceTickExtent=[nt(Math.ceil(e[0]/o)*o,s),nt(Math.floor(e[1]/o)*o,s)];return pU(u,e),i}function r6(e){var t=Math.pow(10,Jc(e)),r=e/t;return r?r===2?r=3:r===3?r=5:r*=2:r=1,nt(r*t)}function oC(e){return hn(e)+2}function S8(e,t,r){e[t]=Math.max(Math.min(e[t],r[1]),r[0])}function pU(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),S8(e,0,t),S8(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function S2(e,t){return e>=t[0]&&e<=t[1]}function C2(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function A2(e,t){return e*(t[1]-t[0])+t[0]}var sC=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new kd({})),G(i)&&(i=new kd({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 t.prototype.parse=function(r){return r==null?NaN:Z(r)?this._ordinalMeta.getOrdinal(r):Math.round(r)},t.prototype.contain=function(r){return r=this.parse(r),S2(r,this._extent)&&this._ordinalMeta.categories[r]!=null},t.prototype.normalize=function(r){return r=this._getTickNumber(this.parse(r)),C2(r,this._extent)},t.prototype.scale=function(r){return r=Math.round(A2(r,this._extent)),this.getRawOrdinalNumber(r)},t.prototype.getTicks=function(){for(var r=[],n=this._extent,i=n[0];i<=n[1];)r.push({value:i}),i++;return r},t.prototype.getMinorTicks=function(r){},t.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}},t.prototype._getTickNumber=function(r){var n=this._ticksByOrdinalNumber;return n&&r>=0&&r<n.length?n[r]:r},t.prototype.getRawOrdinalNumber=function(r){var n=this._ordinalNumbersByTick;return n&&r>=0&&r<n.length?n[r]:r},t.prototype.getLabel=function(r){if(!this.isBlank()){var n=this.getRawOrdinalNumber(r.value),i=this._ordinalMeta.categories[n];return i==null?"":i+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(r,n){this.unionExtent(r.getApproximateExtent(n))},t.prototype.isInExtentRange=function(r){return r=this._getTickNumber(r),this._extent[0]<=r&&this._extent[1]>=r},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Qn);Qn.registerClass(sC);const B5=sC;var ha=nt,uC=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="interval",r._interval=0,r._intervalPrecision=2,r}return t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return S2(r,this._extent)},t.prototype.normalize=function(r){return C2(r,this._extent)},t.prototype.scale=function(r){return A2(r,this._extent)},t.prototype.setExtent=function(r,n){var i=this._extent;isNaN(r)||(i[0]=parseFloat(r)),isNaN(n)||(i[1]=parseFloat(n))},t.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])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(r){this._interval=r,this._niceExtent=this._extent.slice(),this._intervalPrecision=oC(r)},t.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:ha(a[0]-n,o)}):s.push({value:i[0]}));for(var l=a[0];l<=a[1]&&(s.push({value:l}),l=ha(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:ha(c+n,o)}):s.push({value:i[1]})),s},t.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=ha(u.value+(l+1)*h);d>a[0]&&d<a[1]&&c.push(d),l++}i.push(c)}return i},t.prototype.getLabel=function(r,n){if(r==null)return"";var i=n&&n.precision;i==null?i=hn(r.value)||0:i==="auto"&&(i=this._intervalPrecision);var a=ha(r.value,i,!0);return Fw(a)},t.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=dU(a,r,n,i);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},t.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]=ha(Math.floor(n[0]/o)*o)),r.fixMax||(n[1]=ha(Math.ceil(n[1]/o)*o))},t.prototype.setNiceExtent=function(r,n){this._niceExtent=[r,n]},t.type="interval",t}(Qn);Qn.registerClass(uC);const Vi=uC;var lC=typeof Float32Array<"u",vU=lC?Float32Array:Array;function pn(e){return G(e)?lC?new Float32Array(e):e:new vU(e)}var Id="__ec_stack_";function F5(e){return e.get("stack")||Id+e.seriesIndex}function V5(e){return e.dim+e.index}function gU(e){var t=[],r=e.axis,n="axis0";if(r.type==="category"){for(var i=r.getBandWidth(),a=0;a<e.count;a++)t.push(ae({bandWidth:i,axisKey:n,stackId:Id+a},e));for(var o=hC(t),s=[],a=0;a<e.count;a++){var u=o[n][Id+a];u.offsetCenter=u.offset+u.width/2,s.push(u)}return s}}function cC(e,t){var r=[];return t.eachSeriesByType(e,function(n){vC(n)&&r.push(n)}),r}function mU(e){var t={};E(e,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);t[h]?t[h].push(m):t[h]=[m]}});var r={};for(var n in t)if(t.hasOwnProperty(n)){var i=t[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 fC(e){var t=mU(e),r=[];return E(e,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=t[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")||(gC(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:V5(a),stackId:F5(n)})}),hC(r)}function hC(e){var t={};E(e,function(n,i){var a=n.axisKey,o=n.bandWidth,s=t[a]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},u=s.stacks;t[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(t,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 yU(e,t,r){if(e&&t){var n=e[V5(t)];return n!=null&&r!=null?n[F5(r)]:n}}function dC(e,t){var r=cC(e,t),n=fC(r);E(r,function(i){var a=i.getData(),o=i.coordinateSystem,s=o.getBaseAxis(),u=F5(i),l=n[V5(s)][u],c=l.offset,f=l.width;a.setLayout({bandWidth:l.bandWidth,offset:c,size:f})})}function pC(e){return{seriesType:e,plan:Ps(),reset:function(t){if(vC(t)){var r=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),a=n.getOtherAxis(i),o=r.getDimensionIndex(r.mapDimension(a.dim)),s=r.getDimensionIndex(r.mapDimension(i.dim)),u=t.get("showBackground",!0),l=r.mapDimension(a.dim),c=r.getCalculationInfo("stackResultDimension"),f=Fi(r,l)&&!!r.getCalculationInfo("stackedOnSeries"),h=a.isHorizontal(),d=_U(i,a),p=gC(t),v=t.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&&pn(x*3),S=p&&u&&pn(x*3),C=p&&pn(x),A=n.master.getRect(),T=h?A.width:A.height,D,k=b.getStore(),M=0;(D=_.next())!=null;){var L=k.get(f?g:o,D),N=k.get(s,D),I=d,O=void 0;f&&(O=+L-k.get(o,D));var P=void 0,R=void 0,B=void 0,V=void 0;if(h){var z=n.dataToPoint([L,N]);if(f){var U=n.dataToPoint([O,N]);I=U[0]}P=I,R=z[1]+y,B=z[0]-I,V=m,Math.abs(B)<v&&(B=(B<0?-1:1)*v)}else{var z=n.dataToPoint([N,L]);if(f){var U=n.dataToPoint([N,O]);I=U[1]}P=z[0]+y,R=I,B=m,V=z[1]-I,Math.abs(V)<v&&(V=(V<=0?-1:1)*v)}p?(w[M]=P,w[M+1]=R,w[M+2]=h?B:V,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:V}),M+=3}p&&b.setLayout({largePoints:w,largeDataIndices:C,largeBackgroundPoints:S,valueAxisHorizontal:h})}}}}}}function vC(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function gC(e){return e.pipelineContext&&e.pipelineContext.large}function _U(e,t){var r=t.model.get("startValue");return r||(r=0),t.toGlobalCoord(t.dataToCoord(t.type==="log"?r>0?r:1:r))}var bU=function(e,t,r,n){for(;r<n;){var i=r+n>>>1;e[i][1]<t?r=i+1:n=i}return r},mC=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="time",n}return t.prototype.getLabel=function(r){var n=this.getSetting("useUTC");return h2(r.value,d3[zz(ns(this._minLevelUnit))]||d3.second,n,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(r,n,i){var a=this.getSetting("useUTC"),o=this.getSetting("locale");return $z(r,n,i,o,a)},t.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=DU(this._minLevelUnit,this._approxInterval,a,n);return i=i.concat(o),i.push({value:n[1],level:0}),i},t.prototype.calcNiceExtent=function(r){var n=this._extent;if(n[0]===n[1]&&(n[0]-=Dr,n[1]+=Dr),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]-Dr}this.calcNiceTicks(r.splitNumber,r.minInterval,r.maxInterval)},t.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=B1.length,u=Math.min(bU(B1,this._approxInterval,0,s),s-1);this._interval=B1[u][1],this._minLevelUnit=B1[Math.max(u-1,0)][0]},t.prototype.parse=function(r){return Me(r)?r:+bn(r)},t.prototype.contain=function(r){return S2(this.parse(r),this._extent)},t.prototype.normalize=function(r){return C2(this.parse(r),this._extent)},t.prototype.scale=function(r){return A2(r,this._extent)},t.type="time",t}(Vi),B1=[["second",g5],["minute",m5],["hour",zu],["quarter-day",zu*6],["half-day",zu*12],["day",Dr*1.2],["half-week",Dr*3.5],["week",Dr*7],["month",Dr*31],["quarter",Dr*95],["half-year",h3/2],["year",h3]];function xU(e,t,r,n){var i=bn(t),a=bn(r),o=function(p){return p3(i,p,n)===p3(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(e){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 wU(e,t){return e/=Dr,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function SU(e){var t=30*Dr;return e/=t,e>6?6:e>3?3:e>2?2:1}function CU(e){return e/=zu,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function C8(e,t){return e/=t?m5:g5,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function AU(e){return _x(e,!0)}function TU(e,t,r){var n=new Date(e);switch(ns(t)){case"year":case"month":n[Lw(r)](0);case"day":n[Pw(r)](1);case"hour":n[Rw(r)](0);case"minute":n[Nw(r)](0);case"second":n[Ow(r)](0),n[Bw(r)](0)}return n.getTime()}function DU(e,t,r,n){var i=1e4,a=Mw,o=0;function s(T,D,k,M,L,N,I){for(var O=new Date(D),P=D,R=O[M]();P<k&&P<=n[1];)I.push({value:P}),R+=T,O[L](R),P=O.getTime();I.push({value:P,notAdd:!0})}function u(T,D,k){var M=[],L=!D.length;if(!xU(ns(T),n[0],n[1],r)){L&&(D=[{value:TU(new Date(n[0]),T,r)},{value:n[1]}]);for(var N=0;N<D.length-1;N++){var I=D[N].value,O=D[N+1].value;if(I!==O){var P=void 0,R=void 0,B=void 0,V=!1;switch(T){case"year":P=Math.max(1,Math.round(t/Dr/365)),R=y5(r),B=Gz(r);break;case"half-year":case"quarter":case"month":P=SU(t),R=is(r),B=Lw(r);break;case"week":case"half-week":case"day":P=wU(t),R=d2(r),B=Pw(r),V=!0;break;case"half-day":case"quarter-day":case"hour":P=CU(t),R=ul(r),B=Rw(r);break;case"minute":P=C8(t,!0),R=p2(r),B=Nw(r);break;case"second":P=C8(t,!1),R=v2(r),B=Ow(r);break;case"millisecond":P=AU(t),R=g2(r),B=Bw(r);break}s(P,I,O,R,B,V,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=ns(a[d]);if(Vz(a[d])){u(a[d],l[l.length-1]||[],c);var v=a[d+1]?ns(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])/t;if(f>_*1.5&&h>_/1.5||(l.push(g),f>_||e===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}Qn.registerClass(mC);const yC=mC;var A8=Qn.prototype,Uu=Vi.prototype,EU=nt,kU=Math.floor,MU=Math.ceil,F1=Math.pow,Fr=Math.log,z5=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="log",r.base=10,r._originalScale=new Vi,r._interval=0,r}return t.prototype.getTicks=function(r){var n=this._originalScale,i=this._extent,a=n.getExtent(),o=Uu.getTicks.call(this,r);return H(o,function(s){var u=s.value,l=nt(F1(this.base,u));return l=u===i[0]&&this._fixMin?V1(l,a[0]):l,l=u===i[1]&&this._fixMax?V1(l,a[1]):l,{value:l}},this)},t.prototype.setExtent=function(r,n){var i=Fr(this.base);r=Fr(Math.max(0,r))/i,n=Fr(Math.max(0,n))/i,Uu.setExtent.call(this,r,n)},t.prototype.getExtent=function(){var r=this.base,n=A8.getExtent.call(this);n[0]=F1(r,n[0]),n[1]=F1(r,n[1]);var i=this._originalScale,a=i.getExtent();return this._fixMin&&(n[0]=V1(n[0],a[0])),this._fixMax&&(n[1]=V1(n[1],a[1])),n},t.prototype.unionExtent=function(r){this._originalScale.unionExtent(r);var n=this.base;r[0]=Fr(r[0])/Fr(n),r[1]=Fr(r[1])/Fr(n),A8.unionExtent.call(this,r)},t.prototype.unionExtentFromData=function(r,n){this.unionExtent(r.getApproximateExtent(n))},t.prototype.calcNiceTicks=function(r){r=r||10;var n=this._extent,i=n[1]-n[0];if(!(i===1/0||i<=0)){var a=sF(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(MU(n[0]/a)*a),nt(kU(n[1]/a)*a)];this._interval=a,this._niceExtent=s}},t.prototype.calcNiceExtent=function(r){Uu.calcNiceExtent.call(this,r),this._fixMin=r.fixMin,this._fixMax=r.fixMax},t.prototype.parse=function(r){return r},t.prototype.contain=function(r){return r=Fr(r)/Fr(this.base),S2(r,this._extent)},t.prototype.normalize=function(r){return r=Fr(r)/Fr(this.base),C2(r,this._extent)},t.prototype.scale=function(r){return r=A2(r,this._extent),F1(this.base,r)},t.type="log",t}(Qn),_C=z5.prototype;_C.getMinorTicks=Uu.getMinorTicks;_C.getLabel=Uu.getLabel;function V1(e,t){return EU(e,hn(t))}Qn.registerClass(z5);const IU=z5;var LU=function(){function e(t,r,n){this._prepareParams(t,r,n)}return e.prototype._prepareParams=function(t,r,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var i=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.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=z1(t,o({min:n[0],max:n[1]})):o!=="dataMin"&&(this._modelMinNum=z1(t,o));var s=this._modelMaxRaw=r.get("max",!0);if(te(s)?this._modelMaxNum=z1(t,s({min:n[0],max:n[1]})):s!=="dataMax"&&(this._modelMaxNum=z1(t,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=[Yr(l[0],1),Yr(l[1],1)]}},e.prototype.calculate=function(){var t=this._isOrdinal,r=this._dataMin,n=this._dataMax,i=this._axisDataLen,a=this._boundaryGapInner,o=t?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=t?i?0:NaN:r-a[0]*o),u==null&&(u=t?i?i-1:NaN:n+a[1]*o),(s==null||!isFinite(s))&&(s=NaN),(u==null||!isFinite(u))&&(u=NaN);var f=Ya(s)||Ya(u)||t&&!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}},e.prototype.modifyDataMinMax=function(t,r){process.env.NODE_ENV!=="production"&&ie(!this.frozen),this[RU[t]]=r},e.prototype.setDeterminedMinMax=function(t,r){var n=PU[t];process.env.NODE_ENV!=="production"&&ie(!this.frozen&&this[n]==null),this[n]=r},e.prototype.freeze=function(){this.frozen=!0},e}(),PU={min:"_determinedMin",max:"_determinedMax"},RU={min:"_dataMin",max:"_dataMax"};function bC(e,t,r){var n=e.rawExtentInfo;return n||(n=new LU(e,t,r),e.rawExtentInfo=n,n)}function z1(e,t){return t==null?null:Ya(t)?NaN:e.parse(t)}function xC(e,t){var r=e.type,n=bC(e,t,e.getExtent()).calculate();e.setBlank(n.isBlank);var i=n.min,a=n.max,o=t.ecModel;if(o&&r==="time"){var s=cC("bar",o),u=!1;if(E(s,function(f){u=u||f.getBaseAxis()===t.axis}),u){var l=fC(s),c=NU(i,a,t,l);i=c.min,a=c.max}}return{extent:[i,a],fixMin:n.minFixed,fixMax:n.maxFixed}}function NU(e,t,r,n){var i=r.axis.getExtent(),a=Math.abs(i[1]-i[0]),o=yU(n,r.axis);if(o===void 0)return{min:e,max:t};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=t-e,f=1-(s+u)/a,h=c/f-c;return t+=h*(u/l),e-=h*(s/l),{min:e,max:t}}function ds(e,t){var r=t,n=xC(e,r),i=n.extent,a=r.get("splitNumber");e instanceof IU&&(e.base=r.get("logBase"));var o=e.type,s=r.get("interval"),u=o==="interval"||o==="time";e.setExtent(i[0],i[1]),e.calcNiceExtent({splitNumber:a,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:u?r.get("minInterval"):null,maxInterval:u?r.get("maxInterval"):null}),s!=null&&e.setInterval&&e.setInterval(s)}function T2(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new B5({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new yC({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Qn.getClass(t)||Vi)}}function OU(e){var t=e.scale.getExtent(),r=t[0],n=t[1];return!(r>0&&n>0||r<0&&n<0)}function Os(e){var t=e.getLabelModel().get("formatter"),r=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(n){return function(i,a){return e.scale.getFormattedLabel(i,a,n)}}(t):Z(t)?function(n){return function(i){var a=e.scale.getLabel(i),o=n.replace("{value}",a??"");return o}}(t):te(t)?function(n){return function(i,a){return r!=null&&(a=i.value-r),n($5(e,i),a,i.level!=null?{level:i.level}:null)}}(t):function(n){return e.scale.getLabel(n)}}function $5(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function BU(e){var t=e.model,r=e.scale;if(!(!t.get(["axisLabel","show"])||r.isBlank())){var n,i,a=r.getExtent();r instanceof B5?i=r.count():(n=r.getTicks(),i=n.length);var o=e.getLabelModel(),s=Os(e),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=FU(d,o.get("rotate")||0);u?u.union(p):u=p}return u}}function FU(e,t){var r=t*Math.PI/180,n=e.width,i=e.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(e.x,e.y,a,o);return s}function G5(e){var t=e.get("interval");return t??"auto"}function wC(e){return e.type==="category"&&G5(e.getLabelModel())===0}function hc(e,t){var r={};return E(e.mapDimensionsAll(t),function(n){r[iC(e,n)]=!0}),Se(r)}function VU(e,t,r){t&&E(hc(t,r),function(n){var i=t.getApproximateExtent(n);i[0]<e[0]&&(e[0]=i[0]),i[1]>e[1]&&(e[1]=i[1])})}var Fl=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),zU=1e-8;function T8(e,t){return Math.abs(e-t)<zU}function Sa(e,t,r){var n=0,i=e[0];if(!i)return!1;for(var a=1;a<e.length;a++){var o=e[a];n+=Ln(i[0],i[1],o[0],o[1],t,r),i=o}var s=e[0];return(!T8(i[0],s[0])||!T8(i[1],s[1]))&&(n+=Ln(i[0],i[1],s[0],s[1],t,r)),n!==0}var $U=[];function n6(e,t){for(var r=0;r<e.length;r++)At(e[r],e[r],t)}function D8(e,t,r,n){for(var i=0;i<e.length;i++){var a=e[i];n&&(a=n.project(a)),a&&isFinite(a[0])&&isFinite(a[1])&&(bi(t,t,a),xi(r,r,a))}}function GU(e){for(var t=0,r=0,n=0,i=e.length,a=e[i-1][0],o=e[i-1][1],s=0;s<i;s++){var u=e[s][0],l=e[s][1],c=a*l-u*o;t+=c,r+=(a+u)*c,n+=(o+l)*c,a=u,o=l}return t?[r/t/3,n/t/3,t]:[e[0][0]||0,e[0][1]||0]}var SC=function(){function e(t){this.name=t}return e.prototype.setCenter=function(t){this._center=t},e.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},e}(),E8=function(){function e(t,r){this.type="polygon",this.exterior=t,this.interiors=r}return e}(),k8=function(){function e(t){this.type="linestring",this.points=t}return e}(),CC=function(e){F(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.type="geoJSON",a.geometries=n,a._center=i&&[i[0],i[1]],a}return t.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 GU(n.exterior);var l=this.getBoundingRect();return[l.x+l.width/2,l.y+l.height/2]},t.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"?D8(s.exterior,i,a,r):E(s.points,function(u){D8(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},t.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(Sa(u,r[0],r[1])){for(var c=0;c<(l?l.length:0);c++)if(Sa(l[c],r[0],r[1]))continue e;return!0}}}return!1},t.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"?(n6(h.exterior,l),E(h.interiors,function(d){n6(d,l)})):E(h.points,function(d){n6(d,l)})}o=this._rect,o.copy(u),this._center=[o.x+o.width/2,o.y+o.height/2]},t.prototype.cloneShallow=function(r){r==null&&(r=this.name);var n=new t(r,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(SC),HU=function(e){F(t,e);function t(r,n){var i=e.call(this,r)||this;return i.type="geoSVG",i._elOnlyForCalculate=n,i}return t.prototype.calcCenter=function(){for(var r=this._elOnlyForCalculate,n=r.getBoundingRect(),i=[n.x+n.width/2,n.y+n.height/2],a=jc($U),o=r;o&&!o.isGeoSVGGraphicRoot;)On(a,o.getLocalTransform(),a),o=o.parent;return ws(a,a),At(i,i,a),i},t}(SC);function UU(e){if(!e.UTF8Encoding)return e;var t=e,r=t.UTF8Scale;r==null&&(r=1024);var n=t.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=AC(s,o,r);break;case"Polygon":i6(s,o,r);break;case"MultiLineString":i6(s,o,r);break;case"MultiPolygon":E(s,function(u,l){return i6(u,o[l],r)})}}),t.UTF8Encoding=!1,t}function i6(e,t,r){for(var n=0;n<e.length;n++)e[n]=AC(e[n],t[n],r)}function AC(e,t,r){for(var n=[],i=t[0],a=t[1],o=0;o<e.length;o+=2){var s=e.charCodeAt(o)-64,u=e.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 WU(e,t){return e=UU(e),H(Ne(e.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 E8(o[0],o.slice(1)));break;case"MultiPolygon":E(i.coordinates,function(u){u[0]&&a.push(new E8(u[0],u.slice(1)))});break;case"LineString":a.push(new k8([i.coordinates]));break;case"MultiLineString":a.push(new k8(i.coordinates))}var s=new CC(n[t||"name"],a,n.cp);return s.properties=n,s})}var pl=Ae();function TC(e,t){var r=H(t,function(n){return e.scale.parse(n)});return e.type==="time"&&r.length>0&&(r.sort(),r.unshift(r[0]),r.push(r[r.length-1])),r}function qU(e){var t=e.getLabelModel().get("customValues");if(t){var r=Os(e),n=e.scale.getExtent(),i=TC(e,t),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:e.scale.getLabel(s),tickValue:o}})}}return e.type==="category"?YU(e):jU(e)}function ZU(e,t){var r=e.getTickModel().get("customValues");if(r){var n=e.scale.getExtent(),i=TC(e,r);return{ticks:Ne(i,function(a){return a>=n[0]&&a<=n[1]})}}return e.type==="category"?XU(e,t):{ticks:H(e.scale.getTicks(),function(a){return a.value})}}function YU(e){var t=e.getLabelModel(),r=DC(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:r.labelCategoryInterval}:r}function DC(e,t){var r=EC(e,"labels"),n=G5(t),i=kC(r,n);if(i)return i;var a,o;return te(n)?a=LC(e,n):(o=n==="auto"?KU(e):n,a=IC(e,o)),MC(r,n,{labels:a,labelCategoryInterval:o})}function XU(e,t){var r=EC(e,"ticks"),n=G5(t),i=kC(r,n);if(i)return i;var a,o;if((!t.get("show")||e.scale.isBlank())&&(a=[]),te(n))a=LC(e,n,!0);else if(n==="auto"){var s=DC(e,e.getLabelModel());o=s.labelCategoryInterval,a=H(s.labels,function(u){return u.tickValue})}else o=n,a=IC(e,o,!0);return MC(r,n,{ticks:a,tickCategoryInterval:o})}function jU(e){var t=e.scale.getTicks(),r=Os(e);return{labels:H(t,function(n,i){return{level:n.level,formattedLabel:r(n,i),rawLabel:e.scale.getLabel(n),tickValue:n.value}})}}function EC(e,t){return pl(e)[t]||(pl(e)[t]=[])}function kC(e,t){for(var r=0;r<e.length;r++)if(e[r].key===t)return e[r].value}function MC(e,t,r){return e.push({key:t,value:r}),r}function KU(e){var t=pl(e).autoInterval;return t??(pl(e).autoInterval=e.calculateCategoryInterval())}function QU(e){var t=JU(e),r=Os(e),n=(t.axisRotate-t.labelRotate)/180*Math.PI,i=e.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=e.dataToCoord(u+1)-e.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=Ml(r({value:u}),t.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=pl(e.model),x=e.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 JU(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function IC(e,t,r){var n=Os(e),i=e.scale,a=i.getExtent(),o=e.getLabelModel(),s=[],u=Math.max((t||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=wC(e),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 LC(e,t,r){var n=e.scale,i=Os(e),a=[];return E(n.getTicks(),function(o){var s=n.getLabel(o),u=o.value;t(o.value,s)&&a.push(r?u:{formattedLabel:i(o),rawLabel:s,tickValue:u})}),a}var M8=[0,1],eW=function(){function e(t,r,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=r,this._extent=n||[0,0]}return e.prototype.contain=function(t){var r=this._extent,n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return t>=n&&t<=i},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return mx(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,r){var n=this._extent;n[0]=t,n[1]=r},e.prototype.dataToCoord=function(t,r){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&i.type==="ordinal"&&(n=n.slice(),I8(n,i.count())),Be(t,M8,n,r)},e.prototype.coordToData=function(t,r){var n=this._extent,i=this.scale;this.onBand&&i.type==="ordinal"&&(n=n.slice(),I8(n,i.count()));var a=Be(t,n,M8,r);return this.scale.scale(a)},e.prototype.pointToData=function(t,r){},e.prototype.getTicksCoords=function(t){t=t||{};var r=t.tickModel||this.getTickModel(),n=ZU(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 tW(this,a,o,t.clamp),a},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),r=t.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},e.prototype.getViewLabels=function(){return qU(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,r=this.scale.getExtent(),n=r[1]-r[0]+(this.onBand?1:0);n===0&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},e.prototype.calculateCategoryInterval=function(){return QU(this)},e}();function I8(e,t){var r=e[1]-e[0],n=t,i=r/n/2;e[0]+=i,e[1]-=i}function tW(e,t,r,n){var i=t.length;if(!e.onBand||r||!i)return;var a=e.getExtent(),o,s;if(i===1)t[0].coord=a[0],o=t[1]={coord:a[1],tickValue:t[0].tickValue};else{var u=t[i-1].tickValue-t[0].tickValue,l=(t[i-1].coord-t[0].coord)/u;E(t,function(d){d.coord-=l/2});var c=e.scale.getExtent();s=1+c[1]-t[i-1].tickValue,o={coord:t[i-1].coord+l*s,tickValue:c[1]+1},t.push(o)}var f=a[0]>a[1];h(t[0].coord,a[0])&&(n?t[0].coord=a[0]:t.shift()),n&&h(a[0],t[0].coord)&&t.unshift({coord:a[0]}),h(a[1],o.coord)&&(n?o.coord=a[1]:t.pop()),n&&h(o.coord,a[1])&&t.push({coord:a[1]});function h(d,p){return d=nt(d),p=nt(p),f?d>p:d<p}}const Qr=eW;var ou=Math.PI*2,da=xn.CMD,rW=["top","right","bottom","left"];function nW(e,t,r,n,i){var a=r.width,o=r.height;switch(e){case"top":n.set(r.x+a/2,r.y-t),i.set(0,-1);break;case"bottom":n.set(r.x+a/2,r.y+o+t),i.set(0,1);break;case"left":n.set(r.x-t,r.y+o/2),i.set(-1,0);break;case"right":n.set(r.x+a+t,r.y+o/2),i.set(1,0);break}}function iW(e,t,r,n,i,a,o,s,u){o-=e,s-=t;var l=Math.sqrt(o*o+s*s);o/=l,s/=l;var c=o*r+e,f=s*r+t;if(Math.abs(n-i)%ou<1e-4)return u[0]=c,u[1]=f,l-r;if(a){var h=n;n=ur(i),i=ur(h)}else n=ur(n),i=ur(i);n>i&&(i+=ou);var d=Math.atan2(s,o);if(d<0&&(d+=ou),d>=n&&d<=i||d+ou>=n&&d+ou<=i)return u[0]=c,u[1]=f,l-r;var p=r*Math.cos(n)+e,v=r*Math.sin(n)+t,g=r*Math.cos(i)+e,m=r*Math.sin(i)+t,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 dc(e,t,r,n,i,a,o,s){var u=i-e,l=a-t,c=r-e,f=n-t,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]=e+p*c,g=o[1]=t+p*f;return Math.sqrt((v-i)*(v-i)+(g-a)*(g-a))}function PC(e,t,r,n,i,a,o){r<0&&(e=e+r,r=-r),n<0&&(t=t+n,n=-n);var s=e+r,u=t+n,l=o[0]=Math.min(Math.max(i,e),s),c=o[1]=Math.min(Math.max(a,t),u);return Math.sqrt((l-i)*(l-i)+(c-a)*(c-a))}var Gr=[];function aW(e,t,r){var n=PC(t.x,t.y,t.width,t.height,e.x,e.y,Gr);return r.set(Gr[0],Gr[1]),n}function oW(e,t,r){for(var n=0,i=0,a=0,o=0,s,u,l=1/0,c=t.data,f=e.x,h=e.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 da.M:a=c[d++],o=c[d++],n=a,i=o;break;case da.L:v=dc(n,i,c[d],c[d+1],f,h,Gr,!0),n=c[d++],i=c[d++];break;case da.C:v=Kb(n,i,c[d++],c[d++],c[d++],c[d++],c[d],c[d+1],f,h,Gr),n=c[d++],i=c[d++];break;case da.Q:v=Jb(n,i,c[d++],c[d++],c[d],c[d+1],f,h,Gr),n=c[d++],i=c[d++];break;case da.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=iW(g,m,_,b,b+x,w,S,h,Gr),n=Math.cos(b+x)*y+g,i=Math.sin(b+x)*_+m;break;case da.R:a=n=c[d++],o=i=c[d++];var C=c[d++],A=c[d++];v=PC(a,o,C,A,f,h,Gr);break;case da.Z:v=dc(n,i,a,o,f,h,Gr,!0),n=a,i=o;break}v<l&&(l=v,r.set(Gr[0],Gr[1]))}return l}var Ur=new me,He=new me,it=new me,vn=new me,ln=new me;function L8(e,t){if(e){var r=e.getTextGuideLine(),n=e.getTextContent();if(n&&r){var i=e.textGuideLineConfig||{},a=[[0,0],[0,0],[0,0]],o=i.candidates||rW,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var u=1/0,l=i.anchor,c=e.getComputedTransform(),f=c&&ws([],c),h=t.get("length2")||0;l&&it.copy(l);for(var d=0;d<o.length;d++){var p=o[d];nW(p,0,s,Ur,vn),me.scaleAndAdd(He,Ur,vn,h),He.transform(f);var v=e.getBoundingRect(),g=l?l.distance(He):e instanceof we?oW(He,e.path,it):aW(He,v,it);g<u&&(u=g,He.transform(c),it.transform(c),it.toArray(a[0]),He.toArray(a[1]),Ur.toArray(a[2]))}RC(a,t.get("minTurnAngle")),r.setShape({points:a})}}}var pc=[],Ht=new me;function RC(e,t){if(t<=180&&t>0){t=t/180*Math.PI,Ur.fromArray(e[0]),He.fromArray(e[1]),it.fromArray(e[2]),me.sub(vn,Ur,He),me.sub(ln,it,He);var r=vn.len(),n=ln.len();if(!(r<.001||n<.001)){vn.scale(1/r),ln.scale(1/n);var i=vn.dot(ln),a=Math.cos(t);if(a<i){var o=dc(He.x,He.y,it.x,it.y,Ur.x,Ur.y,pc,!1);Ht.fromArray(pc),Ht.scaleAndAdd(ln,o/Math.tan(Math.PI-t));var s=it.x!==He.x?(Ht.x-He.x)/(it.x-He.x):(Ht.y-He.y)/(it.y-He.y);if(isNaN(s))return;s<0?me.copy(Ht,He):s>1&&me.copy(Ht,it),Ht.toArray(e[1])}}}}function sW(e,t,r){if(r<=180&&r>0){r=r/180*Math.PI,Ur.fromArray(e[0]),He.fromArray(e[1]),it.fromArray(e[2]),me.sub(vn,He,Ur),me.sub(ln,it,He);var n=vn.len(),i=ln.len();if(!(n<.001||i<.001)){vn.scale(1/n),ln.scale(1/i);var a=vn.dot(t),o=Math.cos(r);if(a<o){var s=dc(He.x,He.y,it.x,it.y,Ur.x,Ur.y,pc,!1);Ht.fromArray(pc);var u=Math.PI/2,l=Math.acos(ln.dot(t)),c=u+l-r;if(c>=u)me.copy(Ht,it);else{Ht.scaleAndAdd(ln,s/Math.tan(Math.PI/2-c));var f=it.x!==He.x?(Ht.x-He.x)/(it.x-He.x):(Ht.y-He.y)/(it.y-He.y);if(isNaN(f))return;f<0?me.copy(Ht,He):f>1&&me.copy(Ht,it)}Ht.toArray(e[1])}}}}function a6(e,t,r,n){var i=r==="normal",a=i?e:e.ensureState(r);a.ignore=t;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?e.useStyle(s):a.style=s}function uW(e,t){var r=t.smooth,n=t.points;if(n)if(e.moveTo(n[0][0],n[0][1]),r>0&&n.length>=3){var i=_i(n[0],n[1]),a=_i(n[1],n[2]);if(!i||!a){e.lineTo(n[1][0],n[1][1]),e.lineTo(n[2][0],n[2][1]);return}var o=Math.min(i,a)*r,s=v0([],n[1],n[0],o/i),u=v0([],n[1],n[2],o/a),l=v0([],s,u,.5);e.bezierCurveTo(s[0],s[1],s[0],s[1],l[0],l[1]),e.bezierCurveTo(u[0],u[1],u[0],u[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)e.lineTo(n[c][0],n[c][1])}function H5(e,t,r){var n=e.getTextGuideLine(),i=e.getTextContent();if(!i){n&&e.removeTextGuideLine();return}for(var a=t.normal,o=a.get("show"),s=i.ignore,u=0;u<ol.length;u++){var l=ol[u],c=t[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&&a6(n,!0,l,c);continue}n||(n=new ir,e.setTextGuideLine(n),!f&&(s||!o)&&a6(n,!0,"normal",t.normal),e.stateProxy&&(n.stateProxy=e.stateProxy)),a6(n,!1,l,c)}}if(n){ae(n.style,r),n.style.fill=null;var v=a.get("showAbove"),g=e.textGuideLineConfig=e.textGuideLineConfig||{};g.showAbove=v||!1,n.buildPath=uW}}function U5(e,t){t=t||"labelLine";for(var r={normal:e.getModel(t)},n=0;n<Yt.length;n++){var i=Yt[n];r[i]=e.getModel([i,t])}return r}function NC(e){for(var t=[],r=0;r<e.length;r++){var n=e[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 j0(o,a):null;t.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 t}function OC(e,t,r,n,i,a){var o=e.length;if(o<2)return;e.sort(function(C,A){return C.rect[t]-A.rect[t]});for(var s=0,u,l=!1,c=0,f=0;f<o;f++){var h=e[f],d=h.rect;u=d[t]-s,u<0&&(d[t]-=u,h.label[t]-=u,l=!0);var p=Math.max(-u,0);c+=p,s=d[t]+d[r]}c>0&&a&&x(-c/o,0,o);var v=e[0],g=e[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[t]-n,y=i-g.rect[t]-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=e[D],M=k.rect;M[t]+=C,k.label[t]+=C}}function w(C,A){for(var T=[],D=0,k=1;k<o;k++){var M=e[k-1].rect,L=Math.max(e[k].rect[t]-M[t]-M[r],0);T.push(L),D+=L}if(D){var N=Math.min(Math.abs(C)/D,A);if(C>0)for(var k=0;k<o-1;k++){var I=T[k]*N;x(I,0,k+1)}else for(var k=o-1;k>0;k--){var I=T[k-1]*N;x(-I,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 lW(e,t,r,n){return OC(e,"x","width",t,r,n)}function BC(e,t,r,n){return OC(e,"y","height",t,r,n)}function FC(e){var t=[];e.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<e.length;i++){var a=e[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<t.length;d++){var p=t[d];if(r.intersect(p.rect)){if(o&&p.axisAligned){h=!0;break}if(p.obb||(p.obb=new j0(p.localRect,p.transform)),f||(f=new j0(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),t.push(a))}}function cW(e){if(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].slice());return t}}function fW(e,t){var r=e.label,n=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:r.style.align,verticalAlign:r.style.verticalAlign,labelLinePoints:cW(n&&n.shape.points)}}var P8=["align","verticalAlign","width","height","fontSize"],zt=new Pn,o6=Ae(),hW=Ae();function $1(e,t,r){for(var n=0;n<r.length;n++){var i=r[n];t[i]!=null&&(e[i]=t[i])}}var G1=["x","y","rotation"],dW=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(t,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?zt.setLocalTransform(l):(zt.x=zt.y=zt.rotation=zt.originX=zt.originY=0,zt.scaleX=zt.scaleY=1),zt.rotation=ur(zt.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:t,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:zt.x,y:zt.y,scaleX:zt.scaleX,scaleY:zt.scaleY,rotation:zt.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}})},e.prototype.addLabelsOfSeries=function(t){var r=this;this._chartViewList.push(t);var n=t.__model,i=n.get("labelLayout");(te(i)||Se(i).length)&&t.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)})},e.prototype.updateLayoutConfig=function(t){var r=t.getWidth(),n=t.getHeight();function i(_,b){return function(){L8(_,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(fW(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=o6(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<P8.length;v++){var g=P8[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}},e.prototype.layout=function(t){var r=t.getWidth(),n=t.getHeight(),i=NC(this._labelList),a=Ne(i,function(u){return u.layoutOption.moveOverlap==="shiftX"}),o=Ne(i,function(u){return u.layoutOption.moveOverlap==="shiftY"});lW(a,0,r),BC(o,0,n);var s=Ne(i,function(u){return u.layoutOption.hideOverlap});FC(s)},e.prototype.processLabelsOverall=function(){var t=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=o6(u).needsUpdateLabelLine),s&&t._updateLabelLine(o,n),a&&t._animateLabels(o,n)})})},e.prototype._updateLabelLine=function(t,r){var n=t.getTextContent(),i=ce(t),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");H5(t,U5(s),u),L8(t,f)}},e.prototype._animateLabels=function(t,r){var n=t.getTextContent(),i=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!ts(t))){var a=o6(n),o=a.oldLayout,s=ce(t),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=t.prevStates;h&&(_e(h,"select")>=0&&n.attr(a.oldLayoutSelect),_e(h,"emphasis")>=0&&n.attr(a.oldLayoutEmphasis)),Le(n,l,r,u)}else if(n.attr(l),!Ts(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={};$1(d,l,G1),$1(d,n.states.select,G1)}if(n.states.emphasis){var p=a.oldLayoutEmphasis={};$1(p,l,G1),$1(p,n.states.emphasis,G1)}Aw(n,u,c,r,r)}if(i&&!i.ignore&&!i.invisible){var a=hW(i),o=a.oldLayout,v={points:i.shape.points};o?(i.attr({shape:o}),Le(i,{shape:v},r)):(i.setShape(v),i.style.strokePercent=0,Ye(i,{style:{strokePercent:1}},r)),a.oldLayout=v}},e}();const pW=dW;var s6=Ae();function vW(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,r,n){var i=s6(r).labelManager;i||(i=s6(r).labelManager=new pW),i.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,r,n){var i=s6(r).labelManager;n.updatedSeries.forEach(function(a){i.addLabelsOfSeries(r.getViewOfSeriesModel(a))}),i.updateLayoutConfig(r),i.layout(r),i.processLabelsOverall()})}var u6=Math.sin,l6=Math.cos,VC=Math.PI,pa=Math.PI*2,gW=180/VC,mW=function(){function e(){}return e.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},e.prototype.moveTo=function(t,r){this._add("M",t,r)},e.prototype.lineTo=function(t,r){this._add("L",t,r)},e.prototype.bezierCurveTo=function(t,r,n,i,a,o){this._add("C",t,r,n,i,a,o)},e.prototype.quadraticCurveTo=function(t,r,n,i){this._add("Q",t,r,n,i)},e.prototype.arc=function(t,r,n,i,a,o){this.ellipse(t,r,n,n,0,i,a,o)},e.prototype.ellipse=function(t,r,n,i,a,o,s,u){var l=s-o,c=!u,f=Math.abs(l),h=Ci(f-pa)||(c?l>=pa:-l>=pa),d=l>0?l%pa:l%pa+pa,p=!1;h?p=!0:Ci(f)?p=!1:p=d>=VC==!!c;var v=t+n*l6(o),g=r+i*u6(o);this._start&&this._add("M",v,g);var m=Math.round(a*gW);if(h){var y=1/this._p,_=(c?1:-1)*(pa-y);this._add("A",n,i,m,1,+c,t+n*l6(o+_),r+i*u6(o+_)),y>.01&&this._add("A",n,i,m,0,+c,v,g)}else{var b=t+n*l6(s),x=r+i*u6(s);this._add("A",n,i,m,+p,+c,b,x)}},e.prototype.rect=function(t,r,n,i){this._add("M",t,r),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,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(t+c.join(" ")),this._start=t==="Z"},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}();const zC=mW;var Wu="none",yW=Math.round;function _W(e){var t=e.fill;return t!=null&&t!==Wu}function bW(e){var t=e.stroke;return t!=null&&t!==Wu}var Ld=["lineCap","miterLimit","lineJoin"],xW=H(Ld,function(e){return"stroke-"+e.toLowerCase()});function wW(e,t,r,n){var i=t.opacity==null?1:t.opacity;if(r instanceof Mt){e("opacity",i);return}if(_W(t)){var a=nl(t.fill);e("fill",a.color);var o=t.fillOpacity!=null?t.fillOpacity*a.opacity*i:a.opacity*i;(n||o<1)&&e("fill-opacity",o)}else e("fill",Wu);if(bW(t)){var s=nl(t.stroke);e("stroke",s.color);var u=t.strokeNoScale?r.getLineScale():1,l=u?(t.lineWidth||0)/u:0,c=t.strokeOpacity!=null?t.strokeOpacity*s.opacity*i:s.opacity*i,f=t.strokeFirst;if((n||l!==1)&&e("stroke-width",l),(n||f)&&e("paint-order",f?"stroke":"fill"),(n||c<1)&&e("stroke-opacity",c),t.lineDash){var h=I5(r),d=h[0],p=h[1];d&&(p=yW(p||0),e("stroke-dasharray",d.join(",")),(p||n)&&e("stroke-dashoffset",p))}else n&&e("stroke-dasharray",Wu);for(var v=0;v<Ld.length;v++){var g=Ld[v];if(n||t[g]!==Y0[g]){var m=t[g]||Y0[g];m&&e(xW[v],m)}}}else n&&e("stroke",Wu)}var $C="http://www.w3.org/2000/svg",GC="http://www.w3.org/1999/xlink",SW="http://www.w3.org/2000/xmlns/",CW="http://www.w3.org/XML/1998/namespace",R8="ecmeta_";function HC(e){return document.createElementNS($C,e)}function vt(e,t,r,n,i){return{tag:e,attrs:r||{},children:n,text:i,key:t}}function AW(e,t){var r=[];if(t)for(var n in t){var i=t[n],a=n;i!==!1&&(i!==!0&&i!=null&&(a+='="'+i+'"'),r.push(a))}return"<"+e+" "+r.join(" ")+">"}function TW(e){return"</"+e+">"}function W5(e,t){t=t||{};var r=t.newline?`
|
|
92
|
+
`:"";function n(i){var a=i.children,o=i.tag,s=i.attrs,u=i.text;return AW(o,s)+(o!=="style"?Ot(u):u||"")+(a?""+r+H(a,function(l){return n(l)}).join(r)+r:"")+TW(o)}return n(e)}function DW(e,t,r){r=r||{};var n=r.newline?`
|
|
93
|
+
`:"",i=" {"+n,a=n+"}",o=H(Se(e),function(u){return u+i+H(Se(e[u]),function(l){return l+":"+e[u][l]+";"}).join(n)+a}).join(n),s=H(Se(t),function(u){return"@keyframes "+u+i+H(Se(t[u]),function(l){return l+i+H(Se(t[u][l]),function(c){var f=t[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 Pd(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function N8(e,t,r,n){return vt("svg","root",{width:e,height:t,xmlns:$C,"xmlns:xlink":GC,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+e+" "+t:!1},r)}var EW=0;function UC(){return EW++}var O8={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"},ma="transform-origin";function kW(e,t,r){var n=$({},e.shape);$(n,t),e.buildPath(r,n);var i=new zC;return i.reset(ox(e)),r.rebuildPath(i,1),i.generateStr(),i.getStr()}function MW(e,t){var r=t.originX,n=t.originY;(r||n)&&(e[ma]=r+"px "+n+"px")}var IW={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function WC(e,t){var r=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[r]=e,r}function LW(e,t,r){var n=e.shape.paths,i={},a,o;if(E(n,function(u){var l=Pd(r.zrId);l.animation=!0,D2(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){t.d=!1;var s=WC(i,r);return a.replace(o,s)}}function B8(e){return Z(e)?O8[e]?"cubic-bezier("+O8[e]+")":q4(e)?e:"":""}function D2(e,t,r,n){var i=e.animators,a=i.length,o=[];if(e instanceof c5){var s=LW(e,t,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=B8(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=B8(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 L={};fx(L,e),$(L,x[M]);var N=sx(L),I=x[M][C];S[M]=N?{transform:N}:{},MW(S[M],L),I&&(S[M][C]=I)}var O,P=!0;for(var M in w){S[M]=S[M]||{};var R=!O,I=w[M][C];R&&(O=new xn);var B=O.len();O.reset(),S[M].d=kW(e,w[M],O);var V=O.len();if(!R&&B!==V){P=!1;break}I&&(S[M][C]=I)}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 IW[Q]})}for(var z=Se(S),U=!0,q,T=1;T<z.length;T++){var K=z[T-1],xe=z[T];if(S[K][ma]!==S[xe][ma]){U=!1;break}q=S[K][ma]}if(U&&q){for(var M in S)S[M][ma]&&delete S[M][ma];t[ma]=q}if(Ne(z,function(ue){return Se(S[ue]).length>0}).length){var ze=WC(S,r);return ze+" "+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-"+UC();r.cssNodes["."+m]={animation:o.join(",")},t.class=m}}function PW(e,t,r){if(!e.ignore)if(e.isSilent()){var n={"pointer-events":"none"};F8(n,t,r,!0)}else{var i=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},a=i.fill;if(!a){var o=e.style&&e.style.fill,s=e.states.select&&e.states.select.style&&e.states.select.style.fill,u=e.currentStates.indexOf("select")>=0&&s||o;u&&(a=Hh(u))}var l=i.lineWidth;if(l){var c=!i.strokeNoScale&&e.transform?e.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),F8(n,t,r,!0)}}function F8(e,t,r,n){var i=JSON.stringify(e),a=r.cssStyleCache[i];a||(a=r.zrId+"-cls-"+UC(),r.cssStyleCache[i]=a,r.cssNodes["."+a+(n?":hover":"")]=e),t.class=t.class?t.class+" "+a:a}var vl=Math.round;function qC(e){return e&&Z(e.src)}function ZC(e){return e&&te(e.toDataURL)}function q5(e,t,r,n){wW(function(i,a){var o=i==="fill"||i==="stroke";o&&ax(a)?XC(t,e,i,n):o&&Z4(a)?jC(r,e,i,n):e[i]=a,o&&n.ssr&&a==="none"&&(e["pointer-events"]="visible")},t,r,!1),zW(r,e,n)}function Z5(e,t){var r=tF(t);r&&(r.each(function(n,i){n!=null&&(e[(R8+i).toLowerCase()]=n+"")}),t.isSilent()&&(e[R8+"silent"]="true"))}function V8(e){return Ci(e[0]-1)&&Ci(e[1])&&Ci(e[2])&&Ci(e[3]-1)}function RW(e){return Ci(e[4])&&Ci(e[5])}function Y5(e,t,r){if(t&&!(RW(t)&&V8(t))){var n=r?10:1e4;e.transform=V8(t)?"translate("+vl(t[4]*n)/n+" "+vl(t[5]*n)/n+")":xB(t)}}function z8(e,t,r){for(var n=e.points,i=[],a=0;a<n.length;a++)i.push(vl(n[a][0]*r)/r),i.push(vl(n[a][1]*r)/r);t.points=i.join(" ")}function $8(e){return!e.smooth}function NW(e){var t=H(e,function(r){return typeof r=="string"?[r,r]:r});return function(r,n,i){for(var a=0;a<t.length;a++){var o=t[a],s=r[o[0]];s!=null&&(n[o[1]]=vl(s*i)/i)}}}var OW={circle:[NW(["cx","cy","r"])],polyline:[z8,$8],polygon:[z8,$8]};function BW(e){for(var t=e.animators,r=0;r<t.length;r++)if(t[r].targetName==="shape")return!0;return!1}function YC(e,t){var r=e.style,n=e.shape,i=OW[e.type],a={},o=t.animation,s="path",u=e.style.strokePercent,l=t.compress&&ox(e)||4;if(i&&!t.willUpdate&&!(i[1]&&!i[1](n))&&!(o&&BW(e))&&!(u<1)){s=e.type;var c=Math.pow(10,l);i[0](n,a,c)}else{var f=!e.path||e.shapeChanged();e.path||e.createPathProxy();var h=e.path;f&&(h.beginPath(),e.buildPath(h,e.shape),e.pathUpdated());var d=h.getVersion(),p=e,v=p.__svgPathBuilder;(p.__svgPathVersion!==d||!v||u!==p.__svgPathStrokePercent)&&(v||(v=p.__svgPathBuilder=new zC),v.reset(l),h.rebuildPath(v,u),v.generateStr(),p.__svgPathVersion=d,p.__svgPathStrokePercent=u),a.d=v.getStr()}return Y5(a,e.transform),q5(a,r,e,t),Z5(a,e),t.animation&&D2(e,a,t),t.emphasis&&PW(e,a,t),vt(s,e.id+"",a)}function FW(e,t){var r=e.style,n=r.image;if(n&&!Z(n)&&(qC(n)?n=n.src:ZC(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),Y5(u,e.transform),q5(u,r,e,t),Z5(u,e),t.animation&&D2(e,u,t),vt("image",e.id+"",u)}}function VW(e,t){var r=e.style,n=r.text;if(n!=null&&(n+=""),!(!n||isNaN(r.x)||isNaN(r.y))){var i=r.font||Li,a=r.x||0,o=SB(r.y||0,Qc(i),r.textBaseline),s=wB[r.textAlign]||r.textAlign,u={"dominant-baseline":"central","text-anchor":s};if(Hx(r)){var l="",c=r.fontStyle,f=Gx(r.fontSize);if(!parseFloat(f))return;var h=r.fontFamily||Pb,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),Y5(u,e.transform),q5(u,r,e,t),Z5(u,e),t.animation&&D2(e,u,t),vt("text",e.id+"",u,void 0,n)}}function G8(e,t){if(e instanceof we)return YC(e,t);if(e instanceof Mt)return FW(e,t);if(e instanceof al)return VW(e,t)}function zW(e,t,r){var n=e.style;if(CB(n)){var i=AB(e),a=r.shadowCache,o=a[i];if(!o){var s=e.getGlobalScale(),u=s[0],l=s[1];if(!u||!l)return;var c=n.shadowOffsetX||0,f=n.shadowOffsetY||0,h=n.shadowBlur,d=nl(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}t.filter=Kc(o)}}function XC(e,t,r,n){var i=e[r],a,o={gradientUnits:i.global?"userSpaceOnUse":"objectBoundingBox"};if(nx(i))a="linearGradient",o.x1=i.x,o.y1=i.y,o.x2=i.x2,o.y2=i.y2;else if(ix(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"&&Wr("Illegal gradient type.");return}for(var s=i.colorStops,u=[],l=0,c=s.length;l<c;++l){var f=Uh(s[l].offset)*100+"%",h=s[l].color,d=nl(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=W5(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)),t[r]=Kc(b)}function jC(e,t,r,n){var i=e.style[r],a=e.getBoundingRect(),o={},s=i.repeat,u=s==="no-repeat",l=s==="repeat-x",c=s==="repeat-y",f;if(rx(i)){var h=i.imageWidth,d=i.imageHeight,p=void 0,v=i.image;if(Z(v)?p=v:qC(v)?p=v.src:ZC(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,L=d||D.height;T.tag==="pattern"&&(l?(L=1,M/=a.width):c&&(M=1,L/=a.height)),T.attrs.width=M,T.attrs.height=L,k&&(k.setAttribute("width",M),k.setAttribute("height",L))}},y=e5(p,null,e,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=sx(i);x&&(o.patternTransform=x);var w=vt("pattern","",o,[f]),S=W5(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])),t[r]=Kc(A)}}function $W(e,t,r){var n=r.clipPathCache,i=r.defs,a=n[e.id];if(!a){a=r.zrId+"-c"+r.clipPathIdx++;var o={id:a};n[e.id]=a,i[a]=vt("clipPath",a,o,[YC(e,r)])}t["clip-path"]=Kc(a)}function H8(e){return document.createTextNode(e)}function Ca(e,t,r){e.insertBefore(t,r)}function U8(e,t){e.removeChild(t)}function W8(e,t){e.appendChild(t)}function KC(e){return e.parentNode}function QC(e){return e.nextSibling}function c6(e,t){e.textContent=t}var q8=58,GW=120,HW=vt("","");function Rd(e){return e===void 0}function sn(e){return e!==void 0}function UW(e,t,r){for(var n={},i=t;i<=r;++i){var a=e[i].key;a!==void 0&&(process.env.NODE_ENV!=="production"&&n[a]!=null&&console.error("Duplicate key "+a),n[a]=i)}return n}function Au(e,t){var r=e.key===t.key,n=e.tag===t.tag;return n&&r}function gl(e){var t,r=e.children,n=e.tag;if(sn(n)){var i=e.elm=HC(n);if(X5(HW,e),G(r))for(t=0;t<r.length;++t){var a=r[t];a!=null&&W8(i,gl(a))}else sn(e.text)&&!ne(e.text)&&W8(i,H8(e.text))}else e.elm=H8(e.text);return e.elm}function JC(e,t,r,n,i){for(;n<=i;++n){var a=r[n];a!=null&&Ca(e,gl(a),t)}}function vc(e,t,r,n){for(;r<=n;++r){var i=t[r];if(i!=null)if(sn(i.tag)){var a=KC(i.elm);U8(a,i.elm)}else U8(e,i.elm)}}function X5(e,t){var r,n=t.elm,i=e&&e.attrs||{},a=t.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)!==GW?n.setAttribute(r,o):r==="xmlns:xlink"||r==="xmlns"?n.setAttributeNS(SW,r,o):r.charCodeAt(3)===q8?n.setAttributeNS(CW,r,o):r.charCodeAt(5)===q8?n.setAttributeNS(GC,r,o):n.setAttribute(r,o))}for(r in i)r in a||n.removeAttribute(r)}}function WW(e,t,r){for(var n=0,i=0,a=t.length-1,o=t[0],s=t[a],u=r.length-1,l=r[0],c=r[u],f,h,d,p;n<=a&&i<=u;)o==null?o=t[++n]:s==null?s=t[--a]:l==null?l=r[++i]:c==null?c=r[--u]:Au(o,l)?(Wo(o,l),o=t[++n],l=r[++i]):Au(s,c)?(Wo(s,c),s=t[--a],c=r[--u]):Au(o,c)?(Wo(o,c),Ca(e,o.elm,QC(s.elm)),o=t[++n],c=r[--u]):Au(s,l)?(Wo(s,l),Ca(e,s.elm,o.elm),s=t[--a],l=r[++i]):(Rd(f)&&(f=UW(t,n,a)),h=f[l.key],Rd(h)?Ca(e,gl(l),o.elm):(d=t[h],d.tag!==l.tag?Ca(e,gl(l),o.elm):(Wo(d,l),t[h]=void 0,Ca(e,d.elm,o.elm))),l=r[++i]);(n<=a||i<=u)&&(n>a?(p=r[u+1]==null?null:r[u+1].elm,JC(e,p,r,i,u)):vc(e,t,n,a))}function Wo(e,t){var r=t.elm=e.elm,n=e.children,i=t.children;e!==t&&(X5(e,t),Rd(t.text)?sn(n)&&sn(i)?n!==i&&WW(r,n,i):sn(i)?(sn(e.text)&&c6(r,""),JC(r,null,i,0,i.length-1)):sn(n)?vc(r,n,0,n.length-1):sn(e.text)&&c6(r,""):e.text!==t.text&&(sn(n)&&vc(r,n,0,n.length-1),c6(r,t.text)))}function qW(e,t){if(Au(e,t))Wo(e,t);else{var r=e.elm,n=KC(r);gl(t),n!==null&&(Ca(n,t.elm,QC(r)),vc(n,[e],0,0))}return t}var ZW=0,YW=function(){function e(t,r,n){if(this.type="svg",this.refreshHover=Z8("refreshHover"),this.configLayer=Z8("configLayer"),this.storage=r,this._opts=n=$({},n),this.root=t,this._id="zr"+ZW++,this._oldVNode=N8(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var a=this._svgDom=this._oldVNode.elm=HC("svg");X5(null,this._oldVNode),i.appendChild(a),t.appendChild(i)}this.resize(n.width,n.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",qW(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return G8(t,Pd(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var r=this.storage.getDisplayList(!0),n=this._width,i=this._height,a=Pd(this._id);a.animation=t.animation,a.willUpdate=t.willUpdate,a.compress=t.compress,a.emphasis=t.emphasis,a.ssr=this._opts.ssr;var o=[],s=this._bgVNode=XW(n,i,this._backgroundColor,a);s&&o.push(s);var u=t.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)),t.animation){var c=DW(a.cssNodes,a.cssAnims,{newline:!0});if(c){var f=vt("style","stl",{},[],c);o.push(f)}}return N8(n,i,o,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},W5(this.renderToVNode({animation:fe(t.cssAnimation,!0),emphasis:fe(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:fe(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,r,n){for(var i=t.length,a=[],o=0,s,u,l=0,c=0;c<i;c++){var f=t[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={};$W(h[m],y,r);var _=vt("g","clip-g-"+l++,y,[]);(s?s.children:n).push(_),a[o++]=_,s=_}u=h;var b=G8(f,r);b&&(s?s.children:n).push(b)}}},e.prototype.resize=function(t,r){var n=this._opts,i=this.root,a=this._viewport;if(t!=null&&(n.width=t),r!=null&&(n.height=r),i&&a&&(a.style.display="none",t=jo(i,0,n),r=jo(i,1,n),a.style.display=""),this._width!==t||this._height!==r){if(this._width=t,this._height=r,a){var o=a.style;o.width=t+"px",o.height=r+"px"}if(Z4(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",t),s.setAttribute("height",r));var u=this._bgVNode&&this._bgVNode.elm;u&&(u.setAttribute("width",t),u.setAttribute("height",r))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(t){var r=this.renderToString(),n="data:image/svg+xml;";return t?(r=DB(r),r&&n+"base64,"+r):n+"charset=UTF-8,"+encodeURIComponent(r)},e}();function Z8(e){return function(){process.env.NODE_ENV!=="production"&&Wr('In SVG mode painter not support method "'+e+'"')}}function XW(e,t,r,n){var i;if(r&&r!=="none")if(i=vt("rect","bg",{width:e,height:t,x:"0",y:"0"}),ax(r))XC({fill:r},i.attrs,"fill",n);else if(Z4(r))jC({style:{fill:r},dirty:at,getBoundingRect:function(){return{width:e,height:t}}},i.attrs,"fill",n);else{var a=nl(r),o=a.color,s=a.opacity;i.attrs.fill=o,s<1&&(i.attrs["fill-opacity"]=s)}return i}const jW=YW;function KW(e){e.registerPainter("svg",jW)}function Y8(e,t,r){var n=Pi.createCanvas(),i=t.getWidth(),a=t.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",e)),n.width=i*r,n.height=a*r,n}var QW=function(e){F(t,e);function t(r,n,i){var a=e.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||q0,typeof r=="string"?o=Y8(r,n,i):ne(r)&&(o=r,r=o.id),a.id=r,a.dom=o;var s=o.style;return s&&(zb(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),a.painter=n,a.dpr=i,a}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var r=this.dpr;this.domBack=Y8("back-"+this.id,this.painter,r),this.ctxBack=this.domBack.getContext("2d"),r!==1&&this.ctxBack.scale(r,r)},t.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&sr||!d)?h.getPrevPaintRect():null;p&&c(p);var v=d&&(h.__dirty&sr||!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},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.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))},t.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(Yc(n)){var b=n.global||n.__width===m&&n.__height===y;_=b&&n.__canvasGradient||Cd(o,n,{x:0,y:0,width:m,height:y}),n.__canvasGradient=_,n.__width=m,n.__height=y}else EO(n)&&(n.scaleX=n.scaleX||f,n.scaleY=n.scaleY||f,_=Ad(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)})},t}(Rr);const f6=QW;var X8=1e5,va=314159,H1=.01,JW=.001;function eq(e){return e?e.__builtin__?!0:!(typeof e.resize!="function"||typeof e.refresh!="function"):!1}function tq(e,t){var r=document.createElement("div");return r.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",r}var rq=function(){function e(t,r,n,i){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=n=$({},n||{}),this.dpr=n.devicePixelRatio||q0,this._singleCanvas=a,this.root=t;var o=t.style;o&&(zb(t),t.innerHTML=""),this.storage=r;var s=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var c=t,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 f6(c,this,this.dpr);d.__builtin__=!0,d.initContext(),u[va]=d,d.zlevel=va,s.push(va),this._domRoot=t}else{this._width=jo(t,0,n),this._height=jo(t,1,n);var l=this._domRoot=tq(this._width,this._height);t.appendChild(l)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.refresh=function(t){var r=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(r,n,t,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},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(t){var r=t.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=t[o];s.__inHover&&(n||(n=this._hoverlayer=this.getLayer(X8)),a||(a=n.ctx,a.save()),Ra(a,s,i,o===r-1))}a&&a.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(X8)},e.prototype.paintOne=function(t,r){RS(t,r)},e.prototype._paintList=function(t,r,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var a=this._doPaintList(t,r,n),o=a.finished,s=a.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),s&&this._paintHoverList(t),o)this.eachLayer(function(l){l.afterBrush&&l.afterBrush()});else{var u=this;Fh(function(){u._paintList(t,r,n,i)})}}},e.prototype._compositeManually=function(){var t=this.getLayer(va).ctx,r=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,r,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,r,n)})},e.prototype._doPaintList=function(t,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(t,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=t[_];(!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 L={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(C=_;C<g.__endIndex;C++){var N=t[C];if(N.__inHover&&(f=!0),i._doPaintEl(N,g,o,M,L,C===g.__endIndex-1),b){var I=Date.now()-x;if(I>15)break}}L.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}},e.prototype._doPaintEl=function(t,r,n,i,a,o){var s=r.ctx;if(n){var u=t.getPaintRect();(!i||u&&u.intersect(i))&&(Ra(s,t,a,o),t.setPrevPaintRect(u))}else Ra(s,t,a,o)},e.prototype.getLayer=function(t,r){this._singleCanvas&&!this._needsManuallyCompositing&&(t=va);var n=this._layers[t];return n||(n=new f6("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?ge(n,this._layerConfig[t],!0):this._layerConfig[t-H1]&&ge(n,this._layerConfig[t-H1],!0),r&&(n.virtual=r),this.insertLayer(t,n),n.initContext()),n},e.prototype.insertLayer=function(t,r){var n=this._layers,i=this._zlevelList,a=i.length,o=this._domRoot,s=null,u=-1;if(n[t]){process.env.NODE_ENV!=="production"&&Wr("ZLevel "+t+" has been used already");return}if(!eq(r)){process.env.NODE_ENV!=="production"&&Wr("Layer of zlevel "+t+" is not valid");return}if(a>0&&t>i[0]){for(u=0;u<a-1&&!(i[u]<t&&i[u+1]>t);u++);s=n[i[u]]}if(i.splice(u+1,0,t),n[t]=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)},e.prototype.eachLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i];t.call(r,this._layers[a],a)}},e.prototype.eachBuiltinLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i],o=this._layers[a];o.__builtin__&&t.call(r,o,a)}},e.prototype.eachOtherLayer=function(t,r){for(var n=this._zlevelList,i=0;i<n.length;i++){var a=n[i],o=this._layers[a];o.__builtin__||t.call(r,o,a)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(t){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<t.length;n++){var i=t[n];if(i.zlevel!==t[n-1].zlevel||i.incremental){this._needsManuallyCompositing=!0;break}}var a=null,o=0,s,u;for(u=0;u<t.length;u++){var i=t[u],l=i.zlevel,c=void 0;s!==l&&(s=l,o=0),i.incremental?(c=this.getLayer(l+JW,this._needsManuallyCompositing),c.incremental=!0,o=1):c=this.getLayer(l+(o>0?H1:0),this._needsManuallyCompositing),c.__builtin__||Wr("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&sr&&!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)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,E(this._layers,function(r){r.setUnpainted()})},e.prototype.configLayer=function(t,r){if(r){var n=this._layerConfig;n[t]?ge(n[t],r,!0):n[t]=r;for(var i=0;i<this._zlevelList.length;i++){var a=this._zlevelList[i];if(a===t||a===t+H1){var o=this._layers[a];ge(o,n[t],!0)}}}},e.prototype.delLayer=function(t){var r=this._layers,n=this._zlevelList,i=r[t];i&&(i.dom.parentNode.removeChild(i.dom),delete r[t],n.splice(_e(n,t),1))},e.prototype.resize=function(t,r){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,a=this.root;if(t!=null&&(i.width=t),r!=null&&(i.height=r),t=jo(a,0,i),r=jo(a,1,i),n.style.display="",this._width!==t||r!==this._height){n.style.width=t+"px",n.style.height=r+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,r);this.refresh(!0)}this._width=t,this._height=r}else{if(t==null||r==null)return;this._width=t,this._height=r,this.getLayer(va).resize(t,r)}return this},e.prototype.clearLayer=function(t){var r=this._layers[t];r&&r.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[va].dom;var r=new f6("image",this,t.pixelRatio||this.dpr);r.initContext(),r.clear(!1,t.backgroundColor||this._backgroundColor);var n=r.ctx;if(t.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];Ra(n,c,o,u===l-1)}return r.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();const nq=rq;function iq(e){e.registerPainter("canvas",nq)}var aq=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.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 Kn(null,this,{useEncodeDefaulter:!0})},t.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},t.type="series.line",t.dependencies=["grid","polar"],t.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},t}(je);const oq=aq;function ps(e,t){var r=e.mapDimensionsAll("defaultedLabel"),n=r.length;if(n===1){var i=fs(e,t,r[0]);return i!=null?i+"":null}else if(n){for(var a=[],o=0;o<r.length;o++)a.push(fs(e,t,r[o]));return a.join(" ")}}function eA(e,t){var r=e.mapDimensionsAll("defaultedLabel");if(!G(t))return t+"";for(var n=[],i=0;i<r.length;i++){var a=e.getDimensionIndex(r[i]);a>=0&&n.push(t[a])}return n.join(" ")}var sq=function(e){F(t,e);function t(r,n,i,a){var o=e.call(this)||this;return o.updateData(r,n,i,a),o}return t.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=uq,this._symbolType=r,this.add(s)},t.prototype.stopSymbolAnimation=function(r){this.childAt(0).stopAnimation(null,r)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){Un(this.childAt(0))},t.prototype.downplay=function(){Wn(this.childAt(0))},t.prototype.setZ=function(r,n){var i=this.childAt(0);i.zlevel=r,i.z=n},t.prototype.setDraggable=function(r,n){var i=this.childAt(0);i.draggable=r,i.cursor=!n&&r?"move":i.cursor},t.prototype.updateData=function(r,n,i,a){this.silent=!1;var o=r.getItemVisual(n,"symbol")||"circle",s=r.hostModel,u=t.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):Le(h,d,s,n),jr(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")},t.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=lo(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 Mt){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;kt(s,v,{labelFetcher:u,labelDataIndex:n,defaultText:k,inheritColor:S,defaultOpacity:w.opacity});function k(N){return D?r.getName(N):ps(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 L=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;M.scaleX=this._sizeX*L,M.scaleY=this._sizeY*L,this.setSymbolScale(1),Je(this,h,d,p)},t.prototype.setSymbolScale=function(r){this.scaleX=this.scaleY=r},t.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&&Oi(u,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){a.removeTextContent()}})}else a.removeTextContent();Oi(a,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:r,removeOpt:s})},t.getSymbolSize=function(r,n){return Ns(r.getItemVisual(n,"symbolSize"))},t}(le);function uq(e,t){this.parent.drift(e,t)}const Vl=sq;function h6(e,t,r,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(r))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&e.getItemVisual(r,"symbol")!=="none"}function j8(e){return e!=null&&!ne(e)&&(e={isIgnore:e}),e||{}}function K8(e){var t=e.hostModel,r=t.getModel("emphasis");return{emphasisItemStyle:r.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:r.get("focus"),blurScope:r.get("blurScope"),emphasisDisabled:r.get("disabled"),hoverScale:r.get("scale"),labelStatesModels:gt(t),cursorStyle:t.get("cursor")}}var lq=function(){function e(t){this.group=new le,this._SymbolCtor=t||Vl}return e.prototype.updateData=function(t,r){this._progressiveEls=null,r=j8(r);var n=this.group,i=t.hostModel,a=this._data,o=this._SymbolCtor,s=r.disableAnimation,u=K8(t),l={disableAnimation:s},c=r.getSymbolPoint||function(f){return t.getItemLayout(f)};a||n.removeAll(),t.diff(a).add(function(f){var h=c(f);if(h6(t,h,f,r)){var d=new o(t,f,u,l);d.setPosition(h),t.setItemGraphicEl(f,d),n.add(d)}}).update(function(f,h){var d=a.getItemGraphicEl(h),p=c(f);if(!h6(t,p,f,r)){n.remove(d);return}var v=t.getItemVisual(f,"symbol")||"circle",g=d&&d.getSymbolType&&d.getSymbolType();if(!d||g&&g!==v)n.remove(d),d=new o(t,f,u,l),d.setPosition(p);else{d.updateData(t,f,u,l);var m={x:p[0],y:p[1]};s?d.attr(m):Le(d,m,i)}n.add(d),t.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=t},e.prototype.updateLayout=function(){var t=this,r=this._data;r&&r.eachItemGraphicEl(function(n,i){var a=t._getSymbolPoint(i);n.setPosition(a),n.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=K8(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r,n){this._progressiveEls=[],n=j8(n);function i(u){u.isGroup||(u.incremental=!0,u.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a<t.end;a++){var o=r.getItemLayout(a);if(h6(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)}}},e.prototype.eachRendered=function(t){Ui(this._progressiveEls||this.group,t)},e.prototype.remove=function(t){var r=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(i){i.fadeOut(function(){r.remove(i)},n.hostModel)}):r.removeAll()},e}();const zl=lq;function tA(e,t,r){var n=e.getBaseAxis(),i=e.getOtherAxis(n),a=cq(i,r),o=n.dim,s=i.dim,u=t.mapDimension(s),l=t.mapDimension(o),c=s==="x"||s==="radius"?1:0,f=H(e.dimensions,function(p){return t.mapDimension(p)}),h=!1,d=t.getCalculationInfo("stackResultDimension");return Fi(t,f[0])&&(h=!0,f[0]=d),Fi(t,f[1])&&(h=!0,f[1]=d),{dataDimsForPoint:f,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:u,baseDim:l,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function cq(e,t){var r=0,n=e.scale.getExtent();return t==="start"?r=n[0]:t==="end"?r=n[1]:Me(t)&&!isNaN(t)?r=t:n[0]>0?r=n[0]:n[1]<0&&(r=n[1]),r}function rA(e,t,r,n){var i=NaN;e.stacked&&(i=r.get(r.getCalculationInfo("stackedOverDimension"),n)),isNaN(i)&&(i=e.valueStart);var a=e.baseDataOffset,o=[];return o[a]=r.get(e.baseDim,n),o[1-a]=i,t.dataToPoint(o)}function fq(e,t){var r=[];return t.diff(e).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 hq(e,t,r,n,i,a,o,s){for(var u=fq(e,t),l=[],c=[],f=[],h=[],d=[],p=[],v=[],g=tA(i,t,o),m=e.getLayout("points")||[],y=t.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(t.getRawIndex(b.idx1));break;case"+":var k=b.idx,M=g.dataDimsForPoint,L=i.dataToPoint([t.get(M[0],k),t.get(M[1],k)]);S=k*2,l.push(L[0],L[1]),c.push(y[S],y[S+1]);var N=rA(g,i,t,k);f.push(N[0],N[1]),h.push(n[S],n[S+1]),v.push(t.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 I=l.length,O=pn(I),P=pn(I),R=pn(I),B=pn(I),V=[],_=0;_<p.length;_++){var z=p[_],U=_*2,q=z*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],V[_]=d[z]}return{current:O,next:P,stackedOnCurrent:R,stackedOnNext:B,status:V}}var oi=Math.min,si=Math.max;function Ua(e,t){return isNaN(e)||isNaN(t)}function Nd(e,t,r,n,i,a,o,s,u){for(var l,c,f,h,d,p,v=r,g=0;g<n;g++){var m=t[v*2],y=t[v*2+1];if(v>=i||v<0)break;if(Ua(m,y)){if(u){v+=a;continue}break}if(v===r)e[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=t[x*2],S=t[x*2+1];w===m&&S===y&&g<n;)g++,x+=a,v+=a,w=t[x*2],S=t[x*2+1],m=t[v*2],y=t[v*2+1],_=m-l,b=y-c;var C=g+1;if(u)for(;Ua(w,S)&&C<n;)C++,x+=a,w=t[x*2],S=t[x*2+1];var A=.5,T=0,D=0,k=void 0,M=void 0;if(C>=n||Ua(w,S))d=m,p=y;else{T=w-l,D=S-c;var L=m-l,N=w-m,I=y-c,O=S-y,P=void 0,R=void 0;if(s==="x"){P=Math.abs(L),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(I),R=Math.abs(O);var V=D>0?1:-1;d=m,p=y-V*P*o,k=m,M=y+V*R*o}else P=Math.sqrt(L*L+I*I),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=oi(k,si(w,m)),M=oi(M,si(S,y)),k=si(k,oi(w,m)),M=si(M,oi(S,y)),T=k-m,D=M-y,d=m-T*P/R,p=y-D*P/R,d=oi(d,si(l,m)),p=oi(p,si(c,y)),d=si(d,oi(l,m)),p=si(p,oi(c,y)),T=m-d,D=y-p,k=m+T*R/P,M=y+D*R/P}e.bezierCurveTo(f,h,d,p,m,y),f=k,h=M}else e.lineTo(m,y)}l=m,c=y,v+=a}return g}var nA=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),dq=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new nA},t.prototype.buildPath=function(r,n){var i=n.points,a=0,o=i.length/2;if(n.connectNulls){for(;o>0&&Ua(i[o*2-2],i[o*2-1]);o--);for(;a<o&&Ua(i[a*2],i[a*2+1]);a++);}for(;a<o;)a+=Nd(r,i,a,o,o,1,n.smooth,n.smoothMonotone,n.connectNulls)+1},t.prototype.getPointOn=function(r,n){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var i=this.path,a=i.data,o=xn.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?G0(s,d,v,m,r,c):G0(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}}},t}(we),pq=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(nA),iA=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new pq},t.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&&Ua(i[s*2-2],i[s*2-1]);s--);for(;o<s&&Ua(i[o*2],i[o*2+1]);o++);}for(;o<s;){var l=Nd(r,i,o,s,s,1,n.smooth,u,n.connectNulls);Nd(r,a,o+l-1,l,s,-1,n.stackedOnSmooth,u,n.connectNulls),o+=l+1,r.closePath()}},t}(we);function aA(e,t,r,n,i){var a=e.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(t){var h=e.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 oA(e,t,r){var n=e.getArea(),i=nt(n.r0,1),a=nt(n.r,1),o=new tr({shape:{cx:nt(e.cx,1),cy:nt(e.cy,1),r0:i,r:a,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});if(t){var s=e.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 $l(e,t,r,n,i){if(e){if(e.type==="polar")return oA(e,t,r);if(e.type==="cartesian2d")return aA(e,t,r,n,i)}else return null;return null}function fo(e,t){return e.type===t}function Q8(e,t){if(e.length===t.length){for(var r=0;r<e.length;r++)if(e[r]!==t[r])return;return!0}}function J8(e){for(var t=1/0,r=1/0,n=-1/0,i=-1/0,a=0;a<e.length;){var o=e[a++],s=e[a++];isNaN(o)||(t=Math.min(o,t),n=Math.max(o,n)),isNaN(s)||(r=Math.min(s,r),i=Math.max(s,i))}return[[t,r],[n,i]]}function eg(e,t){var r=J8(e),n=r[0],i=r[1],a=J8(t),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 tg(e){return Me(e)?e:e?.5:0}function vq(e,t,r){if(!r.valueDim)return[];for(var n=t.count(),i=pn(n*2),a=0;a<n;a++){var o=rA(r,e,t,a);i[a*2]=o[0],i[a*2+1]=o[1]}return i}function ui(e,t,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<e.length;u+=2){var d=t||e;!isNaN(d[u])&&!isNaN(d[u+1])&&h.push(e[u],e[u+1])}e=h}for(u=0;u<e.length-2;u+=2)switch(f[0]=e[u+2],f[1]=e[u+3],c[0]=e[u],c[1]=e[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(e[u++],e[u++]),s}function gq(e,t){var r=[],n=e.length,i,a;function o(c,f,h){var d=c.coord,p=(h-d)/(f.coord-d),v=bB(p,[c.color,f.color]);return{coord:h,color:v}}for(var s=0;s<n;s++){var u=e[s],l=u.coord;if(l<0)i=u;else if(l>t){a?r.push(o(a,u,t)):i&&r.push(o(i,u,0),o(i,u,t));break}else i&&(r.push(o(i,u,0)),i=null),r.push(u),a=u}return r}function mq(e,t,r){var n=e.getVisual("visualMeta");if(!(!n||!n.length||!e.count())){if(t.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=e.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=t.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=gq(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 Pl(0,0,0,0,h,!0);return y[i]=v,y[i+"2"]=g,y}}function yq(e,t,r){var n=e.get("showAllSymbol"),i=n==="auto";if(!(n&&!i)){var a=r.getAxesByScale("ordinal")[0];if(a&&!(i&&_q(a,t))){var o=t.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(t.get(o,u))}}}}function _q(e,t){var r=e.getExtent(),n=Math.abs(r[1]-r[0])/e.scale.count();isNaN(n)&&(n=0);for(var i=t.count(),a=Math.max(1,Math.round(i/5)),o=0;o<i;o+=a)if(Vl.getSymbolSize(t,o)[e.isHorizontal()?1:0]*1.5>n)return!1;return!0}function bq(e,t){return isNaN(e)||isNaN(t)}function xq(e){for(var t=e.length/2;t>0&&bq(e[t*2-2],e[t*2-1]);t--);return t-1}function rg(e,t){return[e[t*2],e[t*2+1]]}function wq(e,t,r){for(var n=e.length/2,i=r==="x"?0:1,a,o,s=0,u=-1,l=0;l<n;l++)if(o=e[l*2+i],!(isNaN(o)||isNaN(e[l*2+1-i]))){if(l===0){a=o;continue}if(a<=t&&o>=t||a>=t&&o<=t){u=l;break}s=l,a=o}return{range:[s,u],t:(t-a)/(o-a)}}function sA(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<Yt.length;t++)if(e.get([Yt[t],"endLabel","show"]))return!0;return!1}function d6(e,t,r,n){if(fo(t,"cartesian2d")){var i=n.getModel("endLabel"),a=i.get("valueAnimation"),o=n.getData(),s={lastFrameIndex:0},u=sA(n)?function(d,p){e._endLabelOnDuring(d,p,o,s,a,i,t)}:null,l=t.getBaseAxis().isHorizontal(),c=aA(t,r,n,function(){var d=e._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."),oA(t,r,n)}function Sq(e,t){var r=t.getBaseAxis(),n=r.isHorizontal(),i=r.inverse,a=n?i?"right":"left":"center",o=n?"middle":i?"top":"bottom";return{normal:{align:e.get("align")||a,verticalAlign:e.get("verticalAlign")||o}}}var Cq=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var r=new le,n=new zl;this.group.add(n.group),this._symbolDraw=n,this._lineGroup=r,this._changePolyState=X(this._changePolyState,this)},t.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=tA(a,s,_),x=y&&vq(a,s,b),w=r.get("showSymbol"),S=r.get("connectNulls"),C=w&&!f&&yq(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=mq(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=ui(x,c,a,T,S)),c=ui(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,Ja(k)),g.setClipPath(d6(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,Ja(k));var M=g.getClipPath();if(M){var L=d6(this,a,!1,r);Ye(M,{shape:L.shape},r)}else g.setClipPath(d6(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]]}}),(!Q8(this._stackedOnPoints,x)||!Q8(this._points,c))&&(m?this._doUpdateAnimation(s,x,a,i,T,_,S):(T&&(x&&(x=ui(x,c,a,T,S)),c=ui(c,null,a,T,S)),p.setShape({points:c}),v&&v.setShape({points:c,stackedOnPoints:x})))}var N=r.getModel("emphasis"),I=N.get("focus"),O=N.get("blurScope"),P=N.get("disabled");if(p.useStyle(ae(u.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"})),Et(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,I,O,P);var B=tg(r.get("smooth")),V=r.get("smoothMonotone");if(p.setShape({smooth:B,smoothMonotone:V,connectNulls:S}),v){var z=s.getCalculationInfo("stackedOnSeries"),U=0;v.useStyle(ae(l.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),z&&(U=tg(z.get("smooth"))),v.setShape({smooth:B,stackedOnSmooth:U,smoothMonotone:V,connectNulls:S}),Et(v,r,"areaStyle"),ce(v).seriesIndex=r.seriesIndex,Je(v,I,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))},t.prototype.packEventData=function(r,n){ce(n).eventData={componentType:"series",componentSubType:"line",componentIndex:r.componentIndex,seriesIndex:r.seriesIndex,seriesName:r.name,seriesType:"line"}},t.prototype.highlight=function(r,n,i,a){var o=r.getData(),s=ja(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 Vl(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)},t.prototype.downplay=function(r,n,i,a){var o=r.getData(),s=ja(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)},t.prototype._changePolyState=function(r){var n=this._polygon;X0(this._polyline,r),n&&X0(n,r)},t.prototype._newPolyline=function(r){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new dq({shape:{points:r},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(r,n){var i=this._polygon;return i&&this._lineGroup.remove(i),i=new iA({shape:{points:r,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(i),this._polygon=i,i},t.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}})},t.prototype._initOrUpdateEndLabel=function(r,n,i){var a=r.getModel("endLabel");if(sA(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=xq(u);c>=0&&(kt(s,gt(r,"endLabel"),{inheritColor:i,labelFetcher:r,labelDataIndex:c,defaultText:function(f,h,d){return d!=null?eA(o,d):ps(o,f)},enableTextSetter:!0},Sq(a,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.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=wq(f,b,S),A=C.range,T=A[1]-A[0],D=void 0;if(T>=1){if(T>1&&!d){var k=rg(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]),L=h.getRawValue(A[1]);o&&(D=Ex(i,p,M,L,C.t))}a.lastFrameIndex=A[0]}else{var N=r===1||a.lastFrameIndex>0?A[0]:0,k=rg(f,N);o&&(D=h.getRawValue(N)),l.attr({x:k[0]+x,y:k[1]+w})}if(o){var I=Ts(l);typeof I.setLabelText=="function"&&I.setLabelText(D)}}},t.prototype._doUpdateAnimation=function(r,n,i,a,o,s,u){var l=this._polyline,c=this._polygon,f=r.hostModel,h=hq(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=ui(h.stackedOnCurrent,h.current,i,o,u),d=ui(h.current,null,i,o,u),g=ui(h.stackedOnNext,h.next,i,o,u),v=ui(h.next,null,i,o,u)),eg(d,v)>3e3||c&&eg(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(),Le(l,m,f),c&&(c.setShape({points:d,stackedOnPoints:p}),c.stopAnimation(),Le(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()}})},t.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},t.type="line",t}(qe);const Aq=Cq;function Gl(e,t){return{seriesType:e,plan:Ps(),reset:function(r){var n=r.getData(),i=r.coordinateSystem,a=r.pipelineContext,o=t||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");Fi(n,s[0])&&(s[0]=l),Fi(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&&pn(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 Tq={average:function(e){for(var t=0,r=0,n=0;n<e.length;n++)isNaN(e[n])||(t+=e[n],r++);return r===0?NaN:t/r},sum:function(e){for(var t=0,r=0;r<e.length;r++)t+=e[r]||0;return t},max:function(e){for(var t=-1/0,r=0;r<e.length;r++)e[r]>t&&(t=e[r]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,r=0;r<e.length;r++)e[r]<t&&(t=e[r]);return isFinite(t)?t:NaN},nearest:function(e){return e[0]}},Dq=function(e){return Math.round(e.length/2)};function uA(e){return{seriesType:e,reset:function(t,r,n){var i=t.getData(),a=t.get("sampling"),o=t.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"?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/d)):a==="minmax"&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/d));var p=void 0;Z(a)?p=Tq[a]:te(a)&&(p=a),p&&t.setData(i.downSample(i.mapDimension(l.dim),1/d,p,Dq))}}}}}function Eq(e){e.registerChartView(Aq),e.registerSeriesModel(oq),e.registerLayout(Gl("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var r=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=r.getVisual("style").fill),r.setVisual("legendLineStyle",n)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,uA("line"))}var lA=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(r,n){return Kn(null,this,{useEncodeDefaulter:!0})},t.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]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(je);je.registerClass(lA);const gc=lA;var kq=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(){return Kn(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var r=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>r&&(r=n),r},t.prototype.brushSelector=function(r,n,i){return i.rect(n.getItemLayout(r))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=Wi(gc.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}),t}(gc);const Mq=kq;var Iq=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),Lq=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new Iq},t.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)},t}(we);const mc=Lq;function Pq(e,t){t=t||{};var r=t.isRoundCap;return function(n,i,a){var o=i.position;if(!o||o instanceof Array)return Z0(n,i,a);var s=e(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)+U1(v,u+y,!1),w=f+p*b(v)+W1(v,u+y,!1),S="right",C="middle";break;case"insideStartAngle":x=c+p*_(v)+U1(v,-u+y,!1),w=f+p*b(v)+W1(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)+U1(g,u+y,!0),w=f+p*b(g)+W1(g,u+y,!0),S="left",C="middle";break;case"insideEndAngle":x=c+p*_(g)+U1(g,-u+y,!0),w=f+p*b(g)+W1(g,-u+y,!0),S="right",C="middle";break;default:return Z0(n,i,a)}return n=n||{},n.x=x,n.y=w,n.align=S,n.verticalAlign=C,n}}function Rq(e,t,r,n){if(Me(n)){e.setTextConfig({rotation:n});return}else if(G(t)){e.setTextConfig({rotation:0});return}var i=e.shape,a=i.clockwise?i.startAngle:i.endAngle,o=i.clockwise?i.endAngle:i.startAngle,s=(a+o)/2,u,l=r(t);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:e.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),e.setTextConfig({rotation:c})}function U1(e,t,r){return t*Math.sin(e)*(r?-1:1)}function W1(e,t,r){return t*Math.cos(e)*(r?1:-1)}function Na(e,t,r){var n=e.get("borderRadius");if(n==null)return r?{cornerRadius:0}:null;G(n)||(n=[n,n,n,n]);var i=Math.abs(t.r||0-t.r0||0);return{cornerRadius:H(n,function(a){return Yr(a,i)})}}var p6=Math.max,v6=Math.min;function Nq(e,t){var r=e.getArea&&e.getArea();if(fo(e,"cartesian2d")){var n=e.getBaseAxis();if(n.type!=="category"||!n.onBand){var i=t.getLayout("bandWidth");n.isHorizontal()?(r.x-=i,r.width+=i*2):(r.y-=i,r.height+=i*2)}}return r}var Oq=function(e){F(t,e);function t(){var r=e.call(this)||this;return r.type=t.type,r._isFirstFrame=!0,r}return t.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.")},t.prototype.incrementalPrepareRender=function(r){this._clear(),this._updateDrawMode(r),this._updateLargeClip(r)},t.prototype.incrementalRender=function(r,n){this._progressiveEls=[],this._incrementalRenderLarge(r,n)},t.prototype.eachRendered=function(r){Ui(this._progressiveEls||this.group,r)},t.prototype._updateDrawMode=function(r){var n=r.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.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=Bq(r,l);d&&this._enableRealtimeSort(d,s,i);var p=r.get("clip",!0)||d,v=Nq(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=q1[l.type](s,D),M=Uq(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=q1[l.type](s,D,k);if(m&&C(D),!(!s.hasValue(D)||!sg[l.type](M))){var L=!1;p&&(L=ng[l.type](v,M));var N=ig[l.type](r,s,D,M,f,h,c.model,!1,g);d&&(N.forceLabelAnimation=!0),ug(N,s,D,k,M,r,f,l.type==="polar"),w?N.attr({shape:M}):d?ag(d,h,N,M,D,f,!1,!1):Ye(N,{shape:M},r,D),s.setItemGraphicEl(D,N),o.add(N),N.ignore=L}}).update(function(D,k){var M=s.getItemModel(D),L=q1[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 I=q1[l.type](s,D),O=fA(f,I,l);Le(N,{shape:O},h,D)}var P=u.getItemGraphicEl(k);if(!s.hasValue(D)||!sg[l.type](L)){o.remove(P);return}var R=!1;if(p&&(R=ng[l.type](v,L),R&&o.remove(P)),P?jr(P):P=ig[l.type](r,s,D,L,f,h,c.model,!!P,g),d&&(P.forceLabelAnimation=!0),S){var B=P.getTextContent();if(B){var V=Ts(B);V.prevValue!=null&&(V.prevValue=V.value)}}else ug(P,s,D,M,L,r,f,l.type==="polar");w?P.attr({shape:L}):d?ag(d,h,P,L,D,f,!0,S):Le(P,{shape:L},r,D,null),s.setItemGraphicEl(D,P),P.ignore=R,o.add(P)}).remove(function(D){var k=u.getItemGraphicEl(D);k&&sl(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},t.prototype._renderLarge=function(r,n,i){this._clear(),cg(r,this.group),this._updateLargeClip(r)},t.prototype._incrementalRenderLarge=function(r,n){this._removeBackground(),cg(n,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(r){var n=r.get("clip",!0)&&$l(r.coordinateSystem,!1,r),i=this.group;n?i.setClipPath(n):i.removeClipPath()},t.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)}}},t.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})}},t.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},t.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},t.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}))}},t.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})},t.prototype.remove=function(r,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(r,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(r){this._onRendered&&(r.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.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){sl(a,r,ce(a).dataIndex)})):n.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(qe),ng={cartesian2d:function(e,t){var r=t.width<0?-1:1,n=t.height<0?-1:1;r<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var i=e.x+e.width,a=e.y+e.height,o=p6(t.x,e.x),s=v6(t.x+t.width,i),u=p6(t.y,e.y),l=v6(t.y+t.height,a),c=s<o,f=l<u;return t.x=c&&o>i?s:o,t.y=f&&u>a?l:u,t.width=c?0:s-o,t.height=f?0:l-u,r<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var r=t.r0<=t.r?1:-1;if(r<0){var n=t.r;t.r=t.r0,t.r0=n}var i=v6(t.r,e.r),a=p6(t.r0,e.r0);t.r=i,t.r0=a;var o=i-a<0;if(r<0){var n=t.r;t.r=t.r0,t.r0=n}return o}},ig={cartesian2d:function(e,t,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(e,t,r,n,i,a,o,s,u){var l=!i&&u?mc:tr,c=new l({shape:n,z2:1});c.name="item";var f=cA(i);if(c.calculateTextPosition=Pq(f,{isRoundCap:l===mc}),a){var h=c.shape,d=i?"r":"endAngle",p={};h[d]=i?n.r0:n.startAngle,p[d]=n[d],(s?Le:Ye)(c,{shape:p},a)}return c}};function Bq(e,t){var r=e.get("realtimeSort",!0),n=t.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."),t.type!=="cartesian2d"&&Qe("`realtimeSort` will not work because this bar series is not on cartesian2d.")),r&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function ag(e,t,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?Le:Ye)(r,{shape:u},t,i,null);var c=t?e.baseAxis.model:null;(o?Le:Ye)(r,{shape:l},c,i)}function og(e,t){for(var r=0;r<t.length;r++)if(!isFinite(e[t[r]]))return!0;return!1}var Fq=["x","y","width","height"],Vq=["cx","cy","r","startAngle","endAngle"],sg={cartesian2d:function(e){return!og(e,Fq)},polar:function(e){return!og(e,Vq)}},q1={cartesian2d:function(e,t,r){var n=e.getItemLayout(t),i=r?$q(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(e,t,r){var n=e.getItemLayout(t);return{cx:n.cx,cy:n.cy,r0:n.r0,r:n.r,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}}};function zq(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function cA(e){return function(t){var r=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+r;default:return n}}}(e)}function ug(e,t,r,n,i,a,o,s){var u=t.getItemVisual(r,"style");if(s){if(!a.get("roundCap")){var c=e.shape,f=Na(n.getModel("itemStyle"),c,!0);$(c,f),e.setShape(c)}}else{var l=n.get(["itemStyle","borderRadius"])||0;e.setShape("r",l)}e.useStyle(u);var h=n.getShallow("cursor");h&&e.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);kt(e,p,{labelFetcher:a,labelDataIndex:r,defaultText:ps(a.getData(),r),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:d});var v=e.getTextContent();if(s&&v){var g=n.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,Rq(e,g==="outside"?d:g,cA(o),n.get(["label","rotate"]))}Cw(v,p,a.getRawValue(r),function(y){return eA(t,y)});var m=n.getModel(["emphasis"]);Je(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Et(e,n),zq(i)&&(e.style.fill="none",e.style.stroke="none",E(e.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function $q(e,t){var r=e.get(["itemStyle","borderColor"]);if(!r||r==="none")return 0;var n=e.get(["itemStyle","borderWidth"])||0,i=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),a=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,i,a)}var Gq=function(){function e(){}return e}(),lg=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new Gq},t.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])},t}(we);function cg(e,t,r,n){var i=e.getData(),a=i.getLayout("valueAxisHorizontal")?1:0,o=i.getLayout("largeDataIndices"),s=i.getLayout("size"),u=e.getModel("backgroundStyle"),l=i.getLayout("largeBackgroundPoints");if(l){var c=new lg({shape:{points:l},incremental:!!n,silent:!0,z2:0});c.baseDimIdx=a,c.largeDataIndices=o,c.barWidth=s,c.useStyle(u.getItemStyle()),t.add(c),r&&r.push(c)}var f=new lg({shape:{points:i.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=a,f.largeDataIndices=o,f.barWidth=s,t.add(f),f.useStyle(i.getVisual("style")),f.style.stroke=null,ce(f).seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",fg),f.on("mousemove",fg)),r&&r.push(f)}var fg=k5(function(e){var t=this,r=Hq(t,e.offsetX,e.offsetY);ce(t).dataIndex=r>=0?r:null},30,!1);function Hq(e,t,r){for(var n=e.baseDimIdx,i=1-n,a=e.shape.points,o=e.largeDataIndices,s=[],u=[],l=e.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]),t>=s[0]&&t<=s[0]+u[0]&&r>=s[1]&&r<=s[1]+u[1])return o[c]}return-1}function fA(e,t,r){if(fo(r,"cartesian2d")){var n=t,i=r.getArea();return{x:e?n.x:i.x,y:e?i.y:n.y,width:e?n.width:i.width,height:e?i.height:n.height}}else{var i=r.getArea(),a=t;return{cx:i.cx,cy:i.cy,r0:e?i.r0:a.r0,r:e?i.r:a.r,startAngle:e?a.startAngle:0,endAngle:e?a.endAngle:Math.PI*2}}}function Uq(e,t,r){var n=e.type==="polar"?tr:Ee;return new n({shape:fA(t,r,e),silent:!0,z2:0})}const Wq=Oq;function qq(e){e.registerChartView(Wq),e.registerSeriesModel(Mq),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,ve(dC,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,pC("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,uA("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,r){var n=t.componentType||"series";r.eachComponent({mainType:n,query:t},function(i){t.sortInfo&&i.axis.setCategorySortInfo(t.sortInfo)})})}var hg=Math.PI*2,Z1=Math.PI/180;function hA(e,t){return dt(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function dA(e,t){var r=hA(e,t),n=e.get("center"),i=e.get("radius");G(i)||(i=[0,i]);var a=W(r.width,t.getWidth()),o=W(r.height,t.getHeight()),s=Math.min(a,o),u=W(i[0],s/2),l=W(i[1],s/2),c,f,h=e.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 Zq(e,t,r){t.eachSeriesByType(e,function(n){var i=n.getData(),a=i.mapDimension("value"),o=hA(n,r),s=dA(n,r),u=s.cx,l=s.cy,c=s.r,f=s.r0,h=-n.get("startAngle")*Z1,d=n.get("endAngle"),p=n.get("padAngle")*Z1;d=d==="auto"?h-hg:-d*Z1;var v=n.get("minAngle")*Z1,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;t5(A,!b),h=A[0],d=A[1];var D=pA(n);D.startAngle=h,D.endAngle=d,D.clockwise=b;var k=Math.abs(d-h),M=k,L=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):L+=O;var B=N+C*R,V=0,z=0;p>R?(V=N+C*R/2,z=V):(V=N+T,z=B-T),i.setItemLayout(P,{angle:R,startAngle:V,endAngle:z,clockwise:b,cx:u,cy:l,r0:f,r:x?Be(O,S,[f,c]):c}),N=B}),M<hg&&m)if(M<=.001){var I=k/m;i.each(a,function(O,P){if(!isNaN(O)){var R=i.getItemLayout(P);R.angle=I;var B=0,V=0;I<p?(B=h+C*(P+1/2)*I,V=B):(B=h+C*P*I+T,V=h+C*(P+1)*I-T),R.startAngle=B,R.endAngle=V}})}else _=M/L,N=h,i.each(a,function(O,P){if(!isNaN(O)){var R=i.getItemLayout(P),B=R.angle===g?g:O*_,V=0,z=0;B<p?(V=N+C*B/2,z=V):(V=N+T,z=N+C*B-T),R.startAngle=V,R.endAngle=z,N+=C*B}})})}var pA=Ae();function Hl(e){return{seriesType:e,reset:function(t,r){var n=r.findComponents({mainType:"legend"});if(!(!n||!n.length)){var i=t.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 Yq=Math.PI/180;function dg(e,t,r,n,i,a,o,s,u,l){if(e.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=t+(S+_.len2)*i,A=C-_.label.x,T=_.targetTextWidth-A*i;vA(_,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-t-_.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=e.length,d=0;d<h;d++)if(e[d].position==="outer"&&e[d].labelAlignTo==="labelLine"){var p=e[d].label.x-l;e[d].linePoints[1][0]+=p,e[d].label.x=l}BC(e,u,u+o)&&f(e)}function Xq(e,t,r,n,i,a,o,s){for(var u=[],l=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,h=0;h<e.length;h++){var d=e[h].label;g6(e[h])||(d.x<t?(c=Math.min(c,d.x),u.push(e[h])):(f=Math.max(f,d.x),l.push(e[h])))}for(var h=0;h<e.length;h++){var p=e[h];if(!g6(p)&&p.linePoints){if(p.labelStyleWidth!=null)continue;var d=p.label,v=p.linePoints,g=void 0;p.labelAlignTo==="edge"?d.x<t?g=v[2][0]-p.labelDistance-o-p.edgeDistance:g=o+i-p.edgeDistance-v[2][0]-p.labelDistance:p.labelAlignTo==="labelLine"?d.x<t?g=c-o-p.bleedMargin:g=o+i-f-p.bleedMargin:d.x<t?g=d.x-o-p.bleedMargin:g=o+i-d.x-p.bleedMargin,p.targetTextWidth=g,vA(p,g)}}dg(l,t,r,n,1,i,a,o,s,f),dg(u,t,r,n,-1,i,a,o,s,c);for(var h=0;h<e.length;h++){var p=e[h];if(!g6(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<t?v[2][0]=o+p.edgeDistance+x+p.labelDistance:v[2][0]=o+i-p.edgeDistance-x-p.labelDistance:(d.x<t?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 vA(e,t,r){if(r===void 0&&(r=!1),e.labelStyleWidth==null){var n=e.label,i=n.style,a=e.rect,o=i.backgroundColor,s=i.padding,u=s?s[1]+s[3]:0,l=i.overflow,c=a.width+(o?0:u);if(t<c||r){var f=a.height;if(l&&l.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-u);var h=n.getBoundingRect();n.setStyle("width",Math.ceil(h.width)),n.setStyle("backgroundColor",o)}else{var d=t-u,p=t<c?d:r?d>e.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 g6(e){return e.position==="center"}function jq(e){var t=e.getData(),r=[],n,i,a=!1,o=(e.get("minShowLabelAngle")||0)*Yq,s=t.getLayout("viewRect"),u=t.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}t.each(function(w){var S=t.getItemGraphicEl(w),C=S.shape,A=S.getTextContent(),T=S.getTextGuideLine(),D=t.getItemModel(w),k=D.getModel("label"),M=k.get("position")||D.get(["emphasis","label","position"]),L=k.get("distanceToLabelLine"),N=k.get("alignTo"),I=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 V=(C.startAngle+C.endAngle)/2,z=Math.cos(V),U=Math.sin(V),q,K,xe,ze;n=C.cx,i=C.cy;var ue=M==="inside"||M==="inner";if(M==="center")q=C.cx,K=C.cy,ze="center";else{var ee=(ue?(C.r+C.r0)/2*z:C.r*z)+n,he=(ue?(C.r+C.r0)/2*U:C.r*U)+i;if(q=ee+z*3,K=he+U*3,!ue){var Q=ee+z*(R+u-C.r),se=he+U*(R+u-C.r),Fe=Q+(z<0?-1:1)*B,Pe=se;N==="edge"?q=z<0?c+I:c+l-I:q=Fe+(z<0?-L:L),K=Pe,xe=[[ee,he],[Q,se],[Fe,Pe]]}ze=ue?"center":N==="edge"?z>0?"right":"left":z>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=z<0?-V+Te:-V;Ze=de}else if(rt==="tangential"&&M!=="outside"&&M!=="outer"){var wt=Math.atan2(z,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:ze});var Br=A.states.select;Br&&(Br.x+=A.x,Br.y+=A.y)}else{var Oe=A.getBoundingRect().clone();Oe.applyTransform(A.getComputedTransform());var qi=(A.style.margin||0)+2.1;Oe.y-=qi/2,Oe.height+=qi,r.push({label:A,labelLine:T,position:M,len:R,len2:B,minTurnAngle:P.get("minTurnAngle"),maxSurfaceAngle:P.get("maxSurfaceAngle"),surfaceNormal:new me(z,U),linePoints:xe,textAlign:ze,labelDistance:L,labelAlignTo:N,edgeDistance:I,bleedMargin:O,rect:Oe,unconstrainedWidth:Oe.width,labelStyleWidth:A.style.width})}S.setTextConfig({inside:ue})}}),!a&&e.get("avoidLabelOverlap")&&Xq(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):(RC(x,g.minTurnAngle),sW(x,g.surfaceNormal,g.maxSurfaceAngle),y.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new me(x[0][0],x[0][1])})}}}var Kq=function(e){F(t,e);function t(r,n,i){var a=e.call(this)||this;a.z2=2;var o=new ke;return a.setTextContent(o),a.updateData(r,n,i,!0),a}return t.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=$(Na(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,Le(o,{shape:{endAngle:c.endAngle}},s,n))}else jr(o),Le(o,{shape:f},s,n);o.useStyle(r.getItemVisual(n,"style")),Et(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)},Na(l.getModel("itemStyle"),c)),$(o.ensureState("select"),{x:v,y:g,shape:Na(u.getModel(["select","itemStyle"]),c)}),$(o.ensureState("blur"),{shape:Na(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"))},t.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;kt(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 ir,this.setTextGuideLine(d)),H5(this,U5(o),{stroke:l,opacity:kr(s.get(["lineStyle","opacity"]),c,1)})}},t}(tr),Qq=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.ignoreLabelLineUpdate=!0,r}return t.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=pA(r),d=new tr({shape:$(dA(r,i),h)});d.useStyle(r.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=d,u.add(d)}o.diff(s).add(function(p){var v=new Kq(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);sl(v,r,p)}).execute(),jq(r),r.get("animationTypeUpdate")!=="expansion"&&(this._data=o)},t.prototype.dispose=function(){},t.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}},t.type="pie",t}(qe);const Jq=Qq;function Bs(e,t,r){t=G(t)&&{coordDimensions:t}||$({encodeDefine:e.getEncode()},t);var n=e.getSource(),i=Bl(n,t).dimensions,a=new Wt(i,e);return a.initData(n,r),a}var eZ=function(){function e(t,r){this._getDataWithEncodedVisual=t,this._getRawData=r}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var r=this._getRawData();return r.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var r=this._getDataWithEncodedVisual();return r.indexOfName(t)},e.prototype.getItemVisual=function(t,r){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,r)},e}();const Ul=eZ;var tZ=Ae(),rZ=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ul(X(this.getData,this),X(this.getRawData,this)),this._defaultLabelLine(r)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return Bs(this,{coordDimensions:["value"],encodeDefaulter:ve(b5,this)})},t.prototype.getDataParams=function(r){var n=this.getData(),i=tZ(n),a=i.seats;if(!a){var o=[];n.each(n.mapDimension("value"),function(u){o.push(u)}),a=i.seats=iF(o,n.hostModel.get("percentPrecision"))}var s=e.prototype.getDataParams.call(this,r);return s.percent=a[r]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(r){Xa(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},t.type="series.pie",t.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"},t}(je);const nZ=rZ;function iZ(e){return{seriesType:e,reset:function(t,r){var n=t.getData();n.filterSelf(function(i){var a=n.mapDimension("value"),o=n.get(a,i);return!(Me(o)&&!isNaN(o)&&o<0)})}}}function aZ(e){e.registerChartView(Jq),e.registerSeriesModel(nZ),IS("pie",e.registerAction),e.registerLayout(ve(Zq,"pie")),e.registerProcessor(Hl("pie")),e.registerProcessor(iZ("pie"))}var oZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r,n){return Kn(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(r,n,i){return i.point(n.getItemLayout(r))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.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"}},t}(je);const sZ=oZ;var gA=4,uZ=function(){function e(){}return e}(),lZ=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new uZ},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.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]<gA,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)},t.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)}},t.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},t.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},t.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},t}(we),cZ=function(){function e(){this.group=new le}return e.prototype.updateData=function(t,r){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,r)},e.prototype.updateLayout=function(t){var r=t.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()})},e.prototype.incrementalPrepareUpdate=function(t){this._clear()},e.prototype.incrementalUpdate=function(t,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=t.end,i.setShape({points:u})}else{this._newAdded=[];var l=this._create();l.startIndex=t.start,l.endIndex=t.end,l.incremental=!0,l.setShape({points:a}),this._setCommon(l,r,n)}},e.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},e.prototype._create=function(){var t=new lZ({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},e.prototype._setCommon=function(t,r,n){var i=r.hostModel;n=n||{};var a=r.getVisual("symbolSize");t.setShape("size",a instanceof Array?a:[a,a]),t.softClipShape=n.clipShape||null,t.symbolProxy=ct(r.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<gA;t.useStyle(i.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=r.getVisual("style"),u=s&&s.fill;u&&t.setColor(u);var l=ce(t);l.seriesIndex=i.seriesIndex,t.on("mousemove",function(c){l.dataIndex=null;var f=t.hoverDataIdx;f>=0&&(l.dataIndex=f+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const fZ=cZ;var hZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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},t.prototype.incrementalPrepareRender=function(r,n,i){var a=r.getData(),o=this._updateSymbolDraw(a,r);o.incrementalPrepareUpdate(a),this._finished=!1},t.prototype.incrementalRender=function(r,n,i){this._symbolDraw.incrementalUpdate(r,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=r.end===n.getData().count()},t.prototype.updateTransform=function(r,n,i){var a=r.getData();if(this.group.dirty(),!this._finished||a.count()>1e4)return{update:!0};var o=Gl("").reset(r,n,i);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout(a)},t.prototype.eachRendered=function(r){this._symbolDraw&&this._symbolDraw.eachRendered(r)},t.prototype._getClipShape=function(r){if(r.get("clip",!0)){var n=r.coordinateSystem;return n&&n.getArea&&n.getArea(.1)}},t.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 fZ:new zl,this._isLargeDraw=o,this.group.removeAll()),this.group.add(i.group),i},t.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(qe);const dZ=hZ;var pZ=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.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"},t}(Ce);const vZ=pZ;var Od=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",lt).models[0]},t.type="cartesian2dAxis",t}(Ce);ft(Od,Fl);var mA={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)"]}}},gZ=ge({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},mA),j5=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}}},mA),mZ=ge({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},j5),yZ=ae({logBase:10},j5);const yA={category:gZ,value:j5,time:mZ,log:yZ};var _Z={value:1,category:1,time:1,log:1};function vs(e,t,r,n){E(_Z,function(i,a){var o=ge(ge({},yA[a],!0),n,!0),s=function(u){F(l,u);function l(){var c=u!==null&&u.apply(this,arguments)||this;return c.type=t+"Axis."+a,c}return l.prototype.mergeDefaultAndTheme=function(c,f){var h=ll(this),d=h?ks(c):{},p=f.getTheme();ge(c,p.get(a+"Axis")),ge(c,this.getDefaultOption()),c.type=pg(c),h&&Bi(c,d,h)},l.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=kd.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=t+"Axis."+a,l.defaultOption=o,l}(r);e.registerComponentModel(s)}),e.registerSubTypeDefaulter(t+"Axis",pg)}function pg(e){return e.type||(e.data?"category":"value")}var bZ=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return H(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Ne(this.getAxes(),function(r){return r.scale.type===t})},e.prototype.addAxis=function(t){var r=t.dim;this._axes[r]=t,this._dimList.push(r)},e}();const xZ=bZ;var Bd=["x","y"];function vg(e){return e.type==="interval"||e.type==="time"}var wZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="cartesian2d",r.dimensions=Bd,r}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var r=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!vg(r)||!vg(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=ws([],p)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.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]))},t.prototype.containData=function(r){return this.getAxis("x").containData(r[0])&&this.getAxis("y").containData(r[1])},t.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)},t.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 At(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},t.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},t.prototype.pointToData=function(r,n){var i=[];if(this._invTransform)return At(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},t.prototype.getOtherAxis=function(r){return this.getAxis(r.dim==="x"?"y":"x")},t.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)},t}(xZ),SZ=function(e){F(t,e);function t(r,n,i,a,o){var s=e.call(this,r,n,i)||this;return s.index=0,s.type=a||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},t.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},t.prototype.pointToData=function(r,n){return this.coordToData(this.toLocalCoord(r[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(r){if(this.type!=="category")return!1;this.model.option.categorySortInfo=r,this.scale.setSortInfo(r)},t}(Qr);const CZ=SZ;function Fd(e,t,r){r=r||{};var n=e.coordinateSystem,i=t.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=t.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,t.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),ut(r.labelInside,t.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var m=t.get(["axisLabel","rotate"]);return a.labelRotate=u==="top"?-m:m,a.z2=1,a}function gg(e){return e.get("coordinateSystem")==="cartesian2d"}function mg(e){var t={xAxisModel:null,yAxisModel:null};return E(t,function(r,n){var i=n.replace(/Model$/,""),a=e.getReferringComponents(i,lt).models[0];if(process.env.NODE_ENV!=="production"&&!a)throw new Error(i+' "'+kr(e.get(i+"Index"),e.get(i+"Id"),0)+'" not found');t[n]=a}),t}var m6=Math.log;function _A(e,t,r){var n=Vi.prototype,i=n.getTicks.call(r),a=n.getTicks.call(r,!0),o=i.length-1,s=n.getInterval.call(r),u=xC(e,t),l=u.extent,c=u.fixMin,f=u.fixMax;if(e.type==="log"){var h=m6(e.base);l=[m6(l[0])/h,m6(l[1])/h]}e.setExtent(l[0],l[1]),e.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:f});var d=n.getExtent.call(e);c&&(l[0]=d[0]),f&&(l[1]=d[1]);var p=n.getInterval.call(e),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=r6(p),g=l[0]+p*o;else if(f)for(v=l[1]-p*o;v>l[0]&&isFinite(v)&&isFinite(l[0]);)p=r6(p),v=l[1]-p*o;else{var m=e.getTicks().length-1;m>o&&(p=r6(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(e,v+p*_,g+p*b),n.setInterval.call(e,p),(_||b)&&n.setNiceExtent.call(e,v+p,g-p),process.env.NODE_ENV!=="production"){var x=n.getTicks.call(e);x[1]&&(!hU(p)||ed(x[1].value)>ed(p))&&Qe("The ticks may be not readable when set min: "+t.get("min")+", max: "+t.get("max")+" and alignTicks: true")}}var AZ=function(){function e(t,r,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Bd,this._initCartesian(t,r,n),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,r){var n=this._axesMap;this._updateScale(t,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;Md(v)&&p.get("alignTicks")&&p.get("interval")==null?c.push(d):(ds(v,p),Md(v)&&(s=d))}c.length&&(s||(s=c.pop(),ds(s.scale,s.model)),E(c,function(g){_A(g.scale,g.model,s.scale)}))}}i(n.x),i(n.y);var a={};E(n.x,function(o){yg(n,"y",o,a)}),E(n.y,function(o){yg(n,"x",o,a)}),this.resize(this.model,r)},e.prototype.resize=function(t,r,n){var i=t.getBoxLayoutParams(),a=!n&&t.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=BU(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]),TZ(l,c?o.x:o.y)})}},e.prototype.getAxis=function(t,r){var n=this._axesMap[t];if(n!=null)return n[r||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,r){if(t!=null&&r!=null){var n="x"+t+"y"+r;return this._coordsMap[n]}ne(t)&&(r=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,a=this._coordsList;i<a.length;i++)if(a[i].getAxis("x").index===t||a[i].getAxis("y").index===r)return a[i]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(t,r,n){var i=this._findConvertTarget(r);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},e.prototype.convertFromPixel=function(t,r,n){var i=this._findConvertTarget(r);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},e.prototype._findConvertTarget=function(t){var r=t.seriesModel,n=t.xAxisModel||r&&r.getReferringComponents("xAxis",lt).models[0],i=t.yAxisModel||r&&r.getReferringComponents("yAxis",lt).models[0],a=t.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}},e.prototype.containPoint=function(t){var r=this._coordsList[0];if(r)return r.containPoint(t)},e.prototype._initCartesian=function(t,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 wZ(p);v.master=i,v.model=t,i._coordsMap[p]=v,i._coordsList.push(v),v.addAxis(c),v.addAxis(h)})});function l(c){return function(f,h){if(y6(f,t)){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 CZ(c,T2(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]++}}}},e.prototype._updateScale=function(t,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)}}),t.eachSeries(function(i){if(gg(i)){var a=mg(i),o=a.xAxisModel,s=a.yAxisModel;if(!y6(o,r)||!y6(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(hc(i,a.dim),function(o){a.scale.unionExtentFromData(i,o)})}},e.prototype.getTooltipAxes=function(t){var r=[],n=[];return E(this.getCartesians(),function(i){var a=t!=null&&t!=="auto"?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(a);_e(r,a)<0&&r.push(a),_e(n,o)<0&&n.push(o)}),{baseAxes:r,otherAxes:n}},e.create=function(t,r){var n=[];return t.eachComponent("grid",function(i,a){var o=new e(i,t,r);o.name="grid_"+a,o.resize(i,r,!0),i.coordinateSystem=o,n.push(o)}),t.eachSeries(function(i){if(gg(i)){var a=mg(i),o=a.xAxisModel,s=a.yAxisModel,u=o.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!u)throw new Error('Grid "'+kr(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},e.dimensions=Bd,e}();function y6(e,t){return e.getCoordSysModel()===t}function yg(e,t,r,n){r.getAxesOnZeroOf=function(){return a?[a]:[]};var i=e[t],a,o=r.model,s=o.get(["axisLine","onZero"]),u=o.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(u!=null)_g(i[u])&&(a=i[u]);else for(var l in i)if(i.hasOwnProperty(l)&&_g(i[l])&&!n[c(i[l])]){a=i[l];break}a&&(n[c(a)]=!0);function c(f){return f.dim+"_"+f.index}}function _g(e){return e&&e.type!=="category"&&e.type!=="time"&&OU(e)}function TZ(e,t){var r=e.getExtent(),n=r[0]+r[1];e.toGlobalCoord=e.dim==="x"?function(i){return i+t}:function(i){return n-i+t},e.toLocalCoord=e.dim==="x"?function(i){return i-t}:function(i){return n-i+t}}const DZ=AZ;var Ai=Math.PI,Wa=function(){function e(t,r){this.group=new le,this.opt=r,this.axisModel=t,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 e.prototype.hasBuilder=function(t){return!!bg[t]},e.prototype.add=function(t){bg[t](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(t,r,n){var i=yx(r-t),a,o;return il(i)?(o=n>0?"top":"bottom",a="center"):il(i-Ai)?(o=n>0?"bottom":"top",a="center"):(o="middle",i>0&&i<Ai?a=n>0?"right":"left":a=n>0?"left":"right"),{rotation:i,textAlign:a,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var r={componentType:t.mainType,componentIndex:t.componentIndex};return r[t.mainType+"Index"]=t.componentIndex,r},e.isLabelSilent=function(t){var r=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||r&&r.show)},e}(),bg={axisLine:function(e,t,r,n){var i=t.get(["axisLine","show"]);if(i==="auto"&&e.handleAutoShown&&(i=e.handleAutoShown("axisLine")),!!i){var a=t.axis.getExtent(),o=n.transform,s=[a[0],0],u=[a[1],0],l=s[0]>u[0];o&&(At(s,s,o),At(u,u,o));var c=$({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new xt({shape:{x1:s[0],y1:s[1],x2:u[0],y2:u[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});cs(f.shape,f.style.lineWidth),f.anid="line",r.add(f);var h=t.get(["axisLine","symbol"]);if(h!=null){var d=t.get(["axisLine","symbolSize"]);Z(h)&&(h=[h,h]),(Z(d)||Me(d))&&(d=[d,d]);var p=lo(t.get(["axisLine","symbolOffset"])||0,d),v=d[0],g=d[1];E([{rotate:e.rotation+Math.PI/2,offset:p[0],r:0},{rotate:e.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(e.rotation),y:x[1]-b*Math.sin(e.rotation),silent:!0,z2:11}),r.add(_)}})}}},axisTickLabel:function(e,t,r,n){var i=MZ(r,n,t,e),a=LZ(r,n,t,e);if(kZ(t,a,i),IZ(r,n,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=NC(H(a,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));FC(o)}},axisName:function(e,t,r,n){var i=ut(e.axisName,t.get("name"));if(i){var a=t.get("nameLocation"),o=e.nameDirection,s=t.getModel("nameTextStyle"),u=t.get("nameGap")||0,l=t.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,wg(a)?e.labelOffset+o*u:0],h,d=t.get("nameRotate");d!=null&&(d=d*Ai/180);var p;wg(a)?h=Wa.innerTextLayout(e.rotation,d??e.rotation,o):(h=EZ(e.rotation,a,d||0,l),p=e.axisNameAvailableWidth,p!=null&&(p=Math.abs(p/Math.sin(h.rotation)),!isFinite(p)&&(p=null)));var v=s.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,y=ut(e.nameTruncateMaxWidth,g.maxWidth,p),_=new ke({x:f[0],y:f[1],rotation:h.rotation,silent:Wa.isLabelSilent(t),style:Ue(s,{text:i,font:v,overflow:"truncate",width:y,ellipsis:m,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(oo({el:_,componentModel:t,itemName:i}),_.__fullText=i,_.anid="name",t.get("triggerEvent")){var b=Wa.makeAxisEventDataBase(t);b.targetType="axisName",b.name=i,ce(_).eventData=b}n.add(_),_.updateTransform(),r.add(_),_.decomposeTransform()}}};function EZ(e,t,r,n){var i=yx(r-e),a,o,s=n[0]>n[1],u=t==="start"&&!s||t!=="start"&&s;return il(i-Ai/2)?(o=u?"bottom":"top",a="center"):il(i-Ai*1.5)?(o=u?"top":"bottom",a="center"):(o="middle",i<Ai*1.5&&i>Ai/2?a=u?"left":"right":a=u?"right":"left"),{rotation:i,textAlign:a,textVerticalAlign:o}}function kZ(e,t,r){if(!wC(e.axis)){var n=e.get(["axisLabel","showMinLabel"]),i=e.get(["axisLabel","showMaxLabel"]);t=t||[],r=r||[];var a=t[0],o=t[1],s=t[t.length-1],u=t[t.length-2],l=r[0],c=r[1],f=r[r.length-1],h=r[r.length-2];n===!1?(vr(a),vr(l)):xg(a,o)&&(n?(vr(o),vr(c)):(vr(a),vr(l))),i===!1?(vr(s),vr(f)):xg(u,s)&&(i?(vr(u),vr(h)):(vr(s),vr(f)))}}function vr(e){e&&(e.ignore=!0)}function xg(e,t){var r=e&&e.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!r||!n)){var i=jc([]);return ao(i,i,-e.rotation),r.applyTransform(On([],i,e.getLocalTransform())),n.applyTransform(On([],i,t.getLocalTransform())),r.intersect(n)}}function wg(e){return e==="middle"||e==="center"}function bA(e,t,r,n,i){for(var a=[],o=[],s=[],u=0;u<e.length;u++){var l=e[u].coord;o[0]=l,o[1]=0,s[0]=l,s[1]=r,t&&(At(o,o,t),At(s,s,t));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});cs(c.shape,c.style.lineWidth),c.anid=i+"_"+e[u].tickValue,a.push(c)}return a}function MZ(e,t,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=bA(l,t.transform,u,ae(s.getLineStyle(),{stroke:r.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)e.add(c[f]);return c}}function IZ(e,t,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=bA(o[c],t.transform,u,l,"minorticks_"+c),h=0;h<f.length;h++)e.add(f[h])}}function LZ(e,t,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)*Ai/180,c=Wa.innerTextLayout(n.rotation,l,n.labelDirection),f=r.getCategories&&r.getCategories(!0),h=[],d=Wa.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),L=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(L.anid="label_"+m,oo({el:L,componentModel:r,itemName:y,formatterParamsExtra:{isTruncated:function(){return L.isTruncated},value:_,tickIndex:g}}),p){var N=Wa.makeAxisEventDataBase(r);N.targetType="axisLabel",N.value=_,N.tickIndex=g,i.type==="category"&&(N.dataIndex=m),ce(L).eventData=N}t.add(L),L.updateTransform(),h.push(L),e.add(L),L.decomposeTransform()}),h}}const Zn=Wa;function PZ(e,t){var r={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return RZ(r,e,t),r.seriesInvolved&&OZ(r,e),r}function RZ(e,t,r){var n=t.getComponent("tooltip"),i=t.getComponent("axisPointer"),a=i.get("link",!0)||[],o=[];E(r.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var u=ml(s.model),l=e.coordSysAxesInfo[u]={};e.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&&!Vd(_))){m==null&&(m=_.get("triggerTooltip")),_=g?NZ(y,f,i,t,g,m):_;var x=_.get("snap"),w=_.get("triggerEmphasis"),S=ml(y.model),C=m||x||y.type==="category",A=e.axesInfo[S]={key:S,axis:y,coordSys:s,axisPointerModel:_,triggerTooltip:m,triggerEmphasis:w,involveSeries:C,snap:x,useHandle:Vd(_),seriesModels:[],linkGroup:null};l[S]=A,e.seriesInvolved=e.seriesInvolved||C;var T=BZ(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 NZ(e,t,r,n,i,a){var o=t.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=e.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 e.model.getModel("axisPointer",new We(u,r,n))}function OZ(e,t){t.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(e.coordSysAxesInfo[ml(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 BZ(e,t){for(var r=t.model,n=t.dim,i=0;i<e.length;i++){var a=e[i]||{};if(_6(a[n+"AxisId"],r.id)||_6(a[n+"AxisIndex"],r.componentIndex)||_6(a[n+"AxisName"],r.name))return i}}function _6(e,t){return e==="all"||G(e)&&_e(e,t)>=0||e===t}function FZ(e){var t=K5(e);if(t){var r=t.axisPointerModel,n=t.axis.scale,i=r.option,a=r.get("status"),o=r.get("value");o!=null&&(o=n.parse(o));var s=Vd(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=t.axis.scale.isBlank()?"hide":"show")}}function K5(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[ml(e)]}function VZ(e){var t=K5(e);return t&&t.axisPointerModel}function Vd(e){return!!e.get(["handle","show"])}function ml(e){return e.type+"||"+e.id}var b6={},zZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i,a){this.axisPointerClass&&FZ(r),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(r,i,!0)},t.prototype.updateAxisPointer=function(r,n,i,a){this._doUpdateAxisPointerClass(r,i,!1)},t.prototype.remove=function(r,n){var i=this._axisPointer;i&&i.remove(n)},t.prototype.dispose=function(r,n){this._disposeAxisPointer(n),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(r,n,i){var a=t.getAxisPointerClass(this.axisPointerClass);if(a){var o=VZ(r);o?(this._axisPointer||(this._axisPointer=new a)).render(r,o,n,i):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(r){this._axisPointer&&this._axisPointer.dispose(r),this._axisPointer=null},t.registerAxisPointerClass=function(r,n){if(process.env.NODE_ENV!=="production"&&b6[r])throw new Error("axisPointer "+r+" exists");b6[r]=n},t.getAxisPointerClass=function(r){return r&&b6[r]},t.type="axis",t}(et);const ho=zZ;var zd=Ae();function xA(e,t,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=zd(e).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),t.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}zd(e).splitAreaColors=h}}}function wA(e){zd(e).splitAreaColors=null}var $Z=["axisLine","axisTickLabel","axisName"],GZ=["splitArea","splitLine","minorSplitLine"],SA=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="CartesianAxisPointer",r}return t.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=Fd(s,r),l=new Zn(r,$({handleAutoShown:function(f){for(var h=s.coordinateSystem.getCartesians(),d=0;d<h.length;d++)if(Md(h[d].getOtherAxis(r.axis).scale))return!0;return!1}},u));E($Z,l.add,l),this._axisGroup.add(l.getGroup()),E(GZ,function(f){r.get([f,"show"])&&HZ[f](this,this._axisGroup,r,s)},this);var c=a&&a.type==="changeAxisOrder"&&a.isInitSort;c||Rl(o,this._axisGroup,r),e.prototype.render.call(this,r,n,i,a)}},t.prototype.remove=function(){wA(this)},t.type="cartesianAxis",t}(ho),HZ={splitLine:function(e,t,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});cs(x.shape,g.lineWidth),t.add(x)}}}},minorSplitLine:function(e,t,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});cs(g.shape,h.lineWidth),t.add(g)}},splitArea:function(e,t,r,n){xA(e,t,r,n)}},CA=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="xAxis",t}(SA),UZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=CA.type,r}return t.type="yAxis",t}(SA),WZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="grid",r}return t.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}))},t.type="grid",t}(et),Sg={offset:0};function AA(e){e.registerComponentView(WZ),e.registerComponentModel(vZ),e.registerCoordinateSystem("cartesian2d",DZ),vs(e,"x",Od,Sg),vs(e,"y",Od,Sg),e.registerComponentView(CA),e.registerComponentView(UZ),e.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function qZ(e){be(AA),e.registerSeriesModel(sZ),e.registerChartView(dZ),e.registerLayout(Gl("scatter"))}function ZZ(e){e.eachSeriesByType("radar",function(t){var r=t.getData(),n=[],i=t.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]=Cg(c)?c:Ag(i)})}),r.each(function(o){var s=TO(n[o],function(u){return Cg(u)})||Ag(i);n[o].push(s.slice()),r.setItemLayout(o,n[o])})}})}function Cg(e){return!isNaN(e[0])&&!isNaN(e[1])}function Ag(e){return[e.cx,e.cy]}function YZ(e){var t=e.polar;if(t){G(t)||(t=[t]);var r=[];E(t,function(n,i){n.indicator?(n.type&&!n.shape&&(n.shape=n.type),e.radar=e.radar||[],G(e.radar)||(e.radar=[e.radar]),e.radar.push(n)):r.push(n)}),e.polar=r}E(e.series,function(n){n&&n.type==="radar"&&n.polarIndex&&(n.radarIndex=n.polarIndex)})}var XZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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=Ns(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]),so[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 rr,v=new ir,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),jr(g),jr(v),Le(v,y,r),Le(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:_})),Et(v,p,"lineStyle"),Et(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 Mt){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=""),kt(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},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(qe);const jZ=XZ;var KZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ul(X(this.getData,this),X(this.getRawData,this))},t.prototype.getInitialData=function(r,n){return Bs(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.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=_S(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})})})},t.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)}}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(je);const QZ=KZ;var su=yA.value;function Y1(e,t){return ae({show:t},e)}var JZ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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,Fl.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=d},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.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"}},su.axisLine),axisLabel:Y1(su.axisLabel,!1),axisTick:Y1(su.axisTick,!1),splitLine:Y1(su.splitLine,!0),splitArea:Y1(su.splitArea,!0),indicator:[]},t}(Ce);const eY=JZ;var tY=["axisLine","axisTickLabel","axisName"],rY=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=this.group;a.removeAll(),this._buildAxes(r),this._buildSplitLineAndArea(r)},t.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 Zn(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(tY,o.add,o),this.group.add(o.getGroup())},this)},t.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,I,O){var P=O%I.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 Hi({shape:{cx:b,cy:x,r:_[w].coord}}))}if(f&&w<_.length-1){var S=y(m,v,w);m[S].push(new s2({shape:{cx:b,cy:x,r0:_[w].coord,r:_[w+1].coord}}))}}else for(var C,A=H(i,function(N,I){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,I)})}),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 ir({shape:{points:D}}))}if(f&&T){var S=y(m,v,w-1);m[S].push(new rr({shape:{points:D.concat(T)}}))}T=D.slice().reverse()}var M=u.getLineStyle(),L=l.getAreaStyle();E(m,function(N,I){this.group.add(Tr(N,{style:ae({stroke:"none",fill:v[I%v.length]},L),silent:!0}))},this),E(g,function(N,I){this.group.add(Tr(N,{style:ae({fill:"none",stroke:p[I%p.length]},M),silent:!0}))},this)},t.type="radar",t}(et);const nY=rY;var iY=function(e){F(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return a.type="value",a.angle=0,a.name="",a}return t}(Qr);const aY=iY;var oY=function(){function e(t,r,n){this.dimensions=[],this._model=t,this._indicatorAxes=H(t.getIndicatorModels(),function(i,a){var o="indicator_"+a,s=new aY(o,new Vi);return s.name=i.get("name"),s.model=i,i.axis=s,this.dimensions.push(o),s},this),this.resize(t,n)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(t,r){var n=this._indicatorAxes[r];return this.coordToPoint(n.dataToCoord(t),r)},e.prototype.coordToPoint=function(t,r){var n=this._indicatorAxes[r],i=n.angle,a=this.cx+t*Math.cos(i),o=this.cy-t*Math.sin(i);return[a,o]},e.prototype.pointToData=function(t){var r=t[0]-this.cx,n=t[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))]},e.prototype.resize=function(t,r){var n=t.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=t.get("startAngle")*Math.PI/180;var s=t.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)},e.prototype.update=function(t,r){var n=this._indicatorAxes,i=this._model;E(n,function(s){s.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(s,u){if(!(s.get("coordinateSystem")!=="radar"||t.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 Vi;o.setExtent(0,a),o.setInterval(1),E(n,function(s,u){_A(s.scale,s.model,o)})},e.prototype.convertToPixel=function(t,r,n){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(t,r,n){return console.warn("Not implemented."),null},e.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},e.create=function(t,r){var n=[];return t.eachComponent("radar",function(i){var a=new e(i,t,r);n.push(a),i.coordinateSystem=a}),t.eachSeriesByType("radar",function(i){i.get("coordinateSystem")==="radar"&&(i.coordinateSystem=n[i.get("radarIndex")||0])}),n},e.dimensions=[],e}();const sY=oY;function uY(e){e.registerCoordinateSystem("radar",sY),e.registerComponentModel(eY),e.registerComponentView(nY),e.registerVisual({seriesType:"radar",reset:function(t){var r=t.getData();r.each(function(n){r.setItemVisual(n,"legendIcon","roundRect")}),r.setVisual("legendIcon","roundRect")}})}function lY(e){be(uY),e.registerChartView(jZ),e.registerSeriesModel(QZ),e.registerLayout(ZZ),e.registerProcessor(Hl("radar")),e.registerPreprocessor(YZ)}var Tg="\0_ec_interaction_mutex";function cY(e,t,r){var n=Q5(e);n[t]=r}function fY(e,t,r){var n=Q5(e),i=n[t];i===r&&(n[t]=null)}function Dg(e,t){return!!Q5(e)[t]}function Q5(e){return e[Tg]||(e[Tg]={})}Tn({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},at);var hY=function(e){F(t,e);function t(r){var n=e.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 t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(r){this.pointerChecker=r},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(r){if(!Kp(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)}},t.prototype._mousemoveHandler=function(r){if(!(!this._dragging||!E0("moveOnMouseMove",r,this._opt)||r.gestureEvent==="pinch"||Dg(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&&Gn(r.event),TA(this,"pan","moveOnMouseMove",r,{dx:s,dy:u,oldX:a,oldY:o,newX:n,newY:i,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(r){Kp(r)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(r){var n=E0("zoomOnMouseWheel",r,this._opt),i=E0("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;x6(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);x6(this,"scrollMove","moveOnMouseWheel",r,{scrollDelta:h,originX:s,originY:u,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(r){if(!Dg(this._zr,"globalPan")){var n=r.pinchScale>1?1.1:1/1.1;x6(this,"zoom",null,r,{scale:n,originX:r.pinchX,originY:r.pinchY,isAvailableBehavior:null})}},t}(Rr);function x6(e,t,r,n,i){e.pointerChecker&&e.pointerChecker(n,i.originX,i.originY)&&(Gn(n.event),TA(e,t,r,n,i))}function TA(e,t,r,n,i){i.isAvailableBehavior=X(E0,null,r,n),e.trigger(t,i)}function E0(e,t,r){var n=r[e];return!e||n&&(!Z(n)||t.event[n+"Key"])}const Wl=hY;function J5(e,t,r){var n=e.target;n.x+=t,n.y+=r,n.dirty()}function e7(e,t,r,n){var i=e.target,a=e.zoomLimit,o=e.zoom=e.zoom||1;if(o*=t,a){var s=a.min||0,u=a.max||1/0;o=Math.max(Math.min(u,o),s)}var l=o/e.zoom;e.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 dY={axisPointer:1,tooltip:1,brush:1};function E2(e,t,r){var n=t.getComponentByElement(e.topTarget),i=n&&n.coordinateSystem;return n&&n!==r&&!dY.hasOwnProperty(n.mainType)&&i&&i.model!==r}function DA(e){if(Z(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var r=e;for(r.nodeType===9&&(r=r.firstChild);r.nodeName.toLowerCase()!=="svg"||r.nodeType!==1;)r=r.nextSibling;return r}var w6,yc={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"},Eg=Se(yc),_c={"alignment-baseline":"textBaseline","stop-color":"stopColor"},kg=Se(_c),pY=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(t,r){r=r||{};var n=DA(t);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),ar(n,i,null,!0,!1);for(var l=n.firstChild;l;)this._parseNode(l,i,a,null,!1,!1),l=l.nextSibling;mY(this._defs,this._defsUsePending),this._defsUsePending=[];var c,f;if(o){var h=k2(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=kA(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}},e.prototype._parseNode=function(t,r,n,i,a,o){var s=t.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=w6[s];if(c&&j(w6,s)){u=c.call(this,t,r);var f=t.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=Mg[s];if(d&&j(Mg,s)){var p=d.call(this,t),v=t.getAttribute("id");v&&(this._defs[v]=p)}}if(u&&u.isGroup)for(var g=t.firstChild;g;)g.nodeType===1?this._parseNode(g,u,n,l,a,o):g.nodeType===3&&o&&this._parseText(g,u),g=g.nextSibling},e.prototype._parseText=function(t,r){var n=new al({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});gr(r,n),ar(t,n,this._defsUsePending,!1,!1),vY(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},e.internalField=function(){w6={g:function(t,r){var n=new le;return gr(r,n),ar(t,n,this._defsUsePending,!1,!1),n},rect:function(t,r){var n=new Ee;return gr(r,n),ar(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,r){var n=new Hi;return gr(r,n),ar(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,r){var n=new xt;return gr(r,n),ar(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,r){var n=new u5;return gr(r,n),ar(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,r){var n=t.getAttribute("points"),i;n&&(i=Pg(n));var a=new rr({shape:{points:i||[]},silent:!0});return gr(r,a),ar(t,a,this._defsUsePending,!1,!1),a},polyline:function(t,r){var n=t.getAttribute("points"),i;n&&(i=Pg(n));var a=new ir({shape:{points:i||[]},silent:!0});return gr(r,a),ar(t,a,this._defsUsePending,!1,!1),a},image:function(t,r){var n=new Mt;return gr(r,n),ar(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,r){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",a=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(a),this._textY=parseFloat(i)+parseFloat(o);var s=new le;return gr(r,s),ar(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,r){var n=t.getAttribute("x"),i=t.getAttribute("y");n!=null&&(this._textX=parseFloat(n)),i!=null&&(this._textY=parseFloat(i));var a=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",s=new le;return gr(r,s),ar(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(a),this._textY+=parseFloat(o),s},path:function(t,r){var n=t.getAttribute("d")||"",i=nw(n);return gr(r,i),ar(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),e}(),Mg={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),r=parseInt(e.getAttribute("y1")||"0",10),n=parseInt(e.getAttribute("x2")||"10",10),i=parseInt(e.getAttribute("y2")||"0",10),a=new Pl(t,r,n,i);return Ig(e,a),Lg(e,a),a},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),r=parseInt(e.getAttribute("cy")||"0",10),n=parseInt(e.getAttribute("r")||"0",10),i=new gw(t,r,n);return Ig(e,i),Lg(e,i),i}};function Ig(e,t){var r=e.getAttribute("gradientUnits");r==="userSpaceOnUse"&&(t.global=!0)}function Lg(e,t){for(var r=e.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={};EA(r,a,a);var o=a.stopColor||r.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:i,color:o})}r=r.nextSibling}}function gr(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),ae(t.__inheritedStyle,e.__inheritedStyle))}function Pg(e){for(var t=k2(e),r=[],n=0;n<t.length;n+=2){var i=parseFloat(t[n]),a=parseFloat(t[n+1]);r.push([i,a])}return r}function ar(e,t,r,n,i){var a=t,o=a.__inheritedStyle=a.__inheritedStyle||{},s={};e.nodeType===1&&(bY(e,t),EA(e,o,s),n||xY(e,o,s)),a.style=a.style||{},o.fill!=null&&(a.style.fill=Rg(a,"fill",o.fill,r)),o.stroke!=null&&(a.style.stroke=Rg(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(k2(o.lineDash),function(u){return parseFloat(u)})),(o.visibility==="hidden"||o.visibility==="collapse")&&(a.invisible=!0),o.display==="none"&&(a.ignore=!0)}function vY(e,t){var r=t.__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"),e.style.textBaseline=i}var a=t.__inheritedStyle;if(a){var o=a.textAlign,s=o;o&&(o==="middle"&&(s="center"),e.style.textAlign=s)}}var gY=/^url\(\s*#(.*?)\)/;function Rg(e,t,r,n){var i=r&&r.match(gY);if(i){var a=Hr(i[1]);n.push([e,t,a]);return}return r==="none"&&(r=null),r}function mY(e,t){for(var r=0;r<t.length;r++){var n=t[r];n[0].style[n[1]]=e[n[2]]}}var yY=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function k2(e){return e.match(yY)||[]}var _Y=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,S6=Math.PI/180;function bY(e,t){var r=e.getAttribute("transform");if(r){r=r.replace(/,/g," ");var n=[],i=null;r.replace(_Y,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=k2(o);switch(i=i||lr(),s){case"translate":yn(i,i,[parseFloat(u[0]),parseFloat(u[1]||"0")]);break;case"scale":W4(i,i,[parseFloat(u[0]),parseFloat(u[1]||u[0])]);break;case"rotate":ao(i,i,-parseFloat(u[0])*S6,[parseFloat(u[1]||"0"),parseFloat(u[2]||"0")]);break;case"skewX":var l=Math.tan(parseFloat(u[0])*S6);On(i,[1,0,l,1,0,0],i);break;case"skewY":var c=Math.tan(parseFloat(u[0])*S6);On(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}}t.setLocalTransform(i)}}var Ng=/([^\s:;]+)\s*:\s*([^:;]+)/g;function EA(e,t,r){var n=e.getAttribute("style");if(n){Ng.lastIndex=0;for(var i;(i=Ng.exec(n))!=null;){var a=i[1],o=j(yc,a)?yc[a]:null;o&&(t[o]=i[2]);var s=j(_c,a)?_c[a]:null;s&&(r[s]=i[2])}}}function xY(e,t,r){for(var n=0;n<Eg.length;n++){var i=Eg[n],a=e.getAttribute(i);a!=null&&(t[yc[i]]=a)}for(var n=0;n<kg.length;n++){var i=kg[n],a=e.getAttribute(i);a!=null&&(r[_c[i]]=a)}}function kA(e,t){var r=t.width/e.width,n=t.height/e.height,i=Math.min(r,n);return{scale:i,x:-(e.x+e.width/2)*i+(t.x+t.width/2),y:-(e.y+e.height/2)*i+(t.y+t.height/2)}}function wY(e,t){var r=new pY;return r.parse(e,t)}var SY=J(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),CY=function(){function e(t,r){this.type="geoSVG",this._usedGraphicMap=J(),this._freedGraphics=[],this._mapName=t,this._parsedXML=DA(r)}return e.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var r=TY(t.named),n=r.regions,i=r.regionsMap;this._regions=n,this._regionsMap=i}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(t){var r,n;try{r=t&&wY(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=r.root,ie(n!=null)}catch(g){throw new Error(`Invalid svg format
|
|
94
|
+
`+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=kA(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){SY.get(g.svgNodeTagLower)!=null&&(v.push(g),AY(g.el))}),{root:i,boundingRect:u,named:v}},e.prototype.useGraphic=function(t){var r=this._usedGraphicMap,n=r.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),r.set(t,n),n)},e.prototype.freeGraphic=function(t){var r=this._usedGraphicMap,n=r.get(t);n&&(r.removeKey(t),this._freedGraphics.push(n))},e}();function AY(e){e.silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1})}function TY(e){var t=[],r=J();return E(e,function(n){if(n.namedFrom==null){var i=new HU(n.name,n.el);t.push(i),r.set(n.name,i)}}),{regions:t,regionsMap:r}}var $d=[126,25],Og="南海诸岛",ya=[[[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 ga=0;ga<ya.length;ga++)for(var Lo=0;Lo<ya[ga].length;Lo++)ya[ga][Lo][0]/=10.5,ya[ga][Lo][1]/=-10.5/.75,ya[ga][Lo][0]+=$d[0],ya[ga][Lo][1]+=$d[1];function DY(e,t){if(e==="china"){for(var r=0;r<t.length;r++)if(t[r].name===Og)return;t.push(new CC(Og,H(ya,function(n){return{type:"polygon",exterior:n}}),$d))}}var EY={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function kY(e,t){if(e==="china"){var r=EY[t.name];if(r){var n=t.getCenter();n[0]+=r[0]/10.5,n[1]+=-r[1]/(10.5/.75),t.setCenter(n)}}}var MY=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function IY(e,t){e==="china"&&t.name==="台湾"&&t.geometries.push({type:"polygon",exterior:MY[0]})}var LY="name",PY=function(){function e(t,r,n){this.type="geoJSON",this._parsedMap=J(),this._mapName=t,this._specialAreas=n,this._geoJSON=NY(r)}return e.prototype.load=function(t,r){r=r||LY;var n=this._parsedMap.get(r);if(!n){var i=this._parseToRegions(r);n=this._parsedMap.set(r,{regions:i,boundingRect:RY(i)})}var a=J(),o=[];return E(n.regions,function(s){var u=s.name;t&&j(t,u)&&(s=s.cloneShallow(u=t[u])),o.push(s),a.set(u,s)}),{regions:o,boundingRect:n.boundingRect||new ye(0,0,0,0),regionsMap:a}},e.prototype._parseToRegions=function(t){var r=this._mapName,n=this._geoJSON,i;try{i=n?WU(n,t):[]}catch(a){throw new Error(`Invalid geoJson format
|
|
95
|
+
`+a.message)}return DY(r,i),E(i,function(a){var o=a.name;kY(r,a),IY(r,a);var s=this._specialAreas&&this._specialAreas[o];s&&a.transformTo(s.left,s.top,s.width,s.height)},this),i},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function RY(e){for(var t,r=0;r<e.length;r++){var n=e[r].getBoundingRect();t=t||n.clone(),t.union(n)}return t}function NY(e){return Z(e)?typeof JSON<"u"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var uu=J();const Yn={registerMap:function(e,t,r){if(t.svg){var n=new CY(e,t.svg);uu.set(e,n)}else{var i=t.geoJson||t.geoJSON;i&&!t.features?r=t.specialAreas:i=t;var n=new PY(e,i,r);uu.set(e,n)}},getGeoResource:function(e){return uu.get(e)},getMapForUser:function(e){var t=uu.get(e);return t&&t.type==="geoJSON"&&t.getMapForUser()},load:function(e,t,r){var n=uu.get(e);if(!n){process.env.NODE_ENV!=="production"&&console.error("Map "+e+" not exists. The GeoJSON of the map must be provided.");return}return n.load(t,r)}};var t7=["rect","circle","line","ellipse","polygon","polyline","path"],OY=J(t7),BY=J(t7.concat(["g"])),FY=J(t7.concat(["g"])),MA=Ae();function X1(e){var t=e.getItemStyle(),r=e.get("areaColor");return r!=null&&(t.fill=r),t}function Bg(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var VY=function(){function e(t){var r=new le;this.uid=Ds("ec_map_draw"),this._controller=new Wl(t.getZr()),this._controllerHost={target:r},this.group=r,r.add(this._regionsGroup=new le),r.add(this._svgGroup=new le)}return e.prototype.draw=function(t,r,n,i,a){var o=t.mainType==="geo",s=t.getData&&t.getData();o&&r.eachComponent({mainType:"series",subType:"map"},function(m){!s&&m.getHostGeoModel()===t&&(s=m.getData())});var u=t.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()):Le(c,d,t);var v=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,g={api:n,geo:u,mapOrGeoModel:t,data:s,isVisualEncodedByVisualMap:v,isGeo:o,transformInfoRaw:h};u.resourceType==="geoJSON"?this._buildGeoJSON(g):u.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,r,n),this._updateMapSelectHandler(t,l,n,i)},e.prototype._buildGeoJSON=function(t){var r=this._regionsGroupByName=J(),n=J(),i=this._regionsGroup,a=t.transformInfoRaw,o=t.mapOrGeoModel,s=t.data,u=t.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(t.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=t.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=Hg(A,l)),E(A,function(D){b.push(new rr(h(D)))})}else{var T=C.points;l&&(T=Hg(T,l,!0)),E(T,function(D){x.push(new ir(h(D)))})}});var w=c(d.getCenter(),u&&u.project);function S(C,A){if(C.length){var T=new c5({culling:!0,segmentIgnoreThreshold:1,shape:{paths:C}});v.add(T),Fg(t,T,m,y),Vg(t,T,p,y,o,m,w),A&&(Bg(T),E(T.states,Bg))}}S(b),S(x,!0)}),r.each(function(d,p){var v=n.get(p),g=v.dataIdx,m=v.regionModel;zg(t,d,p,m,o,g),$g(t,d,p,m,o),Gg(t,d,p,m,o)},this)},e.prototype._buildSVG=function(t){var r=t.geo.map,n=t.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=t.mapOrGeoModel,l=t.data,c=o.svgNodeTagLower,f=o.el,h=l?l.indexOfName(s):null,d=u.getRegionModel(s);OY.get(c)!=null&&f instanceof Lr&&Fg(t,f,h,d),f instanceof Lr&&(f.culling=!0);var p=d.get("silent",!0);if(p!=null&&(f.silent=p),f.z2EmphasisLift=0,!o.namedFrom&&(FY.get(c)!=null&&Vg(t,f,s,d,u,h,null),zg(t,f,s,d,u,h),$g(t,f,s,d,u),BY.get(c)!=null)){var v=Gg(t,f,s,d,u);v==="self"&&(a=!0);var g=i.get(s)||i.set(s,[]);g.push(f)}},this),this._enableBlurEntireSVG(a,t)},e.prototype._enableBlurEntireSVG=function(t,r){if(t&&r.isGeo){var n=r.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),i=n.opacity;this._svgGraphicRecord.root.traverse(function(a){if(!a.isGroup){Qa(a);var o=a.ensureState("blur").style||{};o.opacity==null&&i!=null&&(o.opacity=i),a.ensureState("emphasis")}})}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(t,r){if(t==null)return[];var n=r.coordinateSystem;if(n.resourceType==="geoJSON"){var i=this._regionsGroupByName;if(i){var a=i.get(t);return a?[a]:[]}}else if(n.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},e.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},e.prototype._useSVG=function(t){var r=Yn.getGeoResource(t);if(r&&r.type==="geoSVG"){var n=r.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},e.prototype._freeSVG=function(){var t=this._svgMapName;if(t!=null){var r=Yn.getGeoResource(t);r&&r.type==="geoSVG"&&r.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(t,r,n){var i=t.coordinateSystem,a=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=i.getZoom(),a.enable(t.get("roam")||!1);var s=t.mainType;function u(){var l={type:"geoRoam",componentType:s};return l[s+"Id"]=t.id,l}a.off("pan").on("pan",function(l){this._mouseDownFlag=!1,J5(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,e7(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])&&!E2(l,n,t)})},e.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var r=t.getTextContent();r&&(r.ignore=MA(r).ignore)})},e.prototype._updateMapSelectHandler=function(t,r,n,i){var a=this;r.off("mousedown"),r.off("click"),t.get("selectedMode")&&(r.on("mousedown",function(){a._mouseDownFlag=!0}),r.on("click",function(o){a._mouseDownFlag&&(a._mouseDownFlag=!1)}))},e}();function Fg(e,t,r,n){var i=n.getModel("itemStyle"),a=n.getModel(["emphasis","itemStyle"]),o=n.getModel(["blur","itemStyle"]),s=n.getModel(["select","itemStyle"]),u=X1(i),l=X1(a),c=X1(s),f=X1(o),h=e.data;if(h){var d=h.getItemVisual(r,"style"),p=h.getItemVisual(r,"decal");e.isVisualEncodedByVisualMap&&d.fill&&(u.fill=d.fill),p&&(u.decal=hs(p,e.api))}t.setStyle(u),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=l,t.ensureState("select").style=c,t.ensureState("blur").style=f,Qa(t)}function Vg(e,t,r,n,i,a,o){var s=e.data,u=e.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;kt(t,gt(n),{labelFetcher:h,labelDataIndex:f,defaultText:r},d);var p=t.getTextContent();if(p&&(MA(p).ignore=p.ignore,t.textConfig&&o)){var v=t.getBoundingRect().clone();t.textConfig.layoutRect=v,t.textConfig.position=[(o[0]-v.x)/v.width*100+"%",(o[1]-v.y)/v.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function zg(e,t,r,n,i,a){e.data?e.data.setItemGraphicEl(a,t):ce(t).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:r,region:n&&n.option||{}}}function $g(e,t,r,n,i){e.data||oo({el:t,componentModel:i,itemName:r,itemTooltipOption:n.get("tooltip")})}function Gg(e,t,r,n,i){t.highDownSilentOnTouch=!!i.get("selectedMode");var a=n.getModel("emphasis"),o=a.get("focus");return Je(t,o,a.get("blurScope"),a.get("disabled")),e.isGeo&&OV(t,i,r),o}function Hg(e,t,r){var n=[],i;function a(){i=[]}function o(){i.length&&(n.push(i),i=[])}var s=t({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(e,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 IA=VY;var zY=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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 IA(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)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.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 Hi({style:{fill:r.getData().getVisual("style").fill},shape:{cx:c[0]+f*9,cy:c[1],r:3},silent:!0,z2:8+(f?0:Cs+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);kt(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(_){X0(h,_)}}o.add(h)}}})},t.type="map",t}(qe);const $Y=zY;var GY=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.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 t.prototype.getInitialData=function(r){for(var n=Bs(this,{coordDimensions:["value"],encodeDefaulter:ve(b5,this)}),i=J(),a=[],o=0,s=n.count();o<s;o++){var u=n.getName(o);i.set(u,o)}var l=Yn.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},t.prototype.getHostGeoModel=function(){var r=this.option.geoIndex;return r!=null?this.ecModel.getComponent("geo",r):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(r){var n=this.getData();return n.get(n.mapDimension("value"),r)},t.prototype.getRegionModel=function(r){var n=this.getData();return n.getItemModel(n.indexOfName(r))},t.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})]})},t.prototype.setZoom=function(r){this.option.zoom=r},t.prototype.setCenter=function(r){this.option.center=r},t.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},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.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"},t}(je);const HY=GY;function UY(e,t){var r={};return E(e,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)})}),e[0].map(e[0].mapDimension("value"),function(n,i){for(var a="ec-"+e[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 t==="min"?f=s:t==="max"?f=u:t==="average"?f=o/l:f=o,l===0?NaN:f})}function WY(e){var t={};e.eachSeriesByType("map",function(r){var n=r.getHostGeoModel(),i=n?"o"+n.id:"i"+r.getMapType();(t[i]=t[i]||[]).push(r)}),E(t,function(r,n){for(var i=UY(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 qY(e){var t={};e.eachSeriesByType("map",function(r){var n=r.getMapType();if(!(r.getHostGeoModel()||t[n])){var i={};E(r.seriesGroup,function(o){var s=o.coordinateSystem,u=o.originalData;o.get("showLegendSymbol")&&e.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)}),t[n]=!0}})}var Ug=At,ZY=function(e){F(t,e);function t(r){var n=e.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new Pn,n._rawTransformable=new Pn,n.name=r,n}return t.prototype.setBoundingRect=function(r,n,i,a){return this._rect=new ye(r,n,i,a),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(r,n,i,a){this._transformTo(r,n,i,a),this._viewRect=new ye(r,n,i,a)},t.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()},t.prototype.setCenter=function(r,n){r&&(this._center=[W(r[0],n.getWidth()),W(r[1],n.getHeight())],this._updateCenterAndZoom())},t.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()},t.prototype.getDefaultCenter=function(){var r=this.getBoundingRect(),n=r.x+r.width/2,i=r.y+r.height/2;return[n,i]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var r=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,i=this.getDefaultCenter(),a=this.getCenter(),o=this.getZoom();a=At([],a,r),i=At([],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()},t.prototype._updateTransform=function(){var r=this._roamTransformable,n=this._rawTransformable;n.parent=r,r.updateTransform(),n.updateTransform(),U4(this.transform||(this.transform=[]),n.transform||lr()),this._rawTransform=n.getLocalTransform(),this.invTransform=this.invTransform||[],ws(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var r=this._rawTransformable,n=this._roamTransformable,i=new Pn;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}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var r=this.getBoundingRect().clone();return r.applyTransform(this.transform),r},t.prototype.dataToPoint=function(r,n,i){var a=n?this._rawTransform:this.transform;return i=i||[],a?Ug(i,r,a):$t(i,r)},t.prototype.pointToData=function(r){var n=this.invTransform;return n?Ug([],r,n):[r[0],r[1]]},t.prototype.convertToPixel=function(r,n,i){var a=Wg(n);return a===this?a.dataToPoint(i):null},t.prototype.convertFromPixel=function(r,n,i){var a=Wg(n);return a===this?a.pointToData(i):null},t.prototype.containPoint=function(r){return this.getViewRectAfterRoam().contain(r[0],r[1])},t.dimensions=["x","y"],t}(Pn);function Wg(e){var t=e.seriesModel;return t?t.coordinateSystem:null}const ql=ZY;var YY={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},LA=["lng","lat"],PA=function(e){F(t,e);function t(r,n,i){var a=e.call(this,r)||this;a.dimensions=LA,a.type="geo",a._nameCoordMap=J(),a.map=n;var o=i.projection,s=Yn.load(n,i.nameMap,i.nameProperty),u=Yn.getGeoResource(n),l=a.resourceType=u?u.type:null,c=a.regions=s.regions,f=YY[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 t.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()},t.prototype.getRegion=function(r){return this._regionsMap.get(r)},t.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]}},t.prototype.addGeoCoord=function(r,n){this._nameCoordMap.set(r,n)},t.prototype.getGeoCoord=function(r){var n=this._regionsMap.get(r);return this._nameCoordMap.get(r)||n&&n.getCenter()},t.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)}},t.prototype.pointToData=function(r){var n=this.projection;return n&&(r=n.unproject(r)),r&&this.pointToProjected(r)},t.prototype.pointToProjected=function(r){return e.prototype.pointToData.call(this,r)},t.prototype.projectedToPoint=function(r,n,i){return e.prototype.dataToPoint.call(this,r,n,i)},t.prototype.convertToPixel=function(r,n,i){var a=qg(n);return a===this?a.dataToPoint(i):null},t.prototype.convertFromPixel=function(r,n,i){var a=qg(n);return a===this?a.pointToData(i):null},t}(ql);ft(PA,ql);function qg(e){var t=e.geoModel,r=e.seriesModel;return t?t.coordinateSystem:r?r.coordinateSystem||(r.getReferringComponents("geo",lt).models[0]||{}).coordinateSystem:null}const Zg=PA;function Yg(e,t){var r=e.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,L=a.project([w+T*M,S+D*M]);bi(n,n,L),xi(i,i,L)}};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=e.get("layoutCenter"),d=e.get("layoutSize"),p=t.getWidth(),v=t.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=e.getBoxLayoutParams();x.aspect=g,b=dt(x,{width:p,height:v})}this.setViewRect(b.x,b.y,b.width,b.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function XY(e,t){E(t.get("geoCoord"),function(r,n){e.addGeoCoord(n,r)})}var jY=function(){function e(){this.dimensions=LA}return e.prototype.create=function(t,r){var n=[];function i(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}t.eachComponent("geo",function(o,s){var u=o.get("map"),l=new Zg(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=Yg,l.resize(o,r)}),t.eachSeries(function(o){var s=o.get("coordinateSystem");if(s==="geo"){var u=o.get("geoIndex")||0;o.coordinateSystem=n[u]}});var a={};return t.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 Zg(s,s,$({nameMap:z4(u)},i(o[0])));l.zoomLimit=ut.apply(null,H(o,function(c){return c.get("scaleLimit")})),n.push(l),l.resize=Yg,l.resize(o[0],r),E(o,function(c){c.coordinateSystem=l,XY(l,c)})}),n},e.prototype.getFilledRegions=function(t,r,n,i){for(var a=(t||[]).slice(),o=J(),s=0;s<a.length;s++)o.set(a[s].name,a[s]);var u=Yn.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},e}(),KY=new jY;const RA=KY;var QY=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n,i){var a=Yn.getGeoResource(r.map);if(a&&a.type==="geoJSON"){var o=r.itemStyle=r.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(r,i),Xa(r,"label",["show"])},t.prototype.optionUpdated=function(){var r=this,n=this.option;n.regions=RA.getFilledRegions(n.regions,n.map,n.nameMap,n.nameProperty);var i={};this._optionModelMap=mn(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)},t.prototype.getRegionModel=function(r){return this._optionModelMap.get(r)||new We(null,this,this.ecModel)},t.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??"")},t.prototype.setZoom=function(r){this.option.zoom=r},t.prototype.setCenter=function(r){this.option.center=r},t.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}},t.prototype.unSelect=function(r){var n=this.option.selectedMap;n&&(n[r]=!1)},t.prototype.toggleSelected=function(r){this[this.isSelected(r)?"unSelect":"select"](r)},t.prototype.isSelected=function(r){var n=this.option.selectedMap;return!!(n&&n[r])},t.type="geo",t.layoutMode="box",t.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:[]},t}(Ce);const JY=QY;function Xg(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function r7(e,t,r,n){var i=e.getZoom(),a=e.getCenter(),o=t.zoom,s=e.projectedToPoint?e.projectedToPoint(a):e.dataToPoint(a);if(t.dx!=null&&t.dy!=null&&(s[0]-=t.dx,s[1]-=t.dy,e.setCenter(Xg(e,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}e.scaleX*=o,e.scaleY*=o;var c=(t.originX-e.x)*(o-1),f=(t.originY-e.y)*(o-1);e.x-=c,e.y-=f,e.updateTransform(),e.setCenter(Xg(e,s),n),e.setZoom(o*i)}return{center:e.getCenter(),zoom:e.getZoom()}}var eX=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.focusBlurEnabled=!0,r}return t.prototype.init=function(r,n){this._api=n},t.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 IA(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)},t.prototype._handleRegionClick=function(r){var n;La(r.target,function(i){return(n=ce(i).eventData)!=null},!0),n&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:n.name})},t.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})},t.prototype.findHighDownDispatchers=function(r){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(r,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(et);const tX=eX;function rX(e,t,r){Yn.registerMap(e,t,r)}function NA(e){e.registerCoordinateSystem("geo",RA),e.registerComponentModel(JY),e.registerComponentView(tX),e.registerImpl("registerMap",rX),e.registerImpl("getMap",function(r){return Yn.getMapForUser(r)});function t(r,n){n.update="geo:updateSelectStatus",e.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}})}t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.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=r7(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 nX(e){be(NA),e.registerChartView($Y),e.registerSeriesModel(HY),e.registerLayout(qY),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,WY),IS("map",e.registerAction)}function iX(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var r=[t],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 aX(e,t){var r=e.isExpand?e.children:[],n=e.parentNode.children,i=e.hierNode.i?n[e.hierNode.i-1]:null;if(r.length){uX(e);var a=(r[0].hierNode.prelim+r[r.length-1].hierNode.prelim)/2;i?(e.hierNode.prelim=i.hierNode.prelim+t(e,i),e.hierNode.modifier=e.hierNode.prelim-a):e.hierNode.prelim=a}else i&&(e.hierNode.prelim=i.hierNode.prelim+t(e,i));e.parentNode.hierNode.defaultAncestor=lX(e,i,e.parentNode.hierNode.defaultAncestor||n[0],t)}function oX(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function jg(e){return arguments.length?e:hX}function Tu(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function sX(e,t){return dt(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function uX(e){for(var t=e.children,r=t.length,n=0,i=0;--r>=0;){var a=t[r];a.hierNode.prelim+=n,a.hierNode.modifier+=n,i+=a.hierNode.change,n+=a.hierNode.shift+i}}function lX(e,t,r,n){if(t){for(var i=e,a=e,o=a.parentNode.children[0],s=t,u=i.hierNode.modifier,l=a.hierNode.modifier,c=o.hierNode.modifier,f=s.hierNode.modifier;s=C6(s),a=A6(a),s&&a;){i=C6(i),o=A6(o),i.hierNode.ancestor=e;var h=s.hierNode.prelim+f-a.hierNode.prelim-l+n(s,a);h>0&&(fX(cX(s,e,r),e,h),l+=h,u+=h),f+=s.hierNode.modifier,l+=a.hierNode.modifier,u+=i.hierNode.modifier,c+=o.hierNode.modifier}s&&!C6(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=f-u),a&&!A6(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=l-c,r=e)}return r}function C6(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function A6(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function cX(e,t,r){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:r}function fX(e,t,r){var n=r/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=n,t.hierNode.shift+=r,t.hierNode.modifier+=r,t.hierNode.prelim+=r,e.hierNode.change+=n}function hX(e,t){return e.parentNode===t.parentNode?1:2}var dX=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),pX=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new dX},t.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])}},t}(we),vX=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._mainGroup=new le,r}return t.prototype.init=function(r,n){this._controller=new Wl(n.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.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){Kg(a,c)&&Qg(a,c,null,s,r)}).update(function(c,f){var h=l.getItemGraphicEl(f);if(!Kg(a,c)){h&&e9(l,f,h,s,r);return}Qg(a,c,h,s,r)}).remove(function(c){var f=l.getItemGraphicEl(c);f&&e9(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},t.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=[];i2(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 ql;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},t.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)&&!E2(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){J5(s,l.dx,l.dy),i.dispatchAction({seriesId:r.id,type:"treeRoam",dx:l.dx,dy:l.dy})}).on("zoom",function(l){e7(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()})},t.prototype._updateNodeAndLinkScale=function(r){var n=r.getData(),i=this._getNodeGlobalScale(r);n.eachItemGraphicEl(function(a,o){a.setSymbolScale(i)})},t.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},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(qe);function Kg(e,t){var r=e.getItemLayout(t);return r&&!isNaN(r.x)&&!isNaN(r.y)}function Qg(e,t,r,n,i){var a=!r,o=e.tree.getNodeByDataIndex(t),s=o.getModel(),u=o.getVisual("style").fill,l=o.isExpand===!1&&o.children.length!==0?u:"#fff",c=e.tree.root,f=o.parentNode===c?o:o.parentNode||o,h=e.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 Vl(e,t,null,{symbolInnerColor:l,useNameLabel:!0}),r.x=p.x,r.y=p.y):r.updateData(e,t,null,{symbolInnerColor:l,useNameLabel:!0}),r.__radialOldRawX=r.__radialRawX,r.__radialOldRawY=r.__radialRawY,r.__radialRawX=v.rawX,r.__radialRawY=v.rawY,n.add(r),e.setItemGraphicEl(t,r),r.__oldX=r.x,r.__oldY=r.y,Le(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"?el(o.getAncestorsIndices(),o.getDescendantIndices()):k==="ancestor"?o.getAncestorsIndices():k==="descendant"?o.getDescendantIndices():null;M&&(ce(r).focus=M),gX(i,o,c,r,p,d,v,n),r.__edge&&(r.onHoverStateChange=function(L){if(L!=="blur"){var N=o.parentNode&&e.getItemGraphicEl(o.parentNode.dataIndex);N&&N.hoverState===Ll||X0(r.__edge,L)}})}function gX(e,t,r,n,i,a,o,s){var u=t.getModel(),l=e.get("edgeShape"),c=e.get("layout"),f=e.getOrient(),h=e.get(["lineStyle","curveness"]),d=e.get("edgeForkPosition"),p=u.getModel("lineStyle").getLineStyle(),v=n.__edge;if(l==="curve")t.parentNode&&t.parentNode!==r&&(v||(v=n.__edge=new u2({shape:Gd(c,f,h,i,i)})),Le(v,{shape:Gd(c,f,h,a,o)},e));else if(l==="polyline"){if(c==="orthogonal"){if(t!==r&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,m=[],y=0;y<g.length;y++){var _=g[y].getLayout();m.push([_.x,_.y])}v||(v=n.__edge=new pX({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:f,forkPosition:d}})),Le(v,{shape:{parentPoint:[o.x,o.y],childPoints:m}},e)}}else if(process.env.NODE_ENV!=="production")throw new Error("The polyline edgeShape can only be used in orthogonal layout")}v&&!(l==="polyline"&&!t.isExpand)&&(v.useStyle(ae({strokeNoScale:!0,fill:null},p)),Et(v,u,"lineStyle"),Qa(v),s.add(v))}function Jg(e,t,r,n,i){var a=t.tree.root,o=OA(a,e),s=o.source,u=o.sourceLayout,l=t.getItemGraphicEl(e.dataIndex);if(l){var c=t.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"?Oi(h,{shape:Gd(p,v,g,u,u),style:{opacity:0}},n,{cb:function(){r.remove(h)},removeOpt:i}):d==="polyline"&&n.get("layout")==="orthogonal"&&Oi(h,{shape:{parentPoint:[u.x,u.y],childPoints:[[u.x,u.y]]},style:{opacity:0}},n,{cb:function(){r.remove(h)},removeOpt:i}))}}function OA(e,t){for(var r=t.parentNode===e?t:t.parentNode||t,n;n=r.getLayout(),n==null;)r=r.parentNode===e?r:r.parentNode||r;return{source:r,sourceLayout:n}}function e9(e,t,r,n,i){var a=e.tree.getNodeByDataIndex(t),o=e.tree.root,s=OA(o,a).sourceLayout,u={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};Oi(r,{x:s.x+1,y:s.y+1},i,{cb:function(){n.remove(r),e.setItemGraphicEl(t,null)},removeOpt:u}),r.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:u}),a.children.forEach(function(l){Jg(l,e,n,i,u)}),Jg(a,e,n,i,u)}function Gd(e,t,r,n,i){var a,o,s,u,l,c,f,h;if(e==="radial"){l=n.rawX,f=n.rawY,c=i.rawX,h=i.rawY;var d=Tu(l,f),p=Tu(l,f+(h-f)*r),v=Tu(c,h+(f-h)*r),g=Tu(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,(t==="LR"||t==="RL")&&(a=l+(c-l)*r,o=f,s=c+(l-c)*r,u=h),(t==="TB"||t==="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 mX=vX;var Mr=Ae();function BA(e){var t=e.mainData,r=e.datas;r||(r={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,FA(t,r,e),E(r,function(n){E(t.TRANSFERABLE_METHODS,function(i){n.wrapMethod(i,ve(yX,e))})}),t.wrapMethod("cloneShallow",ve(bX,e)),E(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,ve(_X,e))}),ie(r[t.dataType]===t)}function yX(e,t){if(SX(this)){var r=$({},Mr(this).datas);r[this.dataType]=t,FA(t,r,e)}else n7(t,this.dataType,Mr(this).mainData,e);return t}function _X(e,t){return e.struct&&e.struct.update(),t}function bX(e,t){return E(Mr(t).datas,function(r,n){r!==t&&n7(r.cloneShallow(),n,t,e)}),t}function xX(e){var t=Mr(this).mainData;return e==null||t==null?t:Mr(t).datas[e]}function wX(){var e=Mr(this).mainData;return e==null?[{data:e}]:H(Se(Mr(e).datas),function(t){return{type:t,data:Mr(e).datas[t]}})}function SX(e){return Mr(e).mainData===e}function FA(e,t,r){Mr(e).datas={},E(t,function(n,i){n7(n,i,e,r)})}function n7(e,t,r,n){Mr(r).datas[t]=e,Mr(e).mainData=r,e.dataType=t,n.struct&&(e[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=e),e.getLinkedData=xX,e.getLinkedDataAll=wX}var CX=function(){function e(t,r){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=r}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(t,r,n){te(t)&&(n=r,r=t,t=null),t=t||{},Z(t)&&(t={order:t});var i=t.order||"preorder",a=this[t.attr||"children"],o;i==="preorder"&&(o=r.call(n,this));for(var s=0;!o&&s<a.length;s++)a[s].eachNode(t,r,n);i==="postorder"&&r.call(n,this)},e.prototype.updateDepthAndHeight=function(t){var r=0;this.depth=t;for(var n=0;n<this.children.length;n++){var i=this.children[n];i.updateDepthAndHeight(t+1),i.height>r&&(r=i.height)}this.height=r+1},e.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var r=0,n=this.children,i=n.length;r<i;r++){var a=n[r].getNodeById(t);if(a)return a}},e.prototype.contains=function(t){if(t===this)return!0;for(var r=0,n=this.children,i=n.length;r<i;r++){var a=n[r].contains(t);if(a)return a}},e.prototype.getAncestors=function(t){for(var r=[],n=t?this:this.parentNode;n;)r.push(n),n=n.parentNode;return r.reverse(),r},e.prototype.getAncestorsIndices=function(){for(var t=[],r=this;r;)t.push(r.dataIndex),r=r.parentNode;return t.reverse(),t},e.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(r){t.push(r.dataIndex)}),t},e.prototype.getValue=function(t){var r=this.hostTree.data;return r.getStore().get(r.getDimensionIndex(t||"value"),this.dataIndex)},e.prototype.setLayout=function(t,r){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,r)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var r=this.hostTree,n=r.data.getItemModel(this.dataIndex);return n.getModel(t)}},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(t,r){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,r)},e.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,r=0;r<t.length;++r)if(t[r]===this)return r;return-1}return-1},e.prototype.isAncestorOf=function(t){for(var r=t.parentNode;r;){if(r===this)return!0;r=r.parentNode}return!1},e.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},e}(),AX=function(){function e(t){this.type="tree",this._nodes=[],this.hostModel=t}return e.prototype.eachNode=function(t,r,n){this.root.eachNode(t,r,n)},e.prototype.getNodeByDataIndex=function(t){var r=this.data.getRawIndex(t);return this._nodes[r]},e.prototype.getNodeById=function(t){return this.root.getNodeById(t)},e.prototype.update=function(){for(var t=this.data,r=this._nodes,n=0,i=r.length;n<i;n++)r[n].dataIndex=-1;for(var n=0,i=t.count();n<i;n++)r[t.getRawIndex(n)].dataIndex=n},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,r,n){var i=new e(r),a=[],o=1;s(t);function s(c,f){var h=c.value;o=Math.max(o,G(h)?h.length:1),a.push(c);var d=new CX(ht(c.name,""),i);f?TX(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=Bl(a,{coordDimensions:["value"],dimensionsCount:o}).dimensions,l=new Wt(u,r);return l.initData(a),n&&n(l),BA({mainData:l,struct:i,structAttr:"tree"}),i.update(),i},e}();function TX(e,t){var r=t.children;e.parentNode!==t&&(r.push(e),e.parentNode=t)}const i7=AX;function yl(e,t,r){if(e&&_e(t,e.type)>=0){var n=r.getData().tree.root,i=e.targetNode;if(Z(i)&&(i=n.getNodeById(i)),i&&n.contains(i))return{node:i};var a=e.targetNodeId;if(a!=null&&(i=n.getNodeById(a)))return{node:i}}}function VA(e){for(var t=[];e;)e=e.parentNode,e&&t.push(e);return t.reverse()}function a7(e,t){var r=VA(e);return _e(r,t)>=0}function M2(e,t){for(var r=[];e;){var n=e.dataIndex;r.push({name:e.name,dataIndex:n,value:t.getRawValue(n)}),e=e.parentNode}return r.reverse(),r}var DX=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.hasSymbolVisual=!0,r.ignoreStyleOnData=!0,r}return t.prototype.getInitialData=function(r){var n={name:r.name,children:r.data},i=r.leaves||{},a=new We(i,this,this.ecModel),o=i7.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},t.prototype.getOrient=function(){var r=this.get("orient");return r==="horizontal"?r="LR":r==="vertical"&&(r="TB"),r},t.prototype.setZoom=function(r){this.option.zoom=r},t.prototype.setCenter=function(r){this.option.center=r},t.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})},t.prototype.getDataParams=function(r){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(r);return n.treeAncestors=M2(i,this),n.collapsed=!i.isExpand,n},t.type="series.tree",t.layoutMode="box",t.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},t}(je);const EX=DX;function kX(e,t,r){for(var n=[e],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();)t(a,r)}function lu(e,t){for(var r=[e],n;n=r.pop();)if(t(n),n.isExpand){var i=n.children;if(i.length)for(var a=i.length-1;a>=0;a--)r.push(i[a])}}function MX(e,t){e.eachSeriesByType("tree",function(r){IX(r,t)})}function IX(e,t){var r=sX(e,t);e.layoutInfo=r;var n=e.get("layout"),i=0,a=0,o=null;n==="radial"?(i=2*Math.PI,a=Math.min(r.height,r.width)/2,o=jg(function(_,b){return(_.parentNode===b.parentNode?1:2)/_.depth})):(i=r.width,a=r.height,o=jg());var s=e.getData().tree.root,u=s.children[0];if(u){iX(s),kX(u,aX,o),s.hierNode.modifier=-u.hierNode.prelim,lu(u,oX);var l=u,c=u,f=u;lu(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),lu(u,function(_){g=(_.getLayout().x+d)*p,m=(_.depth-1)*v;var b=Tu(g,m);_.setLayout({x:b.x,y:b.y,rawX:g,rawY:m},!0)});else{var y=e.getOrient();y==="RL"||y==="LR"?(v=a/(c.getLayout().x+h+d),p=i/(f.depth-1||1),lu(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),lu(u,function(_){g=(_.getLayout().x+d)*p,m=y==="TB"?(_.depth-1)*v:a-(_.depth-1)*v,_.setLayout({x:g,y:m},!0)}))}}}function LX(e){e.eachSeriesByType("tree",function(t){var r=t.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 PX(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,r){r.eachComponent({mainType:"series",subType:"tree",query:t},function(n){var i=t.dataIndex,a=n.getData().tree,o=a.getNodeByDataIndex(i);o.isExpand=!o.isExpand})}),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,r,n){r.eachComponent({mainType:"series",subType:"tree",query:t},function(i){var a=i.coordinateSystem,o=r7(a,t,void 0,n);i.setCenter&&i.setCenter(o.center),i.setZoom&&i.setZoom(o.zoom)})})}function RX(e){e.registerChartView(mX),e.registerSeriesModel(EX),e.registerLayout(MX),e.registerVisual(LX),PX(e)}var t9=["treemapZoomToNode","treemapRender","treemapMove"];function NX(e){for(var t=0;t<t9.length;t++)e.registerAction({type:t9[t],update:"updateView"},at);e.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=yl(r,s,a);if(u){var l=a.getViewRoot();l&&(r.direction=a7(l,u.node)?"rollUp":"drillDown"),a.resetViewRoot(u.node)}}})}function zA(e){var t=e.getData(),r=t.tree,n={};r.eachNode(function(i){for(var a=i;a&&a.depth>1;)a=a.parentNode;var o=md(e.ecModel,a.name||a.dataIndex+"",n);i.setVisual("decal",o)})}var OX=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.preventUsingHoverLayer=!0,r}return t.prototype.getInitialData=function(r,n){var i={name:r.name,children:r.data};$A(i);var a=r.levels||[],o=this.designatedVisualItemStyle={},s=new We({itemStyle:o},this,n);a=r.levels=BX(a,n);var u=H(a||[],function(f){return new We(f,s,n)},this),l=i7.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},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.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})},t.prototype.getDataParams=function(r){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(r);return n.treeAncestors=M2(i,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(r){this.layoutInfo=this.layoutInfo||{},$(this.layoutInfo,r)},t.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},t.prototype.getViewRoot=function(){return this._viewRoot},t.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)},t.prototype.enableAriaDecal=function(){zA(this)},t.type="series.treemap",t.layoutMode="box",t.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:[]},t}(je);function $A(e){var t=0;E(e.children,function(n){$A(n);var i=n.value;G(i)&&(i=i[0]),t+=i});var r=e.value;G(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=t),r<0&&(r=0),G(e.value)?e.value[0]=r:e.value=r}function BX(e,t){var r=Ve(t.get("color")),n=Ve(t.get(["aria","decal","decals"]));if(r){e=e||[];var i,a;E(e,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=e[0]||(e[0]={});return i||(o.color=r.slice()),!a&&n&&(o.decal=n.slice()),e}}const FX=OX;var VX=8,r9=8,T6=5,zX=function(){function e(t){this.group=new le,t.add(this.group)}return e.prototype.render=function(t,r,n,i){var a=t.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(t,f,s,u,l,c,i),m2(o,f.pos,f.box)}},e.prototype._prepare=function(t,r,n){for(var i=t;i;i=i.parentNode){var a=ht(i.getModel().get("name"),""),o=n.getTextRect(a),s=Math.max(o.width+VX*2,r.emptyItemWidth);r.totalWidth+=s+r9,r.renderList.push({node:i,text:a,width:s})}},e.prototype._renderContent=function(t,r,n,i,a,o,s){for(var u=0,l=r.emptyItemWidth,c=t.get(["breadcrumb","height"]),f=Wz(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 rr({shape:{points:$X(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:Cs*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),GX(b,t,m),u+=y+r9}},e.prototype.remove=function(){this.group.removeAll()},e}();function $X(e,t,r,n,i,a){var o=[[i?e:e-T6,t],[e+r,t],[e+r,t+n],[i?e:e-T6,t+n]];return!a&&o.splice(2,0,[e+r+T6,t+n/2]),!i&&o.push([e,t+n/2]),o}function GX(e,t,r){ce(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:r&&r.dataIndex,name:r&&r.name},treePathInfo:r&&M2(r,t)}}const HX=zX;var UX=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(t,r,n,i,a){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:r,duration:n,delay:i,easing:a}),!0)},e.prototype.finished=function(t){return this._finishedCallback=t,this},e.prototype.start=function(){for(var t=this,r=this._storage.length,n=function(){r--,r<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._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},e}();function WX(){return new UX}var Hd=le,n9=Ee,i9=3,a9="label",o9="upperLabel",qX=Cs*10,ZX=Cs*2,YX=Cs*3,_a=Ka([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),s9=function(e){var t=_a(e);return t.stroke=t.fill=t.lineWidth=null,t},bc=Ae(),XX=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._state="ready",r._storage=cu(),r}return t.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=yl(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)}},t.prototype._giveContainerGroup=function(r){var n=this._containerGroup;return n||(n=this._containerGroup=new Hd,this._initEvents(n),this.group.add(n)),n.x=r.x,n.y=r.y,n},t.prototype._doRender=function(r,n,i){var a=n.getData().tree,o=this._oldTree,s=cu(),u=cu(),l=this._storage,c=[];function f(y,_,b,x){return jX(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 qn(_,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 _=cu();return y&&E(y,function(b,x){var w=_[x];E(b,function(S){S&&(w.push(S),bc(S).willDelete=!0)})}),_}function m(){E(h,function(y){E(y,function(_){_.parent&&_.parent.remove(_)})}),E(c,function(y){y.invisible=!0,y.dirty()})}},t.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=WX();E(n.willDeleteEls,function(f,h){E(f,function(d,p){if(!d.invisible){var v=d.parent,g,m=bc(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()},t.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 Wl(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)})},t.prototype._clearController=function(){var r=this._controller;this._controllerHost=null,r&&(r.dispose(),r=null)},t.prototype._onPan=function(r){if(this._state!=="animating"&&(Math.abs(r.dx)>i9||Math.abs(r.dy)>i9)){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}})}},t.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=lr();yn(g,g,[-n,-i]),W4(g,g,[p,p]),yn(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}})}},t.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&&tc(l,c)}}}}},this)},t.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 HX(this.group))).render(r,n,i.node,function(o){a._state!=="animating"&&(a7(r.getViewRoot(),o)?a._rootToNode({node:o}):a._zoomToNode({node:o}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=cu(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(r){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:r.node})},t.prototype._rootToNode=function(r){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:r.node})},t.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},t.type="treemap",t}(qe);function cu(){return{nodeGroup:[],background:[],content:[]}}function jX(e,t,r,n,i,a,o,s,u,l){if(!o)return;var c=o.getLayout(),f=e.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",Hd);if(!D)return;if(u.add(D),D.x=c.x||0,D.y=c.y||0,D.markRedraw(),bc(D).nodeWidth=d,bc(D).nodeHeight=p,c.isAboveViewRoot)return D;var k=K("background",n9,l,ZX);k&&B(D,k,x&&c.upperLabelHeight);var M=h.getModel("emphasis"),L=M.get("focus"),N=M.get("blurScope"),I=M.get("disabled"),O=L==="ancestor"?o.getAncestorsIndices():L==="descendant"?o.getDescendantIndices():L;if(x)Ni(D)&&Ma(D,!1),k&&(Ma(k,!I),f.setItemGraphicEl(o.dataIndex,k),ud(k,O,N));else{var P=K("content",n9,l,YX);P&&V(D,P),k.disableMorphing=!0,k&&Ni(k)&&Ma(k,!1),Ma(D,!I),f.setItemGraphicEl(o.dataIndex,D);var R=h.getShallow("cursor");R&&P.attr("cursor",R),ud(D,O,N)}return D;function B(ue,ee,he){var Q=ce(ee);if(Q.dataIndex=o.dataIndex,Q.seriesIndex=e.seriesIndex,ee.setShape({x:0,y:0,width:d,height:p,r:T}),g)z(ee);else{ee.invisible=!1;var se=o.getVisual("style"),Fe=se.stroke,Pe=s9(w);Pe.fill=Fe;var Te=_a(S);Te.fill=S.get("borderColor");var Ze=_a(C);Ze.fill=C.get("borderColor");var rt=_a(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,Qa(ee)}ue.add(ee)}function V(ue,ee){var he=ce(ee);he.dataIndex=o.dataIndex,he.seriesIndex=e.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)z(ee);else{ee.invisible=!1;var Fe=o.getVisual("style"),Pe=Fe.fill,Te=s9(w);Te.fill=Pe,Te.decal=Fe.decal;var Ze=_a(S),rt=_a(C),de=_a(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,Qa(ee)}ue.add(ee)}function z(ue){!ue.invisible&&a.push(ue)}function U(ue,ee,he,Q){var se=h.getModel(Q?o9:a9),Fe=ht(h.get("name"),null),Pe=se.getShallow("show");kt(ue,gt(h,Q?o9:a9),{defaultText:Pe?Fe:null,inheritColor:ee,defaultOpacity:he,labelFetcher:e,labelDataIndex:o.dataIndex});var Te=ue.getTextContent();if(Te){var Ze=Te.style,rt=G4(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=e.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 Lr&&(se.z2=KX(he,Q)),ze(Fe,se)),t[ue][m]=se}function xe(ue,ee){var he=ue[m]={};ee instanceof Hd?(he.oldX=ee.x,he.oldY=ee.y):he.oldShape=$({},ee.shape)}function ze(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 KX(e,t){return e*qX+t}const QX=XX;var _l=E,JX=ne,xc=-1,o7=function(){function e(t){var r=t.mappingMethod,n=t.type,i=this.option=oe(t);this.type=n,this.mappingMethod=r,this._normalizeData=rj[r];var a=e.visualHandlers[n];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[r],r==="piecewise"?(D6(i),ej(i)):r==="category"?i.categories?tj(i):D6(i,!0):(ie(r!=="linear"||i.dataExtent),D6(i))}return e.prototype.mapValueToVisual=function(t){var r=this._normalizeData(t);return this._normalizedToVisual(r,t)},e.prototype.getNormalizer=function(){return X(this._normalizeData,this)},e.listVisualTypes=function(){return Se(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(t,r,n){ne(t)?E(t,r,n):r.call(n,t)},e.mapVisual=function(t,r,n){var i,a=G(t)?[]:ne(t)?{}:(i=!0,null);return e.eachVisual(t,function(o,s){var u=r.call(n,o,s);i?a=u:a[s]=u}),a},e.retrieveVisuals=function(t){var r={},n;return t&&_l(e.visualHandlers,function(i,a){t.hasOwnProperty(a)&&(r[a]=t[a],n=!0)}),n?r:null},e.prepareVisualTypes=function(t){if(G(t))t=t.slice();else if(JX(t)){var r=[];_l(t,function(n,i){r.push(i)}),t=r}else return[];return t.sort(function(n,i){return i==="color"&&n!=="color"&&n.indexOf("color")===0?1:-1}),t},e.dependsOn=function(t,r){return r==="color"?!!(t&&t.indexOf(r)===0):t===r},e.findPieceIndex=function(t,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===t||Z(u)&&u===t+"")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(K1(f[1],t,c[1]))return o}else if(c[1]===1/0){if(K1(f[0],c[0],t))return o}else if(K1(f[0],c[0],t)&&K1(f[1],t,c[1]))return o;n&&h(c[0],o),n&&h(c[1],o)}}if(n)return t===1/0?r.length-1:t===-1/0?0:i;function h(d,p){var v=Math.abs(d-t);v<a&&(a=v,i=p)}},e.visualHandlers={color:{applyVisual:fu("color"),getColorMapper:function(){var t=this.option;return X(t.mappingMethod==="category"?function(r,n){return!n&&(r=this._normalizeData(r)),Du.call(this,r)}:function(r,n,i){var a=!!i;return!n&&(r=this._normalizeData(r)),i=af(r,t.parsedVisual,i),a?i:Bn(i,"rgba")},this)},_normalizedToVisual:{linear:function(t){return Bn(af(t,this.option.parsedVisual),"rgba")},category:Du,piecewise:function(t,r){var n=Wd.call(this,r);return n==null&&(n=Bn(af(t,this.option.parsedVisual),"rgba")),n},fixed:ba}},colorHue:j1(function(t,r){return Pu(t,r)}),colorSaturation:j1(function(t,r){return Pu(t,null,r)}),colorLightness:j1(function(t,r){return Pu(t,null,null,r)}),colorAlpha:j1(function(t,r){return H0(t,r)}),decal:{applyVisual:fu("decal"),_normalizedToVisual:{linear:null,category:Du,piecewise:null,fixed:null}},opacity:{applyVisual:fu("opacity"),_normalizedToVisual:Ud([0,1])},liftZ:{applyVisual:fu("liftZ"),_normalizedToVisual:{linear:ba,category:ba,piecewise:ba,fixed:ba}},symbol:{applyVisual:function(t,r,n){var i=this.mapValueToVisual(t);n("symbol",i)},_normalizedToVisual:{linear:u9,category:Du,piecewise:function(t,r){var n=Wd.call(this,r);return n==null&&(n=u9.call(this,t)),n},fixed:ba}},symbolSize:{applyVisual:fu("symbolSize"),_normalizedToVisual:Ud([0,1])}},e}();function ej(e){var t=e.pieceList;e.hasSpecialVisual=!1,E(t,function(r,n){r.originIndex=n,r.visual!=null&&(e.hasSpecialVisual=!0)})}function tj(e){var t=e.categories,r=e.categoryMap={},n=e.visual;if(_l(t,function(o,s){r[o]=s}),!G(n)){var i=[];ne(n)?_l(n,function(o,s){var u=r[s];i[u??xc]=o}):i[xc]=n,n=GA(e,i)}for(var a=t.length-1;a>=0;a--)n[a]==null&&(delete r[t[a]],t.pop())}function D6(e,t){var r=e.visual,n=[];ne(r)?_l(r,function(a){n.push(a)}):r!=null&&n.push(r);var i={color:1,symbol:1};!t&&n.length===1&&!i.hasOwnProperty(e.type)&&(n[1]=n[0]),GA(e,n)}function j1(e){return{applyVisual:function(t,r,n){var i=this.mapValueToVisual(t);n("color",e(r("color"),i))},_normalizedToVisual:Ud([0,1])}}function u9(e){var t=this.option.visual;return t[Math.round(Be(e,[0,1],[0,t.length-1],!0))]||{}}function fu(e){return function(t,r,n){n(e,this.mapValueToVisual(t))}}function Du(e){var t=this.option.visual;return t[this.option.loop&&e!==xc?e%t.length:e]}function ba(){return this.option.visual[0]}function Ud(e){return{linear:function(t){return Be(t,e,this.option.visual,!0)},category:Du,piecewise:function(t,r){var n=Wd.call(this,r);return n==null&&(n=Be(t,e,this.option.visual,!0)),n},fixed:ba}}function Wd(e){var t=this.option,r=t.pieceList;if(t.hasSpecialVisual){var n=o7.findPieceIndex(e,r),i=r[n];if(i&&i.visual)return i.visual[this.type]}}function GA(e,t){return e.visual=t,e.type==="color"&&(e.parsedVisual=H(t,function(r){var n=cr(r);return!n&&process.env.NODE_ENV!=="production"&&Qe("'"+r+"' is an illegal color, fallback to '#000000'",!0),n||[0,0,0,1]})),t}var rj={linear:function(e){return Be(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,r=o7.findPieceIndex(e,t,!0);if(r!=null)return Be(r,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return t??xc},fixed:at};function K1(e,t,r){return e?t<=r:t<r}const Tt=o7;var nj="itemStyle",HA=Ae();const ij={seriesType:"treemap",reset:function(e){var t=e.getData().tree,r=t.root;r.isRemoved()||UA(r,{},e.getViewRoot().getAncestors(),e)}};function UA(e,t,r,n){var i=e.getModel(),a=e.getLayout(),o=e.hostTree.data;if(!(!a||a.invisible||!a.isInView)){var s=i.getModel(nj),u=aj(s,t,n),l=o.ensureUniqueItemVisual(e.dataIndex,"style"),c=s.get("borderColor"),f=s.get("borderColorSaturation"),h;f!=null&&(h=l9(u),c=oj(f,h)),l.stroke=c;var d=e.viewChildren;if(!d||!d.length)h=l9(u),l.fill=h;else{var p=sj(e,i,a,s,u,d);E(d,function(v,g){if(v.depth>=r.length||v===r[v.depth]){var m=uj(i,u,v,g,p,n);UA(v,m,r,n)}})}}}function aj(e,t,r){var n=$({},t),i=r.designatedVisualItemStyle;return E(["color","colorAlpha","colorSaturation"],function(a){i[a]=t[a];var o=e.get(a);i[a]=null,o!=null&&(n[a]=o)}),n}function l9(e){var t=E6(e,"color");if(t){var r=E6(e,"colorAlpha"),n=E6(e,"colorSaturation");return n&&(t=Pu(t,null,null,n)),r&&(t=H0(t,r)),t}}function oj(e,t){return t!=null?Pu(t,null,null,e):null}function E6(e,t){var r=e[t];if(r!=null&&r!=="none")return r}function sj(e,t,r,n,i,a){if(!(!a||!a.length)){var o=k6(t,"color")||i.color!=null&&i.color!=="none"&&(k6(t,"colorAlpha")||k6(t,"colorSaturation"));if(o){var s=t.get("visualMin"),u=t.get("visualMax"),l=r.dataExtent.slice();s!=null&&s<l[0]&&(l[0]=s),u!=null&&u>l[1]&&(l[1]=u);var c=t.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 Tt(f);return HA(h).drColorMappingBy=c,h}}}function k6(e,t){var r=e.get(t);return G(r)&&r.length?{name:t,range:r}:null}function uj(e,t,r,n,i,a){var o=$({},t);if(i){var s=i.type,u=s==="color"&&HA(i).drColorMappingBy,l=u==="index"?n:u==="id"?a.mapIdToIndex(r.getId()):r.getValue(e.get("visualDimension"));o[s]=i.mapValueToVisual(l)}return o}var bl=Math.max,wc=Math.min,c9=ut,s7=E,WA=["itemStyle","borderWidth"],lj=["itemStyle","gapWidth"],cj=["upperLabel","show"],fj=["upperLabel","height"];const hj={seriesType:"treemap",reset:function(e,t,r,n){var i=r.getWidth(),a=r.getHeight(),o=e.option,s=dt(e.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),u=o.size||[],l=W(c9(s.width,u[0]),i),c=W(c9(s.height,u[1]),a),f=n&&n.type,h=["treemapZoomToNode","treemapRootToNode"],d=yl(n,h,e),p=f==="treemapRender"||f==="treemapMove"?n.rootRect:null,v=e.getViewRoot(),g=VA(v);if(f!=="treemapMove"){var m=f==="treemapZoomToNode"?yj(e,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),qA(v,_,!1,0),b=v.getLayout(),s7(g,function(w,S){var C=(g[S+1]||v).getValue();w.setLayout($({dataExtent:[C,C],borderWidth:0,upperHeight:0},b))})}var x=e.getData().tree.root;x.setLayout(_j(s,p,d),!0),e.setLayoutInfo(s),ZA(x,new ye(-s.x,-s.y,i,a),g,v,0)}};function qA(e,t,r,n){var i,a;if(!e.isRemoved()){var o=e.getLayout();i=o.width,a=o.height;var s=e.getModel(),u=s.get(WA),l=s.get(lj)/2,c=YA(s),f=Math.max(u,c),h=u-l,d=f-l;e.setLayout({borderWidth:u,upperHeight:f,upperLabelHeight:c},!0),i=bl(i-2*h,0),a=bl(a-h-d,0);var p=i*a,v=dj(e,s,p,t,r,n);if(v.length){var g={x:h,y:d,width:i,height:a},m=wc(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=mj(_,m,t.squareRatio);S<=y?(b++,y=S):(_.area-=_.pop().getLayout().area,f9(_,m,g,l,!1),m=wc(g.width,g.height),_.length=_.area=0,y=1/0)}if(_.length&&f9(_,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++)qA(v[b],t,r,n+1)}}}function dj(e,t,r,n,i,a){var o=e.children||[],s=n.sort;s!=="asc"&&s!=="desc"&&(s=null);var u=n.leafDepth!=null&&n.leafDepth<=a;if(i&&!u)return e.viewChildren=[];o=Ne(o,function(d){return!d.isRemoved()}),vj(o,s);var l=gj(t,o,s);if(l.sum===0)return e.viewChildren=[];if(l.sum=pj(t,r,l.sum,s,o),l.sum===0)return e.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&&e.setLayout({isLeafRoot:!0},!0),o.length=0),e.viewChildren=o,e.setLayout({dataExtent:l.dataExtent},!0),o}function pj(e,t,r,n,i){if(!n)return r;for(var a=e.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*t<a&&(s=u,r-=l)}return n==="asc"?i.splice(0,o-s):i.splice(s,o-s),r}function vj(e,t){return t&&e.sort(function(r,n){var i=t==="asc"?r.getValue()-n.getValue():n.getValue()-r.getValue();return i===0?t==="asc"?r.dataIndex-n.dataIndex:n.dataIndex-r.dataIndex:i}),e}function gj(e,t,r){for(var n=0,i=0,a=t.length;i<a;i++)n+=t[i].getValue();var o=e.get("visualDimension"),s;return!t||!t.length?s=[NaN,NaN]:o==="value"&&r?(s=[t[t.length-1].getValue(),t[0].getValue()],r==="asc"&&s.reverse()):(s=[1/0,-1/0],s7(t,function(u){var l=u.getValue(o);l<s[0]&&(s[0]=l),l>s[1]&&(s[1]=l)})),{sum:n,dataExtent:s}}function mj(e,t,r){for(var n=0,i=1/0,a=0,o=void 0,s=e.length;a<s;a++)o=e[a].getLayout().area,o&&(o<i&&(i=o),o>n&&(n=o));var u=e.area*e.area,l=t*t*r;return u?bl(l*n/u,u/(l*i)):1/0}function f9(e,t,r,n,i){var a=t===r.width?0:1,o=1-a,s=["x","y"],u=["width","height"],l=r[s[a]],c=t?e.area/t:0;(i||c>r[u[o]])&&(c=r[u[o]]);for(var f=0,h=e.length;f<h;f++){var d=e[f],p={},v=c?d.getLayout().area/c:0,g=p[u[o]]=bl(c-2*n,0),m=r[s[a]]+r[u[a]]-l,y=f===h-1||m<v?m:v,_=p[u[a]]=bl(y-2*n,0);p[s[o]]=r[s[o]]+wc(n,g/2),p[s[a]]=l+wc(n,_/2),l+=y,d.setLayout(p,!0)}r[s[o]]+=c,r[u[o]]-=c}function yj(e,t,r,n,i){var a=(t||{}).node,o=[n,i];if(!a||a===r)return o;for(var s,u=n*i,l=u*e.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(WA),m=Math.max(g,YA(v));l+=4*g*g+(3*g+m)*Math.pow(l,.5),l>xv&&(l=xv),a=s}l<u&&(l=u);var y=Math.pow(l/u,.5);return[n*y,i*y]}function _j(e,t,r){if(t)return{x:t.x,y:t.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:e.width/2-o[0],y:e.height/2-o[1]}}function ZA(e,t,r,n,i){var a=e.getLayout(),o=r[i],s=o&&o===e;if(!(o&&!s||i===r.length&&e!==n)){e.setLayout({isInView:!0,invisible:!s&&!t.intersect(a),isAboveViewRoot:s},!0);var u=new ye(t.x-a.x,t.y-a.y,t.width,t.height);s7(e.viewChildren||[],function(l){ZA(l,u,r,n,i+1)})}}function YA(e){return e.get(cj)?e.get(fj):0}function bj(e){e.registerSeriesModel(FX),e.registerChartView(QX),e.registerVisual(ij),e.registerLayout(hj),NX(e)}function xj(e){var t=e.findComponents({mainType:"legend"});!t||!t.length||e.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<t.length;c++)if(!t[c].isSelected(l))return!1}return!0})})}function wj(e){var t={};e.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,t)),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 Q1(e){return e instanceof Array||(e=[e,e]),e}function Sj(e){e.eachSeriesByType("graph",function(t){var r=t.getGraph(),n=t.getEdgeData(),i=Q1(t.get("edgeSymbol")),a=Q1(t.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",t.getModel("lineStyle").getLineStyle()),n.each(function(o){var s=n.getItemModel(o),u=r.getEdgeByIndex(o),l=Q1(s.getShallow("symbol",!0)),c=Q1(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 qd="-->",I2=function(e){return e.get("autoCurveness")||null},XA=function(e,t){var r=I2(e),n=20,i=[];if(Me(r))n=r;else if(G(r)){e.__curvenessList=r;return}t>n&&(n=t);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));e.__curvenessList=i},xl=function(e,t,r){var n=[e.id,e.dataIndex].join("."),i=[t.id,t.dataIndex].join(".");return[r.uid,n,i].join(qd)},jA=function(e){var t=e.split(qd);return[t[0],t[2],t[1]].join(qd)},Cj=function(e,t){var r=xl(e.node1,e.node2,t);return t.__edgeMap[r]},Aj=function(e,t){var r=Zd(xl(e.node1,e.node2,t),t),n=Zd(xl(e.node2,e.node1,t),t);return r+n},Zd=function(e,t){var r=t.__edgeMap;return r[e]?r[e].length:0};function Tj(e){I2(e)&&(e.__curvenessList=[],e.__edgeMap={},XA(e))}function Dj(e,t,r,n){if(I2(r)){var i=xl(e,t,r),a=r.__edgeMap,o=a[jA(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 u7(e,t,r,n){var i=I2(t),a=G(i);if(!i)return null;var o=Cj(e,t);if(!o)return null;for(var s=-1,u=0;u<o.length;u++)if(o[u]===r){s=u;break}var l=Aj(e,t);XA(t,l),e.lineStyle=e.lineStyle||{};var c=xl(e.node1,e.node2,t),f=t.__curvenessList,h=a||l%2?0:1;if(o.isForward)return f[h+s];var d=jA(c),p=Zd(d,t),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 KA(e){var t=e.coordinateSystem;if(!(t&&t.type!=="view")){var r=e.getGraph();r.eachNode(function(n){var i=n.getModel();n.setLayout([+i.get("x"),+i.get("y")])}),l7(r,e)}}function l7(e,t){e.eachEdge(function(r,n){var i=kr(r.getModel().get(["lineStyle","curveness"]),-u7(r,t,n,!0),0),a=Nn(r.node1.getLayout()),o=Nn(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 Ej(e,t){e.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])}l7(a.graph,r)}else(!n||n==="none")&&KA(r)})}function Eu(e){var t=e.coordinateSystem;if(t.type!=="view")return 1;var r=e.option.nodeScaleRatio,n=t.scaleX,i=t.getZoom(),a=(i-1)*r+1;return a/n}function ku(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var h9=Math.PI,M6=[];function c7(e,t,r,n){var i=e.coordinateSystem;if(!(i&&i.type!=="view")){var a=i.getBoundingRect(),o=e.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];xs(v,v),p0(v,v,c),r.setLayout([u+v[0],l+v[1]],!0);var g=e.get(["circular","rotateLabel"]);QA(r,g,u,l)}kj[t](e,s,o,c,u,l,f),s.eachEdge(function(m,y){var _=kr(m.getModel().get(["lineStyle","curveness"]),u7(m,e,y),0),b=Nn(m.node1.getLayout()),x=Nn(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 kj={value:function(e,t,r,n,i,a,o){var s=0,u=r.getSum("value"),l=Math.PI*2/(u||o);t.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(e,t,r,n,i,a,o){var s=0;M6.length=o;var u=Eu(e);t.eachNode(function(f){var h=ku(f);isNaN(h)&&(h=2),h<0&&(h=0),h*=u;var d=Math.asin(h/2/n);isNaN(d)&&(d=h9/2),M6[f.dataIndex]=d,s+=d*2});var l=(2*h9-s)/o/2,c=0;t.eachNode(function(f){var h=l+M6[f.dataIndex];c+=h,(!f.getLayout()||!f.getLayout().fixed)&&f.setLayout([n*Math.cos(c)+i,n*Math.sin(c)+a]),c+=h})}};function QA(e,t,r,n){var i=e.getGraphicEl();if(i){var a=e.getModel(),o=a.get(["label","rotate"])||0,s=i.getSymbolPath();if(t){var u=e.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 Mj(e){e.eachSeriesByType("graph",function(t){t.get("layout")==="circular"&&c7(t,"symbolSize")})}var Po=Ih;function Ij(e,t,r){for(var n=e,i=t,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=io(o*(Math.random()-.5)+u[0],s*(Math.random()-.5)+u[1])),f.pp=Nn(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;Ea(m,w.p,x.p);var S=Lh(m)-b.d,C=w.w/(x.w+w.w);isNaN(C)&&(C=0),xs(m,m),!x.fixed&&Po(x.p,x.p,m,C*S*d),!w.fixed&&Po(w.p,w.p,m,-(1-C)*S*d)}}for(var _=0;_<y;_++){var A=n[_];A.fixed||(Ea(m,u,A.p),Po(A.p,A.p,m,l*d))}for(var _=0;_<y;_++)for(var x=n[_],T=_+1;T<y;T++){var w=n[T];Ea(m,w.p,x.p);var S=Lh(m);S===0&&(LO(m,Math.random()-.5,Math.random()-.5),S=1);var D=(x.rep+w.rep)/S/S;!x.fixed&&Po(x.pp,x.pp,m,D),!w.fixed&&Po(w.pp,w.pp,m,-D)}for(var k=[],_=0;_<y;_++){var A=n[_];A.fixed||(Ea(k,A.p,A.pp),Po(A.p,A.p,k,d),$t(A.pp,A.p))}d=d*.992;var M=d<.01;v&&v(n,i,M),g&&g(M)}}}function Lj(e){e.eachSeriesByType("graph",function(t){var r=t.coordinateSystem;if(!(r&&r.type!=="view"))if(t.get("layout")==="force"){var n=t.preservedPoints||{},i=t.getGraph(),a=i.data,o=i.edgeData,s=t.getModel("force"),u=s.get("initLayout");t.preservedPoints?a.each(function(_){var b=a.getId(_);a.setItemLayout(_,n[b]||[NaN,NaN])}):!u||u==="none"?KA(t):u==="circular"&&c7(t,"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=kr(x.getModel().get(["lineStyle","curveness"]),-u7(x,t,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=Ij(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&&$t(_[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]||[],$t(k[0],T),$t(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)}}),t.forceLayout=y,t.preservedPoints=n,y.step()}else t.forceLayout=null})}function Pj(e,t,r){var n=$(e.getBoxLayoutParams(),{aspect:r});return dt(n,{width:t.getWidth(),height:t.getHeight()})}function Rj(e,t){var r=[];return e.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=[];i2(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=Pj(n,t,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 ql;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"),t),v.setZoom(n.get("zoom")),r.push(v)}}),r}var d9=xt.prototype,I6=u2.prototype,JA=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}();(function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(JA);function L6(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var Nj=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="ec-line",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new JA},t.prototype.buildPath=function(r,n){L6(n)?d9.buildPath.call(this,r,n):I6.buildPath.call(this,r,n)},t.prototype.pointAt=function(r){return L6(this.shape)?d9.pointAt.call(this,r):I6.pointAt.call(this,r)},t.prototype.tangentAt=function(r){var n=this.shape,i=L6(n)?[n.x2-n.x1,n.y2-n.y1]:I6.tangentAt.call(this,r);return xs(i,i)},t}(we);const Oj=Nj;var P6=["fromSymbol","toSymbol"];function p9(e){return"_"+e+"Type"}function v9(e,t,r){var n=t.getItemVisual(r,e);if(!n||n==="none")return n;var i=t.getItemVisual(r,e+"Size"),a=t.getItemVisual(r,e+"Rotate"),o=t.getItemVisual(r,e+"Offset"),s=t.getItemVisual(r,e+"KeepAspect"),u=Ns(i),l=lo(o||0,u);return n+u+l+(a||"")+(s||"")}function g9(e,t,r){var n=t.getItemVisual(r,e);if(!(!n||n==="none")){var i=t.getItemVisual(r,e+"Size"),a=t.getItemVisual(r,e+"Rotate"),o=t.getItemVisual(r,e+"Offset"),s=t.getItemVisual(r,e+"KeepAspect"),u=Ns(i),l=lo(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=e,c}}function Bj(e){var t=new Oj({name:"line",subPixelOptimize:!0});return Yd(t.shape,e),t}function Yd(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var r=t[2];r?(e.cpx1=r[0],e.cpy1=r[1]):(e.cpx1=NaN,e.cpy1=NaN)}var Fj=function(e){F(t,e);function t(r,n,i){var a=e.call(this)||this;return a._createLine(r,n,i),a}return t.prototype._createLine=function(r,n,i){var a=r.hostModel,o=r.getItemLayout(n),s=Bj(o);s.shape.percent=0,Ye(s,{shape:{percent:1}},a,n),this.add(s),E(P6,function(u){var l=g9(u,r,n);this.add(l),this[p9(u)]=v9(u,r,n)},this),this._updateCommonStl(r,n,i)},t.prototype.updateData=function(r,n,i){var a=r.hostModel,o=this.childOfName("line"),s=r.getItemLayout(n),u={shape:{}};Yd(u.shape,s),Le(o,u,a,n),E(P6,function(l){var c=v9(l,r,n),f=p9(l);if(this[f]!==c){this.remove(this.childOfName(l));var h=g9(l,r,n);this.add(h)}this[f]=c},this),this._updateCommonStl(r,n,i)},t.prototype.getLinePath=function(){return this.childAt(0)},t.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(P6,function(w){var S=this.childOfName(w);if(S){S.setColor(m),S.style.opacity=g.opacity;for(var C=0;C<Yt.length;C++){var A=Yt[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);kt(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)},t.prototype.highlight=function(){Un(this)},t.prototype.downplay=function(){Wn(this)},t.prototype.updateLayout=function(r,n){this.setLinePoints(r.getItemLayout(n))},t.prototype.setLinePoints=function(r){var n=this.childOfName("line");Yd(n.shape,r),n.dirty()},t.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=Ea([],f,c);xs(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})}},t}(le);const f7=Fj;var Vj=function(){function e(t){this.group=new le,this._LineCtor=t||f7}return e.prototype.updateData=function(t){var r=this;this._progressiveEls=null;var n=this,i=n.group,a=n._lineData;n._lineData=t,a||i.removeAll();var o=m9(t);t.diff(a).add(function(s){r._doAdd(t,s,o)}).update(function(s,u){r._doUpdate(a,t,u,s,o)}).remove(function(s){i.remove(a.getItemGraphicEl(s))}).execute()},e.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(r,n){r.updateLayout(t,n)},this)},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=m9(t),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,r){this._progressiveEls=[];function n(s){!s.isGroup&&!zj(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i<t.end;i++){var a=r.getItemLayout(i);if(R6(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)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(t){Ui(this._progressiveEls||this.group,t)},e.prototype._doAdd=function(t,r,n){var i=t.getItemLayout(r);if(R6(i)){var a=new this._LineCtor(t,r,n);t.setItemGraphicEl(r,a),this.group.add(a)}},e.prototype._doUpdate=function(t,r,n,i,a){var o=t.getItemGraphicEl(n);if(!R6(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)},e}();function zj(e){return e.animators&&e.animators.length>0}function m9(e){var t=e.hostModel,r=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:r.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:r.get("disabled"),blurScope:r.get("blurScope"),focus:r.get("focus"),labelStatesModels:gt(t)}}function y9(e){return isNaN(e[0])||isNaN(e[1])}function R6(e){return e&&!y9(e[0])&&!y9(e[1])}const h7=Vj;var N6=[],O6=[],B6=[],Ro=_t,F6=Ba,_9=Math.abs;function b9(e,t,r){for(var n=e[0],i=e[1],a=e[2],o=1/0,s,u=r*r,l=.1,c=.1;c<=.9;c+=.1){N6[0]=Ro(n[0],i[0],a[0],c),N6[1]=Ro(n[1],i[1],a[1],c);var f=_9(F6(N6,t)-u);f<o&&(o=f,s=c)}for(var h=0;h<32;h++){var d=s+l;O6[0]=Ro(n[0],i[0],a[0],s),O6[1]=Ro(n[1],i[1],a[1],s),B6[0]=Ro(n[0],i[0],a[0],d),B6[1]=Ro(n[1],i[1],a[1],d);var f=F6(O6,t)-u;if(_9(f)<.01)break;var p=F6(B6,t)-u;l/=2,f<0?p>=0?s=s+l:s=s-l:p>=0?s=s-l:s=s+l}return s}function V6(e,t){var r=[],n=tl,i=[[],[],[]],a=[[],[]],o=[];t/=2,e.eachEdge(function(s,u){var l=s.getLayout(),c=s.getVisual("fromSymbol"),f=s.getVisual("toSymbol");l.__original||(l.__original=[Nn(l[0]),Nn(l[1])],l[2]&&l.__original.push(Nn(l[2])));var h=l.__original;if(l[2]!=null){if($t(i[0],h[0]),$t(i[1],h[2]),$t(i[2],h[1]),c&&c!=="none"){var d=ku(s.node1),p=b9(i,h[0],d*t);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=ku(s.node2),p=b9(i,h[1],d*t);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]}$t(l[0],i[0]),$t(l[1],i[2]),$t(l[2],i[1])}else{if($t(a[0],h[0]),$t(a[1],h[1]),Ea(o,a[1],a[0]),xs(o,o),c&&c!=="none"){var d=ku(s.node1);Ih(a[0],a[0],o,d*t)}if(f&&f!=="none"){var d=ku(s.node2);Ih(a[1],a[1],o,-d*t)}$t(l[0],a[0]),$t(l[1],a[1])}})}function x9(e){return e.type==="view"}var $j=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){var i=new zl,a=new h7,o=this.group;this._controller=new Wl(n.getZr()),this._controllerHost={target:o},o.add(i.group),o.add(a.group),this._symbolDraw=i,this._lineDraw=a,this._firstRender=!0},t.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(x9(o)){var c={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?l.attr(c):Le(l,c,r)}V6(r.getGraph(),Eu(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),c7(r,"symbolSize",_,[A.offsetX,A.offsetY]),a.updateLayout(r);break;case"none":default:f.setItemLayout(b,[x.x,x.y]),l7(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(_){QA(_,g,m,y)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.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())})})()},t.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)&&!E2(l,i,r)}),!x9(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){J5(s,l.dx,l.dy),i.dispatchAction({seriesId:r.id,type:"graphRoam",dx:l.dx,dy:l.dy})}).on("zoom",function(l){e7(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(),V6(r.getGraph(),Eu(r)),a._lineDraw.updateLayout(),i.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var r=this._model,n=r.getData(),i=Eu(r);n.eachItemGraphicEl(function(a,o){a&&a.setSymbolScale(i)})},t.prototype.updateLayout=function(r){V6(r.getGraph(),Eu(r)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(qe);const Gj=$j;function No(e){return"_EC_"+e}var Hj=function(){function e(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(t,r){t=t==null?""+r:""+t;var n=this._nodesMap;if(n[No(t)]){process.env.NODE_ENV!=="production"&&console.error("Graph nodes have duplicate name or id");return}var i=new xa(t,r);return i.hostGraph=this,this.nodes.push(i),n[No(t)]=i,i},e.prototype.getNodeByIndex=function(t){var r=this.data.getRawIndex(t);return this.nodes[r]},e.prototype.getNodeById=function(t){return this._nodesMap[No(t)]},e.prototype.addEdge=function(t,r,n){var i=this._nodesMap,a=this._edgesMap;if(Me(t)&&(t=this.nodes[t]),Me(r)&&(r=this.nodes[r]),t instanceof xa||(t=i[No(t)]),r instanceof xa||(r=i[No(r)]),!(!t||!r)){var o=t.id+"-"+r.id,s=new eT(t,r,n);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),r.inEdges.push(s)),t.edges.push(s),t!==r&&r.edges.push(s),this.edges.push(s),a[o]=s,s}},e.prototype.getEdgeByIndex=function(t){var r=this.edgeData.getRawIndex(t);return this.edges[r]},e.prototype.getEdge=function(t,r){t instanceof xa&&(t=t.id),r instanceof xa&&(r=r.id);var n=this._edgesMap;return this._directed?n[t+"-"+r]:n[t+"-"+r]||n[r+"-"+t]},e.prototype.eachNode=function(t,r){for(var n=this.nodes,i=n.length,a=0;a<i;a++)n[a].dataIndex>=0&&t.call(r,n[a],a)},e.prototype.eachEdge=function(t,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&&t.call(r,n[a],a)},e.prototype.breadthFirstTraverse=function(t,r,n,i){if(r instanceof xa||(r=this._nodesMap[No(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(!t.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(t.call(i,f,u))return;s.push(f),f.__visited=!0}}}},e.prototype.update=function(){for(var t=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=t.count();a<o;a++)n[t.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},e.prototype.clone=function(){for(var t=new e(this._directed),r=this.nodes,n=this.edges,i=0;i<r.length;i++)t.addNode(r[i].id,r[i].dataIndex);for(var i=0;i<n.length;i++){var a=n[i];t.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return t},e}(),xa=function(){function e(t,r){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=t??"",this.dataIndex=r??-1}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var r=this.hostGraph,n=r.data.getItemModel(this.dataIndex);return n.getModel(t)}},e.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},r=0;r<this.edges.length;r++){var n=this.edges[r];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},e.prototype.getTrajectoryDataIndices=function(){for(var t=J(),r=J(),n=0;n<this.edges.length;n++){var i=this.edges[n];if(!(i.dataIndex<0)){t.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++)t.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++)t.set(c.outEdges[l].dataIndex,!0),o.push(c.outEdges[l].node2)}}}return{edge:t.keys(),node:r.keys()}},e}(),eT=function(){function e(t,r,n){this.dataIndex=-1,this.node1=t,this.node2=r,this.dataIndex=n??-1}return e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var r=this.hostGraph,n=r.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e.prototype.getTrajectoryDataIndices=function(){var t=J(),r=J();t.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++)t.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++)t.set(u.outEdges[s].dataIndex,!0),i.push(u.outEdges[s].node2)}return{edge:t.keys(),node:r.keys()}},e}();function tT(e,t){return{getValue:function(r){var n=this[e][t];return n.getStore().get(n.getDimensionIndex(r||"value"),this.dataIndex)},setVisual:function(r,n){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,r,n)},getVisual:function(r){return this[e][t].getItemVisual(this.dataIndex,r)},setLayout:function(r,n){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,r,n)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}ft(xa,tT("hostGraph","data"));ft(eT,tT("hostGraph","edgeData"));const Uj=Hj;function rT(e,t,r,n,i){for(var a=new Uj(n),o=0;o<e.length;o++)a.addNode(ut(e[o].id,e[o].name,o),o);for(var s=[],u=[],l=0,o=0;o<t.length;o++){var c=t[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=Kn(e,r);else{var v=Ls.get(d),g=v?v.dimensions||[]:[];_e(g,"value")<0&&g.concat(["value"]);var m=Bl(e,{coordDimensions:g,encodeDefine:r.getEncode()}).dimensions;p=new Wt(m,r),p.initData(e)}var y=new Wt(["value"],r);return y.initData(u,s),i&&i(p,y),BA({mainData:p,struct:a,structAttr:"graph",datas:{node:p,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a}var Wj=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new Ul(i,i),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},t.prototype.mergeOption=function(r){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(r.edges||r.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(r){e.prototype.mergeDefaultAndTheme.apply(this,arguments),Xa(r,"edgeLabel",["show"])},t.prototype.getInitialData=function(r,n){var i=r.edges||r.links||[],a=r.data||r.nodes||[],o=this;if(a&&i){Tj(this);var s=rT(a,i,this,!0,u);return E(s.edges,function(l){Dj(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}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.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=xS({series:this,dataIndex:r,multipleSeries:n});return f},t.prototype._updateCategoriesData=function(){var r=H(this.option.categories||[],function(i){return i.value!=null?i:$({value:0},i)}),n=new Wt(["value"],this);n.initData(r),this._categoriesData=n,this._categoriesModels=n.mapArray(function(i){return n.getItemModel(i)})},t.prototype.setZoom=function(r){this.option.zoom=r},t.prototype.setCenter=function(r){this.option.center=r},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.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"}}},t}(je);const qj=Wj;var Zj={type:"graphRoam",event:"graphRoam",update:"none"};function Yj(e){e.registerChartView(Gj),e.registerSeriesModel(qj),e.registerProcessor(xj),e.registerVisual(wj),e.registerVisual(Sj),e.registerLayout(Ej),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,Mj),e.registerLayout(Lj),e.registerCoordinateSystem("graphView",{dimensions:ql.dimensions,create:Rj}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},at),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},at),e.registerAction(Zj,function(t,r,n){r.eachComponent({mainType:"series",query:t},function(i){var a=i.coordinateSystem,o=r7(a,t,void 0,n);i.setCenter&&i.setCenter(o.center),i.setZoom&&i.setZoom(o.zoom)})})}var Xj=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),jj=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="pointer",n}return t.prototype.getDefaultShape=function(){return new Xj},t.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)},t}(we);const Kj=jj;function Qj(e,t){var r=e.get("center"),n=t.getWidth(),i=t.getHeight(),a=Math.min(n,i),o=W(r[0],t.getWidth()),s=W(r[1],t.getHeight()),u=W(e.get("radius"),a/2);return{cx:o,cy:s,r:u}}function J1(e,t){var r=e==null?"":e+"";return t&&(Z(t)?r=t.replace("{value}",r):te(t)&&(r=t(e))),r}var Jj=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){this.group.removeAll();var a=r.get(["axisLine","lineStyle","color"]),o=Qj(r,i);this._renderMain(r,n,i,a,o),this._data=r.getData()},t.prototype.dispose=function(){},t.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?mc:tr,p=f.get("show"),v=f.getModel("lineStyle"),g=v.get("width"),m=[l,c];t5(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)},t.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"),L,N,I=0;I<=b;I++){if(L=Math.cos(C),N=Math.sin(C),m.get("show")){var O=M?M+c:c,P=new xt({shape:{x1:L*(p-O)+h,y1:N*(p-O)+d,x2:L*(p-w-O)+h,y2:N*(p-w-O)+d},style:D,silent:!0});D.stroke==="auto"&&P.setStyle({stroke:a(I/b)}),f.add(P)}if(_.get("show")){var O=_.get("distance")+M,R=J1(nt(I/b*(g-v)+v),_.get("formatter")),B=a(I/b),V=L*(p-w-O)+h,z=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:V,y:z,verticalAlign:N<-.8?"top":N>.8?"bottom":"middle",align:L<-.4?"left":L>.4?"right":"center"},{inheritColor:B}),silent:!0})):f.add(new ke({style:Ue(_,{text:R,x:V,y:z,verticalAlign:"middle",align:"center"},{inheritColor:B}),silent:!0,originX:V,originY:z,rotation:q}))}if(y.get("show")&&I!==b){var O=y.get("distance");O=O?O+c:c;for(var K=0;K<=x;K++){L=Math.cos(C),N=Math.sin(C);var xe=new xt({shape:{x1:L*(p-O)+h,y1:N*(p-O)+d,x2:L*(p-S-O)+h,y2:N*(p-S-O)+d},silent:!0,style:k});k.stroke==="auto"&&xe.setStyle({stroke:a((I+K/x)/b)}),f.add(xe),C+=T}C-=T}else C+=A}},t.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"),L=W(M.get("width"),o.r),N=W(M.get("length"),o.r),I=r.get(["pointer","icon"]),O=M.get("offsetCenter"),P=W(O[0],o.r),R=W(O[1],o.r),B=M.get("keepAspect"),V;return I?V=ct(I,P-L/2,R-N,L,N,null,B):V=new Kj({shape:{angle:-Math.PI/2,width:L,r:N,x:P,y:R}}),V.rotation=-(D+Math.PI/2),V.x=o.cx,V.y=o.cy,V}function A(T,D){var k=g.get("roundCap"),M=k?mc:tr,L=g.get("overlap"),N=L?g.get("width"):c/y.count(),I=L?o.r-N:o.r-(T+1)*N,O=L?o.r:o.r-T*N,P=new M({shape:{startAngle:s,endAngle:D,cx:o.cx,cy:o.cy,clockwise:l,r0:I,r:O}});return L&&(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),L=g.get("clip");Ye(M,{shape:{endAngle:Be(D,w,S,L)}},r),f.add(M),ad(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),L=M?M.rotation:s,N=C(T,L);N.rotation=L,Le(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 I=d[D],O=I?I.shape.endAngle:s,P=A(T,O),R=g.get("clip");Le(P,{shape:{endAngle:Be(k,w,S,R)}},r),f.add(P),ad(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"),L=k.get("blurScope"),N=k.get("disabled");if(v){var I=y.getItemGraphicEl(T),O=y.getItemVisual(T,"style"),P=O.fill;if(I instanceof Mt){var R=I.style;I.useStyle($({image:R.image,x:R.x,y:R.y,width:R.width,height:R.height},O))}else I.useStyle(O),I.type!=="pointer"&&I.setColor(P);I.setStyle(D.getModel(["pointer","itemStyle"]).getItemStyle()),I.style.fill==="auto"&&I.setStyle("fill",a(Be(y.get(_,T),w,[0,1],!0))),I.z2EmphasisLift=0,Et(I,D),Je(I,M,L,N)}if(m){var B=p[T];B.useStyle(y.getItemVisual(T,"style")),B.setStyle(D.getModel(["progress","itemStyle"]).getItemStyle()),B.z2EmphasisLift=0,Et(B,D),Je(B,M,L,N)}}),this._progressEls=p)},t.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)}},t.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),L=o.cy+W(k[1],o.r),N=W(D.get("width"),o.r),I=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:L,text:J1(_,P),width:isNaN(N)?null:N,height:isNaN(I)?null:I,align:"center",verticalAlign:"middle"},{inheritColor:O})}),Cw(T,{normal:D},_,function(B){return J1(B,P)}),v&&Aw(T,m,u,r,{getFormattedLabel:function(B,V,z,U,q,K){return J1(K?K.interpolatedValue:_,P)}}),b.add(T)}h.add(b)}),this.group.add(h),this._titleEls=d,this._detailEls=p},t.type="gauge",t}(qe);const eK=Jj;var tK=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="itemStyle",r}return t.prototype.getInitialData=function(r,n){return Bs(this,["value"])},t.type="series.gauge",t.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}},t}(je);const rK=tK;function nK(e){e.registerChartView(eK),e.registerSeriesModel(rK)}var iK=["itemStyle","opacity"],aK=function(e){F(t,e);function t(r,n){var i=e.call(this)||this,a=i,o=new ir,s=new ke;return a.setTextContent(s),i.setTextGuideLine(o),i.updateData(r,n,!0),i}return t.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(iK);c=c??1,i||jr(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)):Le(a,{style:{opacity:c},shape:{points:u.points}},o,n),Et(a,s),this._updateLabel(r,n),Je(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))},t.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;kt(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},Le(o,{style:{x:c.x,y:c.y}},s,n),o.attr({rotation:c.rotation,originX:c.x,originY:c.y,z2:10}),H5(i,U5(u),{stroke:h})},t}(rr),oK=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.ignoreLabelLineUpdate=!0,r}return t.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 aK(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);sl(l,r,u)}).execute(),this._data=a},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(qe);const sK=oK;var uK=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ul(X(this.getData,this),X(this.getRawData,this)),this._defaultLabelLine(r)},t.prototype.getInitialData=function(r,n){return Bs(this,{coordDimensions:["value"],encodeDefaulter:ve(b5,this)})},t.prototype._defaultLabelLine=function(r){Xa(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},t.prototype.getDataParams=function(r){var n=this.getData(),i=e.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},t.type="series.funnel",t.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"}}},t}(je);const lK=uK;function cK(e,t){return dt(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function fK(e,t){for(var r=e.mapDimension("value"),n=e.mapArray(r,function(u){return u}),i=[],a=t==="ascending",o=0,s=e.count();o<s;o++)i[o]=o;return te(t)?i.sort(t):t!=="none"&&i.sort(function(u,l){return a?n[u]-n[l]:n[l]-n[u]}),i}function hK(e){var t=e.hostModel,r=t.get("orient");e.each(function(n){var i=e.getItemModel(n),a=i.getModel("label"),o=a.get("position"),s=i.getModel("labelLine"),u=e.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 dK(e,t){e.eachSeriesByType("funnel",function(r){var n=r.getData(),i=n.mapDimension("value"),a=r.get("sort"),o=cK(r,t),s=r.get("orient"),u=o.width,l=o.height,c=fK(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(L,N){if(s==="horizontal"){var I=n.get(i,L)||0,O=Be(I,[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,L)||0,B=Be(R,[v,g],d,!0),V;switch(m){case"left":V=f;break;case"center":V=f+(u-B)/2;break;case"right":V=f+u-B;break}return[[V,N],[V+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())})}}hK(n)})}function pK(e){e.registerChartView(sK),e.registerSeriesModel(lK),e.registerLayout(dK),e.registerProcessor(Hl("funnel"))}var vK=.3,gK=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._dataGroup=new le,r._initialized=!1,r}return t.prototype.init=function(){this.group.add(this._dataGroup)},t.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=S9(r);s.diff(u).add(h).update(d).remove(p).execute();function h(g){var m=w9(s,o,g,c,l);z6(m,s,g,f)}function d(g,m){var y=u.getItemGraphicEl(m),_=nT(s,g,c,l);s.setItemGraphicEl(g,y),Le(y,{shape:{points:_}},r,g),jr(y),z6(y,s,g,f)}function p(g){var m=u.getItemGraphicEl(g);o.remove(m)}if(!this._initialized){this._initialized=!0;var v=mK(l,r,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(v)}this._data=s},t.prototype.incrementalPrepareRender=function(r,n,i){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(r,n,i){for(var a=n.getData(),o=n.coordinateSystem,s=o.dimensions,u=S9(n),l=this._progressiveEls=[],c=r.start;c<r.end;c++){var f=w9(a,this._dataGroup,c,s,o);f.incremental=!0,z6(f,a,c,u),l.push(f)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(qe);function mK(e,t,r){var n=e.model,i=e.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}},t,r),a}function nT(e,t,r,n){for(var i=[],a=0;a<r.length;a++){var o=r[a],s=e.get(e.mapDimension(o),t);yK(s,n.getAxis(o).type)||i.push(n.dataToPoint(s,o))}return i}function w9(e,t,r,n,i){var a=nT(e,r,n,i),o=new ir({shape:{points:a},z2:10});return t.add(o),e.setItemGraphicEl(r,o),o}function S9(e){var t=e.get("smooth",!0);return t===!0&&(t=vK),t=Hn(t),Ya(t)&&(t=0),{smooth:t}}function z6(e,t,r,n){e.useStyle(t.getItemVisual(r,"style")),e.style.fill=null,e.setShape("smooth",n.smooth);var i=t.getItemModel(r),a=i.getModel("emphasis");Et(e,i,"lineStyle"),Je(e,a.get("focus"),a.get("blurScope"),a.get("disabled"))}function yK(e,t){return t==="category"?e==null:e==null||isNaN(e)}const _K=gK;var bK=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return t.prototype.getInitialData=function(r,n){return Kn(null,this,{useEncodeDefaulter:X(xK,null,this)})},t.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},t.type="series.parallel",t.dependencies=["parallel"],t.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"},t}(je);function xK(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var r={};return E(t.dimensions,function(n){var i=wK(n);r[n]=i}),r}}function wK(e){return+e.replace("dim","")}const SK=bK;var CK=["lineStyle","opacity"],AK={seriesType:"parallel",reset:function(e,t){var r=e.coordinateSystem,n={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.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(CK,!0);l!=null&&(u=l)}var c=a.ensureUniqueItemVisual(s,"style");c.opacity=u},i.start,i.end)}}}};const TK=AK;function DK(e){EK(e),kK(e)}function EK(e){if(!e.parallel){var t=!1;E(e.series,function(r){r&&r.type==="parallel"&&(t=!0)}),t&&(e.parallel=[{}])}}function kK(e){var t=Ve(e.parallelAxis);E(t,function(r){if(ne(r)){var n=r.parallelIndex||0,i=Ve(e.parallel)[n];i&&i.parallelAxisDefault&&ge(r,i.parallelAxisDefault,!1)}})}var MK=5,IK=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){this._model=r,this._api=i,this._handlers||(this._handlers={},E(LK,function(a,o){i.getZr().on(o,this._handlers[o]=X(a,this))},this)),Rs(this,"_throttledDispatchExpand",r.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(r,n){fl(this,"_throttledDispatchExpand"),E(this._handlers,function(i,a){n.getZr().off(a,i)}),this._handlers=null},t.prototype._throttledDispatchExpand=function(r){this._dispatchExpand(r)},t.prototype._dispatchExpand=function(r){r&&this._api.dispatchAction($({type:"parallelAxisExpand"},r))},t.type="parallel",t}(et),LK={mousedown:function(e){$6(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if($6(this,"click")&&t){var r=[e.offsetX,e.offsetY],n=Math.pow(t[0]-r[0],2)+Math.pow(t[1]-r[1],2);if(n>MK)return;var i=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);i.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:i.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!(this._mouseDownPoint||!$6(this,"mousemove"))){var t=this._model,r=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),n=r.behavior;n==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(n==="none"?null:{axisExpandWindow:r.axisExpandWindow,animation:n==="jump"?null:{duration:0}})}}};function $6(e,t){var r=e._model;return r.get("axisExpandable")&&r.get("axisExpandTriggerOn")===t}const PK=IK;var RK=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(r){var n=this.option;r&&ge(n,r,!0),this._initDimensions()},t.prototype.contains=function(r,n){var i=r.get("parallelIndex");return i!=null&&n.getComponent("parallel",i)===this},t.prototype.setAxisExpand=function(r){E(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(n){r.hasOwnProperty(n)&&(this.option[n]=r[n])},this)},t.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)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.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},t}(Ce);const NK=RK;var OK=function(e){F(t,e);function t(r,n,i,a,o){var s=e.call(this,r,n,i)||this;return s.type=a||"value",s.axisIndex=o,s}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},t}(Qr);const BK=OK;function po(e,t,r,n,i,a){e=e||0;var o=r[1]-r[0];if(i!=null&&(i=Oo(i,[0,o])),a!=null&&(a=Math.max(a,i??0)),n==="all"){var s=Math.abs(t[1]-t[0]);s=Oo(s,[0,o]),i=a=Oo(s,[i,a]),n=0}t[0]=Oo(t[0],r),t[1]=Oo(t[1],r);var u=G6(t,n);t[n]+=e;var l=i||0,c=r.slice();u.sign<0?c[0]+=l:c[1]-=l,t[n]=Oo(t[n],c);var f;return f=G6(t,n),i!=null&&(f.sign!==u.sign||f.span<i)&&(t[1-n]=t[n]+u.sign*i),f=G6(t,n),a!=null&&f.span>a&&(t[1-n]=t[n]+f.sign*a),t}function G6(e,t){var r=e[t]-e[1-t];return{span:Math.abs(r),sign:r>0?-1:r<0?1:t?-1:1}}function Oo(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var H6=E,iT=Math.min,aT=Math.max,C9=Math.floor,FK=Math.ceil,A9=nt,VK=Math.PI,zK=function(){function e(t,r,n){this.type="parallel",this._axesMap=J(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,r,n)}return e.prototype._init=function(t,r,n){var i=t.dimensions,a=t.parallelAxisIndex;H6(i,function(o,s){var u=a[s],l=r.getComponent("parallelAxis",u),c=this._axesMap.set(o,new BK(o,T2(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)},e.prototype.update=function(t,r){this._updateAxesFromSeries(this._model,t)},e.prototype.containPoint=function(t){var r=this._makeLayoutInfo(),n=r.axisBase,i=r.layoutBase,a=r.pixelDimIndex,o=t[1-a],s=t[a];return o>=n&&o<=n+r.axisLength&&s>=i&&s<=i+r.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(t,r){r.eachSeries(function(n){if(t.contains(n,r)){var i=n.getData();H6(this.dimensions,function(a){var o=this._axesMap.get(a);o.scale.unionExtentFromData(i,i.mapDimension(a)),ds(o.scale,o.model)},this)}},this)},e.prototype.resize=function(t,r){this._rect=dt(t.getBoxLayoutParams(),{width:r.getWidth(),height:r.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var t=this._model,r=this._rect,n=["x","y"],i=["width","height"],a=t.get("layout"),o=a==="horizontal"?0:1,s=r[i[o]],u=[0,s],l=this.dimensions.length,c=e0(t.get("axisExpandWidth"),u),f=e0(t.get("axisExpandCount")||0,[0,l]),h=t.get("axisExpandable")&&l>3&&l>f&&f>1&&c>0&&s>0,d=t.get("axisExpandWindow"),p;if(d)p=e0(d[1]-d[0],u),d[1]=d[0]+p;else{p=e0(c*(f-1),u);var v=t.get("axisExpandCenter")||C9(l/2);d=[c*v-p/2],d[1]=d[0]+p}var g=(s-p)/(l-f);g<3&&(g=0);var m=[C9(A9(d[0]/c,1))+1,FK(A9(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}},e.prototype._layoutAxes=function(){var t=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])}),H6(n,function(o,s){var u=(i.axisExpandable?GK:$K)(s,i),l={horizontal:{x:u.position,y:i.axisLength},vertical:{x:0,y:u.position}},c={horizontal:VK/2,vertical:0},f=[l[a].x+t.x,l[a].y+t.y],h=c[a],d=lr();ao(d,d,h),yn(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)},e.prototype.getAxis=function(t){return this._axesMap.get(t)},e.prototype.dataToPoint=function(t,r){return this.axisCoordToPoint(this._axesMap.get(r).dataToCoord(t),r)},e.prototype.eachActiveState=function(t,r,n,i){n==null&&(n=0),i==null&&(i=t.count());var a=this._axesMap,o=this.dimensions,s=[],u=[];E(o,function(g){s.push(t.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=t.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)}},e.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,r=this._axesMap,n=!1,i=0,a=t.length;i<a;i++)r.get(t[i]).model.getActiveState()!=="normal"&&(n=!0);return n},e.prototype.axisCoordToPoint=function(t,r){var n=this._axesLayout[r];return Zr([t,0],n.transform)},e.prototype.getAxisLayout=function(t){return oe(this._axesLayout[t])},e.prototype.getSlidedAxisExpandWindow=function(t){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(t))return{behavior:"none",axisExpandWindow:i};var s=t[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?po(u,i,o,"all"):l="none";else{var d=i[1]-i[0],p=o[1]*s/d;i=[aT(0,p-d/2)],i[1]=iT(o[1],i[0]+d),i[0]=i[1]-d}return{axisExpandWindow:i,behavior:l}},e}();function e0(e,t){return iT(aT(e,t[0]),t[1])}function $K(e,t){var r=t.layoutLength/(t.axisCount-1);return{position:r*e,axisNameAvailableWidth:r,axisLabelShow:!0}}function GK(e,t){var r=t.layoutLength,n=t.axisExpandWidth,i=t.axisCount,a=t.axisCollapseWidth,o=t.winInnerIndices,s,u=a,l=!1,c;return e<o[0]?(s=e*a,c=a):e<=o[1]?(s=t.axisExpandWindow0Pos+e*n-t.axisExpandWindow[0],u=n,l=!0):(s=r-(i-1-e)*a,c=a),{position:s,axisNameAvailableWidth:u,axisLabelShow:l,nameTruncateMaxWidth:c}}const HK=zK;function UK(e,t){var r=[];return e.eachComponent("parallel",function(n,i){var a=new HK(n,e,t);a.name="parallel_"+i,a.resize(n,t),n.coordinateSystem=a,a.model=n,r.push(a)}),e.eachSeries(function(n){if(n.get("coordinateSystem")==="parallel"){var i=n.getReferringComponents("parallel",lt).models[0];n.coordinateSystem=i.coordinateSystem}}),r}var WK={create:UK};const qK=WK;var oT=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.activeIntervals=[],r}return t.prototype.getAreaSelectStyle=function(){return Ka([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(r){var n=this.activeIntervals=oe(r);if(n)for(var i=n.length-1;i>=0;i--)Er(n[i])},t.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"},t}(Ce);ft(oT,Fl);const T9=oT;var eo=!0,wl=Math.min,gs=Math.max,ZK=Math.pow,YK=1e4,XK=6,jK=6,D9="globalPan",KK={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},QK={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},E9={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},JK=0,eQ=function(e){F(t,e);function t(r){var n=e.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_"+JK++,E(sQ,function(i,a){this._handlers[a]=X(i,this)},n),n}return t.prototype.enableBrush=function(r){return process.env.NODE_ENV!=="production"&&ie(this._mounted),this._brushType&&this._doDisableBrush(),r.brushType&&this._doEnableBrush(r),this},t.prototype._doEnableBrush=function(r){var n=this._zr;this._enableGlobalPan||cY(n,D9,this._uid),E(this._handlers,function(i,a){n.on(a,i)}),this._brushType=r.brushType,this._brushOption=ge(oe(E9),r,!0)},t.prototype._doDisableBrush=function(){var r=this._zr;fY(r,D9,this._uid),E(this._handlers,function(n,i){r.off(i,n)}),this._brushType=this._brushOption=null},t.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},t.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},t.prototype.updateCovers=function(r){process.env.NODE_ENV!=="production"&&ie(this._mounted),r=H(r,function(h){return ge(oe(E9),h,!0)});var n="\0-brush-index-",i=this._covers,a=this._covers=[],o=this,s=this._creatingCover;return new qn(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]):uT(o,sT(o,p));d7(o,v)}}function f(h){i[h]!==s&&o.group.remove(i[h])}},t.prototype.unmount=function(){if(!(process.env.NODE_ENV!=="production"&&!this._mounted))return this.enableBrush(!1),Xd(this),this._zr.remove(this.group),process.env.NODE_ENV!=="production"&&(this._mounted=!1),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(Rr);function sT(e,t){var r=L2[t.brushType].createCover(e,t);return r.__brushOption=t,cT(r,t),e.group.add(r),r}function uT(e,t){var r=p7(t);return r.endCreating&&(r.endCreating(e,t),cT(t,t.__brushOption)),t}function lT(e,t){var r=t.__brushOption;p7(t).updateCoverShape(e,t,r.range,r)}function cT(e,t){var r=t.z;r==null&&(r=YK),e.traverse(function(n){n.z=r,n.z2=r})}function d7(e,t){p7(t).updateCommon(e,t),lT(e,t)}function p7(e){return L2[e.__brushOption.brushType]}function v7(e,t,r){var n=e._panels;if(!n)return eo;var i,a=e._transform;return E(n,function(o){o.isTargetByCursor(t,r,a)&&(i=o)}),i}function fT(e,t){var r=e._panels;if(!r)return eo;var n=t.__brushOption.panelId;return n!=null?r[n]:eo}function Xd(e){var t=e._covers,r=t.length;return E(t,function(n){e.group.remove(n)},e),t.length=0,!!r}function to(e,t){var r=H(e._covers,function(n){var i=n.__brushOption,a=oe(i.range);return{brushType:i.brushType,panelId:i.panelId,range:a}});e.trigger("brush",{areas:r,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function tQ(e){var t=e._track;if(!t.length)return!1;var r=t[t.length-1],n=t[0],i=r[0]-n[0],a=r[1]-n[1],o=ZK(i*i+a*a,.5);return o>XK}function hT(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function dT(e,t,r,n){var i=new le;return i.add(new Ee({name:"main",style:g7(r),silent:!0,draggable:!0,cursor:"move",drift:ve(k9,e,t,i,["n","s","w","e"]),ondragend:ve(to,t,{isEnd:!0})})),E(n,function(a){i.add(new Ee({name:a.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:ve(k9,e,t,i,a),ondragend:ve(to,t,{isEnd:!0})}))}),i}function pT(e,t,r,n){var i=n.brushStyle.lineWidth||0,a=gs(i,jK),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;Mn(e,t,"main",o,s,p,v),n.transformable&&(Mn(e,t,"w",u,l,a,m),Mn(e,t,"e",h,l,a,m),Mn(e,t,"n",u,l,g,a),Mn(e,t,"s",u,d,g,a),Mn(e,t,"nw",u,l,a,a),Mn(e,t,"ne",h,l,a,a),Mn(e,t,"sw",u,d,a,a),Mn(e,t,"se",h,d,a,a))}function jd(e,t){var r=t.__brushOption,n=r.transformable,i=t.childAt(0);i.useStyle(g7(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=t.childOfName(a.join("")),s=a.length===1?Kd(e,a[0]):nQ(e,a);o&&o.attr({silent:!n,invisible:!n,cursor:n?QK[s]+"-resize":null})})}function Mn(e,t,r,n,i,a,o){var s=t.childOfName(r);s&&s.setShape(aQ(m7(e,t,[[n,i],[n+a,i+o]])))}function g7(e){return ae({strokeNoScale:!0},e.brushStyle)}function vT(e,t,r,n){var i=[wl(e,r),wl(t,n)],a=[gs(e,r),gs(t,n)];return[[i[0],a[0]],[i[1],a[1]]]}function rQ(e){return Ga(e.group)}function Kd(e,t){var r={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},i=c2(r[t],rQ(e));return n[i]}function nQ(e,t){var r=[Kd(e,t[0]),Kd(e,t[1])];return(r[0]==="e"||r[0]==="w")&&r.reverse(),r.join("")}function k9(e,t,r,n,i,a){var o=r.__brushOption,s=e.toRectRange(o.range),u=gT(t,i,a);E(n,function(l){var c=KK[l];s[c[0]][c[1]]+=u[c[0]]}),o.range=e.fromRectRange(vT(s[0][0],s[1][0],s[0][1],s[1][1])),d7(t,r),to(t,{isEnd:!1})}function iQ(e,t,r,n){var i=t.__brushOption.range,a=gT(e,r,n);E(i,function(o){o[0]+=a[0],o[1]+=a[1]}),d7(e,t),to(e,{isEnd:!1})}function gT(e,t,r){var n=e.group,i=n.transformCoordToLocal(t,r),a=n.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function m7(e,t,r){var n=fT(e,t);return n&&n!==eo?n.clipPath(r,e._transform):oe(r)}function aQ(e){var t=wl(e[0][0],e[1][0]),r=wl(e[0][1],e[1][1]),n=gs(e[0][0],e[1][0]),i=gs(e[0][1],e[1][1]);return{x:t,y:r,width:n-t,height:i-r}}function oQ(e,t,r){if(!(!e._brushType||uQ(e,t.offsetX,t.offsetY))){var n=e._zr,i=e._covers,a=v7(e,t,r);if(!e._dragging)for(var o=0;o<i.length;o++){var s=i[o].__brushOption;if(a&&(a===eo||s.panelId===a.panelId)&&L2[s.brushType].contain(i[o],r[0],r[1]))return}a&&n.setCursorStyle("crosshair")}}function Qd(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Jd(e,t,r){return e.childOfName("main").contain(t,r)}function mT(e,t,r,n){var i=e._creatingCover,a=e._creatingPanel,o=e._brushOption,s;if(e._track.push(r.slice()),tQ(e)||i){if(a&&!i){o.brushMode==="single"&&Xd(e);var u=oe(o);u.brushType=M9(u.brushType,a),u.panelId=a===eo?null:a.panelId,i=e._creatingCover=sT(e,u),e._covers.push(i)}if(i){var l=L2[M9(e._brushType,a)],c=i.__brushOption;c.range=l.getCreatingRange(m7(e,i,e._track)),n&&(uT(e,i),l.updateCommon(e,i)),lT(e,i),s={isEnd:n}}}else n&&o.brushMode==="single"&&o.removeOnClick&&v7(e,t,r)&&Xd(e)&&(s={isEnd:n,removeOnClick:!0});return s}function M9(e,t){return e==="auto"?(process.env.NODE_ENV!=="production"&&ie(t&&t.defaultBrushType,'MUST have defaultBrushType when brushType is "atuo"'),t.defaultBrushType):e}var sQ={mousedown:function(e){if(this._dragging)I9(this,e);else if(!e.target||!e.target.draggable){Qd(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var r=this._creatingPanel=v7(this,e,t);r&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,r=e.offsetY,n=this.group.transformCoordToLocal(t,r);if(oQ(this,e,n),this._dragging){Qd(e);var i=mT(this,e,n,!1);i&&to(this,i)}},mouseup:function(e){I9(this,e)}};function I9(e,t){if(e._dragging){Qd(t);var r=t.offsetX,n=t.offsetY,i=e.group.transformCoordToLocal(r,n),a=mT(e,t,i,!0);e._dragging=!1,e._track=[],e._creatingCover=null,a&&to(e,a)}}function uQ(e,t,r){var n=e._zr;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var L2={lineX:L9(0),lineY:L9(1),rect:{createCover:function(e,t){function r(n){return n}return dT({toRectRange:r,fromRectRange:r},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=hT(e);return vT(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,r,n){pT(e,t,r,n)},updateCommon:jd,contain:Jd},polygon:{createCover:function(e,t){var r=new le;return r.add(new ir({name:"main",style:g7(t),silent:!0})),r},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new rr({name:"main",draggable:!0,drift:ve(iQ,e,t),ondragend:ve(to,e,{isEnd:!0})}))},updateCoverShape:function(e,t,r,n){t.childAt(0).setShape({points:m7(e,t,r)})},updateCommon:jd,contain:Jd}};function L9(e){return{createCover:function(t,r){return dT({toRectRange:function(n){var i=[n,[0,100]];return e&&i.reverse(),i},fromRectRange:function(n){return n[e]}},t,r,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var r=hT(t),n=wl(r[0][e],r[1][e]),i=gs(r[0][e],r[1][e]);return[n,i]},updateCoverShape:function(t,r,n,i){var a,o=fT(t,r);if(o!==eo&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(e);else{var s=t._zr;a=[0,[s.getWidth(),s.getHeight()][1-e]]}var u=[n,a];e&&u.reverse(),pT(t,r,u,i)},updateCommon:jd,contain:Jd}}const y7=eQ;function yT(e){return e=_7(e),function(t){return xw(t,e)}}function _T(e,t){return e=_7(e),function(r){var n=t??r,i=n?e.width:e.height,a=n?e.x:e.y;return[a,a+(i||0)]}}function bT(e,t,r){var n=_7(e);return function(i,a){return n.contain(a[0],a[1])&&!E2(i,t,r)}}function _7(e){return ye.create(e)}var lQ=["axisLine","axisTickLabel","axisName"],cQ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){e.prototype.init.apply(this,arguments),(this._brushController=new y7(n.getZr())).on("brush",X(this._onBrush,this))},t.prototype.render=function(r,n,i,a){if(!fQ(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=dQ(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 Zn(r,d);E(lQ,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(d,l,r,s,c,i),Rl(o,this._axisGroup,r)}}},t.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:yT(f),isTargetByCursor:bT(f,s,a),getLinearBrushOtherExtent:_T(f,0)}]).enableBrush({brushType:"lineX",brushStyle:n,removeOnClick:!0}).updateCovers(hQ(i))},t.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})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(et);function fQ(e,t,r){return r&&r.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:r})[0]===e}function hQ(e){var t=e.axis;return H(e.activeIntervals,function(r){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(r[0],!0),t.dataToCoord(r[1],!0)]}})}function dQ(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}const pQ=cQ;var vQ={type:"axisAreaSelect",event:"axisAreaSelected"};function gQ(e){e.registerAction(vQ,function(t,r){r.eachComponent({mainType:"parallelAxis",query:t},function(n){n.axis.model.setActiveIntervals(t.intervals)})}),e.registerAction("parallelAxisExpand",function(t,r){r.eachComponent({mainType:"parallel",query:t},function(n){n.setAxisExpand(t)})})}var mQ={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function xT(e){e.registerComponentView(PK),e.registerComponentModel(NK),e.registerCoordinateSystem("parallel",qK),e.registerPreprocessor(DK),e.registerComponentModel(T9),e.registerComponentView(pQ),vs(e,"parallel",T9,mQ),gQ(e)}function yQ(e){be(xT),e.registerChartView(_K),e.registerSeriesModel(SK),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,TK)}var _Q=function(){function e(){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 e}(),bQ=function(e){F(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new _Q},t.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()},t.prototype.highlight=function(){Un(this)},t.prototype.downplay=function(){Wn(this)},t}(we),xQ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._focusAdjacencyDisabled=!1,r}return t.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 bQ,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,L,N,I,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,L=(S!=null?S*c:b.y)+b.dy,N=(T!=null?T*l:C.x)+k.ty,I=D!=null?D*c:C.y,O=M,P=L*(1-_)+I*_,R=N,B=L*_+I*(1-_)):(M=(w!=null?w*l:b.x)+b.dx,L=(S!=null?S*c:b.y)+k.sy,N=T!=null?T*l:C.x,I=(D!=null?D*c:C.y)+k.ty,O=M*(1-_)+N*_,P=L,R=M*_+N*(1-_),B=I),v.setShape({x1:M,y1:L,x2:N,y2:I,cpx1:O,cpy1:P,cpx2:R,cpy2:B}),v.useStyle(y.getItemStyle()),P9(v.style,d,p);var V=""+m.get("value"),z=gt(m,"edgeLabel");kt(v,z,{labelFetcher:{getFormattedLabel:function(K,xe,ze,ue,ee,he){return r.getFormattedLabel(K,xe,"edge",ue,kr(ee,z.normal&&z.normal.get("formatter"),V),he)}},labelDataIndex:p.dataIndex,defaultText:V}),v.setTextConfig({position:"inside"});var U=m.getModel("emphasis");Et(v,m,"lineStyle",function(K){var xe=K.getItemStyle();return P9(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});kt(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),Et(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(wQ(s.getBoundingRect(),r,function(){s.removeClipPath()})),this._data=r.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(qe);function P9(e,t,r){switch(e.fill){case"source":e.fill=r.node1.getVisual("color"),e.decal=r.node1.getVisual("style").decal;break;case"target":e.fill=r.node2.getVisual("color"),e.decal=r.node2.getVisual("style").decal;break;case"gradient":var n=r.node1.getVisual("color"),i=r.node2.getVisual("color");Z(n)&&Z(i)&&(e.fill=new Pl(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:n,offset:0},{color:i,offset:1}]))}}function wQ(e,t,r){var n=new Ee({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ye(n,{shape:{width:e.width+20}},t,r),n}const SQ=xQ;var CQ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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=rT(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})}},t.prototype.setNodePosition=function(r,n){var i=this.option.data||this.option.nodes,a=i[r];a.localX=n[0],a.localY=n[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.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)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(r,n){var i=e.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},t.type="series.sankey",t.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},t}(je);const AQ=CQ;function TQ(e,t){e.eachSeriesByType("sankey",function(r){var n=r.get("nodeWidth"),i=r.get("nodeGap"),a=DQ(r,t);r.layoutInfo=a;var o=a.width,s=a.height,u=r.getGraph(),l=u.nodes,c=u.edges;kQ(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");EQ(l,c,n,i,o,s,h,d,p)})}function DQ(e,t){return dt(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function EQ(e,t,r,n,i,a,o,s,u){MQ(e,t,r,i,a,s,u),RQ(e,t,a,i,n,o,s),HQ(e,s)}function kQ(e){E(e,function(t){var r=Mi(t.outEdges,Sc),n=Mi(t.inEdges,Sc),i=t.getValue()||0,a=Math.max(r,n,i);t.setLayout({value:a},!0)})}function MQ(e,t,r,n,i,a,o){for(var s=[],u=[],l=[],c=[],f=0,h=0;h<t.length;h++)s[h]=1;for(var h=0;h<e.length;h++)u[h]=e[h].inEdges.length,u[h]===0&&l.push(e[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=t.indexOf(_);s[b]=0;var x=_.node2,w=e.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"&&IQ(e,o,a,S);var C=a==="vertical"?(i-r)/S:(n-r)/S;PQ(e,C,a)}function wT(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return t.depth!=null&&t.depth>=0}function IQ(e,t,r,n){if(t==="right"){for(var i=[],a=e,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(e,function(f){wT(f)||f.setLayout({depth:Math.max(0,n-f.getLayout().skNodeHeight)},!0)})}else t==="justify"&&LQ(e,n)}function LQ(e,t){E(e,function(r){!wT(r)&&!r.outEdges.length&&r.setLayout({depth:t},!0)})}function PQ(e,t,r){E(e,function(n){var i=n.getLayout().depth*t;r==="vertical"?n.setLayout({y:i},!0):n.setLayout({x:i},!0)})}function RQ(e,t,r,n,i,a,o){var s=NQ(e,o);OQ(s,t,r,n,i,o),U6(s,i,r,n,o);for(var u=1;a>0;a--)u*=.99,BQ(s,u,o),U6(s,i,r,n,o),GQ(s,u,o),U6(s,i,r,n,o)}function NQ(e,t){var r=[],n=t==="vertical"?"y":"x",i=td(e,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 OQ(e,t,r,n,i,a){var o=1/0;E(e,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(e,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(t,function(s){var u=+s.getValue()*o;s.setLayout({dy:u},!0)})}function U6(e,t,r,n,i){var a=i==="vertical"?"x":"y";E(e,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]+t;var p=i==="vertical"?n:r;if(l=c-t-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]+t-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 BQ(e,t,r){E(e.slice().reverse(),function(n){E(n,function(i){if(i.outEdges.length){var a=Mi(i.outEdges,FQ,r)/Mi(i.outEdges,Sc);if(isNaN(a)){var o=i.outEdges.length;a=o?Mi(i.outEdges,VQ,r)/o:0}if(r==="vertical"){var s=i.getLayout().x+(a-zi(i,r))*t;i.setLayout({x:s},!0)}else{var u=i.getLayout().y+(a-zi(i,r))*t;i.setLayout({y:u},!0)}}})})}function FQ(e,t){return zi(e.node2,t)*e.getValue()}function VQ(e,t){return zi(e.node2,t)}function zQ(e,t){return zi(e.node1,t)*e.getValue()}function $Q(e,t){return zi(e.node1,t)}function zi(e,t){return t==="vertical"?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function Sc(e){return e.getValue()}function Mi(e,t,r){for(var n=0,i=e.length,a=-1;++a<i;){var o=+t(e[a],r);isNaN(o)||(n+=o)}return n}function GQ(e,t,r){E(e,function(n){E(n,function(i){if(i.inEdges.length){var a=Mi(i.inEdges,zQ,r)/Mi(i.inEdges,Sc);if(isNaN(a)){var o=i.inEdges.length;a=o?Mi(i.inEdges,$Q,r)/o:0}if(r==="vertical"){var s=i.getLayout().x+(a-zi(i,r))*t;i.setLayout({x:s},!0)}else{var u=i.getLayout().y+(a-zi(i,r))*t;i.setLayout({y:u},!0)}}})})}function HQ(e,t){var r=t==="vertical"?"x":"y";E(e,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(e,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 UQ(e){e.eachSeriesByType("sankey",function(t){var r=t.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 Tt({type:"color",mappingMethod:"linear",dataExtent:[a,o],visual:t.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 WQ(e){e.registerChartView(SQ),e.registerSeriesModel(AQ),e.registerLayout(TQ),e.registerVisual(UQ),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,r){r.eachComponent({mainType:"series",subType:"sankey",query:t},function(n){n.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var ST=function(){function e(){}return e.prototype._hasEncodeRule=function(t){var r=this.getEncode();return r&&r.get(t)!=null},e.prototype.getInitialData=function(t,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"?(t.layout="horizontal",n=i.getOrdinalMeta(),u=!this._hasEncodeRule("x")):s==="category"?(t.layout="vertical",n=a.getOrdinalMeta(),u=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var l=["x","y"],c=t.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=t.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)}),t.data=m}var y=this.defaultValueDimensions,_=[{name:f,type:fc(p),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:fc(v),dimsDef:y.slice()}];return Bs(this,{coordDimensions:_,dimensionsCount:y.length+1,encodeDefaulter:ve(qw,_,this)})},e.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},e}(),CT=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.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 t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.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},t}(je);ft(CT,ST,!0);const qQ=CT;var ZQ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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=R9(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?(jr(f),AT(h,f,a,l)):f=R9(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},t.prototype.remove=function(r){var n=this.group,i=this._data;this._data=null,i&&i.eachItemGraphicEl(function(a){a&&n.remove(a)})},t.type="boxplot",t}(qe),YQ=function(){function e(){}return e}(),XQ=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="boxplotBoxPath",n}return t.prototype.getDefaultShape=function(){return new YQ},t.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])},t}(we);function R9(e,t,r,n,i){var a=e.ends,o=new XQ({shape:{points:i?jQ(a,n,e):a}});return AT(e,o,t,r,i),o}function AT(e,t,r,n,i){var a=r.hostModel,o=so[i?"initProps":"updateProps"];o(t,{shape:{points:e.ends}},a,n),t.useStyle(r.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.z2=100;var s=r.getItemModel(n),u=s.getModel("emphasis");Et(t,s),Je(t,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function jQ(e,t,r){return H(e,function(n){return n=n.slice(),n[t]=r.initBaseline,n})}const KQ=ZQ;var qu=E;function QQ(e){var t=JQ(e);qu(t,function(r){var n=r.seriesModels;n.length&&(eJ(r),qu(n,function(i,a){tJ(i,r.boxOffsetList[a],r.boxWidthList[a])}))})}function JQ(e){var t=[],r=[];return e.eachSeriesByType("boxplot",function(n){var i=n.getBaseAxis(),a=_e(r,i);a<0&&(a=r.length,r[a]=i,t[a]={axis:i,seriesModels:[]}),t[a].seriesModels.push(n)}),t}function eJ(e){var t=e.axis,r=e.seriesModels,n=r.length,i=e.boxWidthList=[],a=e.boxOffsetList=[],o=[],s;if(t.type==="category")s=t.getBandWidth();else{var u=0;qu(r,function(p){u=Math.max(u,p.getData().count())});var l=t.getExtent();s=Math.abs(l[1]-l[0])/u}qu(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;qu(r,function(p,v){a.push(d),d+=f+h,i.push(Math.min(Math.max(h,o[v][0]),o[v][1]))})}function tJ(e,t,r){var n=e.coordinateSystem,i=e.getData(),a=r/2,o=e.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]+=t),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 rJ(e,t){t=t||{};for(var r=[],n=[],i=t.boundIQR,a=i==="none"||i===0,o=0;o<e.length;o++){var s=Er(e[o].slice()),u=mf(s,.25),l=mf(s,.5),c=mf(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=t.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 nJ={type:"echarts:boxplot",transform:function(t){var r=t.upstream;if(r.sourceFormat!==Vt){var n="";process.env.NODE_ENV!=="production"&&(n=Zt("source data is not applicable for this boxplot transform. Expect number[][].")),Re(n)}var i=rJ(r.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function iJ(e){e.registerSeriesModel(qQ),e.registerChartView(KQ),e.registerLayout(QQ),e.registerTransform(nJ)}var aJ=["itemStyle","borderColor"],oJ=["itemStyle","borderColor0"],sJ=["itemStyle","borderColorDoji"],uJ=["itemStyle","color"],lJ=["itemStyle","color0"];function b7(e,t){return t.get(e>0?uJ:lJ)}function x7(e,t){return t.get(e===0?sJ:e>0?aJ:oJ)}var cJ={seriesType:"candlestick",plan:Ps(),performRawSeries:!0,reset:function(e,t){if(!t.isSeriesFiltered(e)){var r=e.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=b7(s,o),u.stroke=x7(s,o)||u.fill;var l=i.ensureUniqueItemVisual(a,"style");$(l,u)}}}}}};const fJ=cJ;var hJ=["color","borderColor"],dJ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(r),this._isLargeDraw?this._renderLarge(r):this._renderNormal(r)},t.prototype.incrementalPrepareRender=function(r,n,i){this._clear(),this._updateDrawMode(r)},t.prototype.incrementalRender=function(r,n,i,a){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(r,n):this._incrementalRenderNormal(r,n)},t.prototype.eachRendered=function(r){Ui(this._progressiveEls||this.group,r)},t.prototype._updateDrawMode=function(r){var n=r.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.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&&N9(l,f))return;var h=W6(f,c,!0);Ye(h,{shape:{points:f.ends}},r,c),q6(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&&N9(l,d)){a.remove(h);return}h?(Le(h,{shape:{points:d.ends}},r,c),jr(h)):h=W6(d),q6(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},t.prototype._renderLarge=function(r){this._clear(),O9(r,this.group);var n=r.get("clip",!0)?$l(r.coordinateSystem,!1,r):null;n?this.group.setClipPath(n):this.group.removeClipPath()},t.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=W6(s);q6(u,i,o,a),u.incremental=!0,this.group.add(u),this._progressiveEls.push(u)}},t.prototype._incrementalRenderLarge=function(r,n){O9(n,this.group,this._progressiveEls,!0)},t.prototype.remove=function(r){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(qe),pJ=function(){function e(){}return e}(),vJ=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="normalCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new pJ},t.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]))},t}(we);function W6(e,t,r){var n=e.ends;return new vJ({shape:{points:r?gJ(n,e):n},z2:100})}function N9(e,t){for(var r=!0,n=0;n<t.ends.length;n++)if(e.contain(t.ends[n][0],t.ends[n][1])){r=!1;break}return r}function q6(e,t,r,n){var i=t.getItemModel(r);e.useStyle(t.getItemVisual(r,"style")),e.style.strokeNoScale=!0,e.__simpleBox=n,Et(e,i);var a=t.getItemLayout(r).sign;E(e.states,function(s,u){var l=i.getModel(u),c=b7(a,l),f=x7(a,l)||c,h=s.style||(s.style={});c&&(h.fill=c),f&&(h.stroke=f)});var o=i.getModel("emphasis");Je(e,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function gJ(e,t){return H(e,function(r){return r=r.slice(),r[1]=t.initBaseline,r})}var mJ=function(){function e(){}return e}(),Z6=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n.type="largeCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new mJ},t.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},t}(we);function O9(e,t,r,n){var i=e.getData(),a=i.getLayout("largePoints"),o=new Z6({shape:{points:a},__sign:1,ignoreCoarsePointer:!0});t.add(o);var s=new Z6({shape:{points:a},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var u=new Z6({shape:{points:a},__sign:0,ignoreCoarsePointer:!0});t.add(u),Y6(1,o,e),Y6(-1,s,e),Y6(0,u,e),n&&(o.incremental=!0,s.incremental=!0),r&&r.push(o,s)}function Y6(e,t,r,n){var i=x7(e,r)||b7(e,r),a=r.getModel("itemStyle").getItemStyle(hJ);t.useStyle(a),t.style.fill=null,t.style.stroke=i}const yJ=dJ;var TT=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],r}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(r,n,i){var a=n.getItemLayout(r);return a&&i.rect(a.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.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},t}(je);ft(TT,ST,!0);const _J=TT;function bJ(e){!e||!G(e.series)||E(e.series,function(t){ne(t)&&t.type==="k"&&(t.type="candlestick")})}var xJ={seriesType:"candlestick",plan:Ps(),reset:function(e){var t=e.coordinateSystem,r=e.getData(),n=wJ(e,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:e.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,_),L=[];P(L,D,0),P(L,T,1),L.push(B(M),B(D),B(k),B(T));var N=g.getItemModel(m),I=!!N.get(["itemStyle","borderColorDoji"]);g.setItemLayout(m,{sign:B9(y,m,b,x,c,I),initBaseline:b>x?D[a]:T[a],ends:L,brushRect:R(w,S,_)})}function O(V,z){var U=[];return U[i]=z,U[a]=V,isNaN(z)||isNaN(V)?[NaN,NaN]:t.dataToPoint(U)}function P(V,z,U){var q=z.slice(),K=z.slice();q[i]=S0(q[i]+n/2,1,!1),K[i]=S0(K[i]-n/2,1,!0),U?V.push(q,K):V.push(K,q)}function R(V,z,U){var q=O(V,U),K=O(z,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(V){return V[i]=S0(V[i],1),V}}function p(v,g){for(var m=pn(v.count*4),y=0,_,b=[],x=[],w,S=g.getStore(),C=!!e.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++]=B9(S,w,T,D,c,C),b[i]=A,b[a]=k,_=t.dataToPoint(b,null,x),m[y++]=_?_[0]:NaN,m[y++]=_?_[1]:NaN,b[a]=M,_=t.dataToPoint(b,null,x),m[y++]=_?_[1]:NaN}g.setLayout("largePoints",m)}}};function B9(e,t,r,n,i,a){var o;return r>n?o=-1:r<n?o=1:o=a?0:t>0?e.get(i,t-1)<=n?1:-1:1,o}function wJ(e,t){var r=e.getBaseAxis(),n,i=r.type==="category"?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/t.count()),a=W(fe(e.get("barMaxWidth"),i),i),o=W(fe(e.get("barMinWidth"),1),i),s=e.get("barWidth");return s!=null?W(s,i):Math.max(Math.min(i/2,a),o)}const SJ=xJ;function CJ(e){e.registerChartView(yJ),e.registerSeriesModel(_J),e.registerPreprocessor(bJ),e.registerVisual(fJ),e.registerLayout(SJ)}function F9(e,t){var r=t.rippleEffectColor||t.color;e.eachChild(function(n){n.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?r:null,fill:t.brushType==="fill"?r:null}})})}var AJ=function(e){F(t,e);function t(r,n){var i=e.call(this)||this,a=new Vl(r,n),o=new le;return i.add(a),i.add(o),i.updateData(r,n),i}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.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)}F9(o,r)},t.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}}F9(i,r)},t.prototype.highlight=function(){Un(this)},t.prototype.downplay=function(){Wn(this)},t.prototype.getSymbolType=function(){var r=this.childAt(0);return r&&r.getSymbolType()},t.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=Ns(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=lo(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"))},t.prototype.fadeOut=function(r){r&&r()},t}(le);const TJ=AJ;var DJ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){this._symbolDraw=new zl(TJ)},t.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)},t.prototype._getClipShape=function(r){var n=r.coordinateSystem,i=n&&n.getArea&&n.getArea();return r.get("clip",!0)?i:null},t.prototype.updateTransform=function(r,n,i){var a=r.getData();this.group.dirty();var o=Gl("").reset(r,n,i);o.progress&&o.progress({start:0,end:a.count(),count:a.count()},a),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(r){var n=r.coordinateSystem;n&&n.getRoamTransform&&(this.group.transform=jO(n.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(r,n){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(qe);const EJ=DJ;var kJ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r}return t.prototype.getInitialData=function(r,n){return Kn(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(r,n,i){return i.point(n.getItemLayout(r))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.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},t}(je);const MJ=kJ;function IJ(e){e.registerChartView(EJ),e.registerSeriesModel(MJ),e.registerLayout(Gl("effectScatter"))}var LJ=function(e){F(t,e);function t(r,n,i){var a=e.call(this)||this;return a.add(a.createLine(r,n,i)),a._updateEffectSymbol(r,n),a}return t.prototype.createLine=function(r,n,i){return new f7(r,n,i)},t.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))},t.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}},t.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()}},t.prototype._getLineLength=function(r){return _i(r.__p1,r.__cp1)+_i(r.__cp1,r.__p2)},t.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]},t.prototype.updateData=function(r,n,i){this.childAt(0).updateData(r,n,i),this._updateEffectSymbol(r,n)},t.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=Vh;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=_i(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*_i(n,s):r.scaleY=this._symbolScale[1]),r.__lastT=r.__t,r.ignore=!1,r.x=s[0],r.y=s[1]},t.prototype.updateLayout=function(r,n){this.childAt(0).updateLayout(r,n);var i=r.getItemModel(n).getModel("effect");this._updateEffectAnimation(r,i,n)},t}(le);const DT=LJ;var PJ=function(e){F(t,e);function t(r,n,i){var a=e.call(this)||this;return a._createPolyline(r,n,i),a}return t.prototype._createPolyline=function(r,n,i){var a=r.getItemLayout(n),o=new ir({shape:{points:a}});this.add(o),this._updateCommonStl(r,n,i)},t.prototype.updateData=function(r,n,i){var a=r.hostModel,o=this.childAt(0),s={shape:{points:r.getItemLayout(n)}};Le(o,s,a,n),this._updateCommonStl(r,n,i)},t.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)},t.prototype.updateLayout=function(r,n){var i=this.childAt(0);i.setShape("points",r.getItemLayout(n))},t}(le);const ET=PJ;var RJ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._lastFrame=0,r._lastFramePercent=0,r}return t.prototype.createLine=function(r,n,i){return new ET(r,n,i)},t.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+=_i(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},t.prototype._getLineLength=function(){return this._length},t.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}},t}(DT);const NJ=RJ;var OJ=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),BJ=function(e){F(t,e);function t(r){var n=e.call(this,r)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new OJ},t.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)},t.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(pi(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(Rx(f,h,g,m,p,v,s,r,n))return u}else if(pi(f,h,p,v,s,r,n))return u;u++}return-1},t.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},t.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},t}(we),FJ=function(){function e(){this.group=new le}return e.prototype.updateData=function(t){this._clear();var r=this._create();r.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(r,t)},e.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(t,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=t.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},e.prototype._create=function(){var t=new BJ({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},e.prototype._setCommon=function(t,r,n){var i=r.hostModel;t.setShape({polyline:i.get("polyline"),curveness:i.get(["lineStyle","curveness"])}),t.useStyle(i.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var a=r.getVisual("style");a&&a.stroke&&t.setStyle("stroke",a.stroke),t.setStyle("fill",null);var o=ce(t);o.seriesIndex=i.seriesIndex,t.on("mousemove",function(s){o.dataIndex=null;var u=t.hoverDataIdx;u>0&&(o.dataIndex=u+t.__startIndex)})},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}();const VJ=FJ;var zJ={seriesType:"lines",plan:Ps(),reset:function(e){var t=e.coordinateSystem;if(!t){process.env.NODE_ENV!=="production"&&Dt("The lines series must have a coordinate system.");return}var r=e.get("polyline"),n=e.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+=e.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=e.getLineCoords(c,o);r&&(s[f++]=d);for(var p=0;p<d;p++)h=t.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=e.getLineCoords(c,o),g=[];if(r)for(var m=0;m<d;m++)g.push(t.dataToPoint(o[m]));else{g[0]=t.dataToPoint(o[0]),g[1]=t.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 kT=zJ;var $J=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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)&&$l(r.coordinateSystem,!1,r);f?this.group.setClipPath(f):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},t.prototype.incrementalPrepareRender=function(r,n,i){var a=r.getData(),o=this._updateLineDraw(a,r);o.incrementalPrepareUpdate(a),this._clearLayer(i),this._finished=!1},t.prototype.incrementalRender=function(r,n,i){this._lineDraw.incrementalUpdate(r,n.getData()),this._finished=r.end===n.getData().count()},t.prototype.eachRendered=function(r){this._lineDraw&&this._lineDraw.eachRendered(r)},t.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=kT.reset(r,n,i);s.progress&&s.progress({start:0,end:a.count(),count:a.count()},a),this._lineDraw.updateLayout(),this._clearLayer(i)},t.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 VJ:new h7(o?a?NJ:ET:a?DT:f7),this._hasEffet=a,this._isPolyline=o,this._isLargeDraw=u),this.group.add(i.group),i},t.prototype._showEffect=function(r){return!!r.get(["effect","show"])},t.prototype._clearLayer=function(r){var n=r.getZr(),i=n.painter.getType()==="svg";!i&&this._lastZlevel!=null&&n.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(r,n){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(n)},t.prototype.dispose=function(r,n){this.remove(r,n)},t.type="lines",t}(qe);const GJ=$J;var HJ=typeof Uint32Array>"u"?Array:Uint32Array,UJ=typeof Float64Array>"u"?Array:Float64Array;function V9(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(process.env.NODE_ENV!=="production"&&console.warn("Lines data configuration has been changed to { coords:[[1,2],[2,3]] }"),e.data=H(t,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),z4([i,r[0],r[1]])}))}var WJ=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.visualStyleAccessPath="lineStyle",r.visualDrawType="stroke",r}return t.prototype.init=function(r){r.data=r.data||[],V9(r);var n=this._processFlatCoordsArray(r.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(r.data=new Float32Array(n.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(r){if(V9(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))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(r){var n=this._processFlatCoordsArray(r.data);n.flatCoords&&(this._flatCoords?(this._flatCoords=el(this._flatCoords,n.flatCoords),this._flatCoordsOffset=el(this._flatCoordsOffset,n.flatCoordsOffset)):(this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset),r.data=new Float32Array(n.count)),this.getRawData().appendData(r.data)},t.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},t.prototype.getLineCoordsCount=function(r){return this._flatCoordsOffset?this._flatCoordsOffset[r*2+1]:this._getCoordsFromItemModel(r).length},t.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}},t.prototype._processFlatCoordsArray=function(r){var n=0;if(this._flatCoords&&(n=this._flatCoords.length),Me(r[0])){for(var i=r.length,a=new HJ(i),o=new UJ(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}},t.prototype.getInitialData=function(r,n){if(process.env.NODE_ENV!=="production"){var i=Ls.get(r.coordinateSystem);if(!i)throw new Error("Unknown coordinate system "+r.coordinateSystem)}var a=new Wt(["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},t.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(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var r=this.option.progressive;return r??(this.option.large?1e4:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var r=this.option.progressiveThreshold;return r??(this.option.large?2e4:this.get("progressiveThreshold"))},t.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+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.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}},t}(je);const qJ=WJ;function t0(e){return e instanceof Array||(e=[e,e]),e}var ZJ={seriesType:"lines",reset:function(e){var t=t0(e.get("symbol")),r=t0(e.get("symbolSize")),n=e.getData();n.setVisual("fromSymbol",t&&t[0]),n.setVisual("toSymbol",t&&t[1]),n.setVisual("fromSymbolSize",r&&r[0]),n.setVisual("toSymbolSize",r&&r[1]);function i(a,o){var s=a.getItemModel(o),u=t0(s.getShallow("symbol",!0)),l=t0(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 YJ=ZJ;function XJ(e){e.registerChartView(GJ),e.registerSeriesModel(qJ),e.registerLayout(kT),e.registerVisual(YJ)}var jJ=256,KJ=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Pi.createCanvas();this.canvas=t}return e.prototype.update=function(t,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=t.length;f.width=r,f.height=n;for(var p=0;p<d;++p){var v=t[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(_*(jJ-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},e.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Pi.createCanvas()),r=this.pointSize+this.blurSize,n=r*2;t.width=n,t.height=n;var i=t.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(),t},e.prototype._getGradient=function(t,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++)t[r](s/255,!0,a),i[o++]=a[0],i[o++]=a[1],i[o++]=a[2],i[o++]=a[3];return i},e}();const QJ=KJ;function JJ(e,t,r){var n=e[1]-e[0];t=H(t,function(o){return{interval:[(o.interval[0]-e[0])/n,(o.interval[1]-e[0])/n]}});var i=t.length,a=0;return function(o){var s;for(s=a;s<i;s++){var u=t[s].interval;if(u[0]<=o&&o<=u[1]){a=s;break}}if(s===i)for(s=a-1;s>=0;s--){var u=t[s].interval;if(u[0]<=o&&o<=u[1]){a=s;break}}return s>=0&&s<i&&r[s]}}function eee(e,t){var r=e[1]-e[0];return t=[(t[0]-e[0])/r,(t[1]-e[0])/r],function(n){return n>=t[0]&&n<=t[1]}}function z9(e){var t=e.dimensions;return t[0]==="lng"&&t[1]==="lat"}var tee=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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()):z9(o)&&this._renderOnGeo(o,r,a,i)},t.prototype.incrementalPrepareRender=function(r,n,i){this.group.removeAll()},t.prototype.incrementalRender=function(r,n,i,a){var o=n.coordinateSystem;o&&(z9(o)?this.render(n,i,a):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(n,a,r.start,r.end,!0)))},t.prototype.eachRendered=function(r){Ui(this._progressiveEls||this.group,r)},t.prototype._renderOnCartesianAndCalendar=function(r,n,i,a,o){var s=r.coordinateSystem,u=fo(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 L=g.get(T[0],D),N=g.get(T[1],D);if(isNaN(g.get(T[2],D))||isNaN(L)||isNaN(N)||L<f[0]||L>f[1]||N<h[0]||N>h[1])continue;var I=s.dataToPoint([L,N]);k=new Ee({shape:{x:I[0]-l/2,y:I[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]+""),kt(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)}},t.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 QJ;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"?eee(b,i.option.range):JJ(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 Mt({style:{width:g,height:m,x:h,y:d,image:l.canvas},silent:!0});this.group.add(w)},t.type="heatmap",t}(qe);const ree=tee;var nee=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getInitialData=function(r,n){return Kn(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var r=Ls.get(this.get("coordinateSystem"));if(r&&r.dimensions)return r.dimensions[0]==="lng"&&r.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(je);const iee=nee;function aee(e){e.registerChartView(ree),e.registerSeriesModel(iee)}var oee=["itemStyle","borderWidth"],$9=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],X6=new Hi,see=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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:$9[+c],categoryDim:$9[1-+c]};o.diff(s).add(function(p){if(o.hasValue(p)){var v=H9(o,p),g=G9(o,p,v,h),m=U9(o,h,g);o.setItemGraphicEl(p,m),a.add(m),q9(m,h,g)}}).update(function(p,v){var g=s.getItemGraphicEl(v);if(!o.hasValue(p)){a.remove(g);return}var m=H9(o,p),y=G9(o,p,m,h),_=NT(o,y);g&&_!==g.__pictorialShapeStr&&(a.remove(g),o.setItemGraphicEl(p,null),g=null),g?pee(g,h,y):g=U9(o,h,y,!0),o.setItemGraphicEl(p,g),g.__pictorialSymbolMeta=y,a.add(g),q9(g,h,y)}).remove(function(p){var v=s.getItemGraphicEl(p);v&&W9(s,p,v.__pictorialSymbolMeta.animationModel,v)}).execute();var d=r.get("clip",!0)?$l(r.coordinateSystem,!1,r):null;return d?a.setClipPath(d):a.removeClipPath(),this._data=o,this.group},t.prototype.remove=function(r,n){var i=this.group,a=this._data;r.get("animation")?a&&a.eachItemGraphicEl(function(o){W9(a,ce(o).dataIndex,r,o)}):i.removeAll()},t.type="pictorialBar",t}(qe);function G9(e,t,r,n){var i=e.getItemLayout(t),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:t,layout:i,itemModel:r,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"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};uee(r,a,i,n,h),lee(e,t,i,a,o,h.boundingLength,h.pxSign,c,n,h),cee(r,h.symbolScale,l,n,h);var d=h.symbolSize,p=lo(r.get("symbolOffset"),d);return fee(r,d,i,a,o,p,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,n,h),h}function uee(e,t,r,n,i){var a=n.valueDim,o=e.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=[j6(s,o[0])-u,j6(s,o[1])-u];f[1]<f[0]&&f.reverse(),c=f[l]}else o!=null?c=j6(s,o)-u:t?c=n.coordSysExtent[a.index][l]-u:c=r[a.wh];i.boundingLength=c,t&&(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 j6(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function lee(e,t,r,n,i,a,o,s,u,l){var c=u.valueDim,f=u.categoryDim,h=Math.abs(r[f.wh]),d=e.getItemVisual(t,"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 cee(e,t,r,n,i){var a=e.get(oee)||0;a&&(X6.attr({scaleX:t[0],scaleY:t[1],rotation:r}),X6.updateTransform(),a/=X6.getLineScale(),a*=t[n.valueDim.index]),i.valueLineWidth=a||0}function fee(e,t,r,n,i,a,o,s,u,l,c,f){var h=c.categoryDim,d=c.valueDim,p=f.pxSign,v=Math.max(t[d.index]+s,0),g=v;if(n){var m=Math.abs(u),y=ut(e.get("symbolMargin"),"15%")+"",_=!1;y.lastIndexOf("!")===y.length-1&&(_=!0,y=y.slice(0,y.length-1));var b=W(y,t[d.index]),x=Math.max(v+b*2,0),w=_?0:b*2,S=j4(n),C=S?n:Z9((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?Z9((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 L=f.clipShape={};L[h.xy]=-r[h.xy],L[h.wh]=c.ecSize[h.wh],L[d.xy]=0,L[d.wh]=r[d.wh]}function MT(e){var t=e.symbolPatternSize,r=ct(e.symbolType,-t/2,-t/2,t,t);return r.attr({culling:!0}),r.type!=="image"&&r.setStyle({strokeNoScale:!0}),r}function IT(e,t,r,n){var i=e.__pictorialBundle,a=r.symbolSize,o=r.valueLineWidth,s=r.pathPosition,u=t.valueDim,l=r.repeatTimes||0,c=0,f=a[t.valueDim.index]+o+r.symbolMargin*2;for(w7(e,function(v){v.__pictorialAnimationIndex=c,v.__pictorialRepeatTimes=l,c<l?as(v,null,p(c),r,n):as(v,null,{scaleX:0,scaleY:0},r,n,function(){i.remove(v)}),c++});c<l;c++){var h=MT(r);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=l,i.add(h);var d=p(c);as(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 LT(e,t,r,n){var i=e.__pictorialBundle,a=e.__pictorialMainPath;a?as(a,null,{x:r.pathPosition[0],y:r.pathPosition[1],scaleX:r.symbolScale[0],scaleY:r.symbolScale[1],rotation:r.rotation},r,n):(a=e.__pictorialMainPath=MT(r),i.add(a),as(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 PT(e,t,r){var n=$({},t.barRectShape),i=e.__pictorialBarRect;i?as(i,null,{shape:n},t,r):(i=e.__pictorialBarRect=new Ee({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),i.disableMorphing=!0,e.add(i))}function RT(e,t,r,n){if(r.symbolClip){var i=e.__pictorialClipPath,a=$({},r.clipShape),o=t.valueDim,s=r.animationModel,u=r.dataIndex;if(i)Le(i,{shape:a},s,u);else{a[o.wh]=0,i=new Ee({shape:a}),e.__pictorialBundle.setClipPath(i),e.__pictorialClipPath=i;var l={};l[o.wh]=r.clipShape[o.wh],so[n?"updateProps":"initProps"](i,{shape:l},s,u)}}}function H9(e,t){var r=e.getItemModel(t);return r.getAnimationDelayParams=hee,r.isAnimationEnabled=dee,r}function hee(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function dee(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function U9(e,t,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?IT(i,t,r):LT(i,t,r),PT(i,r,n),RT(i,t,r,n),i.__pictorialShapeStr=NT(e,r),i.__pictorialSymbolMeta=r,i}function pee(e,t,r){var n=r.animationModel,i=r.dataIndex,a=e.__pictorialBundle;Le(a,{x:r.bundlePosition[0],y:r.bundlePosition[1]},n,i),r.symbolRepeat?IT(e,t,r,!0):LT(e,t,r,!0),PT(e,r,!0),RT(e,t,r,!0)}function W9(e,t,r,n){var i=n.__pictorialBarRect;i&&i.removeTextContent();var a=[];w7(n,function(o){a.push(o)}),n.__pictorialMainPath&&a.push(n.__pictorialMainPath),n.__pictorialClipPath&&(r=null),E(a,function(o){Oi(o,{scaleX:0,scaleY:0},r,t,function(){n.parent&&n.parent.remove(n)})}),e.setItemGraphicEl(t,null)}function NT(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function w7(e,t,r){E(e.__pictorialBundle.children(),function(n){n!==e.__pictorialBarRect&&t.call(r,n)})}function as(e,t,r,n,i,a){t&&e.attr(t),n.symbolClip&&!i?r&&e.attr(r):r&&so[i?"updateProps":"initProps"](e,r,n.animationModel,n.dataIndex,a)}function q9(e,t,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");w7(e,function(v){if(v instanceof Mt){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=t.valueDim.posDesc[+(r.boundingLength>0)],p=e.__pictorialBarRect;p.ignoreClip=!0,kt(p,gt(i),{labelFetcher:t.seriesModel,labelDataIndex:n,defaultText:ps(t.seriesModel.getData(),n),inheritColor:r.style.fill,defaultOpacity:r.style.opacity,defaultOutsidePosition:d}),Je(e,c,f,a.get("disabled"))}function Z9(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}const vee=see;var gee=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.hasSymbolVisual=!0,r.defaultSymbol="roundRect",r}return t.prototype.getInitialData=function(r){return r.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=Wi(gc.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"}}}),t}(gc);const mee=gee;function yee(e){e.registerChartView(vee),e.registerSeriesModel(mee),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,ve(dC,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,pC("pictorialBar"))}var _ee=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._layers=[],r}return t.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 qn(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,L=a.getItemLayout(S[0]),N=r.getModel("label"),I=N.get("margin"),O=r.getModel("emphasis");if(g==="add"){var P=p[m]=new le;M=new iA({shape:{points:b,stackedOnPoints:x,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),P.add(M),s.add(P),r.isAnimationEnabled()&&M.setClipPath(bee(M.getBoundingRect(),r,function(){M.removeClipPath()}))}else{var P=_[y];M=P.childAt(0),s.add(P),p[m]=P,Le(M,{shape:{points:b,stackedOnPoints:x}},r),jr(M)}kt(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=L.x-I,R.y=L.y0+L.y/2),M.useStyle(w),a.setItemGraphicEl(m,M),Et(M,r),Je(M,O.get("focus"),O.get("blurScope"),O.get("disabled"))}this._layersSeries=u,this._layers=p},t.type="themeRiver",t}(qe);function bee(e,t,r){var n=new Ee({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Ye(n,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,r),n}const xee=_ee;var K6=2,wee=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ul(X(this.getData,this),X(this.getRawData,this))},t.prototype.fixData=function(r){var n=r.length,i={},a=td(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},t.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][K6]),l.get(s[f][K6])||(l.set(s[f][K6],c),c++);var h=Bl(s,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:fc(a)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,d=new Wt(h,this);return d.initData(s),d},t.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=td(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},t.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}},t.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})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.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}}},t}(je);const See=wee;function Cee(e,t){e.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];Y9(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];Y9(n,r,c)}n.setLayout("layoutInfo",a)})}function Y9(e,t,r){if(e.count())for(var n=t.coordinateSystem,i=t.getLayerSeries(),a=e.mapDimension("single"),o=e.mapDimension("value"),s=H(i,function(g){return H(g.indices,function(m){var y=n.dataToPoint(e.get(a,m));return y[1]=e.get(o,m),y})}),u=Aee(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,e.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,e.setItemLayout(i[v].indices[p],{layerIndex:v,x:s[v][p][0],y0:d,y:s[v][p][1]*c})}}function Aee(e){for(var t=e.length,r=e[0].length,n=[],i=[],a=0,o=0;o<r;++o){for(var s=0,u=0;u<t;++u)s+=e[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 Tee(e){e.registerChartView(xee),e.registerSeriesModel(See),e.registerLayout(Cee),e.registerProcessor(Hl("themeRiver"))}var Dee=2,Eee=4,kee=function(e){F(t,e);function t(r,n,i,a){var o=e.call(this)||this;o.z2=Dee,o.textConfig={inside:!0},ce(o).seriesIndex=n.seriesIndex;var s=new ke({z2:Eee,silent:r.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,r,n,i,a),o}return t.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=hs(d,o));var p=Na(u.getModel("itemStyle"),f,!0);$(f,p),E(Yt,function(y){var _=s.ensureState(y),b=u.getModel([y,"itemStyle"]);_.style=b.getItemStyle();var x=Na(b,f);x&&(_.shape=x)}),r?(s.setShape(f),s.shape.r=c.r0,Ye(s,{shape:{r:c.r}},i,n.dataIndex)):(Le(s,{shape:f},i),jr(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"?el(n.getAncestorsIndices(),n.getDescendantIndices()):g==="ancestor"?n.getAncestorsIndices():g==="descendant"?n.getDescendantIndices():g;Je(this,m,l.get("blurScope"),l.get("disabled"))},t.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(ol,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"),L=Math.PI*.5,N=Math.PI*1.5,I=ur(M==="tangential"?Math.PI/2-u:u),O=I>L&&!il(I-L)&&I<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=ur(-u)+(O?Math.PI:0):M==="tangential"?P=ur(Math.PI/2-u)+(O?Math.PI:0):Me(M)&&(P=M*Math.PI/180),b.rotation=ur(P)});function g(m,y){var _=m.get(y);return _??a.get(y)}h.dirtyStyle()},t}(tr);const X9=kee;var e4="sunburstRootToNode",j9="sunburstHighlight",Mee="sunburstUnhighlight";function Iee(e){e.registerAction({type:e4,update:"updateView"},function(t,r){r.eachComponent({mainType:"series",subType:"sunburst",query:t},n);function n(i,a){var o=yl(t,[e4],i);if(o){var s=i.getViewRoot();s&&(t.direction=a7(s,o.node)?"rollUp":"drillDown"),i.resetViewRoot(o.node)}}}),e.registerAction({type:j9,update:"none"},function(t,r,n){t=$({},t),r.eachComponent({mainType:"series",subType:"sunburst",query:t},i);function i(a){var o=yl(t,[j9],a);o&&(t.dataIndex=o.node.dataIndex)}process.env.NODE_ENV!=="production"&&st("sunburstHighlight","highlight"),n.dispatchAction($(t,{type:"highlight"}))}),e.registerAction({type:Mee,update:"updateView"},function(t,r,n){t=$({},t),process.env.NODE_ENV!=="production"&&st("sunburstUnhighlight","downplay"),n.dispatchAction($(t,{type:"downplay"}))})}var Lee=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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 qn(_,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 X9(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 X9(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)}},t.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";tc(l,c)}}i=!0}})})},t.prototype._rootToNode=function(r){r!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:e4,from:this.uid,seriesId:this.seriesModel.id,targetNode:r})},t.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}},t.type="sunburst",t}(qe);const Pee=Lee;var Ree=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.ignoreStyleOnData=!0,r}return t.prototype.getInitialData=function(r,n){var i={name:r.name,children:r.data};OT(i);var a=this._levelModels=H(r.levels||[],function(u){return new We(u,this,n)},this),o=i7.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},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(r){var n=e.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(r);return n.treePathInfo=M2(i,this),n},t.prototype.getLevelModel=function(r){return this._levelModels&&this._levelModels[r.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.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)},t.prototype.enableAriaDecal=function(){zA(this)},t.type="series.sunburst",t.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"},t}(je);function OT(e){var t=0;E(e.children,function(n){OT(n);var i=n.value;G(i)&&(i=i[0]),t+=i});var r=e.value;G(r)&&(r=r[0]),(r==null||isNaN(r))&&(r=t),r<0&&(r=0),G(e.value)?e.value[0]=r:e.value=r}const Nee=Ree;var K9=Math.PI/180;function Oee(e,t,r){t.eachSeriesByType(e,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")*K9,p=n.get("minAngle")*K9,v=n.getData().tree.root,g=n.getViewRoot(),m=g.depth,y=n.get("sort");y!=null&&BT(g,y);var _=0;E(g.children,function(I){!isNaN(I.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(I,O){if(I){var P=O;if(I!==v){var R=I.getValue(),B=b===0&&T?x:R*x;B<p&&(B=p),P=O+D*B;var V=I.depth-m-(w?-1:1),z=f+C*V,U=f+C*(V+1),q=n.getLevelModel(I);if(q){var K=q.get("r0",!0),xe=q.get("r",!0),ze=q.get("radius",!0);ze!=null&&(K=ze[0],xe=ze[1]),K!=null&&(z=W(K,u/2)),xe!=null&&(U=W(xe,u/2))}I.setLayout({angle:B,startAngle:O,endAngle:P,clockwise:A,cx:l,cy:c,r0:z,r:U})}if(I.children&&I.children.length){var ue=0;E(I.children,function(ee){ue+=k(ee,O+ue)})}return P-O}};if(w){var M=f,L=f+C,N=Math.PI*2;v.setLayout({angle:N,startAngle:d,endAngle:d+N,clockwise:A,cx:l,cy:c,r0:M,r:L})}k(g,d)})}function BT(e,t){var r=e.children||[];e.children=Bee(r,t),r.length&&E(e.children,function(n){BT(n,t)})}function Bee(e,t){if(te(t)){var r=H(e,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 t(i.params,a.params)}),H(r,function(i){return e[i.index]})}else{var n=t==="asc";return e.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 Fee(e){var t={};function r(n,i,a){for(var o=n;o&&o.depth>1;)o=o.parentNode;var s=i.getColorFromPalette(o.name||o.dataIndex+"",t);return n.depth>1&&Z(s)&&(s=Gh(s,(n.depth-1)/(a-1)*.5)),s}e.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 Vee(e){e.registerChartView(Pee),e.registerSeriesModel(Nee),e.registerLayout(ve(Oee,"sunburst")),e.registerProcessor(ve(Hl,"sunburst")),e.registerVisual(Fee),Iee(e)}var Q9={color:"fill",borderColor:"stroke"},zee={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Vn=Ae(),$ee=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(r,n){return Kn(null,this)},t.prototype.getDataParams=function(r,n,i){var a=e.prototype.getDataParams.call(this,r,n);return i&&(a.info=Vn(i).info),a},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(je);const Gee=$ee;function Hee(e,t){return t=t||[0,0],H(["x","y"],function(r,n){var i=this.getAxis(r),a=t[n],o=e[n]/2;return i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(a-o)-i.dataToCoord(a+o))},this)}function Uee(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(r){return e.dataToPoint(r)},size:X(Hee,e)}}}function Wee(e,t){return t=t||[0,0],H([0,1],function(r){var n=t[r],i=e[r]/2,a=[],o=[];return a[r]=n-i,o[r]=n+i,a[1-r]=o[1-r]=t[1-r],Math.abs(this.dataToPoint(a)[r]-this.dataToPoint(o)[r])},this)}function qee(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(r){return e.dataToPoint(r)},size:X(Wee,e)}}}function Zee(e,t){var r=this.getAxis(),n=t instanceof Array?t[0]:t,i=(e instanceof Array?e[0]:e)/2;return r.type==="category"?r.getBandWidth():Math.abs(r.dataToCoord(n-i)-r.dataToCoord(n+i))}function Yee(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(r){return e.dataToPoint(r)},size:X(Zee,e)}}}function Xee(e,t){return t=t||[0,0],H(["Radius","Angle"],function(r,n){var i="get"+r+"Axis",a=this[i](),o=t[n],s=e[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 jee(e){var t=e.getRadiusAxis(),r=e.getAngleAxis(),n=t.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:n[1],r0:n[0]},api:{coord:function(i){var a=t.dataToRadius(i[0]),o=r.dataToAngle(i[1]),s=e.coordToPoint([a,o]);return s.push(a,o*Math.PI/180),s},size:X(Xee,e)}}}function Kee(e){var t=e.getRect(),r=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:r.start,end:r.end,weeks:r.weeks,dayCount:r.allDay}},api:{coord:function(n,i){return e.dataToPoint(n,i)}}}}var J9={};function FT(e,t,r,n){return e&&(e.legacy||e.legacy!==!1&&!r&&!n&&t!=="tspan"&&(t==="text"||j(e,"text")))}function VT(e,t,r){var n=e,i,a,o;if(t==="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 em(o,e),E(o.rich,function(u){em(u,u)}),{textConfig:i,textContent:a}}function em(e,t){t&&(t.font=t.textFont||t.font,j(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),j(t,"textAlign")&&(e.align=t.textAlign),j(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),j(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),j(t,"textWidth")&&(e.width=t.textWidth),j(t,"textHeight")&&(e.height=t.textHeight),j(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),j(t,"textPadding")&&(e.padding=t.textPadding),j(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),j(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),j(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),j(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),j(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),j(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),j(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function tm(e,t,r){var n=e;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=e.fill||"#000";rm(n,t);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=e.fill||r.outsideFill||"#000"),!n.textStroke&&r.outsideStroke&&(n.textStroke=r.outsideStroke)),n.text=t.text,n.rich=t.rich,E(t.rich,function(s){rm(s,s)}),n}function rm(e,t){t&&(j(t,"fill")&&(e.textFill=t.fill),j(t,"stroke")&&(e.textStroke=t.fill),j(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),j(t,"font")&&(e.font=t.font),j(t,"fontStyle")&&(e.fontStyle=t.fontStyle),j(t,"fontWeight")&&(e.fontWeight=t.fontWeight),j(t,"fontSize")&&(e.fontSize=t.fontSize),j(t,"fontFamily")&&(e.fontFamily=t.fontFamily),j(t,"align")&&(e.textAlign=t.align),j(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),j(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),j(t,"width")&&(e.textWidth=t.width),j(t,"height")&&(e.textHeight=t.height),j(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),j(t,"padding")&&(e.textPadding=t.padding),j(t,"borderColor")&&(e.textBorderColor=t.borderColor),j(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),j(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),j(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),j(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),j(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),j(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),j(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),j(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),j(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),j(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}function nm(e,t){if(process.env.NODE_ENV!=="production"){var r=e+"^_^"+t;J9[r]||(console.warn('[ECharts] DEPRECATED: "'+e+'" has been deprecated. '+t),J9[r]=!0)}}var zT={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},im=Se(zT),Cc=mn(_n,function(e,t){return e[t]=1,e},{}),am=_n.join(", "),Ac=["","style","shape","extra"],ms=Ae();function S7(e,t,r,n,i){var a=e+"Animation",o=As(e,n,i)||{},s=ms(t).userDuring;return o.duration>0&&(o.during=s?X(rte,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=e),$(o,r[a]),o}function k0(e,t,r,n){n=n||{};var i=n.dataIndex,a=n.isInit,o=n.clearStyle,s=r.isAnimationEnabled(),u=ms(e),l=t.style;u.userDuring=t.during;var c={},f={};if(ite(e,t,f),sm("shape",t,f),sm("extra",t,f),!a&&s&&(nte(e,t,c),om("shape",e,t,c),om("extra",e,t,c),ate(e,t,l,c)),f.style=l,Qee(e,f,o),ete(e,t),s)if(a){var h={};E(Ac,function(p){var v=p?t[p]:t;v&&v.enterFrom&&(p&&(h[p]=h[p]||{}),$(p?h[p]:h,v.enterFrom))});var d=S7("enter",e,t,r,i);d.duration>0&&e.animateFrom(h,d)}else Jee(e,t,i||0,r,c);$T(e,t),l?e.dirty():e.markRedraw()}function $T(e,t){for(var r=ms(e).leaveToProps,n=0;n<Ac.length;n++){var i=Ac[n],a=i?t[i]:t;a&&a.leaveTo&&(r||(r=ms(e).leaveToProps={}),i&&(r[i]=r[i]||{}),$(i?r[i]:r,a.leaveTo))}}function P2(e,t,r,n){if(e){var i=e.parent,a=ms(e).leaveToProps;if(a){var o=S7("update",e,t,r,0);o.done=function(){i.remove(e),n&&n()},e.animateTo(a,o)}else i.remove(e),n&&n()}}function qa(e){return e==="all"}function Qee(e,t,r){var n=t.style;if(!e.isGroup&&n){if(r){e.useStyle({});for(var i=e.animators,a=0;a<i.length;a++){var o=i[a];o.targetName==="style"&&o.changeTarget(e.style)}}e.setStyle(n)}t&&(t.style=null,t&&e.attr(t),t.style=n)}function Jee(e,t,r,n,i){if(i){var a=S7("update",e,t,n,r);a.duration>0&&e.animateFrom(i,a)}}function ete(e,t){j(t,"silent")&&(e.silent=t.silent),j(t,"ignore")&&(e.ignore=t.ignore),e instanceof Lr&&j(t,"invisible")&&(e.invisible=t.invisible),e instanceof we&&j(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var an={},tte={setTransform:function(e,t){return process.env.NODE_ENV!=="production"&&ie(j(Cc,e),"Only "+am+" available in `setTransform`."),an.el[e]=t,this},getTransform:function(e){return process.env.NODE_ENV!=="production"&&ie(j(Cc,e),"Only "+am+" available in `getTransform`."),an.el[e]},setShape:function(e,t){process.env.NODE_ENV!=="production"&&Bo(e);var r=an.el,n=r.shape||(r.shape={});return n[e]=t,r.dirtyShape&&r.dirtyShape(),this},getShape:function(e){process.env.NODE_ENV!=="production"&&Bo(e);var t=an.el.shape;if(t)return t[e]},setStyle:function(e,t){process.env.NODE_ENV!=="production"&&Bo(e);var r=an.el,n=r.style;return n&&(process.env.NODE_ENV!=="production"&&Ya(t)&&Qe("style."+e+" must not be assigned with NaN."),n[e]=t,r.dirtyStyle&&r.dirtyStyle()),this},getStyle:function(e){process.env.NODE_ENV!=="production"&&Bo(e);var t=an.el.style;if(t)return t[e]},setExtra:function(e,t){process.env.NODE_ENV!=="production"&&Bo(e);var r=an.el.extra||(an.el.extra={});return r[e]=t,this},getExtra:function(e){process.env.NODE_ENV!=="production"&&Bo(e);var t=an.el.extra;if(t)return t[e]}};function Bo(e){if(process.env.NODE_ENV!=="production"&&(e==="transition"||e==="enterFrom"||e==="leaveTo"))throw new Error('key must not be "'+e+'"')}function rte(){var e=this,t=e.el;if(t){var r=ms(t).userDuring,n=e.userDuring;if(r!==n){e.el=e.userDuring=null;return}an.el=t,n(tte)}}function om(e,t,r,n){var i=r[e];if(i){var a=t[e],o;if(a){var s=r.transition,u=i.transition;if(u)if(!o&&(o=n[e]={}),qa(u))$(o,a);else for(var l=Ve(u),c=0;c<l.length;c++){var f=l[c],h=a[f];o[f]=h}else if(qa(s)||_e(s,e)>=0){!o&&(o=n[e]={});for(var d=Se(a),c=0;c<d.length;c++){var f=d[c],h=a[f];ote(i[f],h)&&(o[f]=h)}}}}}function sm(e,t,r){var n=t[e];if(n)for(var i=r[e]={},a=Se(n),o=0;o<a.length;o++){var s=a[o];i[s]=Ru(n[s])}}function nte(e,t,r){for(var n=t.transition,i=qa(n)?_n:Ve(n||[]),a=0;a<i.length;a++){var o=i[a];if(!(o==="style"||o==="shape"||o==="extra")){var s=e[o];process.env.NODE_ENV!=="production"&>(o,"el.transition"),r[o]=s}}}function ite(e,t,r){for(var n=0;n<im.length;n++){var i=im[n],a=zT[i],o=t[i];o&&(r[a[0]]=o[0],r[a[1]]=o[1])}for(var n=0;n<_n.length;n++){var s=_n[n];t[s]!=null&&(r[s]=t[s])}}function ate(e,t,r,n){if(r){var i=e.style,a;if(i){var o=r.transition,s=t.transition;if(o&&!qa(o)){var u=Ve(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(e.getAnimationStyleProps&&(qa(s)||qa(o)||_e(s,"style")>=0)){var h=e.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 ote(e,t){return Ft(e)?e!==t:e!=null&&isFinite(e)}var GT;process.env.NODE_ENV!=="production"&&(GT=function(e,t){j(Cc,e)||Qe("Prop `"+e+"` is not a permitted in `"+t+"`. Only `"+Se(Cc).join("`, `")+"` are permitted.")});var HT=Ae(),ste=["percent","easing","shape","style","extra"];function UT(e){e.stopAnimation("keyframe"),e.attr(HT(e))}function Tc(e,t,r){if(!(!r.isAnimationEnabled()||!t)){if(G(t)){E(t,function(s){Tc(e,s,r)});return}var n=t.keyframes,i=t.duration;if(r&&i==null){var a=As("enter",r,0);i=a&&a.duration}if(!(!n||!i)){var o=HT(e);E(Ac,function(s){if(!(s&&!e[s])){var u,l=!1;n.sort(function(c,f){return c.percent-f.percent}),E(n,function(c){var f=e.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(ste,g)<0})),!!d.length){u||(u=e.animate(s,t.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?e[s]:e)||{})[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(t.delay||0).duration(i).start(t.easing))}})}}}var zn="emphasis",Ti="normal",C7="blur",A7="select",$i=[Ti,zn,C7,A7],Q6={normal:["itemStyle"],emphasis:[zn,"itemStyle"],blur:[C7,"itemStyle"],select:[A7,"itemStyle"]},J6={normal:["label"],emphasis:[zn,"label"],blur:[C7,"label"],select:[A7,"label"]},ute=["x","y"],lte="e\0\0",mr={normal:{},emphasis:{},blur:{},select:{}},um={cartesian2d:Uee,geo:qee,single:Yee,polar:jee,calendar:Kee};function Dc(e){return e instanceof we}function t4(e){return e instanceof Lr}function cte(e,t){t.copyTransform(e),t4(t)&&t4(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,Dc(t)&&Dc(e)&&t.setShape(e.shape))}var fte=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i,a){this._progressiveEls=null;var o=this._data,s=r.getData(),u=this.group,l=lm(r,s,n,i);o||u.removeAll(),s.diff(o).add(function(f){eh(i,null,f,l(f,a),r,u,s)}).remove(function(f){var h=o.getItemGraphicEl(f);h&&P2(h,Vn(h).option,r)}).update(function(f,h){var d=o.getItemGraphicEl(h);eh(i,d,f,l(f,a),r,u,s)}).execute();var c=r.get("clip",!0)?$l(r.coordinateSystem,!1,r):null;c?u.setClipPath(c):u.removeClipPath(),this._data=s},t.prototype.incrementalPrepareRender=function(r,n,i){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(r,n,i,a,o){var s=n.getData(),u=lm(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=eh(null,null,f,u(f,o),n,this.group,s);h&&(h.traverse(c),l.push(h))}},t.prototype.eachRendered=function(r){Ui(this._progressiveEls||this.group,r)},t.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},t.type="custom",t}(qe);const hte=fte;function T7(e){var t=e.type,r;if(t==="path"){var n=e.shape,i=n.width!=null&&n.height!=null?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,a=ZT(n);r=l2(a,null,i,n.layout||"center"),Vn(r).customPathData=a}else if(t==="image")r=new Mt({}),Vn(r).customImagePath=e.style.image;else if(t==="text")r=new ke({});else if(t==="group")r=new le;else{if(t==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var o=h5(t);if(!o){var s="";process.env.NODE_ENV!=="production"&&(s='graphic type "'+t+'" can not be found.'),Re(s)}r=new o}return Vn(r).customGraphicType=t,r.name=e.name,r.z2EmphasisLift=1,r.z2SelectLift=1,r}function D7(e,t,r,n,i,a,o){UT(t);var s=i&&i.normal.cfg;s&&t.setTextConfig(s),n&&n.transition==null&&(n.transition=ute);var u=n&&n.style;if(u){if(t.type==="text"){var l=u;j(l,"textFill")&&(l.fill=l.textFill),j(l,"textStroke")&&(l.stroke=l.textStroke)}var c=void 0,f=Dc(t)?u.decal:null;e&&f&&(f.dirty=!0,c=hs(f,e)),u.__decalPattern=c}if(t4(t)&&u){var c=u.__decalPattern;c&&(u.decal=c)}k0(t,n,a,{dataIndex:r,isInit:o,clearStyle:!0}),Tc(t,n.keyframeAnimation,a)}function WT(e,t,r,n,i){var a=t.isGroup?null:t,o=i&&i[e].cfg;if(a){var s=a.ensureState(e);if(n===!1){var u=a.getState(e);u&&(u.style=null)}else s.style=n||null;o&&(s.textConfig=o),Qa(a)}}function dte(e,t,r){if(!e.isGroup){var n=e,i=r.currentZ,a=r.currentZLevel;n.z=i,n.zlevel=a;var o=t.z2;o!=null&&(n.z2=o||0);for(var s=0;s<$i.length;s++)pte(n,t,$i[s])}}function pte(e,t,r){var n=r===Ti,i=n?t:Ec(t,r),a=i?i.z2:null,o;a!=null&&(o=n?e:e.ensureState(r),o.z2=a||0)}function lm(e,t,r,n){var i=e.get("renderItem"),a=e.coordinateSystem,o={};a&&(process.env.NODE_ENV!=="production"&&(ie(i,"series.render is required."),ie(a.prepareCustoms||um[a.type],"This coordSys does not support custom series.")),o=a.prepareCustoms?a.prepareCustoms(a):um[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:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:o.coordSys,dataInsideLength:t.count(),encode:vte(e.getData())},l,c,f={},h={},d={},p={},v=0;v<$i.length;v++){var g=$i[v];d[g]=e.getModel(Q6[g]),p[g]=e.getModel(J6[g])}function m(L){return L===l?c||(c=t.getItemModel(L)):t.getItemModel(L)}function y(L,N){return t.hasItemOption?L===l?f[N]||(f[N]=m(L).getModel(Q6[N])):m(L).getModel(Q6[N]):d[N]}function _(L,N){return t.hasItemOption?L===l?h[N]||(h[N]=m(L).getModel(J6[N])):m(L).getModel(J6[N]):p[N]}return function(L,N){return l=L,c=null,f={},h={},i&&i(ae({dataIndexInside:L,dataIndex:t.getRawIndex(L),actionType:N?N.type:null},u),s)};function b(L,N){return N==null&&(N=l),t.getStore().get(t.getDimensionIndex(L||0),N)}function x(L,N){N==null&&(N=l),L=L||0;var I=t.getDimensionInfo(L);if(!I){var O=t.getDimensionIndex(L);return O>=0?t.getStore().get(O,N):void 0}var P=t.get(I.name,N),R=I&&I.ordinalMeta;return R?R.categories[P]:P}function w(L,N){process.env.NODE_ENV!=="production"&&nm("api.style","Please write literal style directly instead."),N==null&&(N=l);var I=t.getItemVisual(N,"style"),O=I&&I.fill,P=I&&I.opacity,R=y(N,Ti).getItemStyle();O!=null&&(R.fill=O),P!=null&&(R.opacity=P);var B={inheritColor:Z(O)?O:"#000"},V=_(N,Ti),z=Ue(V,null,B,!1,!0);z.text=V.getShallow("show")?fe(e.getFormattedLabel(N,Ti),ps(t,N)):null;var U=J0(V,B,!1);return A(L,R),R=tm(R,z,U),L&&C(R,L),R.legacy=!0,R}function S(L,N){process.env.NODE_ENV!=="production"&&nm("api.styleEmphasis","Please write literal style directly instead."),N==null&&(N=l);var I=y(N,zn).getItemStyle(),O=_(N,zn),P=Ue(O,null,null,!0,!0);P.text=O.getShallow("show")?kr(e.getFormattedLabel(N,zn),e.getFormattedLabel(N,Ti),ps(t,N)):null;var R=J0(O,null,!0);return A(L,I),I=tm(I,P,R),L&&C(I,L),I.legacy=!0,I}function C(L,N){for(var I in N)j(N,I)&&(L[I]=N[I])}function A(L,N){L&&(L.textFill&&(N.textFill=L.textFill),L.textPosition&&(N.textPosition=L.textPosition))}function T(L,N){if(N==null&&(N=l),j(Q9,L)){var I=t.getItemVisual(N,"style");return I?I[Q9[L]]:null}if(j(zee,L))return t.getItemVisual(N,L)}function D(L){if(a.type==="cartesian2d"){var N=a.getBaseAxis();return gU(ae({axis:N},L))}}function k(){return r.getCurrentSeriesIndices()}function M(L){return d5(L,r)}}function vte(e){var t={};return E(e.dimensions,function(r){var n=e.getDimensionInfo(r);if(!n.isExtraCoord){var i=n.coordDim,a=t[i]=t[i]||[];a[n.coordDimIndex]=e.getDimensionIndex(r)}}),t}function eh(e,t,r,n,i,a,o){if(!n){a.remove(t);return}var s=E7(e,t,r,n,i,a);return s&&o.setItemGraphicEl(r,s),s&&Je(s,n.focus,n.blurScope,n.emphasisDisabled),s}function E7(e,t,r,n,i,a){process.env.NODE_ENV!=="production"&&ie(n,"should not have an null/undefined element setting");var o=-1,s=t;t&&qT(t,n,i)&&(o=_e(a.childrenRef(),t),t=null);var u=!t,l=t;l?l.clearStates():(l=T7(n),s&&cte(s,l)),n.morph===!1?l.disableMorphing=!0:l.disableMorphing&&(l.disableMorphing=!1),mr.normal.cfg=mr.normal.conOpt=mr.emphasis.cfg=mr.emphasis.conOpt=mr.blur.cfg=mr.blur.conOpt=mr.select.cfg=mr.select.conOpt=null,mr.isLegacy=!1,mte(l,r,n,i,u,mr),gte(l,r,n,i,u),D7(e,l,r,n,mr,i,u),j(n,"info")&&(Vn(l).info=n.info);for(var c=0;c<$i.length;c++){var f=$i[c];if(f!==Ti){var h=Ec(n,f),d=k7(n,h,f);WT(f,l,h,d,mr)}}return dte(l,n,i),n.type==="group"&&yte(e,l,r,n,i),o>=0?a.replaceAt(l,o):a.add(l),l}function qT(e,t,r){var n=Vn(e),i=t.type,a=t.shape,o=t.style;return r.isUniversalTransitionEnabled()||i!=null&&i!==n.customGraphicType||i==="path"&&wte(a)&&ZT(a)!==n.customPathData||i==="image"&&j(o,"image")&&o.image!==n.customImagePath}function gte(e,t,r,n,i){var a=r.clipPath;if(a===!1)e&&e.getClipPath()&&e.removeClipPath();else if(a){var o=e.getClipPath();o&&qT(o,a,n)&&(o=null),o||(o=T7(a),process.env.NODE_ENV!=="production"&&ie(Dc(o),"Only any type of `path` can be used in `clipPath`, rather than "+o.type+"."),e.setClipPath(o)),D7(null,o,t,a,null,n,i)}}function mte(e,t,r,n,i,a){if(!e.isGroup){cm(r,null,a),cm(r,zn,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=e.getTextContent();if(o===!1)c&&e.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=T7(o),e.setTextContent(c)),D7(null,c,t,o,null,n,i);for(var f=o&&o.style,h=0;h<$i.length;h++){var d=$i[h];if(d!==Ti){var p=a[d].conOpt;WT(d,c,p,k7(o,p,d),null)}}f?c.dirty():c.markRedraw()}}}}function cm(e,t,r){var n=t?Ec(e,t):e,i=t?k7(e,n,zn):e.style,a=e.type,o=n?n.textConfig:null,s=e.textContent,u=s?t?Ec(s,t):s:null;if(i&&(r.isLegacy||FT(i,a,!!o,!!u))){r.isLegacy=!0;var l=VT(i,a,!t);!o&&l.textConfig&&(o=l.textConfig),!u&&l.textContent&&(u=l.textContent)}if(!t&&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=t?r[t]:r.normal;f.cfg=o,f.conOpt=u}function Ec(e,t){return t?e?e[t]:null:e}function k7(e,t,r){var n=t&&t.style;return n==null&&r===zn&&e&&(n=e.styleEmphasis),n}function yte(e,t,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){bte({api:e,oldChildren:t.children()||[],newChildren:a||[],dataIndex:r,seriesModel:i,group:t});return}l&&t.removeAll();for(var c=0;c<o;c++){var f=a[c],h=t.childAt(c);f?(f.ignore==null&&(f.ignore=!1),E7(e,h,r,f,i,t)):(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=t.childCount()-1;d>=c;d--){var p=t.childAt(d);_te(t,p,i)}}}function _te(e,t,r){t&&P2(t,Vn(e).option,r)}function bte(e){new qn(e.oldChildren,e.newChildren,fm,fm,e).add(hm).update(hm).remove(xte).execute()}function fm(e,t){var r=e&&e.name;return r??lte+t}function hm(e,t){var r=this.context,n=e!=null?r.newChildren[e]:null,i=t!=null?r.oldChildren[t]:null;E7(r.api,i,r.dataIndex,n,r.seriesModel,r.group)}function xte(e){var t=this.context,r=t.oldChildren[e];r&&P2(r,Vn(r).option,t.seriesModel)}function ZT(e){return e&&(e.pathData||e.d)}function wte(e){return e&&(j(e,"pathData")||j(e,"d"))}function Ste(e){e.registerChartView(hte),e.registerSeriesModel(Gee)}var Aa=Ae(),dm=oe,th=X,Cte=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(t,r,n,i){var a=r.get("value"),o=r.get("status");if(this._axisModel=t,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,t,r,n);var c=l.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(t,r);if(!s)s=this._group=new le,this.createPointerEl(s,l,t,r),this.createLabelEl(s,l,t,r),n.getZr().add(s);else{var h=ve(pm,r,f);this.updatePointerEl(s,l,h),this.updateLabelEl(s,l,h,r)}gm(s,r,!0),this._renderHandle(a)}},e.prototype.remove=function(t){this.clear(t)},e.prototype.dispose=function(t){this.clear(t)},e.prototype.determineAnimation=function(t,r){var n=r.get("animation"),i=t.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=K5(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/u>s}return!1}return n===!0},e.prototype.makeElOption=function(t,r,n,i,a){},e.prototype.createPointerEl=function(t,r,n,i){var a=r.pointer;if(a){var o=Aa(t).pointerEl=new so[a.type](dm(r.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,r,n,i){if(r.label){var a=Aa(t).labelEl=new ke(dm(r.label));t.add(a),vm(a,i)}},e.prototype.updatePointerEl=function(t,r,n){var i=Aa(t).pointerEl;i&&r.pointer&&(i.setStyle(r.pointer.style),n(i,{shape:r.pointer.shape}))},e.prototype.updateLabelEl=function(t,r,n,i){var a=Aa(t).labelEl;a&&(a.setStyle(r.label.style),n(a,{x:r.label.x,y:r.label.y}),vm(a,i))},e.prototype._renderHandle=function(t){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=Nl(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(l){Gn(l.event)},onmousedown:th(this._onHandleDragMove,this,0,0),drift:th(this._onHandleDragMove,this),ondragend:th(this._onHandleDragEnd,this)}),n.add(i)),gm(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,Rs(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},e.prototype._moveHandleToValue=function(t,r){pm(this._axisPointerModel,!r&&this._moveAnimation,this._handle,rh(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,r){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(rh(n),[t,r],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(rh(i)),Aa(n).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){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}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var r=t.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),fl(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,r,n){return n=n||0,{x:t[n],y:t[1-n],width:r[n],height:r[1-n]}},e}();function pm(e,t,r,n){YT(Aa(r).lastProp,n)||(Aa(r).lastProp=n,t?Le(r,n,e):(r.stopAnimation(),r.attr(n)))}function YT(e,t){if(ne(e)&&ne(t)){var r=!0;return E(t,function(n,i){r=r&&YT(e[i],n)}),!!r}else return e===t}function vm(e,t){e[t.get(["label","show"])?"show":"hide"]()}function rh(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function gm(e,t,r){var n=t.get("z"),i=t.get("zlevel");e&&e.traverse(function(a){a.type!=="group"&&(n!=null&&(a.z=n),i!=null&&(a.zlevel=i),a.silent=r)})}const M7=Cte;function I7(e){var t=e.get("type"),r=e.getModel(t+"Style"),n;return t==="line"?(n=r.getLineStyle(),n.fill=null):t==="shadow"&&(n=r.getAreaStyle(),n.stroke=null),n}function XT(e,t,r,n,i){var a=r.get("value"),o=jT(a,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),s=r.getModel("label"),u=Es(s.get("padding")||0),l=s.getFont(),c=Ml(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),Ate(f,h,d,n);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),e.label={x:f[0],y:f[1],style:Ue(s,{text:o,font:l,fill:s.getTextColor(),padding:u,backgroundColor:g}),z2:10}}function Ate(e,t,r,n){var i=n.getWidth(),a=n.getHeight();e[0]=Math.min(e[0]+t,i)-t,e[1]=Math.min(e[1]+r,a)-r,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function jT(e,t,r,n,i){e=t.scale.parse(e);var a=t.scale.getLabel({value:e},{precision:i.precision}),o=i.formatter;if(o){var s={value:$5(t,{value:e}),axisDimension:t.dim,axisIndex:t.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 L7(e,t,r){var n=lr();return ao(n,n,r.rotation),yn(n,n,r.position),Zr([e.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],n)}function KT(e,t,r,n,i,a){var o=Zn.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=i.get(["label","margin"]),XT(t,n,i,a,{position:L7(n.axis,e,r),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function P7(e,t,r){return r=r||0,{x1:e[r],y1:e[1-r],x2:t[r],y2:t[1-r]}}function QT(e,t,r){return r=r||0,{x:e[r],y:e[1-r],width:t[r],height:t[1-r]}}function mm(e,t,r,n,i,a){return{cx:e,cy:t,r0:r,r:n,startAngle:i,endAngle:a,clockwise:!0}}var Tte=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,u=s.grid,l=a.get("type"),c=ym(u,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(n,!0));if(l&&l!=="none"){var h=I7(a),d=Dte[l](s,f,c);d.style=h,r.graphicKey=d.type,r.pointer=d}var p=Fd(u.model,i);KT(n,r,p,i,a,o)},t.prototype.getHandleTransform=function(r,n,i){var a=Fd(n.axis.grid.model,n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=L7(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.grid,u=o.getGlobalExtent(!0),l=ym(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]}},t}(M7);function ym(e,t){var r={};return r[t.dim+"AxisIndex"]=t.index,e.getCartesian(r)}var Dte={line:function(e,t,r){var n=P7([t,r[0]],[t,r[1]],_m(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=Math.max(1,e.getBandWidth()),i=r[1]-r[0];return{type:"Rect",shape:QT([t-n/2,r[0]],[n,i],_m(e))}}};function _m(e){return e.dim==="x"?0:1}const Ete=Tte;var kte=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="axisPointer",t.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}},t}(Ce);const Mte=kte;var Rn=Ae(),Ite=E;function JT(e,t,r){if(!De.node){var n=t.getZr();Rn(n).records||(Rn(n).records={}),Lte(n,t);var i=Rn(n).records[e]||(Rn(n).records[e]={});i.handler=r}}function Lte(e,t){if(Rn(e).initialized)return;Rn(e).initialized=!0,r("click",ve(bm,"click")),r("mousemove",ve(bm,"mousemove")),r("globalout",Rte);function r(n,i){e.on(n,function(a){var o=Nte(t);Ite(Rn(e).records,function(s){s&&i(s,a,o.dispatchAction)}),Pte(o.pendings,t)})}}function Pte(e,t){var r=e.showTip.length,n=e.hideTip.length,i;r?i=e.showTip[r-1]:n&&(i=e.hideTip[n-1]),i&&(i.dispatchAction=null,t.dispatchAction(i))}function Rte(e,t,r){e.handler("leave",null,r)}function bm(e,t,r,n){t.handler(e,r,n)}function Nte(e){var t={showTip:[],hideTip:[]},r=function(n){var i=t[n.type];i?i.push(n):(n.dispatchAction=r,e.dispatchAction(n))};return{dispatchAction:r,pendings:t}}function r4(e,t){if(!De.node){var r=t.getZr(),n=(Rn(r).records||{})[e];n&&(Rn(r).records[e]=null)}}var Ote=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i){var a=n.getComponent("tooltip"),o=r.get("triggerOn")||a&&a.get("triggerOn")||"mousemove|click";JT("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})})},t.prototype.remove=function(r,n){r4("axisPointer",n)},t.prototype.dispose=function(r,n){r4("axisPointer",n)},t.type="axisPointer",t}(et);const Bte=Ote;function eD(e,t){var r=[],n=e.seriesIndex,i;if(n==null||!(i=t.getSeriesByIndex(n)))return{point:[]};var a=i.getData(),o=ja(a,e);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(e.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 xm=Ae();function Fte(e,t,r){var n=e.currTrigger,i=[e.x,e.y],a=e,o=e.dispatchAction||X(r.dispatchAction,r),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){M0(i)&&(i=eD({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},t).point);var u=M0(i),l=a.axesInfo,c=s.axesInfo,f=n==="leave"||M0(i),h={},d={},p={list:[],map:{}},v={showPointer:ve(zte,d),showTooltip:ve($te,p)};E(s.coordSysMap,function(m,y){var _=u||m.containPoint(i);E(s.coordSysAxesInfo[y],function(b,x){var w=b.axis,S=Wte(l,b);if(!f&&_&&(!l||S)){var C=S&&S.value;C==null&&!u&&(C=w.pointToData(i)),C!=null&&wm(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,Sm(b),Sm(m)))),g[m.key]=S}})}),E(g,function(m,y){wm(c[y],m,v,!0,h)}),Gte(d,c,h),Hte(p,i,e,o),Ute(c,o,r),h}}function wm(e,t,r,n,i){var a=e.axis;if(!(a.scale.isBlank()||!a.containData(t))){if(!e.involveSeries){r.showPointer(e,t);return}var o=Vte(t,e),s=o.payloadBatch,u=o.snapToValue;s[0]&&i.seriesIndex==null&&$(i,s[0]),!n&&e.snap&&a.containData(u)&&u!=null&&(t=u),r.showPointer(e,t,s),r.showTooltip(e,o,u)}}function Vte(e,t){var r=t.axis,n=r.dim,i=e,a=[],o=Number.MAX_VALUE,s=-1;return E(t.seriesModels,function(u,l){var c=u.getData().mapDimensionsAll(n),f,h;if(u.getAxisTooltipData){var d=u.getAxisTooltipData(c,e,r);h=d.dataIndices,f=d.nestestValue}else{if(h=u.getData().indicesOfNearest(c[0],e,r.type==="category"?.5:null),!h.length)return;f=u.getData().get(c[0],h[0])}if(!(f==null||!isFinite(f))){var p=e-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 zte(e,t,r,n){e[t.key]={value:r,payloadBatch:n}}function $te(e,t,r,n){var i=r.payloadBatch,a=t.axis,o=a.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!i.length)){var u=t.coordSys.model,l=ml(u),c=e.map[l];c||(c=e.map[l]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},e.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 Gte(e,t,r){var n=r.axesInfo=[];E(t,function(i,a){var o=i.axisPointerModel.option,s=e[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 Hte(e,t,r,n){if(M0(t)||!e.list.length){n({type:"hideTip"});return}var i=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:e.list})}function Ute(e,t,r){var n=r.getZr(),i="axisPointerLastHighlights",a=xm(n)[i]||{},o=xm(n)[i]={};E(e,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 Wte(e,t){for(var r=0;r<(e||[]).length;r++){var n=e[r];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function Sm(e){var t=e.axis.model,r={},n=r.axisDim=e.axis.dim;return r.axisIndex=r[n+"AxisIndex"]=t.componentIndex,r.axisName=r[n+"AxisName"]=t.name,r.axisId=r[n+"AxisId"]=t.id,r}function M0(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function Zl(e){ho.registerAxisPointerClass("CartesianAxisPointer",Ete),e.registerComponentModel(Mte),e.registerComponentView(Bte),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var r=t.axisPointer.link;r&&!G(r)&&(t.axisPointer.link=[r])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,r){t.getComponent("axisPointer").coordSysAxesInfo=PZ(t,r)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},Fte)}function qte(e){be(AA),be(Zl)}var Zte=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.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=I7(a),p=Xte[h](s,u,f,c);p.style=d,r.graphicKey=p.type,r.pointer=p}var v=a.get(["label","margin"]),g=Yte(n,i,a,u,v);XT(r,i,a,o,g)},t}(M7);function Yte(e,t,r,n,i){var a=t.axis,o=a.dataToCoord(e),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var u=n.getRadiusAxis().getExtent(),l,c,f;if(a.dim==="radius"){var h=lr();ao(h,h,s),yn(h,h,[n.cx,n.cy]),l=Zr([o,-i],h);var d=t.getModel("axisLabel").get("rotate")||0,p=Zn.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 Xte={line:function(e,t,r,n){return e.dim==="angle"?{type:"Line",shape:P7(t.coordToPoint([n[0],r]),t.coordToPoint([n[1],r]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r}}},shadow:function(e,t,r,n){var i=Math.max(1,e.getBandWidth()),a=Math.PI/180;return e.dim==="angle"?{type:"Sector",shape:mm(t.cx,t.cy,n[0],n[1],(-r-i/2)*a,(-r+i/2)*a)}:{type:"Sector",shape:mm(t.cx,t.cy,r-i/2,r+i/2,0,Math.PI*2)}}};const jte=Zte;var Kte=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.findAxisModel=function(r){var n,i=this.ecModel;return i.eachComponent(r,function(a){a.getCoordSysModel()===this&&(n=a)},this),n},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Ce);const Qte=Kte;var R7=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",lt).models[0]},t.type="polarAxis",t}(Ce);ft(R7,Fl);var Jte=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="angleAxis",t}(R7),ere=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="radiusAxis",t}(R7),N7=function(e){F(t,e);function t(r,n){return e.call(this,"radius",r,n)||this}return t.prototype.pointToData=function(r,n){return this.polar.pointToData(r,n)[this.dim==="radius"?0:1]},t}(Qr);N7.prototype.dataToRadius=Qr.prototype.dataToCoord;N7.prototype.radiusToData=Qr.prototype.coordToData;const tre=N7;var rre=Ae(),O7=function(e){F(t,e);function t(r,n){return e.call(this,"angle",r,n||[0,360])||this}return t.prototype.pointToData=function(r,n){return this.polar.pointToData(r,n)[this.dim==="radius"?0:1]},t.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=Ml(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=rre(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},t}(Qr);O7.prototype.dataToAngle=Qr.prototype.dataToCoord;O7.prototype.angleToData=Qr.prototype.coordToData;const nre=O7;var tD=["radius","angle"],ire=function(){function e(t){this.dimensions=tD,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new tre,this._angleAxis=new nre,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(t){var r=this.pointToCoord(t);return this._radiusAxis.contain(r[0])&&this._angleAxis.contain(r[1])},e.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},e.prototype.getAxis=function(t){var r="_"+t+"Axis";return this[r]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(t){var r=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&r.push(n),i.scale.type===t&&r.push(i),r},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(t){var r=this._angleAxis;return t===r?this._radiusAxis:r},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(t){var r=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[r],otherAxes:[this.getOtherAxis(r)]}},e.prototype.dataToPoint=function(t,r){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],r),this._angleAxis.dataToAngle(t[1],r)])},e.prototype.pointToData=function(t,r){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],r),this._angleAxis.angleToData(n[1],r)]},e.prototype.pointToCoord=function(t){var r=t[0]-this.cx,n=t[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]},e.prototype.coordToPoint=function(t){var r=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*r+this.cx,a=-Math.sin(n)*r+this.cy;return[i,a]},e.prototype.getArea=function(){var t=this.getAngleAxis(),r=this.getRadiusAxis(),n=r.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.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:t.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}}},e.prototype.convertToPixel=function(t,r,n){var i=Cm(r);return i===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,r,n){var i=Cm(r);return i===this?this.pointToData(n):null},e}();function Cm(e){var t=e.seriesModel,r=e.polarModel;return r&&r.coordinateSystem||t&&t.coordinateSystem}const are=ire;function ore(e,t,r){var n=t.get("center"),i=r.getWidth(),a=r.getHeight();e.cx=W(n[0],i),e.cy=W(n[1],a);var o=e.getRadiusAxis(),s=Math.min(i,a)/2,u=t.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 sre(e,t){var r=this,n=r.getAngleAxis(),i=r.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),e.eachSeries(function(s){if(s.coordinateSystem===r){var u=s.getData();E(hc(u,"radius"),function(l){i.scale.unionExtentFromData(u,l)}),E(hc(u,"angle"),function(l){n.scale.unionExtentFromData(u,l)})}}),ds(n.scale,n.model),ds(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 ure(e){return e.mainType==="angleAxis"}function Am(e,t){var r;if(e.type=t.get("type"),e.scale=T2(t),e.onBand=t.get("boundaryGap")&&e.type==="category",e.inverse=t.get("inverse"),ure(t)){e.inverse=e.inverse!==t.get("clockwise");var n=t.get("startAngle"),i=(r=t.get("endAngle"))!==null&&r!==void 0?r:n+(e.inverse?-360:360);e.setExtent(n,i)}t.axis=e,e.model=t}var lre={dimensions:tD,create:function(e,t){var r=[];return e.eachComponent("polar",function(n,i){var a=new are(i+"");a.update=sre;var o=a.getRadiusAxis(),s=a.getAngleAxis(),u=n.findAxisModel("radiusAxis"),l=n.findAxisModel("angleAxis");Am(o,u),Am(s,l),ore(a,n,t),r.push(a),n.coordinateSystem=a,a.model=n}),e.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 cre=lre;var fre=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function r0(e,t,r){t[1]>t[0]&&(t=t.slice().reverse());var n=e.coordToPoint([t[0],r]),i=e.coordToPoint([t[1],r]);return{x1:n[0],y1:n[1],x2:i[0],y2:i[1]}}function n0(e){var t=e.getRadiusAxis();return t.inverse?0:1}function Tm(e){var t=e[0],r=e[e.length-1];t&&r&&Math.abs(Math.abs(t.coord-r.coord)-360)<1e-4&&e.pop()}var hre=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="PolarAxisPointer",r}return t.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});Tm(l),Tm(s),E(fre,function(c){r.get([c,"show"])&&(!i.scale.isBlank()||c==="axisLine")&&dre[c](this.group,r,a,s,u,o,l)},this)}},t.type="angleAxis",t}(ho),dre={axisLine:function(e,t,r,n,i,a){var o=t.getModel(["axisLine","lineStyle"]),s=r.getAngleAxis(),u=Math.PI/180,l=s.getExtent(),c=n0(r),f=c?0:1,h,d=Math.abs(l[1]-l[0])===360?"Circle":"Arc";a[f]===0?h=new so[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 s2({shape:{cx:r.cx,cy:r.cy,r:a[c],r0:a[f]},style:o.getLineStyle(),z2:1,silent:!0}),h.style.fill=null,e.add(h)},axisTick:function(e,t,r,n,i,a){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),u=a[n0(r)],l=H(n,function(c){return new xt({shape:r0(r,[u,u+s],c.coord)})});e.add(Tr(l,{style:ae(o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,r,n,i,a){if(i.length){for(var o=t.getModel("axisTick"),s=t.getModel("minorTick"),u=(o.get("inside")?-1:1)*s.get("length"),l=a[n0(r)],c=[],f=0;f<i.length;f++)for(var h=0;h<i[f].length;h++)c.push(new xt({shape:r0(r,[l,l+u],i[f][h].coord)}));e.add(Tr(c,{style:ae(s.getModel("lineStyle").getLineStyle(),ae(o.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,r,n,i,a,o){var s=t.getCategories(!0),u=t.getModel("axisLabel"),l=u.get("margin"),c=t.get("triggerEvent");E(o,function(f,h){var d=u,p=f.tickValue,v=a[n0(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:Zn.isLabelSilent(t),style:Ue(d,{x:g[0],y:g[1],fill:d.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:f.formattedLabel,align:_,verticalAlign:b})});if(e.add(w),c){var S=Zn.makeAxisEventDataBase(t);S.targetType="axisLabel",S.value=f.rawLabel,ce(w).eventData=S}},this)},splitLine:function(e,t,r,n,i,a){var o=t.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:r0(r,a,n[f].coord)}))}for(var f=0;f<c.length;f++)e.add(Tr(c[f],{style:ae({stroke:u[f%u.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,r,n,i,a){if(i.length){for(var o=t.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:r0(r,a,i[l][c].coord)}));e.add(Tr(u,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,r,n,i,a){if(n.length){var o=t.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=t.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 tr({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++)e.add(Tr(c[g],{style:ae({fill:u[g%u.length]},s.getAreaStyle()),silent:!0}))}}};const pre=hre;var vre=["axisLine","axisTickLabel","axisName"],gre=["splitLine","splitArea","minorSplitLine"],mre=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="PolarAxisPointer",r}return t.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=_re(s,r,f),p=new Zn(r,d);E(vre,p.add,p),a.add(p.getGroup()),Rl(i,a,r),E(gre,function(v){r.get([v,"show"])&&!o.scale.isBlank()&&yre[v](this.group,r,s,f,h,l,c)},this)}},t.type="radiusAxis",t}(ho),yre={splitLine:function(e,t,r,n,i,a){var o=t.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 so[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++)e.add(Tr(p[v],{style:ae({stroke:u[v%u.length],fill:null},s.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,r,n,i,a,o){if(o.length){for(var s=t.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 Hi({shape:{cx:r.cx,cy:r.cy,r:o[c][f].coord}}));e.add(Tr(l,{style:ae({fill:null},u.getLineStyle()),silent:!0}))}},splitArea:function(e,t,r,n,i,a){if(a.length){var o=t.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 tr({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++)e.add(Tr(c[h],{style:ae({fill:u[h%u.length]},s.getAreaStyle()),silent:!0}))}}};function _re(e,t,r){return{position:[e.cx,e.cy],rotation:r/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}const bre=mre;function rD(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function nD(e,t){return t.dim+e.model.componentIndex}function xre(e,t,r){var n={},i=wre(Ne(t.getSeriesByType(e),function(a){return!t.isSeriesFiltered(a)&&a.coordinateSystem&&a.coordinateSystem.type==="polar"}));t.eachSeriesByType(e,function(a){if(a.coordinateSystem.type==="polar"){var o=a.getData(),s=a.coordinateSystem,u=s.getBaseAxis(),l=nD(s,u),c=rD(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=Fi(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),L=k>=0?"p":"n",N=A;x&&(n[c][M]||(n[c][M]={p:A,n:A}),N=n[c][M][L]);var I=void 0,O=void 0,P=void 0,R=void 0;if(p.dim==="radius"){var B=p.dataToCoord(k)-A,V=u.dataToCoord(M);Math.abs(B)<m&&(B=(B<0?-1:1)*m),I=N,O=N+B,P=V-h,R=P-d,x&&(n[c][M][L]=O)}else{var z=p.dataToCoord(k,w)-A,U=u.dataToCoord(M);Math.abs(z)<y&&(z=(z<0?-1:1)*y),I=U+h,O=I+d,P=N,R=N+z,x&&(n[c][M][L]=R)}o.setItemLayout(T,{cx:v,cy:g,r0:I,r:O,startAngle:-P*Math.PI/180,endAngle:-R*Math.PI/180,clockwise:P>=R})}}})}function wre(e){var t={};E(e,function(n,i){var a=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),u=nD(o,s),l=s.getExtent(),c=s.type==="category"?s.getBandWidth():Math.abs(l[1]-l[0])/a.count(),f=t[u]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=f.stacks;t[u]=f;var d=rD(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(t,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 Sre={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},Cre={splitNumber:5},Are=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="polar",t}(et);function Tre(e){be(Zl),ho.registerAxisPointerClass("PolarAxisPointer",jte),e.registerCoordinateSystem("polar",cre),e.registerComponentModel(Qte),e.registerComponentView(Are),vs(e,"angle",Jte,Sre),vs(e,"radius",ere,Cre),e.registerComponentView(pre),e.registerComponentView(bre),e.registerLayout(ve(xre,"bar"))}function n4(e,t){t=t||{};var r=e.coordinateSystem,n=e.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],e.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),ut(t.labelInside,e.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var h=t.rotate;return h==null&&(h=e.get(["axisLabel","rotate"])),i.labelRotation=a==="top"?-h:h,i.z2=1,i}var Dre=["axisLine","axisTickLabel","axisName"],Ere=["splitArea","splitLine"],kre=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.axisPointerClass="SingleAxisPointer",r}return t.prototype.render=function(r,n,i,a){var o=this.group;o.removeAll();var s=this._axisGroup;this._axisGroup=new le;var u=n4(r),l=new Zn(r,u);E(Dre,l.add,l),o.add(this._axisGroup),o.add(l.getGroup()),E(Ere,function(c){r.get([c,"show"])&&Mre[c](this,this.group,this._axisGroup,r)},this),Rl(s,this._axisGroup,r),e.prototype.render.call(this,r,n,i,a)},t.prototype.remove=function(){wA(this)},t.type="singleAxis",t}(ho),Mre={splitLine:function(e,t,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});cs(y.shape,u);var _=h++%s.length;f[_]=f[_]||[],f[_].push(y)}for(var b=o.getLineStyle(["color"]),g=0;g<f.length;++g)t.add(Tr(f[g],{style:ae({stroke:s[g%s.length]},b),silent:!0}))}},splitArea:function(e,t,r,n){xA(e,r,n,n)}};const Ire=kre;var iD=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.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}}},t}(Ce);ft(iD,Fl.prototype);const nh=iD;var Lre=function(e){F(t,e);function t(r,n,i,a,o){var s=e.call(this,r,n,i)||this;return s.type=a||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var r=this.position;return r==="top"||r==="bottom"},t.prototype.pointToData=function(r,n){return this.coordinateSystem.pointToData(r)[0]},t}(Qr);const Pre=Lre;var aD=["single"],Rre=function(){function e(t,r,n){this.type="single",this.dimension="single",this.dimensions=aD,this.axisPointerEnabled=!0,this.model=t,this._init(t,r,n)}return e.prototype._init=function(t,r,n){var i=this.dimension,a=new Pre(i,T2(t),[0,0],t.get("type"),t.get("position")),o=a.type==="category";a.onBand=o&&t.get("boundaryGap"),a.inverse=t.get("inverse"),a.orient=t.get("orient"),t.axis=a,a.model=t,a.coordinateSystem=this,this._axis=a},e.prototype.update=function(t,r){t.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),ds(this._axis.scale,this._axis.model)}},this)},e.prototype.resize=function(t,r){this._rect=dt({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:r.getWidth(),height:r.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var t=this._rect,r=this._axis,n=r.isHorizontal(),i=n?[0,t.width]:[0,t.height],a=r.inverse?1:0;r.setExtent(i[a],i[1-a]),this._updateAxisTransform(r,n?t.x:t.y)},e.prototype._updateAxisTransform=function(t,r){var n=t.getExtent(),i=n[0]+n[1],a=t.isHorizontal();t.toGlobalCoord=a?function(o){return o+r}:function(o){return i-o+r},t.toLocalCoord=a?function(o){return o-r}:function(o){return i-o+r}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(t){var r=this.getRect(),n=this.getAxis(),i=n.orient;return i==="horizontal"?n.contain(n.toLocalCoord(t[0]))&&t[1]>=r.y&&t[1]<=r.y+r.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=r.y&&t[0]<=r.y+r.height},e.prototype.pointToData=function(t){var r=this.getAxis();return[r.coordToData(r.toLocalCoord(t[r.orient==="horizontal"?0:1]))]},e.prototype.dataToPoint=function(t){var r=this.getAxis(),n=this.getRect(),i=[],a=r.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),i[a]=r.toGlobalCoord(r.dataToCoord(+t)),i[1-a]=a===0?n.y+n.height/2:n.x+n.width/2,i},e.prototype.convertToPixel=function(t,r,n){var i=Dm(r);return i===this?this.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,r,n){var i=Dm(r);return i===this?this.pointToData(n):null},e}();function Dm(e){var t=e.seriesModel,r=e.singleAxisModel;return r&&r.coordinateSystem||t&&t.coordinateSystem}function Nre(e,t){var r=[];return e.eachComponent("singleAxis",function(n,i){var a=new Rre(n,e,t);a.name="single_"+i,a.resize(n,t),n.coordinateSystem=a,r.push(a)}),e.eachSeries(function(n){if(n.get("coordinateSystem")==="singleAxis"){var i=n.getReferringComponents("singleAxis",lt).models[0];n.coordinateSystem=i&&i.coordinateSystem}}),r}var Ore={create:Nre,dimensions:aD};const Bre=Ore;var Em=["x","y"],Fre=["width","height"],Vre=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,n,i,a,o){var s=i.axis,u=s.coordinateSystem,l=ih(u,1-kc(s)),c=u.dataToPoint(n)[0],f=a.get("type");if(f&&f!=="none"){var h=I7(a),d=zre[f](s,c,l);d.style=h,r.graphicKey=d.type,r.pointer=d}var p=n4(i);KT(n,r,p,i,a,o)},t.prototype.getHandleTransform=function(r,n,i){var a=n4(n,{labelInside:!1});a.labelMargin=i.get(["handle","margin"]);var o=L7(n.axis,r,a);return{x:o[0],y:o[1],rotation:a.rotation+(a.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,n,i,a){var o=i.axis,s=o.coordinateSystem,u=kc(o),l=ih(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=ih(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"}}},t}(M7),zre={line:function(e,t,r){var n=P7([t,r[0]],[t,r[1]],kc(e));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(e,t,r){var n=e.getBandWidth(),i=r[1]-r[0];return{type:"Rect",shape:QT([t-n/2,r[0]],[n,i],kc(e))}}};function kc(e){return e.isHorizontal()?0:1}function ih(e,t){var r=e.getRect();return[r[Em[t]],r[Em[t]]+r[Fre[t]]]}const $re=Vre;var Gre=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="single",t}(et);function Hre(e){be(Zl),ho.registerAxisPointerClass("SingleAxisPointer",$re),e.registerComponentView(Gre),e.registerComponentView(Ire),e.registerComponentModel(nh),vs(e,"single",nh,nh.defaultOption),e.registerCoordinateSystem("single",Bre)}var Ure=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n,i){var a=ks(r);e.prototype.init.apply(this,arguments),km(r,a)},t.prototype.mergeOption=function(r){e.prototype.mergeOption.apply(this,arguments),km(this.option,r)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.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}},t}(Ce);function km(e,t){var r=e.cellSize,n;G(r)?n=r:n=e.cellSize=[r,r],n.length===1&&(n[1]=n[0]);var i=H([0,1],function(a){return qz(t,a)&&(n[a]="auto"),n[a]!=null&&n[a]!=="auto"});Bi(e,t,{type:"box",ignoreSize:i})}const Wre=Ure;var qre=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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)},t.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)}},t.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)},t.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},t.prototype._drawSplitline=function(r,n,i){var a=new ir({z2:20,shape:{points:r},style:n});i.add(a)},t.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},t.prototype._formatterLabel=function(r,n){return Z(r)&&r?Hz(r,n):te(r)?r(n):n.nameMap},t.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]}}},t.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)}},t.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}},t.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=dd(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)}}},t.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}},t.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=dd(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)}}},t.type="calendar",t}(et);const Zre=qre;var ah=864e5,Yre=function(){function e(t,r,n){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(t){t=bn(t);var r=t.getFullYear(),n=t.getMonth()+1,i=n<10?"0"+n:""+n,a=t.getDate(),o=a<10?"0"+a:""+a,s=t.getDay();return s=Math.abs((s+7-this.getFirstDayOfWeek())%7),{y:r+"",m:i,d:o,day:s,time:t.getTime(),formatedDate:r+"-"+i+"-"+o,date:t}},e.prototype.getNextNDay=function(t,r){return r=r||0,r===0?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+r),this.getDateInfo(t))},e.prototype.update=function(t,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]},e.prototype.dataToPoint=function(t,r){G(t)&&(t=t[0]),r==null&&(r=!0);var n=this.getDateInfo(t),i=this._rangeInfo,a=n.formatedDate;if(r&&!(n.time>=i.start.time&&n.time<i.end.time+ah))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]},e.prototype.pointToData=function(t){var r=this.pointToDate(t);return r&&r.time},e.prototype.dataToRect=function(t,r){var n=this.dataToPoint(t,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]}},e.prototype.pointToDate=function(t){var r=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,i=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(n,r-1,i):this._getDateByWeeksAndDay(r,n-1,i)},e.prototype.convertToPixel=function(t,r,n){var i=Mm(r);return i===this?i.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,r,n){var i=Mm(r);return i===this?i.pointToData(n):null},e.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var t=this._model.get("range"),r;if(G(t)&&t.length===1&&(t=t[0]),G(t))r=t;else{var n=t.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"&&Wr("Invalid date range."),t;var s=this._getRangeInfo(r);return s.start.time>s.end.time&&r.reverse(),r},e.prototype._getRangeInfo=function(t){var r=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],n;r[0].time>r[1].time&&(n=!0,r.reverse());var i=Math.floor(r[1].time/ah)-Math.floor(r[0].time/ah)+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}},e.prototype._getDateByWeeksAndDay=function(t,r,n){var i=this._getRangeInfo(n);if(t>i.weeks||t===0&&r<i.fweek||t===i.weeks&&r>i.lweek)return null;var a=(t-1)*7-i.fweek+r,o=new Date(i.start.time);return o.setDate(+i.start.d+a),this.getDateInfo(o)},e.create=function(t,r){var n=[];return t.eachComponent("calendar",function(i){var a=new e(i);n.push(a),i.coordinateSystem=a}),t.eachSeries(function(i){i.get("coordinateSystem")==="calendar"&&(i.coordinateSystem=n[i.get("calendarIndex")||0])}),n},e.dimensions=["time","value"],e}();function Mm(e){var t=e.calendarModel,r=e.seriesModel,n=t?t.coordinateSystem:r?r.coordinateSystem:null;return n}const Xre=Yre;function jre(e){e.registerComponentModel(Wre),e.registerComponentView(Zre),e.registerCoordinateSystem("calendar",Xre)}function Kre(e,t){var r=e.existing;if(t.id=e.keyInfo.id,!t.type&&r&&(t.type=r.type),t.parentId==null){var n=t.parentOption;n?t.parentId=n.id:r&&(t.parentId=r.parentId)}t.parentOption=null}function Im(e,t){var r;return E(t,function(n){e[n]!=null&&e[n]!=="auto"&&(r=!0)}),r}function Qre(e,t,r){var n=$({},r),i=e[t],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),Bi(i,n,{ignoreSize:!0}),Gw(r,i),i0(r,i),i0(r,i,"shape"),i0(r,i,"style"),i0(r,i,"extra"),r.clipPath=i.clipPath}else e[t]=n;else a==="replace"?e[t]=n:a==="remove"&&i&&(e[t]=null)}var oD=["transition","enterFrom","leaveTo"],Jre=oD.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function i0(e,t,r){if(r&&(!e[r]&&t[r]&&(e[r]={}),e=e[r],t=t[r]),!(!e||!t))for(var n=r?oD:Jre,i=0;i<n.length;i++){var a=n[i];e[a]==null&&t[a]!=null&&(e[a]=t[a])}}function ene(e,t){if(e&&(e.hv=t.hv=[Im(t,["left","right"]),Im(t,["top","bottom"])],e.type==="group")){var r=e,n=t;r.width==null&&(r.width=n.width=0),r.height==null&&(r.height=n.height=0)}}var tne=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.preventAutoZ=!0,r}return t.prototype.mergeOption=function(r,n){var i=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,r,n),this.option.elements=i},t.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=Ax(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),Kre(c,h),Qre(o,f,h),ene(o[f],h))},this),i.elements=Ne(o,function(c){return c&&delete c.$action,c!=null})},t.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)},t.prototype.useElOptionsToUpdate=function(){var r=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,r},t.type="graphic",t.defaultOption={elements:[]},t}(Ce),Lm={path:null,compoundPath:null,group:le,image:Mt,text:ke},Sr=Ae(),rne=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){this._elMap=J()},t.prototype.render=function(r,n,i){r!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=r,this._updateElements(r),this._relocate(r,i)},t.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&&FT(p,d,!!g,!!v)){var m=VT(p,d,!0);!g&&m.textConfig&&(g=u.textConfig=m.textConfig),!v&&m.textContent&&(v=m.textContent)}var y=nne(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=Pm(l,h,u.type,i):(S&&(Sr(S).isNew=!1),UT(S)),S&&(k0(S,y,r,{isInit:w}),Rm(S,u,o,s))}else if(x){I0(c,u,i,r);var C=Pm(l,h,u.type,i);C&&(k0(C,y,r,{isInit:!0}),Rm(C,u,o,s))}else _==="remove"&&($T(c,u),I0(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 L=A.getClipPath();w=!L||Sr(L).type!==k,M=w?i4(k):L}else x&&(w=!0,M=i4(k));A.setClipPath(M),k0(M,D,r,{isInit:w}),Tc(M,D.keyframeAnimation,r)}var N=Sr(A);A.setTextConfig(g),N.option=u,ine(A,r,u),oo({el:A,componentModel:r,itemName:A.name,itemTooltipOption:u.tooltip}),Tc(A,u.keyframeAnimation,r)}})}},t.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=Sr(d),m=Sr(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=Sr(p),y=p===a?{width:s,height:u}:{width:m.width,height:m.height},_={},b=m2(d,f,y,null,{hv:f.hv,boundingMode:f.bounding},_);if(!Sr(d).isNew&&b){for(var x=f.transition,w={},S=0;S<l.length;S++){var C=l[S],A=_[C];x&&(qa(x)||_e(x,C)>=0)?w[C]=A:d[C]=A}Le(d,w,r,0)}else d.attr(_)}}},t.prototype._clear=function(){var r=this,n=this._elMap;n.each(function(i){I0(i,Sr(i).option,n,r._lastGraphicModel)}),this._elMap=J()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(et);function i4(e){process.env.NODE_ENV!=="production"&&ie(e,"graphic type MUST be set");var t=j(Lm,e)?Lm[e]:h5(e);process.env.NODE_ENV!=="production"&&ie(t,"graphic type "+e+" can not be found");var r=new t({});return Sr(r).type=e,r}function Pm(e,t,r,n){var i=i4(r);return t.add(i),n.set(e,i),Sr(i).id=e,Sr(i).isNew=!0,i}function I0(e,t,r,n){var i=e&&e.parent;i&&(e.type==="group"&&e.traverse(function(a){I0(a,t,r,n)}),P2(e,t,n),r.removeKey(Sr(e).id))}function Rm(e,t,r,n){e.isGroup||E([["cursor",Lr.prototype.cursor],["zlevel",n||0],["z",r||0],["z2",0]],function(i){var a=i[0];j(t,a)?e[a]=fe(t[a],i[1]):e[a]==null&&(e[a]=i[1])}),E(Se(t),function(i){if(i.indexOf("on")===0){var a=t[i];e[i]=te(a)?a:null}}),j(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function nne(e){return e=$({},e),E(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat($w),function(t){delete e[t]}),e}function ine(e,t,r){var n=ce(e).eventData;!e.silent&&!e.ignore&&!n&&(n=ce(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),n&&(n.info=r.info)}function ane(e){e.registerComponentModel(tne),e.registerComponentView(rne),e.registerPreprocessor(function(t){var r=t.graphic;G(r)?!r[0]||!r[0].elements?t.graphic=[{elements:r}]:t.graphic=[t.graphic[0]]:r&&!r.elements&&(t.graphic=[{elements:[r]}])})}var Nm=["x","y","radius","angle","single"],one=["cartesian2d","polar","singleAxis"];function sne(e){var t=e.get("coordinateSystem");return _e(one,t)>=0}function Di(e){return process.env.NODE_ENV!=="production"&&ie(e),e+"Axis"}function une(e,t){var r=J(),n=[],i=J();e.eachComponent({mainType:"dataZoom",query:t},function(c){i.get(c.uid)||s(c)});var a;do a=!1,e.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 sD(e){var t=e.ecModel,r={infoList:[],infoMap:J()};return e.eachTargetAxis(function(n,i){var a=t.getComponent(Di(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 oh=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e}(),lne=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._autoThrottle=!0,r._noTarget=!0,r._rangePropMode=["percent","percent"],r}return t.prototype.init=function(r,n,i){var a=Om(r);this.settledOption=a,this.mergeDefaultAndTheme(r,i),this._doInit(a)},t.prototype.mergeOption=function(r){var n=Om(r);ge(this.option,r,!0),ge(this.settledOption,n,!0),this._doInit(n)},t.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()},t.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)},t.prototype._fillSpecifiedTargetAxis=function(r){var n=!1;return E(Nm,function(i){var a=this.getReferringComponents(Di(i),SF);if(a.specified){n=!0;var o=new oh;E(a.models,function(s){o.add(s.componentIndex)}),r.set(i,o)}},this),n},t.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 oh;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(Nm,function(l){if(a){var c=i.findComponents({mainType:Di(l),filter:function(h){return h.get("type",!0)==="category"}});if(c[0]){var f=new oh;f.add(c[0].componentIndex),r.set(l,f),a=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var r;return this.eachTargetAxis(function(n){!r&&(r=n)},this),r==="y"?"vertical":"horizontal"},t.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}},t.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")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var r;return this.eachTargetAxis(function(n,i){r==null&&(r=this.ecModel.getComponent(Di(n),i))},this),r},t.prototype.eachTargetAxis=function(r,n){this._targetAxisInfoMap.each(function(i,a){E(i.indexList,function(o){r.call(n,a,o)})})},t.prototype.getAxisProxy=function(r,n){var i=this.getAxisModel(r,n);if(i)return i.__dzAxisProxy},t.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(Di(r),n)},t.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)},t.prototype.setCalculatedRange=function(r){var n=this.option;E(["start","startValue","end","endValue"],function(i){n[i]=r[i]})},t.prototype.getPercentRange=function(){var r=this.findRepresentativeAxisProxy();if(r)return r.getDataPercentWindow()},t.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()},t.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},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return process.env.NODE_ENV!=="production"&&ie(this._orient),this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(Ce);function Om(e){var t={};return E(["start","end","startValue","endValue","throttle"],function(r){e.hasOwnProperty(r)&&(t[r]=e[r])}),t}const Sl=lne;var cne=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.select",t}(Sl);const fne=cne;var hne=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,n,i,a){this.dataZoomModel=r,this.ecModel=n,this.api=i},t.type="dataZoom",t}(et);const B7=hne;var dne=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.select",t}(B7);const pne=dne;var qo=E,Bm=Er,vne=function(){function e(t,r,n,i){this._dimName=t,this._axisIndex=r,this.ecModel=i,this._dataZoomModel=n}return e.prototype.hostedBy=function(t){return this._dataZoomModel===t},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(r){if(sne(r)){var n=Di(this._dimName),i=r.getReferringComponents(n,lt).models[0];i&&this._axisIndex===i.componentIndex&&t.push(r)}},this),t},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return oe(this._minMaxSpan)},e.prototype.calculateDataWindow=function(t){var r=this._dataExtent,n=this.getAxisModel(),i=n.axis.scale,a=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],u=[],l;qo(["start","end"],function(h,d){var p=t[h],v=t[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}),Bm(u),Bm(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";po(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}},e.prototype.reset=function(t){if(t===this._dataZoomModel){var r=this.getTargetSeriesModels();this._dataExtent=gne(this,this._dimName,r),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(t,r){if(t!==this._dataZoomModel)return;var n=this._dimName,i=this.getTargetSeriesModels(),a=t.get("filterMode"),o=this._valueWindow;if(a==="none")return;qo(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 qo(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)}});qo(c,function(d){l.setApproximateExtent(o,d)})}});function s(u){return u>=o[0]&&u<=o[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},r=this._dataZoomModel,n=this._dataExtent;qo(["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]),t[i+"Span"]=a,t[i+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),r=this._percentWindow,n=this._valueWindow;if(r){var i=mx(n,[0,500]);i=Math.min(i,20);var a=t.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()}},e}();function gne(e,t,r){var n=[1/0,-1/0];qo(r,function(o){VU(n,o.getData(),t)});var i=e.getAxisModel(),a=bC(i.axis.scale,i,n).calculate();return[a.min,a.max]}const mne=vne;var yne={getTargetSeries:function(e){function t(i){e.eachComponent("dataZoom",function(a){a.eachTargetAxis(function(o,s){var u=e.getComponent(Di(o),s);i(o,s,u,a)})})}t(function(i,a,o,s){o.__dzAxisProxy=null});var r=[];t(function(i,a,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new mne(i,a,s,e),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(e,t){e.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,t)})}),e.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 _ne=yne;function bne(e){e.registerAction("dataZoom",function(t,r){var n=une(r,t);E(n,function(i){i.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var Fm=!1;function F7(e){Fm||(Fm=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,_ne),bne(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function xne(e){e.registerComponentModel(fne),e.registerComponentView(pne),F7(e)}var Ar=function(){function e(){}return e}(),uD={};function Zo(e,t){uD[e]=t}function lD(e){return uD[e]}var wne=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var r=this.ecModel;E(this.option.feature,function(n,i){var a=lD(i);a&&(a.getDefaultOption&&(a.defaultOption=a.getDefaultOption(r)),ge(n,a.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.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"}},t}(Ce);const Sne=wne;function Cne(e,t,r){var n=t.getBoxLayoutParams(),i=t.get("padding"),a={width:r.getWidth(),height:r.getHeight()},o=dt(n,a,i);Ha(t.get("orient"),e,t.get("itemGap"),o.width,o.height),m2(e,n,a,i)}function cD(e,t){var r=Es(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),e=new Ee({shape:{x:e.x-r[3],y:e.y-r[0],width:e.width+r[1]+r[3],height:e.height+r[0]+r[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),e}var Ane=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.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 qn(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(Tne(g))b={onclick:_.option.onclick,featureName:g};else{var x=lD(g);if(!x)return;b=new x}c[g]=b}else if(b=c[m],!b)return;b.uid=Ds("toolbox-feature"),b.model=_,b.ecModel=n,b.api=i;var w=b instanceof Ar;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"?Un:Wn)(T[S])},b instanceof Ar&&b.render&&b.render(_,n,i,a)}function d(p,v,g){var m=p.getModel("iconStyle"),y=p.getModel(["emphasis","iconStyle"]),_=v instanceof Ar&&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=Nl(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:d5({fontStyle:y.get("textFontStyle"),fontFamily:y.get("textFontFamily"),fontSize:y.get("textFontSize"),fontWeight:y.get("textFontWeight")},n)},ignore:!0});T.setTextContent(k),oo({el:T,componentModel:r,itemName:A,formatterParamsExtra:{title:w[A]}}),T.__title=w[A],T.on("mouseover",function(){var M=y.getItemStyle(),L=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")||L}),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"?Un:Wn)(T),o.add(T),T.on("click",X(v.onclick,v,n,i,A)),S[A]=T})}Cne(o,r,i),o.add(cD(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=Ml(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")}})},t.prototype.updateView=function(r,n,i,a){E(this._features,function(o){o instanceof Ar&&o.updateView&&o.updateView(o.model,n,i,a)})},t.prototype.remove=function(r,n){E(this._features,function(i){i instanceof Ar&&i.remove&&i.remove(r,n)}),this.group.removeAll()},t.prototype.dispose=function(r,n){E(this._features,function(i){i instanceof Ar&&i.dispose&&i.dispose(r,n)})},t.type="toolbox",t}(et);function Tne(e){return e.indexOf("my")===0}const Dne=Ane;var Ene=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.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}},t.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},t}(Ar);const kne=Ene;var Vm="__ec_magicType_stack__",Mne=[["line","bar"],["stack"]],Ine=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.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},t.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},t.prototype.onclick=function(r,n,i){var a=this.model,o=a.get(["seriesIndex",i]);if(zm[i]){var s={series:[]},u=function(f){var h=f.subType,d=f.id,p=zm[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(Mne,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"})}},t}(Ar),zm={line:function(e,t,r,n){if(e==="bar")return ge({id:t,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(e,t,r,n){if(e==="line")return ge({id:t,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(e,t,r,n){var i=r.get("stack")===Vm;if(e==="line"||e==="bar")return n.setIconStatus("stack",i?"normal":"emphasis"),ge({id:t,stack:i?"":Vm},n.get(["option","stack"])||{},!0)}};Tn({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});const Lne=Ine;var R2=new Array(60).join("-"),ys=" ";function Pne(e){var t={},r=[],n=[];return e.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;t[s]||(t[s]={categoryAxis:o,valueAxis:a.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(i)}else r.push(i)}else r.push(i)}),{seriesGroupByCategoryAxis:t,other:r,meta:n}}function Rne(e){var t=[];return E(e,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(ys)],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(ys))}t.push(l.join(`
|
|
96
|
+
`))}),t.join(`
|
|
97
|
+
|
|
98
|
+
`+R2+`
|
|
99
|
+
|
|
100
|
+
`)}function Nne(e){return H(e,function(t){var r=t.getRawData(),n=[t.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+ys:"")+i.join(ys))}),n.join(`
|
|
101
|
+
`)}).join(`
|
|
102
|
+
|
|
103
|
+
`+R2+`
|
|
104
|
+
|
|
105
|
+
`)}function One(e){var t=Pne(e);return{value:Ne([Rne(t.seriesGroupByCategoryAxis),Nne(t.other)],function(r){return!!r.replace(/[\n\t\s]/g,"")}).join(`
|
|
106
|
+
|
|
107
|
+
`+R2+`
|
|
108
|
+
|
|
109
|
+
`),meta:t.meta}}function Mc(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Bne(e){var t=e.slice(0,e.indexOf(`
|
|
110
|
+
`));if(t.indexOf(ys)>=0)return!0}var a4=new RegExp("["+ys+"]+","g");function Fne(e){for(var t=e.split(/\n+/g),r=Mc(t.shift()).split(a4),n=[],i=H(r,function(u){return{name:u,data:[]}}),a=0;a<t.length;a++){var o=Mc(t[a]).split(a4);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 Vne(e){for(var t=e.split(/\n+/g),r=Mc(t.shift()),n=[],i=0;i<t.length;i++){var a=Mc(t[i]);if(a){var o=a.split(a4),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 zne(e,t){var r=e.split(new RegExp(`
|
|
111
|
+
*`+R2+`
|
|
112
|
+
*`,"g")),n={series:[]};return E(r,function(i,a){if(Bne(i)){var o=Fne(i),s=t[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=Vne(i);n.series.push(o)}}),n}var $ne=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.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=One(r);if(te(f)){var p=f(n.getOption());Z(p)?l.innerHTML=p:Za(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}Bh(_,"click",w),Bh(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=zne(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},t.prototype.remove=function(r,n){this._dom&&n.getDom().removeChild(this._dom)},t.prototype.dispose=function(r,n){this.remove(r,n)},t.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},t}(Ar);function Gne(e,t){return H(e,function(r,n){var i=t&&t[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})}Tn({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var r=[];E(e.newOption.series,function(n){var i=t.getSeriesByName(n.name)[0];if(!i)r.push($({type:"scatter"},n));else{var a=i.get("data");r.push({name:n.name,data:Gne(n.data,a)})}}),t.mergeOption(ae({series:r},e.newOption))});const Hne=$ne;var fD=E,hD=Ae();function Une(e,t){var r=V7(e);fD(t,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=e.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(t)}function Wne(e){var t=V7(e),r=t[t.length-1];t.length>1&&t.pop();var n={};return fD(r,function(i,a){for(var o=t.length-1;o>=0;o--)if(i=t[o][a],i){n[a]=i;break}}),n}function qne(e){hD(e).snapshots=null}function Zne(e){return V7(e).length}function V7(e){var t=hD(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var Yne=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(r,n){qne(r),n.dispatchAction({type:"restore",from:this.uid})},t.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},t}(Ar);Tn({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});const Xne=Yne;var jne=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],Kne=function(){function e(t,r,n){var i=this;this._targetInfoList=[];var a=$m(r,t);E(Qne,function(o,s){(!n||!n.include||_e(n.include,s)>=0)&&o(a,i._targetInfoList)})}return e.prototype.setOutputRanges=function(t,r){return this.matchOutputRanges(t,r,function(n,i,a){if((n.coordRanges||(n.coordRanges=[])).push(i),!n.coordRange){n.coordRange=i;var o=sh[n.brushType](0,a,i);n.__rangeOffset={offset:Wm[n.brushType](o.values,n.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,r,n){E(t,function(i){var a=this.findTargetInfo(i,r);a&&a!==!0&&E(a.coordSyses,function(o){var s=sh[i.brushType](1,o,i.range,!0);n(i,s.values,o,r)})},this)},e.prototype.setInputRanges=function(t,r){E(t,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=sh[n.brushType](0,i.coordSys,n.coordRange),o=n.__rangeOffset;n.range=o?Wm[n.brushType](a.values,o.offset,Jne(a.xyMinMax,o.xyMinMax)):a.values}},this)},e.prototype.makePanelOpts=function(t,r){return H(this._targetInfoList,function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:r?r(n):null,clipPath:yT(i),isTargetByCursor:bT(i,t,n.coordSysModel),getLinearBrushOtherExtent:_T(i)}})},e.prototype.controlSeries=function(t,r,n){var i=this.findTargetInfo(t,n);return i===!0||i&&_e(i.coordSyses,r.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,r){for(var n=this._targetInfoList,i=$m(r,t),a=0;a<n.length;a++){var o=n[a],s=t.panelId;if(s){if(o.panelId===s)return o}else for(var u=0;u<Gm.length;u++)if(Gm[u](i,o))return o}return!0},e}();function o4(e){return e[0]>e[1]&&e.reverse(),e}function $m(e,t){return Ou(e,t,{includeMainTypes:jne})}var Qne={grid:function(e,t){var r=e.xAxisModels,n=e.yAxisModels,i=e.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)}),t.push({panelId:"grid--"+u.id,gridModel:u,coordSysModel:u,coordSys:c[0],coordSyses:c,getPanelRect:Hm.grid,xAxisDeclared:o[u.id],yAxisDeclared:s[u.id]})}))},geo:function(e,t){E(e.geoModels,function(r){var n=r.coordinateSystem;t.push({panelId:"geo--"+r.id,geoModel:r,coordSysModel:r,coordSys:n,coordSyses:[n],getPanelRect:Hm.geo})})}},Gm=[function(e,t){var r=e.xAxisModel,n=e.yAxisModel,i=e.gridModel;return!i&&r&&(i=r.axis.grid.model),!i&&n&&(i=n.axis.grid.model),i&&i===t.gridModel},function(e,t){var r=e.geoModel;return r&&r===t.geoModel}],Hm={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Ga(e)),t}},sh={lineX:ve(Um,0),lineY:ve(Um,1),rect:function(e,t,r,n){var i=e?t.pointToData([r[0][0],r[1][0]],n):t.dataToPoint([r[0][0],r[1][0]],n),a=e?t.pointToData([r[0][1],r[1][1]],n):t.dataToPoint([r[0][1],r[1][1]],n),o=[o4([i[0],a[0]]),o4([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,r,n){var i=[[1/0,-1/0],[1/0,-1/0]],a=H(r,function(o){var s=e?t.pointToData(o,n):t.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 Um(e,t,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"][e]),a=o4(H([0,1],function(s){return t?i.coordToData(i.toLocalCoord(n[s]),!0):i.toGlobalCoord(i.dataToCoord(n[s]))})),o=[];return o[e]=a,o[1-e]=[NaN,NaN],{values:a,xyMinMax:o}}var Wm={lineX:ve(qm,0),lineY:ve(qm,1),rect:function(e,t,r){return[[e[0][0]-r[0]*t[0][0],e[0][1]-r[0]*t[0][1]],[e[1][0]-r[1]*t[1][0],e[1][1]-r[1]*t[1][1]]]},polygon:function(e,t,r){return H(e,function(n,i){return[n[0]-r[0]*t[i][0],n[1]-r[1]*t[i][1]]})}};function qm(e,t,r,n){return[t[0]-n[e]*r[0],t[1]-n[e]*r[1]]}function Jne(e,t){var r=Zm(e),n=Zm(t),i=[r[0]/n[0],r[1]/n[1]];return isNaN(i[0])&&(i[0]=1),isNaN(i[1])&&(i[1]=1),i}function Zm(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}const z7=Kne;var s4=E,eie=yF("toolbox-dataZoom_"),tie=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(r,n,i,a){this._brushController||(this._brushController=new y7(i.getZr()),this._brushController.on("brush",X(this._onBrush,this)).mount()),iie(r,n,this,a,i),nie(r,n)},t.prototype.onclick=function(r,n,i){rie[i].call(this)},t.prototype.remove=function(r,n){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(r,n){this._brushController&&this._brushController.dispose()},t.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 z7($7(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)}}),Une(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=po(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}},t.prototype._dispatchZoomAction=function(r){var n=[];s4(r,function(i,a){n.push(oe(i))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},t.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},t}(Ar),rie={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(Wne(this.ecModel))}};function $7(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function nie(e,t){e.setIconStatus("back",Zne(t)>1?"emphasis":"normal")}function iie(e,t,r,n,i){var a=r._isZoomActive;n&&n.type==="takeGlobalCursor"&&(a=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),r._isZoomActive=a,e.setIconStatus("zoom",a?"emphasis":"normal");var o=new z7($7(e),t,{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:e.getModel("brushStyle").getItemStyle()}:!1)}Qz("dataZoom",function(e){var t=e.getComponent("toolbox",0),r=["feature","dataZoom"];if(!t||t.get(r)==null)return;var n=t.getModel(r),i=[],a=$7(n),o=Ou(e,a);s4(o.xAxisModels,function(u){return s(u,"xAxis","xAxisIndex")}),s4(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:eie+l+f};h[c]=f,i.push(h)}return i});const aie=tie;function oie(e){e.registerComponentModel(Sne),e.registerComponentView(Dne),Zo("saveAsImage",kne),Zo("magicType",Lne),Zo("dataView",Hne),Zo("dataZoom",aie),Zo("restore",Xne),be(xne)}var sie=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="tooltip",t.dependencies=["axisPointer"],t.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}},t}(Ce);const uie=sie;function dD(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function pD(e){if(De.domSupported){for(var t=document.documentElement.style,r=0,n=e.length;r<n;r++)if(e[r]in t)return e[r]}}var vD=pD(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),lie=pD(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function gD(e,t){if(!e)return t;t=Vw(t,!0);var r=e.indexOf(t);return e=r===-1?t:"-"+e.slice(0,r)+"-"+t,e.toLowerCase()}function cie(e,t){var r=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return r?t?r[t]:r:null}var fie=gD(lie,"transition"),G7=gD(vD,"transform"),hie="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(De.transform3dSupported?"will-change:transform;":"");function die(e){return e=e==="left"?"right":e==="right"?"left":e==="top"?"bottom":"top",e}function pie(e,t,r){if(!Z(r)||r==="inside")return"";var n=e.get("backgroundColor"),i=e.get("borderWidth");t=Ja(t);var a=die(r),o=Math.max(Math.round(i)*1.5,6),s="",u=G7+":",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=t+" 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 vie(e,t){var r="cubic-bezier(0.23,1,0.32,1)",n=" "+e/2+"s "+r,i="opacity"+n+",visibility"+n;return t||(n=" "+e+"s "+r,i+=De.transformSupported?","+G7+n:",left"+n+",top"+n),fie+":"+i}function Ym(e,t,r){var n=e.toFixed(0)+"px",i=t.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;"+G7+":"+o+";":[["top",0],["left",0],[vD,o]]}function gie(e){var t=[],r=e.get("fontSize"),n=e.getTextColor();n&&t.push("color:"+n),t.push("font:"+e.getFont());var i=fe(e.get("lineHeight"),Math.round(r*3/2));r&&t.push("line-height:"+i+"px");var a=e.get("textShadowColor"),o=e.get("textShadowBlur")||0,s=e.get("textShadowOffsetX")||0,u=e.get("textShadowOffsetY")||0;return a&&o&&t.push("text-shadow:"+s+"px "+u+"px "+o+"px "+a),E(["decoration","align"],function(l){var c=e.get(l);c&&t.push("text-"+l+":"+c)}),t.join(";")}function mie(e,t,r){var n=[],i=e.get("transitionDuration"),a=e.get("backgroundColor"),o=e.get("shadowBlur"),s=e.get("shadowColor"),u=e.get("shadowOffsetX"),l=e.get("shadowOffsetY"),c=e.getModel("textStyle"),f=bS(e,"html"),h=u+"px "+l+"px "+o+"px "+s;return n.push("box-shadow:"+h),t&&i&&n.push(vie(i,r)),a&&n.push("background-color:"+a),E(["width","color","radius"],function(d){var p="border-"+d,v=Vw(p),g=e.get(v);g!=null&&n.push(p+":"+g+(d==="color"?"":"px"))}),n.push(gie(c)),f!=null&&n.push("padding:"+Es(f).join("px ")+"px"),n.join(";")+";"}function Xm(e,t,r,n,i){var a=t&&t.painter;if(r){var o=a&&a.getViewportRoot();o&&VO(e,o,r,n,i)}else{e[0]=n,e[1]=i;var s=a&&a.getViewportRootOffset();s&&(e[0]+=s.offsetLeft,e[1]+=s.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var yie=function(){function e(t,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=t.getZr(),a=r.appendTo,o=a&&(Z(a)?document.querySelector(a):Za(a)?a:te(a)&&a(t.getDom()));Xm(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,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();br(c,u,!0),l.dispatch("mousemove",u)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var r=this._api.getDom(),n=cie(r,"position"),i=r.style;i.position!=="absolute"&&n!=="absolute"&&(i.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},e.prototype.show=function(t,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,a=this._styleCoord;n.innerHTML?i.cssText=hie+mie(t,!this._firstShow,this._longHide)+Ym(a[0],a[1],!0)+("border-color:"+Ja(r)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,r,n,i,a){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(Z(a)&&n.get("trigger")==="item"&&!dD(n)&&(s=pie(n,i,a)),Z(t))o.innerHTML=t+s;else if(t){o.innerHTML="",G(t)||(t=[t]);for(var u=0;u<t.length;u++)Za(t[u])&&t[u].parentNode!==o&&o.appendChild(t[u]);if(s&&o.childNodes.length){var l=document.createElement("div");l.innerHTML=s,o.appendChild(l)}}},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},e.prototype.moveTo=function(t,r){if(this.el){var n=this._styleCoord;if(Xm(n,this._zr,this._container,t,r),n[0]!=null&&n[1]!=null){var i=this.el.style,a=Ym(n[0],n[1]);E(a,function(o){i[o[0]]=o[1]})}}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],r=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),r*this._zr.getHeight())},e.prototype.hide=function(){var t=this,r=this.el.style;r.visibility="hidden",r.opacity="0",De.transform3dSupported&&(r.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(X(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},e}();const _ie=yie;var bie=function(){function e(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),Km(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return e.prototype.update=function(t){var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(t,r,n,i,a){var o=this;ne(t)&&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:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:s.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:bS(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})},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el,r=this.el.getBoundingRect(),n=jm(t.style);return[r.width+n.left+n.right,r.height+n.top+n.bottom]},e.prototype.moveTo=function(t,r){var n=this.el;if(n){var i=this._styleCoord;Km(i,this._zr,t,r),t=i[0],r=i[1];var a=n.style,o=fi(a.borderWidth||0),s=jm(a);n.x=t+o+s.left,n.y=r+o+s.top,n.markRedraw()}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],r=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),r*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(X(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function fi(e){return Math.max(0,e)}function jm(e){var t=fi(e.shadowBlur||0),r=fi(e.shadowOffsetX||0),n=fi(e.shadowOffsetY||0);return{left:fi(t-r),right:fi(t+r),top:fi(t-n),bottom:fi(t+n)}}function Km(e,t,r,n){e[0]=r,e[1]=n,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}const xie=bie;var wie=new Ee({shape:{x:-1,y:-1,width:2,height:2}}),Sie=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){if(!(De.node||!n.getDom())){var i=r.getComponent("tooltip"),a=this._renderMode=AF(i.get("renderMode"));this._tooltipContent=a==="richText"?new xie(n):new _ie(n,{appendTo:i.get("appendToBody",!0)?"body":i.get("appendTo",!0)})}},t.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")?Rs(this,"_updatePosition",50,"fixRate"):fl(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var r=this._tooltipModel,n=r.get("triggerOn");JT("itemTooltip",this._api,X(function(i,a,o){n!=="none"&&(n.indexOf(i)>=0?this._tryShow(a,o):i==="leave"&&this._hide(o))},this))},t.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})})}},t.prototype.manuallyShowTip=function(r,n,i,a){if(!(a.from===this.uid||De.node||!i.getDom())){var o=Qm(a,i);this._ticket="";var s=a.dataByCoordSys,u=Die(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=wie;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=eD(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))}},t.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(Qm(a,i))},t.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=hu([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}}},t.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;La(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)}},t.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()},t.prototype._showAxisTooltip=function(r,n){var i=this._ecModel,a=this._tooltipModel,o=[n.offsetX,n.offsetY],s=hu([n.tooltipOption],a),u=this._renderMode,l=[],c=mt("section",{blocks:[],noHeader:!0}),f=[],h=new Uf;E(r,function(y){E(y.dataByAxis,function(_){var b=i.getComponent(_.axisDim+"Axis",_.axisIndex),x=_.value;if(!(!b||x==null)){var w=jT(x,b.axis,i,_.seriesDataIndices,_.valueLabelOpt),S=mt("section",{header:w,noHeader:!Hr(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=$5(b.axis,{value:x}),D.axisValueLabel=w,D.marker=h.makeTooltipMarker("item",Ja(D.color),u);var k=P3(A.formatTooltip(T,!0,null)),M=k.frag;if(M){var L=hu([A],a).get("valueFormatter");S.blocks.push(L?$({valueFormatter:L},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=V3(c,h,u,p,i.get("useUTC"),s.get("textStyle"));v&&f.unshift(v);var g=u==="richText"?`
|
|
113
|
+
|
|
114
|
+
`:"<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)})},t.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=hu([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 Uf;m.marker=y.makeTooltipMarker("item",Ja(m.color),d);var _=P3(l.formatTooltip(c,!1,f)),b=v.get("order"),x=v.get("valueFormatter"),w=_.frag,S=w?V3(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})}},t.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=Ot(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=hu(f,this._tooltipModel,d?{position:d}:null),v=p.get("content"),g=Math.random()+"",m=new Uf;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})},t.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=h2(m.axisValue,d,g)),d=zw(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)}},t.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}},t.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=Tie(n,p,f,r.get("borderWidth"));i=m[0],a=m[1]}else{var m=Cie(i,a,o,l,c,h?null:20,d?null:20);i=m[0],a=m[1]}if(h&&(i-=Jm(h)?f[0]/2:h==="right"?f[0]:0),d&&(a-=Jm(d)?f[1]/2:d==="bottom"?f[1]:0),dD(r)){var m=Aie(i,a,o,l,c);i=m[0],a=m[1]}o.moveTo(i,a)},t.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},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,n){De.node||!n.getDom()||(fl(this,"_updatePosition"),this._tooltipContent.dispose(),r4("itemTooltip",n))},t.type="tooltip",t}(et);function hu(e,t,r){var n=t.ecModel,i;r?(i=new We(r,n,n),i=new We(t.option,i,n)):i=t;for(var a=e.length-1;a>=0;a--){var o=e[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 Qm(e,t){return e.dispatchAction||X(t.dispatchAction,t)}function Cie(e,t,r,n,i,a,o){var s=r.getSize(),u=s[0],l=s[1];return a!=null&&(e+u+a+2>n?e-=u+a:e+=a),o!=null&&(t+l+o>i?t-=l+o:t+=o),[e,t]}function Aie(e,t,r,n,i){var a=r.getSize(),o=a[0],s=a[1];return e=Math.min(e+o,n)-o,t=Math.min(t+s,i)-s,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function Tie(e,t,r,n){var i=r[0],a=r[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,u=0,l=t.width,c=t.height;switch(e){case"inside":s=t.x+l/2-i/2,u=t.y+c/2-a/2;break;case"top":s=t.x+l/2-i/2,u=t.y-a-o;break;case"bottom":s=t.x+l/2-i/2,u=t.y+c+o;break;case"left":s=t.x-i-o,u=t.y+c/2-a/2;break;case"right":s=t.x+l+o,u=t.y+c/2-a/2}return[s,u]}function Jm(e){return e==="center"||e==="middle"}function Die(e,t,r){var n=Q4(e).queryOptionMap,i=n.keys()[0];if(!(!i||i==="series")){var a=Il(t,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===e.name)return u=l,!0}),u)return{componentMainType:i,componentIndex:o.componentIndex,el:u}}}}const Eie=Sie;function kie(e){be(Zl),e.registerComponentModel(uie),e.registerComponentView(Eie),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},at),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},at)}var Mie=["rect","polygon","keep","clear"];function Iie(e,t){var r=Ve(e?e.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=e&&e.toolbox;G(i)&&(i=i[0]),i||(i={feature:{}},e.toolbox=[i]);var a=i.feature||(i.feature={}),o=a.brush||(a.brush={}),s=o.type||(o.type=[]);s.push.apply(s,n),Lie(s),t&&!s.length&&s.push.apply(s,Mie)}}function Lie(e){var t={};E(e,function(r){t[r]=1}),e.length=0,E(t,function(r,n){e.push(n)})}var ey=E;function ty(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function u4(e,t,r){var n={};return ey(t,function(a){var o=n[a]=i();ey(e[a],function(s,u){if(Tt.isValidType(u)){var l={type:u,visual:s};r&&r(l,a),o[u]=new Tt(l),u==="opacity"&&(l=oe(l),l.type="colorAlpha",o.__hidden.__alphaForOpacity=new Tt(l))}})}),n;function i(){var a=function(){};a.prototype.__hidden=a.prototype;var o=new a;return o}}function mD(e,t,r){var n;E(r,function(i){t.hasOwnProperty(i)&&ty(t[i])&&(n=!0)}),n&&E(r,function(i){t.hasOwnProperty(i)&&ty(t[i])?e[i]=oe(t[i]):delete e[i]})}function Pie(e,t,r,n,i,a){var o={};E(e,function(f){var h=Tt.prepareVisualTypes(t[f]);o[f]=h});var s;function u(f){return M5(r,s,f)}function l(f,h){MS(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=t[p],g=o[p],m=0,y=g.length;m<y;m++){var _=g[m];v[_]&&v[_].applyVisual(f,u,l)}}}function Rie(e,t,r,n){var i={};return E(e,function(a){var o=Tt.prepareVisualTypes(t[a]);i[a]=o}),{progress:function(o,s){var u;n!=null&&(u=s.getDimensionIndex(n));function l(x){return M5(s,f,x)}function c(x,w){MS(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=t[v],m=i[v],y=0,_=m.length;y<_;y++){var b=m[y];g[b]&&g[b].applyVisual(p,l,c)}}}}}function Nie(e){var t=e.brushType,r={point:function(n){return ry[t].point(n,r,e)},rect:function(n){return ry[t].rect(n,r,e)}};return r}var ry={lineX:ny(0),lineY:ny(1),rect:{point:function(e,t,r){return e&&r.boundingRect.contain(e[0],e[1])},rect:function(e,t,r){return e&&r.boundingRect.intersect(e)}},polygon:{point:function(e,t,r){return e&&r.boundingRect.contain(e[0],e[1])&&Sa(r.range,e[0],e[1])},rect:function(e,t,r){var n=r.range;if(!e||n.length<=1)return!1;var i=e.x,a=e.y,o=e.width,s=e.height,u=n[0];if(Sa(n,i,a)||Sa(n,i+o,a)||Sa(n,i,a+s)||Sa(n,i+o,a+s)||ye.create(e).contain(u[0],u[1])||wu(i,a,i+o,a,n)||wu(i,a,i,a+s,n)||wu(i+o,a,i+o,a+s,n)||wu(i,a+s,i+o,a+s,n))return!0}}};function ny(e){var t=["x","y"],r=["width","height"];return{point:function(n,i,a){if(n){var o=a.range,s=n[e];return du(s,o)}},rect:function(n,i,a){if(n){var o=a.range,s=[n[t[e]],n[t[e]]+n[r[e]]];return s[1]<s[0]&&s.reverse(),du(s[0],o)||du(s[1],o)||du(o[0],s)||du(o[1],s)}}}}function du(e,t){return t[0]<=e&&e<=t[1]}var iy=["inBrush","outOfBrush"],uh="__ecBrushSelect",l4="__ecInBrushSelectEvent";function yD(e){e.eachComponent({mainType:"brush"},function(t){var r=t.brushTargetManager=new z7(t.option,e);r.setInputRanges(t.areas,e)})}function Oie(e,t,r){var n=[],i,a;e.eachComponent({mainType:"brush"},function(o){r&&r.type==="takeGlobalCursor"&&o.setBrushOption(r.key==="brush"?r.brushOption:{brushType:!1})}),yD(e),e.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=zie[x.brushType],S=ae({boundingRect:w?w(x):void 0},x);return S.selectors=Nie(S),S}),g=u4(o.option,iy,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}e.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||Vie(o,w))&&(E(v,function(A){o.brushTargetManager.controlSeries(A,x,e)&&S.push(A),p=p||y(S)}),m(w)&&y(S))){var C=x.getData();C.each(function(A){ay(x,S,C,A)&&(h[A]=1)})}}e.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 ay(x,C,A,D)?(S.dataIndex.push(A.getRawIndex(D)),"inBrush"):"outOfBrush"};(m(w)?p:y(C))&&Pie(iy,g,A,T)})}),Bie(t,i,a,n,r)}function Bie(e,t,r,n,i){if(i){var a=e.getZr();if(!a[l4]){a[uh]||(a[uh]=Fie);var o=Rs(a,uh,r,t);o(e,n)}}}function Fie(e,t){if(!e.isDisposed()){var r=e.getZr();r[l4]=!0,e.dispatchAction({type:"brushSelect",batch:t}),r[l4]=!1}}function ay(e,t,r,n){for(var i=0,a=t.length;i<a;i++){var o=t[i];if(e.brushSelector(n,r,o.selectors,o))return!0}}function Vie(e,t){var r=e.option.seriesIndex;return r!=null&&r!=="all"&&(G(r)?_e(r,t)<0:t!==r)}var zie={rect:function(e){return oy(e.range)},polygon:function(e){for(var t,r=e.range,n=0,i=r.length;n<i;n++){t=t||[[1/0,-1/0],[1/0,-1/0]];var a=r[n];a[0]<t[0][0]&&(t[0][0]=a[0]),a[0]>t[0][1]&&(t[0][1]=a[0]),a[1]<t[1][0]&&(t[1][0]=a[1]),a[1]>t[1][1]&&(t[1][1]=a[1])}return t&&oy(t)}};function oy(e){return new ye(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var $ie=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){this.ecModel=r,this.api=n,this.model,(this._brushController=new y7(n.getZr())).on("brush",X(this._onBrush,this)).mount()},t.prototype.render=function(r,n,i,a){this.model=r,this._updateController(r,n,i,a)},t.prototype.updateTransform=function(r,n,i,a){yD(n),this._updateController(r,n,i,a)},t.prototype.updateVisual=function(r,n,i,a){this.updateTransform(r,n,i,a)},t.prototype.updateView=function(r,n,i,a){this._updateController(r,n,i,a)},t.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())},t.prototype.dispose=function(){this._brushController.dispose()},t.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})},t.type="brush",t}(et);const Gie=$ie;var Hie="#ddd",Uie=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.areas=[],r.brushOption={},r}return t.prototype.optionUpdated=function(r,n){var i=this.option;!n&&mD(i,r,["inBrush","outOfBrush"]);var a=i.inBrush=i.inBrush||{};i.outOfBrush=i.outOfBrush||{color:Hie},a.hasOwnProperty("liftZ")||(a.liftZ=5)},t.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 sy(this.option,n)},this))},t.prototype.setBrushOption=function(r){this.brushOption=sy(this.option,r),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.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},t}(Ce);function sy(e,t){return ge({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new We(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}const Wie=Uie;var qie=["rect","polygon","lineX","lineY","keep","clear"],Zie=function(e){F(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.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")})},t.prototype.updateView=function(r,n,i){this.render(r,n,i)},t.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},t.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}})},t.getDefaultOption=function(r){var n={show:!0,type:qie.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},t}(Ar);const Yie=Zie;function Xie(e){e.registerComponentView(Gie),e.registerComponentModel(Wie),e.registerPreprocessor(Iie),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,Oie),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,r){r.eachComponent({mainType:"brush",query:t},function(n){n.setAreas(t.areas)})}),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},at),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},at),Zo("brush",Yie)}var jie=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.type="title",t.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"}},t}(Ce),Kie=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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(){tc(p,"_"+r.get("target"))}),v&&d.on("click",function(){tc(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)}},t.type="title",t}(et);function Qie(e){e.registerComponentModel(jie),e.registerComponentView(Kie)}var Jie=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode="box",r}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i),this._initData()},t.prototype.mergeOption=function(r){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.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},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(r){this.option.autoPlay=!!r},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.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(Ss(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 Wt([{name:"value",type:s}],this);u.initData(o,a)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},t.type="timeline",t.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:[]},t}(Ce);const uy=Jie;var _D=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="timeline.slider",t.defaultOption=Wi(uy.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:[]}),t}(uy);ft(_D,_2.prototype);const eae=_D;var tae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="timeline",t}(et);const rae=tae;var nae=function(e){F(t,e);function t(r,n,i,a){var o=e.call(this,r,n,i)||this;return o.type=a||"value",o}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t}(Qr);const iae=nae;var lh=Math.PI,ly=Ae(),aae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(r,n){this.api=n},t.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()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(r,n){var i=r.get(["label","position"]),a=r.get("orient"),o=sae(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:lh/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*lh/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}},t.prototype._position=function(r,n){var i=this._mainGroup,a=this._labelGroup,o=r.viewRect;if(r.orient==="vertical"){var s=lr(),u=o.x,l=o.y+o.height;yn(s,s,[-u,-l]),ao(s,s,-lh/2),yn(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]}},t.prototype._createAxis=function(r,n){var i=n.getData(),a=n.get("axisType"),o=oae(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 iae("value",o,r.axisExtent,a);return u.model=n,u},t.prototype._createGroup=function(r){var n=this[r]=new le;return this.group.add(n),n},t.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)}},t.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=cy(f,h,n,v);g.ensureState("emphasis").style=d.getItemStyle(),g.ensureState("progress").style=p.getItemStyle(),$a(g);var m=ce(g);f.get("tooltip")?(m.dataIndex=l.value,m.dataModel=a):m.dataIndex=m.dataModel=null,o._tickSymbols.push(g)})},t.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),$a(m),ly(m).dataIndex=f,o._tickLabels.push(m)})}},t.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=Yr(fe(a.get(["controlStyle",p+"BtnSize"]),o),o),y=[0,-m/2,m,m],_=uae(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(_),$a(_)}}},t.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),fy(f,l._progressLine,s,i,a,!0)},onUpdate:function(f){fy(f,l._progressLine,s,i,a)}};this._currentPointer=cy(u,u,this._mainGroup,{},this._currentPointer,c)},t.prototype._handlePlayClick=function(r){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:r,from:this.uid})},t.prototype._handlePointerDrag=function(r,n,i){this._clearTimer(),this._pointerChangeTimeline([i.offsetX,i.offsetY])},t.prototype._handlePointerDragend=function(r){this._pointerChangeTimeline([r.offsetX,r.offsetY],!0)},t.prototype._pointerChangeTimeline=function(r,n){var i=this._toAxisCoord(r)[0],a=this._axis,o=Er(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)},t.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")))},t.prototype._toAxisCoord=function(r){var n=this._mainGroup.getLocalTransform();return Zr(r,n,!0)},t.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},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.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})},t.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",ly(i[a]).dataIndex<=r)},t.type="timeline.slider",t}(rae);function oae(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new B5({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new yC({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new Vi}}function sae(e,t){return dt(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function uae(e,t,r,n){var i=n.style,a=Nl(e.get(["controlStyle",t]),n||{},new ye(r[0],r[1],r[2],r[3]));return i&&a.setStyle(i),a}function cy(e,t,r,n,i,a){var o=t.get("color");if(i)i.setColor(o),r.add(i),a&&a.onUpdate(i);else{var s=e.get("symbol");i=ct(s,-1,-1,2,2,o),i.setStyle("strokeNoScale",!0),r.add(i),a&&a.onCreate(i)}var u=t.getItemStyle(["color"]);i.setStyle(u),n=ge({rectHover:!0,z2:100},n,!0);var l=Ns(e.get("symbolSize"));n.scaleX=l[0]/2,n.scaleY=l[1]/2;var c=lo(e.get("symbolOffset"),l);c&&(n.x=(n.x||0)+c[0],n.y=(n.y||0)+c[1]);var f=e.get("symbolRotate");return n.rotation=(f||0)*Math.PI/180||0,i.attr(n),i.updateTransform(),i}function fy(e,t,r,n,i,a){if(!e.dragging){var o=i.getModel("checkpointStyle"),s=n.dataToCoord(i.getData().get("value",r));if(a||!o.get("animation",!0))e.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var u={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:s,y:0},u),t&&t.animateTo({shape:{x2:s}},u)}}}const lae=aae;function cae(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,r,n){var i=r.getComponent("timeline");return i&&t.currentIndex!=null&&(i.setCurrentIndex(t.currentIndex),!i.get("loop",!0)&&i.isIndexMax()&&i.getPlayState()&&(i.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),r.resetOption("timeline",{replaceMerge:i.get("replaceMerge",!0)}),ae({currentIndex:i.option.currentIndex},t)}),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,r){var n=r.getComponent("timeline");n&&t.playState!=null&&n.setPlayState(t.playState)})}function fae(e){var t=e&&e.timeline;G(t)||(t=t?[t]:[]),E(t,function(r){r&&hae(r)})}function hae(e){var t=e.type,r={number:"value",time:"time"};if(r[t]&&(e.axisType=r[t],delete e.type),hy(e),Ta(e,"controlPosition")){var n=e.controlStyle||(e.controlStyle={});Ta(n,"position")||(n.position=e.controlPosition),n.position==="none"&&!Ta(n,"show")&&(n.show=!1,delete n.position),delete e.controlPosition}E(e.data||[],function(i){ne(i)&&!G(i)&&(!Ta(i,"value")&&Ta(i,"name")&&(i.value=i.name),hy(i))})}function hy(e){var t=e.itemStyle||(e.itemStyle={}),r=t.emphasis||(t.emphasis={}),n=e.label||e.label||{},i=n.normal||(n.normal={}),a={normal:1,emphasis:1};E(n,function(o,s){!a[s]&&!Ta(i,s)&&(i[s]=o)}),r.label&&!Ta(n,"emphasis")&&(n.emphasis=r.label,delete r.label)}function Ta(e,t){return e.hasOwnProperty(t)}function dae(e){e.registerComponentModel(eae),e.registerComponentView(lae),e.registerSubTypeDefaulter("timeline",function(){return"slider"}),cae(e),e.registerPreprocessor(fae)}function H7(e,t){if(!e)return!1;for(var r=G(e)?e:[e],n=0;n<r.length;n++)if(r[n]&&r[n][t])return!0;return!1}function a0(e){Xa(e,"label",["show"])}var o0=Ae(),bD=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.createdBySelf=!1,r}return t.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)},t.prototype.isAnimationEnabled=function(){if(De.node)return!1;var r=this.__hostSeries;return this.getShallow("animation")&&r&&r.isAnimationEnabled()},t.prototype.mergeOption=function(r,n){this._mergeOption(r,n,!1,!1)},t.prototype._mergeOption=function(r,n,i,a){var o=this.mainType;i||n.eachSeries(function(s){var u=s.get(this.mainType,!0),l=o0(s)[o];if(!u||!u.data){o0(s)[o]=null;return}l?l._mergeOption(u,n,!0):(a&&a0(u),E(u.data,function(c){c instanceof Array?(a0(c[0]),a0(c[1])):a0(c)}),l=this.createMarkerModelFromSeries(u,this,n),$(l,{mainType:this.mainType,seriesIndex:s.seriesIndex,name:s.name,createdBySelf:!0}),l.__hostSeries=s),o0(s)[o]=l},this)},t.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})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(r){this._data=r},t.prototype.getDataParams=function(r,n){var i=_2.prototype.getDataParams.call(this,r,n),a=this.__hostSeries;return a&&(i.seriesId=a.id,i.seriesName=a.name,i.seriesType=a.subType),i},t.getMarkerModelFromSeries=function(r,n){return o0(r)[n]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Ce);ft(bD,_2.prototype);const Gi=bD;var pae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.createMarkerModelFromSeries=function(r,n,i){return new t(r,n,i)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(Gi);const vae=pae;function c4(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function gae(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function s0(e,t,r,n,i,a){var o=[],s=Fi(t,n),u=s?t.getCalculationInfo("stackResultDimension"):n,l=U7(t,u,e),c=t.indicesOfNearest(u,l)[0];o[i]=t.get(r,c),o[a]=t.get(u,c);var f=t.get(n,c),h=hn(t.get(n,c));return h=Math.min(h,20),h>=0&&(o[a]=+o[a].toFixed(h)),[o,f]}var ch={min:ve(s0,"min"),max:ve(s0,"max"),average:ve(s0,"average"),median:ve(s0,"median")};function Cl(e,t){if(t){var r=e.getData(),n=e.coordinateSystem,i=n&&n.dimensions;if(!gae(t)&&!G(t.coord)&&G(i)){var a=xD(t,r,n,e);if(t=oe(t),t.type&&ch[t.type]&&a.baseAxis&&a.valueAxis){var o=_e(i,a.baseAxis.dim),s=_e(i,a.valueAxis.dim),u=ch[t.type](r,a.baseDataDim,a.valueDataDim,o,s);t.coord=u[0],t.value=u[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!G(i))t.coord=[];else for(var l=t.coord,c=0;c<2;c++)ch[l[c]]&&(l[c]=U7(r,r.mapDimension(i[c]),l[c]));return t}}function xD(e,t,r,n){var i={};return e.valueIndex!=null||e.valueDim!=null?(i.valueDataDim=e.valueIndex!=null?t.getDimension(e.valueIndex):e.valueDim,i.valueAxis=r.getAxis(mae(n,i.valueDataDim)),i.baseAxis=r.getOtherAxis(i.valueAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim)):(i.baseAxis=n.getBaseAxis(),i.valueAxis=r.getOtherAxis(i.baseAxis),i.baseDataDim=t.mapDimension(i.baseAxis.dim),i.valueDataDim=t.mapDimension(i.valueAxis.dim)),i}function mae(e,t){var r=e.getData().getDimensionInfo(t);return r&&r.coordDim}function Al(e,t){return e&&e.containData&&t.coord&&!c4(t)?e.containData(t.coord):!0}function yae(e,t,r){return e&&e.containZone&&t.coord&&r.coord&&!c4(t)&&!c4(r)?e.containZone(t.coord,r.coord):!0}function wD(e,t){return e?function(r,n,i,a){var o=a<2?r.coord&&r.coord[a]:r.value;return ki(o,t[a])}:function(r,n,i,a){return ki(r.value,t[a])}}function U7(e,t,r){if(r==="average"){var n=0,i=0;return e.each(t,function(a,o){isNaN(a)||(n+=a,i++)}),n/i}else return r==="median"?e.getMedian(t):e.getDataExtent(t)[r==="max"?1:0]}var fh=Ae(),_ae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.init=function(){this.markerGroupMap=J()},t.prototype.render=function(r,n,i){var a=this,o=this.markerGroupMap;o.each(function(s){fh(s).keep=!1}),n.eachSeries(function(s){var u=Gi.getMarkerModelFromSeries(s,a.type);u&&a.renderSeries(s,u,n,i)}),o.each(function(s){!fh(s).keep&&a.group.remove(s.group)})},t.prototype.markKeep=function(r){fh(r).keep=!0},t.prototype.toggleBlurSeries=function(r,n){var i=this;E(r,function(a){var o=Gi.getMarkerModelFromSeries(a,i.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(u){u&&(n?Yx(u):a5(u))})}})},t.type="marker",t}(et);const W7=_ae;function dy(e,t,r){var n=t.coordinateSystem;e.each(function(i){var a=e.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(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,i));else if(n){var l=e.get(n.dimensions[0],i),c=e.get(n.dimensions[1],i);o=n.dataToPoint([l,c])}isNaN(s)||(o[0]=s),isNaN(u)||(o[1]=u),e.setItemLayout(i,o)})}var bae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.updateTransform=function(r,n,i){n.eachSeries(function(a){var o=Gi.getMarkerModelFromSeries(a,"markPoint");o&&(dy(o.getData(),a,i),this.markerGroupMap.get(a.id).updateLayout())},this)},t.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 zl),f=xae(o,r,n);n.setData(f),dy(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=Ol(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")},t.type="markPoint",t}(W7);function xae(e,t,r){var n;e?n=H(e&&e.dimensions,function(s){var u=t.getData().getDimensionInfo(t.getData().mapDimension(s))||{};return $($({},u),{name:s,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var i=new Wt(n,r),a=H(r.get("data"),ve(Cl,t));e&&(a=Ne(a,ve(Al,e)));var o=wD(!!e,n);return i.initData(a,null,o),i}const wae=bae;function Sae(e){e.registerComponentModel(vae),e.registerComponentView(wae),e.registerPreprocessor(function(t){H7(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var Cae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.createMarkerModelFromSeries=function(r,n,i){return new t(r,n,i)},t.type="markLine",t.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"},t}(Gi);const Aae=Cae;var u0=Ae(),Tae=function(e,t,r,n){var i=e.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=t.getAxis(n.yAxis!=null?"y":"x"),u=ut(n.yAxis,n.xAxis);else{var l=xD(n,i,t,e);s=l.valueAxis;var c=iC(i,l.valueDataDim);u=U7(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"&&Wr("Invalid markLine data."),a=[]}var g=[Cl(e,a[0]),Cl(e,a[1]),$({},a[2])];return g[2].type=g[2].type||null,ge(g[2],g[0]),ge(g[2],g[1]),g};function Ic(e){return!isNaN(e)&&!isFinite(e)}function py(e,t,r,n){var i=1-e,a=n.dimensions[e];return Ic(t[i])&&Ic(r[i])&&t[e]===r[e]&&n.getAxis(a).containData(t[e])}function Dae(e,t){if(e.type==="cartesian2d"){var r=t[0].coord,n=t[1].coord;if(r&&n&&(py(1,r,n,e)||py(0,r,n,e)))return!0}return Al(e,t[0])&&Al(e,t[1])}function hh(e,t,r,n,i){var a=n.coordinateSystem,o=e.getItemModel(t),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(e.getValues(e.dimensions,t));else{var c=a.dimensions,f=e.get(c[0],t),h=e.get(c[1],t);s=a.dataToPoint([f,h])}if(fo(a,"cartesian2d")){var d=a.getAxis("x"),p=a.getAxis("y"),c=a.dimensions;Ic(e.get(c[0],t))?s[0]=d.toGlobalCoord(d.getExtent()[r?0:1]):Ic(e.get(c[1],t))&&(s[1]=p.toGlobalCoord(p.getExtent()[r?0:1]))}isNaN(u)||(s[0]=u),isNaN(l)||(s[1]=l)}e.setItemLayout(t,s)}var Eae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.updateTransform=function(r,n,i){n.eachSeries(function(a){var o=Gi.getMarkerModelFromSeries(a,"markLine");if(o){var s=o.getData(),u=u0(o).from,l=u0(o).to;u.each(function(c){hh(u,c,!0,a,i),hh(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)},t.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 h7);this.group.add(c.group);var f=kae(o,r,n),h=f.from,d=f.to,p=f.line;u0(n).from=h,u0(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);hh(b,x,w,r,a);var C=S.getModel("itemStyle").getItemStyle();C.fill==null&&(C.fill=Ol(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")},t.type="markLine",t}(W7);function kae(e,t,r){var n;e?n=H(e&&e.dimensions,function(l){var c=t.getData().getDimensionInfo(t.getData().mapDimension(l))||{};return $($({},c),{name:l,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var i=new Wt(n,r),a=new Wt(n,r),o=new Wt([],r),s=H(r.get("data"),ve(Tae,t,e,r));e&&(s=Ne(s,ve(Dae,e)));var u=wD(!!e,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 Mae=Eae;function Iae(e){e.registerComponentModel(Aae),e.registerComponentView(Mae),e.registerPreprocessor(function(t){H7(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var Lae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.createMarkerModelFromSeries=function(r,n,i){return new t(r,n,i)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(Gi);const Pae=Lae;var l0=Ae(),Rae=function(e,t,r,n){var i=n[0],a=n[1];if(!(!i||!a)){var o=Cl(e,i),s=Cl(e,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=z4([{},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 Lc(e){return!isNaN(e)&&!isFinite(e)}function vy(e,t,r,n){var i=1-e;return Lc(t[i])&&Lc(r[i])}function Nae(e,t){var r=t.coord[0],n=t.coord[1],i={coord:r,x:t.x0,y:t.y0},a={coord:n,x:t.x1,y:t.y1};return fo(e,"cartesian2d")?r&&n&&(vy(1,r,n)||vy(0,r,n))?!0:yae(e,i,a):Al(e,i)||Al(e,a)}function gy(e,t,r,n,i){var a=n.coordinateSystem,o=e.getItemModel(t),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=e.getValues(["x0","y0"],t),f=e.getValues(["x1","y1"],t),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=e.get(r[0],t),g=e.get(r[1],t),m=[v,g];a.clampData&&a.clampData(m,m),s=a.dataToPoint(m,!0)}if(fo(a,"cartesian2d")){var y=a.getAxis("x"),_=a.getAxis("y"),v=e.get(r[0],t),g=e.get(r[1],t);Lc(v)?s[0]=y.toGlobalCoord(y.getExtent()[r[0]==="x0"?0:1]):Lc(g)&&(s[1]=_.toGlobalCoord(_.getExtent()[r[1]==="y0"?0:1]))}isNaN(u)||(s[0]=u),isNaN(l)||(s[1]=l)}return s}var my=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],Oae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.updateTransform=function(r,n,i){n.eachSeries(function(a){var o=Gi.getMarkerModelFromSeries(a,"markArea");if(o){var s=o.getData();s.each(function(u){var l=H(my,function(f){return gy(s,u,f,a,i)});s.setItemLayout(u,l);var c=s.getItemGraphicEl(u);c.setShape("points",l)})}},this)},t.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=Bae(o,r,n);n.setData(f),f.each(function(h){var d=H(my,function(C){return gy(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))];Er(y),Er(_);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=Ol(u,"color");w.fill||(w.fill=S,Z(w.fill)&&(w.fill=H0(w.fill,.4))),w.stroke||(w.stroke=S),f.setItemVisual(h,"style",w)}),f.diff(l0(c).data).add(function(h){var d=f.getItemLayout(h);if(!d.allClipped){var p=new rr({shape:{points:d.points}});f.setItemGraphicEl(h,p),c.group.add(p)}}).update(function(h,d){var p=l0(c).data.getItemGraphicEl(d),v=f.getItemLayout(h);v.allClipped?p&&c.group.remove(p):(p?Le(p,{shape:{points:v.points}},n,h):p=new rr({shape:{points:v.points}}),f.setItemGraphicEl(h,p),c.group.add(p))}).remove(function(h){var d=l0(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")),kt(h,gt(p),{labelFetcher:n,labelDataIndex:d,defaultText:f.getName(d)||"",inheritColor:Z(v.fill)?H0(v.fill,1):"#000"}),Et(h,p),Je(h,null,null,p.get(["emphasis","disabled"])),ce(h).dataModel=n}),l0(c).data=f,c.group.silent=n.get("silent")||r.get("silent")},t.type="markArea",t}(W7);function Bae(e,t,r){var n,i,a=["x0","y0","x1","y1"];if(e){var o=H(e&&e.dimensions,function(l){var c=t.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 Wt(i,r)}else i=[{name:"value",type:"float"}],n=new Wt(i,r);var s=H(r.get("data"),ve(Rae,t,e,r));e&&(s=Ne(s,ve(Nae,e)));var u=e?function(l,c,f,h){var d=l.coord[Math.floor(h/2)][h%2];return ki(d,i[h])}:function(l,c,f,h){return ki(l.value,i[h])};return n.initData(s,null,u),n.hasItemOption=!0,n}const Fae=Oae;function Vae(e){e.registerComponentModel(Pae),e.registerComponentView(Fae),e.registerPreprocessor(function(t){H7(t.series,"markArea")&&(t.markArea=t.markArea||{})})}var zae=function(e,t){if(t==="all")return{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}},$ae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i),r.selected=r.selected||{},this._updateSelector(r)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),this._updateSelector(r)},t.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,zae(i,a.type))})},t.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"))}},t.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&&K4(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})},t.prototype.getData=function(){return this._data},t.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},t.prototype.unSelect=function(r){this.get("selectedMode")!=="single"&&(this.option.selected[r]=!1)},t.prototype.toggleSelected=function(r){var n=this.option.selected;n.hasOwnProperty(r)||(n[r]=!0),this[n[r]?"unSelect":"select"](r)},t.prototype.allSelect=function(){var r=this._data,n=this.option.selected;E(r,function(i){n[i.get("name",!0)]=!0})},t.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]})},t.prototype.isSelected=function(r){var n=this.option.selected;return!(n.hasOwnProperty(r)&&!n[r])&&_e(this._availableNames,r)>=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.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}},t}(Ce);const f4=$ae;var Fo=ve,h4=E,c0=le,Gae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!1,r}return t.prototype.init=function(){this.group.add(this._contentGroup=new c0),this.group.add(this._selectorGroup=new c0),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.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=cD(p,r))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.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)}),h4(n.getData(),function(d,p){var v=d.get("name");if(!this.newlineDisabled&&(v===""||v===`
|
|
115
|
+
`)){var g=new c0;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",Fo(yy,v,null,a,h)).on("mouseover",Fo(d4,m.name,null,a,h)).on("mouseout",Fo(p4,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=cr(T.fill);k&&k[3]===0&&(k[3]=.2,T=$($({},T),{fill:Bn(k,"rgba")}));var M=this._createItem(S,v,p,d,n,r,{},T,D,f,a);M.on("click",Fo(yy,null,v,a,h)).on("mouseover",Fo(d4,null,v,a,h)).on("mouseout",Fo(p4,null,v,a,h)),i.ssr&&M.eachChild(function(L){var N=ce(L);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)},t.prototype._createSelector=function(r,n,i,a,o){var s=this.getSelectorGroup();h4(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"]);kt(f,{normal:h,emphasis:d},{defaultText:l.title}),$a(f)})},t.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=Hae(c,a,u,l,d,g,h),x=new c0,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(Uae({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"}}),L=a.getModel("tooltip");return L.get("show")&&oo({el:M,componentModel:o,itemName:n,itemTooltipOption:L.option}),x.add(M),x.eachChild(function(N){N.silent=!0}),M.silent=!f,this.getContentGroup().add(x),$a(x),x.__legendDataIndex=i,x},t.prototype.layoutInner=function(r,n,i,a,o,s){var u=this.getContentGroup(),l=this.getSelectorGroup();Ha(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){Ha("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()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(et);function Hae(e,t,r,n,i,a,o){function s(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),h4(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var u=t.getModel("itemStyle"),l=u.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=u.getShallow("decal");l.decal=!f||f==="inherit"?n.decal:hs(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=t.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=t.get("inactiveBorderWidth"),v=l[c];l.lineWidth=p==="auto"?n.lineWidth>0&&v?2:0:l.lineWidth,l.fill=t.get("inactiveColor"),l.stroke=t.get("inactiveBorderColor"),d.stroke=h.get("inactiveColor"),d.lineWidth=h.get("inactiveWidth")}return{itemStyle:l,lineStyle:d}}function Uae(e){var t=e.icon||"roundRect",r=ct(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return r.setStyle(e.itemStyle),r.rotation=(e.iconRotate||0)*Math.PI/180,r.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function yy(e,t,r,n){p4(e,t,r,n),r.dispatchAction({type:"legendToggleSelect",name:e??t}),d4(e,t,r,n)}function SD(e){for(var t=e.getZr().storage.getDisplayList(),r,n=0,i=t.length;n<i&&!(r=t[n].states.emphasis);)n++;return r&&r.hoverLayer}function d4(e,t,r,n){SD(r)||r.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:n})}function p4(e,t,r,n){SD(r)||r.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:n})}const CD=Gae;function Wae(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(r){for(var n=0;n<t.length;n++)if(!t[n].isSelected(r.name))return!1;return!0})}function pu(e,t,r){var n=e==="allSelect"||e==="inverseSelect",i={},a=[];r.eachComponent({mainType:"legend",query:t},function(s){n?s[e]():s[e](t.name),_y(s,i),a.push(s.componentIndex)});var o={};return r.eachComponent("legend",function(s){E(i,function(u,l){s[u?"select":"unSelect"](l)}),_y(s,o)}),n?{selected:o,legendIndex:a}:{name:t.name,selected:o}}function _y(e,t){var r=t||{};return E(e.getData(),function(n){var i=n.get("name");if(!(i===`
|
|
116
|
+
`||i==="")){var a=e.isSelected(i);j(r,i)?r[i]=r[i]&&a:r[i]=a}}),r}function qae(e){e.registerAction("legendToggleSelect","legendselectchanged",ve(pu,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",ve(pu,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",ve(pu,"inverseSelect")),e.registerAction("legendSelect","legendselected",ve(pu,"select")),e.registerAction("legendUnSelect","legendunselected",ve(pu,"unSelect"))}function AD(e){e.registerComponentModel(f4),e.registerComponentView(CD),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,Wae),e.registerSubTypeDefaulter("legend",function(){return"plain"}),qae(e)}var Zae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.setScrollDataIndex=function(r){this.option.scrollDataIndex=r},t.prototype.init=function(r,n,i){var a=ks(r);e.prototype.init.call(this,r,n,i),by(this,r,a)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),by(this,this.option,r)},t.type="legend.scroll",t.defaultOption=Wi(f4.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(f4);function by(e,t,r){var n=e.getOrient(),i=[1,1];i[n.index]=0,Bi(t,r,{type:"box",ignoreSize:!!i})}const Yae=Zae;var xy=le,dh=["width","height"],ph=["x","y"],Xae=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!0,r._currentIndex=0,r}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new xy),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new xy)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(r,n,i,a,o,s,u){var l=this;e.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=Nl(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)}},t.prototype.layoutInner=function(r,n,i,a,o,s){var u=this.getSelectorGroup(),l=r.getOrient().index,c=dh[l],f=ph[l],h=dh[1-l],d=ph[1-l];o&&Ha("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},t.prototype._layoutContentAndController=function(r,n,i,a,o,s,u,l){var c=this.getContentGroup(),f=this._containerGroup,h=this._controllerGroup;Ha(r.get("orient"),c,r.get("itemGap"),a?i.width:null,a?null:i.height),Ha("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&&Le(c,{x:S.contentPosition[0],y:S.contentPosition[1]},v?r:null),this._updatePageInfoView(r,S),x},t.prototype._pageGo=function(r,n,i){var a=this._getPageInfo(n)[r];a!=null&&i.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:n.id})},t.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}))},t.prototype._getPageInfo=function(r){var n=r.get("scrollDataIndex",!0),i=this.getContentGroup(),a=this._containerGroup.__rectSize,o=r.getOrient().index,s=dh[o],u=ph[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}},t.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},t.type="legend.scroll",t}(CD);const jae=Xae;function Kae(e){e.registerAction("legendScroll","legendscroll",function(t,r){var n=t.scrollDataIndex;n!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:t},function(i){i.setScrollDataIndex(n)})})}function Qae(e){be(AD),e.registerComponentModel(Yae),e.registerComponentView(jae),Kae(e)}function Jae(e){be(AD),be(Qae)}var eoe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.inside",t.defaultOption=Wi(Sl.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(Sl);const toe=eoe;var q7=Ae();function roe(e,t,r){q7(e).coordSysRecordMap.each(function(n){var i=n.dataZoomInfoMap.get(t.uid);i&&(i.getRange=r)})}function noe(e,t){for(var r=q7(e).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=t.uid,l=s.get(u);l&&(s.removeKey(u),s.keys().length||TD(r,o))}}}function TD(e,t){if(t){e.removeKey(t.model.uid);var r=t.controller;r&&r.dispose()}}function ioe(e,t){var r={model:t,containsPoint:ve(ooe,t),dispatchAction:ve(aoe,e),dataZoomInfoMap:null,controller:null},n=r.controller=new Wl(e.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 aoe(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function ooe(e,t,r,n){return e.coordinateSystem.containPoint([r,n])}function soe(e){var t,r="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return e.each(function(a){var o=a.model,s=o.get("disabled",!0)?!1:o.get("zoomLock",!0)?"move":!0;n[r+s]>n[r+t]&&(t=s),i=i&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}function uoe(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,r){var n=q7(r),i=n.coordSysRecordMap||(n.coordSysRecordMap=J());i.each(function(a){a.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(a){var o=sD(a);E(o.infoList,function(s){var u=s.model.uid,l=i.get(u)||i.set(u,ioe(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){TD(i,a);return}var c=soe(u);o.enable(c.controlType,c.opt),o.setPointerChecker(a.containsPoint),Rs(a,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var loe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataZoom.inside",r}return t.prototype.render=function(r,n,i){if(e.prototype.render.apply(this,arguments),r.noTarget()){this._clear();return}this.range=r.getPercentRange(),roe(i,r,{pan:X(vh.pan,this),zoom:X(vh.zoom,this),scrollMove:X(vh.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){noe(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(B7),vh={zoom:function(e,t,r,n){var i=this.range,a=i.slice(),o=e.axisModels[0];if(o){var s=gh[t](null,[n.originX,n.originY],o,r,e),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(po(0,a,[0,100],0,c.minSpan,c.maxSpan),this.range=a,i[0]!==a[0]||i[1]!==a[1])return a}},pan:wy(function(e,t,r,n,i,a){var o=gh[n]([a.oldX,a.oldY],[a.newX,a.newY],t,i,r);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength}),scrollMove:wy(function(e,t,r,n,i,a){var o=gh[n]([0,0],[a.scrollDelta,a.scrollDelta],t,i,r);return o.signal*(e[1]-e[0])*a.scrollDelta})};function wy(e){return function(t,r,n,i){var a=this.range,o=a.slice(),s=t.axisModels[0];if(s){var u=e(o,s,t,r,n,i);if(po(u,o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1])return o}}}var gh={grid:function(e,t,r,n,i){var a=r.axis,o={},s=i.model.coordinateSystem.getRect();return e=e||[0,0],a.dim==="x"?(o.pixel=t[0]-e[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(e,t,r,n,i){var a=r.axis,o={},s=i.model.coordinateSystem,u=s.getRadiusAxis().getExtent(),l=s.getAngleAxis().getExtent();return e=e?s.pointToCoord(e):[0,0],t=s.pointToCoord(t),r.mainType==="radiusAxis"?(o.pixel=t[0]-e[0],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=a.inverse?-1:1),o},singleAxis:function(e,t,r,n,i){var a=r.axis,o=i.model.coordinateSystem.getRect(),s={};return e=e||[0,0],a.orient==="horizontal"?(s.pixel=t[0]-e[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=t[1]-e[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};const coe=loe;function DD(e){F7(e),e.registerComponentModel(toe),e.registerComponentView(coe),uoe(e)}var foe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=Wi(Sl.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"}}}),t}(Sl);const hoe=foe;var vu=Ee,Sy=7,doe=1,mh=30,poe=7,gu="horizontal",Cy="vertical",voe=5,goe=["line","bar","candlestick","scatter"],moe={easing:"cubicOut",duration:100,delay:0},yoe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._displayables={},r}return t.prototype.init=function(r,n){this.api=n,this._onBrush=X(this._onBrush,this),this._onBrushEnd=X(this._onBrushEnd,this)},t.prototype.render=function(r,n,i,a){if(e.prototype.render.apply(this,arguments),Rs(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()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){fl(this,"_dispatchZoomAction");var r=this.api.getZr();r.off("mousemove",this._onBrush),r.off("mouseup",this._onBrushEnd)},t.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()},t.prototype._resetLocation=function(){var r=this.dataZoomModel,n=this.api,i=r.get("brushSelect"),a=i?poe:0,o=this._findCoordRect(),s={width:n.getWidth(),height:n.getHeight()},u=this._orient===gu?{right:s.width-o.x-o.width,top:s.height-mh-Sy-a,width:o.width,height:mh}:{right:Sy,top:o.y,width:mh,height:o.height},l=ks(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===Cy&&this._size.reverse()},t.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===gu&&!o?{scaleY:u?1:-1,scaleX:1}:i===gu&&o?{scaleY:u?1:-1,scaleX:-1}:i===Cy&&!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()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var r=this.dataZoomModel,n=this._size,i=this._displayables.sliderGroup,a=r.get("brushSelect");i.add(new vu({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:r.get("backgroundColor")},z2:-40}));var o=new vu({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)},t.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 rr({shape:{points:l},segmentIgnoreThreshold:1,style:T.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),M=new ir({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)}},t.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(goe,l.get("type"))<0)){var c=a.getComponent(Di(o),s).axis,f=_oe(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}},t.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 vu({silent:f,style:{fill:u.get("fillerColor")},textConfig:{position:"inside"}});o.add(h),o.add(new vu({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:doe,fill:"rgba(0,0,0,0)"}})),E([0,1],function(_){var b=u.get("handleIcon");!ac[b]&&b.indexOf("path://")<0&&b.indexOf("image://")<0&&(b="path://"+b,process.env.NODE_ENV!=="production"&&Xr("handleIcon now needs 'path://' prefix when using a path string"));var x=ct(b,-1,0,2,2,null,!0);x.attr({cursor:Ay(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(),$a(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:Ay(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)})},t.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)]},t.prototype._updateInterval=function(r,n){var i=this.dataZoomModel,a=this._handleEnds,o=this._getViewExtent(),s=i.findRepresentativeAxisProxy().getMinMaxSpan(),u=[0,100];po(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=Er([Be(a[0],o,u,!0),Be(a[1],o,u,!0)]);return!l||l[0]!==c[0]||l[1]!==c[1]},t.prototype._updateView=function(r){var n=this._displayables,i=this._handleEnds,a=Er(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)},t.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=Er(this._handleEnds.slice());d.call(this,0),d.call(this,1);function d(p){var v=Ga(i.handles[p].parent,this.group),g=c2(p===0?"right":"left",v),m=this._handleWidth/2+voe,y=Zr([h[p]+(p===0?-m:m),this._size[1]/2],v);a[p].setStyle({x:y[0],y:y[1],verticalAlign:o===gu?"middle":g,align:o===gu?g:"center",text:s[p]})}},t.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},t.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)},t.prototype._onDragMove=function(r,n,i,a){this._dragging=!0,Gn(a.event);var o=this._displayables.sliderGroup.getLocalTransform(),s=Zr([n,i],o,!0),u=this._updateInterval(r,s[0]),l=this.dataZoomModel.get("realtime");this._updateView(!l),u&&l&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var r=this.dataZoomModel.get("realtime");!r&&this._dispatchZoomAction(!1)},t.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)}},t.prototype._onBrushStart=function(r){var n=r.offsetX,i=r.offsetY;this._brushStart=new me(n,i),this._brushing=!0,this._brushStartTime=+new Date},t.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=Er([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)}}}},t.prototype._onBrush=function(r){this._brushing&&(Gn(r.event),this._updateBrushRect(r.offsetX,r.offsetY))},t.prototype._updateBrushRect=function(r,n){var i=this._displayables,a=this.dataZoomModel,o=i.brushRect;o||(o=i.brushRect=new vu({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]})},t.prototype._dispatchZoomAction=function(r){var n=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:r?moe:null,start:n[0],end:n[1]})},t.prototype._findCoordRect=function(){var r,n=sD(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},t.type="dataZoom.slider",t}(B7);function _oe(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function Ay(e){return e==="vertical"?"ns-resize":"ew-resize"}const boe=yoe;function ED(e){e.registerComponentModel(hoe),e.registerComponentView(boe),F7(e)}function xoe(e){be(DD),be(ED)}var woe={get:function(e,t,r){var n=oe((Soe[e]||{})[t]);return r&&G(n)?n[n.length-1]:n}},Soe={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 kD=woe;var Ty=Tt.mapVisual,Coe=Tt.eachVisual,Aoe=G,Dy=E,Toe=Er,Doe=Be,Eoe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.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 t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i)},t.prototype.optionUpdated=function(r,n){var i=this.option;!n&&mD(i,r,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(r){var n=this.stateList;r=X(r,this),this.controllerVisuals=u4(this.option.controller,n,r),this.targetVisuals=u4(this.option.target,n,r)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var r=this.option.seriesIndex,n=[];return r==null||r==="all"?this.ecModel.eachSeries(function(i,a){n.push(a)}):n=Ve(r),n},t.prototype.eachTargetSeries=function(r,n){E(this.getTargetSeriesIndices(),function(i){var a=this.ecModel.getSeriesByIndex(i);a&&r.call(n,a)},this)},t.prototype.isTargetSeries=function(r){var n=!1;return this.eachTargetSeries(function(i){i===r&&(n=!0)}),n},t.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))}},t.prototype.resetExtent=function(){var r=this.option,n=Toe([r.min,r.max]);this._dataExtent=n},t.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}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.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){Aoe(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]={},Dy(p,function(g,m){if(Tt.isValidType(m)){var y=kD.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";Dy(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=Ty(_.symbol,function(w){return w==="none"?g:w});var b=_.symbolSize;if(b!=null){var x=-1/0;Coe(b,function(w){w>x&&(x=w)}),_.symbolSize=Ty(b,function(w){return Doe(w,[0,x],[0,y[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(r){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(r){return null},t.prototype.getVisualMeta=function(r){return null},t.type="visualMap",t.dependencies=["series"],t.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"}},t}(Ce);const Pc=Eoe;var Ey=[20,140],koe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.optionUpdated=function(r,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(i){i.mappingMethod="linear",i.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var r=this.itemSize;(r[0]==null||isNaN(r[0]))&&(r[0]=Ey[0]),(r[1]==null||isNaN(r[1]))&&(r[1]=Ey[1])},t.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]))},t.prototype.completeVisualOption=function(){e.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)},t.prototype.setSelected=function(r){this.option.range=r.slice(),this._resetRange()},t.prototype.getSelected=function(){var r=this.getExtent(),n=Er((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},t.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"},t.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},t.prototype.getVisualMeta=function(r){var n=ky(this,"outOfRange",this.getExtent()),i=ky(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"]}},t.type="visualMap.continuous",t.defaultOption=Wi(Pc.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)"}}),t}(Pc);function ky(e,t,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 Moe=koe;var Ioe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r.autoPositionValues={left:1,right:1,top:1,bottom:1},r}return t.prototype.init=function(r,n){this.ecModel=r,this.api=n},t.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)},t.prototype.renderBackground=function(r){var n=this.visualMapModel,i=Es(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")}}))},t.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=Tt.prepareVisualTypes(f);return E(h,function(d){var p=f[d];i.convertOpacityToAlpha&&d==="opacity"&&(d="colorAlpha",p=f.__alphaForOpacity),Tt.dependsOn(d,n)&&p&&p.applyVisual(r,l,c)}),s[n]},t.prototype.positionGroup=function(r){var n=this.visualMapModel,i=this.api;m2(r,n.getBoxLayoutParams(),{width:i.getWidth(),height:i.getHeight()})},t.prototype.doRender=function(r,n,i,a){},t.type="visualMap",t}(et);const MD=Ioe;var My=[["left","right","width"],["top","bottom","height"]];function ID(e,t,r){var n=e.option,i=n.align;if(i!=null&&i!=="auto")return i;for(var a={width:t.getWidth(),height:t.getHeight()},o=n.orient==="horizontal"?1:0,s=My[o],u=[0,null,10],l={},c=0;c<3;c++)l[My[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 L0(e,t){return E(e||[],function(r){r.dataIndex!=null&&(r.dataIndexInside=r.dataIndex,r.dataIndex=null),r.highlightKey="visualMap"+(t?t.componentIndex:"")}),e}var on=Be,Loe=E,Iy=Math.min,yh=Math.max,Poe=12,Roe=6,Noe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._shapes={},r._dataInterval=[],r._handleEnds=[],r._hoverLinkDataIndices=[],r}return t.prototype.init=function(r,n){e.prototype.init.call(this,r,n),this._hoverLinkFromSeriesMouseOver=X(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=X(this._hideIndicator,this)},t.prototype.doRender=function(r,n,i,a){(!a||a.type!=="selectDataRange"||a.from!==this.uid)&&this._buildView()},t.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)},t.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})}))}},t.prototype._renderBar=function(r){var n=this.visualMapModel,i=this._shapes,a=n.itemSize,o=this._orient,s=this._useHandle,u=ID(n,this.api,a),l=i.mainGroup=this._createBarGroup(u),c=new le;l.add(c),c.add(i.outOfRange=Ly()),c.add(i.inRange=Ly(null,s?Ry(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=yh(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)},t.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=Yr(r.get("handleSize"),a[0]),f=ct(r.get("handleIcon"),-c/2,-c/2,c,c,null,!0),h=Ry(this._orient);f.attr({cursor:h,draggable:!0,drift:u,ondragend:l,onmousemove:function(m){Gn(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(),Ma(f,!0),n.add(f);var d=this.visualMapModel.textStyleModel,p=new ke({cursor:h,draggable:!0,drift:u,onmousemove:function(m){Gn(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},t.prototype._createIndicator=function(r,n,i,a,o){var s=Yr(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 Mt){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:Roe)+i[0]/2,0],p=this._shapes;p.indicator=u,p.indicatorLabel=h,p.indicatorLabelPoint=d,this._firstShowIndicator=!0},t.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():Py(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[r],!1)}},t.prototype._resetInterval=function(){var r=this.visualMapModel,n=this._dataInterval=r.getSelected(),i=r.getExtent(),a=[0,r.itemSize[1]];this._handleEnds=[on(n[0],i,a,!0),on(n[1],i,a,!0)]},t.prototype._updateInterval=function(r,n){n=n||0;var i=this.visualMapModel,a=this._handleEnds,o=[0,i.itemSize[1]];po(n,a,o,r,0);var s=i.getExtent();this._dataInterval=[on(a[0],o,s,!0),on(a[1],o,s,!0)]},t.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)},t.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 Pl(0,0,0,1,s),barPoints:l,handlesColor:[s[0].color,s[s.length-1].color]}},t.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},t.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]]]},t.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})},t.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);Loe([0,1],function(f){var h=o[f];h.setStyle("fill",n.handlesColor[f]),h.y=r[f];var d=on(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=Zr(i.handleLabelPoints[f],Ga(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)}},t.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=on(r,s,l,!0),g=u[0]-p/2,m={x:f.x,y:f.y};f.y=v,f.x=g;var y=Zr(c.indicatorLabelPoint,Ga(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])}},t.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]=Iy(yh(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()})},t.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()},t.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=Iy(yh(o[0],r),o[1]);var u=Ooe(i,s,o),l=[r-u,r+u],c=on(r,o,s,!0),f=[on(l[0],o,s,!0),on(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||Py(i))&&(d=this._hoverLinkDataIndices=i.findTargetDataIndices(f));var p=xF(h,d);this._dispatchHighDown("downplay",L0(p[0],i)),this._dispatchHighDown("highlight",L0(p[1],i))}},t.prototype._hoverLinkFromSeriesMouseOver=function(r){var n;if(La(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)}}},t.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])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var r=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",L0(r,this.visualMapModel)),r.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var r=this.api.getZr();r.off("mouseover",this._hoverLinkFromSeriesMouseOver),r.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(r,n,i,a){var o=Ga(n,a?null:this.group);return G(r)?Zr(r,o,i):c2(r,o,i)},t.prototype._dispatchHighDown=function(r,n){n&&n.length&&this.api.dispatchAction({type:r,batch:n})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(MD);function Ly(e,t,r,n){return new rr({shape:{points:e},draggable:!!r,cursor:t,drift:r,onmousemove:function(i){Gn(i.event)},ondragend:n})}function Ooe(e,t,r){var n=Poe/2,i=e.get("hoverLinkDataSize");return i&&(n=on(i,t,r,!0)/2),n}function Py(e){var t=e.get("hoverLinkOnHandle");return!!(t??e.get("realtime"))}function Ry(e){return e==="vertical"?"ns-resize":"ew-resize"}const Boe=Noe;var Foe={type:"selectDataRange",event:"dataRangeSelected",update:"update"},Voe=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(r){r.setSelected(e.selected)})},zoe=[{createOnAllSeries:!0,reset:function(e,t){var r=[];return t.eachComponent("visualMap",function(n){var i=e.pipelineContext;!n.isTargetSeries(e)||i&&i.large||r.push(Rie(n.stateList,n.targetVisuals,X(n.getValueState,n),n.getDataDimensionIndex(e.getData())))}),r}},{createOnAllSeries:!0,reset:function(e,t){var r=e.getData(),n=[];t.eachComponent("visualMap",function(i){if(i.isTargetSeries(e)){var a=i.getVisualMeta(X($oe,null,e,i))||{stops:[],outerColors:[]},o=i.getDataDimensionIndex(r);o>=0&&(a.dimension=o,n.push(a))}}),e.getData().setVisual("visualMeta",n)}}];function $oe(e,t,r,n){for(var i=t.targetVisuals[n],a=Tt.prepareVisualTypes(i),o={color:Ol(e.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 Ny=E;function Goe(e){var t=e&&e.visualMap;G(t)||(t=t?[t]:[]),Ny(t,function(r){if(r){Vo(r,"splitList")&&!Vo(r,"pieces")&&(r.pieces=r.splitList,delete r.splitList);var n=r.pieces;n&&G(n)&&Ny(n,function(i){ne(i)&&(Vo(i,"start")&&!Vo(i,"min")&&(i.min=i.start),Vo(i,"end")&&!Vo(i,"max")&&(i.max=i.end))})}})}function Vo(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var Oy=!1;function LD(e){Oy||(Oy=!0,e.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(Foe,Voe),E(zoe,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(Goe))}function PD(e){e.registerComponentModel(Moe),e.registerComponentView(Boe),LD(e)}var Hoe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r._pieceList=[],r}return t.prototype.optionUpdated=function(r,n){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],Uoe[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}))})},t.prototype.completeVisualOption=function(){var r=this.option,n={},i=Tt.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]=kD.get(u,c==="inRange"?"active":"inactive",a)})},this);function o(s,u,l){return s&&s[u]&&s[u].hasOwnProperty(l)}e.prototype.completeVisualOption.apply(this,arguments)},t.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)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(r){return this._mode==="categories"?r.value+"":r.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var r=this.option;return r.pieces&&r.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(r){this.option.selected=oe(r)},t.prototype.getValueState=function(r){var n=Tt.findPieceIndex(r,this._pieceList);return n!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[n])]?"inRange":"outOfRange"},t.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=Tt.findPieceIndex(u,i);c===r&&o.push(l)},this),n.push({seriesId:a.id,dataIndex:o})},this),n},t.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},t.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}},t.type="visualMap.piecewise",t.defaultOption=Wi(Pc.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}),t}(Pc),Uoe={splitNumber:function(e){var t=this.option,r=Math.min(t.precision,20),n=this.getExtent(),i=t.splitNumber;i=Math.max(parseInt(i,10),1),t.splitNumber=i;for(var a=(n[1]-n[0])/i;+a.toFixed(r)!==a&&r<5;)r++;t.precision=r,a=+a.toFixed(r),t.minOpen&&e.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;e.push({interval:[s,u],close:[1,1]})}t.maxOpen&&e.push({interval:[n[1],1/0],close:[0,0]}),wv(e),E(e,function(l,c){l.index=c,l.text=this.formatValueText(l.interval)},this)},categories:function(e){var t=this.option;E(t.categories,function(r){e.push({text:this.formatValueText(r,!0),value:r})},this),By(t,e)},pieces:function(e){var t=this.option;E(t.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=Tt.retrieveVisuals(r),e.push(i)},this),By(t,e),wv(e),E(e,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 By(e,t){var r=e.inverse;(e.orient==="vertical"?!r:r)&&t.reverse()}const Woe=Hoe;var qoe=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type=t.type,r}return t.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),Ha(n.get("orient"),r,n.get("itemGap")),this.renderBackground(r),this.positionGroup(r)},t.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:L0(s.findTargetDataIndices(n),s)})}},t.prototype._getItemAlign=function(){var r=this.visualMapModel,n=r.option;if(n.orient==="vertical")return ID(r,this.api,r.itemSize);var i=n.align;return(!i||i==="auto")&&(i="left"),i},t.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)}},t.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}},t.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)},t.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})}},t.type="visualMap.piecewise",t}(MD);const Zoe=qoe;function RD(e){e.registerComponentModel(Woe),e.registerComponentView(Zoe),LD(e)}function Yoe(e){be(PD),be(RD)}var Xoe={label:{enabled:!0},decal:{show:!1}},Fy=Ae(),joe={};function Koe(e,t){var r=e.getModel("aria");if(!r.get("enabled"))return;var n=oe(Xoe);ge(n.label,e.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();e.eachSeries(function(h){if(!h.isColorBySeries()){var d=f.get(h.type);d||(d={},f.set(h.type,d)),Fy(h).scope=d}}),e.eachRawSeries(function(h){if(e.isSeriesFiltered(h))return;if(te(h.enableAriaDecal)){h.enableAriaDecal();return}var d=h.getData();if(h.isColorBySeries()){var y=md(h.ecModel,h.name,joe,e.getSeriesCount()),_=d.getVisual("decal");d.setVisual("decal",b(_,y))}else{var p=h.getRawData(),v={},g=Fy(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=t.getZr().dom;if(l){var c=e.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=e.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}),e.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 L=f.get(["data","partialData"]);T+=o(L,{displayCnt:d})}else T+=f.get(["data","allData"]);for(var N=f.get(["data","separator","middle"]),I=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),V=O?Ne(M.getValues(R),function(U,q){return _e(O,q)===-1}):M.getValues(R),z=f.get(["data",B?"withName":"withoutName"]);P.push(o(z,{name:B,value:V.join(N)}))}T+=P.join(N)+I,_.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=e.get("title");return l&&l.length&&(l=l[0]),l&&l.text}function u(l){var c=e.getLocaleModel().get(["series","typeNames"]);return c[l]||c.chart}}function Qoe(e){if(!(!e||!e.aria)){var t=e.aria;t.show!=null&&(t.enabled=t.show),t.label=t.label||{},E(["description","general","series","data"],function(r){t[r]!=null&&(t.label[r]=t[r])})}}function Joe(e){e.registerPreprocessor(Qoe),e.registerVisual(e.PRIORITY.VISUAL.ARIA,Koe)}var Vy={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},ese=function(){function e(t){var r=this._condVal=Z(t)?new RegExp(t):Bb(t)?t:null;if(r==null){var n="";process.env.NODE_ENV!=="production"&&(n=Zt("Illegal regexp",t,"in")),Re(n)}}return e.prototype.evaluate=function(t){var r=typeof t;return Z(r)?this._condVal.test(t):Me(r)?this._condVal.test(t+""):!1},e}(),tse=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),rse=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,r=0;r<t.length;r++)if(!t[r].evaluate())return!1;return!0},e}(),nse=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,r=0;r<t.length;r++)if(t[r].evaluate())return!0;return!1},e}(),ise=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),ase=function(){function e(){}return e.prototype.evaluate=function(){for(var t=!!this.valueParser,r=this.getValue,n=r(this.valueGetterParam),i=t?this.valueParser(n):null,a=0;a<this.subCondList.length;a++)if(!this.subCondList[a].evaluate(t?i:n))return!1;return!0},e}();function Z7(e,t){if(e===!0||e===!1){var r=new tse;return r.value=e,r}var n="";return ND(e)||(process.env.NODE_ENV!=="production"&&(n=Zt("Illegal config. Expect a plain object but actually",e)),Re(n)),e.and?zy("and",e,t):e.or?zy("or",e,t):e.not?ose(e,t):sse(e,t)}function zy(e,t,r){var n=t[e],i="";process.env.NODE_ENV!=="production"&&(i=Zt('"and"/"or" condition should only be `'+e+": [...]` and must not be empty array.","Illegal condition:",t)),G(n)||Re(i),n.length||Re(i);var a=e==="and"?new rse:new nse;return a.children=H(n,function(o){return Z7(o,r)}),a.children.length||Re(i),a}function ose(e,t){var r=e.not,n="";process.env.NODE_ENV!=="production"&&(n=Zt('"not" condition should only be `not: {}`.',"Illegal condition:",e)),ND(r)||Re(n);var i=new ise;return i.child=Z7(r,t),i.child||Re(n),i}function sse(e,t){for(var r="",n=t.prepareGetValue(e),i=[],a=Se(e),o=e.parser,s=o?sS(o):null,u=0;u<a.length;u++){var l=a[u];if(!(l==="parser"||t.valueGetterAttrMap.get(l))){var c=j(Vy,l)?Vy[l]:l,f=e[l],h=s?s(f):f,d=F$(c,h)||c==="reg"&&new ese(h);d||(process.env.NODE_ENV!=="production"&&(r=Zt('Illegal relational operation: "'+l+'" in condition:',e)),Re(r)),i.push(d)}}i.length||(process.env.NODE_ENV!=="production"&&(r=Zt("Relational condition must have at least one operator.","Illegal condition:",e)),Re(r));var p=new ase;return p.valueGetterParam=n,p.valueParser=s,p.getValue=t.getValue,p.subCondList=i,p}function ND(e){return ne(e)&&!Ft(e)}var use=function(){function e(t,r){this._cond=Z7(t,r)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function lse(e,t){return new use(e,t)}var cse={type:"echarts:filter",transform:function(e){for(var t=e.upstream,r,n=lse(e.config,{valueGetterAttrMap:J({dimension:!0}),prepareGetValue:function(s){var u="",l=s.dimension;j(s,"dimension")||(process.env.NODE_ENV!=="production"&&(u=Zt('Relation condition must has prop "dimension" specified.',"Illegal condition:",s)),Re(u));var c=t.getDimensionInfo(l);return c||(process.env.NODE_ENV!=="production"&&(u=Zt("Can not find dimension info via: "+l+`.
|
|
117
|
+
`,"Existing dimensions: ",t.cloneAllDimensionInfo(),`.
|
|
118
|
+
`,"Illegal condition:",s,`.
|
|
119
|
+
`)),Re(u)),{dimIdx:c.index}},getValue:function(s){return t.retrieveValueFromItem(r,s.dimIdx)}}),i=[],a=0,o=t.count();a<o;a++)r=t.getRawDataItem(a),n.evaluate()&&i.push(r);return{data:i}}},v4="";process.env.NODE_ENV!=="production"&&(v4=["Valid config is like:",'{ dimension: "age", order: "asc" }','or [{ dimension: "age", order: "asc"], { dimension: "date", order: "desc" }]'].join(" "));var fse={type:"echarts:sort",transform:function(e){var t=e.upstream,r=e.config,n="",i=Ve(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.'+v4),Re(n)),h!=="asc"&&h!=="desc"&&(process.env.NODE_ENV!=="production"&&(n='Sort transform config must has "order" specified.'+v4),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=t.getDimensionInfo(f);m||(process.env.NODE_ENV!=="production"&&(n=Zt("Can not find dimension info via: "+f+`.
|
|
120
|
+
`,"Existing dimensions: ",t.cloneAllDimensionInfo(),`.
|
|
121
|
+
`,"Illegal config:",c,`.
|
|
122
|
+
`)),Re(n));var y=d?sS(d):null;d&&!y&&(process.env.NODE_ENV!=="production"&&(n=Zt("Invalid parser name "+d+`.
|
|
123
|
+
`,"Illegal config:",c,`.
|
|
124
|
+
`)),Re(n)),a.push({dimIdx:m.index,parser:y,comparator:new lS(h,p)})});var o=t.sourceFormat;o!==Vt&&o!==Or&&(process.env.NODE_ENV!=="production"&&(n='sourceFormat "'+o+'" is not supported yet'),Re(n));for(var s=[],u=0,l=t.count();u<l;u++)s.push(t.getRawDataItem(u));return s.sort(function(c,f){for(var h=0;h<a.length;h++){var d=a[h],p=t.retrieveValueFromItem(c,d.dimIdx),v=t.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 hse(e){e.registerTransform(cse),e.registerTransform(fse)}var dse=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataset",r}return t.prototype.init=function(r,n,i){e.prototype.init.call(this,r,n,i),this._sourceManager=new dS(this),B3(this)},t.prototype.mergeOption=function(r,n){e.prototype.mergeOption.call(this,r,n),B3(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:gn},t}(Ce),pse=function(e){F(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="dataset",r}return t.type="dataset",t}(et);function vse(e){e.registerComponentModel(dse),e.registerComponentView(pse)}var nn=xn.CMD;function Ko(e,t){return Math.abs(e-t)<1e-5}function g4(e){var t=e.data,r=e.len(),n=[],i,a=0,o=0,s=0,u=0;function l(M,L){i&&i.length>2&&n.push(i),i=[M,L]}function c(M,L,N,I){Ko(M,N)&&Ko(L,I)||i.push(M,L,N,I,N,I)}function f(M,L,N,I,O,P){var R=Math.abs(L-M),B=Math.tan(R/4)*4/3,V=L<M?-1:1,z=Math.cos(M),U=Math.sin(M),q=Math.cos(L),K=Math.sin(L),xe=z*O+N,ze=U*P+I,ue=q*O+N,ee=K*P+I,he=O*B*V,Q=P*B*V;i.push(xe-he*U,ze+Q*z,ue+he*K,ee-Q*q,ue,ee)}for(var h,d,p,v,g=0;g<r;){var m=t[g++],y=g===1;switch(y&&(a=t[g],o=t[g+1],s=a,u=o,(m===nn.L||m===nn.C||m===nn.Q)&&(i=[s,u])),m){case nn.M:a=s=t[g++],o=u=t[g++],l(s,u);break;case nn.L:h=t[g++],d=t[g++],c(a,o,h,d),a=h,o=d;break;case nn.C:i.push(t[g++],t[g++],t[g++],t[g++],a=t[g++],o=t[g++]);break;case nn.Q:h=t[g++],d=t[g++],p=t[g++],v=t[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 nn.A:var _=t[g++],b=t[g++],x=t[g++],w=t[g++],S=t[g++],C=t[g++]+S;g+=1;var A=!t[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 nn.R:s=a=t[g++],u=o=t[g++],h=s+t[g++],d=u+t[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 nn.Z:i&&c(a,o,s,u),a=s,o=u;break}}return i&&i.length>2&&n.push(i),n}function m4(e,t,r,n,i,a,o,s,u,l){if(Ko(e,r)&&Ko(t,n)&&Ko(i,o)&&Ko(a,s)){u.push(o,s);return}var c=2/l,f=c*c,h=o-e,d=s-t,p=Math.sqrt(h*h+d*d);h/=p,d/=p;var v=r-e,g=n-t,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=[];Ri(e,r,i,o,.5,A),Ri(t,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 gse(e,t){var r=g4(e),n=[];t=t||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,t),s=p,u=v}n.push(o)}return n}function OD(e,t,r){var n=e[t],i=e[1-t],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 $y(e,t,r){for(var n=e.r0,i=e.r,a=e.startAngle,o=e.endAngle,s=Math.abs(o-a),u=s*i,l=i-n,c=u>Math.abs(l),f=OD([u,l],c?0:1,t),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=e.clockwise,g.cx=e.cx,g.cy=e.cy,r.push(g)}}function mse(e,t,r){for(var n=e.width,i=e.height,a=n>i,o=OD([n,i],a?0:1,t),s=a?"width":"height",u=a?"height":"width",l=a?"x":"y",c=a?"y":"x",f=e[s]/o.length,h=0;h<o.length;h++)for(var d=e[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+=e.x,v.y+=e.y,r.push(v)}}function Gy(e,t,r,n){return e*n-r*t}function yse(e,t,r,n,i,a,o,s){var u=r-e,l=n-t,c=o-i,f=s-a,h=Gy(c,f,u,l);if(Math.abs(h)<1e-6)return null;var d=e-i,p=t-a,v=Gy(d,p,c,f)/h;return v<0||v>1?null:new me(v*u+e,v*l+t)}function _se(e,t,r){var n=new me;me.sub(n,r,t),n.normalize();var i=new me;me.sub(i,e,t);var a=i.dot(n);return a}function zo(e,t){var r=e[e.length-1];r&&r[0]===t[0]&&r[1]===t[1]||e.push(t)}function bse(e,t,r){for(var n=e.length,i=[],a=0;a<n;a++){var o=e[a],s=e[(a+1)%n],u=yse(o[0],o[1],s[0],s[1],t.x,t.y,r.x,r.y);u&&i.push({projPt:_se(u,t,r),pt:u,idx:a})}if(i.length<2)return[{points:e},{points:e}];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,e[a].slice());zo(p,d),zo(p,h);for(var a=c.idx+1;a<=l.idx+n;a++)zo(v,e[a%n].slice());return zo(v,h),zo(v,d),[{points:p},{points:v}]}function Hy(e){var t=e.points,r=[],n=[];i2(t,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),bse(t,l,c)}function Rc(e,t,r,n){if(r===1)n.push(t);else{var i=Math.floor(r/2),a=e(t);Rc(e,a[0],i,n),Rc(e,a[1],r-i,n)}return n}function xse(e,t){for(var r=[],n=0;n<t;n++)r.push(s5(e));return r}function wse(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function Sse(e){for(var t=[],r=0;r<e.length;)t.push([e[r++],e[r++]]);return t}function Cse(e,t){var r=[],n=e.shape,i;switch(e.type){case"rect":mse(n,t,r),i=Ee;break;case"sector":$y(n,t,r),i=tr;break;case"circle":$y({r0:0,r:n.r,startAngle:0,endAngle:Math.PI*2,cx:n.cx,cy:n.cy},t,r),i=tr;break;default:var a=e.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(gse(e.getUpdatedPathProxy(),o),function(m){return Sse(m)}),u=s.length;if(u===0)Rc(Hy,{points:s[0]},t,r);else if(u===t)for(var l=0;l<u;l++)r.push({points:s[l]});else{var c=0,f=H(s,function(m){var y=[],_=[];i2(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=t,l=0;l<u;l++){var d=f[l];if(h<=0)break;var p=l===u-1?h:Math.ceil(d.area/c*t);p<0||(Rc(Hy,{points:d.poly},p,r),h-=p)}}i=rr;break}if(!i)return xse(e,t);for(var v=[],l=0;l<r.length;l++){var g=new i;g.setShape(r[l]),wse(e,g),v.push(g)}return v}function Ase(e,t){var r=e.length,n=t.length;if(r===n)return[e,t];for(var i=[],a=[],o=r<n?e:t,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;Ri(p,g,y,b,C,i),Ri(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===e?[f,t]:[e,f]}function Uy(e,t){for(var r=e.length,n=e[r-2],i=e[r-1],a=[],o=0;o<t.length;)a[o++]=n,a[o++]=i;return a}function Tse(e,t){for(var r,n,i,a=[],o=[],s=0;s<Math.max(e.length,t.length);s++){var u=e[s],l=t[s],c=void 0,f=void 0;u?l?(r=Ase(u,l),c=r[0],f=r[1],n=c,i=f):(f=Uy(i||u,u),c=u):(c=Uy(n||l,l),f=l),a.push(c),o.push(f)}return[a,o]}function Wy(e){for(var t=0,r=0,n=0,i=e.length,a=0,o=i-2;a<i;o=a,a+=2){var s=e[o],u=e[o+1],l=e[a],c=e[a+1],f=s*c-l*u;t+=f,r+=(s+l)*f,n+=(u+c)*f}return t===0?[e[0]||0,e[1]||0]:[r/t/3,n/t/3,t]}function Dse(e,t,r,n){for(var i=(e.length-2)/6,a=1/0,o=0,s=e.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=e[d]-r[0],v=e[d+1]-r[1],g=t[h]-n[0],m=t[h+1]-n[1],y=g-p,_=m-v;f+=y*y+_*_}f<a&&(a=f,o=l)}return o}function Ese(e){for(var t=[],r=e.length,n=0;n<r;n+=2)t[n]=e[r-n-2],t[n+1]=e[r-n-1];return t}function kse(e,t,r,n){for(var i=[],a,o=0;o<e.length;o++){var s=e[o],u=t[o],l=Wy(s),c=Wy(u);a==null&&(a=l[2]<0!=c[2]<0);var f=[],h=[],d=0,p=1/0,v=[],g=s.length;a&&(s=Ese(s));for(var m=Dse(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],L=k*C-M*S,N=k*S+M*C;v[_]=L,v[_+1]=N;var I=L-T,O=N-D;A+=I*I+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 Nc(e){return e.__isCombineMorphing}var BD="__mOriginal_";function Oc(e,t,r){var n=BD+t,i=e[n]||e[t];e[n]||(e[n]=e[t]);var a=r.replace,o=r.after,s=r.before;e[t]=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 Zu(e,t){var r=BD+t;e[r]&&(e[t]=e[r],e[r]=null)}function qy(e,t){for(var r=0;r<e.length;r++)for(var n=e[r],i=0;i<n.length;){var a=n[i],o=n[i+1];n[i++]=t[0]*a+t[2]*o+t[4],n[i++]=t[1]*a+t[3]*o+t[5]}}function FD(e,t){var r=e.getUpdatedPathProxy(),n=t.getUpdatedPathProxy(),i=Tse(g4(r),g4(n)),a=i[0],o=i[1],s=e.getComputedTransform(),u=t.getComputedTransform();function l(){this.transform=null}s&&qy(a,s),u&&qy(o,u),Oc(t,"updateTransform",{replace:l}),t.transform=null;var c=kse(a,o,10,Math.PI),f=[];Oc(t,"buildPath",{replace:function(h){for(var d=t.__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);v0(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],L=T*p+k*d,N=D*p+M*d;f[A]=L*C-N*S+v[0],f[A+1]=L*S+N*C+v[1]}var I=f[0],O=f[1];h.moveTo(I,O);for(var A=2;A<y.length;){var k=f[A++],M=f[A++],P=f[A++],R=f[A++],B=f[A++],V=f[A++];I===k&&O===M&&P===B&&R===V?h.lineTo(B,V):h.bezierCurveTo(k,M,P,R,B,V),I=B,O=V}}}})}function Y7(e,t,r){if(!e||!t)return t;var n=r.done,i=r.during;FD(e,t),t.__morphT=0;function a(){Zu(t,"buildPath"),Zu(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return t.animateTo({__morphT:1},ae({during:function(o){t.dirtyShape(),i&&i(o)},done:function(){a(),n&&n()}},r)),t}function Mse(e,t,r,n,i,a){var o=16;e=i===r?0:Math.round(32767*(e-r)/(i-r)),t=a===n?0:Math.round(32767*(t-n)/(a-n));for(var s=0,u,l=(1<<o)/2;l>0;l/=2){var c=0,f=0;(e&l)>0&&(c=1),(t&l)>0&&(f=1),s+=l*l*(3*c^f),f===0&&(c===1&&(e=l-1-e,t=l-1-t),u=e,e=t,t=u)}return s}function Bc(e){var t=1/0,r=1/0,n=-1/0,i=-1/0,a=H(e,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 t=Math.min(c,t),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:Mse(s[0],s[1],t,r,n,i),path:e[u]}});return o.sort(function(s,u){return s.z-u.z}).map(function(s){return s.path})}function VD(e){return Cse(e.path,e.count)}function y4(){return{fromIndividuals:[],toIndividuals:[],count:0}}function Ise(e,t,r){var n=[];function i(x){for(var w=0;w<x.length;w++){var S=x[w];Nc(S)?i(S.childrenRef()):S instanceof we&&n.push(S)}}i(e);var a=n.length;if(!a)return y4();var o=r.dividePath||VD,s=o({path:t,count:a});if(s.length!==a)return console.error("Invalid morphing: unmatched splitted path"),y4();n=Bc(n),s=Bc(s);for(var u=r.done,l=r.during,c=r.individualDelay,f=new Pn,h=0;h<a;h++){var d=n[h],p=s[h];p.parent=t,p.copyTransform(f),c||FD(d,p)}t.__isCombineMorphing=!0,t.childrenRef=function(){return s};function v(x){for(var w=0;w<s.length;w++)s[w].addSelfToZr(x)}Oc(t,"addSelfToZr",{after:function(x){v(x)}}),Oc(t,"removeSelfFromZr",{after:function(x){for(var w=0;w<s.length;w++)s[w].removeSelfFromZr(x)}});function g(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,Zu(t,"addSelfToZr"),Zu(t,"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;Y7(n[h],s[h],b)}else t.__morphT=0,t.animateTo({__morphT:1},ae({during:function(x){for(var w=0;w<m;w++){var S=s[w];S.__morphT=t.__morphT,S.dirtyShape()}l&&l(x)},done:function(){g();for(var x=0;x<e.length;x++)Zu(e[x],"updateTransform");u&&u()}},r));return t.__zr&&v(t.__zr),{fromIndividuals:n,toIndividuals:s,count:m}}function Lse(e,t,r){var n=t.length,i=[],a=r.dividePath||VD;function o(d){for(var p=0;p<d.length;p++){var v=d[p];Nc(v)?o(v.childrenRef()):v instanceof we&&i.push(v)}}if(Nc(e)){o(e.childrenRef());var s=i.length;if(s<n)for(var u=0,l=s;l<n;l++)i.push(s5(i[u++%s]));i.length=n}else{i=a({path:e,count:n});for(var c=e.getComputedTransform(),l=0;l<i.length;l++)i[l].setLocalTransform(c);if(i.length!==n)return console.error("Invalid morphing: unmatched splitted path"),y4()}i=Bc(i),t=Bc(t);for(var f=r.individualDelay,l=0;l<n;l++){var h=f?ae({delay:(r.delay||0)+f(l,n,i[l],t[l])},r):r;Y7(i[l],t[l],h)}return{fromIndividuals:i,toIndividuals:t,count:t.length}}function Zy(e){return G(e[0])}function Yy(e,t){for(var r=[],n=e.length,i=0;i<n;i++)r.push({one:e[i],many:[]});for(var i=0;i<t.length;i++){var a=t[i].length,o=void 0;for(o=0;o<a;o++)r[o%n].many.push(t[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 Pse={clone:function(e){for(var t=[],r=1-Math.pow(1-e.path.style.opacity,1/e.count),n=0;n<e.count;n++){var i=s5(e.path);i.setStyle("opacity",r),t.push(i)}return t},split:null};function _h(e,t,r,n,i,a){if(!e.length||!t.length)return;var o=As("update",n,i);if(!(o&&o.duration>0))return;var s=n.getModel("universalTransition").get("delay"),u=Object.assign({setToFinal:!0},o),l,c;Zy(e)&&(l=e,c=t),Zy(t)&&(l=t,c=e);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(Nc(C))f({many:[C],one:A},!0,_,b,!0);else{var T=s?ae({delay:s(_,b)},u):u;Y7(C,A,T),a(C,A,C,A,T)}}else for(var D=ae({dividePath:Pse[r],individualDelay:s&&function(O,P,R,B){return s(O+_,b)}},u),k=y?Ise(w,S,D):Lse(S,w,D),M=k.fromIndividuals,L=k.toIndividuals,N=M.length,I=0;I<N;I++){var T=s?ae({delay:s(I,N)},u):u;a(M[I],L[I],y?w[I]:m.one,y?m.one:w[I],T)}}for(var h=l?l===e:e.length>t.length,d=l?Yy(c,l):Yy(h?t:e,[h?e:t]),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 wa(e){if(!e)return[];if(G(e)){for(var t=[],r=0;r<e.length;r++)t.push(wa(e[r]));return t}var n=[];return e.traverse(function(i){i instanceof we&&!i.disableMorphing&&!i.invisible&&!i.ignore&&n.push(i)}),n}var zD=1e4,Rse=0,Xy=1,jy=2,Nse=Ae();function Ose(e,t){for(var r=e.dimensions,n=0;n<r.length;n++){var i=e.getDimensionInfo(r[n]);if(i&&i.otherDims[t]===0)return r[n]}}function Bse(e,t,r){var n=e.getDimensionInfo(r),i=n&&n.ordinalMeta;if(n){var a=e.get(n.name,t);return i&&i.categories[a]||a+""}}function Ky(e,t,r,n){var i=n?"itemChildGroupId":"itemGroupId",a=Ose(e,i);if(a){var o=Bse(e,t,a);return o}var s=e.getRawDataItem(t),u=n?"childGroupId":"groupId";if(s&&s[u])return s[u]+"";if(!n)return r||e.getId(t)}function Qy(e){var t=[];return E(e,function(r){var n=r.data,i=r.dataGroupId;if(n.count()>zD){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++)t.push({data:n,groupId:Ky(n,o,i,!1),childGroupId:Ky(n,o,i,!0),divide:r.divide,dataIndex:o})}),t}function bh(e,t,r){e.traverse(function(n){n instanceof we&&Ye(n,{style:{opacity:0}},t,{dataIndex:r,isFrom:!0})})}function xh(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function $o(e){e.stopAnimation(),e.isGroup&&e.traverse(function(t){t.stopAnimation()})}function Fse(e,t,r){var n=As("update",r,t);n&&e.traverse(function(i){if(i instanceof Lr){var a=vz(i);a&&i.animateFrom({style:a},n)}})}function Vse(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++){var i=e[n],a=t[n];if(i.data.getId(i.dataIndex)!==a.data.getId(a.dataIndex))return!1}return!0}function $D(e,t,r){var n=Qy(e),i=Qy(t);function a(_,b,x,w,S){(x||_)&&b.animateFrom({style:x&&x!==_?$($({},x.style),_.style):_.style},S)}var o=!1,s=Rse,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=Xy;break}var h=i[c].childGroupId;if(h&&u.get(h)){s=jy;break}}function d(_,b){return function(x){var w=x.data,S=x.dataIndex;return b?w.getId(S):_?s===Xy?x.childGroupId:x.groupId:s===jy?x.childGroupId:x.groupId}}var p=Vse(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&&Fse(A,w.dataIndex,S);return}C&&v[C.id]||A&&($o(A),C?($o(C),xh(C),o=!0,_h(wa(C),wa(A),w.divide,S,_,a)):bh(A,S,_))}new qn(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&&($o(C),A.length?(E(A,function(T){$o(T),xh(T)}),o=!0,_h(wa(A),wa(C),x.divide,S,_,a)):bh(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 $o(A)}),w?($o(w),xh(w),o=!0,_h(wa(w),wa(S),x.divide,C,_[0],a)):E(S,function(A){return bh(A,C,_[0])}))}}).updateManyToMany(function(_,b){new qn(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(t,function(_){var b=_.data,x=b.hostModel,w=x&&r.getViewOfSeriesModel(x),S=As("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 Jy(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function e_(e){return G(e)?e.sort().join(","):e}function vi(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function zse(e,t){var r=J(),n=J(),i=J();E(e.oldSeries,function(o,s){var u=e.oldDataGroupIds[s],l=e.oldData[s],c=Jy(o),f=e_(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(t.updatedSeries,function(o){if(o.isUniversalTransitionEnabled()&&o.isAnimationEnabled()){var s=o.get("dataGroupId"),u=o.getData(),l=Jy(o),c=e_(l),f=n.get(c);if(f)process.env.NODE_ENV!=="production"&&a(c),r.set(c,{oldSeries:[{dataGroupId:f.dataGroupId,divide:vi(f.data),data:f.data}],newSeries:[{dataGroupId:s,divide:vi(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:vi(g.data),data:g.data})}),h.length&&r.set(c,{oldSeries:h,newSeries:[{dataGroupId:s,data:u,divide:vi(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:vi(d.data)}],newSeries:[]},r.set(d.key,p)),p.newSeries.push({dataGroupId:s,data:u,divide:vi(u)})}}}}),r}function t_(e,t){for(var r=0;r<e.length;r++){var n=t.seriesIndex!=null&&t.seriesIndex===e[r].seriesIndex||t.seriesId!=null&&t.seriesId===e[r].id;if(n)return r}}function $se(e,t,r,n){var i=[],a=[];E(Ve(e.from),function(o){var s=t_(t.oldSeries,o);s>=0&&i.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:vi(t.oldData[s]),groupIdDim:o.dimension})}),E(Ve(e.to),function(o){var s=t_(r.updatedSeries,o);if(s>=0){var u=r.updatedSeries[s].getData();a.push({dataGroupId:t.oldDataGroupIds[s],data:u,divide:vi(u),groupIdDim:o.dimension})}}),i.length>0&&a.length>0&&$D(i,a,n)}function Gse(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,r,n){E(Ve(n.seriesTransition),function(i){E(Ve(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][T0]=!0)})})}),e.registerUpdateLifecycle("series:transition",function(t,r,n){var i=Nse(r);if(i.oldSeries&&n.updatedSeries&&n.optionChanged){var a=n.seriesTransition;if(a)E(Ve(a),function(d){$se(d,i,n,r)});else{var o=zse(i,n);E(o.keys(),function(d){var p=o.get(d);$D(p.oldSeries,p.newSeries,r)})}E(n.updatedSeries,function(d){d[T0]&&(d[T0]=!1)})}for(var s=t.getSeries(),u=i.oldSeries=[],l=i.oldDataGroupIds=[],c=i.oldData=[],f=0;f<s.length;f++){var h=s[f].getData();h.count()<zD&&(u.push(s[f]),l.push(s[f].get("dataGroupId")),c.push(h))}})}be([iq]);be([KW]);be([Eq,qq,aZ,qZ,lY,nX,RX,bj,Yj,nK,pK,yQ,WQ,iJ,CJ,IJ,XJ,aee,yee,Tee,Vee,Ste]);be(qte);be(Tre);be(NA);be(Hre);be(xT);be(jre);be(ane);be(oie);be(kie);be(Zl);be(Xie);be(Qie);be(dae);be(Sae);be(Iae);be(Vae);be(Jae);be(xoe);be(DD);be(ED);be(Yoe);be(PD);be(RD);be(Joe);be(hse);be(vse);be(Gse);be(vW);const Hse={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 e=document.querySelector(`#chart-${this.chartContainerId}`);e&&(this.width=e.offsetWidth-50),window.addEventListener("resize",this.resizeDebounce),this.initChart()})},beforeDestroy(){window.removeEventListener("resize",this.resizeDebounce),this.chart.forEach(e=>e.dispose()),this.chart=[]},methods:{initChart(){this.chart.forEach(e=>e.dispose()),this.chart=[],this.$nextTick(()=>{this.chartDataArr.forEach((e,t)=>{const r=document.querySelector(`#chart-${this.chartContainerId} > #chart-${t}`);if(!r)return;const n=MH(r,"light",{renderer:"canvas"});this.chart.push(n);try{typeof e=="string"?n.setOption(JSON.parse(e)):n.setOption(e)}catch(i){console.log("图表数据json格式解析出错",i)}n.resize({width:this.width})})})},updateChart(e,t){if(this.chart[t])try{typeof e=="string"?this.chart[t].setOption(JSON.parse(e)):this.chart[t].setOption(e)}catch(r){console.log("图表数据json格式解析出错",r)}},resizeDebounce(){const e=document.querySelector(`#chart-${this.chartContainerId}`);e&&(this.width=e.offsetWidth-50,this.chart.forEach(t=>{t.resize({width:this.width})}))}}};var Use=function(){var t=this,r=t._self._c;return r("div",{class:t.clazz,attrs:{id:`chart-${t.chartContainerId}`}},t._l(t.chartDataArr,function(n,i){return r("div",{key:`${t.chartContainerId}-chart-${i}`,style:{width:`${t.width}px`,height:`${t.height}px`},attrs:{id:`chart-${i}`}})}),0)},Wse=[],qse=Cn(Hse,Use,Wse,!1,null,"e50f6d7c",null,null);const Zse=qse.exports,X7=Xn(Zse),GD=Xn(Wc),HD=Xn(kb),j7=Xn(Tb);const Yse={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 Xse=function(){var t=this,r=t._self._c;return t.loadingMessage&&!t.transferStatus?r("div",{class:t.loadingIcon?"loading":"loadingWithoutIcon",style:{"--bgurl":t.loadingIcon?"url("+t.loadingIcon+")":"url("+t.defaultIcon+")"}},[t._v(t._s(t.loadingText?t.loadingText:"正在思考中"))]):t._e()},jse=[],Kse=Cn(Yse,Xse,jse,!1,null,"5c1bbe0d",null,null);const UD=Kse.exports,Qse={name:"LkeMsg",components:{MsgContent:Lb,MsgLoading:UD},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(e){this.currentIndex=e,this.$emit("postrender",e)},imageClick(e){this.$emit("imageClick",e)}}};var Jse=function(){var t=this,r=t._self._c;return r("div",{class:t.clazz},[r("MsgLoading",{attrs:{loadingIcon:t.loadingIcon,loadingMessage:t.loadingMessage,loadingText:t.loadingText,transferStatus:t.transferStatus}}),t.loadingMessage?t._e():r("MsgContent",{attrs:{isReplaceLinks:t.isReplaceLinks,isPrintAnimate:t.isPrintAnimate,linkify:t.linkify,loadingMessage:t.loadingMessage,content:t.item.content,isFinal:t.item.is_final,isMdExpand:t.item.isMdExpand,clazzTable:t.clazzTable||(t.item.is_final?"table-style":"table"),clazzMd:t.clazzMd?t.clazzMd:"answer-md",styleObj:t.styleObj,anchorAttributes:t.anchorAttributes,imgMinWidth:t.imgMinWidth,imgMaxWidth:t.imgMaxWidth,isMermaidRenderAfterOutput:t.isMermaidRenderAfterOutput},on:{postrender:t.postrender,imageClick:t.imageClick}})],1)},eue=[],tue=Cn(Qse,Jse,eue,!1,null,null,null,null);const rue=tue.exports,K7=Xn(rue),Q7=Xn(UD);const nue={name:"StreamAudioPlayerCard",components:{VIcon:Wc},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 Db,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((e,t)=>{this.audioItem.currentTime=e,this.isGenerating||(this.audioItem.duration=t),e>=t&&t>0&&!this.isGenerating&&(this.player.pause(),this.audioItem.status="completed",this.audioItem.currentTime=t)}),this.player.onError(e=>{console.error("音频播放错误:",e),this.$emit("error",e)}),this.audioItem.player=this.player},async addAudioChunk(e){if(!this.player){console.warn("播放器未初始化");return}try{let t;if(typeof e=="string"){const r=e.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);t=i.buffer}else if(e instanceof ArrayBuffer)t=e;else if(e instanceof Blob)t=await e.arrayBuffer();else{console.error("不支持的音频数据格式");return}await this.player.addAudioChunk(t),this.$emit("chunk-added",{duration:this.audioItem.duration,queueLength:this.player.audioQueue.length})}catch(t){console.error("添加音频片段失败:",t),this.$emit("error",t)}},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(e){console.error("播放控制错误:",e)}},handleDownload(){this.$emit("download",this.audioItem)},getPlayButtonTitle(){return this.isGenerating&&this.audioItem.duration===0?"等待音频生成":this.audioItem.status==="playing"?"暂停":"播放"},formatTime(e){if(!e||isNaN(e))return"00:00";const t=Math.floor(e/60),r=Math.floor(e%60);return`${t.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(e){this.audioItem.status!=="generating"&&this.seekToPosition(e)},handleDragStart(e){if(this.audioItem.status==="generating")return;this.isDragging=!0,e.preventDefault();const t=n=>{this.seekToPosition(n)},r=()=>{this.isDragging=!1,this.isHoveringProgress||(this.isHoveringProgress=!1),document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",t),document.addEventListener("mouseup",r)},seekToPosition(e){if(!this.player||!this.$refs.progressTrack)return;const r=this.$refs.progressTrack.getBoundingClientRect(),n=e.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 iue=function(){var t=this,r=t._self._c;return r("div",{staticClass:"stream-audio-player-card",class:t.cardClass,on:{mouseenter:t.handleMouseEnter,mouseleave:t.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"},[t._v(t._s(t.audioItem.fileName))]),r("div",{staticClass:"file-status"},[r("span",{staticClass:"status-text",class:{generating:t.isGenerating,completed:t.audioItem.status==="completed",playing:t.audioItem.status==="playing",paused:t.audioItem.status==="paused"}},[t._v(" "+t._s(t.formatTime(t.audioItem.currentTime))+" / "+t._s(t.isGenerating?"生成中":t.formatTime(t.audioItem.duration))+" ")])])]),r("div",{staticClass:"audio-controls"},[r("button",{staticClass:"control-btn download-btn",attrs:{disabled:t.audioItem.status==="generating",title:t.audioItem.status==="generating"?"生成中,暂不可下载":"下载"},on:{click:t.handleDownload}},[r("v-icon",{attrs:{name:"basic_download2_line",size:18}})],1),r("button",{staticClass:"control-btn play-btn",attrs:{disabled:t.isGenerating&&t.audioItem.duration===0,title:t.getPlayButtonTitle()},on:{click:t.handlePlayPause}},[t.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:t.handleProgressMouseDown,mouseenter:t.handleProgressMouseEnter,mouseleave:t.handleProgressMouseLeave}},[r("div",{staticClass:"progress-played",class:{"no-transition":t.isDragging},style:{width:t.progressPercentage+"%"}}),t.showHandle?r("div",{staticClass:"progress-handle",class:{"no-transition":t.isDragging},style:{left:t.progressPercentage+"%"},on:{mousedown:function(n){return n.stopPropagation(),t.handleDragStart.apply(null,arguments)}}}):t._e()])])])},aue=[],oue=Cn(nue,iue,aue,!1,null,"439cf304",null,null);const sue=oue.exports,WD=Xn(sue),qD=(e={})=>(e=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},e),new Promise((r,n)=>{e.source?ab({},()=>{const i=document.createElement("div"),{replacedString:a,videoTags:o}=G_(e.source),{modifiedMdString:s,codeBlocks:u}=z_(a),l=F_(s),{transformed:c,extracted:f}=sb(l);i.innerHTML=c;const h=()=>{const d=ub(V_(H_($_(i.innerHTML,u),o)),f),p=B_({html:e.html,xhtmlOut:e.xhtmlOut,breaks:e.breaks,linkify:e.linkify,emoji:e.emoji,typographer:e.typographer,langPrefix:e.langPrefix,quotes:e.quotes,taskLists:e.taskLists,tableClass:e.tableClass,anchorAttributes:typeof e.anchorAttributes=="function"?e.anchorAttributes():e.anchorAttributes,toc:e.toc,tocClass:e.tocClass,tocFirstLevel:e.tocFirstLevel,tocLastLevel:e.tocLastLevel>e.tocFirstLevel?e.tocLastLevel:e.tocFirstLevel+1,tocAnchorLink:e.tocAnchorLink,tocAnchorLinkSymbol:e.tocAnchorLinkSymbol,tocAnchorLinkSpace:e.tocAnchorLinkSpace,tocAnchorClass:e.tocAnchorClass,tocAnchorLinkClass:e.tocAnchorLinkClass,tocId:e.tocId,onTocRendered:g=>{e.$emit&&e.$emit("toc-rendered",g)}});let v=e.show?p.render((e.prerender?e.prerender(d):d).replace(/(^|[^~\\])~([^~]|$)/g,"$1\\~$2")):"";v=e.postrender?e.postrender(v):v,r(v)};ob(i).then(h).catch(h)}):r("")})),uue=[N4,O4,X7,GD,HD,j7,K7,Q7,WD],ZD=e=>{uue.forEach(t=>{t.install&&t.install(e)})};typeof window<"u"&&window.Vue&&ZD(window.Vue);const lue={install:ZD,markdownToHtml:qD,WidgetHelper:qc,MsgChart:X7,MsgContent:N4,MsgLoading:Q7,LkeMsg:K7,MsgThought:O4,MsgWidget:j7};exports.Icon=GD;exports.LkeMsg=K7;exports.MsgChart=X7;exports.MsgContent=N4;exports.MsgLoading=Q7;exports.MsgThought=O4;exports.MsgWidget=j7;exports.StreamAudioPlayer=HD;exports.StreamAudioPlayerCard=WD;exports.WidgetHelper=qc;exports.createWidgetHelper=QN;exports.default=lue;exports.getJsonSchema=tO;exports.getPreview=eO;exports.getTemplate=JN;exports.markdownToHtml=qD;
|