ss-component-new 1.1.76 → 1.1.78
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/_plugin-vue_export-helper-BHFhmbuH.cjs +1 -0
- package/dist/_plugin-vue_export-helper-CHgC5LLL.js +9 -0
- package/dist/array-DQ6meJk7.cjs +9 -0
- package/dist/{array-BejyPB_1.js → array-Dsurpc08.js} +247 -241
- package/dist/cloneDeep-BH_aXSAH.cjs +1 -0
- package/dist/cloneDeep-MKlVykeI.js +318 -0
- package/dist/{index-ChCXzsYf.js → index-54P6MUQ5.js} +2 -2
- package/dist/index-BCHKDSAB.cjs +1 -0
- package/dist/index-Bc2TP6E4.cjs +1 -0
- package/dist/index-C8abtcPh.cjs +87 -0
- package/dist/index-CBzgTVRc.cjs +1 -0
- package/dist/index-CRm-Cd9v.cjs +1 -0
- package/dist/index-CTc_dwbb.js +3133 -0
- package/dist/index-ChZ6L8qy.js +371 -0
- package/dist/index-ClguzCrn.js +131 -0
- package/dist/{menu-oGClEGzK.js → index-D0v2_dMz.js} +1945 -1834
- package/dist/{index-BT8Pkr84.js → index-D9tWUDyO.js} +8 -6
- package/dist/index-DB-XsCH7.cjs +1 -0
- package/dist/{index-BvoThyOF.js → index-DBKxwOZZ.js} +2 -2
- package/dist/index-DtmWzVIG.cjs +6 -0
- package/dist/{index-10n3uNlg.js → index-HDBRQNLs.js} +4 -3
- package/dist/index-YSJ2XYuj.cjs +1 -0
- package/dist/index-qogZoGJJ.js +351 -0
- package/dist/index-sjmLPf8w.cjs +1 -0
- package/dist/index-zIb6b0kg.cjs +6 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-D0K1veK2.cjs +1 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_876d48c6_lang-BWOIM9wH.js +254 -0
- package/dist/index.vue_vue_type_style_index_0_scoped_876d48c6_lang-Csg3VsXp.cjs +4 -0
- package/dist/{index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-DG5vph3h.js → index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-DHffsUIJ.js} +39 -38
- package/dist/index.vue_vue_type_style_index_0_scoped_dc84a8f7_lang-DzfJEE_l.cjs +1 -0
- package/dist/main-RfdttOpi.js +288 -0
- package/dist/main-u6M32FUn.cjs +1 -0
- package/dist/menu-BIINB-0Y.js +1013 -0
- package/dist/menu-B_Az9K_F.cjs +11 -0
- package/dist/{modelComp-CqA1NVfH.js → modelComp-B3sxj_Kp.js} +1 -1
- package/dist/modelComp-DAsVXKA0.cjs +1 -0
- package/dist/router.d.ts +1 -0
- package/dist/ss-component.cjs +1 -0
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +26 -24
- package/dist/ss-component2.cjs +1 -0
- package/dist/ss-component2.js +5 -0
- package/package.json +11 -5
- package/dist/_plugin-vue_export-helper-B7R8Jogt.js +0 -524
- package/dist/index-CCr_UQBn.js +0 -3749
- package/dist/main-BUjoLIJC.js +0 -404
- package/dist/ss-component.umd.cjs +0 -115
- /package/dist/{ss-component.d.ts → main.d.ts} +0 -0
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
(function(d,Ti){typeof exports=="object"&&typeof module<"u"?module.exports=Ti(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Ti):(d=typeof globalThis<"u"?globalThis:d||self,d.ssComponent=Ti(d.Vue))})(this,function(d){"use strict";const Ti=d.defineAsyncComponent(()=>Promise.resolve().then(()=>oZ));Ti.install=r=>{r.component("ssComponent",Ti)};const mv=d.defineAsyncComponent(()=>Promise.resolve().then(()=>jY));mv.install=r=>{r.component("ssTab",mv)};const _v=d.defineAsyncComponent(()=>Promise.resolve().then(()=>cZ));_v.install=r=>{r.component("ssMenu",_v)};const yv=d.defineAsyncComponent(()=>Promise.resolve().then(()=>fZ));yv.install=r=>{r.component("ssMenuComponent",yv)};const wv=d.defineAsyncComponent(()=>Promise.resolve().then(()=>v2e));wv.install=r=>{r.component("ssCanvas",wv)};const xv=d.defineAsyncComponent(()=>Promise.resolve().then(()=>Kj));xv.install=r=>{r.component("ssFold",xv)};const q7=[Ti,mv,_v,yv,wv,xv],Z7=r=>{q7.forEach(t=>{r.use(t)})};function hf(r,t,e){return Array.isArray(r)?(r.length=Math.max(r.length,t),r.splice(t,1,e),e):(r[t]=e,e)}function bv(r,t){if(Array.isArray(r)){r.splice(t,1);return}delete r[t]}function K7(){return Jy().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Jy(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const J7=typeof Proxy=="function",Q7="devtools-plugin:setup",ek="plugin:settings:set";let ls,Sv;function tk(){var r;return ls!==void 0||(typeof window<"u"&&window.performance?(ls=!0,Sv=window.performance):typeof globalThis<"u"&&(!((r=globalThis.perf_hooks)===null||r===void 0)&&r.performance)?(ls=!0,Sv=globalThis.perf_hooks.performance):ls=!1),ls}function rk(){return tk()?Sv.now():Date.now()}class nk{constructor(t,e){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=e;const n={};if(t.settings)for(const o in t.settings){const s=t.settings[o];n[o]=s.defaultValue}const a=`__vue-devtools-plugin-settings__${t.id}`;let i=Object.assign({},n);try{const o=localStorage.getItem(a),s=JSON.parse(o);Object.assign(i,s)}catch{}this.fallbacks={getSettings(){return i},setSettings(o){try{localStorage.setItem(a,JSON.stringify(o))}catch{}i=o},now(){return rk()}},e&&e.on(ek,(o,s)=>{o===this.plugin.id&&this.fallbacks.setSettings(s)}),this.proxiedOn=new Proxy({},{get:(o,s)=>this.target?this.target.on[s]:(...l)=>{this.onQueue.push({method:s,args:l})}}),this.proxiedTarget=new Proxy({},{get:(o,s)=>this.target?this.target[s]:s==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(s)?(...l)=>(this.targetQueue.push({method:s,args:l,resolve:()=>{}}),this.fallbacks[s](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:s,args:l,resolve:u})})})}async setRealTarget(t){this.target=t;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function Qy(r,t){const e=r,n=Jy(),a=K7(),i=J7&&e.enableEarlyProxy;if(a&&(n.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!i))a.emit(Q7,r,t);else{const o=i?new nk(e,a):null;(n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:e,setupFn:t,proxy:o}),o&&t(o.proxiedTarget)}}/*!
|
|
2
|
-
* pinia v2.2.8
|
|
3
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/let us;const Wl=r=>us=r,ak=()=>d.hasInjectionContext()&&d.inject(Cv)||us,Cv=process.env.NODE_ENV!=="production"?Symbol("pinia"):Symbol();function Di(r){return r&&typeof r=="object"&&Object.prototype.toString.call(r)==="[object Object]"&&typeof r.toJSON!="function"}var An;(function(r){r.direct="direct",r.patchObject="patch object",r.patchFunction="patch function"})(An||(An={}));const Ba=typeof window<"u",e4=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof global=="object"&&global.global===global?global:typeof globalThis=="object"?globalThis:{HTMLElement:null};function ik(r,{autoBom:t=!1}={}){return t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(r.type)?new Blob(["\uFEFF",r],{type:r.type}):r}function Ev(r,t,e){const n=new XMLHttpRequest;n.open("GET",r),n.responseType="blob",n.onload=function(){n4(n.response,t,e)},n.onerror=function(){console.error("could not download file")},n.send()}function t4(r){const t=new XMLHttpRequest;t.open("HEAD",r,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function pf(r){try{r.dispatchEvent(new MouseEvent("click"))}catch{const e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),r.dispatchEvent(e)}}const df=typeof navigator=="object"?navigator:{userAgent:""},r4=/Macintosh/.test(df.userAgent)&&/AppleWebKit/.test(df.userAgent)&&!/Safari/.test(df.userAgent),n4=Ba?typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype&&!r4?ok:"msSaveOrOpenBlob"in df?sk:lk:()=>{};function ok(r,t="download",e){const n=document.createElement("a");n.download=t,n.rel="noopener",typeof r=="string"?(n.href=r,n.origin!==location.origin?t4(n.href)?Ev(r,t,e):(n.target="_blank",pf(n)):pf(n)):(n.href=URL.createObjectURL(r),setTimeout(function(){URL.revokeObjectURL(n.href)},4e4),setTimeout(function(){pf(n)},0))}function sk(r,t="download",e){if(typeof r=="string")if(t4(r))Ev(r,t,e);else{const n=document.createElement("a");n.href=r,n.target="_blank",setTimeout(function(){pf(n)})}else navigator.msSaveOrOpenBlob(ik(r,e),t)}function lk(r,t,e,n){if(n=n||open("","_blank"),n&&(n.document.title=n.document.body.innerText="downloading..."),typeof r=="string")return Ev(r,t,e);const a=r.type==="application/octet-stream",i=/constructor/i.test(String(e4.HTMLElement))||"safari"in e4,o=/CriOS\/[\d]+/.test(navigator.userAgent);if((o||a&&i||r4)&&typeof FileReader<"u"){const s=new FileReader;s.onloadend=function(){let l=s.result;if(typeof l!="string")throw n=null,new Error("Wrong reader.result type");l=o?l:l.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=l:location.assign(l),n=null},s.readAsDataURL(r)}else{const s=URL.createObjectURL(r);n?n.location.assign(s):location.href=s,n=null,setTimeout(function(){URL.revokeObjectURL(s)},4e4)}}function It(r,t){const e="🍍 "+r;typeof __VUE_DEVTOOLS_TOAST__=="function"?__VUE_DEVTOOLS_TOAST__(e,t):t==="error"?console.error(e):t==="warn"?console.warn(e):console.log(e)}function Tv(r){return"_a"in r&&"install"in r}function a4(){if(!("clipboard"in navigator))return It("Your browser doesn't support the Clipboard API","error"),!0}function i4(r){return r instanceof Error&&r.message.toLowerCase().includes("document is not focused")?(It('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn"),!0):!1}async function uk(r){if(!a4())try{await navigator.clipboard.writeText(JSON.stringify(r.state.value)),It("Global state copied to clipboard.")}catch(t){if(i4(t))return;It("Failed to serialize the state. Check the console for more details.","error"),console.error(t)}}async function ck(r){if(!a4())try{o4(r,JSON.parse(await navigator.clipboard.readText())),It("Global state pasted from clipboard.")}catch(t){if(i4(t))return;It("Failed to deserialize the state from clipboard. Check the console for more details.","error"),console.error(t)}}async function fk(r){try{n4(new Blob([JSON.stringify(r.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(t){It("Failed to export the state as JSON. Check the console for more details.","error"),console.error(t)}}let oa;function hk(){oa||(oa=document.createElement("input"),oa.type="file",oa.accept=".json");function r(){return new Promise((t,e)=>{oa.onchange=async()=>{const n=oa.files;if(!n)return t(null);const a=n.item(0);return t(a?{text:await a.text(),file:a}:null)},oa.oncancel=()=>t(null),oa.onerror=e,oa.click()})}return r}async function pk(r){try{const e=await hk()();if(!e)return;const{text:n,file:a}=e;o4(r,JSON.parse(n)),It(`Global state imported from "${a.name}".`)}catch(t){It("Failed to import the state from JSON. Check the console for more details.","error"),console.error(t)}}function o4(r,t){for(const e in t){const n=r.state.value[e];n?Object.assign(n,t[e]):r.state.value[e]=t[e]}}function on(r){return{_custom:{display:r}}}const s4="🍍 Pinia (root)",vf="_root";function dk(r){return Tv(r)?{id:vf,label:s4}:{id:r.$id,label:r.$id}}function vk(r){if(Tv(r)){const e=Array.from(r._s.keys()),n=r._s;return{state:e.map(i=>({editable:!0,key:i,value:r.state.value[i]})),getters:e.filter(i=>n.get(i)._getters).map(i=>{const o=n.get(i);return{editable:!1,key:i,value:o._getters.reduce((s,l)=>(s[l]=o[l],s),{})}})}}const t={state:Object.keys(r.$state).map(e=>({editable:!0,key:e,value:r.$state[e]}))};return r._getters&&r._getters.length&&(t.getters=r._getters.map(e=>({editable:!1,key:e,value:r[e]}))),r._customProperties.size&&(t.customProperties=Array.from(r._customProperties).map(e=>({editable:!0,key:e,value:r[e]}))),t}function gk(r){return r?Array.isArray(r)?r.reduce((t,e)=>(t.keys.push(e.key),t.operations.push(e.type),t.oldValue[e.key]=e.oldValue,t.newValue[e.key]=e.newValue,t),{oldValue:{},keys:[],operations:[],newValue:{}}):{operation:on(r.type),key:on(r.key),oldValue:r.oldValue,newValue:r.newValue}:{}}function mk(r){switch(r){case An.direct:return"mutation";case An.patchFunction:return"$patch";case An.patchObject:return"$patch";default:return"unknown"}}let cs=!0;const gf=[],Ai="pinia:mutations",$t="pinia",{assign:_k}=Object,mf=r=>"🍍 "+r;function yk(r,t){Qy({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:gf,app:r},e=>{typeof e.now!="function"&&It("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."),e.addTimelineLayer({id:Ai,label:"Pinia 🍍",color:15064968}),e.addInspector({id:$t,label:"Pinia 🍍",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{uk(t)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await ck(t),e.sendInspectorTree($t),e.sendInspectorState($t)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{fk(t)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await pk(t),e.sendInspectorTree($t),e.sendInspectorState($t)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:n=>{const a=t._s.get(n);a?typeof a.$reset!="function"?It(`Cannot reset "${n}" store because it doesn't have a "$reset" method implemented.`,"warn"):(a.$reset(),It(`Store "${n}" reset.`)):It(`Cannot reset "${n}" store because it wasn't found.`,"warn")}}]}),e.on.inspectComponent((n,a)=>{const i=n.componentInstance&&n.componentInstance.proxy;if(i&&i._pStores){const o=n.componentInstance.proxy._pStores;Object.values(o).forEach(s=>{n.instanceData.state.push({type:mf(s.$id),key:"state",editable:!0,value:s._isOptionsAPI?{_custom:{value:d.toRaw(s.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>s.$reset()}]}}:Object.keys(s.$state).reduce((l,u)=>(l[u]=s.$state[u],l),{})}),s._getters&&s._getters.length&&n.instanceData.state.push({type:mf(s.$id),key:"getters",editable:!1,value:s._getters.reduce((l,u)=>{try{l[u]=s[u]}catch(c){l[u]=c}return l},{})})})}}),e.on.getInspectorTree(n=>{if(n.app===r&&n.inspectorId===$t){let a=[t];a=a.concat(Array.from(t._s.values())),n.rootNodes=(n.filter?a.filter(i=>"$id"in i?i.$id.toLowerCase().includes(n.filter.toLowerCase()):s4.toLowerCase().includes(n.filter.toLowerCase())):a).map(dk)}}),globalThis.$pinia=t,e.on.getInspectorState(n=>{if(n.app===r&&n.inspectorId===$t){const a=n.nodeId===vf?t:t._s.get(n.nodeId);if(!a)return;a&&(n.nodeId!==vf&&(globalThis.$store=d.toRaw(a)),n.state=vk(a))}}),e.on.editInspectorState((n,a)=>{if(n.app===r&&n.inspectorId===$t){const i=n.nodeId===vf?t:t._s.get(n.nodeId);if(!i)return It(`store "${n.nodeId}" not found`,"error");const{path:o}=n;Tv(i)?o.unshift("state"):(o.length!==1||!i._customProperties.has(o[0])||o[0]in i.$state)&&o.unshift("$state"),cs=!1,n.set(i,o,n.state.value),cs=!0}}),e.on.editComponentState(n=>{if(n.type.startsWith("🍍")){const a=n.type.replace(/^🍍\s*/,""),i=t._s.get(a);if(!i)return It(`store "${a}" not found`,"error");const{path:o}=n;if(o[0]!=="state")return It(`Invalid path for store "${a}":
|
|
6
|
-
${o}
|
|
7
|
-
Only state can be modified.`);o[0]="$state",cs=!1,n.set(i,o,n.state.value),cs=!0}})})}function wk(r,t){gf.includes(mf(t.$id))||gf.push(mf(t.$id)),Qy({id:"dev.esm.pinia",label:"Pinia 🍍",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:gf,app:r,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:!0}}},e=>{const n=typeof e.now=="function"?e.now.bind(e):Date.now;t.$onAction(({after:o,onError:s,name:l,args:u})=>{const c=l4++;e.addTimelineEvent({layerId:Ai,event:{time:n(),title:"🛫 "+l,subtitle:"start",data:{store:on(t.$id),action:on(l),args:u},groupId:c}}),o(f=>{Oa=void 0,e.addTimelineEvent({layerId:Ai,event:{time:n(),title:"🛬 "+l,subtitle:"end",data:{store:on(t.$id),action:on(l),args:u,result:f},groupId:c}})}),s(f=>{Oa=void 0,e.addTimelineEvent({layerId:Ai,event:{time:n(),logType:"error",title:"💥 "+l,subtitle:"end",data:{store:on(t.$id),action:on(l),args:u,error:f},groupId:c}})})},!0),t._customProperties.forEach(o=>{d.watch(()=>d.unref(t[o]),(s,l)=>{e.notifyComponentUpdate(),e.sendInspectorState($t),cs&&e.addTimelineEvent({layerId:Ai,event:{time:n(),title:"Change",subtitle:o,data:{newValue:s,oldValue:l},groupId:Oa}})},{deep:!0})}),t.$subscribe(({events:o,type:s},l)=>{if(e.notifyComponentUpdate(),e.sendInspectorState($t),!cs)return;const u={time:n(),title:mk(s),data:_k({store:on(t.$id)},gk(o)),groupId:Oa};s===An.patchFunction?u.subtitle="⤵️":s===An.patchObject?u.subtitle="🧩":o&&!Array.isArray(o)&&(u.subtitle=o.type),o&&(u.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:o}}),e.addTimelineEvent({layerId:Ai,event:u})},{detached:!0,flush:"sync"});const a=t._hotUpdate;t._hotUpdate=d.markRaw(o=>{a(o),e.addTimelineEvent({layerId:Ai,event:{time:n(),title:"🔥 "+t.$id,subtitle:"HMR update",data:{store:on(t.$id),info:on("HMR update")}}}),e.notifyComponentUpdate(),e.sendInspectorTree($t),e.sendInspectorState($t)});const{$dispose:i}=t;t.$dispose=()=>{i(),e.notifyComponentUpdate(),e.sendInspectorTree($t),e.sendInspectorState($t),e.getSettings().logStoreChanges&&It(`Disposed "${t.$id}" store 🗑`)},e.notifyComponentUpdate(),e.sendInspectorTree($t),e.sendInspectorState($t),e.getSettings().logStoreChanges&&It(`"${t.$id}" store installed 🆕`)})}let l4=0,Oa;function u4(r,t,e){const n=t.reduce((a,i)=>(a[i]=d.toRaw(r)[i],a),{});for(const a in n)r[a]=function(){const i=l4,o=e?new Proxy(r,{get(...l){return Oa=i,Reflect.get(...l)},set(...l){return Oa=i,Reflect.set(...l)}}):r;Oa=i;const s=n[a].apply(o,arguments);return Oa=void 0,s}}function xk({app:r,store:t,options:e}){if(!t.$id.startsWith("__hot:")){if(t._isOptionsAPI=!!e.state,!t._p._testing){u4(t,Object.keys(e.actions),t._isOptionsAPI);const n=t._hotUpdate;d.toRaw(t)._hotUpdate=function(a){n.apply(this,arguments),u4(t,Object.keys(a._hmrPayload.actions),!!t._isOptionsAPI)}}wk(r,t)}}function bk(){const r=d.effectScope(!0),t=r.run(()=>d.ref({}));let e=[],n=[];const a=d.markRaw({install(i){Wl(a),a._a=i,i.provide(Cv,a),i.config.globalProperties.$pinia=a,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ba&&yk(i,a),n.forEach(o=>e.push(o)),n=[]},use(i){return this._a?e.push(i):n.push(i),this},_p:e,_a:null,_e:r,_s:new Map,state:t});return process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ba&&typeof Proxy<"u"&&a.use(xk),a}function c4(r,t){for(const e in t){const n=t[e];if(!(e in r))continue;const a=r[e];Di(a)&&Di(n)&&!d.isRef(n)&&!d.isReactive(n)?r[e]=c4(a,n):r[e]=n}return r}const f4=()=>{};function h4(r,t,e,n=f4){r.push(t);const a=()=>{const i=r.indexOf(t);i>-1&&(r.splice(i,1),n())};return!e&&d.getCurrentScope()&&d.onScopeDispose(a),a}function fs(r,...t){r.slice().forEach(e=>{e(...t)})}const Sk=r=>r(),p4=Symbol(),Dv=Symbol();function Av(r,t){r instanceof Map&&t instanceof Map?t.forEach((e,n)=>r.set(n,e)):r instanceof Set&&t instanceof Set&&t.forEach(r.add,r);for(const e in t){if(!t.hasOwnProperty(e))continue;const n=t[e],a=r[e];Di(a)&&Di(n)&&r.hasOwnProperty(e)&&!d.isRef(n)&&!d.isReactive(n)?r[e]=Av(a,n):r[e]=n}return r}const Ck=process.env.NODE_ENV!=="production"?Symbol("pinia:skipHydration"):Symbol();function Ek(r){return!Di(r)||!r.hasOwnProperty(Ck)}const{assign:Nr}=Object;function d4(r){return!!(d.isRef(r)&&r.effect)}function v4(r,t,e,n){const{state:a,actions:i,getters:o}=t,s=e.state.value[r];let l;function u(){!s&&(process.env.NODE_ENV==="production"||!n)&&(e.state.value[r]=a?a():{});const c=process.env.NODE_ENV!=="production"&&n?d.toRefs(d.ref(a?a():{}).value):d.toRefs(e.state.value[r]);return Nr(c,i,Object.keys(o||{}).reduce((f,h)=>(process.env.NODE_ENV!=="production"&&h in c&&console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${h}" in store "${r}".`),f[h]=d.markRaw(d.computed(()=>{Wl(e);const p=e._s.get(r);return o[h].call(p,p)})),f),{}))}return l=Mv(r,u,t,e,n,!0),l}function Mv(r,t,e={},n,a,i){let o;const s=Nr({actions:{}},e);if(process.env.NODE_ENV!=="production"&&!n._e.active)throw new Error("Pinia destroyed");const l={deep:!0};process.env.NODE_ENV!=="production"&&(l.onTrigger=E=>{u?p=E:u==!1&&!C._hotUpdating&&(Array.isArray(p)?p.push(E):console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."))});let u,c,f=[],h=[],p;const v=n.state.value[r];!i&&!v&&(process.env.NODE_ENV==="production"||!a)&&(n.state.value[r]={});const m=d.ref({});let g;function _(E){let A;u=c=!1,process.env.NODE_ENV!=="production"&&(p=[]),typeof E=="function"?(E(n.state.value[r]),A={type:An.patchFunction,storeId:r,events:p}):(Av(n.state.value[r],E),A={type:An.patchObject,payload:E,storeId:r,events:p});const k=g=Symbol();d.nextTick().then(()=>{g===k&&(u=!0)}),c=!0,fs(f,A,n.state.value[r])}const y=i?function(){const{state:A}=e,k=A?A():{};this.$patch(I=>{Nr(I,k)})}:process.env.NODE_ENV!=="production"?()=>{throw new Error(`🍍: Store "${r}" is built using the setup syntax and does not implement $reset().`)}:f4;function w(){o.stop(),f=[],h=[],n._s.delete(r)}const x=(E,A="")=>{if(p4 in E)return E[Dv]=A,E;const k=function(){Wl(n);const I=Array.from(arguments),L=[],N=[];function P(B){L.push(B)}function V(B){N.push(B)}fs(h,{args:I,name:k[Dv],store:C,after:P,onError:V});let O;try{O=E.apply(this&&this.$id===r?this:C,I)}catch(B){throw fs(N,B),B}return O instanceof Promise?O.then(B=>(fs(L,B),B)).catch(B=>(fs(N,B),Promise.reject(B))):(fs(L,O),O)};return k[p4]=!0,k[Dv]=A,k},b=d.markRaw({actions:{},getters:{},state:[],hotState:m}),S={_p:n,$id:r,$onAction:h4.bind(null,h),$patch:_,$reset:y,$subscribe(E,A={}){const k=h4(f,E,A.detached,()=>I()),I=o.run(()=>d.watch(()=>n.state.value[r],L=>{(A.flush==="sync"?c:u)&&E({storeId:r,type:An.direct,events:p},L)},Nr({},l,A)));return k},$dispose:w},C=d.reactive(process.env.NODE_ENV!=="production"||process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ba?Nr({_hmrPayload:b,_customProperties:d.markRaw(new Set)},S):S);n._s.set(r,C);const T=(n._a&&n._a.runWithContext||Sk)(()=>n._e.run(()=>(o=d.effectScope()).run(()=>t({action:x}))));for(const E in T){const A=T[E];if(d.isRef(A)&&!d4(A)||d.isReactive(A))process.env.NODE_ENV!=="production"&&a?hf(m.value,E,d.toRef(T,E)):i||(v&&Ek(A)&&(d.isRef(A)?A.value=v[E]:Av(A,v[E])),n.state.value[r][E]=A),process.env.NODE_ENV!=="production"&&b.state.push(E);else if(typeof A=="function"){const k=process.env.NODE_ENV!=="production"&&a?A:x(A,E);T[E]=k,process.env.NODE_ENV!=="production"&&(b.actions[E]=A),s.actions[E]=A}else process.env.NODE_ENV!=="production"&&d4(A)&&(b.getters[E]=i?e.getters[E]:A,Ba&&(T._getters||(T._getters=d.markRaw([]))).push(E))}if(Nr(C,T),Nr(d.toRaw(C),T),Object.defineProperty(C,"$state",{get:()=>process.env.NODE_ENV!=="production"&&a?m.value:n.state.value[r],set:E=>{if(process.env.NODE_ENV!=="production"&&a)throw new Error("cannot set hotState");_(A=>{Nr(A,E)})}}),process.env.NODE_ENV!=="production"&&(C._hotUpdate=d.markRaw(E=>{C._hotUpdating=!0,E._hmrPayload.state.forEach(A=>{if(A in C.$state){const k=E.$state[A],I=C.$state[A];typeof k=="object"&&Di(k)&&Di(I)?c4(k,I):E.$state[A]=I}hf(C,A,d.toRef(E.$state,A))}),Object.keys(C.$state).forEach(A=>{A in E.$state||bv(C,A)}),u=!1,c=!1,n.state.value[r]=d.toRef(E._hmrPayload,"hotState"),c=!0,d.nextTick().then(()=>{u=!0});for(const A in E._hmrPayload.actions){const k=E[A];hf(C,A,x(k,A))}for(const A in E._hmrPayload.getters){const k=E._hmrPayload.getters[A],I=i?d.computed(()=>(Wl(n),k.call(C,C))):k;hf(C,A,I)}Object.keys(C._hmrPayload.getters).forEach(A=>{A in E._hmrPayload.getters||bv(C,A)}),Object.keys(C._hmrPayload.actions).forEach(A=>{A in E._hmrPayload.actions||bv(C,A)}),C._hmrPayload=E._hmrPayload,C._getters=E._getters,C._hotUpdating=!1})),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ba){const E={writable:!0,configurable:!0,enumerable:!1};["_p","_hmrPayload","_getters","_customProperties"].forEach(A=>{Object.defineProperty(C,A,Nr({value:C[A]},E))})}return n._p.forEach(E=>{if(process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&Ba){const A=o.run(()=>E({store:C,app:n._a,pinia:n,options:s}));Object.keys(A||{}).forEach(k=>C._customProperties.add(k)),Nr(C,A)}else Nr(C,o.run(()=>E({store:C,app:n._a,pinia:n,options:s})))}),process.env.NODE_ENV!=="production"&&C.$state&&typeof C.$state=="object"&&typeof C.$state.constructor=="function"&&!C.$state.constructor.toString().includes("[native code]")&&console.warn(`[🍍]: The "state" must be a plain object. It cannot be
|
|
8
|
-
state: () => new MyClass()
|
|
9
|
-
Found in store "${C.$id}".`),v&&i&&e.hydrate&&e.hydrate(C.$state,v),u=!0,c=!0,C}/*! #__NO_SIDE_EFFECTS__ */function _f(r,t,e){let n,a;const i=typeof t=="function";if(typeof r=="string")n=r,a=i?e:t;else if(a=r,n=r.id,process.env.NODE_ENV!=="production"&&typeof n!="string")throw new Error('[🍍]: "defineStore()" must be passed a store id as its first argument.');function o(s,l){const u=d.hasInjectionContext();if(s=(process.env.NODE_ENV==="test"&&us&&us._testing?null:s)||(u?d.inject(Cv,null):null),s&&Wl(s),process.env.NODE_ENV!=="production"&&!us)throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
|
|
10
|
-
See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
|
|
11
|
-
This will fail in production.`);s=us,s._s.has(n)||(i?Mv(n,t,a,s):v4(n,a,s),process.env.NODE_ENV!=="production"&&(o._pinia=s));const c=s._s.get(n);if(process.env.NODE_ENV!=="production"&&l){const f="__hot:"+n,h=i?Mv(f,t,a,s,!0):v4(f,Nr({},a),s,!0);l._hotUpdate(h),delete s.state.value[f],s._s.delete(f)}if(process.env.NODE_ENV!=="production"&&Ba){const f=d.getCurrentInstance();if(f&&f.proxy&&!l){const h=f.proxy,p="_pStores"in h?h._pStores:h._pStores={};p[n]=c}}return c}return o.$id=n,o}function Pr(r){{const t=d.toRaw(r),e={};for(const n in t){const a=t[n];a.effect?e[n]=d.computed({get:()=>r[n],set(i){r[n]=i}}):(d.isRef(a)||d.isReactive(a))&&(e[n]=d.toRef(r,n))}return e}}const g4=(r,t)=>{const e=r.storage||sessionStorage,n=r.key||t.$id;if(r.paths){const a=r.paths.reduce((i,o)=>(i[o]=t.$state[o],i),{});e.setItem(n,JSON.stringify(a))}else e.setItem(n,JSON.stringify(t.$state))};var Tk=({options:r,store:t})=>{var e,n,a,i;if((e=r.persist)!=null&&e.enabled){const o=[{key:t.$id,storage:sessionStorage}],s=(a=(n=r.persist)==null?void 0:n.strategies)!=null&&a.length?(i=r.persist)==null?void 0:i.strategies:o;s.forEach(l=>{const u=l.storage||sessionStorage,c=l.key||t.$id,f=u.getItem(c);f&&(t.$patch(JSON.parse(f)),g4(l,t))}),t.$subscribe(()=>{s.forEach(l=>{g4(l,t)})})}};const Vr=ak()||bk();Vr.use(Tk);/**!
|
|
12
|
-
* Sortable 1.15.6
|
|
13
|
-
* @author RubaXa <trash@rubaxa.org>
|
|
14
|
-
* @author owenm <owen23355@gmail.com>
|
|
15
|
-
* @license MIT
|
|
16
|
-
*/function m4(r,t){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(r,a).enumerable})),e.push.apply(e,n)}return e}function Mn(r){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?m4(Object(e),!0).forEach(function(n){Dk(r,n,e[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):m4(Object(e)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(e,n))})}return r}function yf(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?yf=function(t){return typeof t}:yf=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},yf(r)}function Dk(r,t,e){return t in r?Object.defineProperty(r,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):r[t]=e,r}function sa(){return sa=Object.assign||function(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n])}return r},sa.apply(this,arguments)}function Ak(r,t){if(r==null)return{};var e={},n=Object.keys(r),a,i;for(i=0;i<n.length;i++)a=n[i],!(t.indexOf(a)>=0)&&(e[a]=r[a]);return e}function Mk(r,t){if(r==null)return{};var e=Ak(r,t),n,a;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);for(a=0;a<i.length;a++)n=i[a],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(r,n)&&(e[n]=r[n])}return e}var kk="1.15.6";function la(r){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(r)}var ua=la(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ul=la(/Edge/i),_4=la(/firefox/i),Yl=la(/safari/i)&&!la(/chrome/i)&&!la(/android/i),kv=la(/iP(ad|od|hone)/i),y4=la(/chrome/i)&&la(/android/i),w4={capture:!1,passive:!1};function $e(r,t,e){r.addEventListener(t,e,!ua&&w4)}function He(r,t,e){r.removeEventListener(t,e,!ua&&w4)}function wf(r,t){if(t){if(t[0]===">"&&(t=t.substring(1)),r)try{if(r.matches)return r.matches(t);if(r.msMatchesSelector)return r.msMatchesSelector(t);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(t)}catch{return!1}return!1}}function x4(r){return r.host&&r!==document&&r.host.nodeType?r.host:r.parentNode}function sn(r,t,e,n){if(r){e=e||document;do{if(t!=null&&(t[0]===">"?r.parentNode===e&&wf(r,t):wf(r,t))||n&&r===e)return r;if(r===e)break}while(r=x4(r))}return null}var b4=/\s+/g;function Er(r,t,e){if(r&&t)if(r.classList)r.classList[e?"add":"remove"](t);else{var n=(" "+r.className+" ").replace(b4," ").replace(" "+t+" "," ");r.className=(n+(e?" "+t:"")).replace(b4," ")}}function Ce(r,t,e){var n=r&&r.style;if(n){if(e===void 0)return document.defaultView&&document.defaultView.getComputedStyle?e=document.defaultView.getComputedStyle(r,""):r.currentStyle&&(e=r.currentStyle),t===void 0?e:e[t];!(t in n)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),n[t]=e+(typeof e=="string"?"":"px")}}function hs(r,t){var e="";if(typeof r=="string")e=r;else do{var n=Ce(r,"transform");n&&n!=="none"&&(e=n+" "+e)}while(!t&&(r=r.parentNode));var a=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return a&&new a(e)}function S4(r,t,e){if(r){var n=r.getElementsByTagName(t),a=0,i=n.length;if(e)for(;a<i;a++)e(n[a],a);return n}return[]}function kn(){var r=document.scrollingElement;return r||document.documentElement}function bt(r,t,e,n,a){if(!(!r.getBoundingClientRect&&r!==window)){var i,o,s,l,u,c,f;if(r!==window&&r.parentNode&&r!==kn()?(i=r.getBoundingClientRect(),o=i.top,s=i.left,l=i.bottom,u=i.right,c=i.height,f=i.width):(o=0,s=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,f=window.innerWidth),(t||e)&&r!==window&&(a=a||r.parentNode,!ua))do if(a&&a.getBoundingClientRect&&(Ce(a,"transform")!=="none"||e&&Ce(a,"position")!=="static")){var h=a.getBoundingClientRect();o-=h.top+parseInt(Ce(a,"border-top-width")),s-=h.left+parseInt(Ce(a,"border-left-width")),l=o+i.height,u=s+i.width;break}while(a=a.parentNode);if(n&&r!==window){var p=hs(a||r),v=p&&p.a,m=p&&p.d;p&&(o/=m,s/=v,f/=v,c/=m,l=o+c,u=s+f)}return{top:o,left:s,bottom:l,right:u,width:f,height:c}}}function C4(r,t,e){for(var n=Ra(r,!0),a=bt(r)[t];n;){var i=bt(n)[e],o=void 0;if(o=a>=i,!o)return n;if(n===kn())break;n=Ra(n,!1)}return!1}function ps(r,t,e,n){for(var a=0,i=0,o=r.children;i<o.length;){if(o[i].style.display!=="none"&&o[i]!==be.ghost&&(n||o[i]!==be.dragged)&&sn(o[i],e.draggable,r,!1)){if(a===t)return o[i];a++}i++}return null}function Lv(r,t){for(var e=r.lastElementChild;e&&(e===be.ghost||Ce(e,"display")==="none"||t&&!wf(e,t));)e=e.previousElementSibling;return e||null}function Br(r,t){var e=0;if(!r||!r.parentNode)return-1;for(;r=r.previousElementSibling;)r.nodeName.toUpperCase()!=="TEMPLATE"&&r!==be.clone&&(!t||wf(r,t))&&e++;return e}function E4(r){var t=0,e=0,n=kn();if(r)do{var a=hs(r),i=a.a,o=a.d;t+=r.scrollLeft*i,e+=r.scrollTop*o}while(r!==n&&(r=r.parentNode));return[t,e]}function Lk(r,t){for(var e in r)if(r.hasOwnProperty(e)){for(var n in t)if(t.hasOwnProperty(n)&&t[n]===r[e][n])return Number(e)}return-1}function Ra(r,t){if(!r||!r.getBoundingClientRect)return kn();var e=r,n=!1;do if(e.clientWidth<e.scrollWidth||e.clientHeight<e.scrollHeight){var a=Ce(e);if(e.clientWidth<e.scrollWidth&&(a.overflowX=="auto"||a.overflowX=="scroll")||e.clientHeight<e.scrollHeight&&(a.overflowY=="auto"||a.overflowY=="scroll")){if(!e.getBoundingClientRect||e===document.body)return kn();if(n||t)return e;n=!0}}while(e=e.parentNode);return kn()}function Ik(r,t){if(r&&t)for(var e in t)t.hasOwnProperty(e)&&(r[e]=t[e]);return r}function Iv(r,t){return Math.round(r.top)===Math.round(t.top)&&Math.round(r.left)===Math.round(t.left)&&Math.round(r.height)===Math.round(t.height)&&Math.round(r.width)===Math.round(t.width)}var jl;function T4(r,t){return function(){if(!jl){var e=arguments,n=this;e.length===1?r.call(n,e[0]):r.apply(n,e),jl=setTimeout(function(){jl=void 0},t)}}}function Nk(){clearTimeout(jl),jl=void 0}function D4(r,t,e){r.scrollLeft+=t,r.scrollTop+=e}function A4(r){var t=window.Polymer,e=window.jQuery||window.Zepto;return t&&t.dom?t.dom(r).cloneNode(!0):e?e(r).clone(!0)[0]:r.cloneNode(!0)}function M4(r,t,e){var n={};return Array.from(r.children).forEach(function(a){var i,o,s,l;if(!(!sn(a,t.draggable,r,!1)||a.animated||a===e)){var u=bt(a);n.left=Math.min((i=n.left)!==null&&i!==void 0?i:1/0,u.left),n.top=Math.min((o=n.top)!==null&&o!==void 0?o:1/0,u.top),n.right=Math.max((s=n.right)!==null&&s!==void 0?s:-1/0,u.right),n.bottom=Math.max((l=n.bottom)!==null&&l!==void 0?l:-1/0,u.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var gr="Sortable"+new Date().getTime();function Pk(){var r=[],t;return{captureAnimationState:function(){if(r=[],!!this.options.animation){var n=[].slice.call(this.el.children);n.forEach(function(a){if(!(Ce(a,"display")==="none"||a===be.ghost)){r.push({target:a,rect:bt(a)});var i=Mn({},r[r.length-1].rect);if(a.thisAnimationDuration){var o=hs(a,!0);o&&(i.top-=o.f,i.left-=o.e)}a.fromRect=i}})}},addAnimationState:function(n){r.push(n)},removeAnimationState:function(n){r.splice(Lk(r,{target:n}),1)},animateAll:function(n){var a=this;if(!this.options.animation){clearTimeout(t),typeof n=="function"&&n();return}var i=!1,o=0;r.forEach(function(s){var l=0,u=s.target,c=u.fromRect,f=bt(u),h=u.prevFromRect,p=u.prevToRect,v=s.rect,m=hs(u,!0);m&&(f.top-=m.f,f.left-=m.e),u.toRect=f,u.thisAnimationDuration&&Iv(h,f)&&!Iv(c,f)&&(v.top-f.top)/(v.left-f.left)===(c.top-f.top)/(c.left-f.left)&&(l=Bk(v,h,p,a.options)),Iv(f,c)||(u.prevFromRect=c,u.prevToRect=f,l||(l=a.options.animation),a.animate(u,v,f,l)),l&&(i=!0,o=Math.max(o,l),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},l),u.thisAnimationDuration=l)}),clearTimeout(t),i?t=setTimeout(function(){typeof n=="function"&&n()},o):typeof n=="function"&&n(),r=[]},animate:function(n,a,i,o){if(o){Ce(n,"transition",""),Ce(n,"transform","");var s=hs(this.el),l=s&&s.a,u=s&&s.d,c=(a.left-i.left)/(l||1),f=(a.top-i.top)/(u||1);n.animatingX=!!c,n.animatingY=!!f,Ce(n,"transform","translate3d("+c+"px,"+f+"px,0)"),this.forRepaintDummy=Vk(n),Ce(n,"transition","transform "+o+"ms"+(this.options.easing?" "+this.options.easing:"")),Ce(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){Ce(n,"transition",""),Ce(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},o)}}}}function Vk(r){return r.offsetWidth}function Bk(r,t,e,n){return Math.sqrt(Math.pow(t.top-r.top,2)+Math.pow(t.left-r.left,2))/Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))*n.animation}var ds=[],Nv={initializeByDefault:!0},Xl={mount:function(t){for(var e in Nv)Nv.hasOwnProperty(e)&&!(e in t)&&(t[e]=Nv[e]);ds.forEach(function(n){if(n.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),ds.push(t)},pluginEvent:function(t,e,n){var a=this;this.eventCanceled=!1,n.cancel=function(){a.eventCanceled=!0};var i=t+"Global";ds.forEach(function(o){e[o.pluginName]&&(e[o.pluginName][i]&&e[o.pluginName][i](Mn({sortable:e},n)),e.options[o.pluginName]&&e[o.pluginName][t]&&e[o.pluginName][t](Mn({sortable:e},n)))})},initializePlugins:function(t,e,n,a){ds.forEach(function(s){var l=s.pluginName;if(!(!t.options[l]&&!s.initializeByDefault)){var u=new s(t,e,t.options);u.sortable=t,u.options=t.options,t[l]=u,sa(n,u.defaults)}});for(var i in t.options)if(t.options.hasOwnProperty(i)){var o=this.modifyOption(t,i,t.options[i]);typeof o<"u"&&(t.options[i]=o)}},getEventProperties:function(t,e){var n={};return ds.forEach(function(a){typeof a.eventProperties=="function"&&sa(n,a.eventProperties.call(e[a.pluginName],t))}),n},modifyOption:function(t,e,n){var a;return ds.forEach(function(i){t[i.pluginName]&&i.optionListeners&&typeof i.optionListeners[e]=="function"&&(a=i.optionListeners[e].call(t[i.pluginName],n))}),a}};function Ok(r){var t=r.sortable,e=r.rootEl,n=r.name,a=r.targetEl,i=r.cloneEl,o=r.toEl,s=r.fromEl,l=r.oldIndex,u=r.newIndex,c=r.oldDraggableIndex,f=r.newDraggableIndex,h=r.originalEvent,p=r.putSortable,v=r.extraEventProperties;if(t=t||e&&e[gr],!!t){var m,g=t.options,_="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!ua&&!Ul?m=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(m=document.createEvent("Event"),m.initEvent(n,!0,!0)),m.to=o||e,m.from=s||e,m.item=a||e,m.clone=i,m.oldIndex=l,m.newIndex=u,m.oldDraggableIndex=c,m.newDraggableIndex=f,m.originalEvent=h,m.pullMode=p?p.lastPutMode:void 0;var y=Mn(Mn({},v),Xl.getEventProperties(n,t));for(var w in y)m[w]=y[w];e&&e.dispatchEvent(m),g[_]&&g[_].call(t,m)}}var Rk=["evt"],mr=function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.evt,i=Mk(n,Rk);Xl.pluginEvent.bind(be)(t,e,Mn({dragEl:te,parentEl:ct,ghostEl:Le,rootEl:st,nextEl:Mi,lastDownEl:xf,cloneEl:lt,cloneHidden:za,dragStarted:Zl,putSortable:Bt,activeSortable:be.active,originalEvent:a,oldIndex:vs,oldDraggableIndex:ql,newIndex:Tr,newDraggableIndex:Ha,hideGhostForTarget:B4,unhideGhostForTarget:O4,cloneNowHidden:function(){za=!0},cloneNowShown:function(){za=!1},dispatchSortableEvent:function(s){Qt({sortable:e,name:s,originalEvent:a})}},i))};function Qt(r){Ok(Mn({putSortable:Bt,cloneEl:lt,targetEl:te,rootEl:st,oldIndex:vs,oldDraggableIndex:ql,newIndex:Tr,newDraggableIndex:Ha},r))}var te,ct,Le,st,Mi,xf,lt,za,vs,Tr,ql,Ha,bf,Bt,gs=!1,Sf=!1,Cf=[],ki,ln,Pv,Vv,k4,L4,Zl,ms,Kl,Jl=!1,Ef=!1,Tf,Wt,Bv=[],Ov=!1,Df=[],Af=typeof document<"u",Mf=kv,I4=Ul||ua?"cssFloat":"float",zk=Af&&!y4&&!kv&&"draggable"in document.createElement("div"),N4=function(){if(Af){if(ua)return!1;var r=document.createElement("x");return r.style.cssText="pointer-events:auto",r.style.pointerEvents==="auto"}}(),P4=function(t,e){var n=Ce(t),a=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=ps(t,0,e),o=ps(t,1,e),s=i&&Ce(i),l=o&&Ce(o),u=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+bt(i).width,c=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+bt(o).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(i&&s.float&&s.float!=="none"){var f=s.float==="left"?"left":"right";return o&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return i&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||u>=a&&n[I4]==="none"||o&&n[I4]==="none"&&u+c>a)?"vertical":"horizontal"},Hk=function(t,e,n){var a=n?t.left:t.top,i=n?t.right:t.bottom,o=n?t.width:t.height,s=n?e.left:e.top,l=n?e.right:e.bottom,u=n?e.width:e.height;return a===s||i===l||a+o/2===s+u/2},Fk=function(t,e){var n;return Cf.some(function(a){var i=a[gr].options.emptyInsertThreshold;if(!(!i||Lv(a))){var o=bt(a),s=t>=o.left-i&&t<=o.right+i,l=e>=o.top-i&&e<=o.bottom+i;if(s&&l)return n=a}}),n},V4=function(t){function e(i,o){return function(s,l,u,c){var f=s.options.group.name&&l.options.group.name&&s.options.group.name===l.options.group.name;if(i==null&&(o||f))return!0;if(i==null||i===!1)return!1;if(o&&i==="clone")return i;if(typeof i=="function")return e(i(s,l,u,c),o)(s,l,u,c);var h=(o?s:l).options.group.name;return i===!0||typeof i=="string"&&i===h||i.join&&i.indexOf(h)>-1}}var n={},a=t.group;(!a||yf(a)!="object")&&(a={name:a}),n.name=a.name,n.checkPull=e(a.pull,!0),n.checkPut=e(a.put),n.revertClone=a.revertClone,t.group=n},B4=function(){!N4&&Le&&Ce(Le,"display","none")},O4=function(){!N4&&Le&&Ce(Le,"display","")};Af&&!y4&&document.addEventListener("click",function(r){if(Sf)return r.preventDefault(),r.stopPropagation&&r.stopPropagation(),r.stopImmediatePropagation&&r.stopImmediatePropagation(),Sf=!1,!1},!0);var Li=function(t){if(te){t=t.touches?t.touches[0]:t;var e=Fk(t.clientX,t.clientY);if(e){var n={};for(var a in t)t.hasOwnProperty(a)&&(n[a]=t[a]);n.target=n.rootEl=e,n.preventDefault=void 0,n.stopPropagation=void 0,e[gr]._onDragOver(n)}}},Gk=function(t){te&&te.parentNode[gr]._isOutsideThisEl(t.target)};function be(r,t){if(!(r&&r.nodeType&&r.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(r));this.el=r,this.options=t=sa({},t),r[gr]=this;var e={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(r.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return P4(r,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(o,s){o.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:be.supportPointer!==!1&&"PointerEvent"in window&&(!Yl||kv),emptyInsertThreshold:5};Xl.initializePlugins(this,r,e);for(var n in e)!(n in t)&&(t[n]=e[n]);V4(t);for(var a in this)a.charAt(0)==="_"&&typeof this[a]=="function"&&(this[a]=this[a].bind(this));this.nativeDraggable=t.forceFallback?!1:zk,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?$e(r,"pointerdown",this._onTapStart):($e(r,"mousedown",this._onTapStart),$e(r,"touchstart",this._onTapStart)),this.nativeDraggable&&($e(r,"dragover",this),$e(r,"dragenter",this)),Cf.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),sa(this,Pk())}be.prototype={constructor:be,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(ms=null)},_getDirection:function(t,e){return typeof this.options.direction=="function"?this.options.direction.call(this,t,e,te):this.options.direction},_onTapStart:function(t){if(t.cancelable){var e=this,n=this.el,a=this.options,i=a.preventOnFilter,o=t.type,s=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(s||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,c=a.filter;if(Zk(n),!te&&!(/mousedown|pointerdown/.test(o)&&t.button!==0||a.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Yl&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=sn(l,a.draggable,n,!1),!(l&&l.animated)&&xf!==l)){if(vs=Br(l),ql=Br(l,a.draggable),typeof c=="function"){if(c.call(this,t,l,this)){Qt({sortable:e,rootEl:u,name:"filter",targetEl:l,toEl:n,fromEl:n}),mr("filter",e,{evt:t}),i&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(f){if(f=sn(u,f.trim(),n,!1),f)return Qt({sortable:e,rootEl:f,name:"filter",targetEl:l,fromEl:n,toEl:n}),mr("filter",e,{evt:t}),!0}),c)){i&&t.preventDefault();return}a.handle&&!sn(u,a.handle,n,!1)||this._prepareDragStart(t,s,l)}}},_prepareDragStart:function(t,e,n){var a=this,i=a.el,o=a.options,s=i.ownerDocument,l;if(n&&!te&&n.parentNode===i){var u=bt(n);if(st=i,te=n,ct=te.parentNode,Mi=te.nextSibling,xf=n,bf=o.group,be.dragged=te,ki={target:te,clientX:(e||t).clientX,clientY:(e||t).clientY},k4=ki.clientX-u.left,L4=ki.clientY-u.top,this._lastX=(e||t).clientX,this._lastY=(e||t).clientY,te.style["will-change"]="all",l=function(){if(mr("delayEnded",a,{evt:t}),be.eventCanceled){a._onDrop();return}a._disableDelayedDragEvents(),!_4&&a.nativeDraggable&&(te.draggable=!0),a._triggerDragStart(t,e),Qt({sortable:a,name:"choose",originalEvent:t}),Er(te,o.chosenClass,!0)},o.ignore.split(",").forEach(function(c){S4(te,c.trim(),Rv)}),$e(s,"dragover",Li),$e(s,"mousemove",Li),$e(s,"touchmove",Li),o.supportPointer?($e(s,"pointerup",a._onDrop),!this.nativeDraggable&&$e(s,"pointercancel",a._onDrop)):($e(s,"mouseup",a._onDrop),$e(s,"touchend",a._onDrop),$e(s,"touchcancel",a._onDrop)),_4&&this.nativeDraggable&&(this.options.touchStartThreshold=4,te.draggable=!0),mr("delayStart",this,{evt:t}),o.delay&&(!o.delayOnTouchOnly||e)&&(!this.nativeDraggable||!(Ul||ua))){if(be.eventCanceled){this._onDrop();return}o.supportPointer?($e(s,"pointerup",a._disableDelayedDrag),$e(s,"pointercancel",a._disableDelayedDrag)):($e(s,"mouseup",a._disableDelayedDrag),$e(s,"touchend",a._disableDelayedDrag),$e(s,"touchcancel",a._disableDelayedDrag)),$e(s,"mousemove",a._delayedDragTouchMoveHandler),$e(s,"touchmove",a._delayedDragTouchMoveHandler),o.supportPointer&&$e(s,"pointermove",a._delayedDragTouchMoveHandler),a._dragStartTimer=setTimeout(l,o.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var e=t.touches?t.touches[0]:t;Math.max(Math.abs(e.clientX-this._lastX),Math.abs(e.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){te&&Rv(te),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;He(t,"mouseup",this._disableDelayedDrag),He(t,"touchend",this._disableDelayedDrag),He(t,"touchcancel",this._disableDelayedDrag),He(t,"pointerup",this._disableDelayedDrag),He(t,"pointercancel",this._disableDelayedDrag),He(t,"mousemove",this._delayedDragTouchMoveHandler),He(t,"touchmove",this._delayedDragTouchMoveHandler),He(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,e){e=e||t.pointerType=="touch"&&t,!this.nativeDraggable||e?this.options.supportPointer?$e(document,"pointermove",this._onTouchMove):e?$e(document,"touchmove",this._onTouchMove):$e(document,"mousemove",this._onTouchMove):($e(te,"dragend",this),$e(st,"dragstart",this._onDragStart));try{document.selection?Lf(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,e){if(gs=!1,st&&te){mr("dragStarted",this,{evt:e}),this.nativeDraggable&&$e(document,"dragover",Gk);var n=this.options;!t&&Er(te,n.dragClass,!1),Er(te,n.ghostClass,!0),be.active=this,t&&this._appendGhost(),Qt({sortable:this,name:"start",originalEvent:e})}else this._nulling()},_emulateDragOver:function(){if(ln){this._lastX=ln.clientX,this._lastY=ln.clientY,B4();for(var t=document.elementFromPoint(ln.clientX,ln.clientY),e=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(ln.clientX,ln.clientY),t!==e);)e=t;if(te.parentNode[gr]._isOutsideThisEl(t),e)do{if(e[gr]){var n=void 0;if(n=e[gr]._onDragOver({clientX:ln.clientX,clientY:ln.clientY,target:t,rootEl:e}),n&&!this.options.dragoverBubble)break}t=e}while(e=x4(e));O4()}},_onTouchMove:function(t){if(ki){var e=this.options,n=e.fallbackTolerance,a=e.fallbackOffset,i=t.touches?t.touches[0]:t,o=Le&&hs(Le,!0),s=Le&&o&&o.a,l=Le&&o&&o.d,u=Mf&&Wt&&E4(Wt),c=(i.clientX-ki.clientX+a.x)/(s||1)+(u?u[0]-Bv[0]:0)/(s||1),f=(i.clientY-ki.clientY+a.y)/(l||1)+(u?u[1]-Bv[1]:0)/(l||1);if(!be.active&&!gs){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(t,!0)}if(Le){o?(o.e+=c-(Pv||0),o.f+=f-(Vv||0)):o={a:1,b:0,c:0,d:1,e:c,f};var h="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");Ce(Le,"webkitTransform",h),Ce(Le,"mozTransform",h),Ce(Le,"msTransform",h),Ce(Le,"transform",h),Pv=c,Vv=f,ln=i}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Le){var t=this.options.fallbackOnBody?document.body:st,e=bt(te,!0,Mf,!0,t),n=this.options;if(Mf){for(Wt=t;Ce(Wt,"position")==="static"&&Ce(Wt,"transform")==="none"&&Wt!==document;)Wt=Wt.parentNode;Wt!==document.body&&Wt!==document.documentElement?(Wt===document&&(Wt=kn()),e.top+=Wt.scrollTop,e.left+=Wt.scrollLeft):Wt=kn(),Bv=E4(Wt)}Le=te.cloneNode(!0),Er(Le,n.ghostClass,!1),Er(Le,n.fallbackClass,!0),Er(Le,n.dragClass,!0),Ce(Le,"transition",""),Ce(Le,"transform",""),Ce(Le,"box-sizing","border-box"),Ce(Le,"margin",0),Ce(Le,"top",e.top),Ce(Le,"left",e.left),Ce(Le,"width",e.width),Ce(Le,"height",e.height),Ce(Le,"opacity","0.8"),Ce(Le,"position",Mf?"absolute":"fixed"),Ce(Le,"zIndex","100000"),Ce(Le,"pointerEvents","none"),be.ghost=Le,t.appendChild(Le),Ce(Le,"transform-origin",k4/parseInt(Le.style.width)*100+"% "+L4/parseInt(Le.style.height)*100+"%")}},_onDragStart:function(t,e){var n=this,a=t.dataTransfer,i=n.options;if(mr("dragStart",this,{evt:t}),be.eventCanceled){this._onDrop();return}mr("setupClone",this),be.eventCanceled||(lt=A4(te),lt.removeAttribute("id"),lt.draggable=!1,lt.style["will-change"]="",this._hideClone(),Er(lt,this.options.chosenClass,!1),be.clone=lt),n.cloneId=Lf(function(){mr("clone",n),!be.eventCanceled&&(n.options.removeCloneOnHide||st.insertBefore(lt,te),n._hideClone(),Qt({sortable:n,name:"clone"}))}),!e&&Er(te,i.dragClass,!0),e?(Sf=!0,n._loopId=setInterval(n._emulateDragOver,50)):(He(document,"mouseup",n._onDrop),He(document,"touchend",n._onDrop),He(document,"touchcancel",n._onDrop),a&&(a.effectAllowed="move",i.setData&&i.setData.call(n,a,te)),$e(document,"drop",n),Ce(te,"transform","translateZ(0)")),gs=!0,n._dragStartId=Lf(n._dragStarted.bind(n,e,t)),$e(document,"selectstart",n),Zl=!0,window.getSelection().removeAllRanges(),Yl&&Ce(document.body,"user-select","none")},_onDragOver:function(t){var e=this.el,n=t.target,a,i,o,s=this.options,l=s.group,u=be.active,c=bf===l,f=s.sort,h=Bt||u,p,v=this,m=!1;if(Ov)return;function g(O,B){mr(O,v,Mn({evt:t,isOwner:c,axis:p?"vertical":"horizontal",revert:o,dragRect:a,targetRect:i,canSort:f,fromSortable:h,target:n,completed:y,onMove:function(z,H){return kf(st,e,te,a,z,bt(z),t,H)},changed:w},B))}function _(){g("dragOverAnimationCapture"),v.captureAnimationState(),v!==h&&h.captureAnimationState()}function y(O){return g("dragOverCompleted",{insertion:O}),O&&(c?u._hideClone():u._showClone(v),v!==h&&(Er(te,Bt?Bt.options.ghostClass:u.options.ghostClass,!1),Er(te,s.ghostClass,!0)),Bt!==v&&v!==be.active?Bt=v:v===be.active&&Bt&&(Bt=null),h===v&&(v._ignoreWhileAnimating=n),v.animateAll(function(){g("dragOverAnimationComplete"),v._ignoreWhileAnimating=null}),v!==h&&(h.animateAll(),h._ignoreWhileAnimating=null)),(n===te&&!te.animated||n===e&&!n.animated)&&(ms=null),!s.dragoverBubble&&!t.rootEl&&n!==document&&(te.parentNode[gr]._isOutsideThisEl(t.target),!O&&Li(t)),!s.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),m=!0}function w(){Tr=Br(te),Ha=Br(te,s.draggable),Qt({sortable:v,name:"change",toEl:e,newIndex:Tr,newDraggableIndex:Ha,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),n=sn(n,s.draggable,e,!0),g("dragOver"),be.eventCanceled)return m;if(te.contains(t.target)||n.animated&&n.animatingX&&n.animatingY||v._ignoreWhileAnimating===n)return y(!1);if(Sf=!1,u&&!s.disabled&&(c?f||(o=ct!==st):Bt===this||(this.lastPutMode=bf.checkPull(this,u,te,t))&&l.checkPut(this,u,te,t))){if(p=this._getDirection(t,n)==="vertical",a=bt(te),g("dragOverValid"),be.eventCanceled)return m;if(o)return ct=st,_(),this._hideClone(),g("revert"),be.eventCanceled||(Mi?st.insertBefore(te,Mi):st.appendChild(te)),y(!0);var x=Lv(e,s.draggable);if(!x||Yk(t,p,this)&&!x.animated){if(x===te)return y(!1);if(x&&e===t.target&&(n=x),n&&(i=bt(n)),kf(st,e,te,a,n,i,t,!!n)!==!1)return _(),x&&x.nextSibling?e.insertBefore(te,x.nextSibling):e.appendChild(te),ct=e,w(),y(!0)}else if(x&&Uk(t,p,this)){var b=ps(e,0,s,!0);if(b===te)return y(!1);if(n=b,i=bt(n),kf(st,e,te,a,n,i,t,!1)!==!1)return _(),e.insertBefore(te,b),ct=e,w(),y(!0)}else if(n.parentNode===e){i=bt(n);var S=0,C,D=te.parentNode!==e,T=!Hk(te.animated&&te.toRect||a,n.animated&&n.toRect||i,p),E=p?"top":"left",A=C4(n,"top","top")||C4(te,"top","top"),k=A?A.scrollTop:void 0;ms!==n&&(C=i[E],Jl=!1,Ef=!T&&s.invertSwap||D),S=jk(t,n,i,p,T?1:s.swapThreshold,s.invertedSwapThreshold==null?s.swapThreshold:s.invertedSwapThreshold,Ef,ms===n);var I;if(S!==0){var L=Br(te);do L-=S,I=ct.children[L];while(I&&(Ce(I,"display")==="none"||I===Le))}if(S===0||I===n)return y(!1);ms=n,Kl=S;var N=n.nextElementSibling,P=!1;P=S===1;var V=kf(st,e,te,a,n,i,t,P);if(V!==!1)return(V===1||V===-1)&&(P=V===1),Ov=!0,setTimeout(Wk,30),_(),P&&!N?e.appendChild(te):n.parentNode.insertBefore(te,P?N:n),A&&D4(A,0,k-A.scrollTop),ct=te.parentNode,C!==void 0&&!Ef&&(Tf=Math.abs(C-bt(n)[E])),w(),y(!0)}if(e.contains(te))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){He(document,"mousemove",this._onTouchMove),He(document,"touchmove",this._onTouchMove),He(document,"pointermove",this._onTouchMove),He(document,"dragover",Li),He(document,"mousemove",Li),He(document,"touchmove",Li)},_offUpEvents:function(){var t=this.el.ownerDocument;He(t,"mouseup",this._onDrop),He(t,"touchend",this._onDrop),He(t,"pointerup",this._onDrop),He(t,"pointercancel",this._onDrop),He(t,"touchcancel",this._onDrop),He(document,"selectstart",this)},_onDrop:function(t){var e=this.el,n=this.options;if(Tr=Br(te),Ha=Br(te,n.draggable),mr("drop",this,{evt:t}),ct=te&&te.parentNode,Tr=Br(te),Ha=Br(te,n.draggable),be.eventCanceled){this._nulling();return}gs=!1,Ef=!1,Jl=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),zv(this.cloneId),zv(this._dragStartId),this.nativeDraggable&&(He(document,"drop",this),He(e,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Yl&&Ce(document.body,"user-select",""),Ce(te,"transform",""),t&&(Zl&&(t.cancelable&&t.preventDefault(),!n.dropBubble&&t.stopPropagation()),Le&&Le.parentNode&&Le.parentNode.removeChild(Le),(st===ct||Bt&&Bt.lastPutMode!=="clone")&<&<.parentNode&<.parentNode.removeChild(lt),te&&(this.nativeDraggable&&He(te,"dragend",this),Rv(te),te.style["will-change"]="",Zl&&!gs&&Er(te,Bt?Bt.options.ghostClass:this.options.ghostClass,!1),Er(te,this.options.chosenClass,!1),Qt({sortable:this,name:"unchoose",toEl:ct,newIndex:null,newDraggableIndex:null,originalEvent:t}),st!==ct?(Tr>=0&&(Qt({rootEl:ct,name:"add",toEl:ct,fromEl:st,originalEvent:t}),Qt({sortable:this,name:"remove",toEl:ct,originalEvent:t}),Qt({rootEl:ct,name:"sort",toEl:ct,fromEl:st,originalEvent:t}),Qt({sortable:this,name:"sort",toEl:ct,originalEvent:t})),Bt&&Bt.save()):Tr!==vs&&Tr>=0&&(Qt({sortable:this,name:"update",toEl:ct,originalEvent:t}),Qt({sortable:this,name:"sort",toEl:ct,originalEvent:t})),be.active&&((Tr==null||Tr===-1)&&(Tr=vs,Ha=ql),Qt({sortable:this,name:"end",toEl:ct,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){mr("nulling",this),st=te=ct=Le=Mi=lt=xf=za=ki=ln=Zl=Tr=Ha=vs=ql=ms=Kl=Bt=bf=be.dragged=be.ghost=be.clone=be.active=null,Df.forEach(function(t){t.checked=!0}),Df.length=Pv=Vv=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":te&&(this._onDragOver(t),$k(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],e,n=this.el.children,a=0,i=n.length,o=this.options;a<i;a++)e=n[a],sn(e,o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||qk(e));return t},sort:function(t,e){var n={},a=this.el;this.toArray().forEach(function(i,o){var s=a.children[o];sn(s,this.options.draggable,a,!1)&&(n[i]=s)},this),e&&this.captureAnimationState(),t.forEach(function(i){n[i]&&(a.removeChild(n[i]),a.appendChild(n[i]))}),e&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,e){return sn(t,e||this.options.draggable,this.el,!1)},option:function(t,e){var n=this.options;if(e===void 0)return n[t];var a=Xl.modifyOption(this,t,e);typeof a<"u"?n[t]=a:n[t]=e,t==="group"&&V4(n)},destroy:function(){mr("destroy",this);var t=this.el;t[gr]=null,He(t,"mousedown",this._onTapStart),He(t,"touchstart",this._onTapStart),He(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(He(t,"dragover",this),He(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Cf.splice(Cf.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!za){if(mr("hideClone",this),be.eventCanceled)return;Ce(lt,"display","none"),this.options.removeCloneOnHide&<.parentNode&<.parentNode.removeChild(lt),za=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(za){if(mr("showClone",this),be.eventCanceled)return;te.parentNode==st&&!this.options.group.revertClone?st.insertBefore(lt,te):Mi?st.insertBefore(lt,Mi):st.appendChild(lt),this.options.group.revertClone&&this.animate(te,lt),Ce(lt,"display",""),za=!1}}};function $k(r){r.dataTransfer&&(r.dataTransfer.dropEffect="move"),r.cancelable&&r.preventDefault()}function kf(r,t,e,n,a,i,o,s){var l,u=r[gr],c=u.options.onMove,f;return window.CustomEvent&&!ua&&!Ul?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=r,l.dragged=e,l.draggedRect=n,l.related=a||t,l.relatedRect=i||bt(t),l.willInsertAfter=s,l.originalEvent=o,r.dispatchEvent(l),c&&(f=c.call(u,l,o)),f}function Rv(r){r.draggable=!1}function Wk(){Ov=!1}function Uk(r,t,e){var n=bt(ps(e.el,0,e.options,!0)),a=M4(e.el,e.options,Le),i=10;return t?r.clientX<a.left-i||r.clientY<n.top&&r.clientX<n.right:r.clientY<a.top-i||r.clientY<n.bottom&&r.clientX<n.left}function Yk(r,t,e){var n=bt(Lv(e.el,e.options.draggable)),a=M4(e.el,e.options,Le),i=10;return t?r.clientX>a.right+i||r.clientY>n.bottom&&r.clientX>n.left:r.clientY>a.bottom+i||r.clientX>n.right&&r.clientY>n.top}function jk(r,t,e,n,a,i,o,s){var l=n?r.clientY:r.clientX,u=n?e.height:e.width,c=n?e.top:e.left,f=n?e.bottom:e.right,h=!1;if(!o){if(s&&Tf<u*a){if(!Jl&&(Kl===1?l>c+u*i/2:l<f-u*i/2)&&(Jl=!0),Jl)h=!0;else if(Kl===1?l<c+Tf:l>f-Tf)return-Kl}else if(l>c+u*(1-a)/2&&l<f-u*(1-a)/2)return Xk(t)}return h=h||o,h&&(l<c+u*i/2||l>f-u*i/2)?l>c+u/2?1:-1:0}function Xk(r){return Br(te)<Br(r)?1:-1}function qk(r){for(var t=r.tagName+r.className+r.src+r.href+r.textContent,e=t.length,n=0;e--;)n+=t.charCodeAt(e);return n.toString(36)}function Zk(r){Df.length=0;for(var t=r.getElementsByTagName("input"),e=t.length;e--;){var n=t[e];n.checked&&Df.push(n)}}function Lf(r){return setTimeout(r,0)}function zv(r){return clearTimeout(r)}Af&&$e(document,"touchmove",function(r){(be.active||gs)&&r.cancelable&&r.preventDefault()}),be.utils={on:$e,off:He,css:Ce,find:S4,is:function(t,e){return!!sn(t,e,t,!1)},extend:Ik,throttle:T4,closest:sn,toggleClass:Er,clone:A4,index:Br,nextTick:Lf,cancelNextTick:zv,detectDirection:P4,getChild:ps,expando:gr},be.get=function(r){return r[gr]},be.mount=function(){for(var r=arguments.length,t=new Array(r),e=0;e<r;e++)t[e]=arguments[e];t[0].constructor===Array&&(t=t[0]),t.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(be.utils=Mn(Mn({},be.utils),n.utils)),Xl.mount(n)})},be.create=function(r,t){return new be(r,t)},be.version=kk;var St=[],Ql,Hv,Fv=!1,Gv,$v,If,eu;function Kk(){function r(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return r.prototype={dragStarted:function(e){var n=e.originalEvent;this.sortable.nativeDraggable?$e(document,"dragover",this._handleAutoScroll):this.options.supportPointer?$e(document,"pointermove",this._handleFallbackAutoScroll):n.touches?$e(document,"touchmove",this._handleFallbackAutoScroll):$e(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var n=e.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?He(document,"dragover",this._handleAutoScroll):(He(document,"pointermove",this._handleFallbackAutoScroll),He(document,"touchmove",this._handleFallbackAutoScroll),He(document,"mousemove",this._handleFallbackAutoScroll)),R4(),Nf(),Nk()},nulling:function(){If=Hv=Ql=Fv=eu=Gv=$v=null,St.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,n){var a=this,i=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,s=document.elementFromPoint(i,o);if(If=e,n||this.options.forceAutoScrollFallback||Ul||ua||Yl){Wv(e,this.options,s,n);var l=Ra(s,!0);Fv&&(!eu||i!==Gv||o!==$v)&&(eu&&R4(),eu=setInterval(function(){var u=Ra(document.elementFromPoint(i,o),!0);u!==l&&(l=u,Nf()),Wv(e,a.options,u,n)},10),Gv=i,$v=o)}else{if(!this.options.bubbleScroll||Ra(s,!0)===kn()){Nf();return}Wv(e,this.options,Ra(s,!1),!1)}}},sa(r,{pluginName:"scroll",initializeByDefault:!0})}function Nf(){St.forEach(function(r){clearInterval(r.pid)}),St=[]}function R4(){clearInterval(eu)}var Wv=T4(function(r,t,e,n){if(t.scroll){var a=(r.touches?r.touches[0]:r).clientX,i=(r.touches?r.touches[0]:r).clientY,o=t.scrollSensitivity,s=t.scrollSpeed,l=kn(),u=!1,c;Hv!==e&&(Hv=e,Nf(),Ql=t.scroll,c=t.scrollFn,Ql===!0&&(Ql=Ra(e,!0)));var f=0,h=Ql;do{var p=h,v=bt(p),m=v.top,g=v.bottom,_=v.left,y=v.right,w=v.width,x=v.height,b=void 0,S=void 0,C=p.scrollWidth,D=p.scrollHeight,T=Ce(p),E=p.scrollLeft,A=p.scrollTop;p===l?(b=w<C&&(T.overflowX==="auto"||T.overflowX==="scroll"||T.overflowX==="visible"),S=x<D&&(T.overflowY==="auto"||T.overflowY==="scroll"||T.overflowY==="visible")):(b=w<C&&(T.overflowX==="auto"||T.overflowX==="scroll"),S=x<D&&(T.overflowY==="auto"||T.overflowY==="scroll"));var k=b&&(Math.abs(y-a)<=o&&E+w<C)-(Math.abs(_-a)<=o&&!!E),I=S&&(Math.abs(g-i)<=o&&A+x<D)-(Math.abs(m-i)<=o&&!!A);if(!St[f])for(var L=0;L<=f;L++)St[L]||(St[L]={});(St[f].vx!=k||St[f].vy!=I||St[f].el!==p)&&(St[f].el=p,St[f].vx=k,St[f].vy=I,clearInterval(St[f].pid),(k!=0||I!=0)&&(u=!0,St[f].pid=setInterval((function(){n&&this.layer===0&&be.active._onTouchMove(If);var N=St[this.layer].vy?St[this.layer].vy*s:0,P=St[this.layer].vx?St[this.layer].vx*s:0;typeof c=="function"&&c.call(be.dragged.parentNode[gr],P,N,r,If,St[this.layer].el)!=="continue"||D4(St[this.layer].el,P,N)}).bind({layer:f}),24))),f++}while(t.bubbleScroll&&h!==l&&(h=Ra(h,!1)));Fv=u}},30),z4=function(t){var e=t.originalEvent,n=t.putSortable,a=t.dragEl,i=t.activeSortable,o=t.dispatchSortableEvent,s=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(e){var u=n||i;s();var c=e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e,f=document.elementFromPoint(c.clientX,c.clientY);l(),u&&!u.el.contains(f)&&(o("spill"),this.onSpill({dragEl:a,putSortable:n}))}};function Uv(){}Uv.prototype={startIndex:null,dragStart:function(t){var e=t.oldDraggableIndex;this.startIndex=e},onSpill:function(t){var e=t.dragEl,n=t.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var a=ps(this.sortable.el,this.startIndex,this.options);a?this.sortable.el.insertBefore(e,a):this.sortable.el.appendChild(e),this.sortable.animateAll(),n&&n.animateAll()},drop:z4},sa(Uv,{pluginName:"revertOnSpill"});function Yv(){}Yv.prototype={onSpill:function(t){var e=t.dragEl,n=t.putSortable,a=n||this.sortable;a.captureAnimationState(),e.parentNode&&e.parentNode.removeChild(e),a.animateAll()},drop:z4},sa(Yv,{pluginName:"removeOnSpill"}),be.mount(new Kk),be.mount(Yv,Uv);const H4=Symbol(),Pf="el",Jk="is-",Ii=(r,t,e,n,a)=>{let i=`${r}-${t}`;return e&&(i+=`-${e}`),n&&(i+=`__${n}`),a&&(i+=`--${a}`),i},F4=Symbol("namespaceContextKey"),Qk=r=>{const t=r||(d.getCurrentInstance()?d.inject(F4,d.ref(Pf)):d.ref(Pf));return d.computed(()=>d.unref(t)||Pf)},jv=(r,t)=>{const e=Qk(t);return{namespace:e,b:(m="")=>Ii(e.value,r,m,"",""),e:m=>m?Ii(e.value,r,"",m,""):"",m:m=>m?Ii(e.value,r,"","",m):"",be:(m,g)=>m&&g?Ii(e.value,r,m,g,""):"",em:(m,g)=>m&&g?Ii(e.value,r,"",m,g):"",bm:(m,g)=>m&&g?Ii(e.value,r,m,"",g):"",bem:(m,g,_)=>m&&g&&_?Ii(e.value,r,m,g,_):"",is:(m,...g)=>{const _=g.length>=1?g[0]:!0;return m&&_?`${Jk}${m}`:""},cssVar:m=>{const g={};for(const _ in m)m[_]&&(g[`--${e.value}-${_}`]=m[_]);return g},cssVarName:m=>`--${e.value}-${m}`,cssVarBlock:m=>{const g={};for(const _ in m)m[_]&&(g[`--${e.value}-${r}-${_}`]=m[_]);return g},cssVarBlockName:m=>`--${e.value}-${r}-${m}`}};/**
|
|
17
|
-
* @vue/shared v3.5.14
|
|
18
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
19
|
-
* @license MIT
|
|
20
|
-
**/process.env.NODE_ENV!=="production"&&Object.freeze({}),process.env.NODE_ENV!=="production"&&Object.freeze([]);const eL=Object.prototype.hasOwnProperty,G4=(r,t)=>eL.call(r,t),Vf=r=>typeof r=="function",tu=r=>typeof r=="string",$4=r=>r!==null&&typeof r=="object";var W4=typeof global=="object"&&global&&global.Object===Object&&global,tL=typeof self=="object"&&self&&self.Object===Object&&self,Ln=W4||tL||Function("return this")(),Fa=Ln.Symbol,U4=Object.prototype,rL=U4.hasOwnProperty,nL=U4.toString,ru=Fa?Fa.toStringTag:void 0;function aL(r){var t=rL.call(r,ru),e=r[ru];try{r[ru]=void 0;var n=!0}catch{}var a=nL.call(r);return n&&(t?r[ru]=e:delete r[ru]),a}var iL=Object.prototype,oL=iL.toString;function sL(r){return oL.call(r)}var lL="[object Null]",uL="[object Undefined]",Y4=Fa?Fa.toStringTag:void 0;function _s(r){return r==null?r===void 0?uL:lL:Y4&&Y4 in Object(r)?aL(r):sL(r)}function ys(r){return r!=null&&typeof r=="object"}var cL="[object Symbol]";function Xv(r){return typeof r=="symbol"||ys(r)&&_s(r)==cL}function fL(r,t){for(var e=-1,n=r==null?0:r.length,a=Array(n);++e<n;)a[e]=t(r[e],e,r);return a}var ws=Array.isArray,j4=Fa?Fa.prototype:void 0,X4=j4?j4.toString:void 0;function q4(r){if(typeof r=="string")return r;if(ws(r))return fL(r,q4)+"";if(Xv(r))return X4?X4.call(r):"";var t=r+"";return t=="0"&&1/r==-1/0?"-0":t}function Bf(r){var t=typeof r;return r!=null&&(t=="object"||t=="function")}var hL="[object AsyncFunction]",pL="[object Function]",dL="[object GeneratorFunction]",vL="[object Proxy]";function Z4(r){if(!Bf(r))return!1;var t=_s(r);return t==pL||t==dL||t==hL||t==vL}var qv=Ln["__core-js_shared__"],K4=function(){var r=/[^.]+$/.exec(qv&&qv.keys&&qv.keys.IE_PROTO||"");return r?"Symbol(src)_1."+r:""}();function gL(r){return!!K4&&K4 in r}var mL=Function.prototype,_L=mL.toString;function Ni(r){if(r!=null){try{return _L.call(r)}catch{}try{return r+""}catch{}}return""}var yL=/[\\^$.*+?()[\]{}|]/g,wL=/^\[object .+?Constructor\]$/,xL=Function.prototype,bL=Object.prototype,SL=xL.toString,CL=bL.hasOwnProperty,EL=RegExp("^"+SL.call(CL).replace(yL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function TL(r){if(!Bf(r)||gL(r))return!1;var t=Z4(r)?EL:wL;return t.test(Ni(r))}function DL(r,t){return r==null?void 0:r[t]}function Pi(r,t){var e=DL(r,t);return TL(e)?e:void 0}var Zv=Pi(Ln,"WeakMap"),J4=Object.create,AL=function(){function r(){}return function(t){if(!Bf(t))return{};if(J4)return J4(t);r.prototype=t;var e=new r;return r.prototype=void 0,e}}(),Q4=function(){try{var r=Pi(Object,"defineProperty");return r({},"",{}),r}catch{}}();function ML(r,t){for(var e=-1,n=r==null?0:r.length;++e<n&&t(r[e],e,r)!==!1;);return r}var kL=9007199254740991,LL=/^(?:0|[1-9]\d*)$/;function IL(r,t){var e=typeof r;return t=t??kL,!!t&&(e=="number"||e!="symbol"&&LL.test(r))&&r>-1&&r%1==0&&r<t}function NL(r,t,e){t=="__proto__"&&Q4?Q4(r,t,{configurable:!0,enumerable:!0,value:e,writable:!0}):r[t]=e}function e3(r,t){return r===t||r!==r&&t!==t}var PL=Object.prototype,VL=PL.hasOwnProperty;function BL(r,t,e){var n=r[t];(!(VL.call(r,t)&&e3(n,e))||e===void 0&&!(t in r))&&NL(r,t,e)}var OL=9007199254740991;function t3(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=OL}function RL(r){return r!=null&&t3(r.length)&&!Z4(r)}var zL=Object.prototype;function r3(r){var t=r&&r.constructor,e=typeof t=="function"&&t.prototype||zL;return r===e}function HL(r,t){for(var e=-1,n=Array(r);++e<r;)n[e]=t(e);return n}var FL="[object Arguments]";function n3(r){return ys(r)&&_s(r)==FL}var a3=Object.prototype,GL=a3.hasOwnProperty,$L=a3.propertyIsEnumerable,WL=n3(function(){return arguments}())?n3:function(r){return ys(r)&&GL.call(r,"callee")&&!$L.call(r,"callee")};function UL(){return!1}var i3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,o3=i3&&typeof module=="object"&&module&&!module.nodeType&&module,YL=o3&&o3.exports===i3,s3=YL?Ln.Buffer:void 0,jL=s3?s3.isBuffer:void 0,l3=jL||UL,XL="[object Arguments]",qL="[object Array]",ZL="[object Boolean]",KL="[object Date]",JL="[object Error]",QL="[object Function]",eI="[object Map]",tI="[object Number]",rI="[object Object]",nI="[object RegExp]",aI="[object Set]",iI="[object String]",oI="[object WeakMap]",sI="[object ArrayBuffer]",lI="[object DataView]",uI="[object Float32Array]",cI="[object Float64Array]",fI="[object Int8Array]",hI="[object Int16Array]",pI="[object Int32Array]",dI="[object Uint8Array]",vI="[object Uint8ClampedArray]",gI="[object Uint16Array]",mI="[object Uint32Array]",at={};at[uI]=at[cI]=at[fI]=at[hI]=at[pI]=at[dI]=at[vI]=at[gI]=at[mI]=!0,at[XL]=at[qL]=at[sI]=at[ZL]=at[lI]=at[KL]=at[JL]=at[QL]=at[eI]=at[tI]=at[rI]=at[nI]=at[aI]=at[iI]=at[oI]=!1;function _I(r){return ys(r)&&t3(r.length)&&!!at[_s(r)]}function Kv(r){return function(t){return r(t)}}var u3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,nu=u3&&typeof module=="object"&&module&&!module.nodeType&&module,yI=nu&&nu.exports===u3,Jv=yI&&W4.process,xs=function(){try{var r=nu&&nu.require&&nu.require("util").types;return r||Jv&&Jv.binding&&Jv.binding("util")}catch{}}(),c3=xs&&xs.isTypedArray,wI=c3?Kv(c3):_I,xI=Object.prototype,bI=xI.hasOwnProperty;function SI(r,t){var e=ws(r),n=!e&&WL(r),a=!e&&!n&&l3(r),i=!e&&!n&&!a&&wI(r),o=e||n||a||i,s=o?HL(r.length,String):[],l=s.length;for(var u in r)bI.call(r,u)&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||IL(u,l)))&&s.push(u);return s}function f3(r,t){return function(e){return r(t(e))}}var CI=f3(Object.keys,Object),EI=Object.prototype,TI=EI.hasOwnProperty;function DI(r){if(!r3(r))return CI(r);var t=[];for(var e in Object(r))TI.call(r,e)&&e!="constructor"&&t.push(e);return t}function AI(r){return RL(r)?SI(r):DI(r)}var MI=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,kI=/^\w*$/;function LI(r,t){if(ws(r))return!1;var e=typeof r;return e=="number"||e=="symbol"||e=="boolean"||r==null||Xv(r)?!0:kI.test(r)||!MI.test(r)||t!=null&&r in Object(t)}var au=Pi(Object,"create");function II(){this.__data__=au?au(null):{},this.size=0}function NI(r){var t=this.has(r)&&delete this.__data__[r];return this.size-=t?1:0,t}var PI="__lodash_hash_undefined__",VI=Object.prototype,BI=VI.hasOwnProperty;function OI(r){var t=this.__data__;if(au){var e=t[r];return e===PI?void 0:e}return BI.call(t,r)?t[r]:void 0}var RI=Object.prototype,zI=RI.hasOwnProperty;function HI(r){var t=this.__data__;return au?t[r]!==void 0:zI.call(t,r)}var FI="__lodash_hash_undefined__";function GI(r,t){var e=this.__data__;return this.size+=this.has(r)?0:1,e[r]=au&&t===void 0?FI:t,this}function Vi(r){var t=-1,e=r==null?0:r.length;for(this.clear();++t<e;){var n=r[t];this.set(n[0],n[1])}}Vi.prototype.clear=II,Vi.prototype.delete=NI,Vi.prototype.get=OI,Vi.prototype.has=HI,Vi.prototype.set=GI;function $I(){this.__data__=[],this.size=0}function Of(r,t){for(var e=r.length;e--;)if(e3(r[e][0],t))return e;return-1}var WI=Array.prototype,UI=WI.splice;function YI(r){var t=this.__data__,e=Of(t,r);if(e<0)return!1;var n=t.length-1;return e==n?t.pop():UI.call(t,e,1),--this.size,!0}function jI(r){var t=this.__data__,e=Of(t,r);return e<0?void 0:t[e][1]}function XI(r){return Of(this.__data__,r)>-1}function qI(r,t){var e=this.__data__,n=Of(e,r);return n<0?(++this.size,e.push([r,t])):e[n][1]=t,this}function ca(r){var t=-1,e=r==null?0:r.length;for(this.clear();++t<e;){var n=r[t];this.set(n[0],n[1])}}ca.prototype.clear=$I,ca.prototype.delete=YI,ca.prototype.get=jI,ca.prototype.has=XI,ca.prototype.set=qI;var iu=Pi(Ln,"Map");function ZI(){this.size=0,this.__data__={hash:new Vi,map:new(iu||ca),string:new Vi}}function KI(r){var t=typeof r;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?r!=="__proto__":r===null}function Rf(r,t){var e=r.__data__;return KI(t)?e[typeof t=="string"?"string":"hash"]:e.map}function JI(r){var t=Rf(this,r).delete(r);return this.size-=t?1:0,t}function QI(r){return Rf(this,r).get(r)}function eN(r){return Rf(this,r).has(r)}function tN(r,t){var e=Rf(this,r),n=e.size;return e.set(r,t),this.size+=e.size==n?0:1,this}function Ga(r){var t=-1,e=r==null?0:r.length;for(this.clear();++t<e;){var n=r[t];this.set(n[0],n[1])}}Ga.prototype.clear=ZI,Ga.prototype.delete=JI,Ga.prototype.get=QI,Ga.prototype.has=eN,Ga.prototype.set=tN;var rN="Expected a function";function Qv(r,t){if(typeof r!="function"||t!=null&&typeof t!="function")throw new TypeError(rN);var e=function(){var n=arguments,a=t?t.apply(this,n):n[0],i=e.cache;if(i.has(a))return i.get(a);var o=r.apply(this,n);return e.cache=i.set(a,o)||i,o};return e.cache=new(Qv.Cache||Ga),e}Qv.Cache=Ga;var nN=500;function aN(r){var t=Qv(r,function(n){return e.size===nN&&e.clear(),n}),e=t.cache;return t}var iN=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oN=/\\(\\)?/g,sN=aN(function(r){var t=[];return r.charCodeAt(0)===46&&t.push(""),r.replace(iN,function(e,n,a,i){t.push(a?i.replace(oN,"$1"):n||e)}),t});function lN(r){return r==null?"":q4(r)}function uN(r,t){return ws(r)?r:LI(r,t)?[r]:sN(lN(r))}function cN(r){if(typeof r=="string"||Xv(r))return r;var t=r+"";return t=="0"&&1/r==-1/0?"-0":t}function fN(r,t){t=uN(t,r);for(var e=0,n=t.length;r!=null&&e<n;)r=r[cN(t[e++])];return e&&e==n?r:void 0}function hN(r,t,e){var n=r==null?void 0:fN(r,t);return n===void 0?e:n}function pN(r,t){for(var e=-1,n=t.length,a=r.length;++e<n;)r[a+e]=t[e];return r}var dN=f3(Object.getPrototypeOf,Object);function vN(){this.__data__=new ca,this.size=0}function gN(r){var t=this.__data__,e=t.delete(r);return this.size=t.size,e}function mN(r){return this.__data__.get(r)}function _N(r){return this.__data__.has(r)}var yN=200;function wN(r,t){var e=this.__data__;if(e instanceof ca){var n=e.__data__;if(!iu||n.length<yN-1)return n.push([r,t]),this.size=++e.size,this;e=this.__data__=new Ga(n)}return e.set(r,t),this.size=e.size,this}function bs(r){var t=this.__data__=new ca(r);this.size=t.size}bs.prototype.clear=vN,bs.prototype.delete=gN,bs.prototype.get=mN,bs.prototype.has=_N,bs.prototype.set=wN;var h3=typeof exports=="object"&&exports&&!exports.nodeType&&exports,p3=h3&&typeof module=="object"&&module&&!module.nodeType&&module,xN=p3&&p3.exports===h3,d3=xN?Ln.Buffer:void 0;d3&&d3.allocUnsafe;function bN(r,t){return r.slice()}function SN(r,t){for(var e=-1,n=r==null?0:r.length,a=0,i=[];++e<n;){var o=r[e];t(o,e,r)&&(i[a++]=o)}return i}function CN(){return[]}var EN=Object.prototype,TN=EN.propertyIsEnumerable,v3=Object.getOwnPropertySymbols,DN=v3?function(r){return r==null?[]:(r=Object(r),SN(v3(r),function(t){return TN.call(r,t)}))}:CN;function AN(r,t,e){var n=t(r);return ws(r)?n:pN(n,e(r))}function MN(r){return AN(r,AI,DN)}var e0=Pi(Ln,"DataView"),t0=Pi(Ln,"Promise"),r0=Pi(Ln,"Set"),g3="[object Map]",kN="[object Object]",m3="[object Promise]",_3="[object Set]",y3="[object WeakMap]",w3="[object DataView]",LN=Ni(e0),IN=Ni(iu),NN=Ni(t0),PN=Ni(r0),VN=Ni(Zv),fa=_s;(e0&&fa(new e0(new ArrayBuffer(1)))!=w3||iu&&fa(new iu)!=g3||t0&&fa(t0.resolve())!=m3||r0&&fa(new r0)!=_3||Zv&&fa(new Zv)!=y3)&&(fa=function(r){var t=_s(r),e=t==kN?r.constructor:void 0,n=e?Ni(e):"";if(n)switch(n){case LN:return w3;case IN:return g3;case NN:return m3;case PN:return _3;case VN:return y3}return t});var BN=Object.prototype,ON=BN.hasOwnProperty;function RN(r){var t=r.length,e=new r.constructor(t);return t&&typeof r[0]=="string"&&ON.call(r,"index")&&(e.index=r.index,e.input=r.input),e}var x3=Ln.Uint8Array;function n0(r){var t=new r.constructor(r.byteLength);return new x3(t).set(new x3(r)),t}function zN(r,t){var e=n0(r.buffer);return new r.constructor(e,r.byteOffset,r.byteLength)}var HN=/\w*$/;function FN(r){var t=new r.constructor(r.source,HN.exec(r));return t.lastIndex=r.lastIndex,t}var b3=Fa?Fa.prototype:void 0,S3=b3?b3.valueOf:void 0;function GN(r){return S3?Object(S3.call(r)):{}}function $N(r,t){var e=n0(r.buffer);return new r.constructor(e,r.byteOffset,r.length)}var WN="[object Boolean]",UN="[object Date]",YN="[object Map]",jN="[object Number]",XN="[object RegExp]",qN="[object Set]",ZN="[object String]",KN="[object Symbol]",JN="[object ArrayBuffer]",QN="[object DataView]",eP="[object Float32Array]",tP="[object Float64Array]",rP="[object Int8Array]",nP="[object Int16Array]",aP="[object Int32Array]",iP="[object Uint8Array]",oP="[object Uint8ClampedArray]",sP="[object Uint16Array]",lP="[object Uint32Array]";function uP(r,t,e){var n=r.constructor;switch(t){case JN:return n0(r);case WN:case UN:return new n(+r);case QN:return zN(r);case eP:case tP:case rP:case nP:case aP:case iP:case oP:case sP:case lP:return $N(r);case YN:return new n;case jN:case ZN:return new n(r);case XN:return FN(r);case qN:return new n;case KN:return GN(r)}}function cP(r){return typeof r.constructor=="function"&&!r3(r)?AL(dN(r)):{}}var fP="[object Map]";function hP(r){return ys(r)&&fa(r)==fP}var C3=xs&&xs.isMap,pP=C3?Kv(C3):hP,dP="[object Set]";function vP(r){return ys(r)&&fa(r)==dP}var E3=xs&&xs.isSet,gP=E3?Kv(E3):vP,T3="[object Arguments]",mP="[object Array]",_P="[object Boolean]",yP="[object Date]",wP="[object Error]",D3="[object Function]",xP="[object GeneratorFunction]",bP="[object Map]",SP="[object Number]",A3="[object Object]",CP="[object RegExp]",EP="[object Set]",TP="[object String]",DP="[object Symbol]",AP="[object WeakMap]",MP="[object ArrayBuffer]",kP="[object DataView]",LP="[object Float32Array]",IP="[object Float64Array]",NP="[object Int8Array]",PP="[object Int16Array]",VP="[object Int32Array]",BP="[object Uint8Array]",OP="[object Uint8ClampedArray]",RP="[object Uint16Array]",zP="[object Uint32Array]",rt={};rt[T3]=rt[mP]=rt[MP]=rt[kP]=rt[_P]=rt[yP]=rt[LP]=rt[IP]=rt[NP]=rt[PP]=rt[VP]=rt[bP]=rt[SP]=rt[A3]=rt[CP]=rt[EP]=rt[TP]=rt[DP]=rt[BP]=rt[OP]=rt[RP]=rt[zP]=!0,rt[wP]=rt[D3]=rt[AP]=!1;function zf(r,t,e,n,a,i){var o;if(o!==void 0)return o;if(!Bf(r))return r;var s=ws(r);if(s)o=RN(r);else{var l=fa(r),u=l==D3||l==xP;if(l3(r))return bN(r);if(l==A3||l==T3||u&&!a)o=u?{}:cP(r);else{if(!rt[l])return a?r:{};o=uP(r,l)}}i||(i=new bs);var c=i.get(r);if(c)return c;i.set(r,o),gP(r)?r.forEach(function(p){o.add(zf(p,t,e,p,r,i))}):pP(r)&&r.forEach(function(p,v){o.set(v,zf(p,t,e,v,r,i))});var f=MN,h=s?void 0:f(r);return ML(h||r,function(p,v){h&&(v=p,p=r[v]),BL(o,v,zf(p,t,e,v,r,i))}),o}var HP=1,FP=4;function q(r){return zf(r,HP|FP)}function GP(r){for(var t=-1,e=r==null?0:r.length,n={};++t<e;){var a=r[t];n[a[0]]=a[1]}return n}const $P=r=>r===void 0,M3=r=>typeof r=="boolean",Bi=r=>typeof r=="number",WP=r=>typeof Element>"u"?!1:r instanceof Element,UP=r=>tu(r)?!Number.isNaN(Number(r)):!1;var k3;const Ss=typeof window<"u",YP=r=>typeof r=="string",jP=()=>{};Ss&&((k3=window==null?void 0:window.navigator)!=null&&k3.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function a0(r){return typeof r=="function"?r():d.unref(r)}function XP(r){return r}function i0(r){return d.getCurrentScope()?(d.onScopeDispose(r),!0):!1}function qP(r,t=!0){d.getCurrentInstance()?d.onMounted(r):t?r():d.nextTick(r)}function ZP(r,t,e={}){const{immediate:n=!0}=e,a=d.ref(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function s(){a.value=!1,o()}function l(...u){o(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,r(...u)},a0(t))}return n&&(a.value=!0,Ss&&l()),i0(s),{isPending:d.readonly(a),start:l,stop:s}}function L3(r){var t;const e=a0(r);return(t=e==null?void 0:e.$el)!=null?t:e}const I3=Ss?window:void 0;function KP(...r){let t,e,n,a;if(YP(r[0])||Array.isArray(r[0])?([e,n,a]=r,t=I3):[t,e,n,a]=r,!t)return jP;Array.isArray(e)||(e=[e]),Array.isArray(n)||(n=[n]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},s=(c,f,h,p)=>(c.addEventListener(f,h,p),()=>c.removeEventListener(f,h,p)),l=d.watch(()=>[L3(t),a0(a)],([c,f])=>{o(),c&&i.push(...e.flatMap(h=>n.map(p=>s(c,h,p,f))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return i0(u),u}function JP(r,t=!1){const e=d.ref(),n=()=>e.value=!!r();return n(),qP(n,t),e}const N3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},P3="__vueuse_ssr_handlers__";N3[P3]=N3[P3]||{};var V3=Object.getOwnPropertySymbols,QP=Object.prototype.hasOwnProperty,eV=Object.prototype.propertyIsEnumerable,tV=(r,t)=>{var e={};for(var n in r)QP.call(r,n)&&t.indexOf(n)<0&&(e[n]=r[n]);if(r!=null&&V3)for(var n of V3(r))t.indexOf(n)<0&&eV.call(r,n)&&(e[n]=r[n]);return e};function rV(r,t,e={}){const n=e,{window:a=I3}=n,i=tV(n,["window"]);let o;const s=JP(()=>a&&"ResizeObserver"in a),l=()=>{o&&(o.disconnect(),o=void 0)},u=d.watch(()=>L3(r),f=>{l(),s.value&&a&&f&&(o=new ResizeObserver(t),o.observe(f,i))},{immediate:!0,flush:"post"}),c=()=>{l(),u()};return i0(c),{isSupported:s,stop:c}}var B3;(function(r){r.UP="UP",r.RIGHT="RIGHT",r.DOWN="DOWN",r.LEFT="LEFT",r.NONE="NONE"})(B3||(B3={}));var nV=Object.defineProperty,O3=Object.getOwnPropertySymbols,aV=Object.prototype.hasOwnProperty,iV=Object.prototype.propertyIsEnumerable,R3=(r,t,e)=>t in r?nV(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,oV=(r,t)=>{for(var e in t||(t={}))aV.call(t,e)&&R3(r,e,t[e]);if(O3)for(var e of O3(t))iV.call(t,e)&&R3(r,e,t[e]);return r};oV({linear:XP},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});class sV extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function Hf(r,t){if(process.env.NODE_ENV!=="production"){const e=tu(r)?new sV(`[${r}] ${t}`):r;console.warn(e)}}const z3={current:0},H3=d.ref(0),F3=2e3,G3=Symbol("elZIndexContextKey"),$3=Symbol("zIndexContextKey"),lV=r=>{const t=d.getCurrentInstance()?d.inject(G3,z3):z3,e=r||(d.getCurrentInstance()?d.inject($3,void 0):void 0),n=d.computed(()=>{const o=d.unref(e);return Bi(o)?o:F3}),a=d.computed(()=>n.value+H3.value),i=()=>(t.current++,H3.value=t.current,a.value);return!Ss&&!d.inject(G3)&&Hf("ZIndexInjection",`Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
|
|
21
|
-
usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:n,currentZIndex:a,nextZIndex:i}};var uV={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const cV=r=>(t,e)=>fV(t,e,d.unref(r)),fV=(r,t,e)=>hN(e,r,r).replace(/\{(\w+)\}/g,(n,a)=>{var i;return`${(i=t==null?void 0:t[a])!=null?i:`{${a}}`}`}),hV=r=>{const t=d.computed(()=>d.unref(r).name),e=d.isRef(r)?r:d.ref(r);return{lang:t,locale:e,t:cV(r)}},W3=Symbol("localeContextKey"),pV=r=>{const t=r||d.inject(W3,d.ref());return hV(d.computed(()=>t.value||uV))},U3="__epPropKey",In=r=>r,dV=r=>$4(r)&&!!r[U3],Y3=(r,t)=>{if(!$4(r)||dV(r))return r;const{values:e,required:n,default:a,type:i,validator:o}=r,l={type:i,required:!!n,validator:e||o?u=>{let c=!1,f=[];if(e&&(f=Array.from(e),G4(r,"default")&&f.push(a),c||(c=f.includes(u))),o&&(c||(c=o(u))),!c&&f.length>0){const h=[...new Set(f)].map(p=>JSON.stringify(p)).join(", ");d.warn(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${h}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[U3]:!0};return G4(r,"default")&&(l.default=a),l},ou=r=>GP(Object.entries(r).map(([t,e])=>[t,Y3(e,t)])),vV=Y3({type:String,values:["","default","small","large"],required:!1}),gV=Symbol("size"),mV=Symbol("emptyValuesContextKey"),_V=ou({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:r=>Vf(r)?!r():!r}}),j3=r=>Object.keys(r),Ff=d.ref();function X3(r,t=void 0){return d.getCurrentInstance()?d.inject(H4,Ff):Ff}function yV(r,t){const e=X3(),n=jv(r,d.computed(()=>{var s;return((s=e.value)==null?void 0:s.namespace)||Pf})),a=pV(d.computed(()=>{var s;return(s=e.value)==null?void 0:s.locale})),i=lV(d.computed(()=>{var s;return((s=e.value)==null?void 0:s.zIndex)||F3})),o=d.computed(()=>{var s;return d.unref(t)||((s=e.value)==null?void 0:s.size)||""});return q3(d.computed(()=>d.unref(e)||{})),{ns:n,locale:a,zIndex:i,size:o}}const q3=(r,t,e=!1)=>{var n;const a=!!d.getCurrentInstance(),i=a?X3():void 0,o=(n=void 0)!=null?n:a?d.provide:void 0;if(!o){Hf("provideGlobalConfig","provideGlobalConfig() can only be used inside setup().");return}const s=d.computed(()=>{const l=d.unref(r);return i!=null&&i.value?wV(i.value,l):l});return o(H4,s),o(W3,d.computed(()=>s.value.locale)),o(F4,d.computed(()=>s.value.namespace)),o($3,d.computed(()=>s.value.zIndex)),o(gV,{size:d.computed(()=>s.value.size||"")}),o(mV,d.computed(()=>({emptyValues:s.value.emptyValues,valueOnClear:s.value.valueOnClear}))),(e||!Ff.value)&&(Ff.value=s.value),s},wV=(r,t)=>{const e=[...new Set([...j3(r),...j3(t)])],n={};for(const a of e)n[a]=t[a]!==void 0?t[a]:r[a];return n};var o0=(r,t)=>{const e=r.__vccOpts||r;for(const[n,a]of t)e[n]=a;return e};const xV="utils/dom/style";function s0(r,t="px"){if(!r)return"";if(Bi(r)||UP(r))return`${r}${t}`;if(tu(r))return r;Hf(xV,"binding value must be a string or number")}const Z3=(r,t)=>(r.install=e=>{for(const n of[r,...Object.values({})])e.component(n.name,n)},r),bV=(r,t)=>(r.install=e=>{r._context=e._context,e.config.globalProperties[t]=r},r),SV=ou({size:{type:In([Number,String])},color:{type:String}}),CV=d.defineComponent({name:"ElIcon",inheritAttrs:!1}),EV=d.defineComponent({...CV,props:SV,setup(r){const t=r,e=jv("icon"),n=d.computed(()=>{const{size:a,color:i}=t;return!a&&!i?{}:{fontSize:$P(a)?void 0:s0(a),"--color":i}});return(a,i)=>(d.openBlock(),d.createElementBlock("i",d.mergeProps({class:d.unref(e).b(),style:d.unref(n)},a.$attrs),[d.renderSlot(a.$slots,"default")],16))}});var TV=o0(EV,[["__file","icon.vue"]]);const K3=Z3(TV);/*! Element Plus Icons Vue v2.3.1 */var DV=d.defineComponent({name:"AddLocation",__name:"add-location",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),d.createElementVNode("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),AV=DV,MV=d.defineComponent({name:"Aim",__name:"aim",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),kV=MV,LV=d.defineComponent({name:"AlarmClock",__name:"alarm-clock",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),d.createElementVNode("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),IV=LV,NV=d.defineComponent({name:"Apple",__name:"apple",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M599.872 203.776a189.44 189.44 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a426.624 426.624 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664zm-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688 63.552 0 81.28 34.688 136.96 33.536 56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152z"})]))}}),PV=NV,VV=d.defineComponent({name:"ArrowDownBold",__name:"arrow-down-bold",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496z"})]))}}),BV=VV,OV=d.defineComponent({name:"ArrowDown",__name:"arrow-down",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),RV=OV,zV=d.defineComponent({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0z"})]))}}),HV=zV,FV=d.defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),GV=FV,$V=d.defineComponent({name:"ArrowRightBold",__name:"arrow-right-bold",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0z"})]))}}),WV=$V,UV=d.defineComponent({name:"ArrowRight",__name:"arrow-right",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),YV=UV,jV=d.defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496z"})]))}}),XV=jV,qV=d.defineComponent({name:"ArrowUp",__name:"arrow-up",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),ZV=qV,KV=d.defineComponent({name:"Avatar",__name:"avatar",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.872 415.872 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),JV=KV,QV=d.defineComponent({name:"Back",__name:"back",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),d.createElementVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),eB=QV,tB=d.defineComponent({name:"Baseball",__name:"baseball",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6zm45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),d.createElementVNode("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896zM108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1736.64 1736.64 0 0 1-11.392-65.728z"})]))}}),rB=tB,nB=d.defineComponent({name:"Basketball",__name:"basketball",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M778.752 788.224a382.464 382.464 0 0 0 116.032-245.632 256.512 256.512 0 0 0-241.728-13.952 762.88 762.88 0 0 1 125.696 259.584zm-55.04 44.224a699.648 699.648 0 0 0-125.056-269.632 256.128 256.128 0 0 0-56.064 331.968 382.72 382.72 0 0 0 181.12-62.336m-254.08 61.248A320.128 320.128 0 0 1 557.76 513.6a715.84 715.84 0 0 0-48.192-48.128 320.128 320.128 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.128 256.128 0 0 0 331.072-56.448 699.648 699.648 0 0 0-268.8-124.352 382.656 382.656 0 0 0-62.272 180.8m106.56-235.84a762.88 762.88 0 0 1 258.688 125.056 256.512 256.512 0 0 0-13.44-241.088A382.464 382.464 0 0 0 235.84 245.248zm318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a779.84 779.84 0 0 1 66.176 66.112 320.832 320.832 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),aB=nB,iB=d.defineComponent({name:"BellFilled",__name:"bell-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.128 320.128 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),oB=iB,sB=d.defineComponent({name:"Bell",__name:"bell",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),d.createElementVNode("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),d.createElementVNode("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),lB=sB,uB=d.defineComponent({name:"Bicycle",__name:"bicycle",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),d.createElementVNode("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),d.createElementVNode("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),cB=uB,fB=d.defineComponent({name:"BottomLeft",__name:"bottom-left",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),d.createElementVNode("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z"})]))}}),hB=fB,pB=d.defineComponent({name:"BottomRight",__name:"bottom-right",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),d.createElementVNode("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),dB=pB,vB=d.defineComponent({name:"Bottom",__name:"bottom",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),gB=vB,mB=d.defineComponent({name:"Bowl",__name:"bowl",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M714.432 704a351.744 351.744 0 0 0 148.16-256H161.408a351.744 351.744 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),_B=mB,yB=d.defineComponent({name:"Box",__name:"box",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64z"}),d.createElementVNode("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),d.createElementVNode("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),wB=yB,xB=d.defineComponent({name:"Briefcase",__name:"briefcase",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),bB=xB,SB=d.defineComponent({name:"BrushFilled",__name:"brush-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),CB=SB,EB=d.defineComponent({name:"Brush",__name:"brush",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a663.872 663.872 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384h61.248zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168z"})]))}}),TB=EB,DB=d.defineComponent({name:"Burger",__name:"burger",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),AB=DB,MB=d.defineComponent({name:"Calendar",__name:"calendar",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),kB=MB,LB=d.defineComponent({name:"CameraFilled",__name:"camera-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),IB=LB,NB=d.defineComponent({name:"Camera",__name:"camera",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),PB=NB,VB=d.defineComponent({name:"CaretBottom",__name:"caret-bottom",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),BB=VB,OB=d.defineComponent({name:"CaretLeft",__name:"caret-left",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),RB=OB,zB=d.defineComponent({name:"CaretRight",__name:"caret-right",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),HB=zB,FB=d.defineComponent({name:"CaretTop",__name:"caret-top",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),GB=FB,$B=d.defineComponent({name:"Cellphone",__name:"cellphone",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),WB=$B,UB=d.defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),YB=UB,jB=d.defineComponent({name:"ChatDotSquare",__name:"chat-dot-square",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4zm-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4z"})]))}}),XB=jB,qB=d.defineComponent({name:"ChatLineRound",__name:"chat-line-round",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.056 461.056 0 0 1-206.912-48.384l-175.616 58.56z"}),d.createElementVNode("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),ZB=qB,KB=d.defineComponent({name:"ChatLineSquare",__name:"chat-line-square",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),d.createElementVNode("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),JB=KB,QB=d.defineComponent({name:"ChatRound",__name:"chat-round",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),eO=QB,tO=d.defineComponent({name:"ChatSquare",__name:"chat-square",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),rO=tO,nO=d.defineComponent({name:"Check",__name:"check",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),aO=nO,iO=d.defineComponent({name:"Checked",__name:"checked",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),oO=iO,sO=d.defineComponent({name:"Cherry",__name:"cherry",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6zM288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),lO=sO,uO=d.defineComponent({name:"Chicken",__name:"chicken",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.688 106.688 0 0 1-26.176-19.072 106.688 106.688 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112zm57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52-3.52 56.32z"})]))}}),cO=uO,fO=d.defineComponent({name:"ChromeFilled",__name:"chrome-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.372 212.372 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67z"}),d.createElementVNode("path",{fill:"currentColor",d:"M576.79 401.63a127.92 127.92 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128.005 128.005 0 0 0-2.16 127.44l1.24 2.13a127.906 127.906 0 0 0 46.36 46.61 127.907 127.907 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.984 127.984 0 0 0 .29-127.46 127.957 127.957 0 0 0-46.36-46.91"}),d.createElementVNode("path",{fill:"currentColor",d:"M394.45 333.96A213.336 213.336 0 0 1 512 298.67h369.58A426.503 426.503 0 0 0 512 85.34a425.598 425.598 0 0 0-171.74 35.98 425.644 425.644 0 0 0-142.62 102.22l118.14 204.63a213.397 213.397 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.284 213.284 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.315 213.315 0 0 1-122.77-21.91z"})]))}}),hO=fO,pO=d.defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),dO=pO,vO=d.defineComponent({name:"CircleCheck",__name:"circle-check",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),d.createElementVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),gO=vO,mO=d.defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),J3=mO,_O=d.defineComponent({name:"CircleClose",__name:"circle-close",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),yO=_O,wO=d.defineComponent({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0v147.2z"})]))}}),xO=wO,bO=d.defineComponent({name:"CirclePlus",__name:"circle-plus",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),SO=bO,CO=d.defineComponent({name:"Clock",__name:"clock",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),EO=CO,TO=d.defineComponent({name:"CloseBold",__name:"close-bold",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496z"})]))}}),DO=TO,AO=d.defineComponent({name:"Close",__name:"close",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Q3=AO,MO=d.defineComponent({name:"Cloudy",__name:"cloudy",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),kO=MO,LO=d.defineComponent({name:"CoffeeCup",__name:"coffee-cup",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.128 256.128 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),IO=LO,NO=d.defineComponent({name:"Coffee",__name:"coffee",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64h493.184m-548.16 128H820.48l-10.688-64H214.208l-10.688 64h6.784m68.736 64 36.544 512H708.16l36.544-512z"})]))}}),PO=NO,VO=d.defineComponent({name:"Coin",__name:"coin",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264z"}),d.createElementVNode("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264z"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),BO=VO,OO=d.defineComponent({name:"ColdDrink",__name:"cold-drink",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.064 192.064 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),RO=OO,zO=d.defineComponent({name:"CollectionTag",__name:"collection-tag",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),HO=zO,FO=d.defineComponent({name:"Collection",__name:"collection",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),d.createElementVNode("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),GO=FO,$O=d.defineComponent({name:"Comment",__name:"comment",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),WO=$O,UO=d.defineComponent({name:"Compass",__name:"compass",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),d.createElementVNode("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),YO=UO,jO=d.defineComponent({name:"Connection",__name:"connection",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),d.createElementVNode("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.064 192.064 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),XO=jO,qO=d.defineComponent({name:"Coordinate",__name:"coordinate",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),d.createElementVNode("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),ZO=qO,KO=d.defineComponent({name:"CopyDocument",__name:"copy-document",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),d.createElementVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),JO=KO,QO=d.defineComponent({name:"Cpu",__name:"cpu",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),eR=QO,tR=d.defineComponent({name:"CreditCard",__name:"credit-card",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.352 52.352 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.352 52.352 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.352 52.352 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.352 52.352 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448-20.864 11.136-41.6 17.088-98.56 17.088H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.288 116.288 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448 20.864-11.136 41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384 11.136 20.864 17.088 41.6 17.088 98.56z"}),d.createElementVNode("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),rR=tR,nR=d.defineComponent({name:"Crop",__name:"crop",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),d.createElementVNode("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),aR=nR,iR=d.defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),oR=iR,sR=d.defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),lR=sR,uR=d.defineComponent({name:"DCaret",__name:"d-caret",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),cR=uR,fR=d.defineComponent({name:"DataAnalysis",__name:"data-analysis",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),hR=fR,pR=d.defineComponent({name:"DataBoard",__name:"data-board",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),d.createElementVNode("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),d.createElementVNode("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),dR=pR,vR=d.defineComponent({name:"DataLine",__name:"data-line",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),gR=vR,mR=d.defineComponent({name:"DeleteFilled",__name:"delete-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),_R=mR,yR=d.defineComponent({name:"DeleteLocation",__name:"delete-location",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),d.createElementVNode("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),wR=yR,xR=d.defineComponent({name:"Delete",__name:"delete",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),bR=xR,SR=d.defineComponent({name:"Dessert",__name:"dessert",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.808 143.808 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.808 143.808 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0h140.48m339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),CR=SR,ER=d.defineComponent({name:"Discount",__name:"discount",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),TR=ER,DR=d.defineComponent({name:"DishDot",__name:"dish-dot",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.192 448.192 0 0 1 955.392 768H68.544A448.192 448.192 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),AR=DR,MR=d.defineComponent({name:"Dish",__name:"dish",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),kR=MR,LR=d.defineComponent({name:"DocumentAdd",__name:"document-add",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),IR=LR,NR=d.defineComponent({name:"DocumentChecked",__name:"document-checked",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),PR=NR,VR=d.defineComponent({name:"DocumentCopy",__name:"document-copy",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),BR=VR,OR=d.defineComponent({name:"DocumentDelete",__name:"document-delete",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248 90.496-90.496z"})]))}}),RR=OR,zR=d.defineComponent({name:"DocumentRemove",__name:"document-remove",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),HR=zR,FR=d.defineComponent({name:"Document",__name:"document",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),GR=FR,$R=d.defineComponent({name:"Download",__name:"download",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),WR=$R,UR=d.defineComponent({name:"Drizzling",__name:"drizzling",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),YR=UR,jR=d.defineComponent({name:"EditPen",__name:"edit-pen",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112-56.64 98.112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64h-448z"})]))}}),XR=jR,qR=d.defineComponent({name:"Edit",__name:"edit",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),d.createElementVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),ZR=qR,KR=d.defineComponent({name:"ElemeFilled",__name:"eleme-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.688 330.688 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.552 47.552 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.304 234.304 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.552 47.552 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),JR=KR,QR=d.defineComponent({name:"Eleme",__name:"eleme",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24zm526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.232 63.232 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8l71.04-46.08z"})]))}}),ez=QR,tz=d.defineComponent({name:"ElementPlus",__name:"element-plus",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6c12.8-5.1 25.6-5.1 38.4 0 0 0 279 161.3 309.8 179.2 17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4l220.1-128zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64l-2.5-38.4z"})]))}}),rz=tz,nz=d.defineComponent({name:"Expand",__name:"expand",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),az=nz,iz=d.defineComponent({name:"Failed",__name:"failed",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),oz=iz,sz=d.defineComponent({name:"Female",__name:"female",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),lz=sz,uz=d.defineComponent({name:"Files",__name:"files",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),cz=uz,fz=d.defineComponent({name:"Film",__name:"film",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),hz=fz,pz=d.defineComponent({name:"Filter",__name:"filter",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),e6=pz,dz=d.defineComponent({name:"Finished",__name:"finished",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2l203.968 152.96zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),vz=dz,gz=d.defineComponent({name:"FirstAidKit",__name:"first-aid-kit",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),d.createElementVNode("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),mz=gz,_z=d.defineComponent({name:"Flag",__name:"flag",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),yz=_z,wz=d.defineComponent({name:"Fold",__name:"fold",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),xz=wz,bz=d.defineComponent({name:"FolderAdd",__name:"folder-add",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),Sz=bz,Cz=d.defineComponent({name:"FolderChecked",__name:"folder-checked",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),Ez=Cz,Tz=d.defineComponent({name:"FolderDelete",__name:"folder-delete",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),Dz=Tz,Az=d.defineComponent({name:"FolderOpened",__name:"folder-opened",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16l96-384zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),Mz=Az,kz=d.defineComponent({name:"FolderRemove",__name:"folder-remove",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),Lz=kz,Iz=d.defineComponent({name:"Folder",__name:"folder",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),Nz=Iz,Pz=d.defineComponent({name:"Food",__name:"food",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),Vz=Pz,Bz=d.defineComponent({name:"Football",__name:"football",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),d.createElementVNode("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a385.984 385.984 0 0 1-80.448-91.648zm653.696-5.312a385.92 385.92 0 0 1-83.776 96.96l-32.512-56.384a322.923 322.923 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184zM465.984 445.248l11.136-63.104a323.584 323.584 0 0 0 69.76 0l11.136 63.104a387.968 387.968 0 0 1-92.032 0m-62.72-12.8A381.824 381.824 0 0 1 320 396.544l32-55.424a319.885 319.885 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.824 381.824 0 0 1-83.328 35.84l-11.2-63.552A319.885 319.885 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.92 385.92 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072zm657.536.128a1442.759 1442.759 0 0 1-49.024 43.072 321.408 321.408 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408zM465.92 578.752a387.968 387.968 0 0 1 92.032 0l-11.136 63.104a323.584 323.584 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a319.885 319.885 0 0 0-62.464 27.712L320 627.392a381.824 381.824 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.272 318.272 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),Oz=Bz,Rz=d.defineComponent({name:"ForkSpoon",__name:"fork-spoon",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56zM672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),zz=Rz,Hz=d.defineComponent({name:"Fries",__name:"fries",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.744 95.744 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128.128 128.128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132.405 132.405 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),Fz=Hz,Gz=d.defineComponent({name:"FullScreen",__name:"full-screen",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),$z=Gz,Wz=d.defineComponent({name:"GobletFull",__name:"goblet-full",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0zM544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),Uz=Wz,Yz=d.defineComponent({name:"GobletSquareFull",__name:"goblet-square-full",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256v142.912zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952.32 952.32 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),jz=Yz,Xz=d.defineComponent({name:"GobletSquare",__name:"goblet-square",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),qz=Xz,Zz=d.defineComponent({name:"Goblet",__name:"goblet",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),Kz=Zz,Jz=d.defineComponent({name:"GoldMedal",__name:"gold-medal",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16zM640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128h.01zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a359.844 359.844 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98z"}),d.createElementVNode("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),Qz=Jz,eH=d.defineComponent({name:"GoodsFilled",__name:"goods-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),tH=eH,rH=d.defineComponent({name:"Goods",__name:"goods",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),nH=rH,aH=d.defineComponent({name:"Grape",__name:"grape",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),iH=aH,oH=d.defineComponent({name:"Grid",__name:"grid",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),sH=oH,lH=d.defineComponent({name:"Guide",__name:"guide",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),d.createElementVNode("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256H220.8zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2l71.168 80zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),uH=lH,cH=d.defineComponent({name:"Handbag",__name:"handbag",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),fH=cH,hH=d.defineComponent({name:"Headset",__name:"headset",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),pH=hH,dH=d.defineComponent({name:"HelpFilled",__name:"help-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M926.784 480H701.312A192.512 192.512 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.512 192.512 0 0 0 701.312 544zM97.28 544h225.472A192.512 192.512 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.512 192.512 0 0 0 322.688 480H97.216z"})]))}}),vH=dH,gH=d.defineComponent({name:"Help",__name:"help",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.912 254.912 0 0 1 512 768a254.912 254.912 0 0 1-156.992-53.76l-90.944 91.008A382.464 382.464 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.464 382.464 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512c0 59.136-20.096 113.6-53.76 156.992l91.008 90.944zm-45.312-541.184A382.464 382.464 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.912 254.912 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76l90.944-91.008zm-541.184 45.312A382.464 382.464 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.912 254.912 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.56 194.56 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.232 191.232 0 0 0-67.968-146.56A191.296 191.296 0 0 0 512 320a191.232 191.232 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.232 191.232 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),mH=gH,_H=d.defineComponent({name:"Hide",__name:"hide",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),d.createElementVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),yH=_H,wH=d.defineComponent({name:"Histogram",__name:"histogram",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),xH=wH,bH=d.defineComponent({name:"HomeFilled",__name:"home-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),SH=bH,CH=d.defineComponent({name:"HotWater",__name:"hot-water",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2H273.067zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134zM512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133zM375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267z"})]))}}),EH=CH,TH=d.defineComponent({name:"House",__name:"house",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),DH=TH,AH=d.defineComponent({name:"IceCreamRound",__name:"ice-cream-round",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0z"})]))}}),MH=AH,kH=d.defineComponent({name:"IceCreamSquare",__name:"ice-cream-square",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),LH=kH,IH=d.defineComponent({name:"IceCream",__name:"ice-cream",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.128 208.128 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0zm351.36 0h286.272a144 144 0 0 0-286.272 0zm-294.848 64 271.808 396.608L778.24 512H249.408zM511.68 352.64a207.872 207.872 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),NH=IH,PH=d.defineComponent({name:"IceDrink",__name:"ice-drink",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.128 256.128 0 0 0 512 192.64m-64 8.064A256.448 256.448 0 0 0 264.256 384H448zm64-72.064A320.128 320.128 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.384 320.384 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),VH=PH,BH=d.defineComponent({name:"IceTea",__name:"ice-tea",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),OH=BH,RH=d.defineComponent({name:"InfoFilled",__name:"info-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),t6=RH,zH=d.defineComponent({name:"Iphone",__name:"iphone",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),HH=zH,FH=d.defineComponent({name:"Key",__name:"key",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),GH=FH,$H=d.defineComponent({name:"KnifeFork",__name:"knife-fork",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256 21.312 81.152 32 177.152 32 288z"})]))}}),WH=$H,UH=d.defineComponent({name:"Lightning",__name:"lightning",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M288 671.36v64.128A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),d.createElementVNode("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),YH=UH,jH=d.defineComponent({name:"Link",__name:"link",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),XH=jH,qH=d.defineComponent({name:"List",__name:"list",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),ZH=qH,KH=d.defineComponent({name:"Loading",__name:"loading",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),JH=KH,QH=d.defineComponent({name:"LocationFilled",__name:"location-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),eF=QH,tF=d.defineComponent({name:"LocationInformation",__name:"location-information",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),rF=tF,nF=d.defineComponent({name:"Location",__name:"location",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),aF=nF,iF=d.defineComponent({name:"Lock",__name:"lock",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),oF=iF,sF=d.defineComponent({name:"Lollipop",__name:"lollipop",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744zm-54.464-36.032a321.92 321.92 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),lF=sF,uF=d.defineComponent({name:"MagicStick",__name:"magic-stick",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),cF=uF,fF=d.defineComponent({name:"Magnet",__name:"magnet",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),hF=fF,pF=d.defineComponent({name:"Male",__name:"male",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),d.createElementVNode("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),d.createElementVNode("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),dF=pF,vF=d.defineComponent({name:"Management",__name:"management",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),gF=vF,mF=d.defineComponent({name:"MapLocation",__name:"map-location",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),_F=mF,yF=d.defineComponent({name:"Medal",__name:"medal",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),d.createElementVNode("path",{fill:"currentColor",d:"M576 128H448v200a286.72 286.72 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92V128zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96-56.896 0-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),wF=yF,xF=d.defineComponent({name:"Memo",__name:"memo",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),d.createElementVNode("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),bF=xF,SF=d.defineComponent({name:"Menu",__name:"menu",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),CF=SF,EF=d.defineComponent({name:"MessageBox",__name:"message-box",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128z"})]))}}),TF=EF,DF=d.defineComponent({name:"Message",__name:"message",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),d.createElementVNode("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224H205.056"})]))}}),AF=DF,MF=d.defineComponent({name:"Mic",__name:"mic",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),kF=MF,LF=d.defineComponent({name:"Microphone",__name:"microphone",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),IF=LF,NF=d.defineComponent({name:"MilkTea",__name:"milk-tea",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),PF=NF,VF=d.defineComponent({name:"Minus",__name:"minus",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),BF=VF,OF=d.defineComponent({name:"Money",__name:"money",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),d.createElementVNode("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.056 29.056 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.056 29.056 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),d.createElementVNode("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),RF=OF,zF=d.defineComponent({name:"Monitor",__name:"monitor",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),HF=zF,FF=d.defineComponent({name:"MoonNight",__name:"moon-night",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.256 448.256 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),d.createElementVNode("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),GF=FF,$F=d.defineComponent({name:"Moon",__name:"moon",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 390.592 390.592 0 0 0-17.408 16.384zm181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),WF=$F,UF=d.defineComponent({name:"MoreFilled",__name:"more-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),YF=UF,jF=d.defineComponent({name:"More",__name:"more",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),XF=jF,qF=d.defineComponent({name:"MostlyCloudy",__name:"mostly-cloudy",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.808 207.808 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.808 271.808 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),ZF=qF,KF=d.defineComponent({name:"Mouse",__name:"mouse",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112-20.096 10.752-35.52 26.176-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76 10.752 20.096 26.176 35.52 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112 20.096-10.752 35.52-26.176 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.464 110.464 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.464 174.464 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.464 174.464 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.464 174.464 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),JF=KF,QF=d.defineComponent({name:"Mug",__name:"mug",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),eG=QF,tG=d.defineComponent({name:"MuteNotification",__name:"mute-notification",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.128 320.128 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.552 319.552 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),d.createElementVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),rG=tG,nG=d.defineComponent({name:"Mute",__name:"mute",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.232 191.232 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A222.976 222.976 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.976 286.976 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),d.createElementVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056l-704 708.544z"})]))}}),aG=nG,iG=d.defineComponent({name:"NoSmoking",__name:"no-smoking",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),oG=iG,sG=d.defineComponent({name:"Notebook",__name:"notebook",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),lG=sG,uG=d.defineComponent({name:"Notification",__name:"notification",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),d.createElementVNode("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),cG=uG,fG=d.defineComponent({name:"Odometer",__name:"odometer",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),d.createElementVNode("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),d.createElementVNode("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),hG=fG,pG=d.defineComponent({name:"OfficeBuilding",__name:"office-building",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),d.createElementVNode("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),dG=pG,vG=d.defineComponent({name:"Open",__name:"open",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),d.createElementVNode("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),gG=vG,mG=d.defineComponent({name:"Operation",__name:"operation",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),_G=mG,yG=d.defineComponent({name:"Opportunity",__name:"opportunity",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.656 350.656 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.552 351.552 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),wG=yG,xG=d.defineComponent({name:"Orange",__name:"orange",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M544 894.72a382.336 382.336 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.336 382.336 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024l182.976 182.912zM894.656 480a382.336 382.336 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024h258.688zm-134.72-261.248A382.336 382.336 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.336 382.336 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.336 382.336 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.336 382.336 0 0 0 89.408 215.936l182.976-182.912A127.232 127.232 0 0 1 388.032 544zm134.72 261.248A382.336 382.336 0 0 0 480 894.656V635.968a127.232 127.232 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),bG=xG,SG=d.defineComponent({name:"Paperclip",__name:"paperclip",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744l294.144-294.208z"})]))}}),CG=SG,EG=d.defineComponent({name:"PartlyCloudy",__name:"partly-cloudy",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),d.createElementVNode("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6003.84 6003.84 0 0 0-49.28 41.408z"})]))}}),TG=EG,DG=d.defineComponent({name:"Pear",__name:"pear",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M542.336 258.816a443.255 443.255 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.688 162.688 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.688 162.688 0 0 0-130.112-133.12zm-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a316.608 316.608 0 0 0-9.792 15.104 226.688 226.688 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),AG=DG,MG=d.defineComponent({name:"PhoneFilled",__name:"phone-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048z"})]))}}),kG=MG,LG=d.defineComponent({name:"Phone",__name:"phone",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472L139.84 402.304zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),IG=LG,NG=d.defineComponent({name:"PictureFilled",__name:"picture-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),PG=NG,VG=d.defineComponent({name:"PictureRounded",__name:"picture-rounded",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),d.createElementVNode("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64q-64 0-64-64t64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),BG=VG,OG=d.defineComponent({name:"Picture",__name:"picture",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64q-64 0-64-64t64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),RG=OG,zG=d.defineComponent({name:"PieChart",__name:"pie-chart",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.128 384.128 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.128 448.128 0 0 1 448 68.48z"}),d.createElementVNode("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28zM512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),HG=zG,FG=d.defineComponent({name:"Place",__name:"place",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),GG=FG,$G=d.defineComponent({name:"Platform",__name:"platform",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),WG=$G,UG=d.defineComponent({name:"Plus",__name:"plus",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),YG=UG,jG=d.defineComponent({name:"Pointer",__name:"pointer",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.272 94.272 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.272 158.272 0 0 1 185.984 8.32z"})]))}}),XG=jG,qG=d.defineComponent({name:"Position",__name:"position",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88 249.6 417.088zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992l-391.424-52.736z"})]))}}),ZG=qG,KG=d.defineComponent({name:"Postcard",__name:"postcard",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),d.createElementVNode("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),JG=KG,QG=d.defineComponent({name:"Pouring",__name:"pouring",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672zM959.552 480a256 256 0 0 1-256 256h-400A239.808 239.808 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),e$=QG,t$=d.defineComponent({name:"Present",__name:"present",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),d.createElementVNode("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),d.createElementVNode("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),r$=t$,n$=d.defineComponent({name:"PriceTag",__name:"price-tag",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0z"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),a$=n$,i$=d.defineComponent({name:"Printer",__name:"printer",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.056 29.056 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.056 29.056 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.296 23.296 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.296 23.296 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),o$=i$,s$=d.defineComponent({name:"Promotion",__name:"promotion",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),l$=s$,u$=d.defineComponent({name:"QuartzWatch",__name:"quartz-watch",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51-8.67.32-16.17 3.66-22.5 10.02-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5c3.01-11.65.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01-.32-8.67-3.66-16.16-10.02-22.5-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01 3.35 11.99 10.85 19.49 22.5 22.5zm242.94 0c11.67-3.03 19.01-10.37 22.02-22.02 3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5c-6.36 6.34-9.7 13.84-10.02 22.5-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),d.createElementVNode("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01 0 9.35 3 17.02 8.99 23.01 6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01 0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),c$=u$,f$=d.defineComponent({name:"QuestionFilled",__name:"question-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),h$=f$,p$=d.defineComponent({name:"Rank",__name:"rank",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544H186.496z"})]))}}),d$=p$,v$=d.defineComponent({name:"ReadingLamp",__name:"reading-lamp",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),d.createElementVNode("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),g$=v$,m$=d.defineComponent({name:"Reading",__name:"reading",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36z"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),_$=m$,y$=d.defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),w$=y$,x$=d.defineComponent({name:"RefreshRight",__name:"refresh-right",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),b$=x$,S$=d.defineComponent({name:"Refresh",__name:"refresh",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),C$=S$,E$=d.defineComponent({name:"Refrigerator",__name:"refrigerator",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),T$=E$,D$=d.defineComponent({name:"RemoveFilled",__name:"remove-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),A$=D$,M$=d.defineComponent({name:"Remove",__name:"remove",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),k$=M$,L$=d.defineComponent({name:"Right",__name:"right",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),I$=L$,N$=d.defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),P$=N$,V$=d.defineComponent({name:"School",__name:"school",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),d.createElementVNode("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),B$=V$,O$=d.defineComponent({name:"Scissor",__name:"scissor",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),R$=O$,z$=d.defineComponent({name:"Search",__name:"search",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),H$=z$,F$=d.defineComponent({name:"Select",__name:"select",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496z"})]))}}),G$=F$,$$=d.defineComponent({name:"Sell",__name:"sell",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248z"})]))}}),W$=$$,U$=d.defineComponent({name:"SemiSelect",__name:"semi-select",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),Y$=U$,j$=d.defineComponent({name:"Service",__name:"service",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.064 192.064 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193.235 193.235 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),X$=j$,q$=d.defineComponent({name:"SetUp",__name:"set-up",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),d.createElementVNode("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),d.createElementVNode("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),Z$=q$,K$=d.defineComponent({name:"Setting",__name:"setting",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357.12 357.12 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a351.616 351.616 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357.12 357.12 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294.113 294.113 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293.12 293.12 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294.113 294.113 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288.282 288.282 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293.12 293.12 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a287.616 287.616 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),J$=K$,Q$=d.defineComponent({name:"Share",__name:"share",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.808 127.808 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),eW=Q$,tW=d.defineComponent({name:"Ship",__name:"ship",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2H185.408"})]))}}),rW=tW,nW=d.defineComponent({name:"Shop",__name:"shop",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),aW=nW,iW=d.defineComponent({name:"ShoppingBag",__name:"shopping-bag",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),d.createElementVNode("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),oW=iW,sW=d.defineComponent({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"}),d.createElementVNode("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256h183.296zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648l179.2-215.04"})]))}}),lW=sW,uW=d.defineComponent({name:"ShoppingCart",__name:"shopping-cart",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44l76.8 384z"})]))}}),cW=uW,fW=d.defineComponent({name:"ShoppingTrolley",__name:"shopping-trolley",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),hW=fW,pW=d.defineComponent({name:"Smoking",__name:"smoking",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),dW=pW,vW=d.defineComponent({name:"Soccer",__name:"soccer",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.056 573.056 0 0 0 224.832-137.216 573.12 573.12 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.68 567.68 0 0 0 170.432 532.48l320.384 320.384zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944-199.936 199.936-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248l45.248 45.248z"})]))}}),gW=vW,mW=d.defineComponent({name:"SoldOut",__name:"sold-out",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128c-70.272 0-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),_W=mW,yW=d.defineComponent({name:"SortDown",__name:"sort-down",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),wW=yW,xW=d.defineComponent({name:"SortUp",__name:"sort-up",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),bW=xW,SW=d.defineComponent({name:"Sort",__name:"sort",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0V141.248z"})]))}}),CW=SW,EW=d.defineComponent({name:"Stamp",__name:"stamp",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),TW=EW,DW=d.defineComponent({name:"StarFilled",__name:"star-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),AW=DW,MW=d.defineComponent({name:"Star",__name:"star",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),kW=MW,LW=d.defineComponent({name:"Stopwatch",__name:"stopwatch",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),d.createElementVNode("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),IW=LW,NW=d.defineComponent({name:"SuccessFilled",__name:"success-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),r6=NW,PW=d.defineComponent({name:"Sugar",__name:"sugar",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16l-109.248 19.2zm-548.8 198.72h447.168v2.24l60.8-60.8a63.808 63.808 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64.064 64.064 0 0 0-10.24 13.248zm0 64c2.752 4.736 6.144 9.152 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632l-137.6 24.256zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),VW=PW,BW=d.defineComponent({name:"SuitcaseLine",__name:"suitcase-line",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5C77.16 253.82 64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),OW=BW,RW=d.defineComponent({name:"Suitcase",__name:"suitcase",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),d.createElementVNode("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),zW=RW,HW=d.defineComponent({name:"Sunny",__name:"sunny",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0zm543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),FW=HW,GW=d.defineComponent({name:"Sunrise",__name:"sunrise",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0h-64.32zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0zm-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),$W=GW,WW=d.defineComponent({name:"Sunset",__name:"sunset",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),UW=WW,YW=d.defineComponent({name:"SwitchButton",__name:"switch-button",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128z"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),jW=YW,XW=d.defineComponent({name:"SwitchFilled",__name:"switch-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36z"}),d.createElementVNode("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.655 196.655 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.67 196.67 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42zm-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.695 131.695 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.655 196.655 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.69 196.69 0 0 0 139.08-57.61A196.655 196.655 0 0 0 896 699.31V325.29a196.69 196.69 0 0 0-57.61-139.08zm-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82z"})]))}}),qW=XW,ZW=d.defineComponent({name:"Switch",__name:"switch",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344zM64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),KW=ZW,JW=d.defineComponent({name:"TakeawayBox",__name:"takeaway-box",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),QW=JW,eU=d.defineComponent({name:"Ticket",__name:"ticket",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),tU=eU,rU=d.defineComponent({name:"Tickets",__name:"tickets",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),nU=rU,aU=d.defineComponent({name:"Timer",__name:"timer",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),iU=aU,oU=d.defineComponent({name:"ToiletPaper",__name:"toilet-paper",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),d.createElementVNode("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),sU=oU,lU=d.defineComponent({name:"Tools",__name:"tools",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M764.416 254.72a351.68 351.68 0 0 1 86.336 149.184H960v192.064H850.752a351.68 351.68 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.68 351.68 0 0 1-86.336-149.312H64v-192h109.248a351.68 351.68 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),uU=lU,cU=d.defineComponent({name:"TopLeft",__name:"top-left",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),d.createElementVNode("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312l-544-544z"})]))}}),fU=cU,hU=d.defineComponent({name:"TopRight",__name:"top-right",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),d.createElementVNode("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312l544-544z"})]))}}),pU=hU,dU=d.defineComponent({name:"Top",__name:"top",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),vU=dU,gU=d.defineComponent({name:"TrendCharts",__name:"trend-charts",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624 139.84-156.608zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),mU=gU,_U=d.defineComponent({name:"TrophyBase",__name:"trophy-base",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4C752 67.2 745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6C259.2 80 256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 16-9.6 22.4 3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4zM256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6C342.4 480 320 438.4 320 384V128h384v256c0 54.4-19.2 99.2-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2zM768 896H256c-9.6 0-16 3.2-22.4 9.6-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4c6.4 6.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6 6.4-6.4 9.6-12.8 9.6-22.4s-3.2-16-9.6-22.4c-6.4-6.4-12.8-9.6-22.4-9.6"})]))}}),yU=_U,wU=d.defineComponent({name:"Trophy",__name:"trophy",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M480 896V702.08A256.256 256.256 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.256 256.256 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),xU=wU,bU=d.defineComponent({name:"TurnOff",__name:"turn-off",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36z"}),d.createElementVNode("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),SU=bU,CU=d.defineComponent({name:"Umbrella",__name:"umbrella",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),EU=CU,TU=d.defineComponent({name:"Unlock",__name:"unlock",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),d.createElementVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),DU=TU,AU=d.defineComponent({name:"UploadFilled",__name:"upload-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.808 239.808 0 0 1 512 192a239.872 239.872 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),l0=AU,MU=d.defineComponent({name:"Upload",__name:"upload",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),kU=MU,LU=d.defineComponent({name:"UserFilled",__name:"user-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),IU=LU,NU=d.defineComponent({name:"User",__name:"user",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),PU=NU,VU=d.defineComponent({name:"Van",__name:"van",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96h151.872M688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),BU=VU,OU=d.defineComponent({name:"VideoCameraFilled",__name:"video-camera-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),RU=OU,zU=d.defineComponent({name:"VideoCamera",__name:"video-camera",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),HU=zU,FU=d.defineComponent({name:"VideoPause",__name:"video-pause",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),GU=FU,$U=d.defineComponent({name:"VideoPlay",__name:"video-play",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),WU=$U,UU=d.defineComponent({name:"View",__name:"view",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),YU=UU,jU=d.defineComponent({name:"WalletFilled",__name:"wallet-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),XU=jU,qU=d.defineComponent({name:"Wallet",__name:"wallet",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),d.createElementVNode("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),ZU=qU,KU=d.defineComponent({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",style:{"enable-background":"new 0 0 1024 1024"},viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49 12.91-20.12 12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),JU=KU,QU=d.defineComponent({name:"WarningFilled",__name:"warning-filled",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),n6=QU,eY=d.defineComponent({name:"Warning",__name:"warning",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),tY=eY,rY=d.defineComponent({name:"Watch",__name:"watch",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),d.createElementVNode("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),nY=rY,aY=d.defineComponent({name:"Watermelon",__name:"watermelon",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632l632 632"})]))}}),iY=aY,oY=d.defineComponent({name:"WindPower",__name:"wind-power",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),sY=oY,lY=d.defineComponent({name:"ZoomIn",__name:"zoom-in",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),uY=lY,cY=d.defineComponent({name:"ZoomOut",__name:"zoom-out",setup(r){return(t,e)=>(d.openBlock(),d.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[d.createElementVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),fY=cY;const Gf=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:AV,Aim:kV,AlarmClock:IV,Apple:PV,ArrowDown:RV,ArrowDownBold:BV,ArrowLeft:GV,ArrowLeftBold:HV,ArrowRight:YV,ArrowRightBold:WV,ArrowUp:ZV,ArrowUpBold:XV,Avatar:JV,Back:eB,Baseball:rB,Basketball:aB,Bell:lB,BellFilled:oB,Bicycle:cB,Bottom:gB,BottomLeft:hB,BottomRight:dB,Bowl:_B,Box:wB,Briefcase:bB,Brush:TB,BrushFilled:CB,Burger:AB,Calendar:kB,Camera:PB,CameraFilled:IB,CaretBottom:BB,CaretLeft:RB,CaretRight:HB,CaretTop:GB,Cellphone:WB,ChatDotRound:YB,ChatDotSquare:XB,ChatLineRound:ZB,ChatLineSquare:JB,ChatRound:eO,ChatSquare:rO,Check:aO,Checked:oO,Cherry:lO,Chicken:cO,ChromeFilled:hO,CircleCheck:gO,CircleCheckFilled:dO,CircleClose:yO,CircleCloseFilled:J3,CirclePlus:SO,CirclePlusFilled:xO,Clock:EO,Close:Q3,CloseBold:DO,Cloudy:kO,Coffee:PO,CoffeeCup:IO,Coin:BO,ColdDrink:RO,Collection:GO,CollectionTag:HO,Comment:WO,Compass:YO,Connection:XO,Coordinate:ZO,CopyDocument:JO,Cpu:eR,CreditCard:rR,Crop:aR,DArrowLeft:oR,DArrowRight:lR,DCaret:cR,DataAnalysis:hR,DataBoard:dR,DataLine:gR,Delete:bR,DeleteFilled:_R,DeleteLocation:wR,Dessert:CR,Discount:TR,Dish:kR,DishDot:AR,Document:GR,DocumentAdd:IR,DocumentChecked:PR,DocumentCopy:BR,DocumentDelete:RR,DocumentRemove:HR,Download:WR,Drizzling:YR,Edit:ZR,EditPen:XR,Eleme:ez,ElemeFilled:JR,ElementPlus:rz,Expand:az,Failed:oz,Female:lz,Files:cz,Film:hz,Filter:e6,Finished:vz,FirstAidKit:mz,Flag:yz,Fold:xz,Folder:Nz,FolderAdd:Sz,FolderChecked:Ez,FolderDelete:Dz,FolderOpened:Mz,FolderRemove:Lz,Food:Vz,Football:Oz,ForkSpoon:zz,Fries:Fz,FullScreen:$z,Goblet:Kz,GobletFull:Uz,GobletSquare:qz,GobletSquareFull:jz,GoldMedal:Qz,Goods:nH,GoodsFilled:tH,Grape:iH,Grid:sH,Guide:uH,Handbag:fH,Headset:pH,Help:mH,HelpFilled:vH,Hide:yH,Histogram:xH,HomeFilled:SH,HotWater:EH,House:DH,IceCream:NH,IceCreamRound:MH,IceCreamSquare:LH,IceDrink:VH,IceTea:OH,InfoFilled:t6,Iphone:HH,Key:GH,KnifeFork:WH,Lightning:YH,Link:XH,List:ZH,Loading:JH,Location:aF,LocationFilled:eF,LocationInformation:rF,Lock:oF,Lollipop:lF,MagicStick:cF,Magnet:hF,Male:dF,Management:gF,MapLocation:_F,Medal:wF,Memo:bF,Menu:CF,Message:AF,MessageBox:TF,Mic:kF,Microphone:IF,MilkTea:PF,Minus:BF,Money:RF,Monitor:HF,Moon:WF,MoonNight:GF,More:XF,MoreFilled:YF,MostlyCloudy:ZF,Mouse:JF,Mug:eG,Mute:aG,MuteNotification:rG,NoSmoking:oG,Notebook:lG,Notification:cG,Odometer:hG,OfficeBuilding:dG,Open:gG,Operation:_G,Opportunity:wG,Orange:bG,Paperclip:CG,PartlyCloudy:TG,Pear:AG,Phone:IG,PhoneFilled:kG,Picture:RG,PictureFilled:PG,PictureRounded:BG,PieChart:HG,Place:GG,Platform:WG,Plus:YG,Pointer:XG,Position:ZG,Postcard:JG,Pouring:e$,Present:r$,PriceTag:a$,Printer:o$,Promotion:l$,QuartzWatch:c$,QuestionFilled:h$,Rank:d$,Reading:_$,ReadingLamp:g$,Refresh:C$,RefreshLeft:w$,RefreshRight:b$,Refrigerator:T$,Remove:k$,RemoveFilled:A$,Right:I$,ScaleToOriginal:P$,School:B$,Scissor:R$,Search:H$,Select:G$,Sell:W$,SemiSelect:Y$,Service:X$,SetUp:Z$,Setting:J$,Share:eW,Ship:rW,Shop:aW,ShoppingBag:oW,ShoppingCart:cW,ShoppingCartFull:lW,ShoppingTrolley:hW,Smoking:dW,Soccer:gW,SoldOut:_W,Sort:CW,SortDown:wW,SortUp:bW,Stamp:TW,Star:kW,StarFilled:AW,Stopwatch:IW,SuccessFilled:r6,Sugar:VW,Suitcase:zW,SuitcaseLine:OW,Sunny:FW,Sunrise:$W,Sunset:UW,Switch:KW,SwitchButton:jW,SwitchFilled:qW,TakeawayBox:QW,Ticket:tU,Tickets:nU,Timer:iU,ToiletPaper:sU,Tools:uU,Top:vU,TopLeft:fU,TopRight:pU,TrendCharts:mU,Trophy:xU,TrophyBase:yU,TurnOff:SU,Umbrella:EU,Unlock:DU,Upload:kU,UploadFilled:l0,User:PU,UserFilled:IU,Van:BU,VideoCamera:HU,VideoCameraFilled:RU,VideoPause:GU,VideoPlay:WU,View:YU,Wallet:ZU,WalletFilled:XU,WarnTriangleFilled:JU,Warning:tY,WarningFilled:n6,Watch:nY,Watermelon:iY,WindPower:sY,ZoomIn:uY,ZoomOut:fY},Symbol.toStringTag,{value:"Module"})),hY=In([String,Object,Function]),pY={Close:Q3},a6={success:r6,warning:n6,error:J3,info:t6},dY=r=>r,vY={esc:"Escape"},gY=ou({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:In([String,Object,Array])},offset:{type:In(Array),default:[0,0]},badgeClass:{type:String}}),mY=d.defineComponent({name:"ElBadge"}),_Y=d.defineComponent({...mY,props:gY,setup(r,{expose:t}){const e=r,n=jv("badge"),a=d.computed(()=>e.isDot?"":Bi(e.value)&&Bi(e.max)?e.max<e.value?`${e.max}+`:`${e.value}`:`${e.value}`),i=d.computed(()=>{var o,s,l,u,c;return[{backgroundColor:e.color,marginRight:s0(-((s=(o=e.offset)==null?void 0:o[0])!=null?s:0)),marginTop:s0((u=(l=e.offset)==null?void 0:l[1])!=null?u:0)},(c=e.badgeStyle)!=null?c:{}]});return t({content:a}),(o,s)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(d.unref(n).b())},[d.renderSlot(o.$slots,"default"),d.createVNode(d.Transition,{name:`${d.unref(n).namespace.value}-zoom-in-center`,persisted:""},{default:d.withCtx(()=>[d.withDirectives(d.createElementVNode("sup",{class:d.normalizeClass([d.unref(n).e("content"),d.unref(n).em("content",o.type),d.unref(n).is("fixed",!!o.$slots.default),d.unref(n).is("dot",o.isDot),d.unref(n).is("hide-zero",!o.showZero&&e.value===0),o.badgeClass]),style:d.normalizeStyle(d.unref(i))},[d.renderSlot(o.$slots,"content",{value:d.unref(a)},()=>[d.createTextVNode(d.toDisplayString(d.unref(a)),1)])],6),[[d.vShow,!o.hidden&&(d.unref(a)||o.isDot||o.$slots.content)]])]),_:3},8,["name"])],2))}});var yY=o0(_Y,[["__file","badge.vue"]]);const wY=Z3(yY);function xY(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var $f={exports:{}},bY=$f.exports,i6;function SY(){return i6||(i6=1,function(r,t){(function(e,n){r.exports=n()})(bY,function(){var e=1e3,n=6e4,a=36e5,i="millisecond",o="second",s="minute",l="hour",u="day",c="week",f="month",h="quarter",p="year",v="date",m="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(L){var N=["th","st","nd","rd"],P=L%100;return"["+L+(N[(P-20)%10]||N[P]||N[0])+"]"}},w=function(L,N,P){var V=String(L);return!V||V.length>=N?L:""+Array(N+1-V.length).join(P)+L},x={s:w,z:function(L){var N=-L.utcOffset(),P=Math.abs(N),V=Math.floor(P/60),O=P%60;return(N<=0?"+":"-")+w(V,2,"0")+":"+w(O,2,"0")},m:function L(N,P){if(N.date()<P.date())return-L(P,N);var V=12*(P.year()-N.year())+(P.month()-N.month()),O=N.clone().add(V,f),B=P-O<0,R=N.clone().add(V+(B?-1:1),f);return+(-(V+(P-O)/(B?O-R:R-O))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:f,y:p,w:c,d:u,D:v,h:l,m:s,s:o,ms:i,Q:h}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},b="en",S={};S[b]=y;var C="$isDayjsObject",D=function(L){return L instanceof k||!(!L||!L[C])},T=function L(N,P,V){var O;if(!N)return b;if(typeof N=="string"){var B=N.toLowerCase();S[B]&&(O=B),P&&(S[B]=P,O=B);var R=N.split("-");if(!O&&R.length>1)return L(R[0])}else{var z=N.name;S[z]=N,O=z}return!V&&O&&(b=O),O||!V&&b},E=function(L,N){if(D(L))return L.clone();var P=typeof N=="object"?N:{};return P.date=L,P.args=arguments,new k(P)},A=x;A.l=T,A.i=D,A.w=function(L,N){return E(L,{locale:N.$L,utc:N.$u,x:N.$x,$offset:N.$offset})};var k=function(){function L(P){this.$L=T(P.locale,null,!0),this.parse(P),this.$x=this.$x||P.x||{},this[C]=!0}var N=L.prototype;return N.parse=function(P){this.$d=function(V){var O=V.date,B=V.utc;if(O===null)return new Date(NaN);if(A.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var R=O.match(g);if(R){var z=R[2]-1||0,H=(R[7]||"0").substring(0,3);return B?new Date(Date.UTC(R[1],z,R[3]||1,R[4]||0,R[5]||0,R[6]||0,H)):new Date(R[1],z,R[3]||1,R[4]||0,R[5]||0,R[6]||0,H)}}return new Date(O)}(P),this.init()},N.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},N.$utils=function(){return A},N.isValid=function(){return this.$d.toString()!==m},N.isSame=function(P,V){var O=E(P);return this.startOf(V)<=O&&O<=this.endOf(V)},N.isAfter=function(P,V){return E(P)<this.startOf(V)},N.isBefore=function(P,V){return this.endOf(V)<E(P)},N.$g=function(P,V,O){return A.u(P)?this[V]:this.set(O,P)},N.unix=function(){return Math.floor(this.valueOf()/1e3)},N.valueOf=function(){return this.$d.getTime()},N.startOf=function(P,V){var O=this,B=!!A.u(V)||V,R=A.p(P),z=function(re,le){var Q=A.w(O.$u?Date.UTC(O.$y,le,re):new Date(O.$y,le,re),O);return B?Q:Q.endOf(u)},H=function(re,le){return A.w(O.toDate()[re].apply(O.toDate("s"),(B?[0,0,0,0]:[23,59,59,999]).slice(le)),O)},$=this.$W,X=this.$M,j=this.$D,fe="set"+(this.$u?"UTC":"");switch(R){case p:return B?z(1,0):z(31,11);case f:return B?z(1,X):z(0,X+1);case c:var De=this.$locale().weekStart||0,ie=($<De?$+7:$)-De;return z(B?j-ie:j+(6-ie),X);case u:case v:return H(fe+"Hours",0);case l:return H(fe+"Minutes",1);case s:return H(fe+"Seconds",2);case o:return H(fe+"Milliseconds",3);default:return this.clone()}},N.endOf=function(P){return this.startOf(P,!1)},N.$set=function(P,V){var O,B=A.p(P),R="set"+(this.$u?"UTC":""),z=(O={},O[u]=R+"Date",O[v]=R+"Date",O[f]=R+"Month",O[p]=R+"FullYear",O[l]=R+"Hours",O[s]=R+"Minutes",O[o]=R+"Seconds",O[i]=R+"Milliseconds",O)[B],H=B===u?this.$D+(V-this.$W):V;if(B===f||B===p){var $=this.clone().set(v,1);$.$d[z](H),$.init(),this.$d=$.set(v,Math.min(this.$D,$.daysInMonth())).$d}else z&&this.$d[z](H);return this.init(),this},N.set=function(P,V){return this.clone().$set(P,V)},N.get=function(P){return this[A.p(P)]()},N.add=function(P,V){var O,B=this;P=Number(P);var R=A.p(V),z=function(X){var j=E(B);return A.w(j.date(j.date()+Math.round(X*P)),B)};if(R===f)return this.set(f,this.$M+P);if(R===p)return this.set(p,this.$y+P);if(R===u)return z(1);if(R===c)return z(7);var H=(O={},O[s]=n,O[l]=a,O[o]=e,O)[R]||1,$=this.$d.getTime()+P*H;return A.w($,this)},N.subtract=function(P,V){return this.add(-1*P,V)},N.format=function(P){var V=this,O=this.$locale();if(!this.isValid())return O.invalidDate||m;var B=P||"YYYY-MM-DDTHH:mm:ssZ",R=A.z(this),z=this.$H,H=this.$m,$=this.$M,X=O.weekdays,j=O.months,fe=O.meridiem,De=function(le,Q,ce,Re){return le&&(le[Q]||le(V,B))||ce[Q].slice(0,Re)},ie=function(le){return A.s(z%12||12,le,"0")},re=fe||function(le,Q,ce){var Re=le<12?"AM":"PM";return ce?Re.toLowerCase():Re};return B.replace(_,function(le,Q){return Q||function(ce){switch(ce){case"YY":return String(V.$y).slice(-2);case"YYYY":return A.s(V.$y,4,"0");case"M":return $+1;case"MM":return A.s($+1,2,"0");case"MMM":return De(O.monthsShort,$,j,3);case"MMMM":return De(j,$);case"D":return V.$D;case"DD":return A.s(V.$D,2,"0");case"d":return String(V.$W);case"dd":return De(O.weekdaysMin,V.$W,X,2);case"ddd":return De(O.weekdaysShort,V.$W,X,3);case"dddd":return X[V.$W];case"H":return String(z);case"HH":return A.s(z,2,"0");case"h":return ie(1);case"hh":return ie(2);case"a":return re(z,H,!0);case"A":return re(z,H,!1);case"m":return String(H);case"mm":return A.s(H,2,"0");case"s":return String(V.$s);case"ss":return A.s(V.$s,2,"0");case"SSS":return A.s(V.$ms,3,"0");case"Z":return R}return null}(le)||R.replace(":","")})},N.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},N.diff=function(P,V,O){var B,R=this,z=A.p(V),H=E(P),$=(H.utcOffset()-this.utcOffset())*n,X=this-H,j=function(){return A.m(R,H)};switch(z){case p:B=j()/12;break;case f:B=j();break;case h:B=j()/3;break;case c:B=(X-$)/6048e5;break;case u:B=(X-$)/864e5;break;case l:B=X/a;break;case s:B=X/n;break;case o:B=X/e;break;default:B=X}return O?B:A.a(B)},N.daysInMonth=function(){return this.endOf(f).$D},N.$locale=function(){return S[this.$L]},N.locale=function(P,V){if(!P)return this.$L;var O=this.clone(),B=T(P,V,!0);return B&&(O.$L=B),O},N.clone=function(){return A.w(this.$d,this)},N.toDate=function(){return new Date(this.valueOf())},N.toJSON=function(){return this.isValid()?this.toISOString():null},N.toISOString=function(){return this.$d.toISOString()},N.toString=function(){return this.$d.toUTCString()},L}(),I=k.prototype;return E.prototype=I,[["$ms",i],["$s",o],["$m",s],["$H",l],["$W",u],["$M",f],["$y",p],["$D",v]].forEach(function(L){I[L[1]]=function(N){return this.$g(N,L[0],L[1])}}),E.extend=function(L,N){return L.$i||(L(N,k,E),L.$i=!0),E},E.locale=T,E.isDayjs=D,E.unix=function(L){return E(1e3*L)},E.en=S[b],E.Ls=S,E.p={},E})}($f)),$f.exports}var CY=SY();const o6=xY(CY),EY=ou({a11y:{type:Boolean,default:!0},locale:{type:In(Object)},size:vV,button:{type:In(Object)},experimentalFeatures:{type:In(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:In(Object)},zIndex:Number,namespace:{type:String,default:"el"},..._V}),un={};d.defineComponent({name:"ElConfigProvider",props:EY,setup(r,{slots:t}){d.watch(()=>r.message,n=>{Object.assign(un,n??{})},{immediate:!0,deep:!0});const e=q3(r);return()=>d.renderSlot(t,"default",{config:e==null?void 0:e.value})}});const s6=["success","info","warning","error"],er=dY({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:Ss?document.body:void 0}),TY=ou({customClass:{type:String,default:er.customClass},dangerouslyUseHTMLString:{type:Boolean,default:er.dangerouslyUseHTMLString},duration:{type:Number,default:er.duration},icon:{type:hY,default:er.icon},id:{type:String,default:er.id},message:{type:In([String,Object,Function]),default:er.message},onClose:{type:In(Function),default:er.onClose},showClose:{type:Boolean,default:er.showClose},type:{type:String,values:s6,default:er.type},plain:{type:Boolean,default:er.plain},offset:{type:Number,default:er.offset},zIndex:{type:Number,default:er.zIndex},grouping:{type:Boolean,default:er.grouping},repeatNum:{type:Number,default:er.repeatNum}}),DY={destroy:()=>!0},cn=d.shallowReactive([]),AY=r=>{const t=cn.findIndex(a=>a.id===r),e=cn[t];let n;return t>0&&(n=cn[t-1]),{current:e,prev:n}},MY=r=>{const{prev:t}=AY(r);return t?t.vm.exposed.bottom.value:0},kY=(r,t)=>cn.findIndex(n=>n.id===r)>0?16:t,LY=d.defineComponent({name:"ElMessage"}),IY=d.defineComponent({...LY,props:TY,emits:DY,setup(r,{expose:t,emit:e}){const n=r,{Close:a}=pY,i=d.ref(!1),{ns:o,zIndex:s}=yV("message"),{currentZIndex:l,nextZIndex:u}=s,c=d.ref(),f=d.ref(!1),h=d.ref(0);let p;const v=d.computed(()=>n.type?n.type==="error"?"danger":n.type:"info"),m=d.computed(()=>{const T=n.type;return{[o.bm("icon",T)]:T&&a6[T]}}),g=d.computed(()=>n.icon||a6[n.type]||""),_=d.computed(()=>MY(n.id)),y=d.computed(()=>kY(n.id,n.offset)+_.value),w=d.computed(()=>h.value+y.value),x=d.computed(()=>({top:`${y.value}px`,zIndex:l.value}));function b(){n.duration!==0&&({stop:p}=ZP(()=>{C()},n.duration))}function S(){p==null||p()}function C(){f.value=!1,d.nextTick(()=>{var T;i.value||((T=n.onClose)==null||T.call(n),e("destroy"))})}function D({code:T}){T===vY.esc&&C()}return d.onMounted(()=>{b(),u(),f.value=!0}),d.watch(()=>n.repeatNum,()=>{S(),b()}),KP(document,"keydown",D),rV(c,()=>{h.value=c.value.getBoundingClientRect().height}),t({visible:f,bottom:w,close:C}),(T,E)=>(d.openBlock(),d.createBlock(d.Transition,{name:d.unref(o).b("fade"),onBeforeEnter:A=>i.value=!0,onBeforeLeave:T.onClose,onAfterLeave:A=>T.$emit("destroy"),persisted:""},{default:d.withCtx(()=>[d.withDirectives(d.createElementVNode("div",{id:T.id,ref_key:"messageRef",ref:c,class:d.normalizeClass([d.unref(o).b(),{[d.unref(o).m(T.type)]:T.type},d.unref(o).is("closable",T.showClose),d.unref(o).is("plain",T.plain),T.customClass]),style:d.normalizeStyle(d.unref(x)),role:"alert",onMouseenter:S,onMouseleave:b},[T.repeatNum>1?(d.openBlock(),d.createBlock(d.unref(wY),{key:0,value:T.repeatNum,type:d.unref(v),class:d.normalizeClass(d.unref(o).e("badge"))},null,8,["value","type","class"])):d.createCommentVNode("v-if",!0),d.unref(g)?(d.openBlock(),d.createBlock(d.unref(K3),{key:1,class:d.normalizeClass([d.unref(o).e("icon"),d.unref(m)])},{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(d.unref(g))))]),_:1},8,["class"])):d.createCommentVNode("v-if",!0),d.renderSlot(T.$slots,"default",{},()=>[T.dangerouslyUseHTMLString?(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),d.createElementVNode("p",{class:d.normalizeClass(d.unref(o).e("content")),innerHTML:T.message},null,10,["innerHTML"])],2112)):(d.openBlock(),d.createElementBlock("p",{key:0,class:d.normalizeClass(d.unref(o).e("content"))},d.toDisplayString(T.message),3))]),T.showClose?(d.openBlock(),d.createBlock(d.unref(K3),{key:2,class:d.normalizeClass(d.unref(o).e("closeBtn")),onClick:d.withModifiers(C,["stop"])},{default:d.withCtx(()=>[d.createVNode(d.unref(a))]),_:1},8,["class","onClick"])):d.createCommentVNode("v-if",!0)],46,["id"]),[[d.vShow,f.value]])]),_:3},8,["name","onBeforeEnter","onBeforeLeave","onAfterLeave"]))}});var NY=o0(IY,[["__file","message.vue"]]);let PY=1;const l6=r=>{const t=!r||tu(r)||d.isVNode(r)||Vf(r)?{message:r}:r,e={...er,...t};if(!e.appendTo)e.appendTo=document.body;else if(tu(e.appendTo)){let n=document.querySelector(e.appendTo);WP(n)||(Hf("ElMessage","the appendTo option is not an HTMLElement. Falling back to document.body."),n=document.body),e.appendTo=n}return M3(un.grouping)&&!e.grouping&&(e.grouping=un.grouping),Bi(un.duration)&&e.duration===3e3&&(e.duration=un.duration),Bi(un.offset)&&e.offset===16&&(e.offset=un.offset),M3(un.showClose)&&!e.showClose&&(e.showClose=un.showClose),e},VY=r=>{const t=cn.indexOf(r);if(t===-1)return;cn.splice(t,1);const{handler:e}=r;e.close()},BY=({appendTo:r,...t},e)=>{const n=`message_${PY++}`,a=t.onClose,i=document.createElement("div"),o={...t,id:n,onClose:()=>{a==null||a(),VY(c)},onDestroy:()=>{d.render(null,i)}},s=d.createVNode(NY,o,Vf(o.message)||d.isVNode(o.message)?{default:Vf(o.message)?o.message:()=>o.message}:null);s.appContext=e||Cs._context,d.render(s,i),r.appendChild(i.firstElementChild);const l=s.component,c={id:n,vnode:s,vm:l,handler:{close:()=>{l.exposed.close()}},props:s.component.props};return c},Cs=(r={},t)=>{if(!Ss)return{close:()=>{}};const e=l6(r);if(e.grouping&&cn.length){const a=cn.find(({vnode:i})=>{var o;return((o=i.props)==null?void 0:o.message)===e.message});if(a)return a.props.repeatNum+=1,a.props.type=e.type,a.handler}if(Bi(un.max)&&cn.length>=un.max)return{close:()=>{}};const n=BY(e,t);return cn.push(n),n.handler};s6.forEach(r=>{Cs[r]=(t={},e)=>{const n=l6(t);return Cs({...n,type:r},e)}});function OY(r){const t=[...cn];for(const e of t)(!r||r===e.props.type)&&e.handler.close()}Cs.closeAll=OY,Cs._context=null;const Oi=bV(Cs,"$message"),RY={__name:"index",props:{isVisible:{type:Boolean,default:!1},title:{type:String,default:""},width:{type:Number,default:200}},setup(r){const t=r,e=d.ref(null),n=d.ref(!1),a=d.ref(null);return d.watch(()=>t==null?void 0:t.isVisible,()=>{n.value=t==null?void 0:t.isVisible},{deep:!0,immediate:!0}),d.watch(()=>a.value,()=>{d.nextTick(()=>{var i,o;(o=(i=e.value)==null?void 0:i.updatePopper)==null||o.call(i)})},{deep:!0,immediate:!0}),(i,o)=>{const s=d.resolveComponent("el-popover");return d.openBlock(),d.createBlock(s,{visible:n.value,placement:"bottom",title:t==null?void 0:t.title,width:t==null?void 0:t.width,ref_key:"popOverRef",ref:e},{reference:d.withCtx(()=>[d.createElementVNode("div",null,[d.renderSlot(i.$slots,"reference",{ref_key:"referenceRef",ref:a})])]),default:d.withCtx(()=>[d.createElementVNode("div",null,[d.renderSlot(i.$slots,"content")])]),_:3},8,["visible","title","width"])}}},zY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(t.value);return(n,a)=>{const i=d.resolveComponent("el-switch");return d.openBlock(),d.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value=o),"active-color":"#13ce66","inactive-color":"#ff4949"},null,8,["modelValue"])}}},HY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(t.value);return(n,a)=>{const i=d.resolveComponent("el-input");return d.openBlock(),d.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value=o),disabled:!(t!=null&&t.isEdit)},null,8,["modelValue","disabled"])}}},FY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(t.value);return(n,a)=>{const i=d.resolveComponent("el-color-picker");return d.openBlock(),d.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value=o),"show-alpha":""},null,8,["modelValue"])}}},GY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(t.value);return(n,a)=>{const i=d.resolveComponent("el-input");return d.openBlock(),d.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value=o),style:{height:"100%"},type:"number"},null,8,["modelValue"])}}},$Y={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r;return(e,n)=>{var a,i,o,s,l,u;return d.openBlock(),d.createBlock(Es,{rowContents:((a=t==null?void 0:t.content)==null?void 0:a.rowContents)??[],buttonValue:((i=t==null?void 0:t.content)==null?void 0:i.buttonValue)??[],isEnableWrap:(o=t==null?void 0:t.content)==null?void 0:o.isEnableWrap,isRowFlex:(s=t==null?void 0:t.content)==null?void 0:s.isRowFlex,isButtonRow:(l=t==null?void 0:t.content)==null?void 0:l.isButtonRow,rowValues:((u=t==null?void 0:t.content)==null?void 0:u.rowValues)??[]},null,8,["rowContents","buttonValue","isEnableWrap","isRowFlex","isButtonRow","rowValues"])}}},WY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(t.value);return(n,a)=>{const i=d.resolveComponent("el-radio"),o=d.resolveComponent("el-radio-group");return d.openBlock(),d.createBlock(o,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=s=>e.value=s),style:{height:"100%"}},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.content,(s,l)=>(d.openBlock(),d.createBlock(i,{key:l,label:s.label},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(s==null?void 0:s.value),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])}}},dt=(r,t)=>{const e=r.__vccOpts||r;for(const[n,a]of t)e[n]=a;return e},UY=["onDblclick"],YY={key:1,class:"tabs-label"},u6=dt({__name:"index",props:{tabsContents:{type:Array,default:()=>[]}},emits:["dblClick","dbChange"],setup(r,{emit:t}){var u;const e=r,n=t,a=d.ref([]),i=d.ref((u=e==null?void 0:e.tabsContents[0])==null?void 0:u.value),o=c=>u0(c),s=c=>{n("dblClick",c)},l=c=>{n("dbChange",c)};return d.watch(()=>e.tabsContents,()=>{a.value=q(e.tabsContents)},{deep:!0,immediate:!0}),(c,f)=>{const h=d.resolveComponent("el-tab-pane"),p=d.resolveComponent("el-tabs");return d.openBlock(),d.createBlock(p,{type:"card",modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=v=>i.value=v)},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.value,(v,m)=>(d.openBlock(),d.createBlock(h,{key:m,name:v==null?void 0:v.value},{label:d.withCtx(()=>{var g;return[v!=null&&v.label?(d.openBlock(),d.createElementBlock("div",{key:0,onDblclick:_=>s(v)},d.toDisplayString(v==null?void 0:v.label),41,UY)):d.createCommentVNode("",!0),v!=null&&v.contents&&((g=v==null?void 0:v.contents)==null?void 0:g.length)>0?(d.openBlock(),d.createElementBlock("div",YY,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(v==null?void 0:v.contents,(_,y)=>(d.openBlock(),d.createElementBlock("div",{key:y,class:"tabs-children"},[_!=null&&_.value||(_==null?void 0:_.value)===""?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(o(_==null?void 0:_.type)),{key:0,modelValue:_.value,"onUpdate:modelValue":w=>_.value=w,content:(_==null?void 0:_.contents)??[]},null,8,["modelValue","onUpdate:modelValue","content"])):d.createCommentVNode("",!0)]))),128))])):d.createCommentVNode("",!0),d.renderSlot(c.$slots,`${(v==null?void 0:v.value)??""}_header`,{},void 0,!0)]}),default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(v==null?void 0:v.children,(g,_)=>(d.openBlock(),d.createElementBlock("div",{key:_,class:"tabs-contents"},[d.renderSlot(c.$slots,`${(g==null?void 0:g.value)??""}_operateButtons`,{},void 0,!0),g!=null&&g.value||(g==null?void 0:g.value)===""?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(o(g==null?void 0:g.type)),{key:0,modelValue:g.value,"onUpdate:modelValue":y=>g.value=y,onDbChange:l,content:g==null?void 0:g.content},d.createSlots({_:2},[d.renderList(c.$slots,(y,w)=>({name:w,fn:d.withCtx(x=>[d.renderSlot(c.$slots,w,d.mergeProps({ref_for:!0},x||{}),void 0,!0)])}))]),1064,["modelValue","onUpdate:modelValue","content"])):d.createCommentVNode("",!0)]))),128))]),_:2},1032,["name"]))),128))]),_:3},8,["modelValue"])}}},[["__scopeId","data-v-c1c693d0"]]),jY=Object.freeze(Object.defineProperty({__proto__:null,default:u6},Symbol.toStringTag,{value:"Module"})),XY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r;return d.onMounted(()=>{document.querySelectorAll(".el-tab-pane").forEach(n=>{n.style.display="block"})}),(e,n)=>{var a;return d.openBlock(),d.createBlock(u6,{tabsContents:((a=t==null?void 0:t.content)==null?void 0:a.tabsContents)??[]},d.createSlots({_:2},[d.renderList(e.$slots,(i,o)=>({name:o,fn:d.withCtx(s=>[d.renderSlot(e.$slots,o,d.normalizeProps(d.guardReactiveProps(s||{})))])}))]),1032,["tabsContents"])}}},qY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},emits:["dbChange"],setup(r,{emit:t}){const e=r,n=d.ref([]);d.watch(()=>{var o;return(o=e==null?void 0:e.content)==null?void 0:o.tableData},()=>{var o,s,l,u;((s=(o=e==null?void 0:e.content)==null?void 0:o.tableData)==null?void 0:s.length)===0||!((l=e==null?void 0:e.content)!=null&&l.tableData)||(n.value=q((u=e==null?void 0:e.content)==null?void 0:u.tableData))},{deep:!0,immediate:!0});const a=t,i=o=>{var c,f,h,p;if(((c=e==null?void 0:e.content)==null?void 0:c.dbType)!=="edit"||!n.value||((f=n.value)==null?void 0:f.length)===0)return;let s=n.value,l=[];((h=s==null?void 0:s.filter(v=>(v==null?void 0:v.tableEditType)==="edit"))==null?void 0:h.length)!==(((p=e==null?void 0:e.content)==null?void 0:p.editNumber)??1)&&(s=s==null?void 0:s.map(v=>((v==null?void 0:v.id)===(o==null?void 0:o.id)&&(v.tableEditType="edit",l.push(v)),v)),a("dbChange",{content:s,item:l}))};return(o,s)=>{var l,u,c,f,h,p,v;return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.renderSlot(o.$slots,`${(l=e==null?void 0:e.content)==null?void 0:l.value}_tableHeader`),(d.openBlock(),d.createBlock(Ri,{columns:((u=e==null?void 0:e.content)==null?void 0:u.columns)??[],tableData:n.value??[],currentPage:(c=e==null?void 0:e.content)==null?void 0:c.currentPage,total:(f=e==null?void 0:e.content)==null?void 0:f.total,pageSize:(h=e==null?void 0:e.content)==null?void 0:h.pageSize,isShowPagination:(p=e==null?void 0:e.content)==null?void 0:p.isShowPagination,isShowEdit:!1,isMoveColumn:(v=e==null?void 0:e.content)==null?void 0:v.isMoveColumn,isShowDelete:!1,onDoClickRow:i,key:n.value??[]},{actions:d.withCtx(({item:m})=>{var g;return[d.renderSlot(o.$slots,`${(g=e==null?void 0:e.content)==null?void 0:g.value}_action`,{item:m})]}),_:3},8,["columns","tableData","currentPage","total","pageSize","isShowPagination","isMoveColumn"]))],64)}}},ZY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(t.value);return(n,a)=>{const i=d.resolveComponent("el-option"),o=d.resolveComponent("el-select");return d.openBlock(),d.createBlock(o,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=s=>e.value=s),clearable:"",placeholder:"请选择下拉内容...",style:{width:"100%"}},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t==null?void 0:t.content,s=>(d.openBlock(),d.createBlock(i,{key:s.value,label:s.label,value:s.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])}}},Wf=_f("menuState",{state:()=>({rawMenu:{},menus:[],activeMenuPath:"",activeMenuOpenPaths:[],systemKey:"",menuTriggerType:"open"}),actions:{setMenus(r){this.menus=r},setMenuTriggerType(r){this.menuTriggerType=r},setSystemKey(r){this.systemKey=r},setActiveMenuPath(r){this.activeMenuPath=r,console.log("setActiveMenuPath:",r)},setActiveMenuOpenPaths(r){this.activeMenuOpenPaths=r,console.log("setActiveMenuPath-open:",r)},setRawMenu(r){this.rawMenu=r}}}),KY=d.defineComponent({__name:"menuItem",props:{menuList:{type:Array,default:()=>[]}},emits:["clickMenu","openMenu","closeMenu"],setup(r,{emit:t}){const e=t,n=o=>{e("clickMenu",o)},a=o=>{e("openMenu",o)},i=o=>{e("closeMenu",o)};return d.onMounted(()=>{}),(o,s)=>{const l=d.resolveComponent("MenuItem",!0),u=d.resolveComponent("el-sub-menu"),c=d.resolveComponent("el-menu-item");return d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.menuList,f=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[f.children&&f.children.length>0?(d.openBlock(),d.createBlock(u,{index:f.path,key:f.path},{title:d.withCtx(()=>[d.renderSlot(o.$slots,"title",{menu:f})]),default:d.withCtx(()=>[d.createVNode(l,{menuList:f.children,onClickMenu:n,onOpenMenu:a,onCloseMenu:i},d.createSlots({_:2},[d.renderList(o.$slots,(h,p)=>({name:p,fn:d.withCtx(v=>[d.renderSlot(o.$slots,p,d.mergeProps({ref_for:!0},v))])}))]),1032,["menuList"])]),_:2},1032,["index"])):(d.openBlock(),d.createBlock(c,{index:f.path,key:f.path,onClick:h=>n(f)},{title:d.withCtx(()=>[d.renderSlot(o.$slots,"title",{menu:f})]),_:2},1032,["index","onClick"]))],64))),256)}}}),c6=dt(d.defineComponent({__name:"index",props:{menuList:{type:Array,default:()=>[]}},emits:["clickMenu","openMenu","closeMenu","changeMenuStyle"],setup(r,{emit:t}){const e=Wf(),{activeMenuPath:n,activeMenuOpenPaths:a}=Pr(e),i=t,o=f=>{i("clickMenu",f)},s=f=>{i("openMenu",f),console.log("openMenu2",f)},l=f=>{i("closeMenu",f)},u=d.computed(()=>n.value),c=d.computed(()=>a.value);return(f,h)=>{const p=d.resolveComponent("el-sub-menu"),v=d.resolveComponent("el-menu-item"),m=d.resolveComponent("el-menu");return d.openBlock(),d.createBlock(m,{class:"menu-wrap",router:"","default-active":u.value,"default-openeds":c.value,"unique-opened":!0,"collapse-transition":!1,"popper-offset":12,onOpen:s,onClose:l},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.menuList,g=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[g.children&&g.children.length>0?(d.openBlock(),d.createBlock(p,{index:g.path,key:g.path},{title:d.withCtx(()=>[d.renderSlot(f.$slots,"title",{menu:g},void 0,!0)]),default:d.withCtx(()=>[d.createVNode(KY,{menuList:g.children,onClickMenu:o},d.createSlots({_:2},[d.renderList(f.$slots,(_,y)=>({name:y,fn:d.withCtx(w=>[d.renderSlot(f.$slots,y,d.mergeProps({ref_for:!0},w),void 0,!0)])}))]),1032,["menuList"])]),_:2},1032,["index"])):(d.openBlock(),d.createBlock(v,{index:g.path,key:g.path,onClick:_=>o(g)},{title:d.withCtx(()=>[d.renderSlot(f.$slots,"title",{menu:g},void 0,!0)]),_:2},1032,["index","onClick"]))],64))),256))]),_:3},8,["default-active","default-openeds"])}}}),[["__scopeId","data-v-2cbe7506"]]),JY=Object.freeze(Object.defineProperty({__proto__:null,default:c6},Symbol.toStringTag,{value:"Module"})),QY={__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(t.value);return(n,a)=>{const i=d.resolveComponent("el-date-picker");return d.openBlock(),d.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value=o),type:"date",placeholder:"请选择日期",format:"YYYY-MM-DD",style:{width:"100%"}},null,8,["modelValue"])}}},ej=dt({__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(t.value);return(n,a)=>{const i=d.resolveComponent("el-input");return d.openBlock(),d.createBlock(i,{modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value=o),type:"textarea",disabled:!(t!=null&&t.isEdit)},null,8,["modelValue","disabled"])}}},[["__scopeId","data-v-917c453d"]]),tj={class:"dialog-title"},f6=dt({__name:"index",props:{title:{type:String,default:""},dialogWidth:{type:Number,default:600},visible:{type:Boolean,default:!1}},emits:["beforeDestroy"],setup(r,{emit:t}){const e=r,n=t,a=d.ref(!1),i=()=>{n("beforeDestroy")};return d.watch(()=>e==null?void 0:e.visible,()=>{a.value=e==null?void 0:e.visible},{deep:!0,immediate:!0}),(o,s)=>{const l=d.resolveComponent("el-dialog");return d.openBlock(),d.createBlock(l,{modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=u=>a.value=u),width:e==null?void 0:e.dialogWidth,"before-close":i},{default:d.withCtx(()=>[d.renderSlot(o.$slots,"default",{},void 0,!0)]),header:d.withCtx(()=>[d.createElementVNode("div",tj,d.toDisplayString(e==null?void 0:e.title),1)]),footer:d.withCtx(()=>[d.renderSlot(o.$slots,"footer",{},void 0,!0)]),_:3},8,["modelValue","width"])}}},[["__scopeId","data-v-5547662c"]]),rj={class:"upload"},nj={class:"upload-icon"},aj={class:"dialog-footer"},ij={SWITCH:zY,INPUT:HY,COLOR:FY,NUMBER:GY,FORM:$Y,RADIO:WY,TAB:XY,TABLE:qY,SELECT:ZY,SSMenu:c6,DATE:QY,TEXTAREA:ej,UPLOAD:dt({__name:"index",props:{value:String,content:{type:Array,default:()=>[]},isEdit:{type:Boolean,default:!0}},emits:["uploadContents"],setup(r,{emit:t}){const e=r,n=t;d.ref(e.value);const a=d.ref([]),i=d.ref(!1),o=()=>{i.value=!0},s=async()=>{i.value=!1,Oi.success("上传成功"),n("uploadContents",a.value),a.value=[]},l=()=>{i.value=!1,a.value=[]},u=(c,f)=>{f.value=f};return(c,f)=>{const h=d.resolveComponent("el-button"),p=d.resolveComponent("el-icon"),v=d.resolveComponent("el-upload");return d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",null,[d.createVNode(h,{type:"primary",onClick:o},{default:d.withCtx(()=>[d.createElementVNode("div",rj,[f[1]||(f[1]=d.createElementVNode("div",{class:"upload-word"},d.toDisplayString("上传"),-1)),d.createElementVNode("div",nj,[d.createVNode(d.unref(l0))])])]),_:1})]),d.createVNode(f6,{visible:i.value,onBeforeDestroy:l,title:"上传文件"},{default:d.withCtx(()=>[d.createVNode(v,{"file-list":a.value,"onUpdate:fileList":f[0]||(f[0]=m=>a.value=m),multiple:"",drag:"",action:"","auto-upload":!1,limit:1,"on-change":u},{tip:d.withCtx(()=>f[2]||(f[2]=[d.createElementVNode("div",{class:"el-upload__tip tip-content"}," 请上传大小不超过10MB的文件 ",-1)])),default:d.withCtx(()=>[d.createVNode(p,{class:"el-icon--upload"},{default:d.withCtx(()=>[d.createVNode(d.unref(l0))]),_:1}),f[3]||(f[3]=d.createElementVNode("div",{class:"el-upload__text"},[d.createTextVNode(" 将文件拖到此处或"),d.createElementVNode("em",null,"点击上传")],-1))]),_:1,__:[3]},8,["file-list"])]),footer:d.withCtx(()=>[d.createElementVNode("div",aj,[d.createVNode(h,{onClick:l},{default:d.withCtx(()=>f[4]||(f[4]=[d.createTextVNode(d.toDisplayString("取消"))])),_:1,__:[4]}),d.createVNode(h,{type:"primary",onClick:s},{default:d.withCtx(()=>f[5]||(f[5]=[d.createTextVNode(d.toDisplayString("确认"))])),_:1,__:[5]})])]),_:1},8,["visible"])],64)}}},[["__scopeId","data-v-3e08e20d"]])};function u0(r){return ij[r.toUpperCase()]||null}const oj=r=>r.match(/\((.*)\)/)[1],sj=r=>{try{return o6(r).format("YYYY-MM-DD")!=="Invalid Date"}catch{return!1}},lj={class:"form-content-view"},uj=["onClick"],cj=["onClick"],fj=["onClick"],Es=dt({__name:"index",props:{rowContents:Array,buttonValue:Array,isEnableWrap:{default:!0,type:Boolean},isRowFlex:{default:!0,type:Boolean},isButtonRow:{default:!0,type:Boolean},rowValues:Array,isEdit:{type:Boolean,default:!0},isStartJustify:{type:Boolean,default:!0}},emits:["change","onButtonClick"],setup(r,{emit:t}){const e=r,n=t,a=d.ref(null),i=d.ref(null),o=d.ref(),s=d.ref(),l=c=>u0(c);d.watch(()=>e==null?void 0:e.rowContents,()=>{var f,h;if(((f=e==null?void 0:e.rowContents)==null?void 0:f.length)===0)return;const c={};(h=q(e==null?void 0:e.rowContents))==null||h.forEach(p=>{c[p.name]=p!=null&&p.value?sj(p==null?void 0:p.value)?o6(p==null?void 0:p.value):p==null?void 0:p.value:""}),o.value=c,s.value=c},{deep:!0,immediate:!0});const u=c=>{n("onButtonClick",{content:s.value,buttonName:c})};return d.watch(()=>s.value,()=>{n("change",s.value)},{deep:!0,immediate:!0}),(c,f)=>{var v;const h=d.resolveComponent("el-form-item"),p=d.resolveComponent("el-form");return d.openBlock(),d.createElementBlock("div",{class:"form-content",style:d.normalizeStyle({flexDirection:r.isButtonRow?"row":"column"})},[d.createElementVNode("div",lj,[e.isEnableWrap?(d.openBlock(),d.createBlock(p,{ref_key:"formWrapRef",ref:a,model:o.value,class:"form-data",key:e.isRowFlex},{default:d.withCtx(()=>{var m;return[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e==null?void 0:e.rowContents,(g,_)=>(d.openBlock(),d.createBlock(h,{key:_,class:"form-item",style:d.normalizeStyle({flexDirection:r.isRowFlex?"row":"column",alignItems:r.isRowFlex?"center":"start",height:r.isRowFlex?"100%":"auto"})},{label:d.withCtx(()=>[g!=null&&g.label?(d.openBlock(),d.createElementBlock("div",{key:0,class:"from-item-label",style:d.normalizeStyle({width:r.isRowFlex?"72px":"260px",minWidth:r.isRowFlex?"72px":"260px"})},d.toDisplayString(g==null?void 0:g.label),5)):d.createCommentVNode("",!0)]),default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(l((g==null?void 0:g.type)??"Input")),{modelValue:s.value[g.name],"onUpdate:modelValue":y=>s.value[g.name]=y,content:(g==null?void 0:g.contents)??[],isEdit:e==null?void 0:e.isEdit},null,8,["modelValue","onUpdate:modelValue","content","isEdit"]))]),_:2},1032,["style"]))),128)),((m=e.buttonValue)==null?void 0:m.length)>0&&r.isButtonRow?(d.openBlock(),d.createElementBlock("div",{key:0,class:"form-button",style:d.normalizeStyle({paddingTop:r.isRowFlex?"0":"26px",justifyContent:r.isStartJustify?"start":"end"})},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e==null?void 0:e.buttonValue,(g,_)=>(d.openBlock(),d.createElementBlock("div",{key:_,class:"form-button-content"},[g?(d.openBlock(),d.createElementBlock("div",{key:0,class:"form-button-item",style:d.normalizeStyle({background:(g==null?void 0:g.background)??"var(--ssComponent-primary-color)"}),onClick:y=>u(g==null?void 0:g.label)},d.toDisplayString(g==null?void 0:g.label),13,uj)):d.createCommentVNode("",!0)]))),128))],4)):d.createCommentVNode("",!0)]}),_:1},8,["model"])):(d.openBlock(),d.createBlock(p,{key:1,ref_key:"formRef",ref:i,model:s.value,class:"form-noRegular-data"},{default:d.withCtx(()=>{var m;return[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e==null?void 0:e.rowContents,(g,_)=>(d.openBlock(),d.createBlock(h,{key:_,class:d.normalizeClass(["form-item",{"form-row-content":!r.isRowFlex}]),style:d.normalizeStyle({flexDirection:r.isRowFlex?"row":"column",alignItems:r.isRowFlex?"center":"start",height:r.isRowFlex?"100%":"auto",width:`calc((100% / ${(g==null?void 0:g.width)??1}) - 12px)`,minWidth:`calc((100% / ${(g==null?void 0:g.width)??1}) - 12px)`})},{label:d.withCtx(()=>[g!=null&&g.label?(d.openBlock(),d.createElementBlock("div",{key:0,class:"from-item-label",style:d.normalizeStyle({width:r.isRowFlex?"72px":"auto",minWidth:r.isRowFlex?"72px":`calc((100% / ${(g==null?void 0:g.width)??1}) - 8px)`})},d.toDisplayString(g==null?void 0:g.label),5)):d.createCommentVNode("",!0)]),default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(l((g==null?void 0:g.type)??"Input")),{modelValue:s.value[g.name],"onUpdate:modelValue":y=>s.value[g.name]=y,isEdit:e==null?void 0:e.isEdit,content:(g==null?void 0:g.contents)??[]},null,8,["modelValue","onUpdate:modelValue","isEdit","content"]))]),_:2},1032,["class","style"]))),128)),((m=e.buttonValue)==null?void 0:m.length)>0&&r.isButtonRow?(d.openBlock(),d.createElementBlock("div",{key:0,class:"form-button",style:d.normalizeStyle({paddingTop:r.isRowFlex?"0":"26px",justifyContent:r.isStartJustify?"start":"end"})},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e==null?void 0:e.buttonValue,(g,_)=>(d.openBlock(),d.createElementBlock("div",{key:_,class:"form-button-content"},[g?(d.openBlock(),d.createElementBlock("div",{key:0,class:"form-button-item",style:d.normalizeStyle({background:(g==null?void 0:g.background)??"var(--ssComponent-primary-color)"}),onClick:y=>u(g==null?void 0:g.label)},d.toDisplayString(g==null?void 0:g.label),13,cj)):d.createCommentVNode("",!0)]))),128))],4)):d.createCommentVNode("",!0)]}),_:1},8,["model"]))]),((v=e.buttonValue)==null?void 0:v.length)>0&&!r.isButtonRow?(d.openBlock(),d.createElementBlock("div",{key:0,class:"form-button",style:d.normalizeStyle({justifyContent:r.isStartJustify?"start":"end"})},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(e==null?void 0:e.buttonValue,(m,g)=>(d.openBlock(),d.createElementBlock("div",{key:g,class:"form-button-content",onClick:_=>u(m)},[m?(d.openBlock(),d.createElementBlock("div",{key:0,class:"form-button-item",style:d.normalizeStyle({background:(m==null?void 0:m.background)??"var(--ssComponent-primary-color)"})},d.toDisplayString(m==null?void 0:m.label),5)):d.createCommentVNode("",!0)],8,fj))),128))],4)):d.createCommentVNode("",!0)],4)}}},[["__scopeId","data-v-39978581"]]),hj={class:"extra-button-content"},pj={key:0,class:"extra-header"},dj=["onClick"],vj={class:"extra-button-filter"},gj=dt({__name:"header",props:{buttons:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},emits:["buttonClick"],setup(r,{emit:t}){const e=t,n=r,a=d.ref(!1),i=d.ref([]),o=d.ref([{label:"取消"},{label:"确认"}]),s=c=>{e("buttonClick",c)},l=c=>{var f;i.value=(f=c==null?void 0:c.filter(h=>(h==null?void 0:h.label)!==""&&(h==null?void 0:h.label)!=="操作"))==null?void 0:f.map(h=>({label:(h==null?void 0:h.label)??"",value:"",name:(h==null?void 0:h.prop)??""}))},u=c=>{a.value=!1};return d.onMounted(()=>{l(n.columns)}),d.watch(()=>n.columns,()=>{l(n.columns)},{deep:!0,immediate:!0}),(c,f)=>{var p;const h=d.resolveComponent("el-tooltip");return d.openBlock(),d.createElementBlock("div",hj,[n!=null&&n.buttons&&((p=n==null?void 0:n.buttons)==null?void 0:p.length)>0?(d.openBlock(),d.createElementBlock("div",pj,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n==null?void 0:n.buttons,(v,m)=>(d.openBlock(),d.createElementBlock("div",{class:"extra-contents",key:m},[d.createElementVNode("div",{class:"extra-content",style:d.normalizeStyle({background:(v==null?void 0:v.background)??"var(--ssComponent-primary-color)",color:"white"}),onClick:g=>s(v==null?void 0:v.label)},d.toDisplayString(v==null?void 0:v.label),13,dj)]))),128))])):d.createCommentVNode("",!0),d.createElementVNode("div",vj,[d.createVNode(RY,{title:"筛选数据",width:500,isVisible:a.value},{reference:d.withCtx(()=>[d.createVNode(h,{content:"筛选",placement:"top-start"},{default:d.withCtx(()=>[d.createElementVNode("div",{class:"button-style",onClick:f[0]||(f[0]=v=>a.value=!a.value)},[d.createVNode(d.unref(e6))])]),_:1})]),content:d.withCtx(()=>[(d.openBlock(),d.createBlock(Es,{rowContents:i.value,buttonValue:o.value,isRowFlex:!0,isEnableWrap:!1,isButtonRow:!1,key:o.value,isStartJustify:!1,onOnButtonClick:u},null,8,["rowContents","buttonValue"]))]),_:1},8,["isVisible"])])])}}},[["__scopeId","data-v-1d46278f"]]),mj={class:"table-content-show"},_j=["onClick"],yj=["onClick"],wj={key:2,style:{"font-size":"14px","font-weight":"400"}},Ri=dt({__name:"index",props:{columns:Array,tableData:Array,currentPage:Number,total:Number,pageSize:Number,extraButton:{type:Array,default:()=>[]},isShowPagination:{type:Boolean,default:!0},isShowEdit:{type:Boolean,default:!0},isMoveColumn:{type:Boolean,default:!0},isShowDelete:{type:Boolean,default:!0}},emits:["dbClickRow","fixRow","deleteRow","doSizeChange","doCurrentChange","buttonClick"],setup(r,{emit:t}){const e=r,n=d.ref([]),a=d.ref([]),i=d.ref(0),o=d.ref(null),s=d.ref(null),l=t;d.onMounted(()=>{n.value=e==null?void 0:e.columns,a.value=e==null?void 0:e.tableData,e.isMoveColumn&&v(),m()});const u=w=>{l("buttonClick",w)};d.watch(()=>e==null?void 0:e.tableData,()=>{a.value=e==null?void 0:e.tableData},{deep:!0});const c=w=>u0(w),f=(w,x)=>{l("dbClickRow",w)},h=w=>{l("fixRow",w)},p=w=>{l("deleteRow",w)},v=()=>{var x;const w=(x=o.value)==null?void 0:x.$el.querySelector(".el-table__header-wrapper tr");!w||!e.isMoveColumn||be.create(w,{animation:180,delay:0,handle:".is-drag .cell",onMove:b=>!b.related.classList.contains("is-not-drag"),onEnd:b=>{i.value++;const S=b.oldIndex,C=b.newIndex,D=n.value.splice(S,1)[0];n.value.splice(C,0,D),e.isMoveColumn&&d.nextTick(()=>{v(),m()})}})};d.watch(()=>e.isMoveColumn,()=>{e.isMoveColumn&&d.nextTick(()=>{v(),m()})});const m=()=>{var x;const w=(x=o.value)==null?void 0:x.$el.querySelector(".el-table__body-wrapper tbody");w&&new be(w,{animation:150,handle:".el-table__row",ghostClass:"sortable-ghost",onEnd:({newIndex:b,oldIndex:S})=>{const C=[...a.value],[D]=C.splice(S,1);C.splice(b,0,D),a.value=C,d.nextTick(()=>{m()})}})},g=w=>{w.preventDefault();try{const b=(w.clipboardData||(window==null?void 0:window.clipboardData)).getData("text/plain");if(!b)return;const S=_(b);if(!S.length)return;const{rowIndex:C,columnIndex:D}=s.value||{rowIndex:0,columnIndex:0},T=[];if(S==null||S.forEach(E=>{T.push(E.length+D)}),(T==null?void 0:T.filter(E=>{var A;return E>Object.keys((A=a.value)==null?void 0:A[0]).length}).length)>0){Oi({type:"warning",message:"所剩列数不够"});return}for(let E=0;E<S.length;E++){const A=S[E],k=a.value[C+E],I=q(n.value).map(L=>L.prop);for(let L=0;L<A.length&&D+L<I.length;L++){const N=I[D+L];k[N]=A[L]||""}}}catch(x){console.error("粘贴失败:",x)}},_=w=>w.trim().split(/\r\n|\n|\r/).map(S=>S.trim()?S.split(" ").map(C=>C.replace(/^"(.*)"$/,"$1")):[""]),y=w=>{w&&(s.value={rowIndex:w==null?void 0:w.$index,columnIndex:w==null?void 0:w.cellIndex,columnProp:w.column.property})};return(w,x)=>{const b=d.resolveComponent("el-table-column"),S=d.resolveComponent("el-table");return d.openBlock(),d.createElementBlock("div",mj,[d.createVNode(gj,{buttons:e==null?void 0:e.extraButton,onButtonClick:u,columns:n.value},null,8,["buttons","columns"]),(d.openBlock(),d.createBlock(S,{border:!0,class:"table-wrap",data:a.value,stripe:"",style:{width:"100%"},"max-height":"600",ref_key:"tableRef",ref:o,"empty-text":"暂无数据",onSelectionChange:w.handleTableSelectChange,onRowDblclick:f,key:i.value,onPaste:g},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.value,(C,D)=>(d.openBlock(),d.createBlock(b,{label:(C==null?void 0:C.label)??"",prop:(C==null?void 0:C.prop)??"",width:C!=null&&C.width?parseInt(C.width):void 0,"min-width":C!=null&&C.width?parseInt(C.width):void 0,fixed:C==null?void 0:C.fixed,key:D,align:(C==null?void 0:C.align)??"center",sortable:(C==null?void 0:C.sortable)??!0,"show-overflow-tooltip":(e==null?void 0:e.showOverflowTooltip)??!0,"class-name":((C==null?void 0:C.isNotDrag)??!1)===!0?"is-not-drag":"is-drag"},{default:d.withCtx(T=>{var E,A,k,I,L;return[((C==null?void 0:C.type)??"text")==="text"&&(((E=T==null?void 0:T.row)==null?void 0:E.tableEditType)??"text")==="text"?(d.openBlock(),d.createElementBlock("span",{key:0,style:d.normalizeStyle([{"font-size":"14px","font-weight":"400"},{cursor:(A=T==null?void 0:T.row)!=null&&A.children?"pointer":"default"}])},d.toDisplayString((k=T==null?void 0:T.row)==null?void 0:k[C==null?void 0:C.prop]),5)):d.createCommentVNode("",!0),((C==null?void 0:C.type)??"text")==="operate"?(d.openBlock(),d.createElementBlock("span",{key:1,class:"table-operate",style:d.normalizeStyle({justifyContent:r.isShowEdit&&r.isShowDelete?"space-between":"center"})},[d.renderSlot(w.$slots,"actions",{item:T==null?void 0:T.row},void 0,!0),r.isShowEdit?(d.openBlock(),d.createElementBlock("span",{key:0,onClick:N=>h(T==null?void 0:T.row),class:"blue-table-operate table-operate-content"},"编辑",8,_j)):d.createCommentVNode("",!0),r.isShowDelete?(d.openBlock(),d.createElementBlock("span",{key:1,onClick:N=>p(T==null?void 0:T.row),class:"red-table-operate table-operate-content"},"删除",8,yj)):d.createCommentVNode("",!0)],4)):d.createCommentVNode("",!0),((C==null?void 0:C.type)??"text")==="edit"&&(((I=T==null?void 0:T.row)==null?void 0:I.tableEditType)??"text")!=="edit"||((C==null?void 0:C.type)??"text")==="text"&&(((L=T==null?void 0:T.row)==null?void 0:L.tableEditType)??"text")==="edit"?(d.openBlock(),d.createElementBlock("span",wj,[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(c((C==null?void 0:C.columnType)??"Input")),{modelValue:T.row[C.prop],"onUpdate:modelValue":N=>T.row[C.prop]=N,style:{height:"100%"},onFocus:N=>y(T),content:(C==null?void 0:C.contents)??[]},null,40,["modelValue","onUpdate:modelValue","onFocus","content"]))])):d.createCommentVNode("",!0)]}),_:2},1032,["label","prop","width","min-width","fixed","align","sortable","show-overflow-tooltip","class-name"]))),128))]),_:3},8,["data","onSelectionChange"]))])}}},[["__scopeId","data-v-67bc73bd"]]),h6=_f("formToTableComp",{state:()=>({selectArray:[],selectString:""}),actions:{setSelectArray(r){this.selectArray=r},setSelectString(r){this.selectString=r}}}),xj=_f("unit",{state:()=>({selectIndex:"",selectMenu:"",selectTitle:[]}),actions:{setSelectIndex(r){this.selectIndex=r},setSelectMenu(r){this.selectMenu=r},setSelectTitle(r){this.selectTitle=r}}}),bj=(r,t)=>{const e=t==null?void 0:t.split("-");return p6(r,e)},p6=(r,t)=>{var a;let e=r,n=t;return Array.isArray(e)?e=e==null?void 0:e[parseInt(q(n==null?void 0:n[0]))]:Array.isArray(e==null?void 0:e.children)&&(e=(a=e==null?void 0:e.children)==null?void 0:a[parseInt(q(n==null?void 0:n[0]))]),n==null||n.shift(),(n==null?void 0:n.length)>0&&(e=p6(e,n)),e},d6=(r,t)=>{let e=r,n=t==null?void 0:t.filter(a=>(a==null?void 0:a.prop)!=="index");return Array.isArray(e)&&(e=e==null?void 0:e.map((a,i)=>{if(Array.isArray(a)){let o={};return a=a==null?void 0:a.forEach((s,l)=>{var u;(u=n==null?void 0:n[l])!=null&&u.prop?o[n[l].prop]=s:Array.isArray(s)&&(o.children=d6(s,n))}),Object.assign(o,{id:i})}else return a})),e},Sj=(r,t,e)=>{if(t==="")return r==null?void 0:r.filter(n=>(n==null?void 0:n.id)===e);{const n=t.split("-");return Cj(r,n,e)}},Cj=(r,t,e)=>{let n=r,a=t;return(a==null?void 0:a.length)===0?n=n==null?void 0:n.filter(i=>i.id!==e):n=n==null?void 0:n.map(i=>(i.id.toString()===(a==null?void 0:a[0])&&(a==null||a.shift(),i=v6(i,a,e)),i)),n},v6=(r,t,e)=>{var i,o;let n=r,a=t;return(a==null?void 0:a.length)===0?n.children=(i=n.children)==null?void 0:i.filter(s=>s.id!==e):n.children=(o=n.children)==null?void 0:o.map(s=>(s.id.toString()===(a==null?void 0:a[0])&&(a==null||a.shift(),s=v6(s,a,e)),s)),n},Ej=(r,t,e)=>{if(t==="")return e;{const n=t.split("-");return Tj(r,n,e)}},Tj=(r,t,e)=>{let n=r,a=t;return(a==null?void 0:a.length)===0?n=e:n=n==null?void 0:n.map(i=>(i.id.toString()===(a==null?void 0:a[0])&&(a==null||a.shift(),i=g6(i,a,e)),i)),n},g6=(r,t,e)=>{var i;let n=r,a=t;return(a==null?void 0:a.length)===0?n.children=e:n.children=(i=n.children)==null?void 0:i.map(o=>(o.id.toString()===(a==null?void 0:a[0])&&(a==null||a.shift(),o=g6(o,a,e)),o)),n},Dj={class:"table-content"},Aj=["onClick"],Mj={key:0,class:"dialog-footer"},kj=dt({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},index:Number},emits:["change","contentChange"],setup(r,{emit:t}){const e=r,n=t,a=d.ref([]),i=d.ref([]),o=d.ref(""),s=d.ref(),l=d.ref(!0),u=d.ref(0),c=d.ref(!1),f=d.ref(""),h=d.ref(!1),p=d.ref([]),v=d.ref(!1),m=d.ref([]),g=d.ref([]),_=d.ref(),y=d.ref(),w=h6(Vr),x=d.ref(),b=xj(Vr),{selectIndex:S,selectMenu:C,selectTitle:D}=Pr(b),{selectString:T}=Pr(w),E=d.ref(720),A=()=>{h.value=!1},k=B=>{var R,z,H,$,X;if(I(B),B!=null&&B.children&&Array.isArray(B==null?void 0:B.children)){const j=D.value;j.push({key:C.value===""?(R=B==null?void 0:B.id)==null?void 0:R.toString():C.value+"-"+((z=B==null?void 0:B.id)==null?void 0:z.toString()),value:B[(H=Object.keys(B))==null?void 0:H.filter(fe=>fe!=="index"&&fe!=="id")[0]]}),b.setSelectMenu(C.value===""?($=B==null?void 0:B.id)==null?void 0:$.toString():C.value+"-"+((X=B==null?void 0:B.id)==null?void 0:X.toString())),b.setSelectTitle(j),b.setSelectIndex(e!=null&&e.index?e==null?void 0:e.index.toString():"")}},I=B=>{var R,z,H;if(B!=null&&B.children&&Array.isArray(B==null?void 0:B.children)){let $=[];const X=(R=q(_.value))==null?void 0:R.filter(j=>(j==null?void 0:j.prop)!=="index");(z=B==null?void 0:B.children)==null||z.forEach((j,fe)=>{if(!Array.isArray(j))$.push(j);else{let De={};j==null||j.forEach((ie,re)=>{var le;(le=X==null?void 0:X[re])!=null&&le.prop?De[X[re].prop]=ie:Array.isArray(ie)&&(De.children=ie)}),$.push(Object.assign(De,{id:fe}))}}),a.value=(H=q(a.value))==null?void 0:H.filter(j=>(j==null?void 0:j.prop)!=="index"),i.value=$}},L=(B,R)=>{var z;if(o.value="",v.value=!0,l.value=!0,B==="删除"){i.value=(z=q(i.value))==null?void 0:z.filter($=>($==null?void 0:$.id)!==(R==null?void 0:R.id));const H=Sj(x.value,C.value,R==null?void 0:R.id);V(H),n("change",{content:H,index:e==null?void 0:e.index,buttonName:B})}else B==="新增"?(f.value="新增",N(""),h.value=!0):B==="编辑"?(f.value="编辑",N(R),h.value=!0):B==="详情"&&(f.value="详情",N(R),v.value=!1,l.value=!1,h.value=!0)},N=B=>{var z;const R=[];(z=q(a.value))==null||z.forEach((H,$)=>{H.label!==""&&(H==null?void 0:H.label)!=="操作"&&R.push({label:(H==null?void 0:H.label)??"",name:(H==null?void 0:H.prop)??"t"+$,type:!(H!=null&&H.type)||(H==null?void 0:H.type)===""?"Input":H==null?void 0:H.type,value:(B==null?void 0:B[H==null?void 0:H.prop])??"",id:(H==null?void 0:H.id)??$,contents:(H==null?void 0:H.options)??[],width:1})}),B===""||!B||(o.value=B==null?void 0:B.id),g.value=R};d.onMounted(()=>{});const P=()=>{let B=q(i.value);o.value===""?(u.value++,B.push(Object.assign(y.value,{id:u.value}))):B=B==null?void 0:B.map(z=>((z==null?void 0:z.id)===o.value&&(z=Object.assign(z,y.value)),z)),i.value=B;const R=Ej(x.value,C.value,B);V(R),h.value=!1,n("change",{content:R,index:e==null?void 0:e.index,buttonName:f.value})},V=B=>{var z;const R=(z=q(e.itemData))==null?void 0:z.map(H=>((H==null?void 0:H.key)==="tableContents"&&(H.contents=B),H));n("contentChange",{contents:R,index:e.index})},O=B=>{y.value=B};return d.watch(()=>[e.itemData,T.value,S.value,C.value],()=>{var De,ie,re,le,Q,ce,Re,ze,Ye,Qe,pt,Jt,Gt,aa,Dn,cf,Fl,j7;const B=(De=q(e.itemData))==null?void 0:De.filter(ke=>(ke==null?void 0:ke.key)==="header"),R=(ie=q(e.itemData))==null?void 0:ie.find(ke=>(ke==null?void 0:ke.key)==="page"),z=(re=q(e.itemData))==null?void 0:re.find(ke=>(ke==null?void 0:ke.key)==="rowButton"),H=(le=q(e.itemData))==null?void 0:le.find(ke=>(ke==null?void 0:ke.key)==="extraButton"),$=(Q=q(e.itemData))==null?void 0:Q.filter(ke=>(ke==null?void 0:ke.key)==="tableContents"),X=(ce=q(e.itemData))==null?void 0:ce.filter(ke=>(ke==null?void 0:ke.key)==="tableIndex");c.value=(R==null?void 0:R.contents)??!0;let j=[];T.value===""?j=B==null?void 0:B[0]:j=(B==null?void 0:B.find(ke=>(ke==null?void 0:ke.selectLabel)==="("+T.value+")"))??(B==null?void 0:B.find(ke=>!(ke!=null&&ke.selectLabel)));let fe=[];if(T.value===""?fe=X==null?void 0:X[0]:fe=(X==null?void 0:X.find(ke=>(ke==null?void 0:ke.selectLabel)==="("+T.value+")"))??(X==null?void 0:X.find(ke=>!(ke!=null&&ke.selectLabel))),((Re=j==null?void 0:j.contents)==null?void 0:Re.length)>0){const ke=[];fe!=null&&fe.contents&&((ze=fe==null?void 0:fe.contents)==null?void 0:ze.length)!==0&&ke.push({label:"",prop:"index",sortable:!1}),(Ye=j==null?void 0:j.contents)==null||Ye.forEach((he,ia)=>{(he==null?void 0:he.label)!==""&&ke.push({label:(he==null?void 0:he.label)??"",prop:(he==null?void 0:he.label)==="操作"?"operate":(he==null?void 0:he.prop)??"a"+ia,width:he!=null&&he.width?parseInt(he.width):"",fixed:(he==null?void 0:he.fixed)??void 0,sortable:(he==null?void 0:he.sortable)??!1,align:(he==null?void 0:he.align)??"center",showOverflowTooltip:(he==null?void 0:he.showOverflowTooltip)??!0,isNotDrag:(he==null?void 0:he.isNotDrag)??!1,isEditCol:(he==null?void 0:he.isEditCol)??!1,isOperate:(he==null?void 0:he.isOperate)??!1,id:(he==null?void 0:he.id)??ia,type:(he==null?void 0:he.label)==="操作"?"operate":void 0})}),a.value=ke;let os=(pt=(Qe=q(a.value))==null?void 0:Qe.filter(he=>(he==null?void 0:he.type)!=="operate"))==null?void 0:pt.map((he,ia)=>({prop:(he==null?void 0:he.prop)??"a"+ia}));_.value=os;let Ei=[];if(T.value===""?Ei=$==null?void 0:$[0]:Ei=($==null?void 0:$.find(he=>(he==null?void 0:he.selectLabel)==="("+T.value+")"))??($==null?void 0:$.find(he=>!(he!=null&&he.selectLabel))),((Jt=Ei==null?void 0:Ei.contents)==null?void 0:Jt.length)!==0){let he=q(Ei==null?void 0:Ei.contents);fe!=null&&fe.contents&&((Gt=fe==null?void 0:fe.contents)==null?void 0:Gt.length)!==0&&(he=(aa=q(he))==null?void 0:aa.map((an,Ky)=>{var Gl,$l;if(!Array.isArray(an)){let ff={};for(let ss in an)ss!=="id"&&ss!=="index"&&(ff[ss]=an[ss]);an=Object.values(ff)}return an.unshift((($l=(Gl=fe==null?void 0:fe.contents)==null?void 0:Gl[Ky])==null?void 0:$l.label)??""),an}));const ia=[];he==null||he.forEach((an,Ky)=>{let Gl={};an==null||an.forEach(($l,ff)=>{var ss;(ss=os==null?void 0:os[ff])!=null&&ss.prop?Gl[os[ff].prop]=$l:Array.isArray($l)&&(Gl.children=d6($l,os))}),ia.push(Object.assign(Gl,{id:Ky}))}),i.value=ia}else{let he=(Dn=q(os))==null?void 0:Dn.reduce((ia,an)=>(ia[an.prop]="测试数据",ia),{});s.value=he,i.value=[Object.assign({},s.value,{id:u.value})]}}else a.value=[],i.value=[];if(((cf=z==null?void 0:z.contents)==null?void 0:cf.length)>0?p.value=z==null?void 0:z.contents:p.value=[],((Fl=H==null?void 0:H.contents)==null?void 0:Fl.length)>0?m.value=H==null?void 0:H.contents:m.value=[],u.value=((j7=i==null?void 0:i.value)==null?void 0:j7.length)??0,S.value!==""){const ke=bj(q(i.value),C.value);x.value=i.value,I(ke)}},{deep:!0,immediate:!0}),(B,R)=>{var z;return d.openBlock(),d.createElementBlock("div",Dj,[(d.openBlock(),d.createBlock(Ri,{columns:a.value,key:a.value,tableData:i.value,isShowPagination:c.value,isShowEdit:!1,isShowDelete:!1,onDbClickRow:k,extraButton:m.value,onButtonClick:R[0]||(R[0]=H=>L(H,""))},d.createSlots({_:2},[((z=p.value)==null?void 0:z.length)>0?{name:"actions",fn:d.withCtx(({item:H})=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(p.value,($,X)=>(d.openBlock(),d.createElementBlock("div",{key:X},[d.createElementVNode("div",{style:d.normalizeStyle({color:$==null?void 0:$.textColor}),class:"extra-button-label",onClick:j=>L($==null?void 0:$.label,H)},d.toDisplayString($==null?void 0:$.label),13,Aj)]))),128))]),key:"0"}:void 0]),1032,["columns","tableData","isShowPagination","extraButton"])),d.createVNode(f6,{title:f.value,visible:h.value,width:E.value,onBeforeDestroy:A},{default:d.withCtx(()=>[d.createVNode(Es,{rowContents:g.value,isEnableWrap:!1,onChange:O,isEdit:l.value},null,8,["rowContents","isEdit"])]),footer:d.withCtx(()=>[v.value?(d.openBlock(),d.createElementBlock("div",Mj,[d.createElementVNode("div",{onClick:R[1]||(R[1]=H=>h.value=!1),class:"cancel-button"},d.toDisplayString("取消")),d.createElementVNode("div",{class:"ok-button",onClick:P},d.toDisplayString("确认"))])):d.createCommentVNode("",!0)]),_:1},8,["title","visible","width"])])}}},[["__scopeId","data-v-781eace3"]]),Uf=[{key:"单选",value:"Select"},{key:"日期",value:"Date"},{key:"长文本",value:"TextArea"},{key:"上传",value:"Upload"}],Lj={class:"form-content"},Ij=dt({__name:"index",props:{itemData:{type:Array,default:()=>[]},childItemData:{type:Array,default:()=>[]},index:Number},emits:["change","contentChange"],setup(r,{emit:t}){const e=r,n=t,a=d.ref([]),i=d.ref(!1),o=d.ref([]),s=h6(Vr),l=d.ref(),u=f=>{var g,_,y,w;const h=(_=(g=q(e.itemData))==null?void 0:g.find(x=>(x==null?void 0:x.key)==="formContent"))==null?void 0:_.contents,p=q(f.content);let v={};p&&((y=Object.values(p))==null?void 0:y.length)>0&&((w=Object.values(p))==null||w.forEach((x,b)=>{v[h[b].key]=x}));const m={content:v,index:e==null?void 0:e.index,buttonName:f==null?void 0:f.buttonName};n("change",m)},c=f=>{var v,m;if(!f)return;if(((v=Object.values(q(f)))==null?void 0:v.length)>0){const g=(m=Object.values(q(f)))==null?void 0:m.map(y=>y);let _="";g==null||g.forEach(y=>{y!==""&&y!==void 0&&(_=_===""?y:_+"/"+y)}),s.setSelectArray(g),s.setSelectString(_)}const h=q(e.itemData),p=h==null?void 0:h.map(g=>{var _;return(g==null?void 0:g.key)==="formContent"&&((_=g.contents)==null||_.map((y,w)=>{var x,b,S,C,D,T,E,A,k,I,L,N,P,V;return y.type=y!=null&&y.type?y.type:(S=(b=(x=y==null?void 0:y.key.split("$"))==null?void 0:x[1])==null?void 0:b.split("("))!=null&&S[0]?(C=Uf==null?void 0:Uf.find(O=>{var B,R,z;return(O==null?void 0:O.key)===((z=(R=(B=y==null?void 0:y.key.split("$"))==null?void 0:B[1])==null?void 0:R.split("("))==null?void 0:z[0])}))==null?void 0:C.value:"Input",y.options=y!=null&&y.options?y.options:((T=(D=y==null?void 0:y.key.split("$"))==null?void 0:D[1])==null?void 0:T.length)>0?(k=(A=oj((E=y==null?void 0:y.key.split("$"))==null?void 0:E[1]))==null?void 0:A.split(","))==null?void 0:k.map(O=>({label:O,value:O})):[],y!=null&&y.key.includes("$")&&(y.key=(I=y==null?void 0:y.key.split("$"))==null?void 0:I[0]),y.value=y!=null&&y.value?y.value:Array.isArray((L=Object.values(f))==null?void 0:L[w])?(P=(N=Object.values(f))==null?void 0:N[w])==null?void 0:P[0]:(V=Object.values(f))==null?void 0:V[w],y})),g});n("contentChange",{contents:p,index:e.index})};return d.watch(()=>e.itemData,()=>{var m,g,_,y,w,x,b,S,C,D;const f=(m=q(e.itemData))==null?void 0:m.find(T=>(T==null?void 0:T.key)==="formContent"),h=(g=q(e.itemData))==null?void 0:g.find(T=>(T==null?void 0:T.key)==="formButton"),p=(_=q(e.itemData))==null?void 0:_.find(T=>(T==null?void 0:T.key)==="formFlex"),v=(y=q(e.itemData))==null?void 0:y.find(T=>(T==null?void 0:T.key)==="formWrap");if((v==null?void 0:v.contents)==="纵向"?i.value=!1:i.value=!0,l.value=typeof(p==null?void 0:p.contents)!="boolean"?!(!(p!=null&&p.contents)===""||((w=p==null?void 0:p.contents)==null?void 0:w.toUpperCase())==="VERTICAL"):p==null?void 0:p.contents,((x=f==null?void 0:f.contents)==null?void 0:x.length)>0&&Array.isArray(f==null?void 0:f.contents)){const T=[];(b=f==null?void 0:f.contents)==null||b.forEach((k,I)=>{var L,N,P,V,O,B,R,z,H;if((k==null?void 0:k.label)!==""){let $=(k==null?void 0:k.key)??"",X=(k==null?void 0:k.type)??"",j=(k==null?void 0:k.options)??[];if(k!=null&&k.key.includes("$")&&($=(L=q(k==null?void 0:k.key).split("$"))==null?void 0:L[0],((P=(N=q(k==null?void 0:k.key).split("$"))==null?void 0:N[1])==null?void 0:P.length)>0)){const[fe,De]=(O=(V=q(k==null?void 0:k.key).split("$"))==null?void 0:V[1])==null?void 0:O.split(/[()]/);X=((B=Uf.find(ie=>(ie==null?void 0:ie.key)===fe))==null?void 0:B.value)??"",((R=De==null?void 0:De.split(","))==null?void 0:R.length)>0&&(j=(z=De==null?void 0:De.split(","))==null?void 0:z.map(ie=>({label:ie,value:ie})))}T.push({label:$??"",name:"t"+I,type:X===""?"Input":X,value:k!=null&&k.value?k.value:(j==null?void 0:j.length)>0?(H=j==null?void 0:j[0])==null?void 0:H.value:(k==null?void 0:k.value)??"",id:(k==null?void 0:k.id)??I,contents:j??[],width:(k==null?void 0:k.width)??1})}});const E=(S=q(T))==null?void 0:S.map(k=>k.value);let A="";E==null||E.forEach(k=>{k!==""&&k!==void 0&&(A=A===""?k:A+"/"+k)}),s.setSelectArray(E),s.setSelectString(A),a.value=T}else a.value=[];if(((C=h==null?void 0:h.contents)==null?void 0:C.length)>0){const T=[];(D=h==null?void 0:h.contents)==null||D.forEach((E,A)=>{(E==null?void 0:E.label)!==""&&T.push({label:(E==null?void 0:E.label)??"",id:(E==null?void 0:E.id)??A,type:(E==null?void 0:E.type)??"",background:E==null?void 0:E.background})}),o.value=T}else o.value=[]},{deep:!0,immediate:!0}),(f,h)=>(d.openBlock(),d.createElementBlock("div",Lj,[d.createVNode(Es,{rowContents:a.value,buttonValue:o.value,isRowFlex:l.value,isEnableWrap:!1,onOnButtonClick:u,onChange:c,isButtonRow:i.value},null,8,["rowContents","buttonValue","isRowFlex","isButtonRow"])]))}},[["__scopeId","data-v-156885e4"]]),Nj={class:"table-operate-content"},Pj={class:"table-operate-item"},Vj={class:"operate-title"},Bj={class:"operate-content"},Oj={class:"operate-title"},Rj={class:"operate-content"},zj={class:"operate-title"},Hj={class:"operate-content"},Fj={class:"operate-content"},Gj=dt({__name:"operate",props:{itemContents:{type:Array,default:()=>[]},originalItemContents:{type:Array,default:()=>[]}},emits:["change"],setup(r,{emit:t}){const e=r,n=t,a=d.ref([]),i=d.ref([]),o=d.ref([]),s=d.ref([{label:"按钮名称",prop:"label",type:"edit"},{label:"按钮类型",prop:"type",type:"edit"},{label:"按钮背景颜色",prop:"background",type:"edit",columnType:"Color"},{label:"操作",prop:"operate",type:"operate",sortable:!1}]),l=d.ref([{label:"标签名称",prop:"label",type:"edit"},{label:"标签类型",prop:"type",type:"edit"},{label:"按钮文字颜色",prop:"textColor",type:"edit",columnType:"Color"},{label:"操作",prop:"operate",type:"operate",sortable:!1}]),u=d.ref([]),c=d.ref(0),f=d.ref([{name:"isPagination",label:"是否显示分页",type:"Switch",value:!0}]),h=[{label:"标签名",prop:"label",type:"edit"},{label:"属性名",prop:"prop",type:"edit"},{label:"宽度",prop:"width",type:"edit",columnType:"Number"},{label:"是否固定列",prop:"fixed",type:"edit",columnType:"Radio",contents:[{label:"left",value:"左"},{label:"right",value:"右"}]},{label:"是否支持排序",prop:"sortable",type:"edit",columnType:"Switch"},{label:"文本所在位置",prop:"align",type:"edit",columnType:"Radio",contents:[{label:"left",value:"左"},{label:"center",value:"中"},{label:"right",value:"右"}]},{label:"溢出悬浮文字",prop:"showOverflowTooltip",type:"edit",columnType:"Switch"},{label:"是否不可拖动",prop:"isNotDrag",type:"edit",columnType:"Switch"},{label:"是否可编辑列名",prop:"isEditCol",type:"edit",columnType:"Switch"},{label:"是否出现在附属界面",prop:"isOperate",type:"edit",columnType:"Switch"},{label:"操作",prop:"operate",type:"operate",sortable:!1}],p=x=>{let b=q(a.value);const S=b==null?void 0:b.find(C=>C.key==="page");(S==null?void 0:S.contents)!==void 0?b=b==null?void 0:b.map(C=>((C==null?void 0:C.key)==="page"&&(C.contents=x==null?void 0:x.isPagination),C)):b.push({key:"page",contents:x==null?void 0:x.isPagination}),a.value=b};d.watch(()=>e.originalItemContents,()=>{var x,b,S,C,D,T,E,A,k,I,L,N,P;!e.originalItemContents||e.originalItemContents.length===0||(a.value=q(e.originalItemContents),i.value=(b=(x=a.value)==null?void 0:x.find(V=>(V==null?void 0:V.key)==="header"))==null?void 0:b.contents,o.value=(C=(S=a.value)==null?void 0:S.find(V=>(V==null?void 0:V.key)==="rowButton"))==null?void 0:C.contents,s.value=(T=(D=a.value)==null?void 0:D.find(V=>(V==null?void 0:V.key)==="extraButton"))==null?void 0:T.contents,f.value=(A=(E=a.value)==null?void 0:E.find(V=>(V==null?void 0:V.key)==="page"))!=null&&A.contents?[{name:"isPagination",label:"是否显示分页",type:"Switch",value:(I=(k=a.value)==null?void 0:k.find(V=>(V==null?void 0:V.key)==="page"))==null?void 0:I.contents}]:[{name:"isPagination",label:"是否显示分页",type:"Switch",value:!0}],i.value=(L=i.value)==null?void 0:L.map((V,O)=>V={label:(V==null?void 0:V.label)??"",prop:(V==null?void 0:V.label)==="操作"?"operate":V==null?void 0:V.prop,width:V!=null&&V.width?parseInt(V.width):"",fixed:(V==null?void 0:V.fixed)??void 0,sortable:(V==null?void 0:V.sortable)??!1,align:(V==null?void 0:V.align)??"center",showOverflowTooltip:(V==null?void 0:V.showOverflowTooltip)??!0,isNotDrag:(V==null?void 0:V.isNotDrag)??!1,isEditCol:(V==null?void 0:V.isEditCol)??!1,isOperate:(V==null?void 0:V.isOperate)??!1,id:(V==null?void 0:V.id)??O}),o.value=(N=o.value)==null?void 0:N.map((V,O)=>V={label:(V==null?void 0:V.label)??"",type:(V==null?void 0:V.type)??"",textColor:(V==null?void 0:V.textColor)??"#000000",id:(V==null?void 0:V.id)??O}),s.value=(P=s.value)==null?void 0:P.map((V,O)=>V={label:(V==null?void 0:V.label)??"",type:(V==null?void 0:V.type)??"",background:(V==null?void 0:V.textColor)??"#FFFFFF",id:(V==null?void 0:V.id)??O}))},{deep:!0,immediate:!0}),d.watch(()=>f.value,()=>{var S;let x=q(a.value);const b=x==null?void 0:x.find(C=>C.key==="page");b!=null&&b.contents?x=x==null?void 0:x.map(C=>{var D;return(C==null?void 0:C.key)==="page"&&(C.contents=(D=f.value)==null?void 0:D[0].value),C}):x.push({key:"page",contents:(S=f.value)==null?void 0:S[0].value}),a.value=x},{immediate:!0,deep:!0});const v=()=>{const x=q(i.value);let b=q(a.value);x.push({label:"",prop:"",width:"",fixed:void 0,sortable:!1,align:"center",showOverflowTooltip:!0,isNotDrag:!1,isEditCol:!1,isOperate:!1,id:c.value}),i.value=x,c.value++;const S=b==null?void 0:b.find(C=>(C==null?void 0:C.key)==="header");S!=null&&S.contents?(S.contents=x,b=b==null?void 0:b.map(C=>((C==null?void 0:C.key)==="header"&&(C.contents=x),C))):b.push({key:"header",contents:x}),a.value=b},m=()=>{const x=q(o.value);let b=q(a.value);x.push({label:"",type:"",textColor:"#000000",id:c.value}),o.value=x,c.value++;const S=b==null?void 0:b.find(C=>(C==null?void 0:C.key)==="rowButton");S!=null&&S.contents?(S.contents=x,b=b==null?void 0:b.map(C=>((C==null?void 0:C.key)==="rowButton"&&(C.contents=x),C))):b.push({key:"rowButton",contents:x}),a.value=b},g=()=>{const x=q(u.value);let b=q(a.value);x.push({label:"",type:"",background:"#FFFFFF",id:c.value}),u.value=x,c.value++;const S=b==null?void 0:b.find(C=>(C==null?void 0:C.key)==="extraButton");S!=null&&S.contents?(S.contents=x,b=b==null?void 0:b.map(C=>((C==null?void 0:C.key)==="extraButton"&&(C.contents=x),C))):b.push({key:"extraButton",contents:x}),a.value=b},_=x=>{const b=q(o.value);let S=q(a.value);o.value=b.filter(D=>D.id!==x.id);const C=S==null?void 0:S.find(D=>D.key==="rowButton");C!=null&&C.contents&&(S=S==null?void 0:S.map(D=>((D==null?void 0:D.key)==="rowButton"&&(D.contents=b.filter(T=>T.id!==x.id)),D))),a.value=S},y=x=>{const b=q(u.value);let S=q(a.value);u.value=b.filter(D=>D.id!==x.id);const C=S==null?void 0:S.find(D=>D.key==="extraButton");C!=null&&C.contents&&(S=S==null?void 0:S.map(D=>((D==null?void 0:D.key)==="extraButton"&&(D.contents=b.filter(T=>T.id!==x.id)),D))),a.value=S},w=x=>{const b=q(i.value);let S=q(a.value);i.value=b.filter(D=>D.id!==x.id);const C=S==null?void 0:S.find(D=>D.key==="header");C!=null&&C.contents&&(S=S==null?void 0:S.map(D=>((D==null?void 0:D.key)==="header"&&(D.contents=b.filter(T=>T.id!==x.id)),D))),a.value=S};return d.watch(()=>[a.value,i.value],()=>{let x=q(a.value);const b=x==null?void 0:x.find(S=>(S==null?void 0:S.key)==="header");b!=null&&b.contents?(b.contents=i.value,x=x==null?void 0:x.map(S=>((S==null?void 0:S.key)==="header"&&(S.contents=i.value),S))):x.push({key:"header",contents:i.value}),n("change",x)},{deep:!0,immediate:!0}),(x,b)=>{const S=d.resolveComponent("el-button");return d.openBlock(),d.createElementBlock("div",Nj,[d.createElementVNode("div",Pj,[d.createElementVNode("div",Vj,[b[1]||(b[1]=d.createElementVNode("div",null,d.toDisplayString("表头"),-1)),d.createVNode(S,{class:"blue-operate-button",icon:"ele-Plus",onClick:v},{default:d.withCtx(()=>b[0]||(b[0]=[d.createTextVNode(d.toDisplayString("新建"))])),_:1,__:[0]})]),d.createElementVNode("div",Bj,[d.createVNode(Ri,{columns:h,isShowPagination:!1,isShowEdit:!1,isMoveColumn:!1,tableData:i.value,onDeleteRow:w},null,8,["tableData"])]),d.createElementVNode("div",Oj,[b[3]||(b[3]=d.createElementVNode("div",null,d.toDisplayString("行内按钮"),-1)),d.createVNode(S,{class:"blue-operate-button",icon:"ele-Plus",onClick:m},{default:d.withCtx(()=>b[2]||(b[2]=[d.createTextVNode(d.toDisplayString("新建"))])),_:1,__:[2]})]),d.createElementVNode("div",Rj,[d.createVNode(Ri,{columns:l.value,isShowPagination:!1,isShowEdit:!1,isMoveColumn:!1,tableData:o.value,onDeleteRow:_},null,8,["columns","tableData"])]),d.createElementVNode("div",zj,[b[5]||(b[5]=d.createElementVNode("div",null,d.toDisplayString("表格外部按钮"),-1)),d.createVNode(S,{class:"blue-operate-button",icon:"ele-Plus",onClick:g},{default:d.withCtx(()=>b[4]||(b[4]=[d.createTextVNode(d.toDisplayString("新建"))])),_:1,__:[4]})]),d.createElementVNode("div",Hj,[d.createVNode(Ri,{columns:s.value,isShowPagination:!1,isShowEdit:!1,isMoveColumn:!1,tableData:u.value,onDeleteRow:y},null,8,["columns","tableData"])]),b[6]||(b[6]=d.createElementVNode("div",{class:"operate-title"},[d.createElementVNode("div",null,d.toDisplayString("分页"))],-1)),d.createElementVNode("div",Fj,[d.createVNode(Es,{rowContents:f.value,onChange:p},null,8,["rowContents"])])])])}}},[["__scopeId","data-v-877911eb"]]),$j={class:"form-operate-content"},Wj={class:"form-operate-item"},Uj={class:"operate-title"},Yj={class:"operate-content"},jj={class:"operate-title"},Xj={class:"operate-content"},qj={class:"operate-content"},Zj=dt({__name:"operate",props:{itemContents:{type:Array,default:()=>[]},originalItemContents:{type:Array,default:()=>[]}},emits:["change"],setup(r,{emit:t}){const e=r,n=t,a=d.ref([{name:"isRowFlex",label:"是否横向布局",type:"Switch",value:!0}]),i=d.ref([{label:"字段名称",prop:"label",type:"edit"},{label:"字段类型",prop:"type",type:"edit"},{label:"字段值",prop:"key",type:"edit"},{label:"字段选项值",prop:"options",type:"edit"},{label:"操作",prop:"operate",type:"operate",sortable:!1}]),o=d.ref([{label:"字段名称",prop:"label",type:"edit"},{label:"字段类型",prop:"type",type:"edit"},{label:"按钮背景颜色",prop:"background",type:"edit",columnType:"Color"},{label:"操作",prop:"operate",type:"operate",sortable:!1}]),s=d.ref([]),l=d.ref([]),u=d.ref([]),c=d.ref(0);d.watch(()=>e.originalItemContents,()=>{var g,_,y,w,x,b,S,C,D,T;!e.originalItemContents||e.originalItemContents.length===0||(l.value=q(e.originalItemContents),u.value=(_=(g=l.value)==null?void 0:g.find(E=>(E==null?void 0:E.key)==="formContent"))==null?void 0:_.contents,s.value=(w=(y=l.value)==null?void 0:y.find(E=>(E==null?void 0:E.key)==="formButton"))==null?void 0:w.contents,u.value=(x=u.value)==null?void 0:x.map((E,A)=>E={label:(E==null?void 0:E.label)??"",type:(E==null?void 0:E.type)??"",key:(E==null?void 0:E.key)??"",options:(E==null?void 0:E.options)??"",id:(E==null?void 0:E.id)??A}),s.value=(b=s.value)==null?void 0:b.map((E,A)=>E={label:(E==null?void 0:E.label)??"",type:(E==null?void 0:E.type)??"",background:(E==null?void 0:E.background)??"#000000",id:(E==null?void 0:E.id)??A}),a.value=(C=(S=l.value)==null?void 0:S.find(E=>(E==null?void 0:E.key)==="formFlex"))!=null&&C.contents?[{name:"isRowFlex",label:"是否横向布局",type:"Switch",value:(T=(D=l.value)==null?void 0:D.find(E=>(E==null?void 0:E.key)==="formFlex"))==null?void 0:T.contents}]:[{name:"isRowFlex",label:"是否横向布局",type:"Switch",value:!0}])},{deep:!0,immediate:!0});const f=()=>{const g=q(s.value);let _=q(l.value);g.push({label:"",type:"",background:"#000000",id:c.value}),s.value=g,c.value++;const y=_==null?void 0:_.find(w=>(w==null?void 0:w.key)==="formButton");y!=null&&y.contents?(y.contents=g,_=_==null?void 0:_.map(w=>((w==null?void 0:w.key)==="formButton"&&(w.contents=g),w))):_.push({key:"formButton",contents:g}),l.value=_},h=()=>{const g=q(u.value);let _=q(l.value);g.push({label:"",type:"",key:"",options:"",id:c.value}),u.value=g,c.value++;const y=_==null?void 0:_.find(w=>(w==null?void 0:w.key)==="formContent");y!=null&&y.contents?(y.contents=g,_=_==null?void 0:_.map(w=>((w==null?void 0:w.key)==="formContent"&&(w.contents=g),w))):_.push({key:"formContent",contents:g}),l.value=_},p=g=>{const _=q(s.value);let y=q(l.value);s.value=_.filter(x=>x.id!==g.id);const w=y==null?void 0:y.find(x=>x.key==="formButton");w!=null&&w.contents&&(y=y==null?void 0:y.map(x=>((x==null?void 0:x.key)==="formButton"&&(x.contents=_.filter(b=>b.id!==g.id)),x))),l.value=y},v=g=>{const _=q(u.value);let y=q(l.value);u.value=_.filter(x=>x.id!==g.id);const w=y==null?void 0:y.find(x=>x.key==="formContent");w!=null&&w.contents&&(y=y==null?void 0:y.map(x=>((x==null?void 0:x.key)==="formContent"&&(x.contents=_.filter(b=>b.id!==g.id)),x))),l.value=y},m=g=>{let _=q(l.value);const y=_==null?void 0:_.find(w=>w.key==="formFlex");(y==null?void 0:y.contents)!==void 0?_=_==null?void 0:_.map(w=>((w==null?void 0:w.key)==="formFlex"&&(w.contents=g==null?void 0:g.isRowFlex),w)):_.push({key:"formFlex",contents:g==null?void 0:g.isRowFlex}),l.value=_};return d.watch(()=>[l.value,u.value],()=>{let g=q(l.value);const _=g==null?void 0:g.find(y=>(y==null?void 0:y.key)==="formContent");_!=null&&_.contents?(_.contents=u.value,g=g==null?void 0:g.map(y=>((y==null?void 0:y.key)==="formContent"&&(y.contents=u.value),y))):g.push({key:"formContent",contents:u.value}),n("change",g)},{deep:!0,immediate:!0}),(g,_)=>{const y=d.resolveComponent("el-button");return d.openBlock(),d.createElementBlock("div",$j,[d.createElementVNode("div",Wj,[d.createElementVNode("div",Uj,[_[1]||(_[1]=d.createElementVNode("div",null,d.toDisplayString("表单信息"),-1)),d.createVNode(y,{class:"blue-operate-button",icon:"ele-Plus",onClick:h},{default:d.withCtx(()=>_[0]||(_[0]=[d.createTextVNode(d.toDisplayString("新建"))])),_:1,__:[0]})]),d.createElementVNode("div",Yj,[d.createVNode(Ri,{columns:i.value,isShowPagination:!1,isShowEdit:!1,isMoveColumn:!1,tableData:u.value,onDeleteRow:v},null,8,["columns","tableData"])]),d.createElementVNode("div",jj,[_[3]||(_[3]=d.createElementVNode("div",null,d.toDisplayString("表单按钮"),-1)),d.createVNode(y,{class:"blue-operate-button",icon:"ele-Plus",onClick:f},{default:d.withCtx(()=>_[2]||(_[2]=[d.createTextVNode(d.toDisplayString("新建"))])),_:1,__:[2]})]),d.createElementVNode("div",Xj,[d.createVNode(Ri,{columns:o.value,isShowPagination:!1,isShowEdit:!1,isMoveColumn:!1,tableData:s.value,onDeleteRow:p},null,8,["columns","tableData"])]),_[4]||(_[4]=d.createElementVNode("div",{class:"operate-title"},[d.createElementVNode("div",null,d.toDisplayString("表单布局"))],-1)),d.createElementVNode("div",qj,[d.createVNode(Es,{rowContents:a.value,onChange:m},null,8,["rowContents"])])])])}}},[["__scopeId","data-v-a36b8468"]]),m6=d.defineComponent({__name:"index",props:{name:{type:String,default:""}},setup(r){const t=d.ref("left"),e=d.ref(""),n=d.ref(!1);return(a,i)=>{const o=d.resolveComponent("el-collapse-item"),s=d.resolveComponent("el-collapse");return d.openBlock(),d.createBlock(s,{"expand-icon-position":t.value,modelValue:e.value,"onUpdate:modelValue":i[0]||(i[0]=l=>e.value=l),accordion:n.value},{default:d.withCtx(()=>[d.createVNode(o,{title:"Consistency",name:r.name},{title:d.withCtx(()=>[d.renderSlot(a.$slots,"title")]),default:d.withCtx(()=>[d.renderSlot(a.$slots,"default")]),_:3},8,["name"])]),_:3},8,["expand-icon-position","modelValue","accordion"])}}}),Kj=Object.freeze(Object.defineProperty({__proto__:null,default:m6},Symbol.toStringTag,{value:"Module"})),Jj=d.ref([{name:"表格",type:"table",comp:"Table",icon:"Grid"},{name:"表单",type:"form",comp:"Form",icon:"Film"},{name:"折叠",type:"fold",comp:"Fold",icon:"Fold"}]),Qj={Table:kj,Form:Ij,TableOperate:Gj,FormOperate:Zj,Fold:m6};function c0(r){return Qj[r]||null}const zi=_f("modelComp",{state:()=>({itemData:[],originalData:[]}),actions:{setItemData(r){this.itemData=r},setOriginalData(r){this.originalData=r}}}),eX={class:"type-select"},tX=["onClick"],rX={class:"list-icon"},nX=dt({__name:"index",setup(r){const t=zi(Vr),{itemData:e}=Pr(t),n=i=>Gf[i],a=i=>{const o=q(e.value);o.push({comp:i.comp,name:i.name,compData:[]}),t.setItemData(o)};return(i,o)=>(d.openBlock(),d.createElementBlock("div",eX,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(d.unref(Jj),(s,l)=>(d.openBlock(),d.createElementBlock("div",{class:"type-list",key:l},[d.createElementVNode("div",{class:"list-content",onClick:u=>a(s)},[d.createElementVNode("div",rX,[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(n(s.icon))))]),d.createElementVNode("div",null,d.toDisplayString(s.name),1)],8,tX)]))),128))]))}},[["__scopeId","data-v-fe4aecc8"]]),aX={class:"fill-content"},iX={class:"operate-content"},oX={class:"collapse-title"},sX={class:"comp-child"},lX=dt({__name:"index",setup(r){const t=zi(Vr),{itemData:e,originalData:n}=Pr(t),a=d.ref([]),i=d.ref([]);d.watch(()=>e.value,()=>{var l;!e.value||((l=e.value)==null?void 0:l.length)===0||(a.value=q(e.value))},{deep:!0,immediate:!0});const o=l=>c0(l),s=(l,u,c)=>{if(!l||l.length===0)return;let f=q(e.value);const h=q(u);h.compData=l,f=f==null?void 0:f.map((p,v)=>(v===c&&(p=h),p)),t.setItemData(f)};return(l,u)=>{const c=d.resolveComponent("el-collapse-item"),f=d.resolveComponent("el-collapse");return d.openBlock(),d.createElementBlock("div",aX,[u[1]||(u[1]=d.createElementVNode("div",{class:"fill-operate"},d.toDisplayString("操作栏"),-1)),d.createElementVNode("div",iX,[d.createVNode(f,{modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=h=>i.value=h),class:"collapse-content"},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(a.value,(h,p)=>(d.openBlock(),d.createBlock(c,{key:p,name:p},{title:d.withCtx(()=>[d.createElementVNode("div",oX,d.toDisplayString(h.name),1)]),default:d.withCtx(()=>{var v,m;return[d.createElementVNode("div",sX,[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(o(h.comp+"Operate")),{itemContents:h==null?void 0:h.compData,originalItemContents:(m=(v=d.unref(n))==null?void 0:v.find((g,_)=>_===p))==null?void 0:m.compData,onChange:g=>s(g,h,p)},null,40,["itemContents","originalItemContents","onChange"]))])]}),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"])])])}}},[["__scopeId","data-v-a216b035"]]),uX={key:0,class:"show-content"},cX=dt({__name:"index",setup(r){const t=zi(Vr),{itemData:e}=Pr(t),n=d.ref([]);d.watch(()=>e.value,()=>{var i;!e.value||((i=e.value)==null?void 0:i.length)===0||(n.value=q(e.value))},{deep:!0,immediate:!0});const a=i=>c0(i);return(i,o)=>{var s;return((s=n.value)==null?void 0:s.length)>0?(d.openBlock(),d.createElementBlock("div",uX,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.value,(l,u)=>(d.openBlock(),d.createElementBlock("div",{class:"item-content",key:u},[d.createElementVNode("div",null,d.toDisplayString(l.name),1),(d.openBlock(),d.createBlock(d.resolveDynamicComponent(a(l.comp)),{itemData:l==null?void 0:l.compData,childItemData:l==null?void 0:l.itemChildData,key:u},null,8,["itemData","childItemData"]))]))),128))])):d.createCommentVNode("",!0)}}},[["__scopeId","data-v-79320497"]]),Ts=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"}],Nt=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"LineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"}],tr=[{key:"FormName",value:"Form"},{key:"TableName",value:"Table"},{key:"MenuName",value:"Menu"},{key:"GroupName",value:"Group"},{key:"SystemKey",value:"System"}],rr=[{key:"FormDirect",value:"formFlex"},{key:"Form",value:"formContent"},{key:"FormButton",value:"formButton"},{key:"FormFlex",value:"formWrap"},{key:"TableColumns",value:"header"},{key:"TableButton",value:"extraButton"},{key:"TableLineButton",value:"rowButton"},{key:"Table",value:"tableContents"},{key:"TableIndex",value:"tableIndex"},{key:"Menus",value:"menuContents"},{key:"GroupContents",value:"groupContents"}],Yf=d.ref(0),f0=d.ref(0),fX=r=>{let t;r.includes(`\r
|
|
22
|
-
`)?t=r.split(`\r
|
|
23
|
-
`).filter(a=>a.trim()!==""):t=r.split(`
|
|
24
|
-
`).filter(a=>a.trim()!=="");const e=[];let n="";for(const a of t)a.includes("{")||n.includes("{")||a.includes("[")||n.includes("[")||a.includes("【")||n.includes("【")||a.includes("(")||n.includes("(")||a.includes("(")||n.includes("(")?(n+=a.trim(),q(n).split("{").length-1===q(n).split("}").length-1&&q(n).split("【").length-1===q(n).split("】").length-1&&q(n).split("[").length-1===q(n).split("]").length-1&&q(n).split("(").length-1===q(n).split(")").length-1&&q(n).split("(").length-1===q(n).split(")").length-1&&(e.push(n),n="")):e.push(a.trim());return e},hX=r=>{const t=r.trim().replace(/^'|'$/g,""),e=/((?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=\s*(.*?)(?=\s*(?:(?:\$?[a-zA-Z_][a-zA-Z0-9_]*\$?\([^)]*\))|[a-zA-Z_][a-zA-Z0-9_]*)\s*=|$)/g,n={};let a;for(;(a=e.exec(t))!==null;){const i=a[1];let o=a[2].trim();(o.match(/\[/g)||[]).length!==(o.match(/\]/g)||[]).length&&(o=o==null?void 0:o.replace(/]$/,"")),n[i]?(n[i+f0.value]&&f0.value++,n[i+f0.value]=i+"="+o):n[i]=i+"="+o}return n},_6=r=>{const[t,e]=r.split("=").map(i=>i.trim()),n=t.replace(/['"]/g,""),a=e.replace(/^['"]|['"]$/g,"");return{key:n,value:a}},pX=r=>{var o;let t=[];const[e,n]=r.split(/=(.+)/),a=e.replace(/['"]/g,"").trim(),i=n.replace(/^['"]|['"]$/g,"");return(o=Object.values(hX(i)))==null||o.forEach(s=>{t.push(_6(s))}),{key:a,value:t}},jf=r=>{try{return JSON.parse(r),!0}catch{return!1}},y6=r=>{try{const t=r.replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",").replace(/:/g,":").replace(/:\s*(?=,|}|$)/g,': ""');if(q(t).split("{").length-1>1){let e=q(t).replace(/^\{(.*)\}$/,"[$1]");if(jf(e)&&!e.includes("$")||(e=e.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g,'"$1$$$2"')),jf(e)){const n=JSON.parse(e);let a=[];return n==null||n.forEach(i=>{var o;(o=Object.entries(q(i)))==null||o.forEach(s=>{Yf.value++,a.push({id:Yf.value,key:(s==null?void 0:s[0])??"",value:(s==null?void 0:s[1])===""?"":s==null?void 0:s[1],width:Object.keys(q(i)).length})})}),a}else return console.error("转换类型不正确:"),[]}else if(jf(t)){const e=JSON.parse(t);return Object.entries(e).map(([n,a])=>(Yf.value++,{id:Yf.value,key:n,value:a===""?"":a,width:1}))}else return t}catch(t){return console.error("转换失败:",t),[]}},dX=(r,t)=>{try{if(tr!=null&&tr.find(e=>(e==null?void 0:e.key)===t))return JSON.parse(r.replace(/[’]|[‘]|[']/g,'"'));if(q(r).split("[").length-1>1){const e=q(r).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(e)}else{const e=q(r).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",");if(jf(e)){const n=JSON.parse(e);return Array.isArray(n)?n.map(a=>({label:a})):n}else return y6(q(r))}}catch(e){return console.error("解析失败:",e),r}},vX=r=>({[r==null?void 0:r.key]:dX(r==null?void 0:r.value,r==null?void 0:r.key)}),gX=r=>{try{if(q(r).split("[").length-1>1){const t=q(r).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(t)}else return JSON.parse(q(r).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",")).map(e=>({label:e}))}catch(t){return console.error("解析失败:",t),r}},mX=r=>{var t,e,n,a,i,o;try{const s=fX((e=(t=q(r))==null?void 0:t.replace("(","("))==null?void 0:e.replace(")",")")),l=(n=q(s))==null?void 0:n.map(f=>{var p,v;let h=(v=(p=q(f))==null?void 0:p.split("="))==null?void 0:v[0];return h!=null&&h.includes("GroupContents")?pX(f):_6(f)}),u=[];(a=q(l))==null||a.forEach(f=>{var h,p,v,m,g;tr!=null&&tr.find(_=>{var y,w;return((y=_==null?void 0:_.key)==null?void 0:y.toUpperCase())===((w=f==null?void 0:f.key)==null?void 0:w.toUpperCase())})?u.push({comp:((h=tr==null?void 0:tr.find(_=>{var y,w;return((y=_==null?void 0:_.key)==null?void 0:y.toUpperCase())===((w=f==null?void 0:f.key)==null?void 0:w.toUpperCase())}))==null?void 0:h.value)??"",name:(p=f==null?void 0:f.value)==null?void 0:p.replace(/[’]|[‘]|[']/g,""),compData:[]}):rr!=null&&rr.find(_=>{var y,w;return((y=_==null?void 0:_.key)==null?void 0:y.toUpperCase())===((w=f==null?void 0:f.key)==null?void 0:w.toUpperCase())})&&((u==null?void 0:u.length)===0&&(v=f.key)!=null&&v.includes("Menus")&&u.push({comp:"Menu",name:"",compData:[]}),(m=u==null?void 0:u[(u==null?void 0:u.length)-1])!=null&&m.compData&&u[(u==null?void 0:u.length)-1].compData.push({key:(g=rr==null?void 0:rr.find(_=>{var y,w;return((y=_==null?void 0:_.key)==null?void 0:y.toUpperCase())===((w=f==null?void 0:f.key)==null?void 0:w.toUpperCase())}))==null?void 0:g.value,contents:f==null?void 0:f.value}))}),console.log("newContents",u);let c=(i=q(u))==null?void 0:i.map(f=>{var h;return f!=null&&f.compData&&(f.compData=(h=f==null?void 0:f.compData)==null?void 0:h.map(p=>{var v,m,g,_,y,w,x,b,S,C,D;if((p==null?void 0:p.key)==="formFlex")p.contents=((m=(v=p.contents)==null?void 0:v.replace(/[’]|[‘]|[']/g,""))==null?void 0:m.toUpperCase())!=="Vertical".toUpperCase();else if((p==null?void 0:p.key)==="groupContents")p.contents=(g=q(p.contents))==null?void 0:g.map(T=>vX(q(T)));else if(((y=(_=p.contents)==null?void 0:_.trim())!=null&&y.startsWith("[")||(x=(w=p.contents)==null?void 0:w.trim())!=null&&x.startsWith("【"))&&((S=(b=p.contents)==null?void 0:b.trim())!=null&&S.endsWith("]")||(D=(C=p.contents)==null?void 0:C.trim())!=null&&D.endsWith("】")))p.contents=gX(q(p.contents));else{if(!p.contents)return;p.contents=y6(q(p.contents))}return p})),f});return c=(o=q(c))==null?void 0:o.map(f=>{var h;return(f==null?void 0:f.comp)==="Group"&&(f.compData=(h=f.compData)==null?void 0:h.map(p=>{var m;let v=[];return(m=p.contents)==null||m.forEach(g=>{var _,y,w,x,b,S,C,D,T,E,A,k;if(tr!=null&&tr.find(I=>{var L,N,P;return((L=I==null?void 0:I.key)==null?void 0:L.toUpperCase())===((P=(N=Object.keys(g))==null?void 0:N[0])==null?void 0:P.toUpperCase())}))v.push({comp:(_=tr==null?void 0:tr.find(I=>{var L,N,P;return((L=I==null?void 0:I.key)==null?void 0:L.toUpperCase())===((P=(N=Object.keys(g))==null?void 0:N[0])==null?void 0:P.toUpperCase())}))==null?void 0:_.value,name:(w=(y=Object.values(g))==null?void 0:y[0])==null?void 0:w.replace(/[’]|[‘]|[']/g,""),compData:[]});else if(rr!=null&&rr.find(I=>{var L,N,P;return((L=I==null?void 0:I.key)==null?void 0:L.toUpperCase())===((P=(N=Object.keys(g))==null?void 0:N[0])==null?void 0:P.toUpperCase())})){if((v==null?void 0:v.length)===0)return;(x=v==null?void 0:v[(v==null?void 0:v.length)-1])!=null&&x.compData&&v[(v==null?void 0:v.length)-1].compData.push({key:(b=rr==null?void 0:rr.find(I=>{var L,N,P;return((L=I==null?void 0:I.key)==null?void 0:L.toUpperCase())===((P=(N=Object.keys(g))==null?void 0:N[0])==null?void 0:P.toUpperCase())}))==null?void 0:b.value,contents:(S=Object.values(g))==null?void 0:S[0]})}else if((D=(C=Object.keys(g))==null?void 0:C[0])!=null&&D.includes("$")){const I=(E=(T=Object.keys(q(g)))==null?void 0:T[0])==null?void 0:E.split("$");v[(v==null?void 0:v.length)-1].compData.push({key:(A=rr==null?void 0:rr.find(L=>{var N,P;return((N=L==null?void 0:L.key)==null?void 0:N.toUpperCase())===((P=I==null?void 0:I[0])==null?void 0:P.toUpperCase())}))==null?void 0:A.value,contents:(k=Object.values(g))==null?void 0:k[0],selectLabel:I==null?void 0:I[1]})}return g}),p.contents=v,p})),f}),c}catch{return!1}},_X=r=>mX(r),yX={key:0,class:"show-content"},wX={class:"item-view-group"},xX=dt({__name:"index",props:{content:String,jsonContents:Array},emits:["change"],setup(r,{emit:t}){const e=r,n=t,a=zi(Vr),{itemData:i}=Pr(a),o=d.ref([]),s=d.ref([]),l=f=>{n("change",{wholeValue:o.value,editValue:f})},u=f=>{const h=q(o.value),p=h==null?void 0:h.map((v,m)=>(m===(f==null?void 0:f.index)&&(v.compData=f==null?void 0:f.contents),v));o.value=p};d.watch(()=>i.value,()=>{var f;!i.value||((f=i.value)==null?void 0:f.length)===0||(s.value=i.value,o.value=i.value)},{deep:!0,immediate:!0}),d.watch(()=>[e==null?void 0:e.content,e==null?void 0:e.jsonContents],()=>{var h;if(((h=e==null?void 0:e.jsonContents)==null?void 0:h.length)>0){a.setOriginalData(e==null?void 0:e.jsonContents),a.setItemData(e==null?void 0:e.jsonContents);return}if(!(e!=null&&e.content)||(e==null?void 0:e.content)==="")return;const f=_X(e==null?void 0:e.content);a.setOriginalData(f),a.setItemData(f)},{deep:!0,immediate:!0});const c=f=>c0(f);return(f,h)=>{var p;return((p=s.value)==null?void 0:p.length)>0?(d.openBlock(),d.createElementBlock("div",yX,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(s.value,(v,m)=>(d.openBlock(),d.createElementBlock("div",{class:"item-content",key:m},[d.createElementVNode("div",wX,d.toDisplayString(v.name),1),(d.openBlock(),d.createBlock(d.resolveDynamicComponent(c(v.comp)),{itemData:v==null?void 0:v.compData,childItemData:v==null?void 0:v.itemChildData,key:m,onChange:l,index:m,onContentChange:u},null,40,["itemData","childItemData","index"]))]))),128))])):d.createCommentVNode("",!0)}}},[["__scopeId","data-v-869e6e20"]]);function w6(r,t){return function(){return r.apply(t,arguments)}}const{toString:bX}=Object.prototype,{getPrototypeOf:h0}=Object,{iterator:Xf,toStringTag:x6}=Symbol,qf=(r=>t=>{const e=bX.call(t);return r[e]||(r[e]=e.slice(8,-1).toLowerCase())})(Object.create(null)),fn=r=>(r=r.toLowerCase(),t=>qf(t)===r),Zf=r=>t=>typeof t===r,{isArray:Ds}=Array,su=Zf("undefined");function SX(r){return r!==null&&!su(r)&&r.constructor!==null&&!su(r.constructor)&&_r(r.constructor.isBuffer)&&r.constructor.isBuffer(r)}const b6=fn("ArrayBuffer");function CX(r){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(r):t=r&&r.buffer&&b6(r.buffer),t}const EX=Zf("string"),_r=Zf("function"),S6=Zf("number"),Kf=r=>r!==null&&typeof r=="object",TX=r=>r===!0||r===!1,Jf=r=>{if(qf(r)!=="object")return!1;const t=h0(r);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(x6 in r)&&!(Xf in r)},DX=fn("Date"),AX=fn("File"),MX=fn("Blob"),kX=fn("FileList"),LX=r=>Kf(r)&&_r(r.pipe),IX=r=>{let t;return r&&(typeof FormData=="function"&&r instanceof FormData||_r(r.append)&&((t=qf(r))==="formdata"||t==="object"&&_r(r.toString)&&r.toString()==="[object FormData]"))},NX=fn("URLSearchParams"),[PX,VX,BX,OX]=["ReadableStream","Request","Response","Headers"].map(fn),RX=r=>r.trim?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function lu(r,t,{allOwnKeys:e=!1}={}){if(r===null||typeof r>"u")return;let n,a;if(typeof r!="object"&&(r=[r]),Ds(r))for(n=0,a=r.length;n<a;n++)t.call(null,r[n],n,r);else{const i=e?Object.getOwnPropertyNames(r):Object.keys(r),o=i.length;let s;for(n=0;n<o;n++)s=i[n],t.call(null,r[s],s,r)}}function C6(r,t){t=t.toLowerCase();const e=Object.keys(r);let n=e.length,a;for(;n-- >0;)if(a=e[n],t===a.toLowerCase())return a;return null}const Hi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,E6=r=>!su(r)&&r!==Hi;function p0(){const{caseless:r}=E6(this)&&this||{},t={},e=(n,a)=>{const i=r&&C6(t,a)||a;Jf(t[i])&&Jf(n)?t[i]=p0(t[i],n):Jf(n)?t[i]=p0({},n):Ds(n)?t[i]=n.slice():t[i]=n};for(let n=0,a=arguments.length;n<a;n++)arguments[n]&&lu(arguments[n],e);return t}const zX=(r,t,e,{allOwnKeys:n}={})=>(lu(t,(a,i)=>{e&&_r(a)?r[i]=w6(a,e):r[i]=a},{allOwnKeys:n}),r),HX=r=>(r.charCodeAt(0)===65279&&(r=r.slice(1)),r),FX=(r,t,e,n)=>{r.prototype=Object.create(t.prototype,n),r.prototype.constructor=r,Object.defineProperty(r,"super",{value:t.prototype}),e&&Object.assign(r.prototype,e)},GX=(r,t,e,n)=>{let a,i,o;const s={};if(t=t||{},r==null)return t;do{for(a=Object.getOwnPropertyNames(r),i=a.length;i-- >0;)o=a[i],(!n||n(o,r,t))&&!s[o]&&(t[o]=r[o],s[o]=!0);r=e!==!1&&h0(r)}while(r&&(!e||e(r,t))&&r!==Object.prototype);return t},$X=(r,t,e)=>{r=String(r),(e===void 0||e>r.length)&&(e=r.length),e-=t.length;const n=r.indexOf(t,e);return n!==-1&&n===e},WX=r=>{if(!r)return null;if(Ds(r))return r;let t=r.length;if(!S6(t))return null;const e=new Array(t);for(;t-- >0;)e[t]=r[t];return e},UX=(r=>t=>r&&t instanceof r)(typeof Uint8Array<"u"&&h0(Uint8Array)),YX=(r,t)=>{const n=(r&&r[Xf]).call(r);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(r,i[0],i[1])}},jX=(r,t)=>{let e;const n=[];for(;(e=r.exec(t))!==null;)n.push(e);return n},XX=fn("HTMLFormElement"),qX=r=>r.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,n,a){return n.toUpperCase()+a}),T6=(({hasOwnProperty:r})=>(t,e)=>r.call(t,e))(Object.prototype),ZX=fn("RegExp"),D6=(r,t)=>{const e=Object.getOwnPropertyDescriptors(r),n={};lu(e,(a,i)=>{let o;(o=t(a,i,r))!==!1&&(n[i]=o||a)}),Object.defineProperties(r,n)},KX=r=>{D6(r,(t,e)=>{if(_r(r)&&["arguments","caller","callee"].indexOf(e)!==-1)return!1;const n=r[e];if(_r(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+e+"'")})}})},JX=(r,t)=>{const e={},n=a=>{a.forEach(i=>{e[i]=!0})};return Ds(r)?n(r):n(String(r).split(t)),e},QX=()=>{},eq=(r,t)=>r!=null&&Number.isFinite(r=+r)?r:t;function tq(r){return!!(r&&_r(r.append)&&r[x6]==="FormData"&&r[Xf])}const rq=r=>{const t=new Array(10),e=(n,a)=>{if(Kf(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[a]=n;const i=Ds(n)?[]:{};return lu(n,(o,s)=>{const l=e(o,a+1);!su(l)&&(i[s]=l)}),t[a]=void 0,i}}return n};return e(r,0)},nq=fn("AsyncFunction"),aq=r=>r&&(Kf(r)||_r(r))&&_r(r.then)&&_r(r.catch),A6=((r,t)=>r?setImmediate:t?((e,n)=>(Hi.addEventListener("message",({source:a,data:i})=>{a===Hi&&i===e&&n.length&&n.shift()()},!1),a=>{n.push(a),Hi.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))(typeof setImmediate=="function",_r(Hi.postMessage)),iq=typeof queueMicrotask<"u"?queueMicrotask.bind(Hi):typeof process<"u"&&process.nextTick||A6,W={isArray:Ds,isArrayBuffer:b6,isBuffer:SX,isFormData:IX,isArrayBufferView:CX,isString:EX,isNumber:S6,isBoolean:TX,isObject:Kf,isPlainObject:Jf,isReadableStream:PX,isRequest:VX,isResponse:BX,isHeaders:OX,isUndefined:su,isDate:DX,isFile:AX,isBlob:MX,isRegExp:ZX,isFunction:_r,isStream:LX,isURLSearchParams:NX,isTypedArray:UX,isFileList:kX,forEach:lu,merge:p0,extend:zX,trim:RX,stripBOM:HX,inherits:FX,toFlatObject:GX,kindOf:qf,kindOfTest:fn,endsWith:$X,toArray:WX,forEachEntry:YX,matchAll:jX,isHTMLForm:XX,hasOwnProperty:T6,hasOwnProp:T6,reduceDescriptors:D6,freezeMethods:KX,toObjectSet:JX,toCamelCase:qX,noop:QX,toFiniteNumber:eq,findKey:C6,global:Hi,isContextDefined:E6,isSpecCompliantForm:tq,toJSONObject:rq,isAsyncFn:nq,isThenable:aq,setImmediate:A6,asap:iq,isIterable:r=>r!=null&&_r(r[Xf])};function Ie(r,t,e,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=r,this.name="AxiosError",t&&(this.code=t),e&&(this.config=e),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}W.inherits(Ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W.toJSONObject(this.config),code:this.code,status:this.status}}});const M6=Ie.prototype,k6={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(r=>{k6[r]={value:r}}),Object.defineProperties(Ie,k6),Object.defineProperty(M6,"isAxiosError",{value:!0}),Ie.from=(r,t,e,n,a,i)=>{const o=Object.create(M6);return W.toFlatObject(r,o,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),Ie.call(o,r.message,t,e,n,a),o.cause=r,o.name=r.name,i&&Object.assign(o,i),o};const oq=null;function d0(r){return W.isPlainObject(r)||W.isArray(r)}function L6(r){return W.endsWith(r,"[]")?r.slice(0,-2):r}function I6(r,t,e){return r?r.concat(t).map(function(a,i){return a=L6(a),!e&&i?"["+a+"]":a}).join(e?".":""):t}function sq(r){return W.isArray(r)&&!r.some(d0)}const lq=W.toFlatObject(W,{},null,function(t){return/^is[A-Z]/.test(t)});function Qf(r,t,e){if(!W.isObject(r))throw new TypeError("target must be an object");t=t||new FormData,e=W.toFlatObject(e,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,g){return!W.isUndefined(g[m])});const n=e.metaTokens,a=e.visitor||c,i=e.dots,o=e.indexes,l=(e.Blob||typeof Blob<"u"&&Blob)&&W.isSpecCompliantForm(t);if(!W.isFunction(a))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(W.isDate(v))return v.toISOString();if(!l&&W.isBlob(v))throw new Ie("Blob is not supported. Use a Buffer instead.");return W.isArrayBuffer(v)||W.isTypedArray(v)?l&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function c(v,m,g){let _=v;if(v&&!g&&typeof v=="object"){if(W.endsWith(m,"{}"))m=n?m:m.slice(0,-2),v=JSON.stringify(v);else if(W.isArray(v)&&sq(v)||(W.isFileList(v)||W.endsWith(m,"[]"))&&(_=W.toArray(v)))return m=L6(m),_.forEach(function(w,x){!(W.isUndefined(w)||w===null)&&t.append(o===!0?I6([m],x,i):o===null?m:m+"[]",u(w))}),!1}return d0(v)?!0:(t.append(I6(g,m,i),u(v)),!1)}const f=[],h=Object.assign(lq,{defaultVisitor:c,convertValue:u,isVisitable:d0});function p(v,m){if(!W.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(v),W.forEach(v,function(_,y){(!(W.isUndefined(_)||_===null)&&a.call(t,_,W.isString(y)?y.trim():y,m,h))===!0&&p(_,m?m.concat(y):[y])}),f.pop()}}if(!W.isObject(r))throw new TypeError("data must be an object");return p(r),t}function N6(r){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(r).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function v0(r,t){this._pairs=[],r&&Qf(r,this,t)}const P6=v0.prototype;P6.append=function(t,e){this._pairs.push([t,e])},P6.toString=function(t){const e=t?function(n){return t.call(this,n,N6)}:N6;return this._pairs.map(function(a){return e(a[0])+"="+e(a[1])},"").join("&")};function uq(r){return encodeURIComponent(r).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function V6(r,t,e){if(!t)return r;const n=e&&e.encode||uq;W.isFunction(e)&&(e={serialize:e});const a=e&&e.serialize;let i;if(a?i=a(t,e):i=W.isURLSearchParams(t)?t.toString():new v0(t,e).toString(n),i){const o=r.indexOf("#");o!==-1&&(r=r.slice(0,o)),r+=(r.indexOf("?")===-1?"?":"&")+i}return r}class B6{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){W.forEach(this.handlers,function(n){n!==null&&t(n)})}}const O6={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},cq={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:v0,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},g0=typeof window<"u"&&typeof document<"u",m0=typeof navigator=="object"&&navigator||void 0,fq=g0&&(!m0||["ReactNative","NativeScript","NS"].indexOf(m0.product)<0),hq=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",pq=g0&&window.location.href||"http://localhost",Ut={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:g0,hasStandardBrowserEnv:fq,hasStandardBrowserWebWorkerEnv:hq,navigator:m0,origin:pq},Symbol.toStringTag,{value:"Module"})),...cq};function dq(r,t){return Qf(r,new Ut.classes.URLSearchParams,Object.assign({visitor:function(e,n,a,i){return Ut.isNode&&W.isBuffer(e)?(this.append(n,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function vq(r){return W.matchAll(/\w+|\[(\w*)]/g,r).map(t=>t[0]==="[]"?"":t[1]||t[0])}function gq(r){const t={},e=Object.keys(r);let n;const a=e.length;let i;for(n=0;n<a;n++)i=e[n],t[i]=r[i];return t}function R6(r){function t(e,n,a,i){let o=e[i++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),l=i>=e.length;return o=!o&&W.isArray(a)?a.length:o,l?(W.hasOwnProp(a,o)?a[o]=[a[o],n]:a[o]=n,!s):((!a[o]||!W.isObject(a[o]))&&(a[o]=[]),t(e,n,a[o],i)&&W.isArray(a[o])&&(a[o]=gq(a[o])),!s)}if(W.isFormData(r)&&W.isFunction(r.entries)){const e={};return W.forEachEntry(r,(n,a)=>{t(vq(n),a,e,0)}),e}return null}function mq(r,t,e){if(W.isString(r))try{return(t||JSON.parse)(r),W.trim(r)}catch(n){if(n.name!=="SyntaxError")throw n}return(e||JSON.stringify)(r)}const uu={transitional:O6,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",a=n.indexOf("application/json")>-1,i=W.isObject(t);if(i&&W.isHTMLForm(t)&&(t=new FormData(t)),W.isFormData(t))return a?JSON.stringify(R6(t)):t;if(W.isArrayBuffer(t)||W.isBuffer(t)||W.isStream(t)||W.isFile(t)||W.isBlob(t)||W.isReadableStream(t))return t;if(W.isArrayBufferView(t))return t.buffer;if(W.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return dq(t,this.formSerializer).toString();if((s=W.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Qf(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||a?(e.setContentType("application/json",!1),mq(t)):t}],transformResponse:[function(t){const e=this.transitional||uu.transitional,n=e&&e.forcedJSONParsing,a=this.responseType==="json";if(W.isResponse(t)||W.isReadableStream(t))return t;if(t&&W.isString(t)&&(n&&!this.responseType||a)){const o=!(e&&e.silentJSONParsing)&&a;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?Ie.from(s,Ie.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ut.classes.FormData,Blob:Ut.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W.forEach(["delete","get","head","post","put","patch"],r=>{uu.headers[r]={}});const _q=W.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),yq=r=>{const t={};let e,n,a;return r&&r.split(`
|
|
25
|
-
`).forEach(function(o){a=o.indexOf(":"),e=o.substring(0,a).trim().toLowerCase(),n=o.substring(a+1).trim(),!(!e||t[e]&&_q[e])&&(e==="set-cookie"?t[e]?t[e].push(n):t[e]=[n]:t[e]=t[e]?t[e]+", "+n:n)}),t},z6=Symbol("internals");function cu(r){return r&&String(r).trim().toLowerCase()}function eh(r){return r===!1||r==null?r:W.isArray(r)?r.map(eh):String(r)}function wq(r){const t=Object.create(null),e=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=e.exec(r);)t[n[1]]=n[2];return t}const xq=r=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());function _0(r,t,e,n,a){if(W.isFunction(n))return n.call(this,t,e);if(a&&(t=e),!!W.isString(t)){if(W.isString(n))return t.indexOf(n)!==-1;if(W.isRegExp(n))return n.test(t)}}function bq(r){return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,n)=>e.toUpperCase()+n)}function Sq(r,t){const e=W.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(r,n+e,{value:function(a,i,o){return this[n].call(this,t,a,i,o)},configurable:!0})})}let yr=class{constructor(t){t&&this.set(t)}set(t,e,n){const a=this;function i(s,l,u){const c=cu(l);if(!c)throw new Error("header name must be a non-empty string");const f=W.findKey(a,c);(!f||a[f]===void 0||u===!0||u===void 0&&a[f]!==!1)&&(a[f||l]=eh(s))}const o=(s,l)=>W.forEach(s,(u,c)=>i(u,c,l));if(W.isPlainObject(t)||t instanceof this.constructor)o(t,e);else if(W.isString(t)&&(t=t.trim())&&!xq(t))o(yq(t),e);else if(W.isObject(t)&&W.isIterable(t)){let s={},l,u;for(const c of t){if(!W.isArray(c))throw TypeError("Object iterator must return a key-value pair");s[u=c[0]]=(l=s[u])?W.isArray(l)?[...l,c[1]]:[l,c[1]]:c[1]}o(s,e)}else t!=null&&i(e,t,n);return this}get(t,e){if(t=cu(t),t){const n=W.findKey(this,t);if(n){const a=this[n];if(!e)return a;if(e===!0)return wq(a);if(W.isFunction(e))return e.call(this,a,n);if(W.isRegExp(e))return e.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=cu(t),t){const n=W.findKey(this,t);return!!(n&&this[n]!==void 0&&(!e||_0(this,this[n],n,e)))}return!1}delete(t,e){const n=this;let a=!1;function i(o){if(o=cu(o),o){const s=W.findKey(n,o);s&&(!e||_0(n,n[s],s,e))&&(delete n[s],a=!0)}}return W.isArray(t)?t.forEach(i):i(t),a}clear(t){const e=Object.keys(this);let n=e.length,a=!1;for(;n--;){const i=e[n];(!t||_0(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const e=this,n={};return W.forEach(this,(a,i)=>{const o=W.findKey(n,i);if(o){e[o]=eh(a),delete e[i];return}const s=t?bq(i):String(i).trim();s!==i&&delete e[i],e[s]=eh(a),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return W.forEach(this,(n,a)=>{n!=null&&n!==!1&&(e[a]=t&&W.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,e])=>t+": "+e).join(`
|
|
26
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[z6]=this[z6]={accessors:{}}).accessors,a=this.prototype;function i(o){const s=cu(o);n[s]||(Sq(a,o),n[s]=!0)}return W.isArray(t)?t.forEach(i):i(t),this}};yr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W.reduceDescriptors(yr.prototype,({value:r},t)=>{let e=t[0].toUpperCase()+t.slice(1);return{get:()=>r,set(n){this[e]=n}}}),W.freezeMethods(yr);function y0(r,t){const e=this||uu,n=t||e,a=yr.from(n.headers);let i=n.data;return W.forEach(r,function(s){i=s.call(e,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function H6(r){return!!(r&&r.__CANCEL__)}function As(r,t,e){Ie.call(this,r??"canceled",Ie.ERR_CANCELED,t,e),this.name="CanceledError"}W.inherits(As,Ie,{__CANCEL__:!0});function F6(r,t,e){const n=e.config.validateStatus;!e.status||!n||n(e.status)?r(e):t(new Ie("Request failed with status code "+e.status,[Ie.ERR_BAD_REQUEST,Ie.ERR_BAD_RESPONSE][Math.floor(e.status/100)-4],e.config,e.request,e))}function Cq(r){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(r);return t&&t[1]||""}function Eq(r,t){r=r||10;const e=new Array(r),n=new Array(r);let a=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=n[i];o||(o=u),e[a]=l,n[a]=u;let f=i,h=0;for(;f!==a;)h+=e[f++],f=f%r;if(a=(a+1)%r,a===i&&(i=(i+1)%r),u-o<t)return;const p=c&&u-c;return p?Math.round(h*1e3/p):void 0}}function Tq(r,t){let e=0,n=1e3/t,a,i;const o=(u,c=Date.now())=>{e=c,a=null,i&&(clearTimeout(i),i=null),r.apply(null,u)};return[(...u)=>{const c=Date.now(),f=c-e;f>=n?o(u,c):(a=u,i||(i=setTimeout(()=>{i=null,o(a)},n-f)))},()=>a&&o(a)]}const th=(r,t,e=3)=>{let n=0;const a=Eq(50,250);return Tq(i=>{const o=i.loaded,s=i.lengthComputable?i.total:void 0,l=o-n,u=a(l),c=o<=s;n=o;const f={loaded:o,total:s,progress:s?o/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&c?(s-o)/u:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};r(f)},e)},G6=(r,t)=>{const e=r!=null;return[n=>t[0]({lengthComputable:e,total:r,loaded:n}),t[1]]},$6=r=>(...t)=>W.asap(()=>r(...t)),Dq=Ut.hasStandardBrowserEnv?((r,t)=>e=>(e=new URL(e,Ut.origin),r.protocol===e.protocol&&r.host===e.host&&(t||r.port===e.port)))(new URL(Ut.origin),Ut.navigator&&/(msie|trident)/i.test(Ut.navigator.userAgent)):()=>!0,Aq=Ut.hasStandardBrowserEnv?{write(r,t,e,n,a,i){const o=[r+"="+encodeURIComponent(t)];W.isNumber(e)&&o.push("expires="+new Date(e).toGMTString()),W.isString(n)&&o.push("path="+n),W.isString(a)&&o.push("domain="+a),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(r){const t=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(r){this.write(r,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Mq(r){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r)}function kq(r,t){return t?r.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):r}function W6(r,t,e){let n=!Mq(t);return r&&(n||e==!1)?kq(r,t):t}const U6=r=>r instanceof yr?{...r}:r;function Fi(r,t){t=t||{};const e={};function n(u,c,f,h){return W.isPlainObject(u)&&W.isPlainObject(c)?W.merge.call({caseless:h},u,c):W.isPlainObject(c)?W.merge({},c):W.isArray(c)?c.slice():c}function a(u,c,f,h){if(W.isUndefined(c)){if(!W.isUndefined(u))return n(void 0,u,f,h)}else return n(u,c,f,h)}function i(u,c){if(!W.isUndefined(c))return n(void 0,c)}function o(u,c){if(W.isUndefined(c)){if(!W.isUndefined(u))return n(void 0,u)}else return n(void 0,c)}function s(u,c,f){if(f in t)return n(u,c);if(f in r)return n(void 0,u)}const l={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(u,c,f)=>a(U6(u),U6(c),f,!0)};return W.forEach(Object.keys(Object.assign({},r,t)),function(c){const f=l[c]||a,h=f(r[c],t[c],c);W.isUndefined(h)&&f!==s||(e[c]=h)}),e}const Y6=r=>{const t=Fi({},r);let{data:e,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:o,auth:s}=t;t.headers=o=yr.from(o),t.url=V6(W6(t.baseURL,t.url,t.allowAbsoluteUrls),r.params,r.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(W.isFormData(e)){if(Ut.hasStandardBrowserEnv||Ut.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((l=o.getContentType())!==!1){const[u,...c]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];o.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Ut.hasStandardBrowserEnv&&(n&&W.isFunction(n)&&(n=n(t)),n||n!==!1&&Dq(t.url))){const u=a&&i&&Aq.read(i);u&&o.set(a,u)}return t},Lq=typeof XMLHttpRequest<"u"&&function(r){return new Promise(function(e,n){const a=Y6(r);let i=a.data;const o=yr.from(a.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=a,c,f,h,p,v;function m(){p&&p(),v&&v(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let g=new XMLHttpRequest;g.open(a.method.toUpperCase(),a.url,!0),g.timeout=a.timeout;function _(){if(!g)return;const w=yr.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),b={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:w,config:r,request:g};F6(function(C){e(C),m()},function(C){n(C),m()},b),g=null}"onloadend"in g?g.onloadend=_:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(_)},g.onabort=function(){g&&(n(new Ie("Request aborted",Ie.ECONNABORTED,r,g)),g=null)},g.onerror=function(){n(new Ie("Network Error",Ie.ERR_NETWORK,r,g)),g=null},g.ontimeout=function(){let x=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const b=a.transitional||O6;a.timeoutErrorMessage&&(x=a.timeoutErrorMessage),n(new Ie(x,b.clarifyTimeoutError?Ie.ETIMEDOUT:Ie.ECONNABORTED,r,g)),g=null},i===void 0&&o.setContentType(null),"setRequestHeader"in g&&W.forEach(o.toJSON(),function(x,b){g.setRequestHeader(b,x)}),W.isUndefined(a.withCredentials)||(g.withCredentials=!!a.withCredentials),s&&s!=="json"&&(g.responseType=a.responseType),u&&([h,v]=th(u,!0),g.addEventListener("progress",h)),l&&g.upload&&([f,p]=th(l),g.upload.addEventListener("progress",f),g.upload.addEventListener("loadend",p)),(a.cancelToken||a.signal)&&(c=w=>{g&&(n(!w||w.type?new As(null,r,g):w),g.abort(),g=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const y=Cq(a.url);if(y&&Ut.protocols.indexOf(y)===-1){n(new Ie("Unsupported protocol "+y+":",Ie.ERR_BAD_REQUEST,r));return}g.send(i||null)})},Iq=(r,t)=>{const{length:e}=r=r?r.filter(Boolean):[];if(t||e){let n=new AbortController,a;const i=function(u){if(!a){a=!0,s();const c=u instanceof Error?u:this.reason;n.abort(c instanceof Ie?c:new As(c instanceof Error?c.message:c))}};let o=t&&setTimeout(()=>{o=null,i(new Ie(`timeout ${t} of ms exceeded`,Ie.ETIMEDOUT))},t);const s=()=>{r&&(o&&clearTimeout(o),o=null,r.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),r=null)};r.forEach(u=>u.addEventListener("abort",i));const{signal:l}=n;return l.unsubscribe=()=>W.asap(s),l}},Nq=function*(r,t){let e=r.byteLength;if(e<t){yield r;return}let n=0,a;for(;n<e;)a=n+t,yield r.slice(n,a),n=a},Pq=async function*(r,t){for await(const e of Vq(r))yield*Nq(e,t)},Vq=async function*(r){if(r[Symbol.asyncIterator]){yield*r;return}const t=r.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},j6=(r,t,e,n)=>{const a=Pq(r,t);let i=0,o,s=l=>{o||(o=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await a.next();if(u){s(),l.close();return}let f=c.byteLength;if(e){let h=i+=f;e(h)}l.enqueue(new Uint8Array(c))}catch(u){throw s(u),u}},cancel(l){return s(l),a.return()}},{highWaterMark:2})},rh=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",X6=rh&&typeof ReadableStream=="function",Bq=rh&&(typeof TextEncoder=="function"?(r=>t=>r.encode(t))(new TextEncoder):async r=>new Uint8Array(await new Response(r).arrayBuffer())),q6=(r,...t)=>{try{return!!r(...t)}catch{return!1}},Oq=X6&&q6(()=>{let r=!1;const t=new Request(Ut.origin,{body:new ReadableStream,method:"POST",get duplex(){return r=!0,"half"}}).headers.has("Content-Type");return r&&!t}),Z6=64*1024,w0=X6&&q6(()=>W.isReadableStream(new Response("").body)),nh={stream:w0&&(r=>r.body)};rh&&(r=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!nh[t]&&(nh[t]=W.isFunction(r[t])?e=>e[t]():(e,n)=>{throw new Ie(`Response type '${t}' is not supported`,Ie.ERR_NOT_SUPPORT,n)})})})(new Response);const Rq=async r=>{if(r==null)return 0;if(W.isBlob(r))return r.size;if(W.isSpecCompliantForm(r))return(await new Request(Ut.origin,{method:"POST",body:r}).arrayBuffer()).byteLength;if(W.isArrayBufferView(r)||W.isArrayBuffer(r))return r.byteLength;if(W.isURLSearchParams(r)&&(r=r+""),W.isString(r))return(await Bq(r)).byteLength},zq=async(r,t)=>{const e=W.toFiniteNumber(r.getContentLength());return e??Rq(t)},x0={http:oq,xhr:Lq,fetch:rh&&(async r=>{let{url:t,method:e,data:n,signal:a,cancelToken:i,timeout:o,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:h}=Y6(r);u=u?(u+"").toLowerCase():"text";let p=Iq([a,i&&i.toAbortSignal()],o),v;const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&Oq&&e!=="get"&&e!=="head"&&(g=await zq(c,n))!==0){let b=new Request(t,{method:"POST",body:n,duplex:"half"}),S;if(W.isFormData(n)&&(S=b.headers.get("content-type"))&&c.setContentType(S),b.body){const[C,D]=G6(g,th($6(l)));n=j6(b.body,Z6,C,D)}}W.isString(f)||(f=f?"include":"omit");const _="credentials"in Request.prototype;v=new Request(t,{...h,signal:p,method:e.toUpperCase(),headers:c.normalize().toJSON(),body:n,duplex:"half",credentials:_?f:void 0});let y=await fetch(v);const w=w0&&(u==="stream"||u==="response");if(w0&&(s||w&&m)){const b={};["status","statusText","headers"].forEach(T=>{b[T]=y[T]});const S=W.toFiniteNumber(y.headers.get("content-length")),[C,D]=s&&G6(S,th($6(s),!0))||[];y=new Response(j6(y.body,Z6,C,()=>{D&&D(),m&&m()}),b)}u=u||"text";let x=await nh[W.findKey(nh,u)||"text"](y,r);return!w&&m&&m(),await new Promise((b,S)=>{F6(b,S,{data:x,headers:yr.from(y.headers),status:y.status,statusText:y.statusText,config:r,request:v})})}catch(_){throw m&&m(),_&&_.name==="TypeError"&&/Load failed|fetch/i.test(_.message)?Object.assign(new Ie("Network Error",Ie.ERR_NETWORK,r,v),{cause:_.cause||_}):Ie.from(_,_&&_.code,r,v)}})};W.forEach(x0,(r,t)=>{if(r){try{Object.defineProperty(r,"name",{value:t})}catch{}Object.defineProperty(r,"adapterName",{value:t})}});const K6=r=>`- ${r}`,Hq=r=>W.isFunction(r)||r===null||r===!1,J6={getAdapter:r=>{r=W.isArray(r)?r:[r];const{length:t}=r;let e,n;const a={};for(let i=0;i<t;i++){e=r[i];let o;if(n=e,!Hq(e)&&(n=x0[(o=String(e)).toLowerCase()],n===void 0))throw new Ie(`Unknown adapter '${o}'`);if(n)break;a[o||"#"+i]=n}if(!n){const i=Object.entries(a).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since :
|
|
27
|
-
`+i.map(K6).join(`
|
|
28
|
-
`):" "+K6(i[0]):"as no adapter specified";throw new Ie("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:x0};function b0(r){if(r.cancelToken&&r.cancelToken.throwIfRequested(),r.signal&&r.signal.aborted)throw new As(null,r)}function Q6(r){return b0(r),r.headers=yr.from(r.headers),r.data=y0.call(r,r.transformRequest),["post","put","patch"].indexOf(r.method)!==-1&&r.headers.setContentType("application/x-www-form-urlencoded",!1),J6.getAdapter(r.adapter||uu.adapter)(r).then(function(n){return b0(r),n.data=y0.call(r,r.transformResponse,n),n.headers=yr.from(n.headers),n},function(n){return H6(n)||(b0(r),n&&n.response&&(n.response.data=y0.call(r,r.transformResponse,n.response),n.response.headers=yr.from(n.response.headers))),Promise.reject(n)})}const e8="1.9.0",ah={};["object","boolean","number","function","string","symbol"].forEach((r,t)=>{ah[r]=function(n){return typeof n===r||"a"+(t<1?"n ":" ")+r}});const t8={};ah.transitional=function(t,e,n){function a(i,o){return"[Axios v"+e8+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,s)=>{if(t===!1)throw new Ie(a(o," has been removed"+(e?" in "+e:"")),Ie.ERR_DEPRECATED);return e&&!t8[o]&&(t8[o]=!0,console.warn(a(o," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(i,o,s):!0}},ah.spelling=function(t){return(e,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Fq(r,t,e){if(typeof r!="object")throw new Ie("options must be an object",Ie.ERR_BAD_OPTION_VALUE);const n=Object.keys(r);let a=n.length;for(;a-- >0;){const i=n[a],o=t[i];if(o){const s=r[i],l=s===void 0||o(s,i,r);if(l!==!0)throw new Ie("option "+i+" must be "+l,Ie.ERR_BAD_OPTION_VALUE);continue}if(e!==!0)throw new Ie("Unknown option "+i,Ie.ERR_BAD_OPTION)}}const ih={assertOptions:Fq,validators:ah},Nn=ih.validators;let Gi=class{constructor(t){this.defaults=t||{},this.interceptors={request:new B6,response:new B6}}async request(t,e){try{return await this._request(t,e)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
29
|
-
`+i):n.stack=i}catch{}}throw n}}_request(t,e){typeof t=="string"?(e=e||{},e.url=t):e=t||{},e=Fi(this.defaults,e);const{transitional:n,paramsSerializer:a,headers:i}=e;n!==void 0&&ih.assertOptions(n,{silentJSONParsing:Nn.transitional(Nn.boolean),forcedJSONParsing:Nn.transitional(Nn.boolean),clarifyTimeoutError:Nn.transitional(Nn.boolean)},!1),a!=null&&(W.isFunction(a)?e.paramsSerializer={serialize:a}:ih.assertOptions(a,{encode:Nn.function,serialize:Nn.function},!0)),e.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),ih.assertOptions(e,{baseUrl:Nn.spelling("baseURL"),withXsrfToken:Nn.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let o=i&&W.merge(i.common,i[e.method]);i&&W.forEach(["delete","get","head","post","put","patch","common"],v=>{delete i[v]}),e.headers=yr.concat(o,i);const s=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(e)===!1||(l=l&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,f=0,h;if(!l){const v=[Q6.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,u),h=v.length,c=Promise.resolve(e);f<h;)c=c.then(v[f++],v[f++]);return c}h=s.length;let p=e;for(f=0;f<h;){const v=s[f++],m=s[f++];try{p=v(p)}catch(g){m.call(this,g);break}}try{c=Q6.call(this,p)}catch(v){return Promise.reject(v)}for(f=0,h=u.length;f<h;)c=c.then(u[f++],u[f++]);return c}getUri(t){t=Fi(this.defaults,t);const e=W6(t.baseURL,t.url,t.allowAbsoluteUrls);return V6(e,t.params,t.paramsSerializer)}};W.forEach(["delete","get","head","options"],function(t){Gi.prototype[t]=function(e,n){return this.request(Fi(n||{},{method:t,url:e,data:(n||{}).data}))}}),W.forEach(["post","put","patch"],function(t){function e(n){return function(i,o,s){return this.request(Fi(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Gi.prototype[t]=e(),Gi.prototype[t+"Form"]=e(!0)});let Gq=class X7{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(i){e=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(s=>{n.subscribe(s),i=s}).then(a);return o.cancel=function(){n.unsubscribe(i)},o},t(function(i,o,s){n.reason||(n.reason=new As(i,o,s),e(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);e!==-1&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=n=>{t.abort(n)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new X7(function(a){t=a}),cancel:t}}};function $q(r){return function(e){return r.apply(null,e)}}function Wq(r){return W.isObject(r)&&r.isAxiosError===!0}const S0={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(S0).forEach(([r,t])=>{S0[t]=r});function r8(r){const t=new Gi(r),e=w6(Gi.prototype.request,t);return W.extend(e,Gi.prototype,t,{allOwnKeys:!0}),W.extend(e,t,null,{allOwnKeys:!0}),e.create=function(a){return r8(Fi(r,a))},e}const vt=r8(uu);vt.Axios=Gi,vt.CanceledError=As,vt.CancelToken=Gq,vt.isCancel=H6,vt.VERSION=e8,vt.toFormData=Qf,vt.AxiosError=Ie,vt.Cancel=vt.CanceledError,vt.all=function(t){return Promise.all(t)},vt.spread=$q,vt.isAxiosError=Wq,vt.mergeConfig=Fi,vt.AxiosHeaders=yr,vt.formToJSON=r=>R6(W.isHTMLForm(r)?new FormData(r):r),vt.getAdapter=J6.getAdapter,vt.HttpStatusCode=S0,vt.default=vt;const{Axios:G2e,AxiosError:$2e,CanceledError:W2e,isCancel:U2e,CancelToken:Y2e,VERSION:j2e,all:X2e,Cancel:q2e,isAxiosError:Z2e,spread:K2e,toFormData:J2e,AxiosHeaders:Q2e,HttpStatusCode:e1e,formToJSON:t1e,getAdapter:r1e,mergeConfig:n1e}=vt;/*! js-cookie v3.0.5 | MIT */function oh(r){for(var t=1;t<arguments.length;t++){var e=arguments[t];for(var n in e)r[n]=e[n]}return r}var Uq={read:function(r){return r[0]==='"'&&(r=r.slice(1,-1)),r.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(r){return encodeURIComponent(r).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function C0(r,t){function e(a,i,o){if(!(typeof document>"u")){o=oh({},t,o),typeof o.expires=="number"&&(o.expires=new Date(Date.now()+o.expires*864e5)),o.expires&&(o.expires=o.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in o)o[l]&&(s+="; "+l,o[l]!==!0&&(s+="="+o[l].split(";")[0]));return document.cookie=a+"="+r.write(i,a)+s}}function n(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],o={},s=0;s<i.length;s++){var l=i[s].split("="),u=l.slice(1).join("=");try{var c=decodeURIComponent(l[0]);if(o[c]=r.read(u,c),a===c)break}catch{}}return a?o[a]:o}}return Object.create({set:e,get:n,remove:function(a,i){e(a,"",oh({},i,{expires:-1}))},withAttributes:function(a){return C0(this.converter,oh({},this.attributes,a))},withConverter:function(a){return C0(oh({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(r)}})}C0(Uq,{path:"/"});const $i={setKey(r){return`ss-component-new:${r}`},set(r,t){window.localStorage.setItem($i.setKey(r),JSON.stringify(t))},get(r){let t=window.localStorage.getItem($i.setKey(r));return JSON.parse(t)},remove(r){window.localStorage.removeItem($i.setKey(r))},clear(){window.localStorage.clear()}},n8=new Map;console.log("import.meta.env.VITE_API_URL","http://139.196.154.85:20013");const a8=vt.create({baseURL:"http://139.196.154.85:20013",timeout:5e4}),sh="access-token",E0=`x-${sh}`;a8.interceptors.request.use(r=>{var a;const t=new AbortController;r.signal=t.signal;const e=r.url||"";n8.set(e,t);const n=$i.get(sh);if(n){r.headers.Authorization=`Bearer ${n}`;const i=jq(n),o=Xq(i.exp);if(new Date>=o){const s=$i.get(E0);s&&(r.headers["X-Authorization"]=`Bearer ${s}`)}if(((a=r.method)==null?void 0:a.toLowerCase())==="get"&&r.data){let s=r.url+"?"+Yq(r.data);s=s.slice(0,-1),r.data={},r.url=s}}return r},r=>Promise.reject(r)),a8.interceptors.response.use(r=>{const t=r.config.url||"";n8.delete(t);var e=r.status,n=r.data;if(e===401)throw new Error(r.statusText||"Request Error.");if(e>=400)throw new Error(r.statusText||"Request Error.");if(n&&n.hasOwnProperty("errors")&&n.errors)throw new Error(JSON.stringify(n.errors||"Request Error."));var a=r.headers[sh],i=r.headers[E0];if(a==="invalid_token")throw new Error(r.statusText||"Request Error.");if(i&&a&&($i.set(sh,a),$i.set(E0,i)),n.code===401)throw new Error(r.statusText||"Request Error.");if(n.code===void 0)return Promise.resolve(r);if(n.code!==200){var o;throw n.message&&typeof n.message=="object"?o=JSON.stringify(n.message):o=n.message,Oi({dangerouslyUseHTMLString:!0,message:o,type:"error"}),new Error(o)}return r},r=>{var t,e;if(r.response&&r.response.status===401)throw new Error(res.statusText||"Request Error.");return r.message.indexOf("timeout")!=-1?Oi.error("网络超时"):r.message=="Network Error"?Oi.error("网络连接错误"):(t=r.response)!=null&&t.data?Oi.error((e=r.response)==null?void 0:e.statusText):Oi.error("接口路径找不到"),Promise.reject(r)});function Yq(r){let t="";for(const a of Object.keys(r)){const i=r[a];var e=encodeURIComponent(a)+"=";if(i!==null&&i!==""&&typeof i<"u")if(typeof i=="object"){for(const o of Object.keys(i))if(i[o]!==null&&i[o]!==""&&typeof i[o]<"u"){let s=a+"["+o+"]";var n=encodeURIComponent(s)+"=";t+=n+encodeURIComponent(i[o])+"&"}}else t+=e+encodeURIComponent(i)+"&"}return t}function jq(r){r=r.replace(/_/g,"/").replace(/-/g,"+");var t=decodeURIComponent(escape(window.atob(r.split(".")[1])));return JSON.parse(t)}function Xq(r){return new Date(r*1e3)}const qq=zi(Vr),{itemData:a1e}=Pr(qq),Zq=Wf(Vr),{systemKey:i1e,activeMenuPath:o1e}=Pr(Zq),fu=d.ref(0),Kq=r=>r.reduce((e,n)=>{var i,o;const a=Object.values(e);return(((i=Object.keys(e))==null?void 0:i.length)===0||a[a.length-1].length>=(n==null?void 0:n.width))&&(e[fu.value]=[],fu.value++),e[fu.value-1].push(n),((o=Object.keys(e))==null?void 0:o.length)===(n==null?void 0:n.width)&&(e[fu.value]=[],fu.value++),e},{}),Jq={class:"add-model-content"},Qq={key:0,class:"model-import-data"},eZ={class:"import-button"},tZ={key:0},rZ={key:1,class:"model-operate"},nZ={class:"model-select"},aZ={class:"model-fill"},iZ={key:2,class:"model-view ssComponent"},oZ=Object.freeze(Object.defineProperty({__proto__:null,default:dt({__name:"main",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change"],setup(r,{emit:t}){const e=r,n=t,a=d.ref(""),i=d.ref([]),o=d.ref(0),s=zi(Vr);Wf(Vr);const{itemData:l,originalData:u}=Pr(s),c=d.ref(null),f=d.ref(0),h=d.ref(""),p=()=>{o.value=window.innerWidth},v=async x=>{var S;const b=(S=q(x==null?void 0:x.wholeValue))==null?void 0:S.map(C=>{var D;return(C==null?void 0:C.comp)==="Form"&&(C.compData=(D=C.compData)==null?void 0:D.map(T=>((T==null?void 0:T.key)==="formContent"&&(T.contents=Kq(T==null?void 0:T.contents)),T))),C});n("change",{originalContents:u.value,currentContents:x==null?void 0:x.wholeValue,editContent:x==null?void 0:x.editValue,stringContent:m(q(x==null?void 0:x.wholeValue)),arrayToContents:b})},m=x=>{var S;let b=[];return(S=q(x))==null||S.forEach(C=>{var D,T;Ts!=null&&Ts.find(E=>(E==null?void 0:E.value)===(C==null?void 0:C.comp))&&b.push(((D=Ts==null?void 0:Ts.find(E=>(E==null?void 0:E.value)===(C==null?void 0:C.comp)))==null?void 0:D.key)+"="+C.name+"/r/n"),(T=C==null?void 0:C.compData)==null||T.forEach(E=>{var A,k,I,L,N,P,V,O,B,R,z,H;if(Nt!=null&&Nt.find($=>($==null?void 0:$.value)===(E==null?void 0:E.key)))if(!((A=E==null?void 0:E.contents)!=null&&A.length))b.push(((k=Nt==null?void 0:Nt.find($=>($==null?void 0:$.value)===(E==null?void 0:E.key)))==null?void 0:k.key)+"="+(E.contents===!0?'""':"Vertical")+"/r/n");else{let $=(I=E==null?void 0:E.contents)==null?void 0:I[0];if(!$)return;if(Object.keys($).includes("label")&&Object.keys($).includes("key")&&Object.keys($).includes("width"))if(((N=(L=E.contents)==null?void 0:L.filter(X=>X.width!==1))==null?void 0:N.length)===0){const X=(P=q(E==null?void 0:E.contents))==null?void 0:P.map(j=>({[j.label]:j.value}));b.push(((V=Nt==null?void 0:Nt.find(j=>(j==null?void 0:j.value)===(E==null?void 0:E.key)))==null?void 0:V.key)+"="+JSON.stringify(X)+"/r/n")}else{let X=[];(O=q(E==null?void 0:E.contents))==null||O.reduce((j,fe)=>{var De;return j[fe.label]=fe.key,((De=Object.keys(q(j)))==null?void 0:De.length)>=fe.width&&(X.push(q(j)),j={}),j},{}),b.push(((B=Nt==null?void 0:Nt.find(j=>(j==null?void 0:j.value)===(E==null?void 0:E.key)))==null?void 0:B.key)+"="+JSON.stringify(X)+"/r/n")}else if(Object.keys($).includes("label")){const X=(R=q(E==null?void 0:E.contents))==null?void 0:R.map(j=>j.label);b.push(((z=Nt==null?void 0:Nt.find(j=>(j==null?void 0:j.value)===(E==null?void 0:E.key)))==null?void 0:z.key)+"="+JSON.stringify(X)+"/r/n")}else b.push(((H=Nt==null?void 0:Nt.find(X=>(X==null?void 0:X.value)===(E==null?void 0:E.key)))==null?void 0:H.key)+"="+JSON.stringify(E==null?void 0:E.contents)+"/r/n")}})}),JSON.stringify(b)},g=d.ref([]),_=()=>{c.value.click()},y=x=>{const b=x.target.files[0];if(!b)return;const S=new FileReader;S.onload=C=>{try{a.value=C.target.result,g.value=w(C.target.result),f.value++}catch(D){console.error("解析失败:",D)}},S.onerror=C=>{console.error("文件读取错误:",C)},S.readAsText(b)};d.onMounted(()=>{window.addEventListener("resize",p)}),d.watch(()=>[e==null?void 0:e.content,e==null?void 0:e.jsonContents],()=>{a.value=e==null?void 0:e.content,i.value=e==null?void 0:e.jsonContents},{deep:!0,immediate:!0}),d.watch(()=>f.value,()=>{var x;((x=g.value)==null?void 0:x.length)!==0&&(s.setOriginalData(g.value),s.setItemData(g.value))},{deep:!0,immediate:!0});const w=x=>{let b=x.replace(/,/g,",").replace(/;/g,";").replace(/:/g,":");b=b.replace(/(\w+)\s*:/g,"$1:"),b=b.replace(/\r\n/g,"").replace(/\n/g,"").replace(/\t/g,"").replace(/\s+/g," ").trim(),b=b.replace(/,\s*([}\]])/g,"$1"),b=b.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g,": $2$4");try{return JSON.parse(b)}catch(S){try{const D=new Function(`return ${b}`)();if(Array.isArray(D)||typeof D=="object")return D;throw new Error(`解析结果不是有效的数组或对象: ${S}`)}catch(C){throw new Error(`无法解析JSON: ${C.message}`)}}};return(x,b)=>{var S;return d.openBlock(),d.createElementBlock("div",Jq,[((S=e==null?void 0:e.jsonContents)==null?void 0:S.length)===0?(d.openBlock(),d.createElementBlock("div",Qq,[d.createElementVNode("div",eZ,[d.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:c,accept:".txt",onChange:y,style:{display:"none"}},null,544),d.createElementVNode("button",{onClick:_,class:"import-button-content"},"导入文件"),h.value?(d.openBlock(),d.createElementBlock("span",tZ,d.toDisplayString(h.value),1)):d.createCommentVNode("",!0)])])):d.createCommentVNode("",!0),(e==null?void 0:e.mode)==="edit"?(d.openBlock(),d.createElementBlock("div",rZ,[d.createElementVNode("div",nZ,[d.createVNode(nX)]),(d.openBlock(),d.createElementBlock("div",{class:"model-show",key:o.value},[d.createVNode(cX)])),d.createElementVNode("div",aZ,[d.createVNode(lX)])])):d.createCommentVNode("",!0),(e==null?void 0:e.mode)==="view"?(d.openBlock(),d.createElementBlock("div",iZ,[(d.openBlock(),d.createBlock(xX,{content:a.value,onChange:v,jsonContents:i.value,key:o.value},null,8,["content","jsonContents"]))])):d.createCommentVNode("",!0)])}}},[["__scopeId","data-v-b25bde75"]])},Symbol.toStringTag,{value:"Module"})),T0=d.defineAsyncComponent(()=>Promise.resolve().then(()=>JY));T0.install=r=>{r.component("ssMenu",T0)};const sZ={__name:"index",props:{name:String},setup(r){const t=r,e=d.computed(()=>Gf[t.name]);return d.onMounted(()=>{const n=Object.keys(Gf);console.log("iconComponent",e.value,t.name,Gf,n)}),(n,a)=>{const i=d.resolveComponent("el-icon");return d.openBlock(),d.createBlock(i,null,{default:d.withCtx(()=>[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(e.value)))]),_:1})}}},lZ=d.defineComponent({name:"menu",components:{ssMenu:T0,DynamicIcon:sZ},setup(){const r=Wf(),t=zi(),{rawMenu:e,menuTriggerType:n}=Pr(r),{itemData:a}=Pr(t),i=d.ref([]);let o;(y=>{y[y.Menu=0]="Menu",y[y.FolderOpened=1]="FolderOpened"})(o||(o={}));const s=y=>{let w=[],x=[];return y==null||y.forEach(b=>{w=l(b,x)}),console.log("splitMenu",w),w},l=(y,w)=>{const x=w,b=[];y==null||y.forEach(C=>{Array.isArray(C)?b.push({children:l(C,[])}):b.push({title:C})});let S=b.reduce((C,D)=>(Object.entries(D).forEach(([T,E])=>{C[T]===void 0?E!=null&&E.title?C[T]=[E]:C[T]=E:(Array.isArray(C[T])||(C[T]=[{title:C[T]}]),E!=null&&E.title||Array.isArray(E)?C[T].push(E):C[T].push({title:E}))}),C),{});return S=u(q(S)),x.push(S),Array.isArray(x)&&(x==null?void 0:x.length)>1?x:x==null?void 0:x[0]},u=y=>{var w,x,b;return Array.isArray(y==null?void 0:y.title)&&((w=y==null?void 0:y.title)==null?void 0:w.length)===((b=(x=y==null?void 0:y.title)==null?void 0:x.filter(S=>S.title))==null?void 0:b.length)?y==null?void 0:y.title:Array.isArray(y==null?void 0:y.children)?c(y):y},c=y=>{var x;const w=y;return w.children=(x=w.children)==null?void 0:x.map(b=>{var S;return(S=b==null?void 0:b.title)!=null&&S.children?b==null?void 0:b.title:b}),w},f=(y,w="",x=0)=>{var C;const b=q(a.value),S=(C=b==null?void 0:b.filter(D=>{var T;return((T=D.comp)==null?void 0:T.toUpperCase())==="GROUP"}))==null?void 0:C.map(D=>D.name);return y==null?void 0:y.map(D=>{const T=w?`${w}/${D.title}`:D.title,E={...D,path:T,level:x,icon:o[`${x}`],carryData:S==null?void 0:S.includes(T)};return D.children&&D.children.length>0&&(E.children=f(D.children,T,x+1)),E})},h=d.computed(()=>{const y=f(i.value);return console.log("temps",y),r.setMenus(y),y}),p=y=>{console.log("clickMenu",y),r.setMenuTriggerType("click"),r.setActiveMenuPath(y==null?void 0:y.path)},v=y=>{n.value==="click"?r.setActiveMenuPath(y):r.setMenuTriggerType("click")},m=y=>{r.setActiveMenuPath(y)},g=d.ref([{name:"--ssComponent-menu-bg",value:"#426ec4"},{name:"--ssComponent-submenu-hover-bg",value:"#00000033"},{name:"--ssComponent-submenu-open-bg",value:"#2DA0FF"},{name:"--ssComponent-submenu-open-inline-bg",value:"#1C4275"},{name:"--ssComponent-menuitem-hover-bg",value:"#1d7bef"},{name:"--ssComponent-menuitem-active-bg",value:"#1d7bef"}]),_=()=>{var w;const y=document.documentElement;(w=g.value)==null||w.forEach(x=>{y.style.setProperty(x.name,x.value)})};return d.onMounted(()=>{}),d.watch(()=>e.value,y=>{var w,x,b;if(y){const S=(b=(x=(w=q(y))==null?void 0:w.compData)==null?void 0:x[0])==null?void 0:b.contents;i.value=s(S),console.log("rawMenu",h.value)}else r.setActiveMenuPath("")},{immediate:!0}),{renderMenuList:h,clickMenu:p,openMenu:v,closeMenu:m,changeMenuStyle:_}}});function uZ(r,t,e,n,a,i){const o=d.resolveComponent("DynamicIcon"),s=d.resolveComponent("ssMenu");return d.openBlock(),d.createBlock(s,{menuList:r.renderMenuList,onClickMenu:r.clickMenu,onOpenMenu:r.openMenu,onCloseMenu:r.closeMenu,onChangeMenuStyle:r.changeMenuStyle,class:"menuList-wrap"},{title:d.withCtx(({menu:l})=>[d.createVNode(o,{name:l.icon??""},null,8,["name"]),d.createElementVNode("span",null,d.toDisplayString(l.title??""),1)]),_:1},8,["menuList","onClickMenu","onOpenMenu","onCloseMenu","onChangeMenuStyle"])}const cZ=Object.freeze(Object.defineProperty({__proto__:null,default:dt(lZ,[["render",uZ],["__scopeId","data-v-dc84a8f7"]])},Symbol.toStringTag,{value:"Module"}));d.ref(0);const fZ=Object.freeze(Object.defineProperty({__proto__:null,default:dt({__name:"index",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},setup(r){return d.ref(!1),(t,e)=>{const n=d.resolveComponent("router-view");return d.openBlock(),d.createBlock(n)}}},[["__scopeId","data-v-c06bb5c0"]])},Symbol.toStringTag,{value:"Module"}));/*! *****************************************************************************
|
|
30
|
-
Copyright (c) Microsoft Corporation.
|
|
31
|
-
|
|
32
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
33
|
-
purpose with or without fee is hereby granted.
|
|
34
|
-
|
|
35
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
36
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
37
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
38
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
39
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
40
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
41
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
42
|
-
***************************************************************************** */var D0=function(r,t){return D0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])},D0(r,t)};function F(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");D0(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var hZ=function(){function r(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return r}(),pZ=function(){function r(){this.browser=new hZ,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 r}(),Ee=new pZ;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Ee.wxa=!0,Ee.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Ee.worker=!0:!Ee.hasGlobalWindow||"Deno"in window?(Ee.node=!0,Ee.svgSupported=!0):dZ(navigator.userAgent,Ee);function dZ(r,t){var e=t.browser,n=r.match(/Firefox\/([\d.]+)/),a=r.match(/MSIE\s([\d.]+)/)||r.match(/Trident\/.+?rv:(([\d.]+))/),i=r.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(r);n&&(e.firefox=!0,e.version=n[1]),a&&(e.ie=!0,e.version=a[1]),i&&(e.edge=!0,e.version=i[1],e.newEdge=+i[1].split(".")[0]>18),o&&(e.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!e.ie&&!e.edge,t.pointerEventsSupported="onpointerdown"in window&&(e.edge||e.ie&&+e.version>=11),t.domSupported=typeof document<"u";var s=document.documentElement.style;t.transform3dSupported=(e.ie&&"transition"in s||e.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||e.ie&&+e.version>=9}var A0=12,i8="sans-serif",$a=A0+"px "+i8,vZ=20,gZ=100,mZ="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function _Z(r){var t={};if(typeof JSON>"u")return t;for(var e=0;e<r.length;e++){var n=String.fromCharCode(e+32),a=(r.charCodeAt(e)-vZ)/gZ;t[n]=a}return t}var yZ=_Z(mZ),Wa={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var r,t;return function(e,n){if(!r){var a=Wa.createCanvas();r=a&&a.getContext("2d")}if(r)return t!==n&&(t=r.font=n||$a),r.measureText(e);e=e||"",n=n||$a;var i=/((?:\d+)?\.?\d*)px/.exec(n),o=i&&+i[1]||A0,s=0;if(n.indexOf("mono")>=0)s=o*e.length;else for(var l=0;l<e.length;l++){var u=yZ[e[l]];s+=u==null?o:u*o}return{width:s}}}(),loadImage:function(r,t,e){var n=new Image;return n.onload=t,n.onerror=e,n.src=r,n}},o8=Pn(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(r,t){return r["[object "+t+"]"]=!0,r},{}),s8=Pn(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(r,t){return r["[object "+t+"Array]"]=!0,r},{}),Ms=Object.prototype.toString,lh=Array.prototype,wZ=lh.forEach,xZ=lh.filter,M0=lh.slice,bZ=lh.map,l8=(function(){}).constructor,uh=l8?l8.prototype:null,k0="__proto__",SZ=2311;function u8(){return SZ++}function hn(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];typeof console<"u"&&console.error.apply(console,r)}function pe(r){if(r==null||typeof r!="object")return r;var t=r,e=Ms.call(r);if(e==="[object Array]"){if(!hu(r)){t=[];for(var n=0,a=r.length;n<a;n++)t[n]=pe(r[n])}}else if(s8[e]){if(!hu(r)){var i=r.constructor;if(i.from)t=i.from(r);else{t=new i(r.length);for(var n=0,a=r.length;n<a;n++)t[n]=r[n]}}}else if(!o8[e]&&!hu(r)&&!Wi(r)){t={};for(var o in r)r.hasOwnProperty(o)&&o!==k0&&(t[o]=pe(r[o]))}return t}function _e(r,t,e){if(!oe(t)||!oe(r))return e?pe(t):r;for(var n in t)if(t.hasOwnProperty(n)&&n!==k0){var a=r[n],i=t[n];oe(i)&&oe(a)&&!U(i)&&!U(a)&&!Wi(i)&&!Wi(a)&&!c8(i)&&!c8(a)&&!hu(i)&&!hu(a)?_e(a,i,e):(e||!(n in r))&&(r[n]=pe(t[n]))}return r}function L0(r,t){for(var e=r[0],n=1,a=r.length;n<a;n++)e=_e(e,r[n],t);return e}function G(r,t){if(Object.assign)Object.assign(r,t);else for(var e in t)t.hasOwnProperty(e)&&e!==k0&&(r[e]=t[e]);return r}function ue(r,t,e){for(var n=Me(t),a=0,i=n.length;a<i;a++){var o=n[a];(e?t[o]!=null:r[o]==null)&&(r[o]=t[o])}return r}function xe(r,t){if(r){if(r.indexOf)return r.indexOf(t);for(var e=0,n=r.length;e<n;e++)if(r[e]===t)return e}return-1}function CZ(r,t){var e=r.prototype;function n(){}n.prototype=t.prototype,r.prototype=new n;for(var a in e)e.hasOwnProperty(a)&&(r.prototype[a]=e[a]);r.prototype.constructor=r,r.superClass=t}function gt(r,t,e){if(r="prototype"in r?r.prototype:r,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),a=0;a<n.length;a++){var i=n[a];i!=="constructor"&&(e?t[i]!=null:r[i]==null)&&(r[i]=t[i])}else ue(r,t,e)}function Yt(r){return!r||typeof r=="string"?!1:typeof r.length=="number"}function M(r,t,e){if(r&&t)if(r.forEach&&r.forEach===wZ)r.forEach(t,e);else if(r.length===+r.length)for(var n=0,a=r.length;n<a;n++)t.call(e,r[n],n,r);else for(var i in r)r.hasOwnProperty(i)&&t.call(e,r[i],i,r)}function Y(r,t,e){if(!r)return[];if(!t)return I0(r);if(r.map&&r.map===bZ)return r.map(t,e);for(var n=[],a=0,i=r.length;a<i;a++)n.push(t.call(e,r[a],a,r));return n}function Pn(r,t,e,n){if(r&&t){for(var a=0,i=r.length;a<i;a++)e=t.call(n,e,r[a],a,r);return e}}function Fe(r,t,e){if(!r)return[];if(!t)return I0(r);if(r.filter&&r.filter===xZ)return r.filter(t,e);for(var n=[],a=0,i=r.length;a<i;a++)t.call(e,r[a],a,r)&&n.push(r[a]);return n}function EZ(r,t,e){if(r&&t){for(var n=0,a=r.length;n<a;n++)if(t.call(e,r[n],n,r))return r[n]}}function Me(r){if(!r)return[];if(Object.keys)return Object.keys(r);var t=[];for(var e in r)r.hasOwnProperty(e)&&t.push(e);return t}function TZ(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return function(){return r.apply(t,e.concat(M0.call(arguments)))}}var J=uh&&ae(uh.bind)?uh.call.bind(uh.bind):TZ;function me(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return function(){return r.apply(this,t.concat(M0.call(arguments)))}}function U(r){return Array.isArray?Array.isArray(r):Ms.call(r)==="[object Array]"}function ae(r){return typeof r=="function"}function K(r){return typeof r=="string"}function ch(r){return Ms.call(r)==="[object String]"}function Be(r){return typeof r=="number"}function oe(r){var t=typeof r;return t==="function"||!!r&&t==="object"}function c8(r){return!!o8[Ms.call(r)]}function nr(r){return!!s8[Ms.call(r)]}function Wi(r){return typeof r=="object"&&typeof r.nodeType=="number"&&typeof r.ownerDocument=="object"}function fh(r){return r.colorStops!=null}function DZ(r){return r.image!=null}function f8(r){return Ms.call(r)==="[object RegExp]"}function Ui(r){return r!==r}function mt(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];for(var e=0,n=r.length;e<n;e++)if(r[e]!=null)return r[e]}function ve(r,t){return r??t}function Or(r,t,e){return r??t??e}function I0(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return M0.apply(r,t)}function N0(r){if(typeof r=="number")return[r,r,r,r];var t=r.length;return t===2?[r[0],r[1],r[0],r[1]]:t===3?[r[0],r[1],r[2],r[1]]:r}function se(r,t){if(!r)throw new Error(t)}function pn(r){return r==null?null:typeof r.trim=="function"?r.trim():r.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var h8="__ec_primitive__";function hh(r){r[h8]=!0}function hu(r){return r[h8]}var AZ=function(){function r(){this.data={}}return r.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},r.prototype.has=function(t){return this.data.hasOwnProperty(t)},r.prototype.get=function(t){return this.data[t]},r.prototype.set=function(t,e){return this.data[t]=e,this},r.prototype.keys=function(){return Me(this.data)},r.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},r}(),p8=typeof Map=="function";function MZ(){return p8?new Map:new AZ}var kZ=function(){function r(t){var e=U(t);this.data=MZ();var n=this;t instanceof r?t.each(a):t&&M(t,a);function a(i,o){e?n.set(i,o):n.set(o,i)}}return r.prototype.hasKey=function(t){return this.data.has(t)},r.prototype.get=function(t){return this.data.get(t)},r.prototype.set=function(t,e){return this.data.set(t,e),e},r.prototype.each=function(t,e){this.data.forEach(function(n,a){t.call(e,n,a)})},r.prototype.keys=function(){var t=this.data.keys();return p8?Array.from(t):t},r.prototype.removeKey=function(t){this.data.delete(t)},r}();function ne(r){return new kZ(r)}function pu(r,t){for(var e=new r.constructor(r.length+t.length),n=0;n<r.length;n++)e[n]=r[n];for(var a=r.length,n=0;n<t.length;n++)e[n+a]=t[n];return e}function ph(r,t){var e;if(Object.create)e=Object.create(r);else{var n=function(){};n.prototype=r,e=new n}return t&&G(e,t),e}function d8(r){var t=r.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function ee(r,t){return r.hasOwnProperty(t)}function ft(){}var dh=180/Math.PI;/*! *****************************************************************************
|
|
43
|
-
Copyright (c) Microsoft Corporation.
|
|
44
|
-
|
|
45
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
46
|
-
purpose with or without fee is hereby granted.
|
|
47
|
-
|
|
48
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
49
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
50
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
51
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
52
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
53
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
54
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
55
|
-
***************************************************************************** */var P0=function(r,t){return P0=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])},P0(r,t)};function et(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");P0(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function Yi(r,t){return r==null&&(r=0),t==null&&(t=0),[r,t]}function ar(r,t){return r[0]=t[0],r[1]=t[1],r}function ha(r){return[r[0],r[1]]}function LZ(r,t,e){return r[0]=t,r[1]=e,r}function v8(r,t,e){return r[0]=t[0]+e[0],r[1]=t[1]+e[1],r}function V0(r,t,e,n){return r[0]=t[0]+e[0]*n,r[1]=t[1]+e[1]*n,r}function ji(r,t,e){return r[0]=t[0]-e[0],r[1]=t[1]-e[1],r}function B0(r){return Math.sqrt(IZ(r))}function IZ(r){return r[0]*r[0]+r[1]*r[1]}function vh(r,t,e){return r[0]=t[0]*e,r[1]=t[1]*e,r}function ks(r,t){var e=B0(t);return e===0?(r[0]=0,r[1]=0):(r[0]=t[0]/e,r[1]=t[1]/e),r}function O0(r,t){return Math.sqrt((r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1]))}var Ua=O0;function NZ(r,t){return(r[0]-t[0])*(r[0]-t[0])+(r[1]-t[1])*(r[1]-t[1])}var Xi=NZ;function gh(r,t,e,n){return r[0]=t[0]+n*(e[0]-t[0]),r[1]=t[1]+n*(e[1]-t[1]),r}function Ot(r,t,e){var n=t[0],a=t[1];return r[0]=e[0]*n+e[2]*a+e[4],r[1]=e[1]*n+e[3]*a+e[5],r}function Ya(r,t,e){return r[0]=Math.min(t[0],e[0]),r[1]=Math.min(t[1],e[1]),r}function ja(r,t,e){return r[0]=Math.max(t[0],e[0]),r[1]=Math.max(t[1],e[1]),r}var Ls=function(){function r(t,e){this.target=t,this.topTarget=e&&e.topTarget}return r}(),PZ=function(){function r(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return r.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Ls(e,t),"dragstart",t.event))},r.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,a=t.offsetY,i=n-this._x,o=a-this._y;this._x=n,this._y=a,e.drift(i,o,t),this.handler.dispatchToElement(new Ls(e,t),"drag",t.event);var s=this.handler.findHover(n,a,e).target,l=this._dropTarget;this._dropTarget=s,e!==s&&(l&&s!==l&&this.handler.dispatchToElement(new Ls(l,t),"dragleave",t.event),s&&s!==l&&this.handler.dispatchToElement(new Ls(s,t),"dragenter",t.event))}},r.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new Ls(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Ls(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},r}(),Rr=function(){function r(t){t&&(this._$eventProcessor=t)}return r.prototype.on=function(t,e,n,a){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof e=="function"&&(a=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;e!=null&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),i[t]||(i[t]=[]);for(var s=0;s<i[t].length;s++)if(i[t][s].h===n)return this;var l={h:n,query:e,ctx:a||this,callAtLast:n.zrEventfulCallAtLast},u=i[t].length-1,c=i[t][u];return c&&c.callAtLast?i[t].splice(u,0,l):i[t].push(l),this},r.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},r.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var a=[],i=0,o=n[t].length;i<o;i++)n[t][i].h!==e&&a.push(n[t][i]);n[t]=a}n[t]&&n[t].length===0&&delete n[t]}else delete n[t];return this},r.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var o=e.length,s=a.length,l=0;l<s;l++){var u=a[l];if(!(i&&i.filter&&u.query!=null&&!i.filter(t,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,e[0]);break;case 2:u.h.call(u.ctx,e[0],e[1]);break;default:u.h.apply(u.ctx,e);break}}return i&&i.afterTrigger&&i.afterTrigger(t),this},r.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var o=e.length,s=e[o-1],l=a.length,u=0;u<l;u++){var c=a[u];if(!(i&&i.filter&&c.query!=null&&!i.filter(t,c.query)))switch(o){case 0:c.h.call(s);break;case 1:c.h.call(s,e[0]);break;case 2:c.h.call(s,e[0],e[1]);break;default:c.h.apply(s,e.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(t),this},r}(),VZ=Math.log(2);function R0(r,t,e,n,a,i){var o=n+"-"+a,s=r.length;if(i.hasOwnProperty(o))return i[o];if(t===1){var l=Math.round(Math.log((1<<s)-1&~a)/VZ);return r[e][l]}for(var u=n|1<<e,c=e+1;n&1<<c;)c++;for(var f=0,h=0,p=0;h<s;h++){var v=1<<h;v&a||(f+=(p%2?-1:1)*r[e][h]*R0(r,t-1,c,u,a|v,i),p++)}return i[o]=f,f}function g8(r,t){var e=[[r[0],r[1],1,0,0,0,-t[0]*r[0],-t[0]*r[1]],[0,0,0,r[0],r[1],1,-t[1]*r[0],-t[1]*r[1]],[r[2],r[3],1,0,0,0,-t[2]*r[2],-t[2]*r[3]],[0,0,0,r[2],r[3],1,-t[3]*r[2],-t[3]*r[3]],[r[4],r[5],1,0,0,0,-t[4]*r[4],-t[4]*r[5]],[0,0,0,r[4],r[5],1,-t[5]*r[4],-t[5]*r[5]],[r[6],r[7],1,0,0,0,-t[6]*r[6],-t[6]*r[7]],[0,0,0,r[6],r[7],1,-t[7]*r[6],-t[7]*r[7]]],n={},a=R0(e,8,0,0,0,n);if(a!==0){for(var i=[],o=0;o<8;o++)for(var s=0;s<8;s++)i[s]==null&&(i[s]=0),i[s]+=((o+s)%2?-1:1)*R0(e,7,o===0?1:0,1<<o,1<<s,n)/a*t[o];return function(l,u,c){var f=u*i[6]+c*i[7]+1;l[0]=(u*i[0]+c*i[1]+i[2])/f,l[1]=(u*i[3]+c*i[4]+i[5])/f}}}var m8="___zrEVENTSAVED",z0=[];function BZ(r,t,e,n,a){return H0(z0,t,n,a,!0)&&H0(r,e,z0[0],z0[1])}function H0(r,t,e,n,a){if(t.getBoundingClientRect&&Ee.domSupported&&!_8(t)){var i=t[m8]||(t[m8]={}),o=OZ(t,i),s=RZ(o,i,a);if(s)return s(r,e,n),!0}return!1}function OZ(r,t){var e=t.markers;if(e)return e;e=t.markers=[];for(var n=["left","right"],a=["top","bottom"],i=0;i<4;i++){var o=document.createElement("div"),s=o.style,l=i%2,u=(i>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",a[u]+":0",n[1-l]+":auto",a[1-u]+":auto",""].join("!important;"),r.appendChild(o),e.push(o)}return e}function RZ(r,t,e){for(var n=e?"invTrans":"trans",a=t[n],i=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=r[u].getBoundingClientRect(),f=2*u,h=c.left,p=c.top;o.push(h,p),l=l&&i&&h===i[f]&&p===i[f+1],s.push(r[u].offsetLeft,r[u].offsetTop)}return l&&a?a:(t.srcCoords=o,t[n]=e?g8(s,o):g8(o,s))}function _8(r){return r.nodeName.toUpperCase()==="CANVAS"}var zZ=/([&<>"'])/g,HZ={"&":"&","<":"<",">":">",'"':""","'":"'"};function ir(r){return r==null?"":(r+"").replace(zZ,function(t,e){return HZ[e]})}var FZ=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,F0=[],GZ=Ee.browser.firefox&&+Ee.browser.version.split(".")[0]<39;function G0(r,t,e,n){return e=e||{},n?y8(r,t,e):GZ&&t.layerX!=null&&t.layerX!==t.offsetX?(e.zrX=t.layerX,e.zrY=t.layerY):t.offsetX!=null?(e.zrX=t.offsetX,e.zrY=t.offsetY):y8(r,t,e),e}function y8(r,t,e){if(Ee.domSupported&&r.getBoundingClientRect){var n=t.clientX,a=t.clientY;if(_8(r)){var i=r.getBoundingClientRect();e.zrX=n-i.left,e.zrY=a-i.top;return}else if(H0(F0,r,n,a)){e.zrX=F0[0],e.zrY=F0[1];return}}e.zrX=e.zrY=0}function $0(r){return r||window.event}function zr(r,t,e){if(t=$0(t),t.zrX!=null)return t;var n=t.type,a=n&&n.indexOf("touch")>=0;if(a){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&G0(r,o,t,e)}else{G0(r,t,t,e);var i=$Z(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&FZ.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function $Z(r){var t=r.wheelDelta;if(t)return t;var e=r.deltaX,n=r.deltaY;if(e==null||n==null)return t;var a=Math.abs(n!==0?n:e),i=n>0?-1:n<0?1:e>0?-1:1;return 3*a*i}function W0(r,t,e,n){r.addEventListener(t,e,n)}function WZ(r,t,e,n){r.removeEventListener(t,e,n)}var pa=function(r){r.preventDefault(),r.stopPropagation(),r.cancelBubble=!0};function w8(r){return r.which===2||r.which===3}var UZ=function(){function r(){this._track=[]}return r.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},r.prototype.clear=function(){return this._track.length=0,this},r.prototype._doTrack=function(t,e,n){var a=t.touches;if(a){for(var i={points:[],touches:[],target:e,event:t},o=0,s=a.length;o<s;o++){var l=a[o],u=G0(n,l,{});i.points.push([u.zrX,u.zrY]),i.touches.push(l)}this._track.push(i)}},r.prototype._recognize=function(t){for(var e in U0)if(U0.hasOwnProperty(e)){var n=U0[e](this._track,t);if(n)return n}},r}();function x8(r){var t=r[1][0]-r[0][0],e=r[1][1]-r[0][1];return Math.sqrt(t*t+e*e)}function YZ(r){return[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]}var U0={pinch:function(r,t){var e=r.length;if(e){var n=(r[e-1]||{}).points,a=(r[e-2]||{}).points||n;if(a&&a.length>1&&n&&n.length>1){var i=x8(n)/x8(a);!isFinite(i)&&(i=1),t.pinchScale=i;var o=YZ(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:r[0].target,event:t}}}}};function Dr(){return[1,0,0,1,0,0]}function mh(r){return r[0]=1,r[1]=0,r[2]=0,r[3]=1,r[4]=0,r[5]=0,r}function Y0(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4],r[5]=t[5],r}function da(r,t,e){var n=t[0]*e[0]+t[2]*e[1],a=t[1]*e[0]+t[3]*e[1],i=t[0]*e[2]+t[2]*e[3],o=t[1]*e[2]+t[3]*e[3],s=t[0]*e[4]+t[2]*e[5]+t[4],l=t[1]*e[4]+t[3]*e[5]+t[5];return r[0]=n,r[1]=a,r[2]=i,r[3]=o,r[4]=s,r[5]=l,r}function Vn(r,t,e){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r[4]=t[4]+e[0],r[5]=t[5]+e[1],r}function qi(r,t,e,n){n===void 0&&(n=[0,0]);var a=t[0],i=t[2],o=t[4],s=t[1],l=t[3],u=t[5],c=Math.sin(e),f=Math.cos(e);return r[0]=a*f+s*c,r[1]=-a*c+s*f,r[2]=i*f+l*c,r[3]=-i*c+f*l,r[4]=f*(o-n[0])+c*(u-n[1])+n[0],r[5]=f*(u-n[1])-c*(o-n[0])+n[1],r}function j0(r,t,e){var n=e[0],a=e[1];return r[0]=t[0]*n,r[1]=t[1]*a,r[2]=t[2]*n,r[3]=t[3]*a,r[4]=t[4]*n,r[5]=t[5]*a,r}function Is(r,t){var e=t[0],n=t[2],a=t[4],i=t[1],o=t[3],s=t[5],l=e*o-i*n;return l?(l=1/l,r[0]=o*l,r[1]=-i*l,r[2]=-n*l,r[3]=e*l,r[4]=(n*s-o*a)*l,r[5]=(i*a-e*s)*l,r):null}function jZ(r){var t=Dr();return Y0(t,r),t}var ye=function(){function r(t,e){this.x=t||0,this.y=e||0}return r.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},r.prototype.clone=function(){return new r(this.x,this.y)},r.prototype.set=function(t,e){return this.x=t,this.y=e,this},r.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},r.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},r.prototype.scale=function(t){this.x*=t,this.y*=t},r.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},r.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},r.prototype.dot=function(t){return this.x*t.x+this.y*t.y},r.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},r.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},r.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},r.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},r.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},r.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},r.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},r.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},r.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},r.set=function(t,e,n){t.x=e,t.y=n},r.copy=function(t,e){t.x=e.x,t.y=e.y},r.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},r.lenSquare=function(t){return t.x*t.x+t.y*t.y},r.dot=function(t,e){return t.x*e.x+t.y*e.y},r.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},r.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},r.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},r.scaleAndAdd=function(t,e,n,a){t.x=e.x+n.x*a,t.y=e.y+n.y*a},r.lerp=function(t,e,n,a){var i=1-a;t.x=i*e.x+a*n.x,t.y=i*e.y+a*n.y},r}(),_h=Math.min,yh=Math.max,Zi=new ye,Ki=new ye,Ji=new ye,Qi=new ye,du=new ye,vu=new ye,we=function(){function r(t,e,n,a){n<0&&(t=t+n,n=-n),a<0&&(e=e+a,a=-a),this.x=t,this.y=e,this.width=n,this.height=a}return r.prototype.union=function(t){var e=_h(t.x,this.x),n=_h(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=yh(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=yh(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},r.prototype.applyTransform=function(t){r.applyTransform(this,this,t)},r.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,a=t.height/e.height,i=Dr();return Vn(i,i,[-e.x,-e.y]),j0(i,i,[n,a]),Vn(i,i,[t.x,t.y]),i},r.prototype.intersect=function(t,e){if(!t)return!1;t instanceof r||(t=r.create(t));var n=this,a=n.x,i=n.x+n.width,o=n.y,s=n.y+n.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,h=!(i<l||u<a||s<c||f<o);if(e){var p=1/0,v=0,m=Math.abs(i-l),g=Math.abs(u-a),_=Math.abs(s-c),y=Math.abs(f-o),w=Math.min(m,g),x=Math.min(_,y);i<l||u<a?w>v&&(v=w,m<g?ye.set(vu,-m,0):ye.set(vu,g,0)):w<p&&(p=w,m<g?ye.set(du,m,0):ye.set(du,-g,0)),s<c||f<o?x>v&&(v=x,_<y?ye.set(vu,0,-_):ye.set(vu,0,y)):w<p&&(p=w,_<y?ye.set(du,0,_):ye.set(du,0,-y))}return e&&ye.copy(e,h?du:vu),h},r.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},r.prototype.clone=function(){return new r(this.x,this.y,this.width,this.height)},r.prototype.copy=function(t){r.copy(this,t)},r.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},r.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},r.prototype.isZero=function(){return this.width===0||this.height===0},r.create=function(t){return new r(t.x,t.y,t.width,t.height)},r.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},r.applyTransform=function(t,e,n){if(!n){t!==e&&r.copy(t,e);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var a=n[0],i=n[3],o=n[4],s=n[5];t.x=e.x*a+o,t.y=e.y*i+s,t.width=e.width*a,t.height=e.height*i,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=Ji.x=e.x,Zi.y=Qi.y=e.y,Ki.x=Qi.x=e.x+e.width,Ki.y=Ji.y=e.y+e.height,Zi.transform(n),Qi.transform(n),Ki.transform(n),Ji.transform(n),t.x=_h(Zi.x,Ki.x,Ji.x,Qi.x),t.y=_h(Zi.y,Ki.y,Ji.y,Qi.y);var l=yh(Zi.x,Ki.x,Ji.x,Qi.x),u=yh(Zi.y,Ki.y,Ji.y,Qi.y);t.width=l-t.x,t.height=u-t.y},r}(),b8="silent";function XZ(r,t,e){return{type:r,event:e,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:e.zrX,offsetY:e.zrY,gestureEvent:e.gestureEvent,pinchX:e.pinchX,pinchY:e.pinchY,pinchScale:e.pinchScale,wheelDelta:e.zrDelta,zrByTouch:e.zrByTouch,which:e.which,stop:qZ}}function qZ(){pa(this.event)}var ZZ=function(r){et(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.handler=null,e}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Rr),gu=function(){function r(t,e){this.x=t,this.y=e}return r}(),KZ=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],X0=new we(0,0,0,0),S8=function(r){et(t,r);function t(e,n,a,i,o){var s=r.call(this)||this;return s._hovered=new gu(0,0),s.storage=e,s.painter=n,s.painterRoot=i,s._pointerSize=o,a=a||new ZZ,s.proxy=null,s.setHandlerProxy(a),s._draggingMgr=new PZ(s),s}return t.prototype.setHandlerProxy=function(e){this.proxy&&this.proxy.dispose(),e&&(M(KZ,function(n){e.on&&e.on(n,this[n],this)},this),e.handler=this),this.proxy=e},t.prototype.mousemove=function(e){var n=e.zrX,a=e.zrY,i=E8(this,n,a),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=i?new gu(n,a):this.findHover(n,a),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",e),this.dispatchToElement(l,"mousemove",e),u&&u!==s&&this.dispatchToElement(l,"mouseover",e)},t.prototype.mouseout=function(e){var n=e.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",e),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:e})},t.prototype.resize=function(){this._hovered=new gu(0,0)},t.prototype.dispatch=function(e,n){var a=this[e];a&&a.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(e){var n=this.proxy;n.setCursor&&n.setCursor(e)},t.prototype.dispatchToElement=function(e,n,a){e=e||{};var i=e.target;if(!(i&&i.silent)){for(var o="on"+n,s=XZ(n,e,a);i&&(i[o]&&(s.cancelBubble=!!i[o].call(i,s)),i.trigger(n,s),i=i.__hostTarget?i.__hostTarget:i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(n,s)}))}},t.prototype.findHover=function(e,n,a){var i=this.storage.getDisplayList(),o=new gu(e,n);if(C8(i,o,e,n,a),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new we(e-u,n-u,l,l),f=i.length-1;f>=0;f--){var h=i[f];h!==a&&!h.ignore&&!h.ignoreCoarsePointer&&(!h.parent||!h.parent.ignoreCoarsePointer)&&(X0.copy(h.getBoundingRect()),h.transform&&X0.applyTransform(h.transform),X0.intersect(c)&&s.push(h))}if(s.length)for(var p=4,v=Math.PI/12,m=Math.PI*2,g=0;g<u;g+=p)for(var _=0;_<m;_+=v){var y=e+g*Math.cos(_),w=n+g*Math.sin(_);if(C8(s,o,y,w,a),o.target)return o}}return o},t.prototype.processGesture=function(e,n){this._gestureMgr||(this._gestureMgr=new UZ);var a=this._gestureMgr;n==="start"&&a.clear();var i=a.recognize(e,this.findHover(e.zrX,e.zrY,null).target,this.proxy.dom);if(n==="end"&&a.clear(),i){var o=i.type;e.gestureEvent=o;var s=new gu;s.target=i.target,this.dispatchToElement(s,o,i.event)}},t}(Rr);M(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(r){S8.prototype[r]=function(t){var e=t.zrX,n=t.zrY,a=E8(this,e,n),i,o;if((r!=="mouseup"||!a)&&(i=this.findHover(e,n),o=i.target),r==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(r==="mouseup")this._upEl=o;else if(r==="click"){if(this._downEl!==this._upEl||!this._downPoint||Ua(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,r,t)}});function JZ(r,t,e){if(r[r.rectHover?"rectContain":"contain"](t,e)){for(var n=r,a=void 0,i=!1;n;){if(n.ignoreClip&&(i=!0),!i){var o=n.getClipPath();if(o&&!o.contain(t,e))return!1}n.silent&&(a=!0);var s=n.__hostTarget;n=s||n.parent}return a?b8:!0}return!1}function C8(r,t,e,n,a){for(var i=r.length-1;i>=0;i--){var o=r[i],s=void 0;if(o!==a&&!o.ignore&&(s=JZ(o,e,n))&&(!t.topTarget&&(t.topTarget=o),s!==b8)){t.target=o;break}}}function E8(r,t,e){var n=r.painter;return t<0||t>n.getWidth()||e<0||e>n.getHeight()}var T8=32,mu=7;function QZ(r){for(var t=0;r>=T8;)t|=r&1,r>>=1;return r+t}function D8(r,t,e,n){var a=t+1;if(a===e)return 1;if(n(r[a++],r[t])<0){for(;a<e&&n(r[a],r[a-1])<0;)a++;eK(r,t,a)}else for(;a<e&&n(r[a],r[a-1])>=0;)a++;return a-t}function eK(r,t,e){for(e--;t<e;){var n=r[t];r[t++]=r[e],r[e--]=n}}function A8(r,t,e,n,a){for(n===t&&n++;n<e;n++){for(var i=r[n],o=t,s=n,l;o<s;)l=o+s>>>1,a(i,r[l])<0?s=l:o=l+1;var u=n-o;switch(u){case 3:r[o+3]=r[o+2];case 2:r[o+2]=r[o+1];case 1:r[o+1]=r[o];break;default:for(;u>0;)r[o+u]=r[o+u-1],u--}r[o]=i}}function q0(r,t,e,n,a,i){var o=0,s=0,l=1;if(i(r,t[e+a])>0){for(s=n-a;l<s&&i(r,t[e+a+l])>0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;l<s&&i(r,t[e+a-l])<=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=a-l,l=a-u}for(o++;o<l;){var c=o+(l-o>>>1);i(r,t[e+c])>0?o=c+1:l=c}return l}function Z0(r,t,e,n,a,i){var o=0,s=0,l=1;if(i(r,t[e+a])<0){for(s=a+1;l<s&&i(r,t[e+a-l])<0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=n-a;l<s&&i(r,t[e+a+l])>=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;o<l;){var c=o+(l-o>>>1);i(r,t[e+c])<0?l=c:o=c+1}return l}function tK(r,t){var e=mu,n,a,i=0,o=[];n=[],a=[];function s(p,v){n[i]=p,a[i]=v,i+=1}function l(){for(;i>1;){var p=i-2;if(p>=1&&a[p-1]<=a[p]+a[p+1]||p>=2&&a[p-2]<=a[p]+a[p-1])a[p-1]<a[p+1]&&p--;else if(a[p]>a[p+1])break;c(p)}}function u(){for(;i>1;){var p=i-2;p>0&&a[p-1]<a[p+1]&&p--,c(p)}}function c(p){var v=n[p],m=a[p],g=n[p+1],_=a[p+1];a[p]=m+_,p===i-3&&(n[p+1]=n[p+2],a[p+1]=a[p+2]),i--;var y=Z0(r[g],r,v,m,0,t);v+=y,m-=y,m!==0&&(_=q0(r[v+m-1],r,g,_,_-1,t),_!==0&&(m<=_?f(v,m,g,_):h(v,m,g,_)))}function f(p,v,m,g){var _=0;for(_=0;_<v;_++)o[_]=r[p+_];var y=0,w=m,x=p;if(r[x++]=r[w++],--g===0){for(_=0;_<v;_++)r[x+_]=o[y+_];return}if(v===1){for(_=0;_<g;_++)r[x+_]=r[w+_];r[x+g]=o[y];return}for(var b=e,S,C,D;;){S=0,C=0,D=!1;do if(t(r[w],o[y])<0){if(r[x++]=r[w++],C++,S=0,--g===0){D=!0;break}}else if(r[x++]=o[y++],S++,C=0,--v===1){D=!0;break}while((S|C)<b);if(D)break;do{if(S=Z0(r[w],o,y,v,0,t),S!==0){for(_=0;_<S;_++)r[x+_]=o[y+_];if(x+=S,y+=S,v-=S,v<=1){D=!0;break}}if(r[x++]=r[w++],--g===0){D=!0;break}if(C=q0(o[y],r,w,g,0,t),C!==0){for(_=0;_<C;_++)r[x+_]=r[w+_];if(x+=C,w+=C,g-=C,g===0){D=!0;break}}if(r[x++]=o[y++],--v===1){D=!0;break}b--}while(S>=mu||C>=mu);if(D)break;b<0&&(b=0),b+=2}if(e=b,e<1&&(e=1),v===1){for(_=0;_<g;_++)r[x+_]=r[w+_];r[x+g]=o[y]}else{if(v===0)throw new Error;for(_=0;_<v;_++)r[x+_]=o[y+_]}}function h(p,v,m,g){var _=0;for(_=0;_<g;_++)o[_]=r[m+_];var y=p+v-1,w=g-1,x=m+g-1,b=0,S=0;if(r[x--]=r[y--],--v===0){for(b=x-(g-1),_=0;_<g;_++)r[b+_]=o[_];return}if(g===1){for(x-=v,y-=v,S=x+1,b=y+1,_=v-1;_>=0;_--)r[S+_]=r[b+_];r[x]=o[w];return}for(var C=e;;){var D=0,T=0,E=!1;do if(t(o[w],r[y])<0){if(r[x--]=r[y--],D++,T=0,--v===0){E=!0;break}}else if(r[x--]=o[w--],T++,D=0,--g===1){E=!0;break}while((D|T)<C);if(E)break;do{if(D=v-Z0(o[w],r,p,v,v-1,t),D!==0){for(x-=D,y-=D,v-=D,S=x+1,b=y+1,_=D-1;_>=0;_--)r[S+_]=r[b+_];if(v===0){E=!0;break}}if(r[x--]=o[w--],--g===1){E=!0;break}if(T=g-q0(r[y],o,0,g,g-1,t),T!==0){for(x-=T,w-=T,g-=T,S=x+1,b=w+1,_=0;_<T;_++)r[S+_]=o[b+_];if(g<=1){E=!0;break}}if(r[x--]=r[y--],--v===0){E=!0;break}C--}while(D>=mu||T>=mu);if(E)break;C<0&&(C=0),C+=2}if(e=C,e<1&&(e=1),g===1){for(x-=v,y-=v,S=x+1,b=y+1,_=v-1;_>=0;_--)r[S+_]=r[b+_];r[x]=o[w]}else{if(g===0)throw new Error;for(b=x-(g-1),_=0;_<g;_++)r[b+_]=o[_]}}return{mergeRuns:l,forceMergeRuns:u,pushRun:s}}function wh(r,t,e,n){e||(e=0),n||(n=r.length);var a=n-e;if(!(a<2)){var i=0;if(a<T8){i=D8(r,e,n,t),A8(r,e,n,e+i,t);return}var o=tK(r,t),s=QZ(a);do{if(i=D8(r,e,n,t),i<s){var l=a;l>s&&(l=s),A8(r,e,e+l,e+i,t),i=l}o.pushRun(e,i),o.mergeRuns(),a-=i,e+=i}while(a!==0);o.forceMergeRuns()}}var Bn=1,xh=2,_u=4,M8=!1;function K0(){M8||(M8=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function k8(r,t){return r.zlevel===t.zlevel?r.z===t.z?r.z2-t.z2:r.z-t.z:r.zlevel-t.zlevel}var rK=function(){function r(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=k8}return r.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},r.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},r.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,a=0,i=e.length;a<i;a++)this._updateAndAddDisplayable(e[a],null,t);n.length=this._displayListLen,wh(n,k8)},r.prototype._updateAndAddDisplayable=function(t,e,n){if(!(t.ignore&&!n)){t.beforeUpdate(),t.update(),t.afterUpdate();var a=t.getClipPath();if(t.ignoreClip)e=null;else if(a){e?e=e.slice():e=[];for(var i=a,o=t;i;)i.parent=o,i.updateTransform(),e.push(i),o=i,i=i.getClipPath()}if(t.childrenRef){for(var s=t.childrenRef(),l=0;l<s.length;l++){var u=s[l];t.__dirty&&(u.__dirty|=Bn),this._updateAndAddDisplayable(u,e,n)}t.__dirty=0}else{var c=t;e&&e.length?c.__clipPaths=e:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(K0(),c.z=0),isNaN(c.z2)&&(K0(),c.z2=0),isNaN(c.zlevel)&&(K0(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},r.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},r.prototype.delRoot=function(t){if(t instanceof Array){for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);return}var a=xe(this._roots,t);a>=0&&this._roots.splice(a,1)},r.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},r.prototype.getRoots=function(){return this._roots},r.prototype.dispose=function(){this._displayList=null,this._roots=null},r}(),bh;bh=Ee.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(r){return setTimeout(r,16)};var yu={linear:function(r){return r},quadraticIn:function(r){return r*r},quadraticOut:function(r){return r*(2-r)},quadraticInOut:function(r){return(r*=2)<1?.5*r*r:-.5*(--r*(r-2)-1)},cubicIn:function(r){return r*r*r},cubicOut:function(r){return--r*r*r+1},cubicInOut:function(r){return(r*=2)<1?.5*r*r*r:.5*((r-=2)*r*r+2)},quarticIn:function(r){return r*r*r*r},quarticOut:function(r){return 1- --r*r*r*r},quarticInOut:function(r){return(r*=2)<1?.5*r*r*r*r:-.5*((r-=2)*r*r*r-2)},quinticIn:function(r){return r*r*r*r*r},quinticOut:function(r){return--r*r*r*r*r+1},quinticInOut:function(r){return(r*=2)<1?.5*r*r*r*r*r:.5*((r-=2)*r*r*r*r+2)},sinusoidalIn:function(r){return 1-Math.cos(r*Math.PI/2)},sinusoidalOut:function(r){return Math.sin(r*Math.PI/2)},sinusoidalInOut:function(r){return .5*(1-Math.cos(Math.PI*r))},exponentialIn:function(r){return r===0?0:Math.pow(1024,r-1)},exponentialOut:function(r){return r===1?1:1-Math.pow(2,-10*r)},exponentialInOut:function(r){return r===0?0:r===1?1:(r*=2)<1?.5*Math.pow(1024,r-1):.5*(-Math.pow(2,-10*(r-1))+2)},circularIn:function(r){return 1-Math.sqrt(1-r*r)},circularOut:function(r){return Math.sqrt(1- --r*r)},circularInOut:function(r){return(r*=2)<1?-.5*(Math.sqrt(1-r*r)-1):.5*(Math.sqrt(1-(r-=2)*r)+1)},elasticIn:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),-(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)))},elasticOut:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),e*Math.pow(2,-10*r)*Math.sin((r-t)*(2*Math.PI)/n)+1)},elasticInOut:function(r){var t,e=.1,n=.4;return r===0?0:r===1?1:(!e||e<1?(e=1,t=n/4):t=n*Math.asin(1/e)/(2*Math.PI),(r*=2)<1?-.5*(e*Math.pow(2,10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)):e*Math.pow(2,-10*(r-=1))*Math.sin((r-t)*(2*Math.PI)/n)*.5+1)},backIn:function(r){var t=1.70158;return r*r*((t+1)*r-t)},backOut:function(r){var t=1.70158;return--r*r*((t+1)*r+t)+1},backInOut:function(r){var t=2.5949095;return(r*=2)<1?.5*(r*r*((t+1)*r-t)):.5*((r-=2)*r*((t+1)*r+t)+2)},bounceIn:function(r){return 1-yu.bounceOut(1-r)},bounceOut:function(r){return r<1/2.75?7.5625*r*r:r<2/2.75?7.5625*(r-=1.5/2.75)*r+.75:r<2.5/2.75?7.5625*(r-=2.25/2.75)*r+.9375:7.5625*(r-=2.625/2.75)*r+.984375},bounceInOut:function(r){return r<.5?yu.bounceIn(r*2)*.5:yu.bounceOut(r*2-1)*.5+.5}},Sh=Math.pow,Xa=Math.sqrt,L8=1e-8,I8=1e-4,N8=Xa(3),Ch=1/3,On=Yi(),Hr=Yi(),Ns=Yi();function qa(r){return r>-1e-8&&r<L8}function P8(r){return r>L8||r<-1e-8}function Tt(r,t,e,n,a){var i=1-a;return i*i*(i*r+3*a*t)+a*a*(a*n+3*i*e)}function V8(r,t,e,n,a){var i=1-a;return 3*(((t-r)*i+2*(e-t)*a)*i+(n-e)*a*a)}function Eh(r,t,e,n,a,i){var o=n+3*(t-e)-r,s=3*(e-t*2+r),l=3*(t-r),u=r-a,c=s*s-3*o*l,f=s*l-9*o*u,h=l*l-3*s*u,p=0;if(qa(c)&&qa(f))if(qa(s))i[0]=0;else{var v=-l/s;v>=0&&v<=1&&(i[p++]=v)}else{var m=f*f-4*c*h;if(qa(m)){var g=f/c,v=-s/o+g,_=-g/2;v>=0&&v<=1&&(i[p++]=v),_>=0&&_<=1&&(i[p++]=_)}else if(m>0){var y=Xa(m),w=c*s+1.5*o*(-f+y),x=c*s+1.5*o*(-f-y);w<0?w=-Sh(-w,Ch):w=Sh(w,Ch),x<0?x=-Sh(-x,Ch):x=Sh(x,Ch);var v=(-s-(w+x))/(3*o);v>=0&&v<=1&&(i[p++]=v)}else{var b=(2*c*s-3*o*f)/(2*Xa(c*c*c)),S=Math.acos(b)/3,C=Xa(c),D=Math.cos(S),v=(-s-2*C*D)/(3*o),_=(-s+C*(D+N8*Math.sin(S)))/(3*o),T=(-s+C*(D-N8*Math.sin(S)))/(3*o);v>=0&&v<=1&&(i[p++]=v),_>=0&&_<=1&&(i[p++]=_),T>=0&&T<=1&&(i[p++]=T)}}return p}function B8(r,t,e,n,a){var i=6*e-12*t+6*r,o=9*t+3*n-3*r-9*e,s=3*t-3*r,l=0;if(qa(o)){if(P8(i)){var u=-s/i;u>=0&&u<=1&&(a[l++]=u)}}else{var c=i*i-4*o*s;if(qa(c))a[0]=-i/(2*o);else if(c>0){var f=Xa(c),u=(-i+f)/(2*o),h=(-i-f)/(2*o);u>=0&&u<=1&&(a[l++]=u),h>=0&&h<=1&&(a[l++]=h)}}return l}function Za(r,t,e,n,a,i){var o=(t-r)*a+r,s=(e-t)*a+t,l=(n-e)*a+e,u=(s-o)*a+o,c=(l-s)*a+s,f=(c-u)*a+u;i[0]=r,i[1]=o,i[2]=u,i[3]=f,i[4]=f,i[5]=c,i[6]=l,i[7]=n}function O8(r,t,e,n,a,i,o,s,l,u,c){var f,h=.005,p=1/0,v,m,g,_;On[0]=l,On[1]=u;for(var y=0;y<1;y+=.05)Hr[0]=Tt(r,e,a,o,y),Hr[1]=Tt(t,n,i,s,y),g=Xi(On,Hr),g<p&&(f=y,p=g);p=1/0;for(var w=0;w<32&&!(h<I8);w++)v=f-h,m=f+h,Hr[0]=Tt(r,e,a,o,v),Hr[1]=Tt(t,n,i,s,v),g=Xi(Hr,On),v>=0&&g<p?(f=v,p=g):(Ns[0]=Tt(r,e,a,o,m),Ns[1]=Tt(t,n,i,s,m),_=Xi(Ns,On),m<=1&&_<p?(f=m,p=_):h*=.5);return c&&(c[0]=Tt(r,e,a,o,f),c[1]=Tt(t,n,i,s,f)),Xa(p)}function nK(r,t,e,n,a,i,o,s,l){for(var u=r,c=t,f=0,h=1/l,p=1;p<=l;p++){var v=p*h,m=Tt(r,e,a,o,v),g=Tt(t,n,i,s,v),_=m-u,y=g-c;f+=Math.sqrt(_*_+y*y),u=m,c=g}return f}function Pt(r,t,e,n){var a=1-n;return a*(a*r+2*n*t)+n*n*e}function J0(r,t,e,n){return 2*((1-n)*(t-r)+n*(e-t))}function aK(r,t,e,n,a){var i=r-2*t+e,o=2*(t-r),s=r-n,l=0;if(qa(i)){if(P8(o)){var u=-s/o;u>=0&&u<=1&&(a[l++]=u)}}else{var c=o*o-4*i*s;if(qa(c)){var u=-o/(2*i);u>=0&&u<=1&&(a[l++]=u)}else if(c>0){var f=Xa(c),u=(-o+f)/(2*i),h=(-o-f)/(2*i);u>=0&&u<=1&&(a[l++]=u),h>=0&&h<=1&&(a[l++]=h)}}return l}function R8(r,t,e){var n=r+e-2*t;return n===0?.5:(r-t)/n}function wu(r,t,e,n,a){var i=(t-r)*n+r,o=(e-t)*n+t,s=(o-i)*n+i;a[0]=r,a[1]=i,a[2]=s,a[3]=s,a[4]=o,a[5]=e}function z8(r,t,e,n,a,i,o,s,l){var u,c=.005,f=1/0;On[0]=o,On[1]=s;for(var h=0;h<1;h+=.05){Hr[0]=Pt(r,e,a,h),Hr[1]=Pt(t,n,i,h);var p=Xi(On,Hr);p<f&&(u=h,f=p)}f=1/0;for(var v=0;v<32&&!(c<I8);v++){var m=u-c,g=u+c;Hr[0]=Pt(r,e,a,m),Hr[1]=Pt(t,n,i,m);var p=Xi(Hr,On);if(m>=0&&p<f)u=m,f=p;else{Ns[0]=Pt(r,e,a,g),Ns[1]=Pt(t,n,i,g);var _=Xi(Ns,On);g<=1&&_<f?(u=g,f=_):c*=.5}}return l&&(l[0]=Pt(r,e,a,u),l[1]=Pt(t,n,i,u)),Xa(f)}function iK(r,t,e,n,a,i,o){for(var s=r,l=t,u=0,c=1/o,f=1;f<=o;f++){var h=f*c,p=Pt(r,e,a,h),v=Pt(t,n,i,h),m=p-s,g=v-l;u+=Math.sqrt(m*m+g*g),s=p,l=v}return u}var oK=/cubic-bezier\(([0-9,\.e ]+)\)/;function Q0(r){var t=r&&oK.exec(r);if(t){var e=t[1].split(","),n=+pn(e[0]),a=+pn(e[1]),i=+pn(e[2]),o=+pn(e[3]);if(isNaN(n+a+i+o))return;var s=[];return function(l){return l<=0?0:l>=1?1:Eh(0,n,i,1,l,s)&&Tt(0,a,o,1,s[0])}}}var sK=function(){function r(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||ft,this.ondestroy=t.ondestroy||ft,this.onrestart=t.onrestart||ft,t.easing&&this.setEasing(t.easing)}return r.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=e;return}var n=this._life,a=t-this._startTime-this._pausedTime,i=a/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,s=o?o(i):i;if(this.onframe(s),i===1)if(this.loop){var l=a%n;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},r.prototype.pause=function(){this._paused=!0},r.prototype.resume=function(){this._paused=!1},r.prototype.setEasing=function(t){this.easing=t,this.easingFunc=ae(t)?t:yu[t]||Q0(t)},r}(),H8=function(){function r(t){this.value=t}return r}(),lK=function(){function r(){this._len=0}return r.prototype.insert=function(t){var e=new H8(t);return this.insertEntry(e),e},r.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++},r.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},r.prototype.len=function(){return this._len},r.prototype.clear=function(){this.head=this.tail=null,this._len=0},r}(),xu=function(){function r(t){this._list=new lK,this._maxSize=10,this._map={},this._maxSize=t}return r.prototype.put=function(t,e){var n=this._list,a=this._map,i=null;if(a[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete a[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new H8(e),s.key=t,n.insertEntry(s),a[t]=s}return i},r.prototype.get=function(t){var e=this._map[t],n=this._list;if(e!=null)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},r.prototype.clear=function(){this._list.clear(),this._map={}},r.prototype.len=function(){return this._list.len()},r}(),F8={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 dn(r){return r=Math.round(r),r<0?0:r>255?255:r}function uK(r){return r=Math.round(r),r<0?0:r>360?360:r}function bu(r){return r<0?0:r>1?1:r}function eg(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?dn(parseFloat(t)/100*255):dn(parseInt(t,10))}function eo(r){var t=r;return t.length&&t.charAt(t.length-1)==="%"?bu(parseFloat(t)/100):bu(parseFloat(t))}function tg(r,t,e){return e<0?e+=1:e>1&&(e-=1),e*6<1?r+(t-r)*e*6:e*2<1?t:e*3<2?r+(t-r)*(2/3-e)*6:r}function Ka(r,t,e){return r+(t-r)*e}function Fr(r,t,e,n,a){return r[0]=t,r[1]=e,r[2]=n,r[3]=a,r}function rg(r,t){return r[0]=t[0],r[1]=t[1],r[2]=t[2],r[3]=t[3],r}var G8=new xu(20),Th=null;function Ps(r,t){Th&&rg(Th,t),Th=G8.put(r,Th||t.slice())}function Ar(r,t){if(r){t=t||[];var e=G8.get(r);if(e)return rg(t,e);r=r+"";var n=r.replace(/ /g,"").toLowerCase();if(n in F8)return rg(t,F8[n]),Ps(r,t),t;var a=n.length;if(n.charAt(0)==="#"){if(a===4||a===5){var i=parseInt(n.slice(1,4),16);if(!(i>=0&&i<=4095)){Fr(t,0,0,0,1);return}return Fr(t,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,a===5?parseInt(n.slice(4),16)/15:1),Ps(r,t),t}else if(a===7||a===9){var i=parseInt(n.slice(1,7),16);if(!(i>=0&&i<=16777215)){Fr(t,0,0,0,1);return}return Fr(t,(i&16711680)>>16,(i&65280)>>8,i&255,a===9?parseInt(n.slice(7),16)/255:1),Ps(r,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===a){var l=n.substr(0,o),u=n.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?Fr(t,+u[0],+u[1],+u[2],1):Fr(t,0,0,0,1);c=eo(u.pop());case"rgb":if(u.length>=3)return Fr(t,eg(u[0]),eg(u[1]),eg(u[2]),u.length===3?c:eo(u[3])),Ps(r,t),t;Fr(t,0,0,0,1);return;case"hsla":if(u.length!==4){Fr(t,0,0,0,1);return}return u[3]=eo(u[3]),ng(u,t),Ps(r,t),t;case"hsl":if(u.length!==3){Fr(t,0,0,0,1);return}return ng(u,t),Ps(r,t),t;default:return}}Fr(t,0,0,0,1)}}function ng(r,t){var e=(parseFloat(r[0])%360+360)%360/360,n=eo(r[1]),a=eo(r[2]),i=a<=.5?a*(n+1):a+n-a*n,o=a*2-i;return t=t||[],Fr(t,dn(tg(o,i,e+1/3)*255),dn(tg(o,i,e)*255),dn(tg(o,i,e-1/3)*255),1),r.length===4&&(t[3]=r[3]),t}function cK(r){if(r){var t=r[0]/255,e=r[1]/255,n=r[2]/255,a=Math.min(t,e,n),i=Math.max(t,e,n),o=i-a,s=(i+a)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(i+a):u=o/(2-i-a);var c=((i-t)/6+o/2)/o,f=((i-e)/6+o/2)/o,h=((i-n)/6+o/2)/o;t===i?l=h-f:e===i?l=1/3+c-h:n===i&&(l=2/3+f-c),l<0&&(l+=1),l>1&&(l-=1)}var p=[l*360,u,s];return r[3]!=null&&p.push(r[3]),p}}function ag(r,t){var e=Ar(r);if(e){for(var n=0;n<3;n++)t<0?e[n]=e[n]*(1-t)|0:e[n]=(255-e[n])*t+e[n]|0,e[n]>255?e[n]=255:e[n]<0&&(e[n]=0);return va(e,e.length===4?"rgba":"rgb")}}function ig(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){e=e||[];var n=r*(t.length-1),a=Math.floor(n),i=Math.ceil(n),o=t[a],s=t[i],l=n-a;return e[0]=dn(Ka(o[0],s[0],l)),e[1]=dn(Ka(o[1],s[1],l)),e[2]=dn(Ka(o[2],s[2],l)),e[3]=bu(Ka(o[3],s[3],l)),e}}function fK(r,t,e){if(!(!(t&&t.length)||!(r>=0&&r<=1))){var n=r*(t.length-1),a=Math.floor(n),i=Math.ceil(n),o=Ar(t[a]),s=Ar(t[i]),l=n-a,u=va([dn(Ka(o[0],s[0],l)),dn(Ka(o[1],s[1],l)),dn(Ka(o[2],s[2],l)),bu(Ka(o[3],s[3],l))],"rgba");return e?{color:u,leftIndex:a,rightIndex:i,value:n}:u}}function Su(r,t,e,n){var a=Ar(r);if(r)return a=cK(a),t!=null&&(a[0]=uK(t)),e!=null&&(a[1]=eo(e)),n!=null&&(a[2]=eo(n)),va(ng(a),"rgba")}function Dh(r,t){var e=Ar(r);if(e&&t!=null)return e[3]=bu(t),va(e,"rgba")}function va(r,t){if(!(!r||!r.length)){var e=r[0]+","+r[1]+","+r[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(e+=","+r[3]),t+"("+e+")"}}function Ah(r,t){var e=Ar(r);return e?(.299*e[0]+.587*e[1]+.114*e[2])*e[3]/255+(1-e[3])*t:0}var $8=new xu(100);function og(r){if(K(r)){var t=$8.get(r);return t||(t=ag(r,-.1),$8.put(r,t)),t}else if(fh(r)){var e=G({},r);return e.colorStops=Y(r.colorStops,function(n){return{offset:n.offset,color:ag(n.color,-.1)}}),e}return r}var Mh=Math.round;function Cu(r){var t;if(!r||r==="transparent")r="none";else if(typeof r=="string"&&r.indexOf("rgba")>-1){var e=Ar(r);e&&(r="rgb("+e[0]+","+e[1]+","+e[2]+")",t=e[3])}return{color:r,opacity:t??1}}var hK=1e-4;function Ja(r){return r<hK&&r>-1e-4}function kh(r){return Mh(r*1e3)/1e3}function sg(r){return Mh(r*1e4)/1e4}function pK(r){return"matrix("+kh(r[0])+","+kh(r[1])+","+kh(r[2])+","+kh(r[3])+","+sg(r[4])+","+sg(r[5])+")"}var dK={left:"start",right:"end",center:"middle",middle:"middle"};function vK(r,t,e){return e==="top"?r+=t/2:e==="bottom"&&(r-=t/2),r}function gK(r){return r&&(r.shadowBlur||r.shadowOffsetX||r.shadowOffsetY)}function mK(r){var t=r.style,e=r.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),e[0],e[1]].join(",")}function W8(r){return r&&!!r.image}function _K(r){return r&&!!r.svgElement}function lg(r){return W8(r)||_K(r)}function U8(r){return r.type==="linear"}function Y8(r){return r.type==="radial"}function j8(r){return r&&(r.type==="linear"||r.type==="radial")}function Lh(r){return"url(#"+r+")"}function X8(r){var t=r.getGlobalScale(),e=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(e)/Math.log(10)),1)}function q8(r){var t=r.x||0,e=r.y||0,n=(r.rotation||0)*dh,a=ve(r.scaleX,1),i=ve(r.scaleY,1),o=r.skewX||0,s=r.skewY||0,l=[];return(t||e)&&l.push("translate("+t+"px,"+e+"px)"),n&&l.push("rotate("+n+")"),(a!==1||i!==1)&&l.push("scale("+a+","+i+")"),(o||s)&&l.push("skew("+Mh(o*dh)+"deg, "+Mh(s*dh)+"deg)"),l.join(" ")}var yK=function(){return Ee.hasGlobalWindow&&ae(window.btoa)?function(r){return window.btoa(unescape(encodeURIComponent(r)))}:typeof Buffer<"u"?function(r){return Buffer.from(r).toString("base64")}:function(r){return process.env.NODE_ENV!=="production"&&hn("Base64 isn't natively supported in the current environment."),null}}(),ug=Array.prototype.slice;function ga(r,t,e){return(t-r)*e+r}function cg(r,t,e,n){for(var a=t.length,i=0;i<a;i++)r[i]=ga(t[i],e[i],n);return r}function wK(r,t,e,n){for(var a=t.length,i=a&&t[0].length,o=0;o<a;o++){r[o]||(r[o]=[]);for(var s=0;s<i;s++)r[o][s]=ga(t[o][s],e[o][s],n)}return r}function Ih(r,t,e,n){for(var a=t.length,i=0;i<a;i++)r[i]=t[i]+e[i]*n;return r}function Z8(r,t,e,n){for(var a=t.length,i=a&&t[0].length,o=0;o<a;o++){r[o]||(r[o]=[]);for(var s=0;s<i;s++)r[o][s]=t[o][s]+e[o][s]*n}return r}function xK(r,t){for(var e=r.length,n=t.length,a=e>n?t:r,i=Math.min(e,n),o=a[i-1]||{color:[0,0,0,0],offset:0},s=i;s<Math.max(e,n);s++)a.push({offset:o.offset,color:o.color.slice()})}function bK(r,t,e){var n=r,a=t;if(!(!n.push||!a.push)){var i=n.length,o=a.length;if(i!==o){var s=i>o;if(s)n.length=o;else for(var l=i;l<o;l++)n.push(e===1?a[l]:ug.call(a[l]))}for(var u=n[0]&&n[0].length,l=0;l<n.length;l++)if(e===1)isNaN(n[l])&&(n[l]=a[l]);else for(var c=0;c<u;c++)isNaN(n[l][c])&&(n[l][c]=a[l][c])}}function Eu(r){if(Yt(r)){var t=r.length;if(Yt(r[0])){for(var e=[],n=0;n<t;n++)e.push(ug.call(r[n]));return e}return ug.call(r)}return r}function Nh(r){return r[0]=Math.floor(r[0])||0,r[1]=Math.floor(r[1])||0,r[2]=Math.floor(r[2])||0,r[3]=r[3]==null?1:r[3],"rgba("+r.join(",")+")"}function SK(r){return Yt(r&&r[0])?2:1}var Ph=0,Vh=1,K8=2,Tu=3,fg=4,hg=5,J8=6;function Q8(r){return r===fg||r===hg}function Bh(r){return r===Vh||r===K8}var Du=[0,0,0,0],CK=function(){function r(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return r.prototype.isFinished=function(){return this._finished},r.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},r.prototype.needsAnimate=function(){return this.keyframes.length>=1},r.prototype.getAdditiveTrack=function(){return this._additiveTrack},r.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var a=this.keyframes,i=a.length,o=!1,s=J8,l=e;if(Yt(e)){var u=SK(e);s=u,(u===1&&!Be(e[0])||u===2&&!Be(e[0][0]))&&(o=!0)}else if(Be(e)&&!Ui(e))s=Ph;else if(K(e))if(!isNaN(+e))s=Ph;else{var c=Ar(e);c&&(l=c,s=Tu)}else if(fh(e)){var f=G({},l);f.colorStops=Y(e.colorStops,function(p){return{offset:p.offset,color:Ar(p.color)}}),U8(e)?s=fg:Y8(e)&&(s=hg),l=f}i===0?this.valType=s:(s!==this.valType||s===J8)&&(o=!0),this.discrete=this.discrete||o;var h={time:t,value:l,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=ae(n)?n:yu[n]||Q0(n)),a.push(h),h},r.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort(function(m,g){return m.time-g.time});for(var a=this.valType,i=n.length,o=n[i-1],s=this.discrete,l=Bh(a),u=Q8(a),c=0;c<i;c++){var f=n[c],h=f.value,p=o.value;f.percent=f.time/t,s||(l&&c!==i-1?bK(h,p,a):u&&xK(h.colorStops,p.colorStops))}if(!s&&a!==hg&&e&&this.needsAnimate()&&e.needsAnimate()&&a===e.valType&&!e._finished){this._additiveTrack=e;for(var v=n[0].value,c=0;c<i;c++)a===Ph?n[c].additiveValue=n[c].value-v:a===Tu?n[c].additiveValue=Ih([],n[c].value,v,-1):Bh(a)&&(n[c].additiveValue=a===Vh?Ih([],n[c].value,v,-1):Z8([],n[c].value,v,-1))}},r.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n=this._additiveTrack!=null,a=n?"additiveValue":"value",i=this.valType,o=this.keyframes,s=o.length,l=this.propName,u=i===Tu,c,f=this._lastFr,h=Math.min,p,v;if(s===1)p=v=o[0];else{if(e<0)c=0;else if(e<this._lastFrP){var m=h(f+1,s-1);for(c=m;c>=0&&!(o[c].percent<=e);c--);c=h(c,s-2)}else{for(c=f;c<s&&!(o[c].percent>e);c++);c=h(c-1,s-2)}v=o[c+1],p=o[c]}if(p&&v){this._lastFr=c,this._lastFrP=e;var g=v.percent-p.percent,_=g===0?1:h((e-p.percent)/g,1);v.easingFunc&&(_=v.easingFunc(_));var y=n?this._additiveValue:u?Du:t[l];if((Bh(i)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=_<1?p.rawValue:v.rawValue;else if(Bh(i))i===Vh?cg(y,p[a],v[a],_):wK(y,p[a],v[a],_);else if(Q8(i)){var w=p[a],x=v[a],b=i===fg;t[l]={type:b?"linear":"radial",x:ga(w.x,x.x,_),y:ga(w.y,x.y,_),colorStops:Y(w.colorStops,function(C,D){var T=x.colorStops[D];return{offset:ga(C.offset,T.offset,_),color:Nh(cg([],C.color,T.color,_))}}),global:x.global},b?(t[l].x2=ga(w.x2,x.x2,_),t[l].y2=ga(w.y2,x.y2,_)):t[l].r=ga(w.r,x.r,_)}else if(u)cg(y,p[a],v[a],_),n||(t[l]=Nh(y));else{var S=ga(p[a],v[a],_);n?this._additiveValue=S:t[l]=S}n&&this._addToTarget(t)}}},r.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,a=this._additiveValue;e===Ph?t[n]=t[n]+a:e===Tu?(Ar(t[n],Du),Ih(Du,Du,a,1),t[n]=Nh(Du)):e===Vh?Ih(t[n],t[n],a,1):e===K8&&Z8(t[n],t[n],a,1)},r}(),pg=function(){function r(t,e,n,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&a){hn("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=n}return r.prototype.getMaxTime=function(){return this._maxTime},r.prototype.getDelay=function(){return this._delay},r.prototype.getLoop=function(){return this._loop},r.prototype.getTarget=function(){return this._target},r.prototype.changeTarget=function(t){this._target=t},r.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Me(e),n)},r.prototype.whenWithKeys=function(t,e,n,a){for(var i=this._tracks,o=0;o<n.length;o++){var s=n[o],l=i[s];if(!l){l=i[s]=new CK(s);var u=void 0,c=this._getAdditiveTrack(s);if(c){var f=c.keyframes,h=f[f.length-1];u=h&&h.value,c.valType===Tu&&u&&(u=Nh(u))}else u=this._target[s];if(u==null)continue;t>0&&l.addKeyframe(0,Eu(u),a),this._trackKeys.push(s)}l.addKeyframe(t,Eu(e[s]),a)}return this._maxTime=Math.max(this._maxTime,t),this},r.prototype.pause=function(){this._clip.pause(),this._paused=!0},r.prototype.resume=function(){this._clip.resume(),this._paused=!1},r.prototype.isPaused=function(){return!!this._paused},r.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},r.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},r.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},r.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},r.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var a=0;a<n.length;a++){var i=n[a].getTrack(t);i&&(e=i)}return e},r.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],a=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],s=this._tracks[o],l=this._getAdditiveTrack(o),u=s.keyframes,c=u.length;if(s.prepare(a,l),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var f=u[c-1];f&&(e._target[s.propName]=f.rawValue),s.setFinished()}else n.push(s)}if(n.length||this._force){var h=new sK({life:a,loop:this._loop,delay:this._delay||0,onframe:function(p){e._started=2;var v=e._additiveAnimators;if(v){for(var m=!1,g=0;g<v.length;g++)if(v[g]._clip){m=!0;break}m||(e._additiveAnimators=null)}for(var g=0;g<n.length;g++)n[g].step(e._target,p);var _=e._onframeCbs;if(_)for(var g=0;g<_.length;g++)_[g](e._target,p)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},r.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},r.prototype.delay=function(t){return this._delay=t,this},r.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},r.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},r.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},r.prototype.getClip=function(){return this._clip},r.prototype.getTrack=function(t){return this._tracks[t]},r.prototype.getTracks=function(){var t=this;return Y(this._trackKeys,function(e){return t._tracks[e]})},r.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,a=this._trackKeys,i=0;i<t.length;i++){var o=n[t[i]];o&&!o.isFinished()&&(e?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,i=0;i<a.length;i++)if(!n[a[i]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},r.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var a=0;a<e.length;a++){var i=e[a],o=this._tracks[i];if(!(!o||o.isFinished())){var s=o.keyframes,l=s[n?0:s.length-1];l&&(t[i]=Eu(l.rawValue))}}}},r.prototype.__changeFinalValue=function(t,e){e=e||Me(t);for(var n=0;n<e.length;n++){var a=e[n],i=this._tracks[a];if(i){var o=i.keyframes;if(o.length>1){var s=o.pop();i.addKeyframe(s.time,t[a]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},r}();function Vs(){return new Date().getTime()}var EK=function(r){et(t,r);function t(e){var n=r.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return t.prototype.addClip=function(e){e.animation&&this.removeClip(e),this._head?(this._tail.next=e,e.prev=this._tail,e.next=null,this._tail=e):this._head=this._tail=e,e.animation=this},t.prototype.addAnimator=function(e){e.animation=this;var n=e.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(e){if(e.animation){var n=e.prev,a=e.next;n?n.next=a:this._head=a,a?a.prev=n:this._tail=n,e.next=e.prev=e.animation=null}},t.prototype.removeAnimator=function(e){var n=e.getClip();n&&this.removeClip(n),e.animation=null},t.prototype.update=function(e){for(var n=Vs()-this._pausedTime,a=n-this._time,i=this._head;i;){var o=i.next,s=i.step(n,a);s&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=n,e||(this.trigger("frame",a),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var e=this;this._running=!0;function n(){e._running&&(bh(n),!e._paused&&e.update())}bh(n)},t.prototype.start=function(){this._running||(this._time=Vs(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Vs(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Vs()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var e=this._head;e;){var n=e.next;e.prev=e.next=e.animation=null,e=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(e,n){n=n||{},this.start();var a=new pg(e,n.loop);return this.addAnimator(a),a},t}(Rr),TK=300,dg=Ee.domSupported,vg=function(){var r=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],e={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=Y(r,function(a){var i=a.replace("mouse","pointer");return e.hasOwnProperty(i)?i:a});return{mouse:r,touch:t,pointer:n}}(),ew={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},tw=!1;function gg(r){var t=r.pointerType;return t==="pen"||t==="touch"}function DK(r){r.touching=!0,r.touchTimer!=null&&(clearTimeout(r.touchTimer),r.touchTimer=null),r.touchTimer=setTimeout(function(){r.touching=!1,r.touchTimer=null},700)}function mg(r){r&&(r.zrByTouch=!0)}function AK(r,t){return zr(r.dom,new MK(r,t),!0)}function rw(r,t){for(var e=t,n=!1;e&&e.nodeType!==9&&!(n=e.domBelongToZr||e!==t&&e===r.painterRoot);)e=e.parentNode;return n}var MK=function(){function r(t,e){this.stopPropagation=ft,this.stopImmediatePropagation=ft,this.preventDefault=ft,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return r}(),vn={mousedown:function(r){r=zr(this.dom,r),this.__mayPointerCapture=[r.zrX,r.zrY],this.trigger("mousedown",r)},mousemove:function(r){r=zr(this.dom,r);var t=this.__mayPointerCapture;t&&(r.zrX!==t[0]||r.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",r)},mouseup:function(r){r=zr(this.dom,r),this.__togglePointerCapture(!1),this.trigger("mouseup",r)},mouseout:function(r){r=zr(this.dom,r);var t=r.toElement||r.relatedTarget;rw(this,t)||(this.__pointerCapturing&&(r.zrEventControl="no_globalout"),this.trigger("mouseout",r))},wheel:function(r){tw=!0,r=zr(this.dom,r),this.trigger("mousewheel",r)},mousewheel:function(r){tw||(r=zr(this.dom,r),this.trigger("mousewheel",r))},touchstart:function(r){r=zr(this.dom,r),mg(r),this.__lastTouchMoment=new Date,this.handler.processGesture(r,"start"),vn.mousemove.call(this,r),vn.mousedown.call(this,r)},touchmove:function(r){r=zr(this.dom,r),mg(r),this.handler.processGesture(r,"change"),vn.mousemove.call(this,r)},touchend:function(r){r=zr(this.dom,r),mg(r),this.handler.processGesture(r,"end"),vn.mouseup.call(this,r),+new Date-+this.__lastTouchMoment<TK&&vn.click.call(this,r)},pointerdown:function(r){vn.mousedown.call(this,r)},pointermove:function(r){gg(r)||vn.mousemove.call(this,r)},pointerup:function(r){vn.mouseup.call(this,r)},pointerout:function(r){gg(r)||vn.mouseout.call(this,r)}};M(["click","dblclick","contextmenu"],function(r){vn[r]=function(t){t=zr(this.dom,t),this.trigger(r,t)}});var _g={pointermove:function(r){gg(r)||_g.mousemove.call(this,r)},pointerup:function(r){_g.mouseup.call(this,r)},mousemove:function(r){this.trigger("mousemove",r)},mouseup:function(r){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",r),t&&(r.zrEventControl="only_globalout",this.trigger("mouseout",r))}};function kK(r,t){var e=t.domHandlers;Ee.pointerEventsSupported?M(vg.pointer,function(n){Oh(t,n,function(a){e[n].call(r,a)})}):(Ee.touchEventsSupported&&M(vg.touch,function(n){Oh(t,n,function(a){e[n].call(r,a),DK(t)})}),M(vg.mouse,function(n){Oh(t,n,function(a){a=$0(a),t.touching||e[n].call(r,a)})}))}function LK(r,t){Ee.pointerEventsSupported?M(ew.pointer,e):Ee.touchEventsSupported||M(ew.mouse,e);function e(n){function a(i){i=$0(i),rw(r,i.target)||(i=AK(r,i),t.domHandlers[n].call(r,i))}Oh(t,n,a,{capture:!0})}}function Oh(r,t,e,n){r.mounted[t]=e,r.listenerOpts[t]=n,W0(r.domTarget,t,e,n)}function yg(r){var t=r.mounted;for(var e in t)t.hasOwnProperty(e)&&WZ(r.domTarget,e,t[e],r.listenerOpts[e]);r.mounted={}}var nw=function(){function r(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e}return r}(),IK=function(r){et(t,r);function t(e,n){var a=r.call(this)||this;return a.__pointerCapturing=!1,a.dom=e,a.painterRoot=n,a._localHandlerScope=new nw(e,vn),dg&&(a._globalHandlerScope=new nw(document,_g)),kK(a,a._localHandlerScope),a}return t.prototype.dispose=function(){yg(this._localHandlerScope),dg&&yg(this._globalHandlerScope)},t.prototype.setCursor=function(e){this.dom.style&&(this.dom.style.cursor=e||"default")},t.prototype.__togglePointerCapture=function(e){if(this.__mayPointerCapture=null,dg&&+this.__pointerCapturing^+e){this.__pointerCapturing=e;var n=this._globalHandlerScope;e?LK(this,n):yg(n)}},t}(Rr),aw=1;Ee.hasGlobalWindow&&(aw=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Rh=aw,wg=.4,xg="#333",bg="#ccc",NK="#eee",iw=mh,PK=5e-5;function to(r){return r>PK||r<-5e-5}var ro=[],Bs=[],Sg=Dr(),Cg=Math.abs,ma=function(){function r(){}return r.prototype.getLocalTransform=function(t){return r.getLocalTransform(this,t)},r.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},r.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},r.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},r.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},r.prototype.needLocalTransform=function(){return to(this.rotation)||to(this.x)||to(this.y)||to(this.scaleX-1)||to(this.scaleY-1)||to(this.skewX)||to(this.skewY)},r.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(iw(n),this.invTransform=null);return}n=n||Dr(),e?this.getLocalTransform(n):iw(n),t&&(e?da(n,t,n):Y0(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},r.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(e!=null&&e!==1){this.getGlobalScale(ro);var n=ro[0]<0?-1:1,a=ro[1]<0?-1:1,i=((ro[0]-n)*e+n)/ro[0]||0,o=((ro[1]-a)*e+a)/ro[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Dr(),Is(this.invTransform,t)},r.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},r.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],a=Math.atan2(t[1],t[0]),i=Math.PI/2+a-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-a,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},r.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Dr(),da(Bs,t.invTransform,e),e=Bs);var n=this.originX,a=this.originY;(n||a)&&(Sg[4]=n,Sg[5]=a,da(Bs,e,Sg),Bs[4]-=n,Bs[5]-=a,e=Bs),this.setLocalTransform(e)}},r.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},r.prototype.transformCoordToLocal=function(t,e){var n=[t,e],a=this.invTransform;return a&&Ot(n,n,a),n},r.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],a=this.transform;return a&&Ot(n,n,a),n},r.prototype.getLineScale=function(){var t=this.transform;return t&&Cg(t[0]-1)>1e-10&&Cg(t[3]-1)>1e-10?Math.sqrt(Cg(t[0]*t[3]-t[2]*t[1])):1},r.prototype.copyTransform=function(t){ow(this,t)},r.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,a=t.originY||0,i=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,f=t.y,h=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||a||s||l){var v=n+s,m=a+l;e[4]=-v*i-h*m*o,e[5]=-m*o-p*v*i}else e[4]=e[5]=0;return e[0]=i,e[3]=o,e[1]=p*i,e[2]=h*o,u&&qi(e,e,u),e[4]+=n+c,e[5]+=a+f,e},r.initDefaultProps=function(){var t=r.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}(),r}(),Rn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function ow(r,t){for(var e=0;e<Rn.length;e++){var n=Rn[e];r[n]=t[n]}}var sw={};function Mr(r,t){t=t||$a;var e=sw[t];e||(e=sw[t]=new xu(500));var n=e.get(r);return n==null&&(n=Wa.measureText(r,t).width,e.put(r,n)),n}function lw(r,t,e,n){var a=Mr(r,t),i=zh(t),o=Mu(0,a,e),s=Os(0,i,n),l=new we(o,s,a,i);return l}function Au(r,t,e,n){var a=((r||"")+"").split(`
|
|
56
|
-
`),i=a.length;if(i===1)return lw(a[0],t,e,n);for(var o=new we(0,0,0,0),s=0;s<a.length;s++){var l=lw(a[s],t,e,n);s===0?o.copy(l):o.union(l)}return o}function Mu(r,t,e){return e==="right"?r-=t:e==="center"&&(r-=t/2),r}function Os(r,t,e){return e==="middle"?r-=t/2:e==="bottom"&&(r-=t),r}function zh(r){return Mr("国",r)}function gn(r,t){return typeof r=="string"?r.lastIndexOf("%")>=0?parseFloat(r)/100*t:parseFloat(r):r}function Hh(r,t,e){var n=t.position||"inside",a=t.distance!=null?t.distance:5,i=e.height,o=e.width,s=i/2,l=e.x,u=e.y,c="left",f="top";if(n instanceof Array)l+=gn(n[0],e.width),u+=gn(n[1],e.height),c=null,f=null;else switch(n){case"left":l-=a,u+=s,c="right",f="middle";break;case"right":l+=a+o,u+=s,f="middle";break;case"top":l+=o/2,u-=a,c="center",f="bottom";break;case"bottom":l+=o/2,u+=i+a,c="center";break;case"inside":l+=o/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=a,u+=s,f="middle";break;case"insideRight":l+=o-a,u+=s,c="right",f="middle";break;case"insideTop":l+=o/2,u+=a,c="center";break;case"insideBottom":l+=o/2,u+=i-a,c="center",f="bottom";break;case"insideTopLeft":l+=a,u+=a;break;case"insideTopRight":l+=o-a,u+=a,c="right";break;case"insideBottomLeft":l+=a,u+=i-a,f="bottom";break;case"insideBottomRight":l+=o-a,u+=i-a,c="right",f="bottom";break}return r=r||{},r.x=l,r.y=u,r.align=c,r.verticalAlign=f,r}var Eg="__zr_normal__",Tg=Rn.concat(["ignore"]),VK=Pn(Rn,function(r,t){return r[t]=!0,r},{ignore:!1}),Rs={},BK=new we(0,0,0,0),Fh=function(){function r(t){this.id=u8(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return r.prototype._init=function(t){this.attr(t)},r.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[5]+=e,this.decomposeTransform(),this.markRedraw()},r.prototype.beforeUpdate=function(){},r.prototype.afterUpdate=function(){},r.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},r.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,a=n.local,i=e.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=a?this:null;var u=!1;if(i.copyTransform(e),n.position!=null){var c=BK;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),a||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Rs,n,c):Hh(Rs,n,c),i.x=Rs.x,i.y=Rs.y,o=Rs.align,s=Rs.verticalAlign;var f=n.origin;if(f&&n.rotation!=null){var h=void 0,p=void 0;f==="center"?(h=c.width*.5,p=c.height*.5):(h=gn(f[0],c.width),p=gn(f[1],c.height)),u=!0,i.originX=-i.x+h+(a?0:c.x),i.originY=-i.y+p+(a?0:c.y)}}n.rotation!=null&&(i.rotation=n.rotation);var v=n.offset;v&&(i.x+=v[0],i.y+=v[1],u||(i.originX=-v[0],i.originY=-v[1]));var m=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,y=void 0,w=void 0;m&&this.canBeInsideText()?(_=n.insideFill,y=n.insideStroke,(_==null||_==="auto")&&(_=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(_),w=!0)):(_=n.outsideFill,y=n.outsideStroke,(_==null||_==="auto")&&(_=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(_),w=!0)),_=_||"#000",(_!==g.fill||y!==g.stroke||w!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=_,g.stroke=y,g.autoStroke=w,g.align=o,g.verticalAlign=s,e.setDefaultTextStyle(g)),e.__dirty|=Bn,l&&e.dirtyStyle(!0)}},r.prototype.canBeInsideText=function(){return!0},r.prototype.getInsideTextFill=function(){return"#fff"},r.prototype.getInsideTextStroke=function(t){return"#000"},r.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?bg:xg},r.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n=typeof e=="string"&&Ar(e);n||(n=[255,255,255,1]);for(var a=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*a+(i?0:255)*(1-a);return n[3]=1,va(n,"rgba")},r.prototype.traverse=function(t,e){},r.prototype.attrKV=function(t,e){t==="textConfig"?this.setTextConfig(e):t==="textContent"?this.setTextContent(e):t==="clipPath"?this.setClipPath(e):t==="extra"?(this.extra=this.extra||{},G(this.extra,e)):this[t]=e},r.prototype.hide=function(){this.ignore=!0,this.markRedraw()},r.prototype.show=function(){this.ignore=!1,this.markRedraw()},r.prototype.attr=function(t,e){if(typeof t=="string")this.attrKV(t,e);else if(oe(t))for(var n=t,a=Me(n),i=0;i<a.length;i++){var o=a[i];this.attrKV(o,t[o])}return this.markRedraw(),this},r.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var a=this.animators[n],i=a.__fromStateTransition;if(!(a.getLoop()||i&&i!==Eg)){var o=a.targetName,s=o?e[o]:e;a.saveTo(s)}}},r.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,Tg)},r.prototype._savePrimaryToNormal=function(t,e,n){for(var a=0;a<n.length;a++){var i=n[a];t[i]!=null&&!(i in e)&&(e[i]=this[i])}},r.prototype.hasState=function(){return this.currentStates.length>0},r.prototype.getState=function(t){return this.states[t]},r.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},r.prototype.clearStates=function(t){this.useState(Eg,!1,t)},r.prototype.useState=function(t,e,n,a){var i=t===Eg,o=this.hasState();if(!(!o&&i)){var s=this.currentStates,l=this.stateTransition;if(!(xe(s,t)>=0&&(e||s.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!i){hn("State "+t+" not exists.");return}i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||a);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,e,!n&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,h=this._textGuide;return f&&f.useState(t,e,n,c),h&&h.useState(t,e,n,c),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),u}}},r.prototype.useStates=function(t,e,n){if(!t.length)this.clearStates();else{var a=[],i=this.currentStates,o=t.length,s=o===i.length;if(s){for(var l=0;l<o;l++)if(t[l]!==i[l]){s=!1;break}}if(s)return;for(var l=0;l<o;l++){var u=t[l],c=void 0;this.stateProxy&&(c=this.stateProxy(u,t)),c||(c=this.states[u]),c&&a.push(c)}var f=a[o-1],h=!!(f&&f.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var p=this._mergeStates(a),v=this.stateTransition;this.saveCurrentToNormalState(p),this._applyStateObj(t.join(","),p,this._normalState,!1,!e&&!this.__inHover&&v&&v.duration>0,v);var m=this._textContent,g=this._textGuide;m&&m.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}},r.prototype.isSilent=function(){for(var t=this.silent,e=this.parent;!t&&e;){if(e.silent){t=!0;break}e=e.parent}return t},r.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},r.prototype.removeState=function(t){var e=xe(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},r.prototype.replaceState=function(t,e,n){var a=this.currentStates.slice(),i=xe(a,t),o=xe(a,e)>=0;i>=0?o?a.splice(i,1):a[i]=e:n&&!o&&a.push(e),this.useStates(a)},r.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},r.prototype._mergeStates=function(t){for(var e={},n,a=0;a<t.length;a++){var i=t[a];G(e,i),i.textConfig&&(n=n||{},G(n,i.textConfig))}return n&&(e.textConfig=n),e},r.prototype._applyStateObj=function(t,e,n,a,i,o){var s=!(e&&a);e&&e.textConfig?(this.textConfig=G({},a?this.textConfig:n.textConfig),G(this.textConfig,e.textConfig)):s&&n.textConfig&&(this.textConfig=n.textConfig);for(var l={},u=!1,c=0;c<Tg.length;c++){var f=Tg[c],h=i&&VK[f];e&&e[f]!=null?h?(u=!0,l[f]=e[f]):this[f]=e[f]:s&&n[f]!=null&&(h?(u=!0,l[f]=n[f]):this[f]=n[f])}if(!i)for(var c=0;c<this.animators.length;c++){var p=this.animators[c],v=p.targetName;p.getLoop()||p.__changeFinalValue(v?(e||n)[v]:e||n)}u&&this._transitionState(t,l,o)},r.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 e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this},r.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},r.prototype.getClipPath=function(){return this._clipPath},r.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},r.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},r.prototype.getTextContent=function(){return this._textContent},r.prototype.setTextContent=function(t){var e=this._textContent;if(e!==t){if(e&&e!==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 ma,this._attachComponent(t),this._textContent=t,this.markRedraw()}},r.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),G(this.textConfig,t),this.markRedraw()},r.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},r.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},r.prototype.getTextGuideLine=function(){return this._textGuide},r.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},r.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},r.prototype.markRedraw=function(){this.__dirty|=Bn;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},r.prototype.dirty=function(){this.markRedraw()},r.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},r.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},r.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},r.prototype.animate=function(t,e,n){var a=t?this[t]:this;if(process.env.NODE_ENV!=="production"&&!a){hn('Property "'+t+'" is not existed in element '+this.id);return}var i=new pg(a,e,n);return t&&(i.targetName=t),this.addAnimator(i,t),i},r.prototype.addAnimator=function(t,e){var n=this.__zr,a=this;t.during(function(){a.updateDuringAnimation(e)}).done(function(){var i=a.animators,o=xe(i,t);o>=0&&i.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},r.prototype.updateDuringAnimation=function(t){this.markRedraw()},r.prototype.stopAnimation=function(t,e){for(var n=this.animators,a=n.length,i=[],o=0;o<a;o++){var s=n[o];!t||t===s.scope?s.stop(e):i.push(s)}return this.animators=i,this},r.prototype.animateTo=function(t,e,n){Dg(this,t,e,n)},r.prototype.animateFrom=function(t,e,n){Dg(this,t,e,n,!0)},r.prototype._transitionState=function(t,e,n,a){for(var i=Dg(this,e,n,a),o=0;o<i.length;o++)i[o].__fromStateTransition=t},r.prototype.getBoundingRect=function(){return null},r.prototype.getPaintRect=function(){return null},r.initDefaultProps=function(){var t=r.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Bn;var e={};function n(i,o,s){e[i+o+s]||(console.warn("DEPRECATED: '"+i+"' has been deprecated. use '"+o+"', '"+s+"' instead"),e[i+o+s]=!0)}function a(i,o,s,l){Object.defineProperty(t,i,{get:function(){if(process.env.NODE_ENV!=="production"&&n(i,s,l),!this[o]){var c=this[o]=[];u(this,c)}return this[o]},set:function(c){process.env.NODE_ENV!=="production"&&n(i,s,l),this[s]=c[0],this[l]=c[1],this[o]=c,u(this,c)}});function u(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[l]},set:function(h){c[l]=h}})}}Object.defineProperty&&(a("position","_legacyPos","x","y"),a("scale","_legacyScale","scaleX","scaleY"),a("origin","_legacyOrigin","originX","originY"))}(),r}();gt(Fh,Rr),gt(Fh,ma);function Dg(r,t,e,n,a){e=e||{};var i=[];uw(r,"",r,t,e,n,i,a);var o=i.length,s=!1,l=e.done,u=e.aborted,c=function(){s=!0,o--,o<=0&&(s?l&&l():u&&u())},f=function(){o--,o<=0&&(s?l&&l():u&&u())};o||l&&l(),i.length>0&&e.during&&i[0].during(function(v,m){e.during(m)});for(var h=0;h<i.length;h++){var p=i[h];c&&p.done(c),f&&p.aborted(f),e.force&&p.duration(e.duration),p.start(e.easing)}return i}function Ag(r,t,e){for(var n=0;n<e;n++)r[n]=t[n]}function OK(r){return Yt(r[0])}function RK(r,t,e){if(Yt(t[e]))if(Yt(r[e])||(r[e]=[]),nr(t[e])){var n=t[e].length;r[e].length!==n&&(r[e]=new t[e].constructor(n),Ag(r[e],t[e],n))}else{var a=t[e],i=r[e],o=a.length;if(OK(a))for(var s=a[0].length,l=0;l<o;l++)i[l]?Ag(i[l],a[l],s):i[l]=Array.prototype.slice.call(a[l]);else Ag(i,a,o);i.length=a.length}else r[e]=t[e]}function zK(r,t){return r===t||Yt(r)&&Yt(t)&&HK(r,t)}function HK(r,t){var e=r.length;if(e!==t.length)return!1;for(var n=0;n<e;n++)if(r[n]!==t[n])return!1;return!0}function uw(r,t,e,n,a,i,o,s){for(var l=Me(n),u=a.duration,c=a.delay,f=a.additive,h=a.setToFinal,p=!oe(i),v=r.animators,m=[],g=0;g<l.length;g++){var _=l[g],y=n[_];if(y!=null&&e[_]!=null&&(p||i[_]))if(oe(y)&&!Yt(y)&&!fh(y)){if(t){s||(e[_]=y,r.updateDuringAnimation(t));continue}uw(r,_,e[_],y,a,i&&i[_],o,s)}else m.push(_);else s||(e[_]=y,r.updateDuringAnimation(t),m.push(_))}var w=m.length;if(!f&&w)for(var x=0;x<v.length;x++){var b=v[x];if(b.targetName===t){var S=b.stopTracks(m);if(S){var C=xe(v,b);v.splice(C,1)}}}if(a.force||(m=Fe(m,function(A){return!zK(n[A],e[A])}),w=m.length),w>0||a.force&&!o.length){var D=void 0,T=void 0,E=void 0;if(s){T={},h&&(D={});for(var x=0;x<w;x++){var _=m[x];T[_]=e[_],h?D[_]=n[_]:e[_]=n[_]}}else if(h){E={};for(var x=0;x<w;x++){var _=m[x];E[_]=Eu(e[_]),RK(e,n,_)}}var b=new pg(e,!1,!1,f?Fe(v,function(k){return k.targetName===t}):null);b.targetName=t,a.scope&&(b.scope=a.scope),h&&D&&b.whenWithKeys(0,D,m),E&&b.whenWithKeys(0,E,m),b.whenWithKeys(u??500,s?T:n,m).delay(c||0),r.addAnimator(b,t),o.push(b)}}var de=function(r){et(t,r);function t(e){var n=r.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(e){return this._children[e]},t.prototype.childOfName=function(e){for(var n=this._children,a=0;a<n.length;a++)if(n[a].name===e)return n[a]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(e){if(e&&(e!==this&&e.parent!==this&&(this._children.push(e),this._doAdd(e)),process.env.NODE_ENV!=="production"&&e.__hostTarget))throw"This elemenet has been used as an attachment";return this},t.prototype.addBefore=function(e,n){if(e&&e!==this&&e.parent!==this&&n&&n.parent===this){var a=this._children,i=a.indexOf(n);i>=0&&(a.splice(i,0,e),this._doAdd(e))}return this},t.prototype.replace=function(e,n){var a=xe(this._children,e);return a>=0&&this.replaceAt(n,a),this},t.prototype.replaceAt=function(e,n){var a=this._children,i=a[n];if(e&&e!==this&&e.parent!==this&&e!==i){a[n]=e,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(e)}return this},t.prototype._doAdd=function(e){e.parent&&e.parent.remove(e),e.parent=this;var n=this.__zr;n&&n!==e.__zr&&e.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(e){var n=this.__zr,a=this._children,i=xe(a,e);return i<0?this:(a.splice(i,1),e.parent=null,n&&e.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var e=this._children,n=this.__zr,a=0;a<e.length;a++){var i=e[a];n&&i.removeSelfFromZr(n),i.parent=null}return e.length=0,this},t.prototype.eachChild=function(e,n){for(var a=this._children,i=0;i<a.length;i++){var o=a[i];e.call(n,o,i)}return this},t.prototype.traverse=function(e,n){for(var a=0;a<this._children.length;a++){var i=this._children[a],o=e.call(n,i);i.isGroup&&!o&&i.traverse(e,n)}return this},t.prototype.addSelfToZr=function(e){r.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){var a=this._children[n];a.addSelfToZr(e)}},t.prototype.removeSelfFromZr=function(e){r.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){var a=this._children[n];a.removeSelfFromZr(e)}},t.prototype.getBoundingRect=function(e){for(var n=new we(0,0,0,0),a=e||this._children,i=[],o=null,s=0;s<a.length;s++){var l=a[s];if(!(l.ignore||l.invisible)){var u=l.getBoundingRect(),c=l.getLocalTransform(i);c?(we.applyTransform(n,u,c),o=o||n.clone(),o.union(n)):(o=o||u.clone(),o.union(u))}}return o||n},t}(Fh);de.prototype.type="group";/*!
|
|
57
|
-
* ZRender, a high performance 2d drawing library.
|
|
58
|
-
*
|
|
59
|
-
* Copyright (c) 2013, Baidu Inc.
|
|
60
|
-
* All rights reserved.
|
|
61
|
-
*
|
|
62
|
-
* LICENSE
|
|
63
|
-
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
|
64
|
-
*/var ku={},cw={};function FK(r){delete cw[r]}function GK(r){if(!r)return!1;if(typeof r=="string")return Ah(r,1)<wg;if(r.colorStops){for(var t=r.colorStops,e=0,n=t.length,a=0;a<n;a++)e+=Ah(t[a].color,1);return e/=n,e<wg}return!1}var $K=function(){function r(t,e,n){var a=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var i=new rK,o=n.renderer||"canvas";if(ku[o]||(o=Me(ku)[0]),process.env.NODE_ENV!=="production"&&!ku[o])throw new Error("Renderer '"+o+"' is not imported. Please import it first.");n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new ku[o](e,i,n,t),l=n.ssr||s.ssrOnly;this.storage=i,this.painter=s;var u=!Ee.node&&!Ee.worker&&!l?new IK(s.getViewportRoot(),s.root):null,c=n.useCoarsePointer,f=c==null||c==="auto"?Ee.touchEventsSupported:!!c,h=44,p;f&&(p=ve(n.pointerSize,h)),this.handler=new S8(i,s,u,s.root,p),this.animation=new EK({stage:{update:l?null:function(){return a._flush(!0)}}}),l||this.animation.start()}return r.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},r.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},r.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},r.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=GK(t))},r.prototype.getBackgroundColor=function(){return this._backgroundColor},r.prototype.setDarkMode=function(t){this._darkMode=t},r.prototype.isDarkMode=function(){return this._darkMode},r.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},r.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},r.prototype.flush=function(){this._disposed||this._flush(!1)},r.prototype._flush=function(t){var e,n=Vs();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var a=Vs();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof de&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},r.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,FK(this.id))},r}();function fw(r,t){var e=new $K(u8(),r,t);return cw[e.id]=e,e}function WK(r,t){ku[r]=t}var Mg;function UK(r){if(typeof Mg=="function")return Mg(r)}function YK(r){Mg=r}var jK=1e-4,hw=20;function XK(r){return r.replace(/^\s+|\s+$/g,"")}function We(r,t,e,n){var a=t[0],i=t[1],o=e[0],s=e[1],l=i-a,u=s-o;if(l===0)return u===0?o:(o+s)/2;if(n)if(l>0){if(r<=a)return o;if(r>=i)return s}else{if(r>=a)return o;if(r<=i)return s}else{if(r===a)return o;if(r===i)return s}return(r-a)/l*u+o}function Z(r,t){switch(r){case"center":case"middle":r="50%";break;case"left":case"top":r="0%";break;case"right":case"bottom":r="100%";break}return K(r)?XK(r).match(/%$/)?parseFloat(r)/100*t:parseFloat(r):r==null?NaN:+r}function ut(r,t,e){return t==null&&(t=10),t=Math.min(Math.max(0,t),hw),r=(+r).toFixed(t),e?r:+r}function Gr(r){return r.sort(function(t,e){return t-e}),r}function zn(r){if(r=+r,isNaN(r))return 0;if(r>1e-14){for(var t=1,e=0;e<15;e++,t*=10)if(Math.round(r*t)/t===r)return e}return kg(r)}function kg(r){var t=r.toString().toLowerCase(),e=t.indexOf("e"),n=e>0?+t.slice(e+1):0,a=e>0?e:t.length,i=t.indexOf("."),o=i<0?0:a-1-i;return Math.max(0,o-n)}function pw(r,t){var e=Math.log,n=Math.LN10,a=Math.floor(e(r[1]-r[0])/n),i=Math.round(e(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20}function qK(r,t){var e=Pn(r,function(p,v){return p+(isNaN(v)?0:v)},0);if(e===0)return[];for(var n=Math.pow(10,t),a=Y(r,function(p){return(isNaN(p)?0:p)/e*n*100}),i=n*100,o=Y(a,function(p){return Math.floor(p)}),s=Pn(o,function(p,v){return p+v},0),l=Y(a,function(p,v){return p-o[v]});s<i;){for(var u=Number.NEGATIVE_INFINITY,c=null,f=0,h=l.length;f<h;++f)l[f]>u&&(u=l[f],c=f);++o[c],l[c]=0,++s}return Y(o,function(p){return p/n})}function ZK(r,t){var e=Math.max(zn(r),zn(t)),n=r+t;return e>hw?n:ut(n,e)}var dw=9007199254740991;function vw(r){var t=Math.PI*2;return(r%t+t)%t}function Lu(r){return r>-1e-4&&r<jK}var KK=/^(?:(\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 Hn(r){if(r instanceof Date)return r;if(K(r)){var t=KK.exec(r);if(!t)return new Date(NaN);if(t[8]){var e=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(e-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,e,+(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(r==null)return new Date(NaN);return new Date(Math.round(r))}function JK(r){return Math.pow(10,Gh(r))}function Gh(r){if(r===0)return 0;var t=Math.floor(Math.log(r)/Math.LN10);return r/Math.pow(10,t)>=10&&t++,t}function gw(r,t){var e=Gh(r),n=Math.pow(10,e),a=r/n,i;return a<1.5?i=1:a<2.5?i=2:a<4?i=3:a<7?i=5:i=10,r=i*n,e>=-20?+r.toFixed(e<0?-e:0):r}function Lg(r,t){var e=(r.length-1)*t+1,n=Math.floor(e),a=+r[n-1],i=e-n;return i?a+i*(r[n]-a):a}function mw(r){r.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,e=1,n=0;n<r.length;){for(var a=r[n].interval,i=r[n].close,o=0;o<2;o++)a[o]<=t&&(a[o]=t,i[o]=o?1:1-e),t=a[o],e=i[o];a[0]===a[1]&&i[0]*i[1]!==1?r.splice(n,1):n++}return r;function s(l,u,c){return l.interval[c]<u.interval[c]||l.interval[c]===u.interval[c]&&(l.close[c]-u.close[c]===(c?-1:1)||!c&&s(l,u,1))}}function _a(r){var t=parseFloat(r);return t==r&&(t!==0||!K(r)||r.indexOf("x")<=0)?t:NaN}function Ig(r){return!isNaN(_a(r))}function _w(){return Math.round(Math.random()*9)}function yw(r,t){return t===0?r:yw(t,r%t)}function ww(r,t){return r==null?t:t==null?r:r*t/yw(r,t)}var QK="[ECharts] ",xw={},eJ=typeof console<"u"&&console.warn&&console.log;function $h(r,t,e){if(eJ){if(e){if(xw[t])return;xw[t]=!0}console[r](QK+t)}}function tJ(r,t){$h("log",r,t)}function it(r,t){$h("warn",r,t)}function Rt(r,t){$h("error",r,t)}function mn(r){process.env.NODE_ENV!=="production"&&$h("warn","DEPRECATED: "+r,!0)}function _t(r,t,e){process.env.NODE_ENV!=="production"&&mn((e?"["+e+"]":"")+(r+" is deprecated, use "+t+" instead."))}function or(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e="";if(process.env.NODE_ENV!=="production"){var n=function(a){return a===void 0?"undefined":a===1/0?"Infinity":a===-1/0?"-Infinity":Ui(a)?"NaN":a instanceof Date?"Date("+a.toISOString()+")":ae(a)?"function () { ... }":f8(a)?a+"":null};e=Y(r,function(a){if(K(a))return a;var i=n(a);if(i!=null)return i;if(typeof JSON<"u"&&JSON.stringify)try{return JSON.stringify(a,function(o,s){var l=n(s);return l??s})}catch{return"?"}else return"?"}).join(" ")}return e}function Ge(r){throw new Error(r)}function bw(r,t,e){return(t-r)*e+r}var Sw="series\0",Cw="\0_ec_\0";function je(r){return r instanceof Array?r:r==null?[]:[r]}function no(r,t,e){if(r){r[t]=r[t]||{},r.emphasis=r.emphasis||{},r.emphasis[t]=r.emphasis[t]||{};for(var n=0,a=e.length;n<a;n++){var i=e[n];!r.emphasis[t].hasOwnProperty(i)&&r[t].hasOwnProperty(i)&&(r.emphasis[t][i]=r[t][i])}}}var Ew=["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 zs(r){return oe(r)&&!U(r)&&!(r instanceof Date)?r.value:r}function rJ(r){return oe(r)&&!(r instanceof Array)}function Tw(r,t,e){var n=e==="normalMerge",a=e==="replaceMerge",i=e==="replaceAll";r=r||[],t=(t||[]).slice();var o=ne();M(t,function(l,u){if(!oe(l)){t[u]=null;return}process.env.NODE_ENV!=="production"&&(l.id!=null&&!Mw(l.id)&&Aw(l.id),l.name!=null&&!Mw(l.name)&&Aw(l.name))});var s=nJ(r,o,e);return(n||a)&&aJ(s,r,o,t),n&&iJ(s,t),n||a?oJ(s,t,a):i&&sJ(s,t),lJ(s),s}function nJ(r,t,e){var n=[];if(e==="replaceAll")return n;for(var a=0;a<r.length;a++){var i=r[a];i&&i.id!=null&&t.set(i.id,a),n.push({existing:e==="replaceMerge"||Hs(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return n}function aJ(r,t,e,n){M(n,function(a,i){if(!(!a||a.id==null)){var o=Iu(a.id),s=e.get(o);if(s!=null){var l=r[s];se(!l.newOption,'Duplicated option on id "'+o+'".'),l.newOption=a,l.existing=t[s],n[i]=null}}})}function iJ(r,t){M(t,function(e,n){if(!(!e||e.name==null))for(var a=0;a<r.length;a++){var i=r[a].existing;if(!r[a].newOption&&i&&(i.id==null||e.id==null)&&!Hs(e)&&!Hs(i)&&Dw("name",i,e)){r[a].newOption=e,t[n]=null;return}}})}function oJ(r,t,e){M(t,function(n){if(n){for(var a,i=0;(a=r[i])&&(a.newOption||Hs(a.existing)||a.existing&&n.id!=null&&!Dw("id",n,a.existing));)i++;a?(a.newOption=n,a.brandNew=e):r.push({newOption:n,brandNew:e,existing:null,keyInfo:null}),i++}})}function sJ(r,t){M(t,function(e){r.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})})}function lJ(r){var t=ne();M(r,function(e){var n=e.existing;n&&t.set(n.id,e)}),M(r,function(e){var n=e.newOption;se(!n||n.id==null||!t.get(n.id)||t.get(n.id)===e,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&t.set(n.id,e),!e.keyInfo&&(e.keyInfo={})}),M(r,function(e,n){var a=e.existing,i=e.newOption,o=e.keyInfo;if(oe(i)){if(o.name=i.name!=null?Iu(i.name):a?a.name:Sw+n,a)o.id=Iu(a.id);else if(i.id!=null)o.id=Iu(i.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,e)}})}function Dw(r,t,e){var n=Ct(t[r],null),a=Ct(e[r],null);return n!=null&&a!=null&&n===a}function Iu(r){if(process.env.NODE_ENV!=="production"&&r==null)throw new Error;return Ct(r,"")}function Ct(r,t){return r==null?t:K(r)?r:Be(r)||ch(r)?r+"":t}function Aw(r){process.env.NODE_ENV!=="production"&&it("`"+r+"` is invalid id or name. Must be a string or number.")}function Mw(r){return ch(r)||Ig(r)}function Ng(r){var t=r.name;return!!(t&&t.indexOf(Sw))}function Hs(r){return r&&r.id!=null&&Iu(r.id).indexOf(Cw)===0}function uJ(r){return Cw+r}function cJ(r,t,e){M(r,function(n){var a=n.newOption;oe(a)&&(n.keyInfo.mainType=t,n.keyInfo.subType=fJ(t,a,n.existing,e))})}function fJ(r,t,e,n){var a=t.type?t.type:e?e.subType:n.determineSubType(r,t);return a}function hJ(r,t){var e={},n={};return a(r||[],e),a(t||[],n,e),[i(e),i(n)];function a(o,s,l){for(var u=0,c=o.length;u<c;u++){var f=Ct(o[u].seriesId,null);if(f==null)return;for(var h=je(o[u].dataIndex),p=l&&l[f],v=0,m=h.length;v<m;v++){var g=h[v];p&&p[g]?p[g]=null:(s[f]||(s[f]={}))[g]=1}}}function i(o,s){var l=[];for(var u in o)if(o.hasOwnProperty(u)&&o[u]!=null)if(s)l.push(+u);else{var c=i(o[u],!0);c.length&&l.push({seriesId:u,dataIndex:c})}return l}}function ao(r,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return U(t.dataIndex)?Y(t.dataIndex,function(e){return r.indexOfRawIndex(e)}):r.indexOfRawIndex(t.dataIndex);if(t.name!=null)return U(t.name)?Y(t.name,function(e){return r.indexOfName(e)}):r.indexOfName(t.name)}function Ne(){var r="__ec_inner_"+pJ++;return function(t){return t[r]||(t[r]={})}}var pJ=_w();function Nu(r,t,e){var n=Pg(t,e),a=n.mainTypeSpecified,i=n.queryOptionMap,o=n.others,s=o,l=e?e.defaultMainType:null;return!a&&l&&i.set(l,{}),i.each(function(u,c){var f=Pu(r,c,u,{useDefault:l===c,enableAll:e&&e.enableAll!=null?e.enableAll:!0,enableNone:e&&e.enableNone!=null?e.enableNone:!0});s[c+"Models"]=f.models,s[c+"Model"]=f.models[0]}),s}function Pg(r,t){var e;if(K(r)){var n={};n[r+"Index"]=0,e=n}else e=r;var a=ne(),i={},o=!1;return M(e,function(s,l){if(l==="dataIndex"||l==="dataIndexInside"){i[l]=s;return}var u=l.match(/^(\w+)(Index|Id|Name)$/)||[],c=u[1],f=(u[2]||"").toLowerCase();if(!(!c||!f||t&&t.includeMainTypes&&xe(t.includeMainTypes,c)<0)){o=o||!!c;var h=a.get(c)||a.set(c,{});h[f]=s}}),{mainTypeSpecified:o,queryOptionMap:a,others:i}}var yt={useDefault:!0,enableAll:!1,enableNone:!1},dJ={useDefault:!1,enableAll:!0,enableNone:!0};function Pu(r,t,e,n){n=n||yt;var a=e.index,i=e.id,o=e.name,s={models:null,specified:a!=null||i!=null||o!=null};if(!s.specified){var l=void 0;return s.models=n.useDefault&&(l=r.getComponent(t))?[l]:[],s}return a==="none"||a===!1?(se(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(a==="all"&&(se(n.enableAll,'`"all"` is not a valid value on index option.'),a=i=o=null),s.models=r.queryComponents({mainType:t,index:a,id:i,name:o}),s)}function kw(r,t,e){r.setAttribute?r.setAttribute(t,e):r[t]=e}function vJ(r,t){return r.getAttribute?r.getAttribute(t):r[t]}function gJ(r){return r==="auto"?Ee.domSupported?"html":"richText":r||"html"}function Vg(r,t){var e=ne(),n=[];return M(r,function(a){var i=t(a);(e.get(i)||(n.push(i),e.set(i,[]))).push(a)}),{keys:n,buckets:e}}function Lw(r,t,e,n,a){var i=t==null||t==="auto";if(n==null)return n;if(Be(n)){var o=bw(e||0,n,a);return ut(o,i?Math.max(zn(e||0),zn(n)):t)}else{if(K(n))return a<1?e:n;for(var s=[],l=e,u=n,c=Math.max(l?l.length:0,u.length),f=0;f<c;++f){var h=r.getDimensionInfo(f);if(h&&h.type==="ordinal")s[f]=(a<1&&l?l:u)[f];else{var p=l&&l[f]?l[f]:0,v=u[f],o=bw(p,v,a);s[f]=ut(o,i?Math.max(zn(p),zn(v)):t)}}return s}}var mJ=".",io="___EC__COMPONENT__CONTAINER___",Iw="___EC__EXTENDED_CLASS___";function Fn(r){var t={main:"",sub:""};if(r){var e=r.split(mJ);t.main=e[0]||"",t.sub=e[1]||""}return t}function _J(r){se(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(r),'componentType "'+r+'" illegal')}function yJ(r){return!!(r&&r[Iw])}function Bg(r,t){r.$constructor=r,r.extend=function(e){process.env.NODE_ENV!=="production"&&M(t,function(i){e[i]||console.warn("Method `"+i+"` should be implemented"+(e.type?" in "+e.type:"")+".")});var n=this,a;return wJ(n)?a=function(i){F(o,i);function o(){return i.apply(this,arguments)||this}return o}(n):(a=function(){(e.$constructor||n).apply(this,arguments)},CZ(a,this)),G(a.prototype,e),a[Iw]=!0,a.extend=this.extend,a.superCall=SJ,a.superApply=CJ,a.superClass=n,a}}function wJ(r){return ae(r)&&/^class\s/.test(Function.prototype.toString.call(r))}function Nw(r,t){r.extend=t.extend}var xJ=Math.round(Math.random()*10);function bJ(r){var t=["__\0is_clz",xJ++].join("_");r.prototype[t]=!0,process.env.NODE_ENV!=="production"&&se(!r.isInstance,'The method "is" can not be defined.'),r.isInstance=function(e){return!!(e&&e[t])}}function SJ(r,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return this.superClass.prototype[t].apply(r,e)}function CJ(r,t,e){return this.superClass.prototype[t].apply(r,e)}function Wh(r){var t={};r.registerClass=function(n){var a=n.type||n.prototype.type;if(a){_J(a),n.prototype.type=a;var i=Fn(a);if(!i.sub)process.env.NODE_ENV!=="production"&&t[i.main]&&console.warn(i.main+" exists."),t[i.main]=n;else if(i.sub!==io){var o=e(i);o[i.sub]=n}}return n},r.getClass=function(n,a,i){var o=t[n];if(o&&o[io]&&(o=a?o[a]:null),i&&!o)throw new Error(a?"Component "+n+"."+(a||"")+" is used but not imported.":n+".type should be specified.");return o},r.getClassesByMainType=function(n){var a=Fn(n),i=[],o=t[a.main];return o&&o[io]?M(o,function(s,l){l!==io&&i.push(s)}):i.push(o),i},r.hasClass=function(n){var a=Fn(n);return!!t[a.main]},r.getAllClassMainTypes=function(){var n=[];return M(t,function(a,i){n.push(i)}),n},r.hasSubTypes=function(n){var a=Fn(n),i=t[a.main];return i&&i[io]};function e(n){var a=t[n.main];return(!a||!a[io])&&(a=t[n.main]={},a[io]=!0),a}}function oo(r,t){for(var e=0;e<r.length;e++)r[e][1]||(r[e][1]=r[e][0]);return t=t||!1,function(n,a,i){for(var o={},s=0;s<r.length;s++){var l=r[s][1];if(!(a&&xe(a,l)>=0||i&&xe(i,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[r[s][0]]=u)}}return o}}var EJ=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],TJ=oo(EJ),DJ=function(){function r(){}return r.prototype.getAreaStyle=function(t,e){return TJ(this,t,e)},r}(),Og=new xu(50);function AJ(r){if(typeof r=="string"){var t=Og.get(r);return t&&t.image}else return r}function Rg(r,t,e,n,a){if(r)if(typeof r=="string"){if(t&&t.__zrImageSrc===r||!e)return t;var i=Og.get(r),o={hostEl:e,cb:n,cbPayload:a};return i?(t=i.image,!Uh(t)&&i.pending.push(o)):(t=Wa.loadImage(r,Pw,Pw),t.__zrImageSrc=r,Og.put(r,t.__cachedImgObj={image:t,pending:[o]})),t}else return r;else return t}function Pw(){var r=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<r.pending.length;t++){var e=r.pending[t],n=e.cb;n&&n(this,e.cbPayload),e.hostEl.dirty()}r.pending.length=0}function Uh(r){return r&&r.width&&r.height}var zg=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function MJ(r,t,e,n,a,i){if(!e){r.text="",r.isTruncated=!1;return}var o=(t+"").split(`
|
|
65
|
-
`);i=Vw(e,n,a,i);for(var s=!1,l={},u=0,c=o.length;u<c;u++)Bw(l,o[u],i),o[u]=l.textLine,s=s||l.isTruncated;r.text=o.join(`
|
|
66
|
-
`),r.isTruncated=s}function Vw(r,t,e,n){n=n||{};var a=G({},n);a.font=t,e=ve(e,"..."),a.maxIterations=ve(n.maxIterations,2);var i=a.minChar=ve(n.minChar,0);a.cnCharWidth=Mr("国",t);var o=a.ascCharWidth=Mr("a",t);a.placeholder=ve(n.placeholder,"");for(var s=r=Math.max(0,r-1),l=0;l<i&&s>=o;l++)s-=o;var u=Mr(e,t);return u>s&&(e="",u=0),s=r-u,a.ellipsis=e,a.ellipsisWidth=u,a.contentWidth=s,a.containerWidth=r,a}function Bw(r,t,e){var n=e.containerWidth,a=e.font,i=e.contentWidth;if(!n){r.textLine="",r.isTruncated=!1;return}var o=Mr(t,a);if(o<=n){r.textLine=t,r.isTruncated=!1;return}for(var s=0;;s++){if(o<=i||s>=e.maxIterations){t+=e.ellipsis;break}var l=s===0?kJ(t,i,e.ascCharWidth,e.cnCharWidth):o>0?Math.floor(t.length*i/o):0;t=t.substr(0,l),o=Mr(t,a)}t===""&&(t=e.placeholder),r.textLine=t,r.isTruncated=!0}function kJ(r,t,e,n){for(var a=0,i=0,o=r.length;i<o&&a<t;i++){var s=r.charCodeAt(i);a+=0<=s&&s<=127?e:n}return i}function LJ(r,t){r!=null&&(r+="");var e=t.overflow,n=t.padding,a=t.font,i=e==="truncate",o=zh(a),s=ve(t.lineHeight,o),l=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=!1,f=t.width,h;f!=null&&(e==="break"||e==="breakAll")?h=r?Rw(r,t.font,f,e==="breakAll",0).lines:[]:h=r?r.split(`
|
|
67
|
-
`):[];var p=h.length*s,v=ve(t.height,p);if(p>v&&u){var m=Math.floor(v/s);c=c||h.length>m,h=h.slice(0,m)}if(r&&i&&f!=null)for(var g=Vw(f,a,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),_={},y=0;y<h.length;y++)Bw(_,h[y],g),h[y]=_.textLine,c=c||_.isTruncated;for(var w=v,x=0,y=0;y<h.length;y++)x=Math.max(Mr(h[y],a),x);f==null&&(f=x);var b=x;return n&&(w+=n[0]+n[2],b+=n[1]+n[3],f+=n[1]+n[3]),l&&(b=f),{lines:h,height:v,outerWidth:b,outerHeight:w,lineHeight:s,calculatedLineHeight:o,contentWidth:x,contentHeight:p,width:f,isTruncated:c}}var IJ=function(){function r(){}return r}(),Ow=function(){function r(t){this.tokens=[],t&&(this.tokens=t)}return r}(),NJ=function(){function r(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return r}();function PJ(r,t){var e=new NJ;if(r!=null&&(r+=""),!r)return e;for(var n=t.width,a=t.height,i=t.overflow,o=(i==="break"||i==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:i==="breakAll"}:null,s=zg.lastIndex=0,l;(l=zg.exec(r))!=null;){var u=l.index;u>s&&Hg(e,r.substring(s,u),t,o),Hg(e,l[2],t,o,l[1]),s=zg.lastIndex}s<r.length&&Hg(e,r.substring(s,r.length),t,o);var c=[],f=0,h=0,p=t.padding,v=i==="truncate",m=t.lineOverflow==="truncate",g={};function _(R,z,H){R.width=z,R.lineHeight=H,f+=H,h=Math.max(h,z)}e:for(var y=0;y<e.lines.length;y++){for(var w=e.lines[y],x=0,b=0,S=0;S<w.tokens.length;S++){var C=w.tokens[S],D=C.styleName&&t.rich[C.styleName]||{},T=C.textPadding=D.padding,E=T?T[1]+T[3]:0,A=C.font=D.font||t.font;C.contentHeight=zh(A);var k=ve(D.height,C.contentHeight);if(C.innerHeight=k,T&&(k+=T[0]+T[2]),C.height=k,C.lineHeight=Or(D.lineHeight,t.lineHeight,k),C.align=D&&D.align||t.align,C.verticalAlign=D&&D.verticalAlign||"middle",m&&a!=null&&f+C.lineHeight>a){var I=e.lines.length;S>0?(w.tokens=w.tokens.slice(0,S),_(w,b,x),e.lines=e.lines.slice(0,y+1)):e.lines=e.lines.slice(0,y),e.isTruncated=e.isTruncated||e.lines.length<I;break e}var L=D.width,N=L==null||L==="auto";if(typeof L=="string"&&L.charAt(L.length-1)==="%")C.percentWidth=L,c.push(C),C.contentWidth=Mr(C.text,A);else{if(N){var P=D.backgroundColor,V=P&&P.image;V&&(V=AJ(V),Uh(V)&&(C.width=Math.max(C.width,V.width*k/V.height)))}var O=v&&n!=null?n-b:null;O!=null&&O<C.width?!N||O<E?(C.text="",C.width=C.contentWidth=0):(MJ(g,C.text,O-E,A,t.ellipsis,{minChar:t.truncateMinChar}),C.text=g.text,e.isTruncated=e.isTruncated||g.isTruncated,C.width=C.contentWidth=Mr(C.text,A)):C.contentWidth=Mr(C.text,A)}C.width+=E,b+=C.width,D&&(x=Math.max(x,C.lineHeight))}_(w,b,x)}e.outerWidth=e.width=ve(n,h),e.outerHeight=e.height=ve(a,f),e.contentHeight=f,e.contentWidth=h,p&&(e.outerWidth+=p[1]+p[3],e.outerHeight+=p[0]+p[2]);for(var y=0;y<c.length;y++){var C=c[y],B=C.percentWidth;C.width=parseInt(B,10)/100*e.width}return e}function Hg(r,t,e,n,a){var i=t==="",o=a&&e.rich[a]||{},s=r.lines,l=o.font||e.font,u=!1,c,f;if(n){var h=o.padding,p=h?h[1]+h[3]:0;if(o.width!=null&&o.width!=="auto"){var v=gn(o.width,n.width)+p;s.length>0&&v+n.accumWidth>n.width&&(c=t.split(`
|
|
68
|
-
`),u=!0),n.accumWidth=v}else{var m=Rw(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=m.accumWidth+p,f=m.linesWidths,c=m.lines}}else c=t.split(`
|
|
69
|
-
`);for(var g=0;g<c.length;g++){var _=c[g],y=new IJ;if(y.styleName=a,y.text=_,y.isLineHolder=!_&&!i,typeof o.width=="number"?y.width=o.width:y.width=f?f[g]:Mr(_,l),!g&&!u){var w=(s[s.length-1]||(s[0]=new Ow)).tokens,x=w.length;x===1&&w[0].isLineHolder?w[0]=y:(_||!x||i)&&w.push(y)}else s.push(new Ow([y]))}}function VJ(r){var t=r.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var BJ=Pn(",&?/;] ".split(""),function(r,t){return r[t]=!0,r},{});function OJ(r){return VJ(r)?!!BJ[r]:!0}function Rw(r,t,e,n,a){for(var i=[],o=[],s="",l="",u=0,c=0,f=0;f<r.length;f++){var h=r.charAt(f);if(h===`
|
|
70
|
-
`){l&&(s+=l,c+=u),i.push(s),o.push(c),s="",l="",u=0,c=0;continue}var p=Mr(h,t),v=n?!1:!OJ(h);if(i.length?c+p>e:a+c+p>e){c?(s||l)&&(v?(s||(s=l,l="",u=0,c=u),i.push(s),o.push(c-u),l+=h,u+=p,s="",c=u):(l&&(s+=l,l="",u=0),i.push(s),o.push(c),s=h,c=p)):v?(i.push(l),o.push(u),l=h,u=p):(i.push(h),o.push(p));continue}c+=p,v?(l+=h,u+=p):(l&&(s+=l,l="",u=0),s+=h)}return!i.length&&!s&&(s=r,l="",u=0),l&&(s+=l),s&&(i.push(s),o.push(c)),i.length===1&&(c+=a),{accumWidth:c,lines:i,linesWidths:o}}var Fg="__zr_style_"+Math.round(Math.random()*10),so={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Yh={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};so[Fg]=!0;var zw=["z","z2","invisible"],RJ=["invisible"],$r=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype._init=function(e){for(var n=Me(e),a=0;a<n.length;a++){var i=n[a];i==="style"?this.useStyle(e[i]):r.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(e,n,a,i){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&zJ(this,e,n)||o&&!o[0]&&!o[3])return!1;if(a&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(i&&this.parent)for(var l=this.parent;l;){if(l.ignore)return!1;l=l.parent}return!0},t.prototype.contain=function(e,n){return this.rectContain(e,n)},t.prototype.traverse=function(e,n){e.call(n,this)},t.prototype.rectContain=function(e,n){var a=this.transformCoordToLocal(e,n),i=this.getBoundingRect();return i.contain(a[0],a[1])},t.prototype.getPaintRect=function(){var e=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,a=this.getBoundingRect(),i=this.style,o=i.shadowBlur||0,s=i.shadowOffsetX||0,l=i.shadowOffsetY||0;e=this._paintRect||(this._paintRect=new we(0,0,0,0)),n?we.applyTransform(e,a,n):e.copy(a),(o||s||l)&&(e.width+=o*2+Math.abs(s),e.height+=o*2+Math.abs(l),e.x=Math.min(e.x,e.x+s-o),e.y=Math.min(e.y,e.y+l-o));var u=this.dirtyRectTolerance;e.isZero()||(e.x=Math.floor(e.x-u),e.y=Math.floor(e.y-u),e.width=Math.ceil(e.width+1+u*2),e.height=Math.ceil(e.height+1+u*2))}return e},t.prototype.setPrevPaintRect=function(e){e?(this._prevPaintRect=this._prevPaintRect||new we(0,0,0,0),this._prevPaintRect.copy(e)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(e){return this.animate("style",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(e,n){e!=="style"?r.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(e,n){return typeof e=="string"?this.style[e]=n:G(this.style,e),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(e){e||this.markRedraw(),this.__dirty|=xh,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&xh)},t.prototype.styleUpdated=function(){this.__dirty&=-3},t.prototype.createStyle=function(e){return ph(so,e)},t.prototype.useStyle=function(e){e[Fg]||(e=this.createStyle(e)),this.__inHover?this.__hoverStyle=e:this.style=e,this.dirtyStyle()},t.prototype.isStyleObject=function(e){return e[Fg]},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,zw)},t.prototype._applyStateObj=function(e,n,a,i,o,s){r.prototype._applyStateObj.call(this,e,n,a,i,o,s);var l=!(n&&i),u;if(n&&n.style?o?i?u=n.style:(u=this._mergeStyle(this.createStyle(),a.style),this._mergeStyle(u,n.style)):(u=this._mergeStyle(this.createStyle(),i?this.style:a.style),this._mergeStyle(u,n.style)):l&&(u=a.style),u)if(o){var c=this.style;if(this.style=this.createStyle(l?{}:c),l)for(var f=Me(c),h=0;h<f.length;h++){var p=f[h];p in u&&(u[p]=u[p],this.style[p]=c[p])}for(var v=Me(u),h=0;h<v.length;h++){var p=v[h];this.style[p]=this.style[p]}this._transitionState(e,{style:u},s,this.getAnimationStyleProps())}else this.useStyle(u);for(var m=this.__inHover?RJ:zw,h=0;h<m.length;h++){var p=m[h];n&&n[p]!=null?this[p]=n[p]:l&&a[p]!=null&&(this[p]=a[p])}},t.prototype._mergeStates=function(e){for(var n=r.prototype._mergeStates.call(this,e),a,i=0;i<e.length;i++){var o=e[i];o.style&&(a=a||{},this._mergeStyle(a,o.style))}return a&&(n.style=a),n},t.prototype._mergeStyle=function(e,n){return G(e,n),e},t.prototype.getAnimationStyleProps=function(){return Yh},t.initDefaultProps=function(){var e=t.prototype;e.type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=Bn|xh}(),t}(Fh),Gg=new we(0,0,0,0),$g=new we(0,0,0,0);function zJ(r,t,e){return Gg.copy(r.getBoundingRect()),r.transform&&Gg.applyTransform(r.transform),$g.width=t,$g.height=e,!Gg.intersect($g)}var wr=Math.min,xr=Math.max,Wg=Math.sin,Ug=Math.cos,lo=Math.PI*2,jh=Yi(),Xh=Yi(),qh=Yi();function Zh(r,t,e){if(r.length!==0){for(var n=r[0],a=n[0],i=n[0],o=n[1],s=n[1],l=1;l<r.length;l++)n=r[l],a=wr(a,n[0]),i=xr(i,n[0]),o=wr(o,n[1]),s=xr(s,n[1]);t[0]=a,t[1]=o,e[0]=i,e[1]=s}}function Hw(r,t,e,n,a,i){a[0]=wr(r,e),a[1]=wr(t,n),i[0]=xr(r,e),i[1]=xr(t,n)}var Fw=[],Gw=[];function HJ(r,t,e,n,a,i,o,s,l,u){var c=B8,f=Tt,h=c(r,e,a,o,Fw);l[0]=1/0,l[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var p=0;p<h;p++){var v=f(r,e,a,o,Fw[p]);l[0]=wr(v,l[0]),u[0]=xr(v,u[0])}h=c(t,n,i,s,Gw);for(var p=0;p<h;p++){var m=f(t,n,i,s,Gw[p]);l[1]=wr(m,l[1]),u[1]=xr(m,u[1])}l[0]=wr(r,l[0]),u[0]=xr(r,u[0]),l[0]=wr(o,l[0]),u[0]=xr(o,u[0]),l[1]=wr(t,l[1]),u[1]=xr(t,u[1]),l[1]=wr(s,l[1]),u[1]=xr(s,u[1])}function FJ(r,t,e,n,a,i,o,s){var l=R8,u=Pt,c=xr(wr(l(r,e,a),1),0),f=xr(wr(l(t,n,i),1),0),h=u(r,e,a,c),p=u(t,n,i,f);o[0]=wr(r,a,h),o[1]=wr(t,i,p),s[0]=xr(r,a,h),s[1]=xr(t,i,p)}function GJ(r,t,e,n,a,i,o,s,l){var u=Ya,c=ja,f=Math.abs(a-i);if(f%lo<1e-4&&f>1e-4){s[0]=r-e,s[1]=t-n,l[0]=r+e,l[1]=t+n;return}if(jh[0]=Ug(a)*e+r,jh[1]=Wg(a)*n+t,Xh[0]=Ug(i)*e+r,Xh[1]=Wg(i)*n+t,u(s,jh,Xh),c(l,jh,Xh),a=a%lo,a<0&&(a=a+lo),i=i%lo,i<0&&(i=i+lo),a>i&&!o?i+=lo:a<i&&o&&(a+=lo),o){var h=i;i=a,a=h}for(var p=0;p<i;p+=Math.PI/2)p>a&&(qh[0]=Ug(p)*e+r,qh[1]=Wg(p)*n+t,u(s,qh,s),c(l,qh,l))}var qe={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},uo=[],co=[],Gn=[],Qa=[],$n=[],Wn=[],Yg=Math.min,jg=Math.max,fo=Math.cos,ho=Math.sin,ya=Math.abs,Xg=Math.PI,ei=Xg*2,qg=typeof Float32Array<"u",Vu=[];function Zg(r){var t=Math.round(r/Xg*1e8)/1e8;return t%2*Xg}function Kg(r,t){var e=Zg(r[0]);e<0&&(e+=ei);var n=e-r[0],a=r[1];a+=n,!t&&a-e>=ei?a=e+ei:t&&e-a>=ei?a=e-ei:!t&&e>a?a=e+(ei-Zg(e-a)):t&&e<a&&(a=e-(ei-Zg(a-e))),r[0]=e,r[1]=a}var Un=function(){function r(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 r.prototype.increaseVersion=function(){this._version++},r.prototype.getVersion=function(){return this._version},r.prototype.setScale=function(t,e,n){n=n||0,n>0&&(this._ux=ya(n/Rh/t)||0,this._uy=ya(n/Rh/e)||0)},r.prototype.setDPR=function(t){this.dpr=t},r.prototype.setContext=function(t){this._ctx=t},r.prototype.getContext=function(){return this._ctx},r.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},r.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},r.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(qe.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},r.prototype.lineTo=function(t,e){var n=ya(t-this._xi),a=ya(e-this._yi),i=n>this._ux||a>this._uy;if(this.addData(qe.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+a*a;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},r.prototype.bezierCurveTo=function(t,e,n,a,i,o){return this._drawPendingPt(),this.addData(qe.C,t,e,n,a,i,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,a,i,o),this._xi=i,this._yi=o,this},r.prototype.quadraticCurveTo=function(t,e,n,a){return this._drawPendingPt(),this.addData(qe.Q,t,e,n,a),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,a),this._xi=n,this._yi=a,this},r.prototype.arc=function(t,e,n,a,i,o){this._drawPendingPt(),Vu[0]=a,Vu[1]=i,Kg(Vu,o),a=Vu[0],i=Vu[1];var s=i-a;return this.addData(qe.A,t,e,n,n,a,s,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,a,i,o),this._xi=fo(i)*n+t,this._yi=ho(i)*n+e,this},r.prototype.arcTo=function(t,e,n,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,a,i),this},r.prototype.rect=function(t,e,n,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,a),this.addData(qe.R,t,e,n,a),this},r.prototype.closePath=function(){this._drawPendingPt(),this.addData(qe.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},r.prototype.fill=function(t){t&&t.fill(),this.toStatic()},r.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},r.prototype.len=function(){return this._len},r.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&qg&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},r.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,a=this._len,i=0;i<e;i++)n+=t[i].len();qg&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+n));for(var i=0;i<e;i++)for(var o=t[i].data,s=0;s<o.length;s++)this.data[a++]=o[s];this._len=a},r.prototype.addData=function(t,e,n,a,i,o,s,l,u){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]}},r.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},r.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},r.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,qg&&this._len>11&&(this.data=new Float32Array(t)))}},r.prototype.getBoundingRect=function(){Gn[0]=Gn[1]=$n[0]=$n[1]=Number.MAX_VALUE,Qa[0]=Qa[1]=Wn[0]=Wn[1]=-Number.MAX_VALUE;var t=this.data,e=0,n=0,a=0,i=0,o;for(o=0;o<this._len;){var s=t[o++],l=o===1;switch(l&&(e=t[o],n=t[o+1],a=e,i=n),s){case qe.M:e=a=t[o++],n=i=t[o++],$n[0]=a,$n[1]=i,Wn[0]=a,Wn[1]=i;break;case qe.L:Hw(e,n,t[o],t[o+1],$n,Wn),e=t[o++],n=t[o++];break;case qe.C:HJ(e,n,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],$n,Wn),e=t[o++],n=t[o++];break;case qe.Q:FJ(e,n,t[o++],t[o++],t[o],t[o+1],$n,Wn),e=t[o++],n=t[o++];break;case qe.A:var u=t[o++],c=t[o++],f=t[o++],h=t[o++],p=t[o++],v=t[o++]+p;o+=1;var m=!t[o++];l&&(a=fo(p)*f+u,i=ho(p)*h+c),GJ(u,c,f,h,p,v,m,$n,Wn),e=fo(v)*f+u,n=ho(v)*h+c;break;case qe.R:a=e=t[o++],i=n=t[o++];var g=t[o++],_=t[o++];Hw(a,i,a+g,i+_,$n,Wn);break;case qe.Z:e=a,n=i;break}Ya(Gn,Gn,$n),ja(Qa,Qa,Wn)}return o===0&&(Gn[0]=Gn[1]=Qa[0]=Qa[1]=0),new we(Gn[0],Gn[1],Qa[0]-Gn[0],Qa[1]-Gn[1])},r.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,a=this._uy,i=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,f=0,h=0;h<e;){var p=t[h++],v=h===1;v&&(i=t[h],o=t[h+1],s=i,l=o);var m=-1;switch(p){case qe.M:i=s=t[h++],o=l=t[h++];break;case qe.L:{var g=t[h++],_=t[h++],y=g-i,w=_-o;(ya(y)>n||ya(w)>a||h===e-1)&&(m=Math.sqrt(y*y+w*w),i=g,o=_);break}case qe.C:{var x=t[h++],b=t[h++],g=t[h++],_=t[h++],S=t[h++],C=t[h++];m=nK(i,o,x,b,g,_,S,C,10),i=S,o=C;break}case qe.Q:{var x=t[h++],b=t[h++],g=t[h++],_=t[h++];m=iK(i,o,x,b,g,_,10),i=g,o=_;break}case qe.A:var D=t[h++],T=t[h++],E=t[h++],A=t[h++],k=t[h++],I=t[h++],L=I+k;h+=1,v&&(s=fo(k)*E+D,l=ho(k)*A+T),m=jg(E,A)*Yg(ei,Math.abs(I)),i=fo(L)*E+D,o=ho(L)*A+T;break;case qe.R:{s=i=t[h++],l=o=t[h++];var N=t[h++],P=t[h++];m=N*2+P*2;break}case qe.Z:{var y=s-i,w=l-o;m=Math.sqrt(y*y+w*w),i=s,o=l;break}}m>=0&&(u[f++]=m,c+=m)}return this._pathLen=c,c},r.prototype.rebuildPath=function(t,e){var n=this.data,a=this._ux,i=this._uy,o=this._len,s,l,u,c,f,h,p=e<1,v,m,g=0,_=0,y,w=0,x,b;if(!(p&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,m=this._pathLen,y=e*m,!y)))e:for(var S=0;S<o;){var C=n[S++],D=S===1;switch(D&&(u=n[S],c=n[S+1],s=u,l=c),C!==qe.L&&w>0&&(t.lineTo(x,b),w=0),C){case qe.M:s=u=n[S++],l=c=n[S++],t.moveTo(u,c);break;case qe.L:{f=n[S++],h=n[S++];var T=ya(f-u),E=ya(h-c);if(T>a||E>i){if(p){var A=v[_++];if(g+A>y){var k=(y-g)/A;t.lineTo(u*(1-k)+f*k,c*(1-k)+h*k);break e}g+=A}t.lineTo(f,h),u=f,c=h,w=0}else{var I=T*T+E*E;I>w&&(x=f,b=h,w=I)}break}case qe.C:{var L=n[S++],N=n[S++],P=n[S++],V=n[S++],O=n[S++],B=n[S++];if(p){var A=v[_++];if(g+A>y){var k=(y-g)/A;Za(u,L,P,O,k,uo),Za(c,N,V,B,k,co),t.bezierCurveTo(uo[1],co[1],uo[2],co[2],uo[3],co[3]);break e}g+=A}t.bezierCurveTo(L,N,P,V,O,B),u=O,c=B;break}case qe.Q:{var L=n[S++],N=n[S++],P=n[S++],V=n[S++];if(p){var A=v[_++];if(g+A>y){var k=(y-g)/A;wu(u,L,P,k,uo),wu(c,N,V,k,co),t.quadraticCurveTo(uo[1],co[1],uo[2],co[2]);break e}g+=A}t.quadraticCurveTo(L,N,P,V),u=P,c=V;break}case qe.A:var R=n[S++],z=n[S++],H=n[S++],$=n[S++],X=n[S++],j=n[S++],fe=n[S++],De=!n[S++],ie=H>$?H:$,re=ya(H-$)>.001,le=X+j,Q=!1;if(p){var A=v[_++];g+A>y&&(le=X+j*(y-g)/A,Q=!0),g+=A}if(re&&t.ellipse?t.ellipse(R,z,H,$,fe,X,le,De):t.arc(R,z,ie,X,le,De),Q)break e;D&&(s=fo(X)*H+R,l=ho(X)*$+z),u=fo(le)*H+R,c=ho(le)*$+z;break;case qe.R:s=u=n[S],l=c=n[S+1],f=n[S++],h=n[S++];var ce=n[S++],Re=n[S++];if(p){var A=v[_++];if(g+A>y){var ze=y-g;t.moveTo(f,h),t.lineTo(f+Yg(ze,ce),h),ze-=ce,ze>0&&t.lineTo(f+ce,h+Yg(ze,Re)),ze-=Re,ze>0&&t.lineTo(f+jg(ce-ze,0),h+Re),ze-=ce,ze>0&&t.lineTo(f,h+jg(Re-ze,0));break e}g+=A}t.rect(f,h,ce,Re);break;case qe.Z:if(p){var A=v[_++];if(g+A>y){var k=(y-g)/A;t.lineTo(u*(1-k)+s*k,c*(1-k)+l*k);break e}g+=A}t.closePath(),u=s,c=l}}},r.prototype.clone=function(){var t=new r,e=this.data;return t.data=e.slice?e.slice():Array.prototype.slice.call(e),t._len=this._len,t},r.CMD=qe,r.initDefaultProps=function(){var t=r.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),r}();function ti(r,t,e,n,a,i,o){if(a===0)return!1;var s=a,l=0,u=r;if(o>t+s&&o>n+s||o<t-s&&o<n-s||i>r+s&&i>e+s||i<r-s&&i<e-s)return!1;if(r!==e)l=(t-n)/(r-e),u=(r*n-e*t)/(r-e);else return Math.abs(i-r)<=s/2;var c=l*i-o+u,f=c*c/(l*l+1);return f<=s/2*s/2}function $J(r,t,e,n,a,i,o,s,l,u,c){if(l===0)return!1;var f=l;if(c>t+f&&c>n+f&&c>i+f&&c>s+f||c<t-f&&c<n-f&&c<i-f&&c<s-f||u>r+f&&u>e+f&&u>a+f&&u>o+f||u<r-f&&u<e-f&&u<a-f&&u<o-f)return!1;var h=O8(r,t,e,n,a,i,o,s,u,c,null);return h<=f/2}function $w(r,t,e,n,a,i,o,s,l){if(o===0)return!1;var u=o;if(l>t+u&&l>n+u&&l>i+u||l<t-u&&l<n-u&&l<i-u||s>r+u&&s>e+u&&s>a+u||s<r-u&&s<e-u&&s<a-u)return!1;var c=z8(r,t,e,n,a,i,s,l,null);return c<=u/2}var Ww=Math.PI*2;function kr(r){return r%=Ww,r<0&&(r+=Ww),r}var Bu=Math.PI*2;function WJ(r,t,e,n,a,i,o,s,l){if(o===0)return!1;var u=o;s-=r,l-=t;var c=Math.sqrt(s*s+l*l);if(c-u>e||c+u<e)return!1;if(Math.abs(n-a)%Bu<1e-4)return!0;if(i){var f=n;n=kr(a),a=kr(f)}else n=kr(n),a=kr(a);n>a&&(a+=Bu);var h=Math.atan2(l,s);return h<0&&(h+=Bu),h>=n&&h<=a||h+Bu>=n&&h+Bu<=a}function wa(r,t,e,n,a,i){if(i>t&&i>n||i<t&&i<n||n===t)return 0;var o=(i-t)/(n-t),s=n<t?1:-1;(o===1||o===0)&&(s=n<t?.5:-.5);var l=o*(e-r)+r;return l===a?1/0:l>a?s:0}var ri=Un.CMD,po=Math.PI*2,UJ=1e-4;function YJ(r,t){return Math.abs(r-t)<UJ}var sr=[-1,-1,-1],Wr=[-1,-1];function jJ(){var r=Wr[0];Wr[0]=Wr[1],Wr[1]=r}function XJ(r,t,e,n,a,i,o,s,l,u){if(u>t&&u>n&&u>i&&u>s||u<t&&u<n&&u<i&&u<s)return 0;var c=Eh(t,n,i,s,u,sr);if(c===0)return 0;for(var f=0,h=-1,p=void 0,v=void 0,m=0;m<c;m++){var g=sr[m],_=g===0||g===1?.5:1,y=Tt(r,e,a,o,g);y<l||(h<0&&(h=B8(t,n,i,s,Wr),Wr[1]<Wr[0]&&h>1&&jJ(),p=Tt(t,n,i,s,Wr[0]),h>1&&(v=Tt(t,n,i,s,Wr[1]))),h===2?g<Wr[0]?f+=p<t?_:-_:g<Wr[1]?f+=v<p?_:-_:f+=s<v?_:-_:g<Wr[0]?f+=p<t?_:-_:f+=s<p?_:-_)}return f}function qJ(r,t,e,n,a,i,o,s){if(s>t&&s>n&&s>i||s<t&&s<n&&s<i)return 0;var l=aK(t,n,i,s,sr);if(l===0)return 0;var u=R8(t,n,i);if(u>=0&&u<=1){for(var c=0,f=Pt(t,n,i,u),h=0;h<l;h++){var p=sr[h]===0||sr[h]===1?.5:1,v=Pt(r,e,a,sr[h]);v<o||(sr[h]<u?c+=f<t?p:-p:c+=i<f?p:-p)}return c}else{var p=sr[0]===0||sr[0]===1?.5:1,v=Pt(r,e,a,sr[0]);return v<o?0:i<t?p:-p}}function ZJ(r,t,e,n,a,i,o,s){if(s-=t,s>e||s<-e)return 0;var l=Math.sqrt(e*e-s*s);sr[0]=-l,sr[1]=l;var u=Math.abs(n-a);if(u<1e-4)return 0;if(u>=po-1e-4){n=0,a=po;var c=i?1:-1;return o>=sr[0]+r&&o<=sr[1]+r?c:0}if(n>a){var f=n;n=a,a=f}n<0&&(n+=po,a+=po);for(var h=0,p=0;p<2;p++){var v=sr[p];if(v+r>o){var m=Math.atan2(s,v),c=i?1:-1;m<0&&(m=po+m),(m>=n&&m<=a||m+po>=n&&m+po<=a)&&(m>Math.PI/2&&m<Math.PI*1.5&&(c=-c),h+=c)}}return h}function Uw(r,t,e,n,a){for(var i=r.data,o=r.len(),s=0,l=0,u=0,c=0,f=0,h,p,v=0;v<o;){var m=i[v++],g=v===1;switch(m===ri.M&&v>1&&(e||(s+=wa(l,u,c,f,n,a))),g&&(l=i[v],u=i[v+1],c=l,f=u),m){case ri.M:c=i[v++],f=i[v++],l=c,u=f;break;case ri.L:if(e){if(ti(l,u,i[v],i[v+1],t,n,a))return!0}else s+=wa(l,u,i[v],i[v+1],n,a)||0;l=i[v++],u=i[v++];break;case ri.C:if(e){if($J(l,u,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],t,n,a))return!0}else s+=XJ(l,u,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],n,a)||0;l=i[v++],u=i[v++];break;case ri.Q:if(e){if($w(l,u,i[v++],i[v++],i[v],i[v+1],t,n,a))return!0}else s+=qJ(l,u,i[v++],i[v++],i[v],i[v+1],n,a)||0;l=i[v++],u=i[v++];break;case ri.A:var _=i[v++],y=i[v++],w=i[v++],x=i[v++],b=i[v++],S=i[v++];v+=1;var C=!!(1-i[v++]);h=Math.cos(b)*w+_,p=Math.sin(b)*x+y,g?(c=h,f=p):s+=wa(l,u,h,p,n,a);var D=(n-_)*x/w+_;if(e){if(WJ(_,y,x,b,b+S,C,t,D,a))return!0}else s+=ZJ(_,y,x,b,b+S,C,D,a);l=Math.cos(b+S)*w+_,u=Math.sin(b+S)*x+y;break;case ri.R:c=l=i[v++],f=u=i[v++];var T=i[v++],E=i[v++];if(h=c+T,p=f+E,e){if(ti(c,f,h,f,t,n,a)||ti(h,f,h,p,t,n,a)||ti(h,p,c,p,t,n,a)||ti(c,p,c,f,t,n,a))return!0}else s+=wa(h,f,h,p,n,a),s+=wa(c,p,c,f,n,a);break;case ri.Z:if(e){if(ti(l,u,c,f,t,n,a))return!0}else s+=wa(l,u,c,f,n,a);l=c,u=f;break}}return!e&&!YJ(u,f)&&(s+=wa(l,u,c,f,n,a)||0),s!==0}function KJ(r,t,e){return Uw(r,0,!1,t,e)}function JJ(r,t,e,n){return Uw(r,t,!0,e,n)}var Kh=ue({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},so),QJ={style:ue({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Yh.style)},Jg=Rn.concat(["invisible","culling","z","z2","zlevel","parent"]),Te=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.update=function(){var e=this;r.prototype.update.call(this);var n=this.style;if(n.decal){var a=this._decalEl=this._decalEl||new t;a.buildPath===t.prototype.buildPath&&(a.buildPath=function(l){e.buildPath(l,e.shape)}),a.silent=!0;var i=a.style;for(var o in n)i[o]!==n[o]&&(i[o]=n[o]);i.fill=n.fill?n.decal:null,i.decal=null,i.shadowColor=null,n.strokeFirst&&(i.stroke=null);for(var s=0;s<Jg.length;++s)a[Jg[s]]=this[Jg[s]];a.__dirty|=Bn}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(e){var n=Me(e);this.shape=this.getDefaultShape();var a=this.getDefaultStyle();a&&this.useStyle(a);for(var i=0;i<n.length;i++){var o=n[i],s=e[o];o==="style"?this.style?G(this.style,s):this.useStyle(s):o==="shape"?G(this.shape,s):r.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 e=this.style.fill;if(e!=="none"){if(K(e)){var n=Ah(e,0);return n>.5?xg:n>.2?NK:bg}else if(e)return bg}return xg},t.prototype.getInsideTextStroke=function(e){var n=this.style.fill;if(K(n)){var a=this.__zr,i=!!(a&&a.isDarkMode()),o=Ah(e,0)<wg;if(i===o)return n}},t.prototype.buildPath=function(e,n,a){},t.prototype.pathUpdated=function(){this.__dirty&=-5},t.prototype.getUpdatedPathProxy=function(e){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,e),this.path},t.prototype.createPathProxy=function(){this.path=new Un(!1)},t.prototype.hasStroke=function(){var e=this.style,n=e.stroke;return!(n==null||n==="none"||!(e.lineWidth>0))},t.prototype.hasFill=function(){var e=this.style,n=e.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var e=this._rect,n=this.style,a=!e;if(a){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||this.__dirty&_u)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),e=o.getBoundingRect()}if(this._rect=e,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=e.clone());if(this.__dirty||a){s.copy(e);var l=n.strokeNoScale?this.getLineScale():1,u=n.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c??4)}l>1e-10&&(s.width+=u/l,s.height+=u/l,s.x-=u/l/2,s.y-=u/l/2)}return s}return e},t.prototype.contain=function(e,n){var a=this.transformCoordToLocal(e,n),i=this.getBoundingRect(),o=this.style;if(e=a[0],n=a[1],i.contain(e,n)){var s=this.path;if(this.hasStroke()){var l=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(l=Math.max(l,this.strokeContainThreshold)),JJ(s,l/u,e,n)))return!0}if(this.hasFill())return KJ(s,e,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=_u,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(e){return this.animate("shape",e)},t.prototype.updateDuringAnimation=function(e){e==="style"?this.dirtyStyle():e==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(e,n){e==="shape"?this.setShape(n):r.prototype.attrKV.call(this,e,n)},t.prototype.setShape=function(e,n){var a=this.shape;return a||(a=this.shape={}),typeof e=="string"?a[e]=n:G(a,e),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&_u)},t.prototype.createStyle=function(e){return ph(Kh,e)},t.prototype._innerSaveToNormal=function(e){r.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=G({},this.shape))},t.prototype._applyStateObj=function(e,n,a,i,o,s){r.prototype._applyStateObj.call(this,e,n,a,i,o,s);var l=!(n&&i),u;if(n&&n.shape?o?i?u=n.shape:(u=G({},a.shape),G(u,n.shape)):(u=G({},i?this.shape:a.shape),G(u,n.shape)):l&&(u=a.shape),u)if(o){this.shape=G({},this.shape);for(var c={},f=Me(u),h=0;h<f.length;h++){var p=f[h];typeof u[p]=="object"?this.shape[p]=u[p]:c[p]=u[p]}this._transitionState(e,{shape:c},s)}else this.shape=u,this.dirtyShape()},t.prototype._mergeStates=function(e){for(var n=r.prototype._mergeStates.call(this,e),a,i=0;i<e.length;i++){var o=e[i];o.shape&&(a=a||{},this._mergeStyle(a,o.shape))}return a&&(n.shape=a),n},t.prototype.getAnimationStyleProps=function(){return QJ},t.prototype.isZeroArea=function(){return!1},t.extend=function(e){var n=function(i){et(o,i);function o(s){var l=i.call(this,s)||this;return e.init&&e.init.call(l,s),l}return o.prototype.getDefaultStyle=function(){return pe(e.style)},o.prototype.getDefaultShape=function(){return pe(e.shape)},o}(t);for(var a in e)typeof e[a]=="function"&&(n.prototype[a]=e[a]);return n},t.initDefaultProps=function(){var e=t.prototype;e.type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=Bn|xh|_u}(),t}($r),eQ=ue({strokeFirst:!0,font:$a,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},Kh),Fs=function(r){et(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var e=this.style,n=e.stroke;return n!=null&&n!=="none"&&e.lineWidth>0},t.prototype.hasFill=function(){var e=this.style,n=e.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(e){return ph(eQ,e)},t.prototype.setBoundingRect=function(e){this._rect=e},t.prototype.getBoundingRect=function(){var e=this.style;if(!this._rect){var n=e.text;n!=null?n+="":n="";var a=Au(n,e.font,e.textAlign,e.textBaseline);if(a.x+=e.x||0,a.y+=e.y||0,this.hasStroke()){var i=e.lineWidth;a.x-=i/2,a.y-=i/2,a.width+=i,a.height+=i}this._rect=a}return this._rect},t.initDefaultProps=function(){var e=t.prototype;e.dirtyRectTolerance=10}(),t}($r);Fs.prototype.type="tspan";var tQ=ue({x:0,y:0},so),rQ={style:ue({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Yh.style)};function nQ(r){return!!(r&&typeof r!="string"&&r.width&&r.height)}var Vt=function(r){et(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.createStyle=function(e){return ph(tQ,e)},t.prototype._getSize=function(e){var n=this.style,a=n[e];if(a!=null)return a;var i=nQ(n.image)?n.image:this.__image;if(!i)return 0;var o=e==="width"?"height":"width",s=n[o];return s==null?i[e]:i[e]/i[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return rQ},t.prototype.getBoundingRect=function(){var e=this.style;return this._rect||(this._rect=new we(e.x||0,e.y||0,this.getWidth(),this.getHeight())),this._rect},t}($r);Vt.prototype.type="image";function aQ(r,t){var e=t.x,n=t.y,a=t.width,i=t.height,o=t.r,s,l,u,c;a<0&&(e=e+a,a=-a),i<0&&(n=n+i,i=-i),typeof o=="number"?s=l=u=c=o:o instanceof Array?o.length===1?s=l=u=c=o[0]:o.length===2?(s=u=o[0],l=c=o[1]):o.length===3?(s=o[0],l=c=o[1],u=o[2]):(s=o[0],l=o[1],u=o[2],c=o[3]):s=l=u=c=0;var f;s+l>a&&(f=s+l,s*=a/f,l*=a/f),u+c>a&&(f=u+c,u*=a/f,c*=a/f),l+u>i&&(f=l+u,l*=i/f,u*=i/f),s+c>i&&(f=s+c,s*=i/f,c*=i/f),r.moveTo(e+s,n),r.lineTo(e+a-l,n),l!==0&&r.arc(e+a-l,n+l,l,-Math.PI/2,0),r.lineTo(e+a,n+i-u),u!==0&&r.arc(e+a-u,n+i-u,u,0,Math.PI/2),r.lineTo(e+c,n+i),c!==0&&r.arc(e+c,n+i-c,c,Math.PI/2,Math.PI),r.lineTo(e,n+s),s!==0&&r.arc(e+s,n+s,s,Math.PI,Math.PI*1.5)}var Gs=Math.round;function Yw(r,t,e){if(t){var n=t.x1,a=t.x2,i=t.y1,o=t.y2;r.x1=n,r.x2=a,r.y1=i,r.y2=o;var s=e&&e.lineWidth;return s&&(Gs(n*2)===Gs(a*2)&&(r.x1=r.x2=vo(n,s,!0)),Gs(i*2)===Gs(o*2)&&(r.y1=r.y2=vo(i,s,!0))),r}}function jw(r,t,e){if(t){var n=t.x,a=t.y,i=t.width,o=t.height;r.x=n,r.y=a,r.width=i,r.height=o;var s=e&&e.lineWidth;return s&&(r.x=vo(n,s,!0),r.y=vo(a,s,!0),r.width=Math.max(vo(n+i,s,!1)-r.x,i===0?0:1),r.height=Math.max(vo(a+o,s,!1)-r.y,o===0?0:1)),r}}function vo(r,t,e){if(!t)return r;var n=Gs(r*2);return(n+Gs(t))%2===0?n/2:(n+(e?1:-1))/2}var iQ=function(){function r(){this.x=0,this.y=0,this.width=0,this.height=0}return r}(),oQ={},Pe=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new iQ},t.prototype.buildPath=function(e,n){var a,i,o,s;if(this.subPixelOptimize){var l=jw(oQ,n,this.style);a=l.x,i=l.y,o=l.width,s=l.height,l.r=n.r,n=l}else a=n.x,i=n.y,o=n.width,s=n.height;n.r?aQ(e,n):e.rect(a,i,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Te);Pe.prototype.type="rect";var Xw={fill:"#000"},qw=2,sQ={style:ue({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},Yh.style)},Ve=function(r){et(t,r);function t(e){var n=r.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Xw,n.attr(e),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){r.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):r.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):r.prototype.getLocalTransform.call(this,e)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),r.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,cQ(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(e){r.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},t.prototype.removeSelfFromZr=function(e){r.prototype.removeSelfFromZr.call(this,e);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 e=new we(0,0,0,0),n=this._children,a=[],i=null,o=0;o<n.length;o++){var s=n[o],l=s.getBoundingRect(),u=s.getLocalTransform(a);u?(e.copy(l),e.applyTransform(u),i=i||e.clone(),i.union(e)):(i=i||l.clone(),i.union(l))}this._rect=i||e}return this._rect},t.prototype.setDefaultTextStyle=function(e){this._defaultStyle=e||Xw},t.prototype.setTextContent=function(e){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},t.prototype._mergeStyle=function(e,n){if(!n)return e;var a=n.rich,i=e.rich||a&&{};return G(e,n),a&&i?(this._mergeRich(i,a),e.rich=i):i&&(e.rich=i),e},t.prototype._mergeRich=function(e,n){for(var a=Me(n),i=0;i<a.length;i++){var o=a[i];e[o]=e[o]||{},G(e[o],n[o])}},t.prototype.getAnimationStyleProps=function(){return sQ},t.prototype._getOrCreateChild=function(e){var n=this._children[this._childCursor];return(!n||!(n instanceof e))&&(n=new e),this._children[this._childCursor++]=n,n.__zr=this.__zr,n.parent=this,n},t.prototype._updatePlainTexts=function(){var e=this.style,n=e.font||$a,a=e.padding,i=ax(e),o=LJ(i,e),s=Qg(e),l=!!e.backgroundColor,u=o.outerHeight,c=o.outerWidth,f=o.contentWidth,h=o.lines,p=o.lineHeight,v=this._defaultStyle;this.isTruncated=!!o.isTruncated;var m=e.x||0,g=e.y||0,_=e.align||v.align||"left",y=e.verticalAlign||v.verticalAlign||"top",w=m,x=Os(g,o.contentHeight,y);if(s||a){var b=Mu(m,c,_),S=Os(g,u,y);s&&this._renderBackground(e,e,b,S,c,u)}x+=p/2,a&&(w=nx(m,_,a),y==="top"?x+=a[0]:y==="bottom"&&(x-=a[2]));for(var C=0,D=!1,T=rx("fill"in e?e.fill:(D=!0,v.fill)),E=tx("stroke"in e?e.stroke:!l&&(!v.autoStroke||D)?(C=qw,v.stroke):null),A=e.textShadowBlur>0,k=e.width!=null&&(e.overflow==="truncate"||e.overflow==="break"||e.overflow==="breakAll"),I=o.calculatedLineHeight,L=0;L<h.length;L++){var N=this._getOrCreateChild(Fs),P=N.createStyle();N.useStyle(P),P.text=h[L],P.x=w,P.y=x,P.textAlign=_,P.textBaseline="middle",P.opacity=e.opacity,P.strokeFirst=!0,A&&(P.shadowBlur=e.textShadowBlur||0,P.shadowColor=e.textShadowColor||"transparent",P.shadowOffsetX=e.textShadowOffsetX||0,P.shadowOffsetY=e.textShadowOffsetY||0),P.stroke=E,P.fill=T,E&&(P.lineWidth=e.lineWidth||C,P.lineDash=e.lineDash,P.lineDashOffset=e.lineDashOffset||0),P.font=n,Jw(P,e),x+=p,k&&N.setBoundingRect(new we(Mu(P.x,f,P.textAlign),Os(P.y,I,P.textBaseline),f,I))}},t.prototype._updateRichTexts=function(){var e=this.style,n=ax(e),a=PJ(n,e),i=a.width,o=a.outerWidth,s=a.outerHeight,l=e.padding,u=e.x||0,c=e.y||0,f=this._defaultStyle,h=e.align||f.align,p=e.verticalAlign||f.verticalAlign;this.isTruncated=!!a.isTruncated;var v=Mu(u,o,h),m=Os(c,s,p),g=v,_=m;l&&(g+=l[3],_+=l[0]);var y=g+i;Qg(e)&&this._renderBackground(e,e,v,m,o,s);for(var w=!!e.backgroundColor,x=0;x<a.lines.length;x++){for(var b=a.lines[x],S=b.tokens,C=S.length,D=b.lineHeight,T=b.width,E=0,A=g,k=y,I=C-1,L=void 0;E<C&&(L=S[E],!L.align||L.align==="left");)this._placeToken(L,e,D,_,A,"left",w),T-=L.width,A+=L.width,E++;for(;I>=0&&(L=S[I],L.align==="right");)this._placeToken(L,e,D,_,k,"right",w),T-=L.width,k-=L.width,I--;for(A+=(i-(A-g)-(y-k)-T)/2;E<=I;)L=S[E],this._placeToken(L,e,D,_,A+L.width/2,"center",w),A+=L.width,E++;_+=D}},t.prototype._placeToken=function(e,n,a,i,o,s,l){var u=n.rich[e.styleName]||{};u.text=e.text;var c=e.verticalAlign,f=i+a/2;c==="top"?f=i+e.height/2:c==="bottom"&&(f=i+a-e.height/2);var h=!e.isLineHolder&&Qg(u);h&&this._renderBackground(u,n,s==="right"?o-e.width:s==="center"?o-e.width/2:o,f-e.height/2,e.width,e.height);var p=!!u.backgroundColor,v=e.textPadding;v&&(o=nx(o,s,v),f-=e.height/2-v[0]-e.innerHeight/2);var m=this._getOrCreateChild(Fs),g=m.createStyle();m.useStyle(g);var _=this._defaultStyle,y=!1,w=0,x=rx("fill"in u?u.fill:"fill"in n?n.fill:(y=!0,_.fill)),b=tx("stroke"in u?u.stroke:"stroke"in n?n.stroke:!p&&!l&&(!_.autoStroke||y)?(w=qw,_.stroke):null),S=u.textShadowBlur>0||n.textShadowBlur>0;g.text=e.text,g.x=o,g.y=f,S&&(g.shadowBlur=u.textShadowBlur||n.textShadowBlur||0,g.shadowColor=u.textShadowColor||n.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||n.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||n.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=e.font||$a,g.opacity=Or(u.opacity,n.opacity,1),Jw(g,u),b&&(g.lineWidth=Or(u.lineWidth,n.lineWidth,w),g.lineDash=ve(u.lineDash,n.lineDash),g.lineDashOffset=n.lineDashOffset||0,g.stroke=b),x&&(g.fill=x);var C=e.contentWidth,D=e.contentHeight;m.setBoundingRect(new we(Mu(g.x,C,g.textAlign),Os(g.y,D,g.textBaseline),C,D))},t.prototype._renderBackground=function(e,n,a,i,o,s){var l=e.backgroundColor,u=e.borderWidth,c=e.borderColor,f=l&&l.image,h=l&&!f,p=e.borderRadius,v=this,m,g;if(h||e.lineHeight||u&&c){m=this._getOrCreateChild(Pe),m.useStyle(m.createStyle()),m.style.fill=null;var _=m.shape;_.x=a,_.y=i,_.width=o,_.height=s,_.r=p,m.dirtyShape()}if(h){var y=m.style;y.fill=l||null,y.fillOpacity=ve(e.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Vt),g.onload=function(){v.dirtyStyle()};var w=g.style;w.image=l.image,w.x=a,w.y=i,w.width=o,w.height=s}if(u&&c){var y=m.style;y.lineWidth=u,y.stroke=c,y.strokeOpacity=ve(e.strokeOpacity,1),y.lineDash=e.borderDash,y.lineDashOffset=e.borderDashOffset||0,m.strokeContainThreshold=0,m.hasFill()&&m.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var x=(m||g).style;x.shadowBlur=e.shadowBlur||0,x.shadowColor=e.shadowColor||"transparent",x.shadowOffsetX=e.shadowOffsetX||0,x.shadowOffsetY=e.shadowOffsetY||0,x.opacity=Or(e.opacity,n.opacity,1)},t.makeFont=function(e){var n="";return Qw(e)&&(n=[e.fontStyle,e.fontWeight,Kw(e.fontSize),e.fontFamily||"sans-serif"].join(" ")),n&&pn(n)||e.textFont||e.font},t}($r),lQ={left:!0,right:1,center:1},uQ={top:1,bottom:1,middle:1},Zw=["fontStyle","fontWeight","fontSize","fontFamily"];function Kw(r){return typeof r=="string"&&(r.indexOf("px")!==-1||r.indexOf("rem")!==-1||r.indexOf("em")!==-1)?r:isNaN(+r)?A0+"px":r+"px"}function Jw(r,t){for(var e=0;e<Zw.length;e++){var n=Zw[e],a=t[n];a!=null&&(r[n]=a)}}function Qw(r){return r.fontSize!=null||r.fontFamily||r.fontWeight}function cQ(r){return ex(r),M(r.rich,ex),r}function ex(r){if(r){r.font=Ve.makeFont(r);var t=r.align;t==="middle"&&(t="center"),r.align=t==null||lQ[t]?t:"left";var e=r.verticalAlign;e==="center"&&(e="middle"),r.verticalAlign=e==null||uQ[e]?e:"top";var n=r.padding;n&&(r.padding=N0(r.padding))}}function tx(r,t){return r==null||t<=0||r==="transparent"||r==="none"?null:r.image||r.colorStops?"#000":r}function rx(r){return r==null||r==="none"?null:r.image||r.colorStops?"#000":r}function nx(r,t,e){return t==="right"?r-e[1]:t==="center"?r+e[3]/2-e[1]/2:r+e[3]}function ax(r){var t=r.text;return t!=null&&(t+=""),t}function Qg(r){return!!(r.backgroundColor||r.lineHeight||r.borderWidth&&r.borderColor)}var ge=Ne(),e2=function(r,t,e,n){if(n){var a=ge(n);a.dataIndex=e,a.dataType=t,a.seriesIndex=r,a.ssrType="chart",n.type==="group"&&n.traverse(function(i){var o=ge(i);o.seriesIndex=r,o.dataIndex=e,o.dataType=t,o.ssrType="chart"})}},ix=1,ox={},sx=Ne(),t2=Ne(),r2=0,Ou=1,Jh=2,lr=["emphasis","blur","select"],Ru=["normal","emphasis","blur","select"],$s=10,fQ=9,go="highlight",Qh="downplay",zu="select",ep="unselect",Hu="toggleSelect";function Ws(r){return r!=null&&r!=="none"}function tp(r,t,e){r.onHoverStateChange&&(r.hoverState||0)!==e&&r.onHoverStateChange(t),r.hoverState=e}function lx(r){tp(r,"emphasis",Jh)}function ux(r){r.hoverState===Jh&&tp(r,"normal",r2)}function n2(r){tp(r,"blur",Ou)}function cx(r){r.hoverState===Ou&&tp(r,"normal",r2)}function hQ(r){r.selected=!0}function pQ(r){r.selected=!1}function fx(r,t,e){t(r,e)}function xa(r,t,e){fx(r,t,e),r.isGroup&&r.traverse(function(n){fx(n,t,e)})}function rp(r,t){switch(t){case"emphasis":r.hoverState=Jh;break;case"normal":r.hoverState=r2;break;case"blur":r.hoverState=Ou;break;case"select":r.selected=!0}}function dQ(r,t,e,n){for(var a=r.style,i={},o=0;o<t.length;o++){var s=t[o],l=a[s];i[s]=l??(n&&n[s])}for(var o=0;o<r.animators.length;o++){var u=r.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(e)<0&&u.targetName==="style"&&u.saveTo(i,t)}return i}function vQ(r,t,e,n){var a=e&&xe(e,"select")>=0,i=!1;if(r instanceof Te){var o=sx(r),s=a&&o.selectFill||o.normalFill,l=a&&o.selectStroke||o.normalStroke;if(Ws(s)||Ws(l)){n=n||{};var u=n.style||{};u.fill==="inherit"?(i=!0,n=G({},n),u=G({},u),u.fill=s):!Ws(u.fill)&&Ws(s)?(i=!0,n=G({},n),u=G({},u),u.fill=og(s)):!Ws(u.stroke)&&Ws(l)&&(i||(n=G({},n),u=G({},u)),u.stroke=og(l)),n.style=u}}if(n&&n.z2==null){i||(n=G({},n));var c=r.z2EmphasisLift;n.z2=r.z2+(c??$s)}return n}function gQ(r,t,e){if(e&&e.z2==null){e=G({},e);var n=r.z2SelectLift;e.z2=r.z2+(n??fQ)}return e}function mQ(r,t,e){var n=xe(r.currentStates,t)>=0,a=r.style.opacity,i=n?null:dQ(r,["opacity"],t,{opacity:1});e=e||{};var o=e.style||{};return o.opacity==null&&(e=G({},e),o=G({opacity:n?a:i.opacity*.1},o),e.style=o),e}function a2(r,t){var e=this.states[r];if(this.style){if(r==="emphasis")return vQ(this,r,t,e);if(r==="blur")return mQ(this,r,e);if(r==="select")return gQ(this,r,e)}return e}function mo(r){r.stateProxy=a2;var t=r.getTextContent(),e=r.getTextGuideLine();t&&(t.stateProxy=a2),e&&(e.stateProxy=a2)}function hx(r,t){!mx(r,t)&&!r.__highByOuter&&xa(r,lx)}function px(r,t){!mx(r,t)&&!r.__highByOuter&&xa(r,ux)}function ba(r,t){r.__highByOuter|=1<<(t||0),xa(r,lx)}function Sa(r,t){!(r.__highByOuter&=~(1<<(t||0)))&&xa(r,ux)}function dx(r){xa(r,n2)}function i2(r){xa(r,cx)}function vx(r){xa(r,hQ)}function gx(r){xa(r,pQ)}function mx(r,t){return r.__highDownSilentOnTouch&&t.zrByTouch}function _x(r){var t=r.getModel(),e=[],n=[];t.eachComponent(function(a,i){var o=t2(i),s=a==="series",l=s?r.getViewOfSeriesModel(i):r.getViewOfComponentModel(i);!s&&n.push(l),o.isBlured&&(l.group.traverse(function(u){cx(u)}),s&&e.push(i)),o.isBlured=!1}),M(n,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(e,!1,t)})}function o2(r,t,e,n){var a=n.getModel();e=e||"coordinateSystem";function i(u,c){for(var f=0;f<c.length;f++){var h=u.getItemGraphicEl(c[f]);h&&i2(h)}}if(r!=null&&!(!t||t==="none")){var o=a.getSeriesByIndex(r),s=o.coordinateSystem;s&&s.master&&(s=s.master);var l=[];a.eachSeries(function(u){var c=o===u,f=u.coordinateSystem;f&&f.master&&(f=f.master);var h=f&&s?f===s:c;if(!(e==="series"&&!c||e==="coordinateSystem"&&!h||t==="series"&&c)){var p=n.getViewOfSeriesModel(u);if(p.group.traverse(function(g){g.__highByOuter&&c&&t==="self"||n2(g)}),Yt(t))i(u.getData(),t);else if(oe(t))for(var v=Me(t),m=0;m<v.length;m++)i(u.getData(v[m]),t[v[m]]);l.push(u),t2(u).isBlured=!0}}),a.eachComponent(function(u,c){if(u!=="series"){var f=n.getViewOfComponentModel(c);f&&f.toggleBlurSeries&&f.toggleBlurSeries(l,!0,a)}})}}function s2(r,t,e){if(!(r==null||t==null)){var n=e.getModel().getComponent(r,t);if(n){t2(n).isBlured=!0;var a=e.getViewOfComponentModel(n);!a||!a.focusBlurEnabled||a.group.traverse(function(i){n2(i)})}}}function _Q(r,t,e){var n=r.seriesIndex,a=r.getData(t.dataType);if(!a){process.env.NODE_ENV!=="production"&&Rt("Unknown dataType "+t.dataType);return}var i=ao(a,t);i=(U(i)?i[0]:i)||0;var o=a.getItemGraphicEl(i);if(!o)for(var s=a.count(),l=0;!o&&l<s;)o=a.getItemGraphicEl(l++);if(o){var u=ge(o);o2(n,u.focus,u.blurScope,e)}else{var c=r.get(["emphasis","focus"]),f=r.get(["emphasis","blurScope"]);c!=null&&o2(n,c,f,e)}}function l2(r,t,e,n){var a={focusSelf:!1,dispatchers:null};if(r==null||r==="series"||t==null||e==null)return a;var i=n.getModel().getComponent(r,t);if(!i)return a;var o=n.getViewOfComponentModel(i);if(!o||!o.findHighDownDispatchers)return a;for(var s=o.findHighDownDispatchers(e),l,u=0;u<s.length;u++)if(process.env.NODE_ENV!=="production"&&!ni(s[u])&&Rt("param should be highDownDispatcher"),ge(s[u]).focus==="self"){l=!0;break}return{focusSelf:l,dispatchers:s}}function yQ(r,t,e){process.env.NODE_ENV!=="production"&&!ni(r)&&Rt("param should be highDownDispatcher");var n=ge(r),a=l2(n.componentMainType,n.componentIndex,n.componentHighDownName,e),i=a.dispatchers,o=a.focusSelf;i?(o&&s2(n.componentMainType,n.componentIndex,e),M(i,function(s){return hx(s,t)})):(o2(n.seriesIndex,n.focus,n.blurScope,e),n.focus==="self"&&s2(n.componentMainType,n.componentIndex,e),hx(r,t))}function wQ(r,t,e){process.env.NODE_ENV!=="production"&&!ni(r)&&Rt("param should be highDownDispatcher"),_x(e);var n=ge(r),a=l2(n.componentMainType,n.componentIndex,n.componentHighDownName,e).dispatchers;a?M(a,function(i){return px(i,t)}):px(r,t)}function xQ(r,t,e){if(c2(t)){var n=t.dataType,a=r.getData(n),i=ao(a,t);U(i)||(i=[i]),r[t.type===Hu?"toggleSelect":t.type===zu?"select":"unselect"](i,n)}}function yx(r){var t=r.getAllData();M(t,function(e){var n=e.data,a=e.type;n.eachItemGraphicEl(function(i,o){r.isSelected(o,a)?vx(i):gx(i)})})}function bQ(r){var t=[];return r.eachSeries(function(e){var n=e.getAllData();M(n,function(a){a.data;var i=a.type,o=e.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:e.seriesIndex};i!=null&&(s.dataType=i),t.push(s)}})}),t}function _o(r,t,e){yo(r,!0),xa(r,mo),u2(r,t,e)}function SQ(r){yo(r,!1)}function ot(r,t,e,n){n?SQ(r):_o(r,t,e)}function u2(r,t,e){var n=ge(r);t!=null?(n.focus=t,n.blurScope=e):n.focus&&(n.focus=null)}var xx=["emphasis","blur","select"],CQ={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function zt(r,t,e,n){e=e||"itemStyle";for(var a=0;a<xx.length;a++){var i=xx[a],o=t.getModel([i,e]),s=r.ensureState(i);s.style=n?n(o):o[CQ[e]]()}}function yo(r,t){var e=t===!1,n=r;r.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=r.highDownSilentOnTouch),(!e||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!e)}function ni(r){return!!(r&&r.__highDownDispatcher)}function EQ(r,t,e){var n=ge(r);n.componentMainType=t.mainType,n.componentIndex=t.componentIndex,n.componentHighDownName=e}function TQ(r){var t=ox[r];return t==null&&ix<=32&&(t=ox[r]=ix++),t}function c2(r){var t=r.type;return t===zu||t===ep||t===Hu}function bx(r){var t=r.type;return t===go||t===Qh}function DQ(r){var t=sx(r);t.normalFill=r.style.fill,t.normalStroke=r.style.stroke;var e=r.states.select||{};t.selectFill=e.style&&e.style.fill||null,t.selectStroke=e.style&&e.style.stroke||null}var Us=Un.CMD,AQ=[[],[],[]],Sx=Math.sqrt,MQ=Math.atan2;function Cx(r,t){if(t){var e=r.data,n=r.len(),a,i,o,s,l,u,c=Us.M,f=Us.C,h=Us.L,p=Us.R,v=Us.A,m=Us.Q;for(o=0,s=0;o<n;){switch(a=e[o++],s=o,i=0,a){case c:i=1;break;case h:i=1;break;case f:i=3;break;case m:i=2;break;case v:var g=t[4],_=t[5],y=Sx(t[0]*t[0]+t[1]*t[1]),w=Sx(t[2]*t[2]+t[3]*t[3]),x=MQ(-t[1]/w,t[0]/y);e[o]*=y,e[o++]+=g,e[o]*=w,e[o++]+=_,e[o++]*=y,e[o++]*=w,e[o++]+=x,e[o++]+=x,o+=2,s=o;break;case p:u[0]=e[o++],u[1]=e[o++],Ot(u,u,t),e[s++]=u[0],e[s++]=u[1],u[0]+=e[o++],u[1]+=e[o++],Ot(u,u,t),e[s++]=u[0],e[s++]=u[1]}for(l=0;l<i;l++){var b=AQ[l];b[0]=e[o++],b[1]=e[o++],Ot(b,b,t),e[s++]=b[0],e[s++]=b[1]}}r.increaseVersion()}}var f2=Math.sqrt,np=Math.sin,ap=Math.cos,Fu=Math.PI;function Ex(r){return Math.sqrt(r[0]*r[0]+r[1]*r[1])}function h2(r,t){return(r[0]*t[0]+r[1]*t[1])/(Ex(r)*Ex(t))}function Tx(r,t){return(r[0]*t[1]<r[1]*t[0]?-1:1)*Math.acos(h2(r,t))}function Dx(r,t,e,n,a,i,o,s,l,u,c){var f=l*(Fu/180),h=ap(f)*(r-e)/2+np(f)*(t-n)/2,p=-1*np(f)*(r-e)/2+ap(f)*(t-n)/2,v=h*h/(o*o)+p*p/(s*s);v>1&&(o*=f2(v),s*=f2(v));var m=(a===i?-1:1)*f2((o*o*(s*s)-o*o*(p*p)-s*s*(h*h))/(o*o*(p*p)+s*s*(h*h)))||0,g=m*o*p/s,_=m*-s*h/o,y=(r+e)/2+ap(f)*g-np(f)*_,w=(t+n)/2+np(f)*g+ap(f)*_,x=Tx([1,0],[(h-g)/o,(p-_)/s]),b=[(h-g)/o,(p-_)/s],S=[(-1*h-g)/o,(-1*p-_)/s],C=Tx(b,S);if(h2(b,S)<=-1&&(C=Fu),h2(b,S)>=1&&(C=0),C<0){var D=Math.round(C/Fu*1e6)/1e6;C=Fu*2+D%2*Fu}c.addData(u,y,w,o,s,x,C,f,i)}var kQ=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,LQ=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function IQ(r){var t=new Un;if(!r)return t;var e=0,n=0,a=e,i=n,o,s=Un.CMD,l=r.match(kQ);if(!l)return t;for(var u=0;u<l.length;u++){for(var c=l[u],f=c.charAt(0),h=void 0,p=c.match(LQ)||[],v=p.length,m=0;m<v;m++)p[m]=parseFloat(p[m]);for(var g=0;g<v;){var _=void 0,y=void 0,w=void 0,x=void 0,b=void 0,S=void 0,C=void 0,D=e,T=n,E=void 0,A=void 0;switch(f){case"l":e+=p[g++],n+=p[g++],h=s.L,t.addData(h,e,n);break;case"L":e=p[g++],n=p[g++],h=s.L,t.addData(h,e,n);break;case"m":e+=p[g++],n+=p[g++],h=s.M,t.addData(h,e,n),a=e,i=n,f="l";break;case"M":e=p[g++],n=p[g++],h=s.M,t.addData(h,e,n),a=e,i=n,f="L";break;case"h":e+=p[g++],h=s.L,t.addData(h,e,n);break;case"H":e=p[g++],h=s.L,t.addData(h,e,n);break;case"v":n+=p[g++],h=s.L,t.addData(h,e,n);break;case"V":n=p[g++],h=s.L,t.addData(h,e,n);break;case"C":h=s.C,t.addData(h,p[g++],p[g++],p[g++],p[g++],p[g++],p[g++]),e=p[g-2],n=p[g-1];break;case"c":h=s.C,t.addData(h,p[g++]+e,p[g++]+n,p[g++]+e,p[g++]+n,p[g++]+e,p[g++]+n),e+=p[g-2],n+=p[g-1];break;case"S":_=e,y=n,E=t.len(),A=t.data,o===s.C&&(_+=e-A[E-4],y+=n-A[E-3]),h=s.C,D=p[g++],T=p[g++],e=p[g++],n=p[g++],t.addData(h,_,y,D,T,e,n);break;case"s":_=e,y=n,E=t.len(),A=t.data,o===s.C&&(_+=e-A[E-4],y+=n-A[E-3]),h=s.C,D=e+p[g++],T=n+p[g++],e+=p[g++],n+=p[g++],t.addData(h,_,y,D,T,e,n);break;case"Q":D=p[g++],T=p[g++],e=p[g++],n=p[g++],h=s.Q,t.addData(h,D,T,e,n);break;case"q":D=p[g++]+e,T=p[g++]+n,e+=p[g++],n+=p[g++],h=s.Q,t.addData(h,D,T,e,n);break;case"T":_=e,y=n,E=t.len(),A=t.data,o===s.Q&&(_+=e-A[E-4],y+=n-A[E-3]),e=p[g++],n=p[g++],h=s.Q,t.addData(h,_,y,e,n);break;case"t":_=e,y=n,E=t.len(),A=t.data,o===s.Q&&(_+=e-A[E-4],y+=n-A[E-3]),e+=p[g++],n+=p[g++],h=s.Q,t.addData(h,_,y,e,n);break;case"A":w=p[g++],x=p[g++],b=p[g++],S=p[g++],C=p[g++],D=e,T=n,e=p[g++],n=p[g++],h=s.A,Dx(D,T,e,n,S,C,w,x,b,h,t);break;case"a":w=p[g++],x=p[g++],b=p[g++],S=p[g++],C=p[g++],D=e,T=n,e+=p[g++],n+=p[g++],h=s.A,Dx(D,T,e,n,S,C,w,x,b,h,t);break}}(f==="z"||f==="Z")&&(h=s.Z,t.addData(h),e=a,n=i),o=h}return t.toStatic(),t}var Ax=function(r){et(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.applyTransform=function(e){},t}(Te);function Mx(r){return r.setData!=null}function kx(r,t){var e=IQ(r),n=G({},t);return n.buildPath=function(a){if(Mx(a)){a.setData(e.data);var i=a.getContext();i&&a.rebuildPath(i,1)}else{var i=a;e.rebuildPath(i,1)}},n.applyTransform=function(a){Cx(e,a),this.dirtyShape()},n}function Lx(r,t){return new Ax(kx(r,t))}function NQ(r,t){var e=kx(r,t),n=function(a){et(i,a);function i(o){var s=a.call(this,o)||this;return s.applyTransform=e.applyTransform,s.buildPath=e.buildPath,s}return i}(Ax);return n}function PQ(r,t){for(var e=[],n=r.length,a=0;a<n;a++){var i=r[a];e.push(i.getUpdatedPathProxy(!0))}var o=new Te(t);return o.createPathProxy(),o.buildPath=function(s){if(Mx(s)){s.appendPath(e);var l=s.getContext();l&&s.rebuildPath(l,1)}},o}function p2(r,t){t=t||{};var e=new Te;return r.shape&&e.setShape(r.shape),e.setStyle(r.style),t.bakeTransform?Cx(e.path,r.getComputedTransform()):t.toLocal?e.setLocalTransform(r.getComputedTransform()):e.copyTransform(r),e.buildPath=r.buildPath,e.applyTransform=e.applyTransform,e.z=r.z,e.z2=r.z2,e.zlevel=r.zlevel,e}var VQ=function(){function r(){this.cx=0,this.cy=0,this.r=0}return r}(),Ca=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new VQ},t.prototype.buildPath=function(e,n){e.moveTo(n.cx+n.r,n.cy),e.arc(n.cx,n.cy,n.r,0,Math.PI*2)},t}(Te);Ca.prototype.type="circle";var BQ=function(){function r(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return r}(),ip=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new BQ},t.prototype.buildPath=function(e,n){var a=.5522848,i=n.cx,o=n.cy,s=n.rx,l=n.ry,u=s*a,c=l*a;e.moveTo(i-s,o),e.bezierCurveTo(i-s,o-c,i-u,o-l,i,o-l),e.bezierCurveTo(i+u,o-l,i+s,o-c,i+s,o),e.bezierCurveTo(i+s,o+c,i+u,o+l,i,o+l),e.bezierCurveTo(i-u,o+l,i-s,o+c,i-s,o),e.closePath()},t}(Te);ip.prototype.type="ellipse";var Ix=Math.PI,d2=Ix*2,wo=Math.sin,Ys=Math.cos,OQ=Math.acos,jt=Math.atan2,Nx=Math.abs,Gu=Math.sqrt,$u=Math.max,Yn=Math.min,_n=1e-4;function RQ(r,t,e,n,a,i,o,s){var l=e-r,u=n-t,c=o-a,f=s-i,h=f*l-c*u;if(!(h*h<_n))return h=(c*(t-i)-f*(r-a))/h,[r+h*l,t+h*u]}function op(r,t,e,n,a,i,o){var s=r-e,l=t-n,u=(o?i:-i)/Gu(s*s+l*l),c=u*l,f=-u*s,h=r+c,p=t+f,v=e+c,m=n+f,g=(h+v)/2,_=(p+m)/2,y=v-h,w=m-p,x=y*y+w*w,b=a-i,S=h*m-v*p,C=(w<0?-1:1)*Gu($u(0,b*b*x-S*S)),D=(S*w-y*C)/x,T=(-S*y-w*C)/x,E=(S*w+y*C)/x,A=(-S*y+w*C)/x,k=D-g,I=T-_,L=E-g,N=A-_;return k*k+I*I>L*L+N*N&&(D=E,T=A),{cx:D,cy:T,x0:-c,y0:-f,x1:D*(a/b-1),y1:T*(a/b-1)}}function zQ(r){var t;if(U(r)){var e=r.length;if(!e)return r;e===1?t=[r[0],r[0],0,0]:e===2?t=[r[0],r[0],r[1],r[1]]:e===3?t=r.concat(r[2]):t=r}else t=[r,r,r,r];return t}function HQ(r,t){var e,n=$u(t.r,0),a=$u(t.r0||0,0),i=n>0,o=a>0;if(!(!i&&!o)){if(i||(n=a,a=0),a>n){var s=n;n=a,a=s}var l=t.startAngle,u=t.endAngle;if(!(isNaN(l)||isNaN(u))){var c=t.cx,f=t.cy,h=!!t.clockwise,p=Nx(u-l),v=p>d2&&p%d2;if(v>_n&&(p=v),!(n>_n))r.moveTo(c,f);else if(p>d2-_n)r.moveTo(c+n*Ys(l),f+n*wo(l)),r.arc(c,f,n,l,u,!h),a>_n&&(r.moveTo(c+a*Ys(u),f+a*wo(u)),r.arc(c,f,a,u,l,h));else{var m=void 0,g=void 0,_=void 0,y=void 0,w=void 0,x=void 0,b=void 0,S=void 0,C=void 0,D=void 0,T=void 0,E=void 0,A=void 0,k=void 0,I=void 0,L=void 0,N=n*Ys(l),P=n*wo(l),V=a*Ys(u),O=a*wo(u),B=p>_n;if(B){var R=t.cornerRadius;R&&(e=zQ(R),m=e[0],g=e[1],_=e[2],y=e[3]);var z=Nx(n-a)/2;if(w=Yn(z,_),x=Yn(z,y),b=Yn(z,m),S=Yn(z,g),T=C=$u(w,x),E=D=$u(b,S),(C>_n||D>_n)&&(A=n*Ys(u),k=n*wo(u),I=a*Ys(l),L=a*wo(l),p<Ix)){var H=RQ(N,P,I,L,A,k,V,O);if(H){var $=N-H[0],X=P-H[1],j=A-H[0],fe=k-H[1],De=1/wo(OQ(($*j+X*fe)/(Gu($*$+X*X)*Gu(j*j+fe*fe)))/2),ie=Gu(H[0]*H[0]+H[1]*H[1]);T=Yn(C,(n-ie)/(De+1)),E=Yn(D,(a-ie)/(De-1))}}}if(!B)r.moveTo(c+N,f+P);else if(T>_n){var re=Yn(_,T),le=Yn(y,T),Q=op(I,L,N,P,n,re,h),ce=op(A,k,V,O,n,le,h);r.moveTo(c+Q.cx+Q.x0,f+Q.cy+Q.y0),T<C&&re===le?r.arc(c+Q.cx,f+Q.cy,T,jt(Q.y0,Q.x0),jt(ce.y0,ce.x0),!h):(re>0&&r.arc(c+Q.cx,f+Q.cy,re,jt(Q.y0,Q.x0),jt(Q.y1,Q.x1),!h),r.arc(c,f,n,jt(Q.cy+Q.y1,Q.cx+Q.x1),jt(ce.cy+ce.y1,ce.cx+ce.x1),!h),le>0&&r.arc(c+ce.cx,f+ce.cy,le,jt(ce.y1,ce.x1),jt(ce.y0,ce.x0),!h))}else r.moveTo(c+N,f+P),r.arc(c,f,n,l,u,!h);if(!(a>_n)||!B)r.lineTo(c+V,f+O);else if(E>_n){var re=Yn(m,E),le=Yn(g,E),Q=op(V,O,A,k,a,-le,h),ce=op(N,P,I,L,a,-re,h);r.lineTo(c+Q.cx+Q.x0,f+Q.cy+Q.y0),E<D&&re===le?r.arc(c+Q.cx,f+Q.cy,E,jt(Q.y0,Q.x0),jt(ce.y0,ce.x0),!h):(le>0&&r.arc(c+Q.cx,f+Q.cy,le,jt(Q.y0,Q.x0),jt(Q.y1,Q.x1),!h),r.arc(c,f,a,jt(Q.cy+Q.y1,Q.cx+Q.x1),jt(ce.cy+ce.y1,ce.cx+ce.x1),h),re>0&&r.arc(c+ce.cx,f+ce.cy,re,jt(ce.y1,ce.x1),jt(ce.y0,ce.x0),!h))}else r.lineTo(c+V,f+O),r.arc(c,f,a,u,l,h)}r.closePath()}}}var FQ=function(){function r(){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 r}(),ur=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new FQ},t.prototype.buildPath=function(e,n){HQ(e,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Te);ur.prototype.type="sector";var GQ=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return r}(),Wu=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new GQ},t.prototype.buildPath=function(e,n){var a=n.cx,i=n.cy,o=Math.PI*2;e.moveTo(a+n.r,i),e.arc(a,i,n.r,0,o,!1),e.moveTo(a+n.r0,i),e.arc(a,i,n.r0,0,o,!0)},t}(Te);Wu.prototype.type="ring";function $Q(r,t,e,n){var a=[],i=[],o=[],s=[],l,u,c,f;if(n){c=[1/0,1/0],f=[-1/0,-1/0];for(var h=0,p=r.length;h<p;h++)Ya(c,c,r[h]),ja(f,f,r[h]);Ya(c,c,n[0]),ja(f,f,n[1])}for(var h=0,p=r.length;h<p;h++){var v=r[h];if(e)l=r[h?h-1:p-1],u=r[(h+1)%p];else if(h===0||h===p-1){a.push(ha(r[h]));continue}else l=r[h-1],u=r[h+1];ji(i,u,l),vh(i,i,t);var m=O0(v,l),g=O0(v,u),_=m+g;_!==0&&(m/=_,g/=_),vh(o,i,-m),vh(s,i,g);var y=v8([],v,o),w=v8([],v,s);n&&(ja(y,y,c),Ya(y,y,f),ja(w,w,c),Ya(w,w,f)),a.push(y),a.push(w)}return e&&a.push(a.shift()),a}function Px(r,t,e){var n=t.smooth,a=t.points;if(a&&a.length>=2){if(n){var i=$Q(a,n,e,t.smoothConstraint);r.moveTo(a[0][0],a[0][1]);for(var o=a.length,s=0;s<(e?o:o-1);s++){var l=i[s*2],u=i[s*2+1],c=a[(s+1)%o];r.bezierCurveTo(l[0],l[1],u[0],u[1],c[0],c[1])}}else{r.moveTo(a[0][0],a[0][1]);for(var s=1,f=a.length;s<f;s++)r.lineTo(a[s][0],a[s][1])}e&&r.closePath()}}var WQ=function(){function r(){this.points=null,this.smooth=0,this.smoothConstraint=null}return r}(),cr=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new WQ},t.prototype.buildPath=function(e,n){Px(e,n,!0)},t}(Te);cr.prototype.type="polygon";var UQ=function(){function r(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return r}(),fr=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new UQ},t.prototype.buildPath=function(e,n){Px(e,n,!1)},t}(Te);fr.prototype.type="polyline";var YQ={},jQ=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return r}(),Dt=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new jQ},t.prototype.buildPath=function(e,n){var a,i,o,s;if(this.subPixelOptimize){var l=Yw(YQ,n,this.style);a=l.x1,i=l.y1,o=l.x2,s=l.y2}else a=n.x1,i=n.y1,o=n.x2,s=n.y2;var u=n.percent;u!==0&&(e.moveTo(a,i),u<1&&(o=a*(1-u)+o*u,s=i*(1-u)+s*u),e.lineTo(o,s))},t.prototype.pointAt=function(e){var n=this.shape;return[n.x1*(1-e)+n.x2*e,n.y1*(1-e)+n.y2*e]},t}(Te);Dt.prototype.type="line";var br=[],XQ=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return r}();function Vx(r,t,e){var n=r.cpx2,a=r.cpy2;return n!=null||a!=null?[(e?V8:Tt)(r.x1,r.cpx1,r.cpx2,r.x2,t),(e?V8:Tt)(r.y1,r.cpy1,r.cpy2,r.y2,t)]:[(e?J0:Pt)(r.x1,r.cpx1,r.x2,t),(e?J0:Pt)(r.y1,r.cpy1,r.y2,t)]}var Uu=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new XQ},t.prototype.buildPath=function(e,n){var a=n.x1,i=n.y1,o=n.x2,s=n.y2,l=n.cpx1,u=n.cpy1,c=n.cpx2,f=n.cpy2,h=n.percent;h!==0&&(e.moveTo(a,i),c==null||f==null?(h<1&&(wu(a,l,o,h,br),l=br[1],o=br[2],wu(i,u,s,h,br),u=br[1],s=br[2]),e.quadraticCurveTo(l,u,o,s)):(h<1&&(Za(a,l,c,o,h,br),l=br[1],c=br[2],o=br[3],Za(i,u,f,s,h,br),u=br[1],f=br[2],s=br[3]),e.bezierCurveTo(l,u,c,f,o,s)))},t.prototype.pointAt=function(e){return Vx(this.shape,e,!1)},t.prototype.tangentAt=function(e){var n=Vx(this.shape,e,!0);return ks(n,n)},t}(Te);Uu.prototype.type="bezier-curve";var qQ=function(){function r(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),sp=function(r){et(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new qQ},t.prototype.buildPath=function(e,n){var a=n.cx,i=n.cy,o=Math.max(n.r,0),s=n.startAngle,l=n.endAngle,u=n.clockwise,c=Math.cos(s),f=Math.sin(s);e.moveTo(c*o+a,f*o+i),e.arc(a,i,o,s,l,!u)},t}(Te);sp.prototype.type="arc";var v2=function(r){et(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="compound",e}return t.prototype._updatePathDirty=function(){for(var e=this.shape.paths,n=this.shapeChanged(),a=0;a<e.length;a++)n=n||e[a].shapeChanged();n&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var e=this.shape.paths||[],n=this.getGlobalScale(),a=0;a<e.length;a++)e[a].path||e[a].createPathProxy(),e[a].path.setScale(n[0],n[1],e[a].segmentIgnoreThreshold)},t.prototype.buildPath=function(e,n){for(var a=n.paths||[],i=0;i<a.length;i++)a[i].buildPath(e,a[i].shape,!0)},t.prototype.afterBrush=function(){for(var e=this.shape.paths||[],n=0;n<e.length;n++)e[n].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Te.prototype.getBoundingRect.call(this)},t}(Te),Bx=function(){function r(t){this.colorStops=t||[]}return r.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},r}(),Yu=function(r){et(t,r);function t(e,n,a,i,o,s){var l=r.call(this,o)||this;return l.x=e??0,l.y=n??0,l.x2=a??1,l.y2=i??0,l.type="linear",l.global=s||!1,l}return t}(Bx),Ox=function(r){et(t,r);function t(e,n,a,i,o){var s=r.call(this,i)||this;return s.x=e??.5,s.y=n??.5,s.r=a??.5,s.type="radial",s.global=o||!1,s}return t}(Bx),xo=[0,0],bo=[0,0],lp=new ye,up=new ye,cp=function(){function r(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new ye;for(var n=0;n<2;n++)this._axes[n]=new ye;t&&this.fromBoundingRect(t,e)}return r.prototype.fromBoundingRect=function(t,e){var n=this._corners,a=this._axes,i=t.x,o=t.y,s=i+t.width,l=o+t.height;if(n[0].set(i,o),n[1].set(s,o),n[2].set(s,l),n[3].set(i,l),e)for(var u=0;u<4;u++)n[u].transform(e);ye.sub(a[0],n[1],n[0]),ye.sub(a[1],n[3],n[0]),a[0].normalize(),a[1].normalize();for(var u=0;u<2;u++)this._origin[u]=a[u].dot(n[0])},r.prototype.intersect=function(t,e){var n=!0,a=!e;return lp.set(1/0,1/0),up.set(0,0),!this._intersectCheckOneSide(this,t,lp,up,a,1)&&(n=!1,a)||!this._intersectCheckOneSide(t,this,lp,up,a,-1)&&(n=!1,a)||a||ye.copy(e,n?lp:up),n},r.prototype._intersectCheckOneSide=function(t,e,n,a,i,o){for(var s=!0,l=0;l<2;l++){var u=this._axes[l];if(this._getProjMinMaxOnAxis(l,t._corners,xo),this._getProjMinMaxOnAxis(l,e._corners,bo),xo[1]<bo[0]||xo[0]>bo[1]){if(s=!1,i)return s;var c=Math.abs(bo[0]-xo[1]),f=Math.abs(xo[0]-bo[1]);Math.min(c,f)>a.len()&&(c<f?ye.scale(a,u,-c*o):ye.scale(a,u,f*o))}else if(n){var c=Math.abs(bo[0]-xo[1]),f=Math.abs(xo[0]-bo[1]);Math.min(c,f)<n.len()&&(c<f?ye.scale(n,u,c*o):ye.scale(n,u,-f*o))}}return s},r.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var a=this._axes[t],i=this._origin,o=e[0].dot(a)+i[t],s=o,l=o,u=1;u<e.length;u++){var c=e[u].dot(a)+i[t];s=Math.min(c,s),l=Math.max(c,l)}n[0]=s,n[1]=l},r}(),ZQ=[],KQ=function(r){et(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return t.prototype.traverse=function(e,n){e.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(e,n){n?this._temporaryDisplayables.push(e):this._displayables.push(e),this.markRedraw()},t.prototype.addDisplayables=function(e,n){n=n||!1;for(var a=0;a<e.length;a++)this.addDisplayable(e[a],n)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(e){for(var n=this._cursor;n<this._displayables.length;n++)e&&e(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)e&&e(this._temporaryDisplayables[n])},t.prototype.update=function(){this.updateTransform();for(var e=this._cursor;e<this._displayables.length;e++){var n=this._displayables[e];n.parent=this,n.update(),n.parent=null}for(var e=0;e<this._temporaryDisplayables.length;e++){var n=this._temporaryDisplayables[e];n.parent=this,n.update(),n.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var e=new we(1/0,1/0,-1/0,-1/0),n=0;n<this._displayables.length;n++){var a=this._displayables[n],i=a.getBoundingRect().clone();a.needLocalTransform()&&i.applyTransform(a.getLocalTransform(ZQ)),e.union(i)}this._rect=e}return this._rect},t.prototype.contain=function(e,n){var a=this.transformCoordToLocal(e,n),i=this.getBoundingRect();if(i.contain(a[0],a[1]))for(var o=0;o<this._displayables.length;o++){var s=this._displayables[o];if(s.contain(e,n))return!0}return!1},t}($r),Rx=Ne();function js(r,t,e,n,a){var i;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();i=o&&o.animation}var s=t&&t.isAnimationEnabled(),l=r==="update";if(s){var u=void 0,c=void 0,f=void 0;n?(u=ve(n.duration,200),c=ve(n.easing,"cubicOut"),f=0):(u=t.getShallow(l?"animationDurationUpdate":"animationDuration"),c=t.getShallow(l?"animationEasingUpdate":"animationEasing"),f=t.getShallow(l?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(u=i.duration),i.easing!=null&&(c=i.easing),i.delay!=null&&(f=i.delay)),ae(f)&&(f=f(e,a)),ae(u)&&(u=u(e));var h={duration:u||0,delay:f,easing:c};return h}else return null}function g2(r,t,e,n,a,i,o){var s=!1,l;ae(a)?(o=i,i=a,a=null):oe(a)&&(i=a.cb,o=a.during,s=a.isFrom,l=a.removeOpt,a=a.dataIndex);var u=r==="leave";u||t.stopAnimation("leave");var c=js(r,n,a,u?l||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,a):null);if(c&&c.duration>0){var f=c.duration,h=c.delay,p=c.easing,v={duration:f,delay:h||0,easing:p,done:i,force:!!i||!!o,setToFinal:!u,scope:r,during:o};s?t.animateFrom(e,v):t.animateTo(e,v)}else t.stopAnimation(),!s&&t.attr(e),o&&o(1),i&&i()}function Oe(r,t,e,n,a,i){g2("update",r,t,e,n,a,i)}function tt(r,t,e,n,a,i){g2("enter",r,t,e,n,a,i)}function Xs(r){if(!r.__zr)return!0;for(var t=0;t<r.animators.length;t++){var e=r.animators[t];if(e.scope==="leave")return!0}return!1}function ai(r,t,e,n,a,i){Xs(r)||g2("leave",r,t,e,n,a,i)}function zx(r,t,e,n){r.removeTextContent(),r.removeTextGuideLine(),ai(r,{style:{opacity:0}},t,e,n)}function ju(r,t,e){function n(){r.parent&&r.parent.remove(r)}r.isGroup?r.traverse(function(a){a.isGroup||zx(a,t,e,n)}):zx(r,t,e,n)}function yn(r){Rx(r).oldStyle=r.style}function JQ(r){return Rx(r).oldStyle}var fp=Math.max,hp=Math.min,m2={};function QQ(r){return Te.extend(r)}var eee=NQ;function tee(r,t){return eee(r,t)}function wn(r,t){m2[r]=t}function _2(r){if(m2.hasOwnProperty(r))return m2[r]}function pp(r,t,e,n){var a=Lx(r,t);return e&&(n==="center"&&(e=Fx(e,a.getBoundingRect())),Gx(a,e)),a}function Hx(r,t,e){var n=new Vt({style:{image:r,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(a){if(e==="center"){var i={width:a.width,height:a.height};n.setStyle(Fx(t,i))}}});return n}function Fx(r,t){var e=t.width/t.height,n=r.height*e,a;n<=r.width?a=r.height:(n=r.width,a=n/e);var i=r.x+r.width/2,o=r.y+r.height/2;return{x:i-n/2,y:o-a/2,width:n,height:a}}var Ur=PQ;function Gx(r,t){if(r.applyTransform){var e=r.getBoundingRect(),n=e.calculateTransform(t);r.applyTransform(n)}}function qs(r,t){return Yw(r,r,{lineWidth:t}),r}function ree(r){return jw(r.shape,r.shape,r.style),r}var dp=vo;function So(r,t){for(var e=mh([]);r&&r!==t;)da(e,r.getLocalTransform(),e),r=r.parent;return e}function xn(r,t,e){return t&&!Yt(t)&&(t=ma.getLocalTransform(t)),e&&(t=Is([],t)),Ot([],r,t)}function vp(r,t,e){var n=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),a=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),i=[r==="left"?-n:r==="right"?n:0,r==="top"?-a:r==="bottom"?a:0];return i=xn(i,t,e),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function $x(r){return!r.isGroup}function nee(r){return r.shape!=null}function Xu(r,t,e){if(!r||!t)return;function n(o){var s={};return o.traverse(function(l){$x(l)&&l.anid&&(s[l.anid]=l)}),s}function a(o){var s={x:o.x,y:o.y,rotation:o.rotation};return nee(o)&&(s.shape=G({},o.shape)),s}var i=n(r);t.traverse(function(o){if($x(o)&&o.anid){var s=i[o.anid];if(s){var l=a(o);o.attr(a(s)),Oe(o,l,e,ge(o).dataIndex)}}})}function Wx(r,t){return Y(r,function(e){var n=e[0];n=fp(n,t.x),n=hp(n,t.x+t.width);var a=e[1];return a=fp(a,t.y),a=hp(a,t.y+t.height),[n,a]})}function aee(r,t){var e=fp(r.x,t.x),n=hp(r.x+r.width,t.x+t.width),a=fp(r.y,t.y),i=hp(r.y+r.height,t.y+t.height);if(n>=e&&i>=a)return{x:e,y:a,width:n-e,height:i-a}}function qu(r,t,e){var n=G({rectHover:!0},t),a=n.style={strokeNoScale:!0};if(e=e||{x:-1,y:-1,width:2,height:2},r)return r.indexOf("image://")===0?(a.image=r.slice(8),ue(a,e),new Vt(n)):pp(r.replace("path://",""),n,e,"center")}function Zu(r,t,e,n,a){for(var i=0,o=a[a.length-1];i<a.length;i++){var s=a[i];if(Ux(r,t,e,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function Ux(r,t,e,n,a,i,o,s){var l=e-r,u=n-t,c=o-a,f=s-i,h=y2(c,f,l,u);if(iee(h))return!1;var p=r-a,v=t-i,m=y2(p,v,l,u)/h;if(m<0||m>1)return!1;var g=y2(p,v,c,f)/h;return!(g<0||g>1)}function y2(r,t,e,n){return r*n-e*t}function iee(r){return r<=1e-6&&r>=-1e-6}function Co(r){var t=r.itemTooltipOption,e=r.componentModel,n=r.itemName,a=K(t)?{formatter:t}:t,i=e.mainType,o=e.componentIndex,s={componentType:i,name:n,$vars:["name"]};s[i+"Index"]=o;var l=r.formatterParamsExtra;l&&M(Me(l),function(c){ee(s,c)||(s[c]=l[c],s.$vars.push(c))});var u=ge(r.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:n,option:ue({content:n,encodeHTMLContent:!0,formatterParams:s},a)}}function Yx(r,t){var e;r.isGroup&&(e=t(r)),e||r.traverse(t)}function ii(r,t){if(r)if(U(r))for(var e=0;e<r.length;e++)Yx(r[e],t);else Yx(r,t)}wn("circle",Ca),wn("ellipse",ip),wn("sector",ur),wn("ring",Wu),wn("polygon",cr),wn("polyline",fr),wn("rect",Pe),wn("line",Dt),wn("bezierCurve",Uu),wn("arc",sp);const Eo=Object.freeze(Object.defineProperty({__proto__:null,Arc:sp,BezierCurve:Uu,BoundingRect:we,Circle:Ca,CompoundPath:v2,Ellipse:ip,Group:de,Image:Vt,IncrementalDisplayable:KQ,Line:Dt,LinearGradient:Yu,OrientedBoundingRect:cp,Path:Te,Point:ye,Polygon:cr,Polyline:fr,RadialGradient:Ox,Rect:Pe,Ring:Wu,Sector:ur,Text:Ve,applyTransform:xn,clipPointsByRect:Wx,clipRectByRect:aee,createIcon:qu,extendPath:tee,extendShape:QQ,getShapeClass:_2,getTransform:So,groupTransition:Xu,initProps:tt,isElementRemoved:Xs,lineLineIntersect:Ux,linePolygonIntersect:Zu,makeImage:Hx,makePath:pp,mergePath:Ur,registerShape:wn,removeElement:ai,removeElementWithFadeOut:ju,resizePath:Gx,setTooltipConfig:Co,subPixelOptimize:dp,subPixelOptimizeLine:qs,subPixelOptimizeRect:ree,transformDirection:vp,traverseElements:ii,updateProps:Oe},Symbol.toStringTag,{value:"Module"}));var gp={};function jx(r,t){for(var e=0;e<lr.length;e++){var n=lr[e],a=t[n],i=r.ensureState(n);i.style=i.style||{},i.style.text=a}var o=r.currentStates.slice();r.clearStates(!0),r.setStyle({text:t.normal}),r.useStates(o,!0)}function w2(r,t,e){var n=r.labelFetcher,a=r.labelDataIndex,i=r.labelDimIndex,o=t.normal,s;n&&(s=n.getFormattedLabel(a,"normal",null,i,o&&o.get("formatter"),e!=null?{interpolatedValue:e}:null)),s==null&&(s=ae(r.defaultText)?r.defaultText(a,r,e):r.defaultText);for(var l={normal:s},u=0;u<lr.length;u++){var c=lr[u],f=t[c];l[c]=ve(n?n.getFormattedLabel(a,c,null,i,f&&f.get("formatter")):null,s)}return l}function Ht(r,t,e,n){e=e||gp;for(var a=r instanceof Ve,i=!1,o=0;o<Ru.length;o++){var s=t[Ru[o]];if(s&&s.getShallow("show")){i=!0;break}}var l=a?r:r.getTextContent();if(i){a||(l||(l=new Ve,r.setTextContent(l)),r.stateProxy&&(l.stateProxy=r.stateProxy));var u=w2(e,t),c=t.normal,f=!!c.getShallow("show"),h=Ze(c,n&&n.normal,e,!1,!a);h.text=u.normal,a||r.setTextConfig(mp(c,e,!1));for(var o=0;o<lr.length;o++){var p=lr[o],s=t[p];if(s){var v=l.ensureState(p),m=!!ve(s.getShallow("show"),f);if(m!==f&&(v.ignore=!m),v.style=Ze(s,n&&n[p],e,!0,!a),v.style.text=u[p],!a){var g=r.ensureState(p);g.textConfig=mp(s,e,!0)}}}l.silent=!!c.getShallow("silent"),l.style.x!=null&&(h.x=l.style.x),l.style.y!=null&&(h.y=l.style.y),l.ignore=!f,l.useStyle(h),l.dirty(),e.enableTextSetter&&(Zs(l).setLabelText=function(_){var y=w2(e,t,_);jx(l,y)})}else l&&(l.ignore=!0);r.dirty()}function At(r,t){t=t||"label";for(var e={normal:r.getModel(t)},n=0;n<lr.length;n++){var a=lr[n];e[a]=r.getModel([a,t])}return e}function Ze(r,t,e,n,a){var i={};return oee(i,r,e,n,a),t&&G(i,t),i}function mp(r,t,e){t=t||{};var n={},a,i=r.getShallow("rotate"),o=ve(r.getShallow("distance"),e?null:5),s=r.getShallow("offset");return a=r.getShallow("position")||(e?null:"inside"),a==="outside"&&(a=t.defaultOutsidePosition||"top"),a!=null&&(n.position=a),s!=null&&(n.offset=s),i!=null&&(i*=Math.PI/180,n.rotation=i),o!=null&&(n.distance=o),n.outsideFill=r.get("color")==="inherit"?t.inheritColor||null:"auto",n}function oee(r,t,e,n,a){e=e||gp;var i=t.ecModel,o=i&&i.option.textStyle,s=see(t),l;if(s){l={};for(var u in s)if(s.hasOwnProperty(u)){var c=t.getModel(["rich",u]);Kx(l[u]={},c,o,e,n,a,!1,!0)}}l&&(r.rich=l);var f=t.get("overflow");f&&(r.overflow=f);var h=t.get("minMargin");h!=null&&(r.margin=h),Kx(r,t,o,e,n,a,!0,!1)}function see(r){for(var t;r&&r!==r.ecModel;){var e=(r.option||gp).rich;if(e){t=t||{};for(var n=Me(e),a=0;a<n.length;a++){var i=n[a];t[i]=1}}r=r.parentModel}return t}var Xx=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],qx=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],Zx=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function Kx(r,t,e,n,a,i,o,s){e=!a&&e||gp;var l=n&&n.inheritColor,u=t.getShallow("color"),c=t.getShallow("textBorderColor"),f=ve(t.getShallow("opacity"),e.opacity);(u==="inherit"||u==="auto")&&(process.env.NODE_ENV!=="production"&&u==="auto"&&_t("color: 'auto'","color: 'inherit'"),l?u=l:u=null),(c==="inherit"||c==="auto")&&(process.env.NODE_ENV!=="production"&&c==="auto"&&_t("color: 'auto'","color: 'inherit'"),l?c=l:c=null),i||(u=u||e.color,c=c||e.textBorderColor),u!=null&&(r.fill=u),c!=null&&(r.stroke=c);var h=ve(t.getShallow("textBorderWidth"),e.textBorderWidth);h!=null&&(r.lineWidth=h);var p=ve(t.getShallow("textBorderType"),e.textBorderType);p!=null&&(r.lineDash=p);var v=ve(t.getShallow("textBorderDashOffset"),e.textBorderDashOffset);v!=null&&(r.lineDashOffset=v),!a&&f==null&&!s&&(f=n&&n.defaultOpacity),f!=null&&(r.opacity=f),!a&&!i&&r.fill==null&&n.inheritColor&&(r.fill=n.inheritColor);for(var m=0;m<Xx.length;m++){var g=Xx[m],_=ve(t.getShallow(g),e[g]);_!=null&&(r[g]=_)}for(var m=0;m<qx.length;m++){var g=qx[m],_=t.getShallow(g);_!=null&&(r[g]=_)}if(r.verticalAlign==null){var y=t.getShallow("baseline");y!=null&&(r.verticalAlign=y)}if(!o||!n.disableBox){for(var m=0;m<Zx.length;m++){var g=Zx[m],_=t.getShallow(g);_!=null&&(r[g]=_)}var w=t.getShallow("borderType");w!=null&&(r.borderDash=w),(r.backgroundColor==="auto"||r.backgroundColor==="inherit")&&l&&(process.env.NODE_ENV!=="production"&&r.backgroundColor==="auto"&&_t("backgroundColor: 'auto'","backgroundColor: 'inherit'"),r.backgroundColor=l),(r.borderColor==="auto"||r.borderColor==="inherit")&&l&&(process.env.NODE_ENV!=="production"&&r.borderColor==="auto"&&_t("borderColor: 'auto'","borderColor: 'inherit'"),r.borderColor=l)}}function x2(r,t){var e=t&&t.getModel("textStyle");return pn([r.fontStyle||e&&e.getShallow("fontStyle")||"",r.fontWeight||e&&e.getShallow("fontWeight")||"",(r.fontSize||e&&e.getShallow("fontSize")||12)+"px",r.fontFamily||e&&e.getShallow("fontFamily")||"sans-serif"].join(" "))}var Zs=Ne();function Jx(r,t,e,n){if(r){var a=Zs(r);a.prevValue=a.value,a.value=e;var i=t.normal;a.valueAnimation=i.get("valueAnimation"),a.valueAnimation&&(a.precision=i.get("precision"),a.defaultInterpolatedText=n,a.statesModels=t)}}function Qx(r,t,e,n,a){var i=Zs(r);if(!i.valueAnimation||i.prevValue===i.value)return;var o=i.defaultInterpolatedText,s=ve(i.interpolatedValue,i.prevValue),l=i.value;function u(c){var f=Lw(e,i.precision,s,l,c);i.interpolatedValue=c===1?null:f;var h=w2({labelDataIndex:t,labelFetcher:a,defaultText:o?o(f):f+""},i.statesModels,f);jx(r,h)}r.percent=0,(i.prevValue==null?tt:Oe)(r,{percent:1},n,t,null,u)}var lee=["textStyle","color"],b2=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],S2=new Ve,uee=function(){function r(){}return r.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(lee):null)},r.prototype.getFont=function(){return x2({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},r.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<b2.length;n++)e[b2[n]]=this.getShallow(b2[n]);return S2.useStyle(e),S2.update(),S2.getBoundingRect()},r}(),e5=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],cee=oo(e5),fee=function(){function r(){}return r.prototype.getLineStyle=function(t){return cee(this,t)},r}(),t5=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],hee=oo(t5),pee=function(){function r(){}return r.prototype.getItemStyle=function(t,e){return hee(this,t,e)},r}(),Ue=function(){function r(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return r.prototype.init=function(t,e,n){},r.prototype.mergeOption=function(t,e){_e(this.option,t,!0)},r.prototype.get=function(t,e){return t==null?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},r.prototype.getShallow=function(t,e){var n=this.option,a=n==null?n:n[t];if(a==null&&!e){var i=this.parentModel;i&&(a=i.getShallow(t))}return a},r.prototype.getModel=function(t,e){var n=t!=null,a=n?this.parsePath(t):null,i=n?this._doGet(a):this.option;return e=e||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(a)),new r(i,e,this.ecModel)},r.prototype.isEmpty=function(){return this.option==null},r.prototype.restoreData=function(){},r.prototype.clone=function(){var t=this.constructor;return new t(pe(this.option))},r.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},r.prototype.resolveParentPath=function(t){return t},r.prototype.isAnimationEnabled=function(){if(!Ee.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},r.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var a=0;a<t.length&&!(t[a]&&(n=n&&typeof n=="object"?n[t[a]]:null,n==null));a++);return n==null&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},r}();Bg(Ue),bJ(Ue),gt(Ue,fee),gt(Ue,pee),gt(Ue,DJ),gt(Ue,uee);var dee=Math.round(Math.random()*10);function Ks(r){return[r||"",dee++].join("_")}function vee(r){var t={};r.registerSubTypeDefaulter=function(e,n){var a=Fn(e);t[a.main]=n},r.determineSubType=function(e,n){var a=n.type;if(!a){var i=Fn(e).main;r.hasSubTypes(e)&&t[i]&&(a=t[i](n))}return a}}function gee(r,t){r.topologicalTravel=function(i,o,s,l){if(!i.length)return;var u=e(o),c=u.graph,f=u.noEntryList,h={};for(M(i,function(y){h[y]=!0});f.length;){var p=f.pop(),v=c[p],m=!!h[p];m&&(s.call(l,p,v.originalDeps.slice()),delete h[p]),M(v.successor,m?_:g)}M(h,function(){var y="";throw process.env.NODE_ENV!=="production"&&(y=or("Circular dependency may exists: ",h,i,o)),new Error(y)});function g(y){c[y].entryCount--,c[y].entryCount===0&&f.push(y)}function _(y){h[y]=!0,g(y)}};function e(i){var o={},s=[];return M(i,function(l){var u=n(o,l),c=u.originalDeps=t(l),f=a(c,i);u.entryCount=f.length,u.entryCount===0&&s.push(l),M(f,function(h){xe(u.predecessor,h)<0&&u.predecessor.push(h);var p=n(o,h);xe(p.successor,h)<0&&p.successor.push(l)})}),{graph:o,noEntryList:s}}function n(i,o){return i[o]||(i[o]={predecessor:[],successor:[]}),i[o]}function a(i,o){var s=[];return M(i,function(l){xe(o,l)>=0&&s.push(l)}),s}}function oi(r,t){return _e(_e({},r,!0),t,!0)}const mee={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:". "}}}},_ee={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 _p="ZH",C2="EN",Js=C2,yp={},E2={},r5=Ee.domSupported?function(){var r=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Js).toUpperCase();return r.indexOf(_p)>-1?_p:Js}():Js;function n5(r,t){r=r.toUpperCase(),E2[r]=new Ue(t),yp[r]=t}function yee(r){if(K(r)){var t=yp[r.toUpperCase()]||{};return r===_p||r===C2?pe(t):_e(pe(t),pe(yp[Js]),!1)}else return _e(pe(r),pe(yp[Js]),!1)}function T2(r){return E2[r]}function wee(){return E2[Js]}n5(C2,mee),n5(_p,_ee);var D2=1e3,A2=D2*60,Ku=A2*60,Yr=Ku*24,a5=Yr*365,Ju={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}"},wp="{yyyy}-{MM}-{dd}",i5={year:"{yyyy}",month:"{yyyy}-{MM}",day:wp,hour:wp+" "+Ju.hour,minute:wp+" "+Ju.minute,second:wp+" "+Ju.second,millisecond:Ju.none},M2=["year","month","day","hour","minute","second","millisecond"],o5=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function si(r,t){return r+="","0000".substr(0,t-r.length)+r}function Qs(r){switch(r){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return r}}function xee(r){return r===Qs(r)}function bee(r){switch(r){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function xp(r,t,e,n){var a=Hn(r),i=a[k2(e)](),o=a[el(e)]()+1,s=Math.floor((o-1)/3)+1,l=a[bp(e)](),u=a["get"+(e?"UTC":"")+"Day"](),c=a[Qu(e)](),f=(c-1)%12+1,h=a[Sp(e)](),p=a[Cp(e)](),v=a[Ep(e)](),m=c>=12?"pm":"am",g=m.toUpperCase(),_=n instanceof Ue?n:T2(n||r5)||wee(),y=_.getModel("time"),w=y.get("month"),x=y.get("monthAbbr"),b=y.get("dayOfWeek"),S=y.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,m+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,si(i%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,w[o-1]).replace(/{MMM}/g,x[o-1]).replace(/{MM}/g,si(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,si(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,b[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,si(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,si(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,si(h,2)).replace(/{m}/g,h+"").replace(/{ss}/g,si(p,2)).replace(/{s}/g,p+"").replace(/{SSS}/g,si(v,3)).replace(/{S}/g,v+"")}function See(r,t,e,n,a){var i=null;if(K(e))i=e;else if(ae(e))i=e(r.value,t,{level:r.level});else{var o=G({},Ju);if(r.level>0)for(var s=0;s<M2.length;++s)o[M2[s]]="{primary|"+o[M2[s]]+"}";var l=e?e.inherit===!1?e:ue(e,o):o,u=s5(r.value,a);if(l[u])i=l[u];else if(l.inherit){for(var c=o5.indexOf(u),s=c-1;s>=0;--s)if(l[u]){i=l[u];break}i=i||o.none}if(U(i)){var f=r.level==null?0:r.level>=0?r.level:i.length+r.level;f=Math.min(f,i.length-1),i=i[f]}}return xp(new Date(r.value),i,a,n)}function s5(r,t){var e=Hn(r),n=e[el(t)]()+1,a=e[bp(t)](),i=e[Qu(t)](),o=e[Sp(t)](),s=e[Cp(t)](),l=e[Ep(t)](),u=l===0,c=u&&s===0,f=c&&o===0,h=f&&i===0,p=h&&a===1,v=p&&n===1;return v?"year":p?"month":h?"day":f?"hour":c?"minute":u?"second":"millisecond"}function l5(r,t,e){var n=Be(r)?Hn(r):r;switch(t=t||s5(r,e),t){case"year":return n[k2(e)]();case"half-year":return n[el(e)]()>=6?1:0;case"quarter":return Math.floor((n[el(e)]()+1)/4);case"month":return n[el(e)]();case"day":return n[bp(e)]();case"half-day":return n[Qu(e)]()/24;case"hour":return n[Qu(e)]();case"minute":return n[Sp(e)]();case"second":return n[Cp(e)]();case"millisecond":return n[Ep(e)]()}}function k2(r){return r?"getUTCFullYear":"getFullYear"}function el(r){return r?"getUTCMonth":"getMonth"}function bp(r){return r?"getUTCDate":"getDate"}function Qu(r){return r?"getUTCHours":"getHours"}function Sp(r){return r?"getUTCMinutes":"getMinutes"}function Cp(r){return r?"getUTCSeconds":"getSeconds"}function Ep(r){return r?"getUTCMilliseconds":"getMilliseconds"}function Cee(r){return r?"setUTCFullYear":"setFullYear"}function u5(r){return r?"setUTCMonth":"setMonth"}function c5(r){return r?"setUTCDate":"setDate"}function f5(r){return r?"setUTCHours":"setHours"}function h5(r){return r?"setUTCMinutes":"setMinutes"}function p5(r){return r?"setUTCSeconds":"setSeconds"}function d5(r){return r?"setUTCMilliseconds":"setMilliseconds"}function v5(r){if(!Ig(r))return K(r)?r:"-";var t=(r+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function g5(r,t){return r=(r||"").toLowerCase().replace(/-(.)/g,function(e,n){return n.toUpperCase()}),t&&r&&(r=r.charAt(0).toUpperCase()+r.slice(1)),r}var tl=N0;function L2(r,t,e){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(c){return c&&pn(c)?c:"-"}function i(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=t==="time",s=r instanceof Date;if(o||s){var l=o?Hn(r):r;if(isNaN(+l)){if(s)return"-"}else return xp(l,n,e)}if(t==="ordinal")return ch(r)?a(r):Be(r)&&i(r)?r+"":"-";var u=_a(r);return i(u)?v5(u):ch(r)?a(r):typeof r=="boolean"?r+"":"-"}var m5=["a","b","c","d","e","f","g"],I2=function(r,t){return"{"+r+(t??"")+"}"};function _5(r,t,e){U(t)||(t=[t]);var n=t.length;if(!n)return"";for(var a=t[0].$vars||[],i=0;i<a.length;i++){var o=m5[i];r=r.replace(I2(o),I2(o,0))}for(var s=0;s<n;s++)for(var l=0;l<a.length;l++){var u=t[s][a[l]];r=r.replace(I2(m5[l],s),e?ir(u):u)}return r}function Eee(r,t,e){return M(t,function(n,a){r=r.replace("{"+a+"}",n)}),r}function Tee(r,t){var e=K(r)?{color:r,extraCssText:t}:r||{},n=e.color,a=e.type;t=e.extraCssText;var i=e.renderMode||"html";if(!n)return"";if(i==="html")return a==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+ir(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+ir(n)+";"+(t||"")+'"></span>';var o=e.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function To(r,t){return t=t||"transparent",K(r)?r:oe(r)&&r.colorStops&&(r.colorStops[0]||{}).color||t}function Tp(r,t){if(t==="_blank"||t==="blank"){var e=window.open();e.opener=null,e.location.href=r}else window.open(r,t)}var Dp=M,y5=["left","right","top","bottom","width","height"],Do=[["width","left","right"],["height","top","bottom"]];function N2(r,t,e,n,a){var i=0,o=0;n==null&&(n=1/0),a==null&&(a=1/0);var s=0;t.eachChild(function(l,u){var c=l.getBoundingRect(),f=t.childAt(u+1),h=f&&f.getBoundingRect(),p,v;if(r==="horizontal"){var m=c.width+(h?-h.x+c.x:0);p=i+m,p>n||l.newline?(i=0,p=m,o+=s+e,s=c.height):s=Math.max(s,c.height)}else{var g=c.height+(h?-h.y+c.y:0);v=o+g,v>a||l.newline?(i+=s+e,o=0,v=g,s=c.width):s=Math.max(s,c.width)}l.newline||(l.x=i,l.y=o,l.markRedraw(),r==="horizontal"?i=p+e:o=v+e)})}var Ao=N2;me(N2,"vertical"),me(N2,"horizontal");function Dee(r,t,e){var n=t.width,a=t.height,i=Z(r.left,n),o=Z(r.top,a),s=Z(r.right,n),l=Z(r.bottom,a);return(isNaN(i)||isNaN(parseFloat(r.left)))&&(i=0),(isNaN(s)||isNaN(parseFloat(r.right)))&&(s=n),(isNaN(o)||isNaN(parseFloat(r.top)))&&(o=0),(isNaN(l)||isNaN(parseFloat(r.bottom)))&&(l=a),e=tl(e||0),{width:Math.max(s-i-e[1]-e[3],0),height:Math.max(l-o-e[0]-e[2],0)}}function Et(r,t,e){e=tl(e||0);var n=t.width,a=t.height,i=Z(r.left,n),o=Z(r.top,a),s=Z(r.right,n),l=Z(r.bottom,a),u=Z(r.width,n),c=Z(r.height,a),f=e[2]+e[0],h=e[1]+e[3],p=r.aspect;switch(isNaN(u)&&(u=n-s-h-i),isNaN(c)&&(c=a-l-f-o),p!=null&&(isNaN(u)&&isNaN(c)&&(p>n/a?u=n*.8:c=a*.8),isNaN(u)&&(u=p*c),isNaN(c)&&(c=u/p)),isNaN(i)&&(i=n-s-u-h),isNaN(o)&&(o=a-l-c-f),r.left||r.right){case"center":i=n/2-u/2-e[3];break;case"right":i=n-u-h;break}switch(r.top||r.bottom){case"middle":case"center":o=a/2-c/2-e[0];break;case"bottom":o=a-c-f;break}i=i||0,o=o||0,isNaN(u)&&(u=n-h-i-(s||0)),isNaN(c)&&(c=a-f-o-(l||0));var v=new we(i+e[3],o+e[0],u,c);return v.margin=e,v}function Ap(r,t,e,n,a,i){var o=!a||!a.hv||a.hv[0],s=!a||!a.hv||a.hv[1],l=a&&a.boundingMode||"all";if(i=i||r,i.x=r.x,i.y=r.y,!o&&!s)return!1;var u;if(l==="raw")u=r.type==="group"?new we(0,0,+t.width||0,+t.height||0):r.getBoundingRect();else if(u=r.getBoundingRect(),r.needLocalTransform()){var c=r.getLocalTransform();u=u.clone(),u.applyTransform(c)}var f=Et(ue({width:u.width,height:u.height},t),e,n),h=o?f.x-u.x:0,p=s?f.y-u.y:0;return l==="raw"?(i.x=h,i.y=p):(i.x+=h,i.y+=p),i===r&&r.markRedraw(),!0}function Aee(r,t){return r[Do[t][0]]!=null||r[Do[t][1]]!=null&&r[Do[t][2]]!=null}function ec(r){var t=r.layoutMode||r.constructor.layoutMode;return oe(t)?t:t?{type:t}:null}function li(r,t,e){var n=e&&e.ignoreSize;!U(n)&&(n=[n,n]);var a=o(Do[0],0),i=o(Do[1],1);u(Do[0],r,a),u(Do[1],r,i);function o(c,f){var h={},p=0,v={},m=0,g=2;if(Dp(c,function(w){v[w]=r[w]}),Dp(c,function(w){s(t,w)&&(h[w]=v[w]=t[w]),l(h,w)&&p++,l(v,w)&&m++}),n[f])return l(t,c[1])?v[c[2]]=null:l(t,c[2])&&(v[c[1]]=null),v;if(m===g||!p)return v;if(p>=g)return h;for(var _=0;_<c.length;_++){var y=c[_];if(!s(h,y)&&s(r,y)){h[y]=r[y];break}}return h}function s(c,f){return c.hasOwnProperty(f)}function l(c,f){return c[f]!=null&&c[f]!=="auto"}function u(c,f,h){Dp(c,function(p){f[p]=h[p]})}}function rl(r){return w5({},r)}function w5(r,t){return t&&r&&Dp(y5,function(e){t.hasOwnProperty(e)&&(r[e]=t[e])}),r}var Mee=Ne(),Ae=function(r){F(t,r);function t(e,n,a){var i=r.call(this,e,n,a)||this;return i.uid=Ks("ec_cpt_model"),i}return t.prototype.init=function(e,n,a){this.mergeDefaultAndTheme(e,a)},t.prototype.mergeDefaultAndTheme=function(e,n){var a=ec(this),i=a?rl(e):{},o=n.getTheme();_e(e,o.get(this.mainType)),_e(e,this.getDefaultOption()),a&&li(e,i,a)},t.prototype.mergeOption=function(e,n){_e(this.option,e,!0);var a=ec(this);a&&li(this.option,e,a)},t.prototype.optionUpdated=function(e,n){},t.prototype.getDefaultOption=function(){var e=this.constructor;if(!yJ(e))return e.defaultOption;var n=Mee(this);if(!n.defaultOption){for(var a=[],i=e;i;){var o=i.prototype.defaultOption;o&&a.push(o),i=i.superClass}for(var s={},l=a.length-1;l>=0;l--)s=_e(s,a[l],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(e,n){var a=e+"Index",i=e+"Id";return Pu(this.ecModel,e,{index:this.get(a,!0),id:this.get(i,!0)},n)},t.prototype.getBoxLayoutParams=function(){var e=this;return{left:e.get("left"),top:e.get("top"),right:e.get("right"),bottom:e.get("bottom"),width:e.get("width"),height:e.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(e){this.option.zlevel=e},t.protoInitialize=function(){var e=t.prototype;e.type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0}(),t}(Ue);Nw(Ae,Ue),Wh(Ae),vee(Ae),gee(Ae,kee);function kee(r){var t=[];return M(Ae.getClassesByMainType(r),function(e){t=t.concat(e.dependencies||e.prototype.dependencies||[])}),t=Y(t,function(e){return Fn(e).main}),r!=="dataset"&&xe(t,"dataset")<=0&&t.unshift("dataset"),t}var x5="";typeof navigator<"u"&&(x5=navigator.platform||"");var nl="rgba(0, 0, 0, 0.2)";const Lee={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:nl,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:nl,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:nl,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:nl,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:nl,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:nl,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:x5.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 P2=ne(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),jr="original",Xt="arrayRows",Xr="objectRows",jn="keyedColumns",Ea="typedArray",b5="unknown",Xn="column",al="row",Ft={Must:1,Might:2,Not:3},S5=Ne();function Iee(r){S5(r).datasetMap=ne()}function C5(r,t,e){var n={},a=B2(t);if(!a||!r)return n;var i=[],o=[],s=t.ecModel,l=S5(s).datasetMap,u=a.uid+"_"+e.seriesLayoutBy,c,f;r=r.slice(),M(r,function(m,g){var _=oe(m)?m:r[g]={name:m};_.type==="ordinal"&&c==null&&(c=g,f=v(_)),n[_.name]=[]});var h=l.get(u)||l.set(u,{categoryWayDim:f,valueWayDim:0});M(r,function(m,g){var _=m.name,y=v(m);if(c==null){var w=h.valueWayDim;p(n[_],w,y),p(o,w,y),h.valueWayDim+=y}else if(c===g)p(n[_],0,y),p(i,0,y);else{var w=h.categoryWayDim;p(n[_],w,y),p(o,w,y),h.categoryWayDim+=y}});function p(m,g,_){for(var y=0;y<_;y++)m.push(g+y)}function v(m){var g=m.dimsDef;return g?g.length:1}return i.length&&(n.itemName=i),o.length&&(n.seriesName=o),n}function V2(r,t,e){var n={},a=B2(r);if(!a)return n;var i=t.sourceFormat,o=t.dimensionsDefine,s;(i===Xr||i===jn)&&M(o,function(c,f){(oe(c)?c.name:c)==="name"&&(s=f)});var l=function(){for(var c={},f={},h=[],p=0,v=Math.min(5,e);p<v;p++){var m=T5(t.data,i,t.seriesLayoutBy,o,t.startIndex,p);h.push(m);var g=m===Ft.Not;if(g&&c.v==null&&p!==s&&(c.v=p),(c.n==null||c.n===c.v||!g&&h[c.n]===Ft.Not)&&(c.n=p),_(c)&&h[c.n]!==Ft.Not)return c;g||(m===Ft.Might&&f.v==null&&p!==s&&(f.v=p),(f.n==null||f.n===f.v)&&(f.n=p))}function _(y){return y.v!=null&&y.n!=null}return _(c)?c:_(f)?f:null}();if(l){n.value=[l.v];var u=s??l.n;n.itemName=[u],n.seriesName=[u]}return n}function B2(r){var t=r.get("data",!0);if(!t)return Pu(r.ecModel,"dataset",{index:r.get("datasetIndex",!0),id:r.get("datasetId",!0)},yt).models[0]}function Nee(r){return!r.get("transform",!0)&&!r.get("fromTransformResult",!0)?[]:Pu(r.ecModel,"dataset",{index:r.get("fromDatasetIndex",!0),id:r.get("fromDatasetId",!0)},yt).models}function E5(r,t){return T5(r.data,r.sourceFormat,r.seriesLayoutBy,r.dimensionsDefine,r.startIndex,t)}function T5(r,t,e,n,a,i){var o,s=5;if(nr(r))return Ft.Not;var l,u;if(n){var c=n[i];oe(c)?(l=c.name,u=c.type):K(c)&&(l=c)}if(u!=null)return u==="ordinal"?Ft.Must:Ft.Not;if(t===Xt){var f=r;if(e===al){for(var h=f[i],p=0;p<(h||[]).length&&p<s;p++)if((o=x(h[a+p]))!=null)return o}else for(var p=0;p<f.length&&p<s;p++){var v=f[a+p];if(v&&(o=x(v[i]))!=null)return o}}else if(t===Xr){var m=r;if(!l)return Ft.Not;for(var p=0;p<m.length&&p<s;p++){var g=m[p];if(g&&(o=x(g[l]))!=null)return o}}else if(t===jn){var _=r;if(!l)return Ft.Not;var h=_[l];if(!h||nr(h))return Ft.Not;for(var p=0;p<h.length&&p<s;p++)if((o=x(h[p]))!=null)return o}else if(t===jr)for(var y=r,p=0;p<y.length&&p<s;p++){var g=y[p],w=zs(g);if(!U(w))return Ft.Not;if((o=x(w[i]))!=null)return o}function x(b){var S=K(b);if(b!=null&&Number.isFinite(Number(b))&&b!=="")return S?Ft.Might:Ft.Not;if(S&&b!=="-")return Ft.Must}return Ft.Not}var O2=ne();function Pee(r,t){se(O2.get(r)==null&&t),O2.set(r,t)}function Vee(r,t,e){var n=O2.get(t);if(!n)return e;var a=n(r);if(!a)return e;if(process.env.NODE_ENV!=="production")for(var i=0;i<a.length;i++)se(Hs(a[i]));return e.concat(a)}var D5=Ne(),Bee=Ne(),R2=function(){function r(){}return r.prototype.getColorFromPalette=function(t,e,n){var a=je(this.get("color",!0)),i=this.get("colorLayer",!0);return A5(this,D5,a,i,t,e,n)},r.prototype.clearColorPalette=function(){Ree(this,D5)},r}();function z2(r,t,e,n){var a=je(r.get(["aria","decal","decals"]));return A5(r,Bee,a,null,t,e,n)}function Oee(r,t){for(var e=r.length,n=0;n<e;n++)if(r[n].length>t)return r[n];return r[e-1]}function A5(r,t,e,n,a,i,o){i=i||r;var s=t(i),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(a))return u[a];var c=o==null||!n?e:Oee(n,o);if(c=c||e,!(!c||!c.length)){var f=c[l];return a&&(u[a]=f),s.paletteIdx=(l+1)%c.length,f}}function Ree(r,t){t(r).paletteIdx=0,t(r).paletteNameMap={}}var Mp,tc,M5,H2="\0_ec_inner",k5=1,zee={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"},Hee={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"},kp={};function Fee(r){M(r,function(t,e){if(!Ae.hasClass(e)){var n=zee[e];n&&!kp[n]&&(Rt("Component "+e+` is used but not imported.
|
|
71
|
-
import { `+n+` } from 'echarts/components';
|
|
72
|
-
echarts.use([`+n+"]);"),kp[n]=!0)}})}var F2=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e,n,a,i,o,s){i=i||{},this.option=null,this._theme=new Ue(i),this._locale=new Ue(o),this._optionManager=s},t.prototype.setOption=function(e,n,a){process.env.NODE_ENV!=="production"&&(se(e!=null,"option is null/undefined"),se(e[H2]!==k5,"please use chart.getOption()"));var i=N5(n);this._optionManager.setOption(e,a,i),this._resetOption(null,i)},t.prototype.resetOption=function(e,n){return this._resetOption(e,N5(n))},t.prototype._resetOption=function(e,n){var a=!1,i=this._optionManager;if(!e||e==="recreate"){var o=i.mountOption(e==="recreate");process.env.NODE_ENV!=="production"&&Fee(o),!this.option||e==="recreate"?M5(this,o):(this.restoreData(),this._mergeOption(o,n)),a=!0}if((e==="timeline"||e==="media")&&this.restoreData(),!e||e==="recreate"||e==="timeline"){var s=i.getTimelineOption(this);s&&(a=!0,this._mergeOption(s,n))}if(!e||e==="recreate"||e==="media"){var l=i.getMediaOption(this);l.length&&M(l,function(u){a=!0,this._mergeOption(u,n)},this)}return a},t.prototype.mergeOption=function(e){this._mergeOption(e,null)},t.prototype._mergeOption=function(e,n){var a=this.option,i=this._componentsMap,o=this._componentsCount,s=[],l=ne(),u=n&&n.replaceMergeMainTypeMap;Iee(this),M(e,function(f,h){f!=null&&(Ae.hasClass(h)?h&&(s.push(h),l.set(h,!0)):a[h]=a[h]==null?pe(f):_e(a[h],f,!0))}),u&&u.each(function(f,h){Ae.hasClass(h)&&!l.get(h)&&(s.push(h),l.set(h,!0))}),Ae.topologicalTravel(s,Ae.getAllClassMainTypes(),c,this);function c(f){var h=Vee(this,f,je(e[f])),p=i.get(f),v=p?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",m=Tw(p,h,v);cJ(m,f,Ae),a[f]=null,i.set(f,null),o.set(f,0);var g=[],_=[],y=0,w,x;M(m,function(b,S){var C=b.existing,D=b.newOption;if(!D)C&&(C.mergeOption({},this),C.optionUpdated({},!1));else{var T=f==="series",E=Ae.getClass(f,b.keyInfo.subType,!T);if(!E){if(process.env.NODE_ENV!=="production"){var A=b.keyInfo.subType,k=Hee[A];kp[A]||(kp[A]=!0,Rt(k?"Series "+A+` is used but not imported.
|
|
73
|
-
import { `+k+` } from 'echarts/charts';
|
|
74
|
-
echarts.use([`+k+"]);":"Unknown series "+A))}return}if(f==="tooltip"){if(w){process.env.NODE_ENV!=="production"&&(x||(it("Currently only one tooltip component is allowed."),x=!0));return}w=!0}if(C&&C.constructor===E)C.name=b.keyInfo.name,C.mergeOption(D,this),C.optionUpdated(D,!1);else{var I=G({componentIndex:S},b.keyInfo);C=new E(D,this,this,I),G(C,I),b.brandNew&&(C.__requireNewView=!0),C.init(D,this,this),C.optionUpdated(null,!0)}}C?(g.push(C.option),_.push(C),y++):(g.push(void 0),_.push(void 0))},this),a[f]=g,i.set(f,_),o.set(f,y),f==="series"&&Mp(this)}this._seriesIndices||Mp(this)},t.prototype.getOption=function(){var e=pe(this.option);return M(e,function(n,a){if(Ae.hasClass(a)){for(var i=je(n),o=i.length,s=!1,l=o-1;l>=0;l--)i[l]&&!Hs(i[l])?s=!0:(i[l]=null,!s&&o--);i.length=o,e[a]=i}}),delete e[H2],e},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(e){this._payload=e},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(e,n){var a=this._componentsMap.get(e);if(a){var i=a[n||0];if(i)return i;if(n==null){for(var o=0;o<a.length;o++)if(a[o])return a[o]}}},t.prototype.queryComponents=function(e){var n=e.mainType;if(!n)return[];var a=e.index,i=e.id,o=e.name,s=this._componentsMap.get(n);if(!s||!s.length)return[];var l;return a!=null?(l=[],M(je(a),function(u){s[u]&&l.push(s[u])})):i!=null?l=L5("id",i,s):o!=null?l=L5("name",o,s):l=Fe(s,function(u){return!!u}),I5(l,e)},t.prototype.findComponents=function(e){var n=e.query,a=e.mainType,i=s(n),o=i?this.queryComponents(i):Fe(this._componentsMap.get(a),function(u){return!!u});return l(I5(o,e));function s(u){var c=a+"Index",f=a+"Id",h=a+"Name";return u&&(u[c]!=null||u[f]!=null||u[h]!=null)?{mainType:a,index:u[c],id:u[f],name:u[h]}:null}function l(u){return e.filter?Fe(u,e.filter):u}},t.prototype.eachComponent=function(e,n,a){var i=this._componentsMap;if(ae(e)){var o=n,s=e;i.each(function(f,h){for(var p=0;f&&p<f.length;p++){var v=f[p];v&&s.call(o,h,v,v.componentIndex)}})}else for(var l=K(e)?i.get(e):oe(e)?this.findComponents(e):null,u=0;l&&u<l.length;u++){var c=l[u];c&&n.call(a,c,c.componentIndex)}},t.prototype.getSeriesByName=function(e){var n=Ct(e,null);return Fe(this._componentsMap.get("series"),function(a){return!!a&&n!=null&&a.name===n})},t.prototype.getSeriesByIndex=function(e){return this._componentsMap.get("series")[e]},t.prototype.getSeriesByType=function(e){return Fe(this._componentsMap.get("series"),function(n){return!!n&&n.subType===e})},t.prototype.getSeries=function(){return Fe(this._componentsMap.get("series"),function(e){return!!e})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(e,n){tc(this),M(this._seriesIndices,function(a){var i=this._componentsMap.get("series")[a];e.call(n,i,a)},this)},t.prototype.eachRawSeries=function(e,n){M(this._componentsMap.get("series"),function(a){a&&e.call(n,a,a.componentIndex)})},t.prototype.eachSeriesByType=function(e,n,a){tc(this),M(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];o.subType===e&&n.call(a,o,i)},this)},t.prototype.eachRawSeriesByType=function(e,n,a){return M(this.getSeriesByType(e),n,a)},t.prototype.isSeriesFiltered=function(e){return tc(this),this._seriesIndicesMap.get(e.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(e,n){tc(this);var a=[];M(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];e.call(n,o,i)&&a.push(i)},this),this._seriesIndices=a,this._seriesIndicesMap=ne(a)},t.prototype.restoreData=function(e){Mp(this);var n=this._componentsMap,a=[];n.each(function(i,o){Ae.hasClass(o)&&a.push(o)}),Ae.topologicalTravel(a,Ae.getAllClassMainTypes(),function(i){M(n.get(i),function(o){o&&(i!=="series"||!Gee(o,e))&&o.restoreData()})})},t.internalField=function(){Mp=function(e){var n=e._seriesIndices=[];M(e._componentsMap.get("series"),function(a){a&&n.push(a.componentIndex)}),e._seriesIndicesMap=ne(n)},tc=function(e){if(process.env.NODE_ENV!=="production"&&!e._seriesIndices)throw new Error("Option should contains series.")},M5=function(e,n){e.option={},e.option[H2]=k5,e._componentsMap=ne({series:[]}),e._componentsCount=ne();var a=n.aria;oe(a)&&a.enabled==null&&(a.enabled=!0),$ee(n,e._theme.option),_e(n,Lee,!1),e._mergeOption(n,null)}}(),t}(Ue);function Gee(r,t){if(t){var e=t.seriesIndex,n=t.seriesId,a=t.seriesName;return e!=null&&r.componentIndex!==e||n!=null&&r.id!==n||a!=null&&r.name!==a}}function $ee(r,t){var e=r.color&&!r.colorLayer;M(t,function(n,a){a==="colorLayer"&&e||Ae.hasClass(a)||(typeof n=="object"?r[a]=r[a]?_e(r[a],n,!1):pe(n):r[a]==null&&(r[a]=n))})}function L5(r,t,e){if(U(t)){var n=ne();return M(t,function(i){if(i!=null){var o=Ct(i,null);o!=null&&n.set(i,!0)}}),Fe(e,function(i){return i&&n.get(i[r])})}else{var a=Ct(t,null);return Fe(e,function(i){return i&&a!=null&&i[r]===a})}}function I5(r,t){return t.hasOwnProperty("subType")?Fe(r,function(e){return e&&e.subType===t.subType}):r}function N5(r){var t=ne();return r&&M(je(r.replaceMerge),function(e){process.env.NODE_ENV!=="production"&&se(Ae.hasClass(e),'"'+e+'" is not valid component main type in "replaceMerge"'),t.set(e,!0)}),{replaceMergeMainTypeMap:t}}gt(F2,R2);var Wee=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],P5=function(){function r(t){M(Wee,function(e){this[e]=J(t[e],t)},this)}return r}(),G2={},il=function(){function r(){this._coordinateSystems=[]}return r.prototype.create=function(t,e){var n=[];M(G2,function(a,i){var o=a.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},r.prototype.update=function(t,e){M(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},r.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},r.register=function(t,e){G2[t]=e},r.get=function(t){return G2[t]},r}(),Uee=/^(min|max)?(.+)$/,Yee=function(){function r(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return r.prototype.setOption=function(t,e,n){t&&(M(je(t.series),function(o){o&&o.data&&nr(o.data)&&hh(o.data)}),M(je(t.dataset),function(o){o&&o.source&&nr(o.source)&&hh(o.source)})),t=pe(t);var a=this._optionBackup,i=jee(t,e,!a);this._newBaseOption=i.baseOption,a?(i.timelineOptions.length&&(a.timelineOptions=i.timelineOptions),i.mediaList.length&&(a.mediaList=i.mediaList),i.mediaDefault&&(a.mediaDefault=i.mediaDefault)):this._optionBackup=i},r.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],pe(t?e.baseOption:this._newBaseOption)},r.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var a=t.getComponent("timeline");a&&(e=pe(n[a.getCurrentIndex()]))}return e},r.prototype.getMediaOption=function(t){var e=this._api.getWidth(),n=this._api.getHeight(),a=this._mediaList,i=this._mediaDefault,o=[],s=[];if(!a.length&&!i)return s;for(var l=0,u=a.length;l<u;l++)Xee(a[l].query,e,n)&&o.push(l);return!o.length&&i&&(o=[-1]),o.length&&!Zee(o,this._currentMediaIndices)&&(s=Y(o,function(c){return pe(c===-1?i.option:a[c].option)})),this._currentMediaIndices=o,s},r}();function jee(r,t,e){var n=[],a,i,o=r.baseOption,s=r.timeline,l=r.options,u=r.media,c=!!r.media,f=!!(l||s||o&&o.timeline);o?(i=o,i.timeline||(i.timeline=s)):((f||c)&&(r.options=r.media=null),i=r),c&&(U(u)?M(u,function(p){process.env.NODE_ENV!=="production"&&p&&!p.option&&oe(p.query)&&oe(p.query.option)&&Rt("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),p&&p.option&&(p.query?n.push(p):a||(a=p))}):process.env.NODE_ENV!=="production"&&Rt("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),h(i),M(l,function(p){return h(p)}),M(n,function(p){return h(p.option)});function h(p){M(t,function(v){v(p,e)})}return{baseOption:i,timelineOptions:l||[],mediaDefault:a,mediaList:n}}function Xee(r,t,e){var n={width:t,height:e,aspectratio:t/e},a=!0;return M(r,function(i,o){var s=o.match(Uee);if(!(!s||!s[1]||!s[2])){var l=s[1],u=s[2].toLowerCase();qee(n[u],i,l)||(a=!1)}}),a}function qee(r,t,e){return e==="min"?r>=t:e==="max"?r<=t:r===t}function Zee(r,t){return r.join(",")===t.join(",")}var qr=M,rc=oe,V5=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function $2(r){var t=r&&r.itemStyle;if(t)for(var e=0,n=V5.length;e<n;e++){var a=V5[e],i=t.normal,o=t.emphasis;i&&i[a]&&(process.env.NODE_ENV!=="production"&&_t("itemStyle.normal."+a,a),r[a]=r[a]||{},r[a].normal?_e(r[a].normal,i[a]):r[a].normal=i[a],i[a]=null),o&&o[a]&&(process.env.NODE_ENV!=="production"&&_t("itemStyle.emphasis."+a,"emphasis."+a),r[a]=r[a]||{},r[a].emphasis?_e(r[a].emphasis,o[a]):r[a].emphasis=o[a],o[a]=null)}}function qt(r,t,e){if(r&&r[t]&&(r[t].normal||r[t].emphasis)){var n=r[t].normal,a=r[t].emphasis;n&&(process.env.NODE_ENV!=="production"&&mn("'normal' hierarchy in "+t+" has been removed since 4.0. All style properties are configured in "+t+" directly now."),e?(r[t].normal=r[t].emphasis=null,ue(r[t],n)):r[t]=n),a&&(process.env.NODE_ENV!=="production"&&mn(t+".emphasis has been changed to emphasis."+t+" since 4.0"),r.emphasis=r.emphasis||{},r.emphasis[t]=a,a.focus&&(r.emphasis.focus=a.focus),a.blurScope&&(r.emphasis.blurScope=a.blurScope))}}function nc(r){qt(r,"itemStyle"),qt(r,"lineStyle"),qt(r,"areaStyle"),qt(r,"label"),qt(r,"labelLine"),qt(r,"upperLabel"),qt(r,"edgeLabel")}function wt(r,t){var e=rc(r)&&r[t],n=rc(e)&&e.textStyle;if(n){process.env.NODE_ENV!=="production"&&mn("textStyle hierarchy in "+t+" has been removed since 4.0. All textStyle properties are configured in "+t+" directly now.");for(var a=0,i=Ew.length;a<i;a++){var o=Ew[a];n.hasOwnProperty(o)&&(e[o]=n[o])}}}function Zr(r){r&&(nc(r),wt(r,"label"),r.emphasis&&wt(r.emphasis,"label"))}function Kee(r){if(rc(r)){$2(r),nc(r),wt(r,"label"),wt(r,"upperLabel"),wt(r,"edgeLabel"),r.emphasis&&(wt(r.emphasis,"label"),wt(r.emphasis,"upperLabel"),wt(r.emphasis,"edgeLabel"));var t=r.markPoint;t&&($2(t),Zr(t));var e=r.markLine;e&&($2(e),Zr(e));var n=r.markArea;n&&Zr(n);var a=r.data;if(r.type==="graph"){a=a||r.nodes;var i=r.links||r.edges;if(i&&!nr(i))for(var o=0;o<i.length;o++)Zr(i[o]);M(r.categories,function(u){nc(u)})}if(a&&!nr(a))for(var o=0;o<a.length;o++)Zr(a[o]);if(t=r.markPoint,t&&t.data)for(var s=t.data,o=0;o<s.length;o++)Zr(s[o]);if(e=r.markLine,e&&e.data)for(var l=e.data,o=0;o<l.length;o++)U(l[o])?(Zr(l[o][0]),Zr(l[o][1])):Zr(l[o]);r.type==="gauge"?(wt(r,"axisLabel"),wt(r,"title"),wt(r,"detail")):r.type==="treemap"?(qt(r.breadcrumb,"itemStyle"),M(r.levels,function(u){nc(u)})):r.type==="tree"&&nc(r.leaves)}}function Ta(r){return U(r)?r:r?[r]:[]}function B5(r){return(U(r)?r[0]:r)||{}}function Jee(r,t){qr(Ta(r.series),function(n){rc(n)&&Kee(n)});var e=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&e.push("valueAxis","categoryAxis","logAxis","timeAxis"),qr(e,function(n){qr(Ta(r[n]),function(a){a&&(wt(a,"axisLabel"),wt(a.axisPointer,"label"))})}),qr(Ta(r.parallel),function(n){var a=n&&n.parallelAxisDefault;wt(a,"axisLabel"),wt(a&&a.axisPointer,"label")}),qr(Ta(r.calendar),function(n){qt(n,"itemStyle"),wt(n,"dayLabel"),wt(n,"monthLabel"),wt(n,"yearLabel")}),qr(Ta(r.radar),function(n){wt(n,"name"),n.name&&n.axisName==null&&(n.axisName=n.name,delete n.name,process.env.NODE_ENV!=="production"&&mn("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"&&mn("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&qr(n.indicator,function(a){a.text&&_t("text","name","radar.indicator")})}),qr(Ta(r.geo),function(n){rc(n)&&(Zr(n),qr(Ta(n.regions),function(a){Zr(a)}))}),qr(Ta(r.timeline),function(n){Zr(n),qt(n,"label"),qt(n,"itemStyle"),qt(n,"controlStyle",!0);var a=n.data;U(a)&&M(a,function(i){oe(i)&&(qt(i,"label"),qt(i,"itemStyle"))})}),qr(Ta(r.toolbox),function(n){qt(n,"iconStyle"),qr(n.feature,function(a){qt(a,"iconStyle")})}),wt(B5(r.axisPointer),"label"),wt(B5(r.tooltip).axisPointer,"label")}function Qee(r,t){for(var e=t.split(","),n=r,a=0;a<e.length&&(n=n&&n[e[a]],n!=null);a++);return n}function ete(r,t,e,n){for(var a=t.split(","),i=r,o,s=0;s<a.length-1;s++)o=a[s],i[o]==null&&(i[o]={}),i=i[o];i[a[s]]==null&&(i[a[s]]=e)}function O5(r){r&&M(tte,function(t){t[0]in r&&!(t[1]in r)&&(r[t[1]]=r[t[0]])})}var tte=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],rte=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],W2=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function ac(r){var t=r&&r.itemStyle;if(t)for(var e=0;e<W2.length;e++){var n=W2[e][1],a=W2[e][0];t[n]!=null&&(t[a]=t[n],process.env.NODE_ENV!=="production"&&_t(n,a))}}function R5(r){r&&r.alignTo==="edge"&&r.margin!=null&&r.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&_t("label.margin","label.edgeDistance","pie"),r.edgeDistance=r.margin)}function z5(r){r&&r.downplay&&!r.blur&&(r.blur=r.downplay,process.env.NODE_ENV!=="production"&&_t("downplay","blur","sunburst"))}function nte(r){r&&r.focusNodeAdjacency!=null&&(r.emphasis=r.emphasis||{},r.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&_t("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),r.emphasis.focus="adjacency"))}function H5(r,t){if(r)for(var e=0;e<r.length;e++)t(r[e]),r[e]&&H5(r[e].children,t)}function F5(r,t){Jee(r,t),r.series=je(r.series),M(r.series,function(e){if(oe(e)){var n=e.type;if(n==="line")e.clipOverflow!=null&&(e.clip=e.clipOverflow,process.env.NODE_ENV!=="production"&&_t("clipOverflow","clip","line"));else if(n==="pie"||n==="gauge"){e.clockWise!=null&&(e.clockwise=e.clockWise,process.env.NODE_ENV!=="production"&&_t("clockWise","clockwise")),R5(e.label);var a=e.data;if(a&&!nr(a))for(var i=0;i<a.length;i++)R5(a[i]);e.hoverOffset!=null&&(e.emphasis=e.emphasis||{},(e.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&_t("hoverOffset","emphasis.scaleSize"),e.emphasis.scaleSize=e.hoverOffset))}else if(n==="gauge"){var o=Qee(e,"pointer.color");o!=null&&ete(e,"itemStyle.color",o)}else if(n==="bar"){ac(e),ac(e.backgroundStyle),ac(e.emphasis);var a=e.data;if(a&&!nr(a))for(var i=0;i<a.length;i++)typeof a[i]=="object"&&(ac(a[i]),ac(a[i]&&a[i].emphasis))}else if(n==="sunburst"){var s=e.highlightPolicy;s&&(e.emphasis=e.emphasis||{},e.emphasis.focus||(e.emphasis.focus=s,process.env.NODE_ENV!=="production"&&_t("highlightPolicy","emphasis.focus","sunburst"))),z5(e),H5(e.data,z5)}else n==="graph"||n==="sankey"?nte(e):n==="map"&&(e.mapType&&!e.map&&(process.env.NODE_ENV!=="production"&&_t("mapType","map","map"),e.map=e.mapType),e.mapLocation&&(process.env.NODE_ENV!=="production"&&mn("`mapLocation` is not used anymore."),ue(e,e.mapLocation)));e.hoverAnimation!=null&&(e.emphasis=e.emphasis||{},e.emphasis&&e.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&_t("hoverAnimation","emphasis.scale"),e.emphasis.scale=e.hoverAnimation)),O5(e)}}),r.dataRange&&(r.visualMap=r.dataRange),M(rte,function(e){var n=r[e];n&&(U(n)||(n=[n]),M(n,function(a){O5(a)}))})}function ate(r){var t=ne();r.eachSeries(function(e){var n=e.get("stack");if(n){var a=t.get(n)||t.set(n,[]),i=e.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:e};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;a.length&&i.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(o)}}),t.each(ite)}function ite(r){M(r,function(t,e){var n=[],a=[NaN,NaN],i=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,l=t.seriesModel.get("stackStrategy")||"samesign";o.modify(i,function(u,c,f){var h=o.get(t.stackedDimension,f);if(isNaN(h))return a;var p,v;s?v=o.getRawIndex(f):p=o.get(t.stackedByDimension,f);for(var m=NaN,g=e-1;g>=0;g--){var _=r[g];if(s||(v=_.data.rawIndexOf(_.stackedByDimension,p)),v>=0){var y=_.data.getByRawIndex(_.stackResultDimension,v);if(l==="all"||l==="positive"&&y>0||l==="negative"&&y<0||l==="samesign"&&h>=0&&y>0||l==="samesign"&&h<=0&&y<0){h=ZK(h,y),m=y;break}}}return n[0]=h,n[1]=m,n})})}var Lp=function(){function r(t){this.data=t.data||(t.sourceFormat===jn?{}:[]),this.sourceFormat=t.sourceFormat||b5,this.seriesLayoutBy=t.seriesLayoutBy||Xn,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var a=e[n];a.type==null&&E5(this,n)===Ft.Must&&(a.type="ordinal")}}return r}();function U2(r){return r instanceof Lp}function Y2(r,t,e){e=e||G5(r);var n=t.seriesLayoutBy,a=ste(r,e,n,t.sourceHeader,t.dimensions),i=new Lp({data:r,sourceFormat:e,seriesLayoutBy:n,dimensionsDefine:a.dimensionsDefine,startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount,metaRawOption:pe(t)});return i}function j2(r){return new Lp({data:r,sourceFormat:nr(r)?Ea:jr})}function ote(r){return new Lp({data:r.data,sourceFormat:r.sourceFormat,seriesLayoutBy:r.seriesLayoutBy,dimensionsDefine:pe(r.dimensionsDefine),startIndex:r.startIndex,dimensionsDetectedCount:r.dimensionsDetectedCount})}function G5(r){var t=b5;if(nr(r))t=Ea;else if(U(r)){r.length===0&&(t=Xt);for(var e=0,n=r.length;e<n;e++){var a=r[e];if(a!=null){if(U(a)||nr(a)){t=Xt;break}else if(oe(a)){t=Xr;break}}}}else if(oe(r)){for(var i in r)if(ee(r,i)&&Yt(r[i])){t=jn;break}}return t}function ste(r,t,e,n,a){var i,o;if(!r)return{dimensionsDefine:$5(a),startIndex:o,dimensionsDetectedCount:i};if(t===Xt){var s=r;n==="auto"||n==null?W5(function(u){u!=null&&u!=="-"&&(K(u)?o==null&&(o=1):o=0)},e,s,10):o=Be(n)?n:n?1:0,!a&&o===1&&(a=[],W5(function(u,c){a[c]=u!=null?u+"":""},e,s,1/0)),i=a?a.length:e===al?s.length:s[0]?s[0].length:null}else if(t===Xr)a||(a=lte(r));else if(t===jn)a||(a=[],M(r,function(u,c){a.push(c)}));else if(t===jr){var l=zs(r[0]);i=U(l)&&l.length||1}else t===Ea&&process.env.NODE_ENV!=="production"&&se(!!a,"dimensions must be given if data is TypedArray.");return{startIndex:o,dimensionsDefine:$5(a),dimensionsDetectedCount:i}}function lte(r){for(var t=0,e;t<r.length&&!(e=r[t++]););if(e)return Me(e)}function $5(r){if(r){var t=ne();return Y(r,function(e,n){e=oe(e)?e:{name:e};var a={name:e.name,displayName:e.displayName,type:e.type};if(a.name==null)return a;a.name+="",a.displayName==null&&(a.displayName=a.name);var i=t.get(a.name);return i?a.name+="-"+i.count++:t.set(a.name,{count:1}),a})}}function W5(r,t,e,n){if(t===al)for(var a=0;a<e.length&&a<n;a++)r(e[a]?e[a][0]:null,a);else for(var i=e[0]||[],a=0;a<i.length&&a<n;a++)r(i[a],a)}function U5(r){var t=r.sourceFormat;return t===Xr||t===jn}var Mo,ko,Lo,Y5,j5,X5=function(){function r(t,e){var n=U2(t)?t:j2(t);this._source=n;var a=this._data=n.data;if(n.sourceFormat===Ea){if(process.env.NODE_ENV!=="production"&&e==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=e,this._data=a}j5(this,a,n)}return r.prototype.getSource=function(){return this._source},r.prototype.count=function(){return 0},r.prototype.getItem=function(t,e){},r.prototype.appendData=function(t){},r.prototype.clean=function(){},r.protoInitialize=function(){var t=r.prototype;t.pure=!1,t.persistent=!0}(),r.internalField=function(){var t;j5=function(o,s,l){var u=l.sourceFormat,c=l.seriesLayoutBy,f=l.startIndex,h=l.dimensionsDefine,p=Y5[q2(u,c)];if(process.env.NODE_ENV!=="production"&&se(p,"Invalide sourceFormat: "+u),G(o,p),u===Ea)o.getItem=e,o.count=a,o.fillStorage=n;else{var v=Z5(u,c);o.getItem=J(v,null,s,f,h);var m=J5(u,c);o.count=J(m,null,s,f,h)}};var e=function(o,s){o=o-this._offset,s=s||[];for(var l=this._data,u=this._dimSize,c=u*o,f=0;f<u;f++)s[f]=l[c+f];return s},n=function(o,s,l,u){for(var c=this._data,f=this._dimSize,h=0;h<f;h++){for(var p=u[h],v=p[0]==null?1/0:p[0],m=p[1]==null?-1/0:p[1],g=s-o,_=l[h],y=0;y<g;y++){var w=c[y*f+h];_[o+y]=w,w<v&&(v=w),w>m&&(m=w)}p[0]=v,p[1]=m}},a=function(){return this._data?this._data.length/this._dimSize:0};Y5=(t={},t[Xt+"_"+Xn]={pure:!0,appendData:i},t[Xt+"_"+al]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Xr]={pure:!0,appendData:i},t[jn]={pure:!0,appendData:function(o){var s=this._data;M(o,function(l,u){for(var c=s[u]||(s[u]=[]),f=0;f<(l||[]).length;f++)c.push(l[f])})}},t[jr]={appendData:i},t[Ea]={persistent:!1,pure:!0,appendData:function(o){process.env.NODE_ENV!=="production"&&se(nr(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 i(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}}(),r}(),q5=function(r,t,e,n){return r[n]},ute=(Mo={},Mo[Xt+"_"+Xn]=function(r,t,e,n){return r[n+t]},Mo[Xt+"_"+al]=function(r,t,e,n,a){n+=t;for(var i=a||[],o=r,s=0;s<o.length;s++){var l=o[s];i[s]=l?l[n]:null}return i},Mo[Xr]=q5,Mo[jn]=function(r,t,e,n,a){for(var i=a||[],o=0;o<e.length;o++){var s=e[o].name;if(process.env.NODE_ENV!=="production"&&s==null)throw new Error;var l=r[s];i[o]=l?l[n]:null}return i},Mo[jr]=q5,Mo);function Z5(r,t){var e=ute[q2(r,t)];return process.env.NODE_ENV!=="production"&&se(e,'Do not support get item on "'+r+'", "'+t+'".'),e}var K5=function(r,t,e){return r.length},cte=(ko={},ko[Xt+"_"+Xn]=function(r,t,e){return Math.max(0,r.length-t)},ko[Xt+"_"+al]=function(r,t,e){var n=r[0];return n?Math.max(0,n.length-t):0},ko[Xr]=K5,ko[jn]=function(r,t,e){var n=e[0].name;if(process.env.NODE_ENV!=="production"&&n==null)throw new Error;var a=r[n];return a?a.length:0},ko[jr]=K5,ko);function J5(r,t){var e=cte[q2(r,t)];return process.env.NODE_ENV!=="production"&&se(e,'Do not support count on "'+r+'", "'+t+'".'),e}var X2=function(r,t,e){return r[t]},fte=(Lo={},Lo[Xt]=X2,Lo[Xr]=function(r,t,e){return r[e]},Lo[jn]=X2,Lo[jr]=function(r,t,e){var n=zs(r);return n instanceof Array?n[t]:n},Lo[Ea]=X2,Lo);function Q5(r){var t=fte[r];return process.env.NODE_ENV!=="production"&&se(t,'Do not support get value on "'+r+'".'),t}function q2(r,t){return r===Xt?r+"_"+t:r}function ol(r,t,e){if(r){var n=r.getRawDataItem(t);if(n!=null){var a=r.getStore(),i=a.getSource().sourceFormat;if(e!=null){var o=r.getDimensionIndex(e),s=a.getDimensionProperty(o);return Q5(i)(n,o,s)}else{var l=n;return i===jr&&(l=zs(n)),l}}}}var hte=/\{@(.+?)\}/g,Ip=function(){function r(){}return r.prototype.getDataParams=function(t,e){var n=this.getData(e),a=this.getRawValue(t,e),i=n.getRawIndex(t),o=n.getName(t),s=n.getRawDataItem(t),l=n.getItemVisual(t,"style"),u=l&&l[n.getItemVisual(t,"drawType")||"fill"],c=l&&l.stroke,f=this.mainType,h=f==="series",p=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:i,data:s,dataType:e,value:a,color:u,borderColor:c,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},r.prototype.getFormattedLabel=function(t,e,n,a,i,o){e=e||"normal";var s=this.getData(n),l=this.getDataParams(t,n);if(o&&(l.value=o.interpolatedValue),a!=null&&U(l.value)&&(l.value=l.value[a]),!i){var u=s.getItemModel(t);i=u.get(e==="normal"?["label","formatter"]:[e,"label","formatter"])}if(ae(i))return l.status=e,l.dimensionIndex=a,i(l);if(K(i)){var c=_5(i,l);return c.replace(hte,function(f,h){var p=h.length,v=h;v.charAt(0)==="["&&v.charAt(p-1)==="]"&&(v=+v.slice(1,p-1),process.env.NODE_ENV!=="production"&&isNaN(v)&&Rt("Invalide label formatter: @"+h+", only support @[0], @[1], @[2], ..."));var m=ol(s,t,v);if(o&&U(o.interpolatedValue)){var g=s.getDimensionIndex(v);g>=0&&(m=o.interpolatedValue[g])}return m!=null?m+"":""})}},r.prototype.getRawValue=function(t,e){return ol(this.getData(e),t)},r.prototype.formatTooltip=function(t,e,n){},r}();function eb(r){var t,e;return oe(r)?r.type?e=r:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+or(r)):t=r,{text:t,frag:e}}function ic(r){return new pte(r)}var pte=function(){function r(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return r.prototype.perform=function(t){var e=this._upstream,n=t&&t.skip;if(this._dirty&&e){var a=this.context;a.data=a.outputData=e.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!n&&(i=this._plan(this.context));var o=c(this._modBy),s=this._modDataCount||0,l=c(t&&t.modBy),u=t&&t.modDataCount||0;(o!==l||s!==u)&&(i="reset");function c(y){return!(y>=1)&&(y=1),y}var f;(this._dirty||i==="reset")&&(this._dirty=!1,f=this._doReset(n)),this._modBy=l,this._modDataCount=u;var h=t&&t.step;if(e?(process.env.NODE_ENV!=="production"&&se(e._outputDueEnd!=null),this._dueEnd=e._outputDueEnd):(process.env.NODE_ENV!=="production"&&se(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var p=this._dueIndex,v=Math.min(h!=null?this._dueIndex+h:1/0,this._dueEnd);if(!n&&(f||p<v)){var m=this._progress;if(U(m))for(var g=0;g<m.length;g++)this._doProgress(m[g],p,v,l,u);else this._doProgress(m,p,v,l,u)}this._dueIndex=v;var _=this._settedOutputEnd!=null?this._settedOutputEnd:v;process.env.NODE_ENV!=="production"&&se(_>=this._outputDueEnd),this._outputDueEnd=_}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},r.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},r.prototype._doProgress=function(t,e,n,a,i){tb.reset(e,n,a,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:tb.next},this.context)},r.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var e,n;!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(n=e.forceFirstProgress,e=e.progress),U(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.dirty(),n},r.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},r.prototype.pipe=function(t){process.env.NODE_ENV!=="production"&&se(t&&!t._disposed&&t!==this),(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},r.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},r.prototype.getUpstream=function(){return this._upstream},r.prototype.getDownstream=function(){return this._downstream},r.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},r}(),tb=function(){var r,t,e,n,a,i={reset:function(l,u,c,f){t=l,r=u,e=c,n=f,a=Math.ceil(n/e),i.next=e>1&&n>0?s:o}};return i;function o(){return t<r?t++:null}function s(){var l=t%a*e+Math.ceil(t/a),u=t>=r?null:l<n?l:t;return t++,u}}();function ui(r,t){var e=t&&t.type;return e==="ordinal"?r:(e==="time"&&!Be(r)&&r!=null&&r!=="-"&&(r=+Hn(r)),r==null||r===""?NaN:Number(r))}var dte=ne({number:function(r){return parseFloat(r)},time:function(r){return+Hn(r)},trim:function(r){return K(r)?pn(r):r}});function rb(r){return dte.get(r)}var nb={lt:function(r,t){return r<t},lte:function(r,t){return r<=t},gt:function(r,t){return r>t},gte:function(r,t){return r>=t}},vte=function(){function r(t,e){if(!Be(e)){var n="";process.env.NODE_ENV!=="production"&&(n='rvalue of "<", ">", "<=", ">=" can only be number in filter.'),Ge(n)}this._opFn=nb[t],this._rvalFloat=_a(e)}return r.prototype.evaluate=function(t){return Be(t)?this._opFn(t,this._rvalFloat):this._opFn(_a(t),this._rvalFloat)},r}(),ab=function(){function r(t,e){var n=t==="desc";this._resultLT=n?1:-1,e==null&&(e=n?"min":"max"),this._incomparable=e==="min"?-1/0:1/0}return r.prototype.evaluate=function(t,e){var n=Be(t)?t:_a(t),a=Be(e)?e:_a(e),i=isNaN(n),o=isNaN(a);if(i&&(n=this._incomparable),o&&(a=this._incomparable),i&&o){var s=K(t),l=K(e);s&&(n=l?t:0),l&&(a=s?e:0)}return n<a?this._resultLT:n>a?-this._resultLT:0},r}(),gte=function(){function r(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=_a(e)}return r.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(e=_a(t)===this._rvalFloat)}return this._isEQ?e:!e},r}();function mte(r,t){return r==="eq"||r==="ne"?new gte(r==="eq",t):ee(nb,r)?new vte(r,t):null}var _te=function(){function r(){}return r.prototype.getRawData=function(){throw new Error("not supported")},r.prototype.getRawDataItem=function(t){throw new Error("not supported")},r.prototype.cloneRawData=function(){},r.prototype.getDimensionInfo=function(t){},r.prototype.cloneAllDimensionInfo=function(){},r.prototype.count=function(){},r.prototype.retrieveValue=function(t,e){},r.prototype.retrieveValueFromItem=function(t,e){},r.prototype.convertValue=function(t,e){return ui(t,e)},r}();function yte(r,t){var e=new _te,n=r.data,a=e.sourceFormat=r.sourceFormat,i=r.startIndex,o="";r.seriesLayoutBy!==Xn&&(process.env.NODE_ENV!=="production"&&(o='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Ge(o));var s=[],l={},u=r.dimensionsDefine;if(u)M(u,function(m,g){var _=m.name,y={index:g,name:_,displayName:m.displayName};if(s.push(y),_!=null){var w="";ee(l,_)&&(process.env.NODE_ENV!=="production"&&(w='dimension name "'+_+'" duplicated.'),Ge(w)),l[_]=y}});else for(var c=0;c<r.dimensionsDetectedCount;c++)s.push({index:c});var f=Z5(a,Xn);t.__isBuiltIn&&(e.getRawDataItem=function(m){return f(n,i,s,m)},e.getRawData=J(wte,null,r)),e.cloneRawData=J(xte,null,r);var h=J5(a,Xn);e.count=J(h,null,n,i,s);var p=Q5(a);e.retrieveValue=function(m,g){var _=f(n,i,s,m);return v(_,g)};var v=e.retrieveValueFromItem=function(m,g){if(m!=null){var _=s[g];if(_)return p(m,g,_.name)}};return e.getDimensionInfo=J(bte,null,s,l),e.cloneAllDimensionInfo=J(Ste,null,s),e}function wte(r){var t=r.sourceFormat;if(!Z2(t)){var e="";process.env.NODE_ENV!=="production"&&(e="`getRawData` is not supported in source format "+t),Ge(e)}return r.data}function xte(r){var t=r.sourceFormat,e=r.data;if(!Z2(t)){var n="";process.env.NODE_ENV!=="production"&&(n="`cloneRawData` is not supported in source format "+t),Ge(n)}if(t===Xt){for(var a=[],i=0,o=e.length;i<o;i++)a.push(e[i].slice());return a}else if(t===Xr){for(var a=[],i=0,o=e.length;i<o;i++)a.push(G({},e[i]));return a}}function bte(r,t,e){if(e!=null){if(Be(e)||!isNaN(e)&&!ee(t,e))return r[e];if(ee(t,e))return t[e]}}function Ste(r){return pe(r)}var ib=ne();function Cte(r){r=pe(r);var t=r.type,e="";t||(process.env.NODE_ENV!=="production"&&(e="Must have a `type` when `registerTransform`."),Ge(e));var n=t.split(":");n.length!==2&&(process.env.NODE_ENV!=="production"&&(e='Name must include namespace like "ns:regression".'),Ge(e));var a=!1;n[0]==="echarts"&&(t=n[1],a=!0),r.__isBuiltIn=a,ib.set(t,r)}function Ete(r,t,e){var n=je(r),a=n.length,i="";a||(process.env.NODE_ENV!=="production"&&(i="If `transform` declared, it should at least contain one transform."),Ge(i));for(var o=0,s=a;o<s;o++){var l=n[o];t=Tte(l,t,e,a===1?null:o),o!==s-1&&(t.length=Math.max(t.length,1))}return t}function Tte(r,t,e,n){var a="";t.length||(process.env.NODE_ENV!=="production"&&(a="Must have at least one upstream dataset."),Ge(a)),oe(r)||(process.env.NODE_ENV!=="production"&&(a="transform declaration must be an object rather than "+typeof r+"."),Ge(a));var i=r.type,o=ib.get(i);o||(process.env.NODE_ENV!=="production"&&(a='Can not find transform on type "'+i+'".'),Ge(a));var s=Y(t,function(c){return yte(c,o)}),l=je(o.transform({upstream:s[0],upstreamList:s,config:pe(r.config)}));if(process.env.NODE_ENV!=="production"&&r.print){var u=Y(l,function(c){var f=n!=null?" === pipe index: "+n:"";return["=== dataset index: "+e.datasetIndex+f+" ===","- transform result data:",or(c.data),"- transform result dimensions:",or(c.dimensions)].join(`
|
|
75
|
-
`)}).join(`
|
|
76
|
-
`);tJ(u)}return Y(l,function(c,f){var h="";oe(c)||(process.env.NODE_ENV!=="production"&&(h="A transform should not return some empty results."),Ge(h)),c.data||(process.env.NODE_ENV!=="production"&&(h="Transform result data should be not be null or undefined"),Ge(h));var p=G5(c.data);Z2(p)||(process.env.NODE_ENV!=="production"&&(h="Transform result data should be array rows or object rows."),Ge(h));var v,m=t[0];if(m&&f===0&&!c.dimensions){var g=m.startIndex;g&&(c.data=m.data.slice(0,g).concat(c.data)),v={seriesLayoutBy:Xn,sourceHeader:g,dimensions:m.metaRawOption.dimensions}}else v={seriesLayoutBy:Xn,sourceHeader:0,dimensions:c.dimensions};return Y2(c.data,v,null)})}function Z2(r){return r===Xt||r===Xr}var Np="undefined",Dte=typeof Uint32Array===Np?Array:Uint32Array,Ate=typeof Uint16Array===Np?Array:Uint16Array,ob=typeof Int32Array===Np?Array:Int32Array,sb=typeof Float64Array===Np?Array:Float64Array,lb={float:sb,int:ob,ordinal:Array,number:Array,time:sb},K2;function sl(r){return r>65535?Dte:Ate}function ll(){return[1/0,-1/0]}function Mte(r){var t=r.constructor;return t===Array?r.slice():new t(r)}function ub(r,t,e,n,a){var i=lb[e||"float"];if(a){var o=r[t],s=o&&o.length;if(s!==n){for(var l=new i(n),u=0;u<s;u++)l[u]=o[u];r[t]=l}}else r[t]=new i(n)}var J2=function(){function r(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=ne()}return r.prototype.initData=function(t,e,n){process.env.NODE_ENV!=="production"&&se(ae(t.getItem)&&ae(t.count),"Invalid data provider."),this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=t.getSource(),i=this.defaultDimValueGetter=K2[a.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[];var o=U5(a);this._dimensions=Y(e,function(s){return process.env.NODE_ENV!=="production"&&o&&se(s.property!=null),{type:s.type,property:s.property}}),this._initDataFromProvider(0,t.count())},r.prototype.getProvider=function(){return this._provider},r.prototype.getSource=function(){return this._provider.getSource()},r.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,a=this._dimensions,i=n.get(t);if(i!=null){if(a[i].type===e)return i}else i=a.length;return a[i]={type:e},n.set(t,i),this._chunks[i]=new lb[e||"float"](this._rawCount),this._rawExtent[i]=ll(),i},r.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],a=this._dimensions[t],i=this._rawExtent,o=a.ordinalOffset||0,s=n.length;o===0&&(i[t]=ll());for(var l=i[t],u=o;u<s;u++){var c=n[u]=e.parseAndCollect(n[u]);isNaN(c)||(l[0]=Math.min(c,l[0]),l[1]=Math.max(c,l[1]))}a.ordinalMeta=e,a.ordinalOffset=s,a.type="ordinal"},r.prototype.getOrdinalMeta=function(t){var e=this._dimensions[t],n=e.ordinalMeta;return n},r.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},r.prototype.appendData=function(t){process.env.NODE_ENV!=="production"&&se(!this._indices,"appendData can only be called on raw data.");var e=this._provider,n=this.count();e.appendData(t);var a=e.count();return e.persistent||(a+=n),n<a&&this._initDataFromProvider(n,a,!0),[n,a]},r.prototype.appendValues=function(t,e){for(var n=this._chunks,a=this._dimensions,i=a.length,o=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<i;u++){var c=a[u];ub(n,u,c.type,l,!0)}for(var f=[],h=s;h<l;h++)for(var p=h-s,v=0;v<i;v++){var c=a[v],m=K2.arrayRows.call(this,t[p]||f,c.property,p,v);n[v][h]=m;var g=o[v];m<g[0]&&(g[0]=m),m>g[1]&&(g[1]=m)}return this._rawCount=this._count=l,{start:s,end:l}},r.prototype._initDataFromProvider=function(t,e,n){for(var a=this._provider,i=this._chunks,o=this._dimensions,s=o.length,l=this._rawExtent,u=Y(o,function(y){return y.property}),c=0;c<s;c++){var f=o[c];l[c]||(l[c]=ll()),ub(i,c,f.type,e,n)}if(a.fillStorage)a.fillStorage(t,e,i,l);else for(var h=[],p=t;p<e;p++){h=a.getItem(p,h);for(var v=0;v<s;v++){var m=i[v],g=this._dimValueGetter(h,u[v],p,v);m[p]=g;var _=l[v];g<_[0]&&(_[0]=g),g>_[1]&&(_[1]=g)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=e,this._extent=[]},r.prototype.count=function(){return this._count},r.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},r.prototype.getValues=function(t,e){var n=[],a=[];if(e==null){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)a.push(i)}else a=t;for(var i=0,o=a.length;i<o;i++)n.push(this.get(a[i],e));return n},r.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},r.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var a=0,i=this.count();a<i;a++){var o=this.get(t,a);isNaN(o)||(n+=o)}return n},r.prototype.getMedian=function(t){var e=[];this.each([t],function(i){isNaN(i)||e.push(i)});var n=e.sort(function(i,o){return i-o}),a=this.count();return a===0?0:a%2===1?n[(a-1)/2]:(n[a/2]+n[a/2-1])/2},r.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(n!=null&&n<this._count&&n===t)return t;for(var a=0,i=this._count-1;a<=i;){var o=(a+i)/2|0;if(e[o]<t)a=o+1;else if(e[o]>t)i=o-1;else return o}return-1},r.prototype.indicesOfNearest=function(t,e,n){var a=this._chunks,i=a[t],o=[];if(!i)return o;n==null&&(n=1/0);for(var s=1/0,l=-1,u=0,c=0,f=this.count();c<f;c++){var h=this.getRawIndex(c),p=e-i[h],v=Math.abs(p);v<=n&&((v<s||v===s&&p>=0&&l<0)&&(s=v,l=p,u=0),p===l&&(o[u++]=c))}return o.length=u,o},r.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,a=this._count;if(n===Array){t=new n(a);for(var i=0;i<a;i++)t[i]=e[i]}else t=new n(e.buffer,0,a)}else{var n=sl(this._rawCount);t=new n(this.count());for(var i=0;i<t.length;i++)t[i]=i}return t},r.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),a=n.count(),i=sl(n._rawCount),o=new i(a),s=[],l=t.length,u=0,c=t[0],f=n._chunks,h=0;h<a;h++){var p=void 0,v=n.getRawIndex(h);if(l===0)p=e(h);else if(l===1){var m=f[c][v];p=e(m,h)}else{for(var g=0;g<l;g++)s[g]=f[t[g]][v];s[g]=h,p=e.apply(null,s)}p&&(o[u++]=v)}return u<a&&(n._indices=o),n._count=u,n._extent=[],n._updateGetRawIdx(),n},r.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var a=Me(t),i=a.length;if(!i)return this;var o=e.count(),s=sl(e._rawCount),l=new s(o),u=0,c=a[0],f=t[c][0],h=t[c][1],p=e._chunks,v=!1;if(!e._indices){var m=0;if(i===1){for(var g=p[a[0]],_=0;_<n;_++){var y=g[_];(y>=f&&y<=h||isNaN(y))&&(l[u++]=m),m++}v=!0}else if(i===2){for(var g=p[a[0]],w=p[a[1]],x=t[a[1]][0],b=t[a[1]][1],_=0;_<n;_++){var y=g[_],S=w[_];(y>=f&&y<=h||isNaN(y))&&(S>=x&&S<=b||isNaN(S))&&(l[u++]=m),m++}v=!0}}if(!v)if(i===1)for(var _=0;_<o;_++){var C=e.getRawIndex(_),y=p[a[0]][C];(y>=f&&y<=h||isNaN(y))&&(l[u++]=C)}else for(var _=0;_<o;_++){for(var D=!0,C=e.getRawIndex(_),T=0;T<i;T++){var E=a[T],y=p[E][C];(y<t[E][0]||y>t[E][1])&&(D=!1)}D&&(l[u++]=e.getRawIndex(_))}return u<o&&(e._indices=l),e._count=u,e._extent=[],e._updateGetRawIdx(),e},r.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},r.prototype.modify=function(t,e){this._updateDims(this,t,e)},r.prototype._updateDims=function(t,e,n){for(var a=t._chunks,i=[],o=e.length,s=t.count(),l=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=ll();for(var f=0;f<s;f++){for(var h=t.getRawIndex(f),p=0;p<o;p++)l[p]=a[e[p]][h];l[o]=f;var v=n&&n.apply(null,l);if(v!=null){typeof v!="object"&&(i[0]=v,v=i);for(var c=0;c<v.length;c++){var m=e[c],g=v[c],_=u[m],y=a[m];y&&(y[h]=g),g<_[0]&&(_[0]=g),g>_[1]&&(_[1]=g)}}}},r.prototype.lttbDownSample=function(t,e){var n=this.clone([t],!0),a=n._chunks,i=a[t],o=this.count(),s=0,l=Math.floor(1/e),u=this.getRawIndex(0),c,f,h,p=new(sl(this._rawCount))(Math.min((Math.ceil(o/l)+2)*2,o));p[s++]=u;for(var v=1;v<o-1;v+=l){for(var m=Math.min(v+l,o-1),g=Math.min(v+l*2,o),_=(g+m)/2,y=0,w=m;w<g;w++){var x=this.getRawIndex(w),b=i[x];isNaN(b)||(y+=b)}y/=g-m;var S=v,C=Math.min(v+l,o),D=v-1,T=i[u];c=-1,h=S;for(var E=-1,A=0,w=S;w<C;w++){var x=this.getRawIndex(w),b=i[x];if(isNaN(b)){A++,E<0&&(E=x);continue}f=Math.abs((D-_)*(b-T)-(D-w)*(y-T)),f>c&&(c=f,h=x)}A>0&&A<C-S&&(p[s++]=Math.min(E,h),h=Math.max(E,h)),p[s++]=h,u=h}return p[s++]=this.getRawIndex(o-1),n._count=s,n._indices=p,n.getRawIndex=this._getRawIdx,n},r.prototype.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),a=n._chunks,i=Math.floor(1/e),o=a[t],s=this.count(),l=new(sl(this._rawCount))(Math.ceil(s/i)*2),u=0,c=0;c<s;c+=i){var f=c,h=o[this.getRawIndex(f)],p=c,v=o[this.getRawIndex(p)],m=i;c+i>s&&(m=s-c);for(var g=0;g<m;g++){var _=this.getRawIndex(c+g),y=o[_];y<h&&(h=y,f=c+g),y>v&&(v=y,p=c+g)}var w=this.getRawIndex(f),x=this.getRawIndex(p);f<p?(l[u++]=w,l[u++]=x):(l[u++]=x,l[u++]=w)}return n._count=u,n._indices=l,n._updateGetRawIdx(),n},r.prototype.downSample=function(t,e,n,a){for(var i=this.clone([t],!0),o=i._chunks,s=[],l=Math.floor(1/e),u=o[t],c=this.count(),f=i._rawExtent[t]=ll(),h=new(sl(this._rawCount))(Math.ceil(c/l)),p=0,v=0;v<c;v+=l){l>c-v&&(l=c-v,s.length=l);for(var m=0;m<l;m++){var g=this.getRawIndex(v+m);s[m]=u[g]}var _=n(s),y=this.getRawIndex(Math.min(v+a(s,_)||0,c-1));u[y]=_,_<f[0]&&(f[0]=_),_>f[1]&&(f[1]=_),h[p++]=y}return i._count=p,i._indices=h,i._updateGetRawIdx(),i},r.prototype.each=function(t,e){if(this._count)for(var n=t.length,a=this._chunks,i=0,o=this.count();i<o;i++){var s=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(a[t[0]][s],i);break;case 2:e(a[t[0]][s],a[t[1]][s],i);break;default:for(var l=0,u=[];l<n;l++)u[l]=a[t[l]][s];u[l]=i,e.apply(null,u)}}},r.prototype.getDataExtent=function(t){var e=this._chunks[t],n=ll();if(!e)return n;var a=this.count(),i=!this._indices,o;if(i)return this._rawExtent[t].slice();if(o=this._extent[t],o)return o.slice();o=n;for(var s=o[0],l=o[1],u=0;u<a;u++){var c=this.getRawIndex(u),f=e[c];f<s&&(s=f),f>l&&(l=f)}return o=[s,l],this._extent[t]=o,o},r.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],a=this._chunks,i=0;i<a.length;i++)n.push(a[i][e]);return n},r.prototype.clone=function(t,e){var n=new r,a=this._chunks,i=t&&Pn(t,function(s,l){return s[l]=!0,s},{});if(i)for(var o=0;o<a.length;o++)n._chunks[o]=i[o]?Mte(a[o]):a[o];else n._chunks=a;return this._copyCommonProps(n),e||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},r.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=pe(this._extent),t._rawExtent=pe(this._rawExtent)},r.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var a=0;a<n;a++)e[a]=this._indices[a]}else e=new t(this._indices);return e}return null},r.prototype._getRawIdxIdentity=function(t){return t},r.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},r.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},r.internalField=function(){function t(e,n,a,i){return ui(e[i],this._dimensions[i])}K2={arrayRows:t,objectRows:function(e,n,a,i){return ui(e[n],this._dimensions[i])},keyedColumns:t,original:function(e,n,a,i){var o=e&&(e.value==null?e:e.value);return ui(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(e,n,a,i){return e[i]}}}(),r}(),cb=function(){function r(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return r.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},r.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},r.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},r.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},r.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,e=this._getUpstreamSourceManagers(),n=!!e.length,a,i;if(oc(t)){var o=t,s=void 0,l=void 0,u=void 0;if(n){var c=e[0];c.prepareSource(),u=c.getSource(),s=u.data,l=u.sourceFormat,i=[c._getVersionSign()]}else s=o.get("data",!0),l=nr(s)?Ea:jr,i=[];var f=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},p=ve(f.seriesLayoutBy,h.seriesLayoutBy)||null,v=ve(f.sourceHeader,h.sourceHeader),m=ve(f.dimensions,h.dimensions),g=p!==h.seriesLayoutBy||!!v!=!!h.sourceHeader||m;a=g?[Y2(s,{seriesLayoutBy:p,sourceHeader:v,dimensions:m},l)]:[]}else{var _=t;if(n){var y=this._applyTransform(e);a=y.sourceList,i=y.upstreamSignList}else{var w=_.get("source",!0);a=[Y2(w,this._getSourceMetaRawOption(),null)],i=[]}}process.env.NODE_ENV!=="production"&&se(a&&i),this._setLocalSource(a,i)},r.prototype._applyTransform=function(t){var e=this._sourceHost,n=e.get("transform",!0),a=e.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&se(a!=null||n!=null),a!=null){var i="";t.length!==1&&(process.env.NODE_ENV!=="production"&&(i="When using `fromTransformResult`, there should be only one upstream dataset"),hb(i))}var o,s=[],l=[];return M(t,function(u){u.prepareSource();var c=u.getSource(a||0),f="";a!=null&&!c&&(process.env.NODE_ENV!=="production"&&(f="Can not retrieve result by `fromTransformResult`: "+a),hb(f)),s.push(c),l.push(u._getVersionSign())}),n?o=Ete(n,s,{datasetIndex:e.componentIndex}):a!=null&&(o=[ote(s[0])]),{sourceList:o,upstreamSignList:l}},r.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},r.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},r.prototype.getSharedDataStore=function(t){process.env.NODE_ENV!=="production"&&se(oc(this._sourceHost),"Can only call getDataStore on series source manager.");var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},r.prototype._innerGetDataStore=function(t,e,n){var a=0,i=this._storeList,o=i[a];o||(o=i[a]={});var s=o[n];if(!s){var l=this._getUpstreamSourceManagers()[0];oc(this._sourceHost)&&l?s=l._innerGetDataStore(t,e,n):(s=new J2,s.initData(new X5(e,t.length),t)),o[n]=s}return s},r.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(oc(t)){var e=B2(t);return e?[e.getSourceManager()]:[]}else return Y(Nee(t),function(n){return n.getSourceManager()})},r.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,e,n,a;if(oc(t))e=t.get("seriesLayoutBy",!0),n=t.get("sourceHeader",!0),a=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=t;e=i.get("seriesLayoutBy",!0),n=i.get("sourceHeader",!0),a=i.get("dimensions",!0)}return{seriesLayoutBy:e,sourceHeader:n,dimensions:a}},r}();function fb(r){var t=r.option.transform;t&&hh(r.option.transform)}function oc(r){return r.mainType==="series"}function hb(r){throw new Error(r)}var kte="line-height:1";function pb(r){var t=r.lineHeight;return t==null?kte:"line-height:"+ir(t+"")+"px"}function db(r,t){var e=r.color||"#6e7079",n=r.fontSize||12,a=r.fontWeight||"400",i=r.color||"#464646",o=r.fontSize||14,s=r.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+ir(n+"")+"px;color:"+ir(e)+";font-weight:"+ir(a+""),valueStyle:"font-size:"+ir(o+"")+"px;color:"+ir(i)+";font-weight:"+ir(s+"")}:{nameStyle:{fontSize:n,fill:e,fontWeight:a},valueStyle:{fontSize:o,fill:i,fontWeight:s}}}var Lte=[0,10,20,30],Ite=["",`
|
|
77
|
-
`,`
|
|
78
|
-
|
|
79
|
-
`,`
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
`];function Mt(r,t){return t.type=r,t}function Q2(r){return r.type==="section"}function vb(r){return Q2(r)?Nte:Pte}function gb(r){if(Q2(r)){var t=0,e=r.blocks.length,n=e>1||e>0&&!r.noHeader;return M(r.blocks,function(a){var i=gb(a);i>=t&&(t=i+ +(n&&(!i||Q2(a)&&!a.noHeader)))}),t}return 0}function Nte(r,t,e,n){var a=t.noHeader,i=Vte(gb(t)),o=[],s=t.blocks||[];se(!s||U(s)),s=s||[];var l=r.orderMode;if(t.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(ee(u,l)){var c=new ab(u[l],null);s.sort(function(m,g){return c.evaluate(m.sortParam,g.sortParam)})}else l==="seriesDesc"&&s.reverse()}M(s,function(m,g){var _=t.valueFormatter,y=vb(m)(_?G(G({},r),{valueFormatter:_}):r,m,g>0?i.html:0,n);y!=null&&o.push(y)});var f=r.renderMode==="richText"?o.join(i.richText):e1(n,o.join(""),a?e:i.html);if(a)return f;var h=L2(t.header,"ordinal",r.useUTC),p=db(n,r.renderMode).nameStyle,v=pb(n);return r.renderMode==="richText"?_b(r,h,p)+i.richText+f:e1(n,'<div style="'+p+";"+v+';">'+ir(h)+"</div>"+f,e)}function Pte(r,t,e,n){var a=r.renderMode,i=t.noName,o=t.noValue,s=!t.markerType,l=t.name,u=r.useUTC,c=t.valueFormatter||r.valueFormatter||function(x){return x=U(x)?x:[x],Y(x,function(b,S){return L2(b,U(p)?p[S]:p,u)})};if(!(i&&o)){var f=s?"":r.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),h=i?"":L2(l,"ordinal",u),p=t.valueType,v=o?[]:c(t.value,t.dataIndex),m=!s||!i,g=!s&&i,_=db(n,a),y=_.nameStyle,w=_.valueStyle;return a==="richText"?(s?"":f)+(i?"":_b(r,h,y))+(o?"":Rte(r,v,m,g,w)):e1(n,(s?"":f)+(i?"":Bte(h,!s,y))+(o?"":Ote(v,m,g,w)),e)}}function mb(r,t,e,n,a,i){if(r){var o=vb(r),s={useUTC:a,renderMode:e,orderMode:n,markupStyleCreator:t,valueFormatter:r.valueFormatter};return o(s,r,0,i)}}function Vte(r){return{html:Lte[r],richText:Ite[r]}}function e1(r,t,e){var n='<div style="clear:both"></div>',a="margin: "+e+"px 0 0",i=pb(r);return'<div style="'+a+";"+i+';">'+t+n+"</div>"}function Bte(r,t,e){var n=t?"margin-left:2px":"";return'<span style="'+e+";"+n+'">'+ir(r)+"</span>"}function Ote(r,t,e,n){var a=e?"10px":"20px",i=t?"float:right;margin-left:"+a:"";return r=U(r)?r:[r],'<span style="'+i+";"+n+'">'+Y(r,function(o){return ir(o)}).join(" ")+"</span>"}function _b(r,t,e){return r.markupStyleCreator.wrapRichTextStyle(t,e)}function Rte(r,t,e,n,a){var i=[a],o=n?10:20;return e&&i.push({padding:[0,0,0,o],align:"right"}),r.markupStyleCreator.wrapRichTextStyle(U(t)?t.join(" "):t,i)}function yb(r,t){var e=r.getData().getItemVisual(t,"style"),n=e[r.visualDrawType];return To(n)}function wb(r,t){var e=r.get("padding");return e??(t==="richText"?[8,10]:10)}var t1=function(){function r(){this.richTextStyles={},this._nextStyleNameId=_w()}return r.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},r.prototype.makeTooltipMarker=function(t,e,n){var a=n==="richText"?this._generateStyleName():null,i=Tee({color:e,type:t,renderMode:n,markerId:a});return K(i)?i:(process.env.NODE_ENV!=="production"&&se(a),this.richTextStyles[a]=i.style,i.content)},r.prototype.wrapRichTextStyle=function(t,e){var n={};U(e)?M(e,function(i){return G(n,i)}):G(n,e);var a=this._generateStyleName();return this.richTextStyles[a]=n,"{"+a+"|"+t+"}"},r}();function xb(r){var t=r.series,e=r.dataIndex,n=r.multipleSeries,a=t.getData(),i=a.mapDimensionsAll("defaultedTooltip"),o=i.length,s=t.getRawValue(e),l=U(s),u=yb(t,e),c,f,h,p;if(o>1||l&&!o){var v=zte(s,t,e,i,u);c=v.inlineValues,f=v.inlineValueTypes,h=v.blocks,p=v.inlineValues[0]}else if(o){var m=a.getDimensionInfo(i[0]);p=c=ol(a,e,i[0]),f=m.type}else p=c=l?s[0]:s;var g=Ng(t),_=g&&t.name||"",y=a.getName(e),w=n?_:y;return Mt("section",{header:_,noHeader:n||!g,sortParam:p,blocks:[Mt("nameValue",{markerType:"item",markerColor:u,name:w,noName:!pn(w),value:c,valueType:f,dataIndex:e})].concat(h||[])})}function zte(r,t,e,n,a){var i=t.getData(),o=Pn(r,function(f,h,p){var v=i.getDimensionInfo(p);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),s=[],l=[],u=[];n.length?M(n,function(f){c(ol(i,e,f),f)}):M(r,c);function c(f,h){var p=i.getDimensionInfo(h);!p||p.otherDims.tooltip===!1||(o?u.push(Mt("nameValue",{markerType:"subItem",markerColor:a,name:p.displayName,value:f,valueType:p.type})):(s.push(f),l.push(p.type)))}return{inlineValues:s,inlineValueTypes:l,blocks:u}}var ci=Ne();function Pp(r,t){return r.getName(t)||r.getId(t)}var Vp="__universalTransitionEnabled",Ke=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return t.prototype.init=function(e,n,a){this.seriesIndex=this.componentIndex,this.dataTask=ic({count:Fte,reset:Gte}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(e,a);var i=ci(this).sourceManager=new cb(this);i.prepareSource();var o=this.getInitialData(e,a);Sb(o,this),this.dataTask.context.data=o,process.env.NODE_ENV!=="production"&&se(o,"getInitialData returned invalid data."),ci(this).dataBeforeProcessed=o,bb(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(e,n){var a=ec(this),i=a?rl(e):{},o=this.subType;Ae.hasClass(o)&&(o+="Series"),_e(e,n.getTheme().get(this.subType)),_e(e,this.getDefaultOption()),no(e,"label",["show"]),this.fillDataTextStyle(e.data),a&&li(e,i,a)},t.prototype.mergeOption=function(e,n){e=_e(this.option,e,!0),this.fillDataTextStyle(e.data);var a=ec(this);a&&li(this.option,e,a);var i=ci(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(e,n);Sb(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,ci(this).dataBeforeProcessed=o,bb(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(e){if(e&&!nr(e))for(var n=["show"],a=0;a<e.length;a++)e[a]&&e[a].label&&no(e[a],"label",n)},t.prototype.getInitialData=function(e,n){},t.prototype.appendData=function(e){var n=this.getRawData();n.appendData(e.data)},t.prototype.getData=function(e){var n=r1(this);if(n){var a=n.context.data;return e==null||!a.getLinkedData?a:a.getLinkedData(e)}else return ci(this).data},t.prototype.getAllData=function(){var e=this.getData();return e&&e.getLinkedDataAll?e.getLinkedDataAll():[{data:e}]},t.prototype.setData=function(e){var n=r1(this);if(n){var a=n.context;a.outputData=e,n!==this.dataTask&&(a.data=e)}ci(this).data=e},t.prototype.getEncode=function(){var e=this.get("encode",!0);if(e)return ne(e)},t.prototype.getSourceManager=function(){return ci(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return ci(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var e=this.get("colorBy");return e||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var e=this.coordinateSystem;return e&&e.getBaseAxis&&e.getBaseAxis()},t.prototype.formatTooltip=function(e,n,a){return xb({series:this,dataIndex:e,multipleSeries:n})},t.prototype.isAnimationEnabled=function(){var e=this.ecModel;if(Ee.node&&!(e&&e.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(e,n,a){var i=this.ecModel,o=R2.prototype.getColorFromPalette.call(this,e,n,a);return o||(o=i.getColorFromPalette(e,n,a)),o},t.prototype.coordDimToDataDim=function(e){return this.getRawData().mapDimensionsAll(e)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(e,n){this._innerSelect(this.getData(n),e)},t.prototype.unselect=function(e,n){var a=this.option.selectedMap;if(a){var i=this.option.selectedMode,o=this.getData(n);if(i==="series"||a==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s<e.length;s++){var l=e[s],u=Pp(o,l);a[u]=!1,this._selectedDataIndicesMap[u]=-1}}},t.prototype.toggleSelect=function(e,n){for(var a=[],i=0;i<e.length;i++)a[0]=e[i],this.isSelected(e[i],n)?this.unselect(a,n):this.select(a,n)},t.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var e=this._selectedDataIndicesMap,n=Me(e),a=[],i=0;i<n.length;i++){var o=e[n[i]];o>=0&&a.push(o)}return a},t.prototype.isSelected=function(e,n){var a=this.option.selectedMap;if(!a)return!1;var i=this.getData(n);return(a==="all"||a[Pp(i,e)])&&!i.getItemModel(e).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[Vp])return!0;var e=this.option.universalTransition;return e?e===!0?!0:e&&e.enabled:!1},t.prototype._innerSelect=function(e,n){var a,i,o=this.option,s=o.selectedMode,l=n.length;if(!(!s||!l)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){oe(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,c=0;c<l;c++){var f=n[c],h=Pp(e,f);u[h]=!0,this._selectedDataIndicesMap[h]=e.getRawIndex(f)}}else if(s==="single"||s===!0){var p=n[l-1],h=Pp(e,p);o.selectedMap=(a={},a[h]=!0,a),this._selectedDataIndicesMap=(i={},i[h]=e.getRawIndex(p),i)}}},t.prototype._initSelectedMapFromData=function(e){if(!this.option.selectedMap){var n=[];e.hasItemOption&&e.each(function(a){var i=e.getRawDataItem(a);i&&i.selected&&n.push(a)}),n.length>0&&this._innerSelect(e,n)}},t.registerClass=function(e){return Ae.registerClass(e)},t.protoInitialize=function(){var e=t.prototype;e.type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"}(),t}(Ae);gt(Ke,Ip),gt(Ke,R2),Nw(Ke,Ae);function bb(r){var t=r.name;Ng(r)||(r.name=Hte(r)||t)}function Hte(r){var t=r.getRawData(),e=t.mapDimensionsAll("seriesName"),n=[];return M(e,function(a){var i=t.getDimensionInfo(a);i.displayName&&n.push(i.displayName)}),n.join(" ")}function Fte(r){return r.model.getRawData().count()}function Gte(r){var t=r.model;return t.setData(t.getRawData().cloneShallow()),$te}function $te(r,t){t.outputData&&r.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Sb(r,t){M(pu(r.CHANGABLE_METHODS,r.DOWNSAMPLE_METHODS),function(e){r.wrapMethod(e,me(Wte,t))})}function Wte(r,t){var e=r1(r);return e&&e.setOutputEnd((t||this).count()),t}function r1(r){var t=(r.ecModel||{}).scheduler,e=t&&t.getPipeline(r.uid);if(e){var n=e.currentTask;if(n){var a=n.agentStubMap;a&&(n=a.get(r.uid))}return n}}var nt=function(){function r(){this.group=new de,this.uid=Ks("viewComponent")}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,a){},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,a){},r.prototype.updateLayout=function(t,e,n,a){},r.prototype.updateVisual=function(t,e,n,a){},r.prototype.toggleBlurSeries=function(t,e,n){},r.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},r}();Bg(nt),Wh(nt);function ul(){var r=Ne();return function(t){var e=r(t),n=t.pipelineContext,a=!!e.large,i=!!e.progressiveRender,o=e.large=!!(n&&n.large),s=e.progressiveRender=!!(n&&n.progressiveRender);return(a!==o||i!==s)&&"reset"}}var Cb=Ne(),Ute=ul(),Xe=function(){function r(){this.group=new de,this.uid=Ks("viewChart"),this.renderTask=ic({plan:Yte,reset:jte}),this.renderTask.context={view:this}}return r.prototype.init=function(t,e){},r.prototype.render=function(t,e,n,a){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},r.prototype.highlight=function(t,e,n,a){var i=t.getData(a&&a.dataType);if(!i){process.env.NODE_ENV!=="production"&&Rt("Unknown dataType "+a.dataType);return}Tb(i,a,"emphasis")},r.prototype.downplay=function(t,e,n,a){var i=t.getData(a&&a.dataType);if(!i){process.env.NODE_ENV!=="production"&&Rt("Unknown dataType "+a.dataType);return}Tb(i,a,"normal")},r.prototype.remove=function(t,e){this.group.removeAll()},r.prototype.dispose=function(t,e){},r.prototype.updateView=function(t,e,n,a){this.render(t,e,n,a)},r.prototype.updateLayout=function(t,e,n,a){this.render(t,e,n,a)},r.prototype.updateVisual=function(t,e,n,a){this.render(t,e,n,a)},r.prototype.eachRendered=function(t){ii(this.group,t)},r.markUpdateMethod=function(t,e){Cb(t).updateMethod=e},r.protoInitialize=function(){var t=r.prototype;t.type="chart"}(),r}();function Eb(r,t,e){r&&ni(r)&&(t==="emphasis"?ba:Sa)(r,e)}function Tb(r,t,e){var n=ao(r,t),a=t&&t.highlightKey!=null?TQ(t.highlightKey):null;n!=null?M(je(n),function(i){Eb(r.getItemGraphicEl(i),e,a)}):r.eachItemGraphicEl(function(i){Eb(i,e,a)})}Bg(Xe,["dispose"]),Wh(Xe);function Yte(r){return Ute(r.model)}function jte(r){var t=r.model,e=r.ecModel,n=r.api,a=r.payload,i=t.pipelineContext.progressiveRender,o=r.view,s=a&&Cb(a).updateMethod,l=i?"incrementalPrepareRender":s&&o[s]?s:"render";return l!=="render"&&o[l](t,e,n,a),Xte[l]}var Xte={incrementalPrepareRender:{progress:function(r,t){t.view.incrementalRender(r,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(r,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},Bp="\0__throttleOriginMethod",Db="\0__throttleRate",Ab="\0__throttleType";function n1(r,t,e){var n,a=0,i=0,o=null,s,l,u,c;t=t||0;function f(){i=new Date().getTime(),o=null,r.apply(l,u||[])}var h=function(){for(var p=[],v=0;v<arguments.length;v++)p[v]=arguments[v];n=new Date().getTime(),l=this,u=p;var m=c||t,g=c||e;c=null,s=n-(g?a:i)-m,clearTimeout(o),g?o=setTimeout(f,m):s>=0?f():o=setTimeout(f,-s),a=n};return h.clear=function(){o&&(clearTimeout(o),o=null)},h.debounceNextCall=function(p){c=p},h}function cl(r,t,e,n){var a=r[t];if(a){var i=a[Bp]||a,o=a[Ab],s=a[Db];if(s!==e||o!==n){if(e==null||!n)return r[t]=i;a=r[t]=n1(i,e,n==="debounce"),a[Bp]=i,a[Ab]=n,a[Db]=e}return a}}function sc(r,t){var e=r[t];e&&e[Bp]&&(e.clear&&e.clear(),r[t]=e[Bp])}var Mb=Ne(),kb={itemStyle:oo(t5,!0),lineStyle:oo(e5,!0)},qte={lineStyle:"stroke",itemStyle:"fill"};function Lb(r,t){var e=r.visualStyleMapper||kb[t];return e||(console.warn("Unknown style type '"+t+"'."),kb.itemStyle)}function Ib(r,t){var e=r.visualDrawType||qte[t];return e||(console.warn("Unknown style type '"+t+"'."),"fill")}var Zte={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",a=r.getModel(n),i=Lb(r,n),o=i(a),s=a.getShallow("decal");s&&(e.setVisual("decal",s),s.dirty=!0);var l=Ib(r,n),u=o[l],c=ae(u)?u:null,f=o.fill==="auto"||o.stroke==="auto";if(!o[l]||c||f){var h=r.getColorFromPalette(r.name,null,t.getSeriesCount());o[l]||(o[l]=h,e.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||ae(o.fill)?h:o.fill,o.stroke=o.stroke==="auto"||ae(o.stroke)?h:o.stroke}if(e.setVisual("style",o),e.setVisual("drawType",l),!t.isSeriesFiltered(r)&&c)return e.setVisual("colorFromPalette",!1),{dataEach:function(p,v){var m=r.getDataParams(v),g=G({},o);g[l]=c(m),p.setItemVisual(v,"style",g)}}}},lc=new Ue,Kte={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!(r.ignoreStyleOnData||t.isSeriesFiltered(r))){var e=r.getData(),n=r.visualStyleAccessPath||"itemStyle",a=Lb(r,n),i=e.getVisual("drawType");return{dataEach:e.hasItemOption?function(o,s){var l=o.getRawDataItem(s);if(l&&l[n]){lc.option=l[n];var u=a(lc),c=o.ensureUniqueItemVisual(s,"style");G(c,u),lc.option.decal&&(o.setItemVisual(s,"decal",lc.option.decal),lc.option.decal.dirty=!0),i in u&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},Jte={performRawSeries:!0,overallReset:function(r){var t=ne();r.eachSeries(function(e){var n=e.getColorBy();if(!e.isColorBySeries()){var a=e.type+"-"+n,i=t.get(a);i||(i={},t.set(a,i)),Mb(e).scope=i}}),r.eachSeries(function(e){if(!(e.isColorBySeries()||r.isSeriesFiltered(e))){var n=e.getRawData(),a={},i=e.getData(),o=Mb(e).scope,s=e.visualStyleAccessPath||"itemStyle",l=Ib(e,s);i.each(function(u){var c=i.getRawIndex(u);a[c]=u}),n.each(function(u){var c=a[u],f=i.getItemVisual(c,"colorFromPalette");if(f){var h=i.ensureUniqueItemVisual(c,"style"),p=n.getName(u)||u+"",v=n.count();h[l]=e.getColorFromPalette(p,o,v)}})}})}},Op=Math.PI;function Qte(r,t){t=t||{},ue(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 e=new de,n=new Pe({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});e.add(n);var a=new Ve({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),i=new Pe({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});e.add(i);var o;return t.showSpinner&&(o=new sp({shape:{startAngle:-Op/2,endAngle:-Op/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:Op*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Op*3/2}).delay(300).start("circularInOut"),e.add(o)),e.resize=function(){var s=a.getBoundingRect().width,l=t.showSpinner?t.spinnerRadius:0,u=(r.getWidth()-l*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:l),c=r.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:c}),i.setShape({x:u-l,y:c-l,width:l*2,height:l*2}),n.setShape({x:0,y:0,width:r.getWidth(),height:r.getHeight()})},e.resize(),e}var Nb=function(){function r(t,e,n,a){this._stageTaskMap=ne(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=n.concat(a)}return r.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each(function(n){var a=n.overallTask;a&&a.dirty()})},r.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),a=n.context,i=!e&&n.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=i?n.step:null,s=a&&a.modDataCount,l=s!=null?Math.ceil(s/o):null;return{step:o,modBy:l,modDataCount:s}}},r.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},r.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),a=t.getData(),i=a.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&i>=n.threshold,s=t.get("large")&&i>=t.get("largeThreshold"),l=t.get("progressiveChunkMode")==="mod"?i:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:l,large:s}},r.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=ne();t.eachSeries(function(a){var i=a.getProgressive(),o=a.uid;n.set(o,{id:o,head:null,tail:null,threshold:a.getProgressiveThreshold(),progressiveEnabled:i&&!(a.preventIncremental&&a.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(a,a.dataTask)})},r.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;M(this._allHandlers,function(a){var i=t.get(a.uid)||t.set(a.uid,{}),o="";process.env.NODE_ENV!=="production"&&(o='"reset" and "overallReset" must not be both specified.'),se(!(a.reset&&a.overallReset),o),a.reset&&this._createSeriesStageTask(a,i,e,n),a.overallReset&&this._createOverallStageTask(a,i,e,n)},this)},r.prototype.prepareView=function(t,e,n,a){var i=t.renderTask,o=i.context;o.model=e,o.ecModel=n,o.api=a,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},r.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},r.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},r.prototype._performStageTasks=function(t,e,n,a){a=a||{};var i=!1,o=this;M(t,function(l,u){if(!(a.visualType&&a.visualType!==l.visualType)){var c=o._stageTaskMap.get(l.uid),f=c.seriesTaskMap,h=c.overallTask;if(h){var p,v=h.agentStubMap;v.each(function(g){s(a,g)&&(g.dirty(),p=!0)}),p&&h.dirty(),o.updatePayload(h,n);var m=o.getPerformArgs(h,a.block);v.each(function(g){g.perform(m)}),h.perform(m)&&(i=!0)}else f&&f.each(function(g,_){s(a,g)&&g.dirty();var y=o.getPerformArgs(g,a.block);y.skip=!l.performRawSeries&&e.isSeriesFiltered(g.context.model),o.updatePayload(g,n),g.perform(y)&&(i=!0)})}});function s(l,u){return l.setDirty&&(!l.dirtyMap||l.dirtyMap.get(u.__pipeline.id))}this.unfinished=i||this.unfinished},r.prototype.performSeriesTasks=function(t){var e;t.eachSeries(function(n){e=n.dataTask.perform()||e}),this.unfinished=e||this.unfinished},r.prototype.plan=function(){this._pipelineMap.each(function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)})},r.prototype.updatePayload=function(t,e){e!=="remain"&&(t.context.payload=e)},r.prototype._createSeriesStageTask=function(t,e,n,a){var i=this,o=e.seriesTaskMap,s=e.seriesTaskMap=ne(),l=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(c):l?n.eachRawSeriesByType(l,c):u&&u(n,a).each(c);function c(f){var h=f.uid,p=s.set(h,o&&o.get(h)||ic({plan:are,reset:ire,count:sre}));p.context={model:f,ecModel:n,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(f,p)}},r.prototype._createOverallStageTask=function(t,e,n,a){var i=this,o=e.overallTask=e.overallTask||ic({reset:ere});o.context={ecModel:n,api:a,overallReset:t.overallReset,scheduler:i};var s=o.agentStubMap,l=o.agentStubMap=ne(),u=t.seriesType,c=t.getTargetSeries,f=!0,h=!1,p="";process.env.NODE_ENV!=="production"&&(p='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),se(!t.createOnAllSeries,p),u?n.eachRawSeriesByType(u,v):c?c(n,a).each(v):(f=!1,M(n.getSeries(),v));function v(m){var g=m.uid,_=l.set(g,s&&s.get(g)||(h=!0,ic({reset:tre,onDirty:nre})));_.context={model:m,overallProgress:f},_.agent=o,_.__block=f,i._pipe(m,_)}h&&o.dirty()},r.prototype._pipe=function(t,e){var n=t.uid,a=this._pipelineMap.get(n);!a.head&&(a.head=e),a.tail&&a.tail.pipe(e),a.tail=e,e.__idxInPipeline=a.count++,e.__pipeline=a},r.wrapStageHandler=function(t,e){return ae(t)&&(t={overallReset:t,seriesType:lre(t)}),t.uid=Ks("stageHandler"),e&&(t.visualType=e),t},r}();function ere(r){r.overallReset(r.ecModel,r.api,r.payload)}function tre(r){return r.overallProgress&&rre}function rre(){this.agent.dirty(),this.getDownstream().dirty()}function nre(){this.agent&&this.agent.dirty()}function are(r){return r.plan?r.plan(r.model,r.ecModel,r.api,r.payload):null}function ire(r){r.useClearVisual&&r.data.clearAllVisual();var t=r.resetDefines=je(r.reset(r.model,r.ecModel,r.api,r.payload));return t.length>1?Y(t,function(e,n){return Pb(n)}):ore}var ore=Pb(0);function Pb(r){return function(t,e){var n=e.data,a=e.resetDefines[r];if(a&&a.dataEach)for(var i=t.start;i<t.end;i++)a.dataEach(n,i);else a&&a.progress&&a.progress(t,n)}}function sre(r){return r.data.count()}function lre(r){Rp=null;try{r(uc,Vb)}catch{}return Rp}var uc={},Vb={},Rp;Bb(uc,F2),Bb(Vb,P5),uc.eachSeriesByType=uc.eachRawSeriesByType=function(r){Rp=r},uc.eachComponent=function(r){r.mainType==="series"&&r.subType&&(Rp=r.subType)};function Bb(r,t){for(var e in t.prototype)r[e]=ft}var Ob=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const ure={color:Ob,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Ob]};var Zt="#B9B8CE",Rb="#100C2A",zp=function(){return{axisLine:{lineStyle:{color:Zt}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},zb=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Hb={darkMode:!0,color:zb,backgroundColor:Rb,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:Zt},pageTextStyle:{color:Zt}},textStyle:{color:Zt},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:Zt}},dataZoom:{borderColor:"#71708A",textStyle:{color:Zt},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:Zt}},timeline:{lineStyle:{color:Zt},label:{color:Zt},controlStyle:{color:Zt,borderColor:Zt}},calendar:{itemStyle:{color:Rb},dayLabel:{color:Zt},monthLabel:{color:Zt},yearLabel:{color:Zt}},timeAxis:zp(),logAxis:zp(),valueAxis:zp(),categoryAxis:zp(),line:{symbol:"circle"},graph:{color:zb},gauge:{title:{color:Zt},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:Zt},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Hb.categoryAxis.splitLine.show=!1;var cre=function(){function r(){}return r.prototype.normalizeQuery=function(t){var e={},n={},a={};if(K(t)){var i=Fn(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};M(t,function(l,u){for(var c=!1,f=0;f<o.length;f++){var h=o[f],p=u.lastIndexOf(h);if(p>0&&p===u.length-h.length){var v=u.slice(0,p);v!=="data"&&(e.mainType=v,e[h.toLowerCase()]=l,c=!0)}}s.hasOwnProperty(u)&&(n[u]=l,c=!0),c||(a[u]=l)})}return{cptQuery:e,dataQuery:n,otherQuery:a}},r.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var a=n.targetEl,i=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var l=e.cptQuery,u=e.dataQuery;return c(l,o,"mainType")&&c(l,o,"subType")&&c(l,o,"index","componentIndex")&&c(l,o,"name")&&c(l,o,"id")&&c(u,i,"name")&&c(u,i,"dataIndex")&&c(u,i,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,e.otherQuery,a,i));function c(f,h,p,v){return f[p]==null||h[v||p]===f[p]}},r.prototype.afterTrigger=function(){this.eventInfo=null},r}(),a1=["symbol","symbolSize","symbolRotate","symbolOffset"],Fb=a1.concat(["symbolKeepAspect"]),fre={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){var e=r.getData();if(r.legendIcon&&e.setVisual("legendIcon",r.legendIcon),!r.hasSymbolVisual)return;for(var n={},a={},i=!1,o=0;o<a1.length;o++){var s=a1[o],l=r.get(s);ae(l)?(i=!0,a[s]=l):n[s]=l}if(n.symbol=n.symbol||r.defaultSymbol,e.setVisual(G({legendIcon:r.legendIcon||n.symbol,symbolKeepAspect:r.get("symbolKeepAspect")},n)),t.isSeriesFiltered(r))return;var u=Me(a);function c(f,h){for(var p=r.getRawValue(h),v=r.getDataParams(h),m=0;m<u.length;m++){var g=u[m];f.setItemVisual(h,g,a[g](p,v))}}return{dataEach:i?c:null}}},hre={createOnAllSeries:!0,performRawSeries:!0,reset:function(r,t){if(!r.hasSymbolVisual||t.isSeriesFiltered(r))return;var e=r.getData();function n(a,i){for(var o=a.getItemModel(i),s=0;s<Fb.length;s++){var l=Fb[s],u=o.getShallow(l,!0);u!=null&&a.setItemVisual(i,l,u)}}return{dataEach:e.hasItemOption?n:null}}};function i1(r,t,e){switch(e){case"color":var n=r.getItemVisual(t,"style");return n[r.getVisual("drawType")];case"opacity":return r.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return r.getItemVisual(t,e);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function cc(r,t){switch(t){case"color":var e=r.getVisual("style");return e[r.getVisual("drawType")];case"opacity":return r.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return r.getVisual(t);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+t)}}function Gb(r,t,e,n){switch(e){case"color":var a=r.ensureUniqueItemVisual(t,"style");a[r.getVisual("drawType")]=n,r.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":r.ensureUniqueItemVisual(t,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":r.setItemVisual(t,e,n);break;default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+e)}}function $b(r,t){function e(n,a){var i=[];return n.eachComponent({mainType:"series",subType:r,query:a},function(o){i.push(o.seriesIndex)}),i}M([[r+"ToggleSelect","toggleSelect"],[r+"Select","select"],[r+"UnSelect","unselect"]],function(n){t(n[0],function(a,i,o){a=G({},a),process.env.NODE_ENV!=="production"&&_t(a.type,n[1]),o.dispatchAction(G(a,{type:n[1],seriesIndex:e(i,a)}))})})}function fl(r,t,e,n,a){var i=r+t;e.isSilent(i)||(process.env.NODE_ENV!=="production"&&mn("event "+i+" is deprecated."),n.eachComponent({mainType:"series",subType:"pie"},function(o){for(var s=o.seriesIndex,l=o.option.selectedMap,u=a.selected,c=0;c<u.length;c++)if(u[c].seriesIndex===s){var f=o.getData(),h=ao(f,a.fromActionPayload);e.trigger(i,{type:i,seriesId:o.id,name:U(h)?f.getName(h[0]):f.getName(h),selected:K(l)?l:G({},l)})}}))}function pre(r,t,e){r.on("selectchanged",function(n){var a=e.getModel();n.isFromClick?(fl("map","selectchanged",t,a,n),fl("pie","selectchanged",t,a,n)):n.fromAction==="select"?(fl("map","selected",t,a,n),fl("pie","selected",t,a,n)):n.fromAction==="unselect"&&(fl("map","unselected",t,a,n),fl("pie","unselected",t,a,n))})}function Io(r,t,e){for(var n;r&&!(t(r)&&(n=r,e));)r=r.__hostTarget||r.parent;return n}var dre=Math.round(Math.random()*9),vre=typeof Object.defineProperty=="function",gre=function(){function r(){this._id="__ec_inner_"+dre++}return r.prototype.get=function(t){return this._guard(t)[this._id]},r.prototype.set=function(t,e){var n=this._guard(t);return vre?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},r.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},r.prototype.has=function(t){return!!this._guard(t)[this._id]},r.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},r}(),mre=Te.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(r,t){var e=t.cx,n=t.cy,a=t.width/2,i=t.height/2;r.moveTo(e,n-i),r.lineTo(e+a,n+i),r.lineTo(e-a,n+i),r.closePath()}}),_re=Te.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(r,t){var e=t.cx,n=t.cy,a=t.width/2,i=t.height/2;r.moveTo(e,n-i),r.lineTo(e+a,n),r.lineTo(e,n+i),r.lineTo(e-a,n),r.closePath()}}),yre=Te.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(r,t){var e=t.x,n=t.y,a=t.width/5*3,i=Math.max(a,t.height),o=a/2,s=o*o/(i-o),l=n-i+o+s,u=Math.asin(s/o),c=Math.cos(u)*o,f=Math.sin(u),h=Math.cos(u),p=o*.6,v=o*.7;r.moveTo(e-c,l+s),r.arc(e,l,o,Math.PI-u,Math.PI*2+u),r.bezierCurveTo(e+c-f*p,l+s+h*p,e,n-v,e,n),r.bezierCurveTo(e,n-v,e-c+f*p,l+s+h*p,e-c,l+s),r.closePath()}}),wre=Te.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(r,t){var e=t.height,n=t.width,a=t.x,i=t.y,o=n/3*2;r.moveTo(a,i),r.lineTo(a+o,i+e),r.lineTo(a,i+e/4*3),r.lineTo(a-o,i+e),r.lineTo(a,i),r.closePath()}}),xre={line:Dt,rect:Pe,roundRect:Pe,square:Pe,circle:Ca,diamond:_re,pin:yre,arrow:wre,triangle:mre},bre={line:function(r,t,e,n,a){a.x1=r,a.y1=t+n/2,a.x2=r+e,a.y2=t+n/2},rect:function(r,t,e,n,a){a.x=r,a.y=t,a.width=e,a.height=n},roundRect:function(r,t,e,n,a){a.x=r,a.y=t,a.width=e,a.height=n,a.r=Math.min(e,n)/4},square:function(r,t,e,n,a){var i=Math.min(e,n);a.x=r,a.y=t,a.width=i,a.height=i},circle:function(r,t,e,n,a){a.cx=r+e/2,a.cy=t+n/2,a.r=Math.min(e,n)/2},diamond:function(r,t,e,n,a){a.cx=r+e/2,a.cy=t+n/2,a.width=e,a.height=n},pin:function(r,t,e,n,a){a.x=r+e/2,a.y=t+n/2,a.width=e,a.height=n},arrow:function(r,t,e,n,a){a.x=r+e/2,a.y=t+n/2,a.width=e,a.height=n},triangle:function(r,t,e,n,a){a.cx=r+e/2,a.cy=t+n/2,a.width=e,a.height=n}},Hp={};M(xre,function(r,t){Hp[t]=new r});var Sre=Te.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(r,t,e){var n=Hh(r,t,e),a=this.shape;return a&&a.symbolType==="pin"&&t.position==="inside"&&(n.y=e.y+e.height*.4),n},buildPath:function(r,t,e){var n=t.symbolType;if(n!=="none"){var a=Hp[n];a||(n="rect",a=Hp[n]),bre[n](t.x,t.y,t.width,t.height,a.shape),a.buildPath(r,a.shape,e)}}});function Cre(r,t){if(this.type!=="image"){var e=this.style;this.__isEmptyBrush?(e.stroke=r,e.fill=t||"#fff",e.lineWidth=2):this.shape.symbolType==="line"?e.stroke=r:e.fill=r,this.markRedraw()}}function xt(r,t,e,n,a,i,o){var s=r.indexOf("empty")===0;s&&(r=r.substr(5,1).toLowerCase()+r.substr(6));var l;return r.indexOf("image://")===0?l=Hx(r.slice(8),new we(t,e,n,a),o?"center":"cover"):r.indexOf("path://")===0?l=pp(r.slice(7),{},new we(t,e,n,a),o?"center":"cover"):l=new Sre({shape:{symbolType:r,x:t,y:e,width:n,height:a}}),l.__isEmptyBrush=s,l.setColor=Cre,i&&l.setColor(i),l}function hl(r){return U(r)||(r=[+r,+r]),[r[0]||0,r[1]||0]}function No(r,t){if(r!=null)return U(r)||(r=[r,r]),[Z(r[0],t[0])||0,Z(ve(r[1],r[0]),t[1])||0]}function Po(r){return isFinite(r)}function Ere(r,t,e){var n=t.x==null?0:t.x,a=t.x2==null?1:t.x2,i=t.y==null?0:t.y,o=t.y2==null?0:t.y2;t.global||(n=n*e.width+e.x,a=a*e.width+e.x,i=i*e.height+e.y,o=o*e.height+e.y),n=Po(n)?n:0,a=Po(a)?a:1,i=Po(i)?i:0,o=Po(o)?o:0;var s=r.createLinearGradient(n,i,a,o);return s}function Tre(r,t,e){var n=e.width,a=e.height,i=Math.min(n,a),o=t.x==null?.5:t.x,s=t.y==null?.5:t.y,l=t.r==null?.5:t.r;t.global||(o=o*n+e.x,s=s*a+e.y,l=l*i),o=Po(o)?o:.5,s=Po(s)?s:.5,l=l>=0&&Po(l)?l:.5;var u=r.createRadialGradient(o,s,0,o,s,l);return u}function o1(r,t,e){for(var n=t.type==="radial"?Tre(r,t,e):Ere(r,t,e),a=t.colorStops,i=0;i<a.length;i++)n.addColorStop(a[i].offset,a[i].color);return n}function Dre(r,t){if(r===t||!r&&!t)return!1;if(!r||!t||r.length!==t.length)return!0;for(var e=0;e<r.length;e++)if(r[e]!==t[e])return!0;return!1}function Fp(r){return parseInt(r,10)}function pl(r,t,e){var n=["width","height"][t],a=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(e[n]!=null&&e[n]!=="auto")return parseFloat(e[n]);var s=document.defaultView.getComputedStyle(r);return(r[a]||Fp(s[n])||Fp(r.style[n]))-(Fp(s[i])||0)-(Fp(s[o])||0)|0}function Are(r,t){return!r||r==="solid"||!(t>0)?null:r==="dashed"?[4*t,2*t]:r==="dotted"?[t]:Be(r)?[r]:U(r)?r:null}function s1(r){var t=r.style,e=t.lineDash&&t.lineWidth>0&&Are(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(e){var a=t.strokeNoScale&&r.getLineScale?r.getLineScale():1;a&&a!==1&&(e=Y(e,function(i){return i/a}),n/=a)}return[e,n]}var Mre=new Un(!0);function Gp(r){var t=r.stroke;return!(t==null||t==="none"||!(r.lineWidth>0))}function Wb(r){return typeof r=="string"&&r!=="none"}function $p(r){var t=r.fill;return t!=null&&t!=="none"}function Ub(r,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.fillOpacity*t.opacity,r.fill(),r.globalAlpha=e}else r.fill()}function Yb(r,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var e=r.globalAlpha;r.globalAlpha=t.strokeOpacity*t.opacity,r.stroke(),r.globalAlpha=e}else r.stroke()}function l1(r,t,e){var n=Rg(t.image,t.__image,e);if(Uh(n)){var a=r.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&a&&a.setTransform){var i=new DOMMatrix;i.translateSelf(t.x||0,t.y||0),i.rotateSelf(0,0,(t.rotation||0)*dh),i.scaleSelf(t.scaleX||1,t.scaleY||1),a.setTransform(i)}return a}}function kre(r,t,e,n){var a,i=Gp(e),o=$p(e),s=e.strokePercent,l=s<1,u=!t.path;(!t.silent||l)&&u&&t.createPathProxy();var c=t.path||Mre,f=t.__dirty;if(!n){var h=e.fill,p=e.stroke,v=o&&!!h.colorStops,m=i&&!!p.colorStops,g=o&&!!h.image,_=i&&!!p.image,y=void 0,w=void 0,x=void 0,b=void 0,S=void 0;(v||m)&&(S=t.getBoundingRect()),v&&(y=f?o1(r,h,S):t.__canvasFillGradient,t.__canvasFillGradient=y),m&&(w=f?o1(r,p,S):t.__canvasStrokeGradient,t.__canvasStrokeGradient=w),g&&(x=f||!t.__canvasFillPattern?l1(r,h,t):t.__canvasFillPattern,t.__canvasFillPattern=x),_&&(b=f||!t.__canvasStrokePattern?l1(r,p,t):t.__canvasStrokePattern,t.__canvasStrokePattern=x),v?r.fillStyle=y:g&&(x?r.fillStyle=x:o=!1),m?r.strokeStyle=w:_&&(b?r.strokeStyle=b:i=!1)}var C=t.getGlobalScale();c.setScale(C[0],C[1],t.segmentIgnoreThreshold);var D,T;r.setLineDash&&e.lineDash&&(a=s1(t),D=a[0],T=a[1]);var E=!0;(u||f&_u)&&(c.setDPR(r.dpr),l?c.setContext(null):(c.setContext(r),E=!1),c.reset(),t.buildPath(c,t.shape,n),c.toStatic(),t.pathUpdated()),E&&c.rebuildPath(r,l?s:1),D&&(r.setLineDash(D),r.lineDashOffset=T),n||(e.strokeFirst?(i&&Yb(r,e),o&&Ub(r,e)):(o&&Ub(r,e),i&&Yb(r,e))),D&&r.setLineDash([])}function Lre(r,t,e){var n=t.__image=Rg(e.image,t.__image,t,t.onload);if(!(!n||!Uh(n))){var a=e.x||0,i=e.y||0,o=t.getWidth(),s=t.getHeight(),l=n.width/n.height;if(o==null&&s!=null?o=s*l:s==null&&o!=null?s=o/l:o==null&&s==null&&(o=n.width,s=n.height),e.sWidth&&e.sHeight){var u=e.sx||0,c=e.sy||0;r.drawImage(n,u,c,e.sWidth,e.sHeight,a,i,o,s)}else if(e.sx&&e.sy){var u=e.sx,c=e.sy,f=o-u,h=s-c;r.drawImage(n,u,c,f,h,a,i,o,s)}else r.drawImage(n,a,i,o,s)}}function Ire(r,t,e){var n,a=e.text;if(a!=null&&(a+=""),a){r.font=e.font||$a,r.textAlign=e.textAlign,r.textBaseline=e.textBaseline;var i=void 0,o=void 0;r.setLineDash&&e.lineDash&&(n=s1(t),i=n[0],o=n[1]),i&&(r.setLineDash(i),r.lineDashOffset=o),e.strokeFirst?(Gp(e)&&r.strokeText(a,e.x,e.y),$p(e)&&r.fillText(a,e.x,e.y)):($p(e)&&r.fillText(a,e.x,e.y),Gp(e)&&r.strokeText(a,e.x,e.y)),i&&r.setLineDash([])}}var jb=["shadowBlur","shadowOffsetX","shadowOffsetY"],Xb=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function qb(r,t,e,n,a){var i=!1;if(!n&&(e=e||{},t===e))return!1;if(n||t.opacity!==e.opacity){Sr(r,a),i=!0;var o=Math.max(Math.min(t.opacity,1),0);r.globalAlpha=isNaN(o)?so.opacity:o}(n||t.blend!==e.blend)&&(i||(Sr(r,a),i=!0),r.globalCompositeOperation=t.blend||so.blend);for(var s=0;s<jb.length;s++){var l=jb[s];(n||t[l]!==e[l])&&(i||(Sr(r,a),i=!0),r[l]=r.dpr*(t[l]||0))}return(n||t.shadowColor!==e.shadowColor)&&(i||(Sr(r,a),i=!0),r.shadowColor=t.shadowColor||so.shadowColor),i}function Zb(r,t,e,n,a){var i=fc(t,a.inHover),o=n?null:e&&fc(e,a.inHover)||{};if(i===o)return!1;var s=qb(r,i,o,n,a);if((n||i.fill!==o.fill)&&(s||(Sr(r,a),s=!0),Wb(i.fill)&&(r.fillStyle=i.fill)),(n||i.stroke!==o.stroke)&&(s||(Sr(r,a),s=!0),Wb(i.stroke)&&(r.strokeStyle=i.stroke)),(n||i.opacity!==o.opacity)&&(s||(Sr(r,a),s=!0),r.globalAlpha=i.opacity==null?1:i.opacity),t.hasStroke()){var l=i.lineWidth,u=l/(i.strokeNoScale&&t.getLineScale?t.getLineScale():1);r.lineWidth!==u&&(s||(Sr(r,a),s=!0),r.lineWidth=u)}for(var c=0;c<Xb.length;c++){var f=Xb[c],h=f[0];(n||i[h]!==o[h])&&(s||(Sr(r,a),s=!0),r[h]=i[h]||f[1])}return s}function Nre(r,t,e,n,a){return qb(r,fc(t,a.inHover),e&&fc(e,a.inHover),n,a)}function Kb(r,t){var e=t.transform,n=r.dpr||1;e?r.setTransform(n*e[0],n*e[1],n*e[2],n*e[3],n*e[4],n*e[5]):r.setTransform(n,0,0,n,0,0)}function Pre(r,t,e){for(var n=!1,a=0;a<r.length;a++){var i=r[a];n=n||i.isZeroArea(),Kb(t,i),t.beginPath(),i.buildPath(t,i.shape),t.clip()}e.allClipped=n}function Vre(r,t){return r&&t?r[0]!==t[0]||r[1]!==t[1]||r[2]!==t[2]||r[3]!==t[3]||r[4]!==t[4]||r[5]!==t[5]:!(!r&&!t)}var Jb=1,Qb=2,eS=3,tS=4;function Bre(r){var t=$p(r),e=Gp(r);return!(r.lineDash||!(+t^+e)||t&&typeof r.fill!="string"||e&&typeof r.stroke!="string"||r.strokePercent<1||r.strokeOpacity<1||r.fillOpacity<1)}function Sr(r,t){t.batchFill&&r.fill(),t.batchStroke&&r.stroke(),t.batchFill="",t.batchStroke=""}function fc(r,t){return t&&r.__hoverStyle||r.style}function rS(r,t){Vo(r,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function Vo(r,t,e,n){var a=t.transform;if(!t.shouldBePainted(e.viewWidth,e.viewHeight,!1,!1)){t.__dirty&=-2,t.__isRendered=!1;return}var i=t.__clipPaths,o=e.prevElClipPaths,s=!1,l=!1;if((!o||Dre(i,o))&&(o&&o.length&&(Sr(r,e),r.restore(),l=s=!0,e.prevElClipPaths=null,e.allClipped=!1,e.prevEl=null),i&&i.length&&(Sr(r,e),r.save(),Pre(i,r,e),s=!0),e.prevElClipPaths=i),e.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=e.prevEl;u||(l=s=!0);var c=t instanceof Te&&t.autoBatch&&Bre(t.style);s||Vre(a,u.transform)?(Sr(r,e),Kb(r,t)):c||Sr(r,e);var f=fc(t,e.inHover);t instanceof Te?(e.lastDrawType!==Jb&&(l=!0,e.lastDrawType=Jb),Zb(r,t,u,l,e),(!c||!e.batchFill&&!e.batchStroke)&&r.beginPath(),kre(r,t,f,c),c&&(e.batchFill=f.fill||"",e.batchStroke=f.stroke||"")):t instanceof Fs?(e.lastDrawType!==eS&&(l=!0,e.lastDrawType=eS),Zb(r,t,u,l,e),Ire(r,t,f)):t instanceof Vt?(e.lastDrawType!==Qb&&(l=!0,e.lastDrawType=Qb),Nre(r,t,u,l,e),Lre(r,t,f)):t.getTemporalDisplayables&&(e.lastDrawType!==tS&&(l=!0,e.lastDrawType=tS),Ore(r,t,e)),c&&n&&Sr(r,e),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),e.prevEl=t,t.__dirty=0,t.__isRendered=!0}function Ore(r,t,e){var n=t.getDisplayables(),a=t.getTemporalDisplayables();r.save();var i={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:e.viewWidth,viewHeight:e.viewHeight,inHover:e.inHover},o,s;for(o=t.getCursor(),s=n.length;o<s;o++){var l=n[o];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Vo(r,l,i,o===s-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),i.prevEl=l}for(var u=0,c=a.length;u<c;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),Vo(r,l,i,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),i.prevEl=l}t.clearTemporalDisplayables(),t.notClear=!0,r.restore()}var u1=new gre,nS=new xu(100),aS=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function dl(r,t){if(r==="none")return null;var e=t.getDevicePixelRatio(),n=t.getZr(),a=n.painter.type==="svg";r.dirty&&u1.delete(r);var i=u1.get(r);if(i)return i;var o=ue(r,{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 l(s),s.rotation=o.rotation,s.scaleX=s.scaleY=a?1:1/e,u1.set(r,s),r.dirty=!1,s;function l(u){for(var c=[e],f=!0,h=0;h<aS.length;++h){var p=o[aS[h]];if(p!=null&&!U(p)&&!K(p)&&!Be(p)&&typeof p!="boolean"){f=!1;break}c.push(p)}var v;if(f){v=c.join(",")+(a?"-svg":"");var m=nS.get(v);m&&(a?u.svgElement=m:u.image=m)}var g=oS(o.dashArrayX),_=Rre(o.dashArrayY),y=iS(o.symbol),w=zre(g),x=sS(_),b=!a&&Wa.createCanvas(),S=a&&{tag:"g",attrs:{},key:"dcl",children:[]},C=T(),D;b&&(b.width=C.width*e,b.height=C.height*e,D=b.getContext("2d")),E(),f&&nS.put(v,b||S),u.image=b,u.svgElement=S,u.svgWidth=C.width,u.svgHeight=C.height;function T(){for(var A=1,k=0,I=w.length;k<I;++k)A=ww(A,w[k]);for(var L=1,k=0,I=y.length;k<I;++k)L=ww(L,y[k].length);A*=L;var N=x*w.length*y.length;if(process.env.NODE_ENV!=="production"){var P=function(V){console.warn("Calculated decal size is greater than "+V+" due to decal option settings so "+V+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+V+" to be larger to avoid incontinuity.")};A>o.maxTileWidth&&P("maxTileWidth"),N>o.maxTileHeight&&P("maxTileHeight")}return{width:Math.max(1,Math.min(A,o.maxTileWidth)),height:Math.max(1,Math.min(N,o.maxTileHeight))}}function E(){D&&(D.clearRect(0,0,b.width,b.height),o.backgroundColor&&(D.fillStyle=o.backgroundColor,D.fillRect(0,0,b.width,b.height)));for(var A=0,k=0;k<_.length;++k)A+=_[k];if(A<=0)return;for(var I=-x,L=0,N=0,P=0;I<C.height;){if(L%2===0){for(var V=N/2%y.length,O=0,B=0,R=0;O<C.width*2;){for(var z=0,k=0;k<g[P].length;++k)z+=g[P][k];if(z<=0)break;if(B%2===0){var H=(1-o.symbolSize)*.5,$=O+g[P][B]*H,X=I+_[L]*H,j=g[P][B]*o.symbolSize,fe=_[L]*o.symbolSize,De=R/2%y[V].length;ie($,X,j,fe,y[V][De])}O+=g[P][B],++R,++B,B===g[P].length&&(B=0)}++P,P===g.length&&(P=0)}I+=_[L],++N,++L,L===_.length&&(L=0)}function ie(re,le,Q,ce,Re){var ze=a?1:e,Ye=xt(Re,re*ze,le*ze,Q*ze,ce*ze,o.color,o.symbolKeepAspect);if(a){var Qe=n.painter.renderOneToVNode(Ye);Qe&&S.children.push(Qe)}else rS(D,Ye)}}}}function iS(r){if(!r||r.length===0)return[["rect"]];if(K(r))return[[r]];for(var t=!0,e=0;e<r.length;++e)if(!K(r[e])){t=!1;break}if(t)return iS([r]);for(var n=[],e=0;e<r.length;++e)K(r[e])?n.push([r[e]]):n.push(r[e]);return n}function oS(r){if(!r||r.length===0)return[[0,0]];if(Be(r)){var t=Math.ceil(r);return[[t,t]]}for(var e=!0,n=0;n<r.length;++n)if(!Be(r[n])){e=!1;break}if(e)return oS([r]);for(var a=[],n=0;n<r.length;++n)if(Be(r[n])){var t=Math.ceil(r[n]);a.push([t,t])}else{var t=Y(r[n],function(s){return Math.ceil(s)});t.length%2===1?a.push(t.concat(t)):a.push(t)}return a}function Rre(r){if(!r||typeof r=="object"&&r.length===0)return[0,0];if(Be(r)){var t=Math.ceil(r);return[t,t]}var e=Y(r,function(n){return Math.ceil(n)});return r.length%2?e.concat(e):e}function zre(r){return Y(r,function(t){return sS(t)})}function sS(r){for(var t=0,e=0;e<r.length;++e)t+=r[e];return r.length%2===1?t*2:t}function Hre(r,t){r.eachRawSeries(function(e){if(!r.isSeriesFiltered(e)){var n=e.getData();n.hasItemVisual()&&n.each(function(o){var s=n.getItemVisual(o,"decal");if(s){var l=n.ensureUniqueItemVisual(o,"style");l.decal=dl(s,t)}});var a=n.getVisual("decal");if(a){var i=n.getVisual("style");i.decal=dl(a,t)}}})}var bn=new Rr,Wp={};function Fre(r,t){process.env.NODE_ENV!=="production"&&Wp[r]&&Rt("Already has an implementation of "+r+"."),Wp[r]=t}function Gre(r){return process.env.NODE_ENV!=="production"&&(Wp[r]||Rt("Implementation of "+r+" doesn't exists.")),Wp[r]}var $re=1,Wre=800,Ure=900,Yre=1e3,jre=2e3,Xre=5e3,lS=1e3,qre=1100,c1=2e3,uS=3e3,Zre=4e3,Up=4500,Kre=4600,Jre=5e3,Qre=6e3,cS=7e3,ene={PROCESSOR:{FILTER:Yre,SERIES_FILTER:Wre,STATISTIC:Xre},VISUAL:{LAYOUT:lS,PROGRESSIVE_LAYOUT:qre,GLOBAL:c1,CHART:uS,POST_CHART_LAYOUT:Kre,COMPONENT:Zre,BRUSH:Jre,CHART_ITEM:Up,ARIA:Qre,DECAL:cS}},Kt="__flagInMainProcess",Cr="__pendingUpdate",f1="__needsUpdateStatus",fS=/^[a-zA-Z0-9_]+$/,h1="__connectUpdateStatus",hS=0,tne=1,rne=2;function pS(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if(this.isDisposed()){Lr(this.id);return}return vS(this,r,t)}}function dS(r){return function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return vS(this,r,t)}}function vS(r,t,e){return e[0]=e[0]&&e[0].toLowerCase(),Rr.prototype[t].apply(r,e)}var gS=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(Rr),mS=gS.prototype;mS.on=dS("on"),mS.off=dS("off");var vl,p1,Yp,fi,d1,v1,g1,hc,pc,_S,yS,m1,wS,jp,xS,bS,Kr,SS,CS=function(r){F(t,r);function t(e,n,a){var i=r.call(this,new cre)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],a=a||{},K(n)&&(n=ES[n]),i._dom=e;var o="canvas",s="auto",l=!1;if(process.env.NODE_ENV!=="production"){var u=Ee.hasGlobalWindow?window:global;u&&(o=ve(u.__ECHARTS__DEFAULT__RENDERER__,o),s=ve(u.__ECHARTS__DEFAULT__COARSE_POINTER,s),l=ve(u.__ECHARTS__DEFAULT__USE_DIRTY_RECT__,l))}a.ssr&&YK(function(p){var v=ge(p),m=v.dataIndex;if(m!=null){var g=ne();return g.set("series_index",v.seriesIndex),g.set("data_index",m),v.ssrType&&g.set("ssr_type",v.ssrType),g}});var c=i._zr=fw(e,{renderer:a.renderer||o,devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,ssr:a.ssr,useDirtyRect:ve(a.useDirtyRect,l),useCoarsePointer:ve(a.useCoarsePointer,s),pointerSize:a.pointerSize});i._ssr=a.ssr,i._throttledZrFlush=n1(J(c.flush,c),17),n=pe(n),n&&F5(n,!0),i._theme=n,i._locale=yee(a.locale||r5),i._coordSysMgr=new il;var f=i._api=xS(i);function h(p,v){return p.__prio-v.__prio}return wh(qp,h),wh(y1,h),i._scheduler=new Nb(i,f,y1,qp),i._messageCenter=new gS,i._initEvents(),i.resize=J(i.resize,i),c.animation.on("frame",i._onframe,i),_S(c,i),yS(c,i),hh(i),i}return t.prototype._onframe=function(){if(!this._disposed){SS(this);var e=this._scheduler;if(this[Cr]){var n=this[Cr].silent;this[Kt]=!0;try{vl(this),fi.update.call(this,null,this[Cr].updateParams)}catch(l){throw this[Kt]=!1,this[Cr]=null,l}this._zr.flush(),this[Kt]=!1,this[Cr]=null,hc.call(this,n),pc.call(this,n)}else if(e.unfinished){var a=$re,i=this._model,o=this._api;e.unfinished=!1;do{var s=+new Date;e.performSeriesTasks(i),e.performDataProcessorTasks(i),v1(this,i),e.performVisualTasks(i),jp(this,this._model,o,"remain",{}),a-=+new Date-s}while(a>0&&e.unfinished);e.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(e,n,a){if(this[Kt]){process.env.NODE_ENV!=="production"&&Rt("`setOption` should not be called during main process.");return}if(this._disposed){Lr(this.id);return}var i,o,s;if(oe(n)&&(a=n.lazyUpdate,i=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[Kt]=!0,!this._model||n){var l=new Yee(this._api),u=this._theme,c=this._model=new F2;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,l)}this._model.setOption(e,{replaceMerge:o},w1);var f={seriesTransition:s,optionChanged:!0};if(a)this[Cr]={silent:i,updateParams:f},this[Kt]=!1,this.getZr().wakeUp();else{try{vl(this),fi.update.call(this,null,f)}catch(h){throw this[Cr]=null,this[Kt]=!1,h}this._ssr||this._zr.flush(),this[Cr]=null,this[Kt]=!1,hc.call(this,i),pc.call(this,i)}},t.prototype.setTheme=function(){mn("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||Ee.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(e){return process.env.NODE_ENV!=="production"&&_t("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(e)},t.prototype.renderToCanvas=function(e){e=e||{};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:e.backgroundColor||this._model.get("backgroundColor"),pixelRatio:e.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(e){e=e||{};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:e.useViewBox})},t.prototype.getSvgDataURL=function(){if(Ee.svgSupported){var e=this._zr,n=e.storage.getDisplayList();return M(n,function(a){a.stopAnimation(null,!0)}),e.painter.toDataURL()}},t.prototype.getDataURL=function(e){if(this._disposed){Lr(this.id);return}e=e||{};var n=e.excludeComponents,a=this._model,i=[],o=this;M(n,function(l){a.eachComponent({mainType:l},function(u){var c=o._componentsMap[u.__viewId];c.group.ignore||(i.push(c),c.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(e).toDataURL("image/"+(e&&e.type||"png"));return M(i,function(l){l.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(e){if(this._disposed){Lr(this.id);return}var n=e.type==="svg",a=this.group,i=Math.min,o=Math.max,s=1/0;if(TS[a]){var l=s,u=s,c=-s,f=-s,h=[],p=e&&e.pixelRatio||this.getDevicePixelRatio();M(vc,function(w,x){if(w.group===a){var b=n?w.getZr().painter.getSvgDom().innerHTML:w.renderToCanvas(pe(e)),S=w.getDom().getBoundingClientRect();l=i(S.left,l),u=i(S.top,u),c=o(S.right,c),f=o(S.bottom,f),h.push({dom:b,left:S.left,top:S.top})}}),l*=p,u*=p,c*=p,f*=p;var v=c-l,m=f-u,g=Wa.createCanvas(),_=fw(g,{renderer:n?"svg":"canvas"});if(_.resize({width:v,height:m}),n){var y="";return M(h,function(w){var x=w.left-l,b=w.top-u;y+='<g transform="translate('+x+","+b+')">'+w.dom+"</g>"}),_.painter.getSvgRoot().innerHTML=y,e.connectedBackgroundColor&&_.painter.setBackgroundColor(e.connectedBackgroundColor),_.refreshImmediately(),_.painter.toDataURL()}else return e.connectedBackgroundColor&&_.add(new Pe({shape:{x:0,y:0,width:v,height:m},style:{fill:e.connectedBackgroundColor}})),M(h,function(w){var x=new Vt({style:{x:w.left*p-l,y:w.top*p-u,image:w.dom}});_.add(x)}),_.refreshImmediately(),g.toDataURL("image/"+(e&&e.type||"png"))}else return this.getDataURL(e)},t.prototype.convertToPixel=function(e,n){return d1(this,"convertToPixel",e,n)},t.prototype.convertFromPixel=function(e,n){return d1(this,"convertFromPixel",e,n)},t.prototype.containPixel=function(e,n){if(this._disposed){Lr(this.id);return}var a=this._model,i,o=Nu(a,e);return M(o,function(s,l){l.indexOf("Models")>=0&&M(s,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)i=i||!!c.containPoint(n);else if(l==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint?i=i||f.containPoint(n,u):process.env.NODE_ENV!=="production"&&it(l+": "+(f?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&it(l+": containPoint is not supported")},this)},this),!!i},t.prototype.getVisual=function(e,n){var a=this._model,i=Nu(a,e,{defaultMainType:"series"}),o=i.seriesModel;process.env.NODE_ENV!=="production"&&(o||it("There is no specified series model"));var s=o.getData(),l=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?s.indexOfRawIndex(i.dataIndex):null;return l!=null?i1(s,l,n):cc(s,n)},t.prototype.getViewOfComponentModel=function(e){return this._componentsMap[e.__viewId]},t.prototype.getViewOfSeriesModel=function(e){return this._chartsMap[e.__viewId]},t.prototype._initEvents=function(){var e=this;M(nne,function(n){var a=function(i){var o=e.getModel(),s=i.target,l,u=n==="globalout";if(u?l={}:s&&Io(s,function(v){var m=ge(v);if(m&&m.dataIndex!=null){var g=m.dataModel||o.getSeriesByIndex(m.seriesIndex);return l=g&&g.getDataParams(m.dataIndex,m.dataType,s)||{},!0}else if(m.eventData)return l=G({},m.eventData),!0},!0),l){var c=l.componentType,f=l.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=l.seriesIndex);var h=c&&f!=null&&o.getComponent(c,f),p=h&&e[h.mainType==="series"?"_chartsMap":"_componentsMap"][h.__viewId];process.env.NODE_ENV!=="production"&&!u&&!(h&&p)&&it("model or view can not be found by params"),l.event=i,l.type=n,e._$eventProcessor.eventInfo={targetEl:s,packedEvent:l,model:h,view:p},e.trigger(n,l)}};a.zrEventfulCallAtLast=!0,e._zr.on(n,a,e)}),M(dc,function(n,a){e._messageCenter.on(a,function(i){this.trigger(a,i)},e)}),M(["selectchanged"],function(n){e._messageCenter.on(n,function(a){this.trigger(n,a)},e)}),pre(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){Lr(this.id);return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){Lr(this.id);return}this._disposed=!0;var e=this.getDom();e&&kw(this.getDom(),b1,"");var n=this,a=n._api,i=n._model;M(n._componentsViews,function(o){o.dispose(i,a)}),M(n._chartsViews,function(o){o.dispose(i,a)}),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 vc[n.id]},t.prototype.resize=function(e){if(this[Kt]){process.env.NODE_ENV!=="production"&&Rt("`resize` should not be called during main process.");return}if(this._disposed){Lr(this.id);return}this._zr.resize(e);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var a=n.resetOption("media"),i=e&&e.silent;this[Cr]&&(i==null&&(i=this[Cr].silent),a=!0,this[Cr]=null),this[Kt]=!0;try{a&&vl(this),fi.update.call(this,{type:"resize",animation:G({duration:0},e&&e.animation)})}catch(o){throw this[Kt]=!1,o}this[Kt]=!1,hc.call(this,i),pc.call(this,i)}},t.prototype.showLoading=function(e,n){if(this._disposed){Lr(this.id);return}if(oe(e)&&(n=e,e=""),e=e||"default",this.hideLoading(),!x1[e]){process.env.NODE_ENV!=="production"&&it("Loading effects "+e+" not exists.");return}var a=x1[e](this._api,n),i=this._zr;this._loadingFX=a,i.add(a)},t.prototype.hideLoading=function(){if(this._disposed){Lr(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(e){var n=G({},e);return n.type=dc[e.type],n},t.prototype.dispatchAction=function(e,n){if(this._disposed){Lr(this.id);return}if(oe(n)||(n={silent:!!n}),!!Xp[e.type]&&this._model){if(this[Kt]){this._pendingActions.push(e);return}var a=n.silent;g1.call(this,e,a);var i=n.flush;i?this._zr.flush():i!==!1&&Ee.browser.weChat&&this._throttledZrFlush(),hc.call(this,a),pc.call(this,a)}},t.prototype.updateLabelLayout=function(){bn.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(e){if(this._disposed){Lr(this.id);return}var n=e.seriesIndex,a=this.getModel(),i=a.getSeriesByIndex(n);process.env.NODE_ENV!=="production"&&se(e.data&&i),i.appendData(e),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){vl=function(f){var h=f._scheduler;h.restorePipelines(f._model),h.prepareStageTasks(),p1(f,!0),p1(f,!1),h.plan()},p1=function(f,h){for(var p=f._model,v=f._scheduler,m=h?f._componentsViews:f._chartsViews,g=h?f._componentsMap:f._chartsMap,_=f._zr,y=f._api,w=0;w<m.length;w++)m[w].__alive=!1;h?p.eachComponent(function(S,C){S!=="series"&&x(C)}):p.eachSeries(x);function x(S){var C=S.__requireNewView;S.__requireNewView=!1;var D="_ec_"+S.id+"_"+S.type,T=!C&&g[D];if(!T){var E=Fn(S.type),A=h?nt.getClass(E.main,E.sub):Xe.getClass(E.sub);process.env.NODE_ENV!=="production"&&se(A,E.sub+" does not exist."),T=new A,T.init(p,y),g[D]=T,m.push(T),_.add(T.group)}S.__viewId=T.__id=D,T.__alive=!0,T.__model=S,T.group.__ecComponentInfo={mainType:S.mainType,index:S.componentIndex},!h&&v.prepareView(T,S,p,y)}for(var w=0;w<m.length;){var b=m[w];b.__alive?w++:(!h&&b.renderTask.dispose(),_.remove(b.group),b.dispose(p,y),m.splice(w,1),g[b.__id]===b&&delete g[b.__id],b.__id=b.group.__ecComponentInfo=null)}},Yp=function(f,h,p,v,m){var g=f._model;if(g.setUpdatePayload(p),!v){M([].concat(f._componentsViews).concat(f._chartsViews),b);return}var _={};_[v+"Id"]=p[v+"Id"],_[v+"Index"]=p[v+"Index"],_[v+"Name"]=p[v+"Name"];var y={mainType:v,query:_};m&&(y.subType=m);var w=p.excludeSeriesId,x;w!=null&&(x=ne(),M(je(w),function(S){var C=Ct(S,null);C!=null&&x.set(C,!0)})),g&&g.eachComponent(y,function(S){var C=x&&x.get(S.id)!=null;if(!C)if(bx(p))if(S instanceof Ke)p.type===go&&!p.notBlur&&!S.get(["emphasis","disabled"])&&_Q(S,p,f._api);else{var D=l2(S.mainType,S.componentIndex,p.name,f._api),T=D.focusSelf,E=D.dispatchers;p.type===go&&T&&!p.notBlur&&s2(S.mainType,S.componentIndex,f._api),E&&M(E,function(A){p.type===go?ba(A):Sa(A)})}else c2(p)&&S instanceof Ke&&(xQ(S,p,f._api),yx(S),Kr(f))},f),g&&g.eachComponent(y,function(S){var C=x&&x.get(S.id)!=null;C||b(f[v==="series"?"_chartsMap":"_componentsMap"][S.__viewId])},f);function b(S){S&&S.__alive&&S[h]&&S[h](S.__model,g,f._api,p)}},fi={prepareAndUpdate:function(f){vl(this),fi.update.call(this,f,{optionChanged:f.newOption!=null})},update:function(f,h){var p=this._model,v=this._api,m=this._zr,g=this._coordSysMgr,_=this._scheduler;if(p){p.setUpdatePayload(f),_.restoreData(p,f),_.performSeriesTasks(p),g.create(p,v),_.performDataProcessorTasks(p,f),v1(this,p),g.update(p,v),e(p),_.performVisualTasks(p,f),m1(this,p,v,f,h);var y=p.get("backgroundColor")||"transparent",w=p.get("darkMode");m.setBackgroundColor(y),w!=null&&w!=="auto"&&m.setDarkMode(w),bn.trigger("afterupdate",p,v)}},updateTransform:function(f){var h=this,p=this._model,v=this._api;if(p){p.setUpdatePayload(f);var m=[];p.eachComponent(function(_,y){if(_!=="series"){var w=h.getViewOfComponentModel(y);if(w&&w.__alive)if(w.updateTransform){var x=w.updateTransform(y,p,v,f);x&&x.update&&m.push(w)}else m.push(w)}});var g=ne();p.eachSeries(function(_){var y=h._chartsMap[_.__viewId];if(y.updateTransform){var w=y.updateTransform(_,p,v,f);w&&w.update&&g.set(_.uid,1)}else g.set(_.uid,1)}),e(p),this._scheduler.performVisualTasks(p,f,{setDirty:!0,dirtyMap:g}),jp(this,p,v,f,{},g),bn.trigger("afterupdate",p,v)}},updateView:function(f){var h=this._model;h&&(h.setUpdatePayload(f),Xe.markUpdateMethod(f,"updateView"),e(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0}),m1(this,h,this._api,f,{}),bn.trigger("afterupdate",h,this._api))},updateVisual:function(f){var h=this,p=this._model;p&&(p.setUpdatePayload(f),p.eachSeries(function(v){v.getData().clearAllVisual()}),Xe.markUpdateMethod(f,"updateVisual"),e(p),this._scheduler.performVisualTasks(p,f,{visualType:"visual",setDirty:!0}),p.eachComponent(function(v,m){if(v!=="series"){var g=h.getViewOfComponentModel(m);g&&g.__alive&&g.updateVisual(m,p,h._api,f)}}),p.eachSeries(function(v){var m=h._chartsMap[v.__viewId];m.updateVisual(v,p,h._api,f)}),bn.trigger("afterupdate",p,this._api))},updateLayout:function(f){fi.update.call(this,f)}},d1=function(f,h,p,v){if(f._disposed){Lr(f.id);return}for(var m=f._model,g=f._coordSysMgr.getCoordinateSystems(),_,y=Nu(m,p),w=0;w<g.length;w++){var x=g[w];if(x[h]&&(_=x[h](m,y,v))!=null)return _}process.env.NODE_ENV!=="production"&&it("No coordinate system that supports "+h+" found by the given finder.")},v1=function(f,h){var p=f._chartsMap,v=f._scheduler;h.eachSeries(function(m){v.updateStreamModes(m,p[m.__viewId])})},g1=function(f,h){var p=this,v=this.getModel(),m=f.type,g=f.escapeConnect,_=Xp[m],y=_.actionInfo,w=(y.update||"update").split(":"),x=w.pop(),b=w[0]!=null&&Fn(w[0]);this[Kt]=!0;var S=[f],C=!1;f.batch&&(C=!0,S=Y(f.batch,function(L){return L=ue(G({},L),f),L.batch=null,L}));var D=[],T,E=c2(f),A=bx(f);if(A&&_x(this._api),M(S,function(L){if(T=_.action(L,p._model,p._api),T=T||G({},L),T.type=y.event||T.type,D.push(T),A){var N=Pg(f),P=N.queryOptionMap,V=N.mainTypeSpecified,O=V?P.keys()[0]:"series";Yp(p,x,L,O),Kr(p)}else E?(Yp(p,x,L,"series"),Kr(p)):b&&Yp(p,x,L,b.main,b.sub)}),x!=="none"&&!A&&!E&&!b)try{this[Cr]?(vl(this),fi.update.call(this,f),this[Cr]=null):fi[x].call(this,f)}catch(L){throw this[Kt]=!1,L}if(C?T={type:y.event||m,escapeConnect:g,batch:D}:T=D[0],this[Kt]=!1,!h){var k=this._messageCenter;if(k.trigger(T.type,T),E){var I={type:"selectchanged",escapeConnect:g,selected:bQ(v),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};k.trigger(I.type,I)}}},hc=function(f){for(var h=this._pendingActions;h.length;){var p=h.shift();g1.call(this,p,f)}},pc=function(f){!f&&this.trigger("updated")},_S=function(f,h){f.on("rendered",function(p){h.trigger("rendered",p),f.animation.isFinished()&&!h[Cr]&&!h._scheduler.unfinished&&!h._pendingActions.length&&h.trigger("finished")})},yS=function(f,h){f.on("mouseover",function(p){var v=p.target,m=Io(v,ni);m&&(yQ(m,p,h._api),Kr(h))}).on("mouseout",function(p){var v=p.target,m=Io(v,ni);m&&(wQ(m,p,h._api),Kr(h))}).on("click",function(p){var v=p.target,m=Io(v,function(y){return ge(y).dataIndex!=null},!0);if(m){var g=m.selected?"unselect":"select",_=ge(m);h._api.dispatchAction({type:g,dataType:_.dataType,dataIndexInside:_.dataIndex,seriesIndex:_.seriesIndex,isFromClick:!0})}})};function e(f){f.clearColorPalette(),f.eachSeries(function(h){h.clearColorPalette()})}function n(f){var h=[],p=[],v=!1;if(f.eachComponent(function(y,w){var x=w.get("zlevel")||0,b=w.get("z")||0,S=w.getZLevelKey();v=v||!!S,(y==="series"?p:h).push({zlevel:x,z:b,idx:w.componentIndex,type:y,key:S})}),v){var m=h.concat(p),g,_;wh(m,function(y,w){return y.zlevel===w.zlevel?y.z-w.z:y.zlevel-w.zlevel}),M(m,function(y){var w=f.getComponent(y.type,y.idx),x=y.zlevel,b=y.key;g!=null&&(x=Math.max(g,x)),b?(x===g&&b!==_&&x++,_=b):_&&(x===g&&x++,_=""),g=x,w.setZLevel(x)})}}m1=function(f,h,p,v,m){n(h),wS(f,h,p,v,m),M(f._chartsViews,function(g){g.__alive=!1}),jp(f,h,p,v,m),M(f._chartsViews,function(g){g.__alive||g.remove(h,p)})},wS=function(f,h,p,v,m,g){M(g||f._componentsViews,function(_){var y=_.__model;u(y,_),_.render(y,h,p,v),s(y,_),c(y,_)})},jp=function(f,h,p,v,m,g){var _=f._scheduler;m=G(m||{},{updatedSeries:h.getSeries()}),bn.trigger("series:beforeupdate",h,p,m);var y=!1;h.eachSeries(function(w){var x=f._chartsMap[w.__viewId];x.__alive=!0;var b=x.renderTask;_.updatePayload(b,v),u(w,x),g&&g.get(w.uid)&&b.dirty(),b.perform(_.getPerformArgs(b))&&(y=!0),x.group.silent=!!w.get("silent"),o(w,x),yx(w)}),_.unfinished=y||_.unfinished,bn.trigger("series:layoutlabels",h,p,m),bn.trigger("series:transition",h,p,m),h.eachSeries(function(w){var x=f._chartsMap[w.__viewId];s(w,x),c(w,x)}),i(f,h),bn.trigger("series:afterupdate",h,p,m)},Kr=function(f){f[f1]=!0,f.getZr().wakeUp()},SS=function(f){f[f1]&&(f.getZr().storage.traverse(function(h){Xs(h)||a(h)}),f[f1]=!1)};function a(f){for(var h=[],p=f.currentStates,v=0;v<p.length;v++){var m=p[v];m==="emphasis"||m==="blur"||m==="select"||h.push(m)}f.selected&&f.states.select&&h.push("select"),f.hoverState===Jh&&f.states.emphasis?h.push("emphasis"):f.hoverState===Ou&&f.states.blur&&h.push("blur"),f.useStates(h)}function i(f,h){var p=f._zr,v=p.storage,m=0;v.traverse(function(g){g.isGroup||m++}),m>h.get("hoverLayerThreshold")&&!Ee.node&&!Ee.worker&&h.eachSeries(function(g){if(!g.preventUsingHoverLayer){var _=f._chartsMap[g.__viewId];_.__alive&&_.eachRendered(function(y){y.states.emphasis&&(y.states.emphasis.hoverLayer=!0)})}})}function o(f,h){var p=f.get("blendMode")||null;h.eachRendered(function(v){v.isGroup||(v.style.blend=p)})}function s(f,h){if(!f.preventAutoZ){var p=f.get("z")||0,v=f.get("zlevel")||0;h.eachRendered(function(m){return l(m,p,v,-1/0),!0})}}function l(f,h,p,v){var m=f.getTextContent(),g=f.getTextGuideLine(),_=f.isGroup;if(_)for(var y=f.childrenRef(),w=0;w<y.length;w++)v=Math.max(l(y[w],h,p,v),v);else f.z=h,f.zlevel=p,v=Math.max(f.z2,v);if(m&&(m.z=h,m.zlevel=p,isFinite(v)&&(m.z2=v+2)),g){var x=f.textGuideLineConfig;g.z=h,g.zlevel=p,isFinite(v)&&(g.z2=v+(x&&x.showAbove?1:-1))}return v}function u(f,h){h.eachRendered(function(p){if(!Xs(p)){var v=p.getTextContent(),m=p.getTextGuideLine();p.stateTransition&&(p.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),m&&m.stateTransition&&(m.stateTransition=null),p.hasState()?(p.prevStates=p.currentStates,p.clearStates()):p.prevStates&&(p.prevStates=null)}})}function c(f,h){var p=f.getModel("stateAnimation"),v=f.isAnimationEnabled(),m=p.get("duration"),g=m>0?{duration:m,delay:p.get("delay"),easing:p.get("easing")}:null;h.eachRendered(function(_){if(_.states&&_.states.emphasis){if(Xs(_))return;if(_ instanceof Te&&DQ(_),_.__dirty){var y=_.prevStates;y&&_.useStates(y)}if(v){_.stateTransition=g;var w=_.getTextContent(),x=_.getTextGuideLine();w&&(w.stateTransition=g),x&&(x.stateTransition=g)}_.__dirty&&a(_)}})}xS=function(f){return new(function(h){F(p,h);function p(){return h!==null&&h.apply(this,arguments)||this}return p.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},p.prototype.getComponentByElement=function(v){for(;v;){var m=v.__ecComponentInfo;if(m!=null)return f._model.getComponent(m.mainType,m.index);v=v.parent}},p.prototype.enterEmphasis=function(v,m){ba(v,m),Kr(f)},p.prototype.leaveEmphasis=function(v,m){Sa(v,m),Kr(f)},p.prototype.enterBlur=function(v){dx(v),Kr(f)},p.prototype.leaveBlur=function(v){i2(v),Kr(f)},p.prototype.enterSelect=function(v){vx(v),Kr(f)},p.prototype.leaveSelect=function(v){gx(v),Kr(f)},p.prototype.getModel=function(){return f.getModel()},p.prototype.getViewOfComponentModel=function(v){return f.getViewOfComponentModel(v)},p.prototype.getViewOfSeriesModel=function(v){return f.getViewOfSeriesModel(v)},p}(P5))(f)},bS=function(f){function h(p,v){for(var m=0;m<p.length;m++){var g=p[m];g[h1]=v}}M(dc,function(p,v){f._messageCenter.on(v,function(m){if(TS[f.group]&&f[h1]!==hS){if(m&&m.escapeConnect)return;var g=f.makeActionFromEvent(m),_=[];M(vc,function(y){y!==f&&y.group===f.group&&_.push(y)}),h(_,hS),M(_,function(y){y[h1]!==tne&&y.dispatchAction(g)}),h(_,rne)}})})}}(),t}(Rr),_1=CS.prototype;_1.on=pS("on"),_1.off=pS("off"),_1.one=function(r,t,e){var n=this;mn("ECharts#one is deprecated.");function a(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];t&&t.apply&&t.apply(this,i),n.off(r,a)}this.on.call(this,r,a,e)};var nne=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Lr(r){process.env.NODE_ENV!=="production"&&it("Instance "+r+" has been disposed")}var Xp={},dc={},y1=[],w1=[],qp=[],ES={},x1={},vc={},TS={},ane=+new Date-0,b1="_echarts_instance_";function ine(r,t,e){{if(process.env.NODE_ENV!=="production"&&!r)throw new Error("Initialize failed: invalid dom.");var n=one(r);if(n)return process.env.NODE_ENV!=="production"&&it("There is a chart instance already initialized on the dom."),n;process.env.NODE_ENV!=="production"&&Wi(r)&&r.nodeName.toUpperCase()!=="CANVAS"&&(!r.clientWidth||!r.clientHeight)&&it("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 CS(r,t,e);return a.id="ec_"+ane++,vc[a.id]=a,kw(r,b1,a.id),bS(a),bn.trigger("afterinit",a),a}function one(r){return vc[vJ(r,b1)]}function DS(r,t){ES[r]=t}function AS(r){xe(w1,r)<0&&w1.push(r)}function MS(r,t){C1(y1,r,t,jre)}function sne(r){S1("afterinit",r)}function lne(r){S1("afterupdate",r)}function S1(r,t){bn.on(r,t)}function qn(r,t,e){ae(t)&&(e=t,t="");var n=oe(r)?r.type:[r,r={event:t}][0];r.event=(r.event||n).toLowerCase(),t=r.event,!dc[t]&&(se(fS.test(n)&&fS.test(t)),Xp[n]||(Xp[n]={action:e,actionInfo:r}),dc[t]=n)}function une(r,t){il.register(r,t)}function cne(r,t){C1(qp,r,t,lS,"layout")}function Bo(r,t){C1(qp,r,t,uS,"visual")}var kS=[];function C1(r,t,e,n,a){if((ae(t)||oe(t))&&(e=t,t=n),process.env.NODE_ENV!=="production"){if(isNaN(t)||t==null)throw new Error("Illegal priority");M(r,function(o){se(o.__raw!==e)})}if(!(xe(kS,e)>=0)){kS.push(e);var i=Nb.wrapStageHandler(e,a);i.__prio=t,i.__raw=e,r.push(i)}}function LS(r,t){x1[r]=t}function fne(r,t,e){var n=Gre("registerMap");n&&n(r,t,e)}var hne=Cte;Bo(c1,Zte),Bo(Up,Kte),Bo(Up,Jte),Bo(c1,fre),Bo(Up,hre),Bo(cS,Hre),AS(F5),MS(Ure,ate),LS("default",Qte),qn({type:go,event:go,update:go},ft),qn({type:Qh,event:Qh,update:Qh},ft),qn({type:zu,event:zu,update:zu},ft),qn({type:ep,event:ep,update:ep},ft),qn({type:Hu,event:Hu,update:Hu},ft),DS("light",ure),DS("dark",Hb);var IS=[],pne={registerPreprocessor:AS,registerProcessor:MS,registerPostInit:sne,registerPostUpdate:lne,registerUpdateLifecycle:S1,registerAction:qn,registerCoordinateSystem:une,registerLayout:cne,registerVisual:Bo,registerTransform:hne,registerLoading:LS,registerMap:fne,registerImpl:Fre,PRIORITY:ene,ComponentModel:Ae,ComponentView:nt,SeriesModel:Ke,ChartView:Xe,registerComponentModel:function(r){Ae.registerClass(r)},registerComponentView:function(r){nt.registerClass(r)},registerSeriesModel:function(r){Ke.registerClass(r)},registerChartView:function(r){Xe.registerClass(r)},registerSubTypeDefaulter:function(r,t){Ae.registerSubTypeDefaulter(r,t)},registerPainter:function(r,t){WK(r,t)}};function Se(r){if(U(r)){M(r,function(t){Se(t)});return}xe(IS,r)>=0||(IS.push(r),ae(r)&&(r={install:r}),r.install(pne))}function gc(r){return r==null?0:r.length||1}function NS(r){return r}var Da=function(){function r(t,e,n,a,i,o){this._old=t,this._new=e,this._oldKeyGetter=n||NS,this._newKeyGetter=a||NS,this.context=i,this._diffModeMultiple=o==="multiple"}return r.prototype.add=function(t){return this._add=t,this},r.prototype.update=function(t){return this._update=t,this},r.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},r.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},r.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},r.prototype.remove=function(t){return this._remove=t,this},r.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},r.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},a=new Array(t.length),i=new Array(e.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(e,n,i,"_newKeyGetter");for(var o=0;o<t.length;o++){var s=a[o],l=n[s],u=gc(l);if(u>1){var c=l.shift();l.length===1&&(n[s]=l[0]),this._update&&this._update(c,o)}else u===1?(n[s]=null,this._update&&this._update(l,o)):this._remove&&this._remove(o)}this._performRestAdd(i,n)},r.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},a={},i=[],o=[];this._initIndexMap(t,n,i,"_oldKeyGetter"),this._initIndexMap(e,a,o,"_newKeyGetter");for(var s=0;s<i.length;s++){var l=i[s],u=n[l],c=a[l],f=gc(u),h=gc(c);if(f>1&&h===1)this._updateManyToOne&&this._updateManyToOne(c,u),a[l]=null;else if(f===1&&h>1)this._updateOneToMany&&this._updateOneToMany(c,u),a[l]=null;else if(f===1&&h===1)this._update&&this._update(c,u),a[l]=null;else if(f>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,u),a[l]=null;else if(f>1)for(var p=0;p<f;p++)this._remove&&this._remove(u[p]);else this._remove&&this._remove(u)}this._performRestAdd(o,a)},r.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var a=t[n],i=e[a],o=gc(i);if(o>1)for(var s=0;s<o;s++)this._add&&this._add(i[s]);else o===1&&this._add&&this._add(i);e[a]=null}},r.prototype._initIndexMap=function(t,e,n,a){for(var i=this._diffModeMultiple,o=0;o<t.length;o++){var s="_ec_"+this[a](t[o],o);if(i||(n[o]=s),!!e){var l=e[s],u=gc(l);u===0?(e[s]=o,i&&n.push(s)):u===1?e[s]=[l,o]:l.push(o)}}},r}(),dne=function(){function r(t,e){this._encode=t,this._schema=e}return r.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},r.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},r}();function vne(r,t){var e={},n=e.encode={},a=ne(),i=[],o=[],s={};M(r.dimensions,function(h){var p=r.getDimensionInfo(h),v=p.coordDim;if(v){process.env.NODE_ENV!=="production"&&se(P2.get(v)==null);var m=p.coordDimIndex;E1(n,v)[m]=h,p.isExtraCoord||(a.set(v,1),gne(p.type)&&(i[0]=h),E1(s,v)[m]=r.getDimensionIndex(p.name)),p.defaultTooltip&&o.push(h)}P2.each(function(g,_){var y=E1(n,_),w=p.otherDims[_];w!=null&&w!==!1&&(y[w]=p.name)})});var l=[],u={};a.each(function(h,p){var v=n[p];u[p]=v[0],l=l.concat(v)}),e.dataDimsOnCoord=l,e.dataDimIndicesOnCoord=Y(l,function(h){return r.getDimensionInfo(h).storeDimIndex}),e.encodeFirstDimNotExtra=u;var c=n.label;c&&c.length&&(i=c.slice());var f=n.tooltip;return f&&f.length?o=f.slice():o.length||(o=i.slice()),n.defaultedLabel=i,n.defaultedTooltip=o,e.userOutput=new dne(s,t),e}function E1(r,t){return r.hasOwnProperty(t)||(r[t]=[]),r[t]}function Zp(r){return r==="category"?"ordinal":r==="time"?"time":"float"}function gne(r){return!(r==="ordinal"||r==="time")}var Kp=function(){function r(t){this.otherDims={},t!=null&&G(this,t)}return r}(),mne=Ne(),_ne={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},PS=function(){function r(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return r.prototype.isDimensionOmitted=function(){return this._dimOmitted},r.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=OS(this.source)))},r.prototype.getSourceDimensionIndex=function(t){return ve(this._dimNameMap.get(t),-1)},r.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},r.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=U5(this.source),n=!RS(t),a="",i=[],o=0,s=0;o<t;o++){var l=void 0,u=void 0,c=void 0,f=this.dimensions[s];if(f&&f.storeDimIndex===o)l=e?f.name:null,u=f.type,c=f.ordinalMeta,s++;else{var h=this.getSourceDimension(o);h&&(l=e?h.name:null,u=h.type)}i.push({property:l,type:u,ordinalMeta:c}),e&&l!=null&&(!f||!f.isCalculationCoord)&&(a+=n?l.replace(/\`/g,"`1").replace(/\$/g,"`2"):l),a+="$",a+=_ne[u]||"f",c&&(a+=c.uid),a+="$"}var p=this.source,v=[p.seriesLayoutBy,p.startIndex,a].join("$$");return{dimensions:i,hash:v}},r.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var a=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(a=i.name),n++;else{var o=this.getSourceDimension(e);o&&(a=o.name)}t.push(a)}return t},r.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},r}();function VS(r){return r instanceof PS}function BS(r){for(var t=ne(),e=0;e<(r||[]).length;e++){var n=r[e],a=oe(n)?n.name:n;a!=null&&t.get(a)==null&&t.set(a,e)}return t}function OS(r){var t=mne(r);return t.dimNameMap||(t.dimNameMap=BS(r.dimensionsDefine))}function RS(r){return r>30}var mc=oe,hi=Y,yne=typeof Int32Array>"u"?Array:Int32Array,wne="e\0\0",zS=-1,xne=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],bne=["_approximateExtent"],HS,Jp,_c,gl,T1,yc,D1,hr=function(){function r(t,e){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,a=!1;VS(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(a=!0,n=t),n=n||["x","y"];for(var i={},o=[],s={},l=!1,u={},c=0;c<n.length;c++){var f=n[c],h=K(f)?new Kp({name:f}):f instanceof Kp?f:new Kp(f),p=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=p,h.coordDimIndex=0);var v=h.otherDims=h.otherDims||{};o.push(p),i[p]=h,u[p]!=null&&(l=!0),h.createInvertedIndices&&(s[p]=[]),v.itemName===0&&(this._nameDimIdx=c),v.itemId===0&&(this._idDimIdx=c),process.env.NODE_ENV!=="production"&&se(a||h.storeDimIndex>=0),a&&(h.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(l),this.hostModel=e,this._invertedIndicesMap=s,this._dimOmitted){var m=this._dimIdxToName=ne();M(o,function(g){m.set(i[g].storeDimIndex,g)})}}return r.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(e==null)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(n!=null)return n;var a=this._schema.getSourceDimension(e);if(a)return a.name},r.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(e!=null)return e;if(t==null)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},r.prototype._recognizeDimIndex=function(t){if(Be(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},r.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);if(process.env.NODE_ENV!=="production"&&e==null)throw new Error("Unknown dimension "+t);return e},r.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},r.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(n){return e.hasOwnProperty(n)?e[n]:void 0}:function(n){return e[n]}},r.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},r.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(e==null)return n.encodeFirstDimNotExtra[t];var a=n.encode[t];return a?a[e]:null},r.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,n=e.encode[t];return(n||[]).slice()},r.prototype.getStore=function(){return this._store},r.prototype.initData=function(t,e,n){var a=this,i;if(t instanceof J2&&(i=t),!i){var o=this.dimensions,s=U2(t)||Yt(t)?new X5(t,o.length):t;i=new J2;var l=hi(o,function(u){return{type:a._dimInfos[u].type,property:u}});i.initData(s,l,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=vne(this,this._schema),this.userOutput=this._dimSummary.userOutput},r.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},r.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),a=n.start,i=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var s=a;s<i;s++){var l=s-a;this._nameList[s]=e[l],o&&D1(this,s)}},r.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var a=this._dimInfos[e[n]];a.ordinalMeta&&t.collectOrdinalMeta(a.storeDimIndex,a.ordinalMeta)}},r.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==Ea&&!t.fillStorage},r.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store,a=n.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,s=a.getSource().sourceFormat,l=s===jr;if(l&&!a.pure)for(var u=[],c=t;c<e;c++){var f=a.getItem(c,u);if(!this.hasItemOption&&rJ(f)&&(this.hasItemOption=!0),f){var h=f.name;i[c]==null&&h!=null&&(i[c]=Ct(h,null));var p=f.id;o[c]==null&&p!=null&&(o[c]=Ct(p,null))}}if(this._shouldMakeIdFromName())for(var c=t;c<e;c++)D1(this,c);HS(this)}},r.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},r.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},r.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},r.prototype.setCalculationInfo=function(t,e){mc(t)?G(this._calculationInfo,t):this._calculationInfo[t]=e},r.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return n==null&&this._nameDimIdx!=null&&(n=_c(this,this._nameDimIdx,e)),n==null&&(n=""),n},r.prototype._getCategory=function(t,e){var n=this._store.get(t,e),a=this._store.getOrdinalMeta(t);return a?a.categories[n]:n},r.prototype.getId=function(t){return Jp(this,this.getRawIndex(t))},r.prototype.count=function(){return this._store.count()},r.prototype.get=function(t,e){var n=this._store,a=this._dimInfos[t];if(a)return n.get(a.storeDimIndex,e)},r.prototype.getByRawIndex=function(t,e){var n=this._store,a=this._dimInfos[t];if(a)return n.getByRawIndex(a.storeDimIndex,e)},r.prototype.getIndices=function(){return this._store.getIndices()},r.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},r.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},r.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},r.prototype.getValues=function(t,e){var n=this,a=this._store;return U(t)?a.getValues(hi(t,function(i){return n._getStoreDimIndex(i)}),e):a.getValues(t)},r.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,a=e.length;n<a;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},r.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},r.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},r.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},r.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t];if(process.env.NODE_ENV!=="production"&&!n)throw new Error("Do not supported yet");var a=n&&n[e];return a==null||isNaN(a)?zS:a},r.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},r.prototype.each=function(t,e,n){ae(t)&&(n=e,e=t,t=[]);var a=n||this,i=hi(gl(t),this._getStoreDimIndex,this);this._store.each(i,a?J(e,a):e)},r.prototype.filterSelf=function(t,e,n){ae(t)&&(n=e,e=t,t=[]);var a=n||this,i=hi(gl(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,a?J(e,a):e),this},r.prototype.selectRange=function(t){var e=this,n={},a=Me(t);return M(a,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i]}),this._store=this._store.selectRange(n),this},r.prototype.mapArray=function(t,e,n){ae(t)&&(n=e,e=t,t=[]),n=n||this;var a=[];return this.each(t,function(){a.push(e&&e.apply(this,arguments))},n),a},r.prototype.map=function(t,e,n,a){var i=n||a||this,o=hi(gl(t),this._getStoreDimIndex,this),s=yc(this);return s._store=this._store.map(o,i?J(e,i):e),s},r.prototype.modify=function(t,e,n,a){var i=this,o=n||a||this;process.env.NODE_ENV!=="production"&&M(gl(t),function(l){var u=i.getDimensionInfo(l);u.isCalculationCoord||console.error("Danger: only stack dimension can be modified")});var s=hi(gl(t),this._getStoreDimIndex,this);this._store.modify(s,o?J(e,o):e)},r.prototype.downSample=function(t,e,n,a){var i=yc(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,a),i},r.prototype.minmaxDownSample=function(t,e){var n=yc(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},r.prototype.lttbDownSample=function(t,e){var n=yc(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},r.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},r.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new Ue(n,e,e&&e.ecModel)},r.prototype.diff=function(t){var e=this;return new Da(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(n){return Jp(t,n)},function(n){return Jp(e,n)})},r.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},r.prototype.setVisual=function(t,e){this._visual=this._visual||{},mc(t)?G(this._visual,t):this._visual[t]=e},r.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],a=n&&n[e];return a??this.getVisual(e)},r.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},r.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,a=n[t];a||(a=n[t]={});var i=a[e];return i==null&&(i=this.getVisual(e),U(i)?i=i.slice():mc(i)&&(i=G({},i)),a[e]=i),i},r.prototype.setItemVisual=function(t,e,n){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,mc(e)?G(a,e):a[e]=n},r.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},r.prototype.setLayout=function(t,e){mc(t)?G(this._layout,t):this._layout[t]=e},r.prototype.getLayout=function(t){return this._layout[t]},r.prototype.getItemLayout=function(t){return this._itemLayouts[t]},r.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?G(this._itemLayouts[t]||{},e):e},r.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},r.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;e2(n,this.dataType,t,e),this._graphicEls[t]=e},r.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},r.prototype.eachItemGraphicEl=function(t,e){M(this._graphicEls,function(n,a){n&&t&&t.call(e,n,a)})},r.prototype.cloneShallow=function(t){return t||(t=new r(this._schema?this._schema:hi(this.dimensions,this._getDimInfo,this),this.hostModel)),T1(t,this),t._store=this._store,t},r.prototype.wrapMethod=function(t,e){var n=this[t];ae(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var a=n.apply(this,arguments);return e.apply(this,[a].concat(I0(arguments)))})},r.internalField=function(){HS=function(t){var e=t._invertedIndicesMap;M(e,function(n,a){var i=t._dimInfos[a],o=i.ordinalMeta,s=t._store;if(o){n=e[a]=new yne(o.categories.length);for(var l=0;l<n.length;l++)n[l]=zS;for(var l=0;l<s.count();l++)n[s.get(i.storeDimIndex,l)]=l}})},_c=function(t,e,n){return Ct(t._getCategory(e,n),null)},Jp=function(t,e){var n=t._idList[e];return n==null&&t._idDimIdx!=null&&(n=_c(t,t._idDimIdx,e)),n==null&&(n=wne+e),n},gl=function(t){return U(t)||(t=t!=null?[t]:[]),t},yc=function(t){var e=new r(t._schema?t._schema:hi(t.dimensions,t._getDimInfo,t),t.hostModel);return T1(e,t),e},T1=function(t,e){M(xne.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,M(bne,function(n){t[n]=pe(e[n])}),t._calculationInfo=G({},e._calculationInfo)},D1=function(t,e){var n=t._nameList,a=t._idList,i=t._nameDimIdx,o=t._idDimIdx,s=n[e],l=a[e];if(s==null&&i!=null&&(n[e]=s=_c(t,i,e)),l==null&&o!=null&&(a[e]=l=_c(t,o,e)),l==null&&s!=null){var u=t._nameRepeatCount,c=u[s]=(u[s]||0)+1;l=s,c>1&&(l+="__ec__"+c),a[e]=l}}}(),r}();function wc(r,t){U2(r)||(r=j2(r)),t=t||{};var e=t.coordDimensions||[],n=t.dimensionsDefine||r.dimensionsDefine||[],a=ne(),i=[],o=Cne(r,e,n,t.dimensionsCount),s=t.canOmitUnusedDimensions&&RS(o),l=n===r.dimensionsDefine,u=l?OS(r):BS(n),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(r,o));for(var f=ne(c),h=new ob(o),p=0;p<h.length;p++)h[p]=-1;function v(T){var E=h[T];if(E<0){var A=n[T],k=oe(A)?A:{name:A},I=new Kp,L=k.name;L!=null&&u.get(L)!=null&&(I.name=I.displayName=L),k.type!=null&&(I.type=k.type),k.displayName!=null&&(I.displayName=k.displayName);var N=i.length;return h[T]=N,I.storeDimIndex=T,i.push(I),I}return i[E]}if(!s)for(var p=0;p<o;p++)v(p);f.each(function(T,E){var A=je(T).slice();if(A.length===1&&!K(A[0])&&A[0]<0){f.set(E,!1);return}var k=f.set(E,[]);M(A,function(I,L){var N=K(I)?u.get(I):I;N!=null&&N<o&&(k[L]=N,g(v(N),E,L))})});var m=0;M(e,function(T){var E,A,k,I;if(K(T))E=T,I={};else{I=T,E=I.name;var L=I.ordinalMeta;I.ordinalMeta=null,I=G({},I),I.ordinalMeta=L,A=I.dimsDef,k=I.otherDims,I.name=I.coordDim=I.coordDimIndex=I.dimsDef=I.otherDims=null}var N=f.get(E);if(N!==!1){if(N=je(N),!N.length)for(var P=0;P<(A&&A.length||1);P++){for(;m<o&&v(m).coordDim!=null;)m++;m<o&&N.push(m++)}M(N,function(V,O){var B=v(V);if(l&&I.type!=null&&(B.type=I.type),g(ue(B,I),E,O),B.name==null&&A){var R=A[O];!oe(R)&&(R={name:R}),B.name=B.displayName=R.name,B.defaultTooltip=R.defaultTooltip}k&&ue(B.otherDims,k)})}});function g(T,E,A){P2.get(E)!=null?T.otherDims[E]=A:(T.coordDim=E,T.coordDimIndex=A,a.set(E,!0))}var _=t.generateCoord,y=t.generateCoordCount,w=y!=null;y=_?y||1:0;var x=_||"value";function b(T){T.name==null&&(T.name=T.coordDim)}if(s)M(i,function(T){b(T)}),i.sort(function(T,E){return T.storeDimIndex-E.storeDimIndex});else for(var S=0;S<o;S++){var C=v(S),D=C.coordDim;D==null&&(C.coordDim=Ene(x,a,w),C.coordDimIndex=0,(!_||y<=0)&&(C.isExtraCoord=!0),y--),b(C),C.type==null&&(E5(r,S)===Ft.Must||C.isExtraCoord&&(C.otherDims.itemName!=null||C.otherDims.seriesName!=null))&&(C.type="ordinal")}return Sne(i),new PS({source:r,dimensions:i,fullDimensionCount:o,dimensionOmitted:s})}function Sne(r){for(var t=ne(),e=0;e<r.length;e++){var n=r[e],a=n.name,i=t.get(a)||0;i>0&&(n.name=a+(i-1)),i++,t.set(a,i)}}function Cne(r,t,e,n){var a=Math.max(r.dimensionsDetectedCount||1,t.length,e.length,n||0);return M(t,function(i){var o;oe(i)&&(o=i.dimsDef)&&(a=Math.max(a,o.length))}),a}function Ene(r,t,e){if(e||t.hasKey(r)){for(var n=0;t.hasKey(r+n);)n++;r+=n}return t.set(r,!0),r}var Tne=function(){function r(t){this.coordSysDims=[],this.axisMap=ne(),this.categoryAxisMap=ne(),this.coordSysName=t}return r}();function Dne(r){var t=r.get("coordinateSystem"),e=new Tne(t),n=Ane[t];if(n)return n(r,e,e.axisMap,e.categoryAxisMap),e}var Ane={cartesian2d:function(r,t,e,n){var a=r.getReferringComponents("xAxis",yt).models[0],i=r.getReferringComponents("yAxis",yt).models[0];if(process.env.NODE_ENV!=="production"){if(!a)throw new Error('xAxis "'+mt(r.get("xAxisIndex"),r.get("xAxisId"),0)+'" not found');if(!i)throw new Error('yAxis "'+mt(r.get("xAxisIndex"),r.get("yAxisId"),0)+'" not found')}t.coordSysDims=["x","y"],e.set("x",a),e.set("y",i),ml(a)&&(n.set("x",a),t.firstCategoryDimIndex=0),ml(i)&&(n.set("y",i),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(r,t,e,n){var a=r.getReferringComponents("singleAxis",yt).models[0];if(process.env.NODE_ENV!=="production"&&!a)throw new Error("singleAxis should be specified.");t.coordSysDims=["single"],e.set("single",a),ml(a)&&(n.set("single",a),t.firstCategoryDimIndex=0)},polar:function(r,t,e,n){var a=r.getReferringComponents("polar",yt).models[0],i=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");if(process.env.NODE_ENV!=="production"){if(!o)throw new Error("angleAxis option not found");if(!i)throw new Error("radiusAxis option not found")}t.coordSysDims=["radius","angle"],e.set("radius",i),e.set("angle",o),ml(i)&&(n.set("radius",i),t.firstCategoryDimIndex=0),ml(o)&&(n.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(r,t,e,n){t.coordSysDims=["lng","lat"]},parallel:function(r,t,e,n){var a=r.ecModel,i=a.getComponent("parallel",r.get("parallelIndex")),o=t.coordSysDims=i.dimensions.slice();M(i.parallelAxisIndex,function(s,l){var u=a.getComponent("parallelAxis",s),c=o[l];e.set(c,u),ml(u)&&(n.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=l))})}};function ml(r){return r.get("type")==="category"}function Mne(r,t,e){e=e||{};var n=e.byIndex,a=e.stackedCoordDimension,i,o,s;kne(t)?i=t:(o=t.schema,i=o.dimensions,s=t.store);var l=!!(r&&r.get("stack")),u,c,f,h;if(M(i,function(y,w){K(y)&&(i[w]=y={name:y}),l&&!y.isExtraCoord&&(!n&&!u&&y.ordinalMeta&&(u=y),!c&&y.type!=="ordinal"&&y.type!=="time"&&(!a||a===y.coordDim)&&(c=y))}),c&&!n&&!u&&(n=!0),c){f="__\0ecstackresult_"+r.id,h="__\0ecstackedover_"+r.id,u&&(u.createInvertedIndices=!0);var p=c.coordDim,v=c.type,m=0;M(i,function(y){y.coordDim===p&&m++});var g={name:f,coordDim:p,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},_={name:h,coordDim:h,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(s&&(g.storeDimIndex=s.ensureCalculationDimension(h,v),_.storeDimIndex=s.ensureCalculationDimension(f,v)),o.appendCalculationDimension(g),o.appendCalculationDimension(_)):(i.push(g),i.push(_))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:n,stackedOverDimension:h,stackResultDimension:f}}function kne(r){return!VS(r.schema)}function pi(r,t){return!!t&&t===r.getCalculationInfo("stackedDimension")}function FS(r,t){return pi(r,t)?r.getCalculationInfo("stackResultDimension"):t}function Lne(r,t){var e=r.get("coordinateSystem"),n=il.get(e),a;return t&&t.coordSysDims&&(a=Y(t.coordSysDims,function(i){var o={name:i},s=t.axisMap.get(i);if(s){var l=s.get("type");o.type=Zp(l)}return o})),a||(a=n&&(n.getDimensionsInfo?n.getDimensionsInfo():n.dimensions.slice())||["x","y"]),a}function Ine(r,t,e){var n,a;return e&&M(r,function(i,o){var s=i.coordDim,l=e.categoryAxisMap.get(s);l&&(n==null&&(n=o),i.ordinalMeta=l.getOrdinalMeta(),t&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(a=!0)}),!a&&n!=null&&(r[n].otherDims.itemName=0),n}function Aa(r,t,e){e=e||{};var n=t.getSourceManager(),a,i=!1;r?(i=!0,a=j2(r)):(a=n.getSource(),i=a.sourceFormat===jr);var o=Dne(t),s=Lne(t,o),l=e.useEncodeDefaulter,u=ae(l)?l:l?me(C5,s,t):null,c={coordDimensions:s,generateCoord:e.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},f=wc(a,c),h=Ine(f.dimensions,e.createInvertedIndices,o),p=i?null:n.getSharedDataStore(f),v=Mne(t,{schema:f,store:p}),m=new hr(f,t);m.setCalculationInfo(v);var g=h!=null&&Nne(a)?function(_,y,w,x){return x===h?w:this.defaultDimValueGetter(_,y,w,x)}:null;return m.hasItemOption=!1,m.initData(i?a:p,null,g),m}function Nne(r){if(r.sourceFormat===jr){var t=Pne(r.data||[]);return!U(zs(t))}}function Pne(r){for(var t=0;t<r.length&&r[t]==null;)t++;return r[t]}var Zn=function(){function r(t){this._setting=t||{},this._extent=[1/0,-1/0]}return r.prototype.getSetting=function(t){return this._setting[t]},r.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},r.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},r.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},r.prototype.isBlank=function(){return this._isBlank},r.prototype.setBlank=function(t){this._isBlank=t},r}();Wh(Zn);var Vne=0,A1=function(){function r(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++Vne}return r.createByAxisModel=function(t){var e=t.option,n=e.data,a=n&&Y(n,Bne);return new r({categories:a,needCollect:!a,deduplication:e.dedplication!==!1})},r.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},r.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!K(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var a=this._getOrCreateMap();return e=a.get(t),e==null&&(n?(e=this.categories.length,this.categories[e]=t,a.set(t,e)):e=NaN),e},r.prototype._getOrCreateMap=function(){return this._map||(this._map=ne(this.categories))},r}();function Bne(r){return oe(r)&&r.value!=null?r.value:r+""}function One(r){var t=Math.pow(10,Gh(Math.abs(r))),e=Math.abs(r/t);return e===0||e===1||e===2||e===3||e===5}function M1(r){return r.type==="interval"||r.type==="log"}function Rne(r,t,e,n){var a={},i=r[1]-r[0],o=a.interval=gw(i/t);e!=null&&o<e&&(o=a.interval=e),n!=null&&o>n&&(o=a.interval=n);var s=a.intervalPrecision=GS(o),l=a.niceTickExtent=[ut(Math.ceil(r[0]/o)*o,s),ut(Math.floor(r[1]/o)*o,s)];return zne(l,r),a}function k1(r){var t=Math.pow(10,Gh(r)),e=r/t;return e?e===2?e=3:e===3?e=5:e*=2:e=1,ut(e*t)}function GS(r){return zn(r)+2}function $S(r,t,e){r[t]=Math.max(Math.min(r[t],e[1]),e[0])}function zne(r,t){!isFinite(r[0])&&(r[0]=t[0]),!isFinite(r[1])&&(r[1]=t[1]),$S(r,0,t),$S(r,1,t),r[0]>r[1]&&(r[0]=r[1])}function Qp(r,t){return r>=t[0]&&r<=t[1]}function ed(r,t){return t[1]===t[0]?.5:(r-t[0])/(t[1]-t[0])}function td(r,t){return r*(t[1]-t[0])+t[0]}var rd=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;n.type="ordinal";var a=n.getSetting("ordinalMeta");return a||(a=new A1({})),U(a)&&(a=new A1({categories:Y(a,function(i){return oe(i)?i.value:i})})),n._ordinalMeta=a,n._extent=n.getSetting("extent")||[0,a.categories.length-1],n}return t.prototype.parse=function(e){return e==null?NaN:K(e)?this._ordinalMeta.getOrdinal(e):Math.round(e)},t.prototype.contain=function(e){return e=this.parse(e),Qp(e,this._extent)&&this._ordinalMeta.categories[e]!=null},t.prototype.normalize=function(e){return e=this._getTickNumber(this.parse(e)),ed(e,this._extent)},t.prototype.scale=function(e){return e=Math.round(td(e,this._extent)),this.getRawOrdinalNumber(e)},t.prototype.getTicks=function(){for(var e=[],n=this._extent,a=n[0];a<=n[1];)e.push({value:a}),a++;return e},t.prototype.getMinorTicks=function(e){},t.prototype.setSortInfo=function(e){if(e==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var n=e.ordinalNumbers,a=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],o=0,s=this._ordinalMeta.categories.length,l=Math.min(s,n.length);o<l;++o){var u=n[o];a[o]=u,i[u]=o}for(var c=0;o<s;++o){for(;i[c]!=null;)c++;a.push(c),i[c]=o}},t.prototype._getTickNumber=function(e){var n=this._ticksByOrdinalNumber;return n&&e>=0&&e<n.length?n[e]:e},t.prototype.getRawOrdinalNumber=function(e){var n=this._ordinalNumbersByTick;return n&&e>=0&&e<n.length?n[e]:e},t.prototype.getLabel=function(e){if(!this.isBlank()){var n=this.getRawOrdinalNumber(e.value),a=this._ordinalMeta.categories[n];return a==null?"":a+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(e,n){this.unionExtent(e.getApproximateExtent(n))},t.prototype.isInExtentRange=function(e){return e=this._getTickNumber(e),this._extent[0]<=e&&this._extent[1]>=e},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Zn);Zn.registerClass(rd);var Oo=ut,Ma=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return Qp(e,this._extent)},t.prototype.normalize=function(e){return ed(e,this._extent)},t.prototype.scale=function(e){return td(e,this._extent)},t.prototype.setExtent=function(e,n){var a=this._extent;isNaN(e)||(a[0]=parseFloat(e)),isNaN(n)||(a[1]=parseFloat(n))},t.prototype.unionExtent=function(e){var n=this._extent;e[0]<n[0]&&(n[0]=e[0]),e[1]>n[1]&&(n[1]=e[1]),this.setExtent(n[0],n[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(e){this._interval=e,this._niceExtent=this._extent.slice(),this._intervalPrecision=GS(e)},t.prototype.getTicks=function(e){var n=this._interval,a=this._extent,i=this._niceExtent,o=this._intervalPrecision,s=[];if(!n)return s;var l=1e4;a[0]<i[0]&&(e?s.push({value:Oo(i[0]-n,o)}):s.push({value:a[0]}));for(var u=i[0];u<=i[1]&&(s.push({value:u}),u=Oo(u+n,o),u!==s[s.length-1].value);)if(s.length>l)return[];var c=s.length?s[s.length-1].value:i[1];return a[1]>c&&(e?s.push({value:Oo(c+n,o)}):s.push({value:a[1]})),s},t.prototype.getMinorTicks=function(e){for(var n=this.getTicks(!0),a=[],i=this.getExtent(),o=1;o<n.length;o++){for(var s=n[o],l=n[o-1],u=0,c=[],f=s.value-l.value,h=f/e;u<e-1;){var p=Oo(l.value+(u+1)*h);p>i[0]&&p<i[1]&&c.push(p),u++}a.push(c)}return a},t.prototype.getLabel=function(e,n){if(e==null)return"";var a=n&&n.precision;a==null?a=zn(e.value)||0:a==="auto"&&(a=this._intervalPrecision);var i=Oo(e.value,a,!0);return v5(i)},t.prototype.calcNiceTicks=function(e,n,a){e=e||5;var i=this._extent,o=i[1]-i[0];if(isFinite(o)){o<0&&(o=-o,i.reverse());var s=Rne(i,e,n,a);this._intervalPrecision=s.intervalPrecision,this._interval=s.interval,this._niceExtent=s.niceTickExtent}},t.prototype.calcNiceExtent=function(e){var n=this._extent;if(n[0]===n[1])if(n[0]!==0){var a=Math.abs(n[0]);e.fixMax||(n[1]+=a/2),n[0]-=a/2}else n[1]=1;var i=n[1]-n[0];isFinite(i)||(n[0]=0,n[1]=1),this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval);var o=this._interval;e.fixMin||(n[0]=Oo(Math.floor(n[0]/o)*o)),e.fixMax||(n[1]=Oo(Math.ceil(n[1]/o)*o))},t.prototype.setNiceExtent=function(e,n){this._niceExtent=[e,n]},t.type="interval",t}(Zn);Zn.registerClass(Ma);var WS=typeof Float32Array<"u",Hne=WS?Float32Array:Array;function Kn(r){return U(r)?WS?new Float32Array(r):r:new Hne(r)}var L1="__ec_stack_";function US(r){return r.get("stack")||L1+r.seriesIndex}function I1(r){return r.dim+r.index}function Fne(r){var t=[],e=r.axis,n="axis0";if(e.type==="category"){for(var a=e.getBandWidth(),i=0;i<r.count;i++)t.push(ue({bandWidth:a,axisKey:n,stackId:L1+i},r));for(var o=XS(t),s=[],i=0;i<r.count;i++){var l=o[n][L1+i];l.offsetCenter=l.offset+l.width/2,s.push(l)}return s}}function YS(r,t){var e=[];return t.eachSeriesByType(r,function(n){KS(n)&&e.push(n)}),e}function Gne(r){var t={};M(r,function(l){var u=l.coordinateSystem,c=u.getBaseAxis();if(!(c.type!=="time"&&c.type!=="value"))for(var f=l.getData(),h=c.dim+"_"+c.index,p=f.getDimensionIndex(f.mapDimension(c.dim)),v=f.getStore(),m=0,g=v.count();m<g;++m){var _=v.get(p,m);t[h]?t[h].push(_):t[h]=[_]}});var e={};for(var n in t)if(t.hasOwnProperty(n)){var a=t[n];if(a){a.sort(function(l,u){return l-u});for(var i=null,o=1;o<a.length;++o){var s=a[o]-a[o-1];s>0&&(i=i===null?s:Math.min(i,s))}e[n]=i}}return e}function jS(r){var t=Gne(r),e=[];return M(r,function(n){var a=n.coordinateSystem,i=a.getBaseAxis(),o=i.getExtent(),s;if(i.type==="category")s=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var l=i.dim+"_"+i.index,u=t[l],c=Math.abs(o[1]-o[0]),f=i.scale.getExtent(),h=Math.abs(f[1]-f[0]);s=u?c/h*u:c}else{var p=n.getData();s=Math.abs(o[1]-o[0])/p.count()}var v=Z(n.get("barWidth"),s),m=Z(n.get("barMaxWidth"),s),g=Z(n.get("barMinWidth")||(JS(n)?.5:1),s),_=n.get("barGap"),y=n.get("barCategoryGap");e.push({bandWidth:s,barWidth:v,barMaxWidth:m,barMinWidth:g,barGap:_,barCategoryGap:y,axisKey:I1(i),stackId:US(n)})}),XS(e)}function XS(r){var t={};M(r,function(n,a){var i=n.axisKey,o=n.bandWidth,s=t[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},l=s.stacks;t[i]=s;var u=n.stackId;l[u]||s.autoWidthCount++,l[u]=l[u]||{width:0,maxWidth:0};var c=n.barWidth;c&&!l[u].width&&(l[u].width=c,c=Math.min(s.remainedWidth,c),s.remainedWidth-=c);var f=n.barMaxWidth;f&&(l[u].maxWidth=f);var h=n.barMinWidth;h&&(l[u].minWidth=h);var p=n.barGap;p!=null&&(s.gap=p);var v=n.barCategoryGap;v!=null&&(s.categoryGap=v)});var e={};return M(t,function(n,a){e[a]={};var i=n.stacks,o=n.bandWidth,s=n.categoryGap;if(s==null){var l=Me(i).length;s=Math.max(35-l*4,15)+"%"}var u=Z(s,o),c=Z(n.gap,1),f=n.remainedWidth,h=n.autoWidthCount,p=(f-u)/(h+(h-1)*c);p=Math.max(p,0),M(i,function(_){var y=_.maxWidth,w=_.minWidth;if(_.width){var x=_.width;y&&(x=Math.min(x,y)),w&&(x=Math.max(x,w)),_.width=x,f-=x+c*x,h--}else{var x=p;y&&y<x&&(x=Math.min(y,f)),w&&w>x&&(x=w),x!==p&&(_.width=x,f-=x+c*x,h--)}}),p=(f-u)/(h+(h-1)*c),p=Math.max(p,0);var v=0,m;M(i,function(_,y){_.width||(_.width=p),m=_,v+=_.width*(1+c)}),m&&(v-=m.width*c);var g=-v/2;M(i,function(_,y){e[a][y]=e[a][y]||{bandWidth:o,offset:g,width:_.width},g+=_.width*(1+c)})}),e}function $ne(r,t,e){if(r&&t){var n=r[I1(t)];return n}}function qS(r,t){var e=YS(r,t),n=jS(e);M(e,function(a){var i=a.getData(),o=a.coordinateSystem,s=o.getBaseAxis(),l=US(a),u=n[I1(s)][l],c=u.offset,f=u.width;i.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function ZS(r){return{seriesType:r,plan:ul(),reset:function(t){if(KS(t)){var e=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),i=n.getOtherAxis(a),o=e.getDimensionIndex(e.mapDimension(i.dim)),s=e.getDimensionIndex(e.mapDimension(a.dim)),l=t.get("showBackground",!0),u=e.mapDimension(i.dim),c=e.getCalculationInfo("stackResultDimension"),f=pi(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),h=i.isHorizontal(),p=Wne(a,i),v=JS(t),m=t.get("barMinHeight")||0,g=c&&e.getDimensionIndex(c),_=e.getLayout("size"),y=e.getLayout("offset");return{progress:function(w,x){for(var b=w.count,S=v&&Kn(b*3),C=v&&l&&Kn(b*3),D=v&&Kn(b),T=n.master.getRect(),E=h?T.width:T.height,A,k=x.getStore(),I=0;(A=w.next())!=null;){var L=k.get(f?g:o,A),N=k.get(s,A),P=p,V=void 0;f&&(V=+L-k.get(o,A));var O=void 0,B=void 0,R=void 0,z=void 0;if(h){var H=n.dataToPoint([L,N]);if(f){var $=n.dataToPoint([V,N]);P=$[0]}O=P,B=H[1]+y,R=H[0]-P,z=_,Math.abs(R)<m&&(R=(R<0?-1:1)*m)}else{var H=n.dataToPoint([N,L]);if(f){var $=n.dataToPoint([N,V]);P=$[1]}O=H[0]+y,B=P,R=_,z=H[1]-P,Math.abs(z)<m&&(z=(z<=0?-1:1)*m)}v?(S[I]=O,S[I+1]=B,S[I+2]=h?R:z,C&&(C[I]=h?T.x:O,C[I+1]=h?B:T.y,C[I+2]=E),D[A]=A):x.setItemLayout(A,{x:O,y:B,width:R,height:z}),I+=3}v&&x.setLayout({largePoints:S,largeDataIndices:D,largeBackgroundPoints:C,valueAxisHorizontal:h})}}}}}}function KS(r){return r.coordinateSystem&&r.coordinateSystem.type==="cartesian2d"}function JS(r){return r.pipelineContext&&r.pipelineContext.large}function Wne(r,t){var e=t.model.get("startValue");return e||(e=0),t.toGlobalCoord(t.dataToCoord(t.type==="log"?e>0?e:1:e))}var Une=function(r,t,e,n){for(;e<n;){var a=e+n>>>1;r[a][1]<t?e=a+1:n=a}return e},N1=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="time",n}return t.prototype.getLabel=function(e){var n=this.getSetting("useUTC");return xp(e.value,i5[bee(Qs(this._minLevelUnit))]||i5.second,n,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(e,n,a){var i=this.getSetting("useUTC"),o=this.getSetting("locale");return See(e,n,a,o,i)},t.prototype.getTicks=function(){var e=this._interval,n=this._extent,a=[];if(!e)return a;a.push({value:n[0],level:0});var i=this.getSetting("useUTC"),o=Jne(this._minLevelUnit,this._approxInterval,i,n);return a=a.concat(o),a.push({value:n[1],level:0}),a},t.prototype.calcNiceExtent=function(e){var n=this._extent;if(n[0]===n[1]&&(n[0]-=Yr,n[1]+=Yr),n[1]===-1/0&&n[0]===1/0){var a=new Date;n[1]=+new Date(a.getFullYear(),a.getMonth(),a.getDate()),n[0]=n[1]-Yr}this.calcNiceTicks(e.splitNumber,e.minInterval,e.maxInterval)},t.prototype.calcNiceTicks=function(e,n,a){e=e||10;var i=this._extent,o=i[1]-i[0];this._approxInterval=o/e,n!=null&&this._approxInterval<n&&(this._approxInterval=n),a!=null&&this._approxInterval>a&&(this._approxInterval=a);var s=nd.length,l=Math.min(Une(nd,this._approxInterval,0,s),s-1);this._interval=nd[l][1],this._minLevelUnit=nd[Math.max(l-1,0)][0]},t.prototype.parse=function(e){return Be(e)?e:+Hn(e)},t.prototype.contain=function(e){return Qp(this.parse(e),this._extent)},t.prototype.normalize=function(e){return ed(this.parse(e),this._extent)},t.prototype.scale=function(e){return td(e,this._extent)},t.type="time",t}(Ma),nd=[["second",D2],["minute",A2],["hour",Ku],["quarter-day",Ku*6],["half-day",Ku*12],["day",Yr*1.2],["half-week",Yr*3.5],["week",Yr*7],["month",Yr*31],["quarter",Yr*95],["half-year",a5/2],["year",a5]];function Yne(r,t,e,n){var a=Hn(t),i=Hn(e),o=function(v){return l5(a,v,n)===l5(i,v,n)},s=function(){return o("year")},l=function(){return s()&&o("month")},u=function(){return l()&&o("day")},c=function(){return u()&&o("hour")},f=function(){return c()&&o("minute")},h=function(){return f()&&o("second")},p=function(){return h()&&o("millisecond")};switch(r){case"year":return s();case"month":return l();case"day":return u();case"hour":return c();case"minute":return f();case"second":return h();case"millisecond":return p()}}function jne(r,t){return r/=Yr,r>16?16:r>7.5?7:r>3.5?4:r>1.5?2:1}function Xne(r){var t=30*Yr;return r/=t,r>6?6:r>3?3:r>2?2:1}function qne(r){return r/=Ku,r>12?12:r>6?6:r>3.5?4:r>2?2:1}function QS(r,t){return r/=t?A2:D2,r>30?30:r>20?20:r>15?15:r>10?10:r>5?5:r>2?2:1}function Zne(r){return gw(r)}function Kne(r,t,e){var n=new Date(r);switch(Qs(t)){case"year":case"month":n[u5(e)](0);case"day":n[c5(e)](1);case"hour":n[f5(e)](0);case"minute":n[h5(e)](0);case"second":n[p5(e)](0),n[d5(e)](0)}return n.getTime()}function Jne(r,t,e,n){var a=1e4,i=o5,o=0;function s(E,A,k,I,L,N,P){for(var V=new Date(A),O=A,B=V[I]();O<k&&O<=n[1];)P.push({value:O}),B+=E,V[L](B),O=V.getTime();P.push({value:O,notAdd:!0})}function l(E,A,k){var I=[],L=!A.length;if(!Yne(Qs(E),n[0],n[1],e)){L&&(A=[{value:Kne(new Date(n[0]),E,e)},{value:n[1]}]);for(var N=0;N<A.length-1;N++){var P=A[N].value,V=A[N+1].value;if(P!==V){var O=void 0,B=void 0,R=void 0,z=!1;switch(E){case"year":O=Math.max(1,Math.round(t/Yr/365)),B=k2(e),R=Cee(e);break;case"half-year":case"quarter":case"month":O=Xne(t),B=el(e),R=u5(e);break;case"week":case"half-week":case"day":O=jne(t),B=bp(e),R=c5(e),z=!0;break;case"half-day":case"quarter-day":case"hour":O=qne(t),B=Qu(e),R=f5(e);break;case"minute":O=QS(t,!0),B=Sp(e),R=h5(e);break;case"second":O=QS(t,!1),B=Cp(e),R=p5(e);break;case"millisecond":O=Zne(t),B=Ep(e),R=d5(e);break}s(O,P,V,B,R,z,I),E==="year"&&k.length>1&&N===0&&k.unshift({value:k[0].value-O})}}for(var N=0;N<I.length;N++)k.push(I[N]);return I}}for(var u=[],c=[],f=0,h=0,p=0;p<i.length&&o++<a;++p){var v=Qs(i[p]);if(xee(i[p])){l(i[p],u[u.length-1]||[],c);var m=i[p+1]?Qs(i[p+1]):null;if(v!==m){if(c.length){h=f,c.sort(function(E,A){return E.value-A.value});for(var g=[],_=0;_<c.length;++_){var y=c[_].value;(_===0||c[_-1].value!==y)&&(g.push(c[_]),y>=n[0]&&y<=n[1]&&f++)}var w=(n[1]-n[0])/t;if(f>w*1.5&&h>w/1.5||(u.push(g),f>w||r===i[p]))break}c=[]}}}process.env.NODE_ENV!=="production"&&o>=a&&it("Exceed safe limit.");for(var x=Fe(Y(u,function(E){return Fe(E,function(A){return A.value>=n[0]&&A.value<=n[1]&&!A.notAdd})}),function(E){return E.length>0}),b=[],S=x.length-1,p=0;p<x.length;++p)for(var C=x[p],D=0;D<C.length;++D)b.push({value:C[D].value,level:S-p});b.sort(function(E,A){return E.value-A.value});for(var T=[],p=0;p<b.length;++p)(p===0||b[p].value!==b[p-1].value)&&T.push(b[p]);return T}Zn.registerClass(N1);var e9=Zn.prototype,xc=Ma.prototype,Qne=ut,eae=Math.floor,tae=Math.ceil,ad=Math.pow,Sn=Math.log,P1=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new Ma,e._interval=0,e}return t.prototype.getTicks=function(e){var n=this._originalScale,a=this._extent,i=n.getExtent(),o=xc.getTicks.call(this,e);return Y(o,function(s){var l=s.value,u=ut(ad(this.base,l));return u=l===a[0]&&this._fixMin?id(u,i[0]):u,u=l===a[1]&&this._fixMax?id(u,i[1]):u,{value:u}},this)},t.prototype.setExtent=function(e,n){var a=Sn(this.base);e=Sn(Math.max(0,e))/a,n=Sn(Math.max(0,n))/a,xc.setExtent.call(this,e,n)},t.prototype.getExtent=function(){var e=this.base,n=e9.getExtent.call(this);n[0]=ad(e,n[0]),n[1]=ad(e,n[1]);var a=this._originalScale,i=a.getExtent();return this._fixMin&&(n[0]=id(n[0],i[0])),this._fixMax&&(n[1]=id(n[1],i[1])),n},t.prototype.unionExtent=function(e){this._originalScale.unionExtent(e);var n=this.base;e[0]=Sn(e[0])/Sn(n),e[1]=Sn(e[1])/Sn(n),e9.unionExtent.call(this,e)},t.prototype.unionExtentFromData=function(e,n){this.unionExtent(e.getApproximateExtent(n))},t.prototype.calcNiceTicks=function(e){e=e||10;var n=this._extent,a=n[1]-n[0];if(!(a===1/0||a<=0)){var i=JK(a),o=e/a*i;for(o<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var s=[ut(tae(n[0]/i)*i),ut(eae(n[1]/i)*i)];this._interval=i,this._niceExtent=s}},t.prototype.calcNiceExtent=function(e){xc.calcNiceExtent.call(this,e),this._fixMin=e.fixMin,this._fixMax=e.fixMax},t.prototype.parse=function(e){return e},t.prototype.contain=function(e){return e=Sn(e)/Sn(this.base),Qp(e,this._extent)},t.prototype.normalize=function(e){return e=Sn(e)/Sn(this.base),ed(e,this._extent)},t.prototype.scale=function(e){return e=td(e,this._extent),ad(this.base,e)},t.type="log",t}(Zn),t9=P1.prototype;t9.getMinorTicks=xc.getMinorTicks,t9.getLabel=xc.getLabel;function id(r,t){return Qne(r,zn(t))}Zn.registerClass(P1);var rae=function(){function r(t,e,n){this._prepareParams(t,e,n)}return r.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var a=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.type==="interval"&&e.getNeedCrossZero&&e.getNeedCrossZero();var i=e.get("min",!0);i==null&&(i=e.get("startValue",!0));var o=this._modelMinRaw=i;ae(o)?this._modelMinNum=od(t,o({min:n[0],max:n[1]})):o!=="dataMin"&&(this._modelMinNum=od(t,o));var s=this._modelMaxRaw=e.get("max",!0);if(ae(s)?this._modelMaxNum=od(t,s({min:n[0],max:n[1]})):s!=="dataMax"&&(this._modelMaxNum=od(t,s)),a)this._axisDataLen=e.getCategories().length;else{var l=e.get("boundaryGap"),u=U(l)?l:[l||0,l||0];typeof u[0]=="boolean"||typeof u[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=[gn(u[0],1),gn(u[1],1)]}},r.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,a=this._axisDataLen,i=this._boundaryGapInner,o=t?null:n-e||Math.abs(e),s=this._modelMinRaw==="dataMin"?e:this._modelMinNum,l=this._modelMaxRaw==="dataMax"?n:this._modelMaxNum,u=s!=null,c=l!=null;s==null&&(s=t?a?0:NaN:e-i[0]*o),l==null&&(l=t?a?a-1:NaN:n+i[1]*o),(s==null||!isFinite(s))&&(s=NaN),(l==null||!isFinite(l))&&(l=NaN);var f=Ui(s)||Ui(l)||t&&!a;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!c&&(l=0));var h=this._determinedMin,p=this._determinedMax;return h!=null&&(s=h,u=!0),p!=null&&(l=p,c=!0),{min:s,max:l,minFixed:u,maxFixed:c,isBlank:f}},r.prototype.modifyDataMinMax=function(t,e){process.env.NODE_ENV!=="production"&&se(!this.frozen),this[aae[t]]=e},r.prototype.setDeterminedMinMax=function(t,e){var n=nae[t];process.env.NODE_ENV!=="production"&&se(!this.frozen&&this[n]==null),this[n]=e},r.prototype.freeze=function(){this.frozen=!0},r}(),nae={min:"_determinedMin",max:"_determinedMax"},aae={min:"_dataMin",max:"_dataMax"};function r9(r,t,e){var n=r.rawExtentInfo;return n||(n=new rae(r,t,e),r.rawExtentInfo=n,n)}function od(r,t){return t==null?null:Ui(t)?NaN:r.parse(t)}function n9(r,t){var e=r.type,n=r9(r,t,r.getExtent()).calculate();r.setBlank(n.isBlank);var a=n.min,i=n.max,o=t.ecModel;if(o&&e==="time"){var s=YS("bar",o),l=!1;if(M(s,function(f){l=l||f.getBaseAxis()===t.axis}),l){var u=jS(s),c=iae(a,i,t,u);a=c.min,i=c.max}}return{extent:[a,i],fixMin:n.minFixed,fixMax:n.maxFixed}}function iae(r,t,e,n){var a=e.axis.getExtent(),i=Math.abs(a[1]-a[0]),o=$ne(n,e.axis);if(o===void 0)return{min:r,max:t};var s=1/0;M(o,function(p){s=Math.min(p.offset,s)});var l=-1/0;M(o,function(p){l=Math.max(p.offset+p.width,l)}),s=Math.abs(s),l=Math.abs(l);var u=s+l,c=t-r,f=1-(s+l)/i,h=c/f-c;return t+=h*(l/u),r-=h*(s/u),{min:r,max:t}}function _l(r,t){var e=t,n=n9(r,e),a=n.extent,i=e.get("splitNumber");r instanceof P1&&(r.base=e.get("logBase"));var o=r.type,s=e.get("interval"),l=o==="interval"||o==="time";r.setExtent(a[0],a[1]),r.calcNiceExtent({splitNumber:i,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:l?e.get("minInterval"):null,maxInterval:l?e.get("maxInterval"):null}),s!=null&&r.setInterval&&r.setInterval(s)}function sd(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new rd({ordinalMeta:r.getOrdinalMeta?r.getOrdinalMeta():r.getCategories(),extent:[1/0,-1/0]});case"time":return new N1({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new(Zn.getClass(t)||Ma)}}function oae(r){var t=r.scale.getExtent(),e=t[0],n=t[1];return!(e>0&&n>0||e<0&&n<0)}function yl(r){var t=r.getLabelModel().get("formatter"),e=r.type==="category"?r.scale.getExtent()[0]:null;return r.scale.type==="time"?function(n){return function(a,i){return r.scale.getFormattedLabel(a,i,n)}}(t):K(t)?function(n){return function(a){var i=r.scale.getLabel(a),o=n.replace("{value}",i??"");return o}}(t):ae(t)?function(n){return function(a,i){return e!=null&&(i=a.value-e),n(V1(r,a),i,a.level!=null?{level:a.level}:null)}}(t):function(n){return r.scale.getLabel(n)}}function V1(r,t){return r.type==="category"?r.scale.getLabel(t):t.value}function sae(r){var t=r.model,e=r.scale;if(!(!t.get(["axisLabel","show"])||e.isBlank())){var n,a,i=e.getExtent();e instanceof rd?a=e.count():(n=e.getTicks(),a=n.length);var o=r.getLabelModel(),s=yl(r),l,u=1;a>40&&(u=Math.ceil(a/40));for(var c=0;c<a;c+=u){var f=n?n[c]:{value:i[0]+c},h=s(f,c),p=o.getTextRect(h),v=lae(p,o.get("rotate")||0);l?l.union(v):l=v}return l}}function lae(r,t){var e=t*Math.PI/180,n=r.width,a=r.height,i=n*Math.abs(Math.cos(e))+Math.abs(a*Math.sin(e)),o=n*Math.abs(Math.sin(e))+Math.abs(a*Math.cos(e)),s=new we(r.x,r.y,i,o);return s}function B1(r){var t=r.get("interval");return t??"auto"}function a9(r){return r.type==="category"&&B1(r.getLabelModel())===0}function ld(r,t){var e={};return M(r.mapDimensionsAll(t),function(n){e[FS(r,n)]=!0}),Me(e)}function uae(r,t,e){t&&M(ld(t,e),function(n){var a=t.getApproximateExtent(n);a[0]<r[0]&&(r[0]=a[0]),a[1]>r[1]&&(r[1]=a[1])})}var bc=function(){function r(){}return r.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},r.prototype.getCoordSysModel=function(){},r}(),cae=1e-8;function i9(r,t){return Math.abs(r-t)<cae}function Ro(r,t,e){var n=0,a=r[0];if(!a)return!1;for(var i=1;i<r.length;i++){var o=r[i];n+=wa(a[0],a[1],o[0],o[1],t,e),a=o}var s=r[0];return(!i9(a[0],s[0])||!i9(a[1],s[1]))&&(n+=wa(a[0],a[1],s[0],s[1],t,e)),n!==0}var fae=[];function O1(r,t){for(var e=0;e<r.length;e++)Ot(r[e],r[e],t)}function o9(r,t,e,n){for(var a=0;a<r.length;a++){var i=r[a];n&&(i=n.project(i)),i&&isFinite(i[0])&&isFinite(i[1])&&(Ya(t,t,i),ja(e,e,i))}}function hae(r){for(var t=0,e=0,n=0,a=r.length,i=r[a-1][0],o=r[a-1][1],s=0;s<a;s++){var l=r[s][0],u=r[s][1],c=i*u-l*o;t+=c,e+=(i+l)*c,n+=(o+u)*c,i=l,o=u}return t?[e/t/3,n/t/3,t]:[r[0][0]||0,r[0][1]||0]}var s9=function(){function r(t){this.name=t}return r.prototype.setCenter=function(t){this._center=t},r.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},r}(),l9=function(){function r(t,e){this.type="polygon",this.exterior=t,this.interiors=e}return r}(),u9=function(){function r(t){this.type="linestring",this.points=t}return r}(),c9=function(r){F(t,r);function t(e,n,a){var i=r.call(this,e)||this;return i.type="geoJSON",i.geometries=n,i._center=a&&[a[0],a[1]],i}return t.prototype.calcCenter=function(){for(var e=this.geometries,n,a=0,i=0;i<e.length;i++){var o=e[i],s=o.exterior,l=s&&s.length;l>a&&(n=o,a=l)}if(n)return hae(n.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(e){var n=this._rect;if(n&&!e)return n;var a=[1/0,1/0],i=[-1/0,-1/0],o=this.geometries;return M(o,function(s){s.type==="polygon"?o9(s.exterior,a,i,e):M(s.points,function(l){o9(l,a,i,e)})}),isFinite(a[0])&&isFinite(a[1])&&isFinite(i[0])&&isFinite(i[1])||(a[0]=a[1]=i[0]=i[1]=0),n=new we(a[0],a[1],i[0]-a[0],i[1]-a[1]),e||(this._rect=n),n},t.prototype.contain=function(e){var n=this.getBoundingRect(),a=this.geometries;if(!n.contain(e[0],e[1]))return!1;e:for(var i=0,o=a.length;i<o;i++){var s=a[i];if(s.type==="polygon"){var l=s.exterior,u=s.interiors;if(Ro(l,e[0],e[1])){for(var c=0;c<(u?u.length:0);c++)if(Ro(u[c],e[0],e[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(e,n,a,i){var o=this.getBoundingRect(),s=o.width/o.height;a?i||(i=a/s):a=s*i;for(var l=new we(e,n,a,i),u=o.calculateTransform(l),c=this.geometries,f=0;f<c.length;f++){var h=c[f];h.type==="polygon"?(O1(h.exterior,u),M(h.interiors,function(p){O1(p,u)})):M(h.points,function(p){O1(p,u)})}o=this._rect,o.copy(l),this._center=[o.x+o.width/2,o.y+o.height/2]},t.prototype.cloneShallow=function(e){e==null&&(e=this.name);var n=new t(e,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},t}(s9),pae=function(r){F(t,r);function t(e,n){var a=r.call(this,e)||this;return a.type="geoSVG",a._elOnlyForCalculate=n,a}return t.prototype.calcCenter=function(){for(var e=this._elOnlyForCalculate,n=e.getBoundingRect(),a=[n.x+n.width/2,n.y+n.height/2],i=mh(fae),o=e;o&&!o.isGeoSVGGraphicRoot;)da(i,o.getLocalTransform(),i),o=o.parent;return Is(i,i),Ot(a,a,i),a},t}(s9);function dae(r){if(!r.UTF8Encoding)return r;var t=r,e=t.UTF8Scale;e==null&&(e=1024);var n=t.features;return M(n,function(a){var i=a.geometry,o=i.encodeOffsets,s=i.coordinates;if(o)switch(i.type){case"LineString":i.coordinates=f9(s,o,e);break;case"Polygon":R1(s,o,e);break;case"MultiLineString":R1(s,o,e);break;case"MultiPolygon":M(s,function(l,u){return R1(l,o[u],e)})}}),t.UTF8Encoding=!1,t}function R1(r,t,e){for(var n=0;n<r.length;n++)r[n]=f9(r[n],t[n],e)}function f9(r,t,e){for(var n=[],a=t[0],i=t[1],o=0;o<r.length;o+=2){var s=r.charCodeAt(o)-64,l=r.charCodeAt(o+1)-64;s=s>>1^-(s&1),l=l>>1^-(l&1),s+=a,l+=i,a=s,i=l,n.push([s/e,l/e])}return n}function vae(r,t){return r=dae(r),Y(Fe(r.features,function(e){return e.geometry&&e.properties&&e.geometry.coordinates.length>0}),function(e){var n=e.properties,a=e.geometry,i=[];switch(a.type){case"Polygon":var o=a.coordinates;i.push(new l9(o[0],o.slice(1)));break;case"MultiPolygon":M(a.coordinates,function(l){l[0]&&i.push(new l9(l[0],l.slice(1)))});break;case"LineString":i.push(new u9([a.coordinates]));break;case"MultiLineString":i.push(new u9(a.coordinates))}var s=new c9(n[t||"name"],i,n.cp);return s.properties=n,s})}var Sc=Ne();function h9(r,t){var e=Y(t,function(n){return r.scale.parse(n)});return r.type==="time"&&e.length>0&&(e.sort(),e.unshift(e[0]),e.push(e[e.length-1])),e}function gae(r){var t=r.getLabelModel().get("customValues");if(t){var e=yl(r),n=r.scale.getExtent(),a=h9(r,t),i=Fe(a,function(o){return o>=n[0]&&o<=n[1]});return{labels:Y(i,function(o){var s={value:o};return{formattedLabel:e(s),rawLabel:r.scale.getLabel(s),tickValue:o}})}}return r.type==="category"?_ae(r):wae(r)}function mae(r,t){var e=r.getTickModel().get("customValues");if(e){var n=r.scale.getExtent(),a=h9(r,e);return{ticks:Fe(a,function(i){return i>=n[0]&&i<=n[1]})}}return r.type==="category"?yae(r,t):{ticks:Y(r.scale.getTicks(),function(i){return i.value})}}function _ae(r){var t=r.getLabelModel(),e=p9(r,t);return!t.get("show")||r.scale.isBlank()?{labels:[],labelCategoryInterval:e.labelCategoryInterval}:e}function p9(r,t){var e=d9(r,"labels"),n=B1(t),a=v9(e,n);if(a)return a;var i,o;return ae(n)?i=_9(r,n):(o=n==="auto"?xae(r):n,i=m9(r,o)),g9(e,n,{labels:i,labelCategoryInterval:o})}function yae(r,t){var e=d9(r,"ticks"),n=B1(t),a=v9(e,n);if(a)return a;var i,o;if((!t.get("show")||r.scale.isBlank())&&(i=[]),ae(n))i=_9(r,n,!0);else if(n==="auto"){var s=p9(r,r.getLabelModel());o=s.labelCategoryInterval,i=Y(s.labels,function(l){return l.tickValue})}else o=n,i=m9(r,o,!0);return g9(e,n,{ticks:i,tickCategoryInterval:o})}function wae(r){var t=r.scale.getTicks(),e=yl(r);return{labels:Y(t,function(n,a){return{level:n.level,formattedLabel:e(n,a),rawLabel:r.scale.getLabel(n),tickValue:n.value}})}}function d9(r,t){return Sc(r)[t]||(Sc(r)[t]=[])}function v9(r,t){for(var e=0;e<r.length;e++)if(r[e].key===t)return r[e].value}function g9(r,t,e){return r.push({key:t,value:e}),e}function xae(r){var t=Sc(r).autoInterval;return t??(Sc(r).autoInterval=r.calculateCategoryInterval())}function bae(r){var t=Sae(r),e=yl(r),n=(t.axisRotate-t.labelRotate)/180*Math.PI,a=r.scale,i=a.getExtent(),o=a.count();if(i[1]-i[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var l=i[0],u=r.dataToCoord(l+1)-r.dataToCoord(l),c=Math.abs(u*Math.cos(n)),f=Math.abs(u*Math.sin(n)),h=0,p=0;l<=i[1];l+=s){var v=0,m=0,g=Au(e({value:l}),t.font,"center","top");v=g.width*1.3,m=g.height*1.3,h=Math.max(h,v,7),p=Math.max(p,m,7)}var _=h/c,y=p/f;isNaN(_)&&(_=1/0),isNaN(y)&&(y=1/0);var w=Math.max(0,Math.floor(Math.min(_,y))),x=Sc(r.model),b=r.getExtent(),S=x.lastAutoInterval,C=x.lastTickCount;return S!=null&&C!=null&&Math.abs(S-w)<=1&&Math.abs(C-o)<=1&&S>w&&x.axisExtent0===b[0]&&x.axisExtent1===b[1]?w=S:(x.lastTickCount=o,x.lastAutoInterval=w,x.axisExtent0=b[0],x.axisExtent1=b[1]),w}function Sae(r){var t=r.getLabelModel();return{axisRotate:r.getRotate?r.getRotate():r.isHorizontal&&!r.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function m9(r,t,e){var n=yl(r),a=r.scale,i=a.getExtent(),o=r.getLabelModel(),s=[],l=Math.max((t||0)+1,1),u=i[0],c=a.count();u!==0&&l>1&&c/l>2&&(u=Math.round(Math.ceil(u/l)*l));var f=a9(r),h=o.get("showMinLabel")||f,p=o.get("showMaxLabel")||f;h&&u!==i[0]&&m(i[0]);for(var v=u;v<=i[1];v+=l)m(v);p&&v-l!==i[1]&&m(i[1]);function m(g){var _={value:g};s.push(e?g:{formattedLabel:n(_),rawLabel:a.getLabel(_),tickValue:g})}return s}function _9(r,t,e){var n=r.scale,a=yl(r),i=[];return M(n.getTicks(),function(o){var s=n.getLabel(o),l=o.value;t(o.value,s)&&i.push(e?l:{formattedLabel:a(o),rawLabel:s,tickValue:l})}),i}var y9=[0,1],Cn=function(){function r(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return r.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),a=Math.max(e[0],e[1]);return t>=n&&t<=a},r.prototype.containData=function(t){return this.scale.contain(t)},r.prototype.getExtent=function(){return this._extent.slice()},r.prototype.getPixelPrecision=function(t){return pw(t||this.scale.getExtent(),this._extent)},r.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},r.prototype.dataToCoord=function(t,e){var n=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&a.type==="ordinal"&&(n=n.slice(),w9(n,a.count())),We(t,y9,n,e)},r.prototype.coordToData=function(t,e){var n=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(n=n.slice(),w9(n,a.count()));var i=We(t,n,y9,e);return this.scale.scale(i)},r.prototype.pointToData=function(t,e){},r.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=mae(this,e),a=n.ticks,i=Y(a,function(s){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(s):s),tickValue:s}},this),o=e.get("alignWithLabel");return Cae(this,i,o,t.clamp),i},r.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),a=Y(n,function(i){return Y(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return a},r.prototype.getViewLabels=function(){return gae(this).labels},r.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},r.prototype.getTickModel=function(){return this.model.getModel("axisTick")},r.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);n===0&&(n=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/n},r.prototype.calculateCategoryInterval=function(){return bae(this)},r}();function w9(r,t){var e=r[1]-r[0],n=t,a=e/n/2;r[0]+=a,r[1]-=a}function Cae(r,t,e,n){var a=t.length;if(!r.onBand||e||!a)return;var i=r.getExtent(),o,s;if(a===1)t[0].coord=i[0],o=t[1]={coord:i[1],tickValue:t[0].tickValue};else{var l=t[a-1].tickValue-t[0].tickValue,u=(t[a-1].coord-t[0].coord)/l;M(t,function(p){p.coord-=u/2});var c=r.scale.getExtent();s=1+c[1]-t[a-1].tickValue,o={coord:t[a-1].coord+u*s,tickValue:c[1]+1},t.push(o)}var f=i[0]>i[1];h(t[0].coord,i[0])&&(n?t[0].coord=i[0]:t.shift()),n&&h(i[0],t[0].coord)&&t.unshift({coord:i[0]}),h(i[1],o.coord)&&(n?o.coord=i[1]:t.pop()),n&&h(o.coord,i[1])&&t.push({coord:i[1]});function h(p,v){return p=ut(p),v=ut(v),f?p>v:p<v}}var Cc=Math.PI*2,zo=Un.CMD,Eae=["top","right","bottom","left"];function Tae(r,t,e,n,a){var i=e.width,o=e.height;switch(r){case"top":n.set(e.x+i/2,e.y-t),a.set(0,-1);break;case"bottom":n.set(e.x+i/2,e.y+o+t),a.set(0,1);break;case"left":n.set(e.x-t,e.y+o/2),a.set(-1,0);break;case"right":n.set(e.x+i+t,e.y+o/2),a.set(1,0);break}}function Dae(r,t,e,n,a,i,o,s,l){o-=r,s-=t;var u=Math.sqrt(o*o+s*s);o/=u,s/=u;var c=o*e+r,f=s*e+t;if(Math.abs(n-a)%Cc<1e-4)return l[0]=c,l[1]=f,u-e;if(i){var h=n;n=kr(a),a=kr(h)}else n=kr(n),a=kr(a);n>a&&(a+=Cc);var p=Math.atan2(s,o);if(p<0&&(p+=Cc),p>=n&&p<=a||p+Cc>=n&&p+Cc<=a)return l[0]=c,l[1]=f,u-e;var v=e*Math.cos(n)+r,m=e*Math.sin(n)+t,g=e*Math.cos(a)+r,_=e*Math.sin(a)+t,y=(v-o)*(v-o)+(m-s)*(m-s),w=(g-o)*(g-o)+(_-s)*(_-s);return y<w?(l[0]=v,l[1]=m,Math.sqrt(y)):(l[0]=g,l[1]=_,Math.sqrt(w))}function ud(r,t,e,n,a,i,o,s){var l=a-r,u=i-t,c=e-r,f=n-t,h=Math.sqrt(c*c+f*f);c/=h,f/=h;var p=l*c+u*f,v=p/h;s&&(v=Math.min(Math.max(v,0),1)),v*=h;var m=o[0]=r+v*c,g=o[1]=t+v*f;return Math.sqrt((m-a)*(m-a)+(g-i)*(g-i))}function x9(r,t,e,n,a,i,o){e<0&&(r=r+e,e=-e),n<0&&(t=t+n,n=-n);var s=r+e,l=t+n,u=o[0]=Math.min(Math.max(a,r),s),c=o[1]=Math.min(Math.max(i,t),l);return Math.sqrt((u-a)*(u-a)+(c-i)*(c-i))}var En=[];function Aae(r,t,e){var n=x9(t.x,t.y,t.width,t.height,r.x,r.y,En);return e.set(En[0],En[1]),n}function Mae(r,t,e){for(var n=0,a=0,i=0,o=0,s,l,u=1/0,c=t.data,f=r.x,h=r.y,p=0;p<c.length;){var v=c[p++];p===1&&(n=c[p],a=c[p+1],i=n,o=a);var m=u;switch(v){case zo.M:i=c[p++],o=c[p++],n=i,a=o;break;case zo.L:m=ud(n,a,c[p],c[p+1],f,h,En,!0),n=c[p++],a=c[p++];break;case zo.C:m=O8(n,a,c[p++],c[p++],c[p++],c[p++],c[p],c[p+1],f,h,En),n=c[p++],a=c[p++];break;case zo.Q:m=z8(n,a,c[p++],c[p++],c[p],c[p+1],f,h,En),n=c[p++],a=c[p++];break;case zo.A:var g=c[p++],_=c[p++],y=c[p++],w=c[p++],x=c[p++],b=c[p++];p+=1;var S=!!(1-c[p++]);s=Math.cos(x)*y+g,l=Math.sin(x)*w+_,p<=1&&(i=s,o=l);var C=(f-g)*w/y+g;m=Dae(g,_,w,x,x+b,S,C,h,En),n=Math.cos(x+b)*y+g,a=Math.sin(x+b)*w+_;break;case zo.R:i=n=c[p++],o=a=c[p++];var D=c[p++],T=c[p++];m=x9(i,o,D,T,f,h,En);break;case zo.Z:m=ud(n,a,i,o,f,h,En,!0),n=i,a=o;break}m<u&&(u=m,e.set(En[0],En[1]))}return u}var Tn=new ye,Je=new ye,ht=new ye,Jn=new ye,Qn=new ye;function b9(r,t){if(r){var e=r.getTextGuideLine(),n=r.getTextContent();if(n&&e){var a=r.textGuideLineConfig||{},i=[[0,0],[0,0],[0,0]],o=a.candidates||Eae,s=n.getBoundingRect().clone();s.applyTransform(n.getComputedTransform());var l=1/0,u=a.anchor,c=r.getComputedTransform(),f=c&&Is([],c),h=t.get("length2")||0;u&&ht.copy(u);for(var p=0;p<o.length;p++){var v=o[p];Tae(v,0,s,Tn,Jn),ye.scaleAndAdd(Je,Tn,Jn,h),Je.transform(f);var m=r.getBoundingRect(),g=u?u.distance(Je):r instanceof Te?Mae(Je,r.path,ht):Aae(Je,m,ht);g<l&&(l=g,Je.transform(c),ht.transform(c),ht.toArray(i[0]),Je.toArray(i[1]),Tn.toArray(i[2]))}S9(i,t.get("minTurnAngle")),e.setShape({points:i})}}}var cd=[],pr=new ye;function S9(r,t){if(t<=180&&t>0){t=t/180*Math.PI,Tn.fromArray(r[0]),Je.fromArray(r[1]),ht.fromArray(r[2]),ye.sub(Jn,Tn,Je),ye.sub(Qn,ht,Je);var e=Jn.len(),n=Qn.len();if(!(e<.001||n<.001)){Jn.scale(1/e),Qn.scale(1/n);var a=Jn.dot(Qn),i=Math.cos(t);if(i<a){var o=ud(Je.x,Je.y,ht.x,ht.y,Tn.x,Tn.y,cd,!1);pr.fromArray(cd),pr.scaleAndAdd(Qn,o/Math.tan(Math.PI-t));var s=ht.x!==Je.x?(pr.x-Je.x)/(ht.x-Je.x):(pr.y-Je.y)/(ht.y-Je.y);if(isNaN(s))return;s<0?ye.copy(pr,Je):s>1&&ye.copy(pr,ht),pr.toArray(r[1])}}}}function kae(r,t,e){if(e<=180&&e>0){e=e/180*Math.PI,Tn.fromArray(r[0]),Je.fromArray(r[1]),ht.fromArray(r[2]),ye.sub(Jn,Je,Tn),ye.sub(Qn,ht,Je);var n=Jn.len(),a=Qn.len();if(!(n<.001||a<.001)){Jn.scale(1/n),Qn.scale(1/a);var i=Jn.dot(t),o=Math.cos(e);if(i<o){var s=ud(Je.x,Je.y,ht.x,ht.y,Tn.x,Tn.y,cd,!1);pr.fromArray(cd);var l=Math.PI/2,u=Math.acos(Qn.dot(t)),c=l+u-e;if(c>=l)ye.copy(pr,ht);else{pr.scaleAndAdd(Qn,s/Math.tan(Math.PI/2-c));var f=ht.x!==Je.x?(pr.x-Je.x)/(ht.x-Je.x):(pr.y-Je.y)/(ht.y-Je.y);if(isNaN(f))return;f<0?ye.copy(pr,Je):f>1&&ye.copy(pr,ht)}pr.toArray(r[1])}}}}function z1(r,t,e,n){var a=e==="normal",i=a?r:r.ensureState(e);i.ignore=t;var o=n.get("smooth");o&&o===!0&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var s=n.getModel("lineStyle").getLineStyle();a?r.useStyle(s):i.style=s}function Lae(r,t){var e=t.smooth,n=t.points;if(n)if(r.moveTo(n[0][0],n[0][1]),e>0&&n.length>=3){var a=Ua(n[0],n[1]),i=Ua(n[1],n[2]);if(!a||!i){r.lineTo(n[1][0],n[1][1]),r.lineTo(n[2][0],n[2][1]);return}var o=Math.min(a,i)*e,s=gh([],n[1],n[0],o/a),l=gh([],n[1],n[2],o/i),u=gh([],s,l,.5);r.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),r.bezierCurveTo(l[0],l[1],l[0],l[1],n[2][0],n[2][1])}else for(var c=1;c<n.length;c++)r.lineTo(n[c][0],n[c][1])}function H1(r,t,e){var n=r.getTextGuideLine(),a=r.getTextContent();if(!a){n&&r.removeTextGuideLine();return}for(var i=t.normal,o=i.get("show"),s=a.ignore,l=0;l<Ru.length;l++){var u=Ru[l],c=t[u],f=u==="normal";if(c){var h=c.get("show"),p=f?s:ve(a.states[u]&&a.states[u].ignore,s);if(p||!ve(h,o)){var v=f?n:n&&n.states[u];v&&(v.ignore=!0),n&&z1(n,!0,u,c);continue}n||(n=new fr,r.setTextGuideLine(n),!f&&(s||!o)&&z1(n,!0,"normal",t.normal),r.stateProxy&&(n.stateProxy=r.stateProxy)),z1(n,!1,u,c)}}if(n){ue(n.style,e),n.style.fill=null;var m=i.get("showAbove"),g=r.textGuideLineConfig=r.textGuideLineConfig||{};g.showAbove=m||!1,n.buildPath=Lae}}function F1(r,t){t=t||"labelLine";for(var e={normal:r.getModel(t)},n=0;n<lr.length;n++){var a=lr[n];e[a]=r.getModel([a,t])}return e}function C9(r){for(var t=[],e=0;e<r.length;e++){var n=r[e];if(!n.defaultAttr.ignore){var a=n.label,i=a.getComputedTransform(),o=a.getBoundingRect(),s=!i||i[1]<1e-5&&i[2]<1e-5,l=a.style.margin||0,u=o.clone();u.applyTransform(i),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var c=s?new cp(o,i):null;t.push({label:a,labelLine:n.labelLine,rect:u,localRect:o,obb:c,priority:n.priority,defaultAttr:n.defaultAttr,layoutOption:n.computedLayoutOption,axisAligned:s,transform:i})}}return t}function E9(r,t,e,n,a,i){var o=r.length;if(o<2)return;r.sort(function(S,C){return S.rect[t]-C.rect[t]});for(var s=0,l,u=!1,c=0;c<o;c++){var f=r[c],h=f.rect;l=h[t]-s,l<0&&(h[t]-=l,f.label[t]-=l,u=!0),s=h[t]+h[e]}var p=r[0],v=r[o-1],m,g;_(),m<0&&x(-m,.8),g<0&&x(g,.8),_(),y(m,g,1),y(g,m,-1),_(),m<0&&b(-m),g<0&&b(g);function _(){m=p.rect[t]-n,g=a-v.rect[t]-v.rect[e]}function y(S,C,D){if(S<0){var T=Math.min(C,-S);if(T>0){w(T*D,0,o);var E=T+S;E<0&&x(-E*D,1)}else x(-S*D,1)}}function w(S,C,D){S!==0&&(u=!0);for(var T=C;T<D;T++){var E=r[T],A=E.rect;A[t]+=S,E.label[t]+=S}}function x(S,C){for(var D=[],T=0,E=1;E<o;E++){var A=r[E-1].rect,k=Math.max(r[E].rect[t]-A[t]-A[e],0);D.push(k),T+=k}if(T){var I=Math.min(Math.abs(S)/T,C);if(S>0)for(var E=0;E<o-1;E++){var L=D[E]*I;w(L,0,E+1)}else for(var E=o-1;E>0;E--){var L=D[E-1]*I;w(-L,E,o)}}}function b(S){var C=S<0?-1:1;S=Math.abs(S);for(var D=Math.ceil(S/(o-1)),T=0;T<o-1;T++)if(C>0?w(D,0,T+1):w(-D,o-T-1,o),S-=D,S<=0)return}return u}function Iae(r,t,e,n){return E9(r,"x","width",t,e)}function T9(r,t,e,n){return E9(r,"y","height",t,e)}function D9(r){var t=[];r.sort(function(m,g){return g.priority-m.priority});var e=new we(0,0,0,0);function n(m){if(!m.ignore){var g=m.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}m.ignore=!0}for(var a=0;a<r.length;a++){var i=r[a],o=i.axisAligned,s=i.localRect,l=i.transform,u=i.label,c=i.labelLine;e.copy(i.rect),e.width-=.1,e.height-=.1,e.x+=.05,e.y+=.05;for(var f=i.obb,h=!1,p=0;p<t.length;p++){var v=t[p];if(e.intersect(v.rect)){if(o&&v.axisAligned){h=!0;break}if(v.obb||(v.obb=new cp(v.localRect,v.transform)),f||(f=new cp(s,l)),f.intersect(v.obb)){h=!0;break}}}h?(n(u),c&&n(c)):(u.attr("ignore",i.defaultAttr.ignore),c&&c.attr("ignore",i.defaultAttr.labelGuideIgnore),t.push(i))}}function Nae(r){if(r){for(var t=[],e=0;e<r.length;e++)t.push(r[e].slice());return t}}function Pae(r,t){var e=r.label,n=t&&t.getTextGuideLine();return{dataIndex:r.dataIndex,dataType:r.dataType,seriesIndex:r.seriesModel.seriesIndex,text:r.label.style.text,rect:r.hostRect,labelRect:r.rect,align:e.style.align,verticalAlign:e.style.verticalAlign,labelLinePoints:Nae(n&&n.shape.points)}}var A9=["align","verticalAlign","width","height","fontSize"],dr=new ma,G1=Ne(),Vae=Ne();function fd(r,t,e){for(var n=0;n<e.length;n++){var a=e[n];t[a]!=null&&(r[a]=t[a])}}var hd=["x","y","rotation"],Bae=function(){function r(){this._labelList=[],this._chartViewList=[]}return r.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},r.prototype._addLabel=function(t,e,n,a,i){var o=a.style,s=a.__hostTarget,l=s.textConfig||{},u=a.getComputedTransform(),c=a.getBoundingRect().plain();we.applyTransform(c,c,u),u?dr.setLocalTransform(u):(dr.x=dr.y=dr.rotation=dr.originX=dr.originY=0,dr.scaleX=dr.scaleY=1),dr.rotation=kr(dr.rotation);var f=a.__hostTarget,h;if(f){h=f.getBoundingRect().plain();var p=f.getComputedTransform();we.applyTransform(h,h,p)}var v=h&&f.getTextGuideLine();this._labelList.push({label:a,labelLine:v,seriesModel:n,dataIndex:t,dataType:e,layoutOption:i,computedLayoutOption:null,rect:c,hostRect:h,priority:h?h.width*h.height:0,defaultAttr:{ignore:a.ignore,labelGuideIgnore:v&&v.ignore,x:dr.x,y:dr.y,scaleX:dr.scaleX,scaleY:dr.scaleY,rotation:dr.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:a.cursor,attachedPos:l.position,attachedRot:l.rotation}})},r.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,a=n.get("labelLayout");(ae(a)||Me(a).length)&&t.group.traverse(function(i){if(i.ignore)return!0;var o=i.getTextContent(),s=ge(i);o&&!o.disableLabelLayout&&e._addLabel(s.dataIndex,s.dataType,n,o,a)})},r.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function a(w,x){return function(){b9(w,x)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],s=o.label,l=s.__hostTarget,u=o.defaultAttr,c=void 0;ae(o.layoutOption)?c=o.layoutOption(Pae(o,l)):c=o.layoutOption,c=c||{},o.computedLayoutOption=c;var f=Math.PI/180;l&&l.setTextConfig({local:!1,position:c.x!=null||c.y!=null?null:u.attachedPos,rotation:c.rotate!=null?c.rotate*f:u.attachedRot,offset:[c.dx||0,c.dy||0]});var h=!1;if(c.x!=null?(s.x=Z(c.x,e),s.setStyle("x",0),h=!0):(s.x=u.x,s.setStyle("x",u.style.x)),c.y!=null?(s.y=Z(c.y,n),s.setStyle("y",0),h=!0):(s.y=u.y,s.setStyle("y",u.style.y)),c.labelLinePoints){var p=l.getTextGuideLine();p&&(p.setShape({points:c.labelLinePoints}),h=!1)}var v=G1(s);v.needsUpdateLabelLine=h,s.rotation=c.rotate!=null?c.rotate*f:u.rotation,s.scaleX=u.scaleX,s.scaleY=u.scaleY;for(var m=0;m<A9.length;m++){var g=A9[m];s.setStyle(g,c[g]!=null?c[g]:u.style[g])}if(c.draggable){if(s.draggable=!0,s.cursor="move",l){var _=o.seriesModel;if(o.dataIndex!=null){var y=o.seriesModel.getData(o.dataType);_=y.getItemModel(o.dataIndex)}s.on("drag",a(l,_.getModel("labelLine")))}}else s.off("drag"),s.cursor=u.cursor}},r.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),a=C9(this._labelList),i=Fe(a,function(l){return l.layoutOption.moveOverlap==="shiftX"}),o=Fe(a,function(l){return l.layoutOption.moveOverlap==="shiftY"});Iae(i,0,e),T9(o,0,n);var s=Fe(a,function(l){return l.layoutOption.hideOverlap});D9(s)},r.prototype.processLabelsOverall=function(){var t=this;M(this._chartViewList,function(e){var n=e.__model,a=e.ignoreLabelLineUpdate,i=n.isAnimationEnabled();e.group.traverse(function(o){if(o.ignore&&!o.forceLabelAnimation)return!0;var s=!a,l=o.getTextContent();!s&&l&&(s=G1(l).needsUpdateLabelLine),s&&t._updateLabelLine(o,n),i&&t._animateLabels(o,n)})})},r.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),a=ge(t),i=a.dataIndex;if(n&&i!=null){var o=e.getData(a.dataType),s=o.getItemModel(i),l={},u=o.getItemVisual(i,"style");if(u){var c=o.getVisual("drawType");l.stroke=u[c]}var f=s.getModel("labelLine");H1(t,F1(s),l),b9(t,f)}},r.prototype._animateLabels=function(t,e){var n=t.getTextContent(),a=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!Xs(t))){var i=G1(n),o=i.oldLayout,s=ge(t),l=s.dataIndex,u={x:n.x,y:n.y,rotation:n.rotation},c=e.getData(s.dataType);if(o){n.attr(o);var h=t.prevStates;h&&(xe(h,"select")>=0&&n.attr(i.oldLayoutSelect),xe(h,"emphasis")>=0&&n.attr(i.oldLayoutEmphasis)),Oe(n,u,e,l)}else if(n.attr(u),!Zs(n).valueAnimation){var f=ve(n.style.opacity,1);n.style.opacity=0,tt(n,{style:{opacity:f}},e,l)}if(i.oldLayout=u,n.states.select){var p=i.oldLayoutSelect={};fd(p,u,hd),fd(p,n.states.select,hd)}if(n.states.emphasis){var v=i.oldLayoutEmphasis={};fd(v,u,hd),fd(v,n.states.emphasis,hd)}Qx(n,l,c,e,e)}if(a&&!a.ignore&&!a.invisible){var i=Vae(a),o=i.oldLayout,m={points:a.shape.points};o?(a.attr({shape:o}),Oe(a,{shape:m},e)):(a.setShape(m),a.style.strokePercent=0,tt(a,{style:{strokePercent:1}},e)),i.oldLayout=m}},r}(),$1=Ne();function Oae(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){var a=$1(e).labelManager;a||(a=$1(e).labelManager=new Bae),a.clearLabels()}),r.registerUpdateLifecycle("series:layoutlabels",function(t,e,n){var a=$1(e).labelManager;n.updatedSeries.forEach(function(i){a.addLabelsOfSeries(e.getViewOfSeriesModel(i))}),a.updateLayoutConfig(e),a.layout(e),a.processLabelsOverall()})}var W1=Math.sin,U1=Math.cos,M9=Math.PI,Ho=Math.PI*2,Rae=180/M9,k9=function(){function r(){}return r.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},r.prototype.moveTo=function(t,e){this._add("M",t,e)},r.prototype.lineTo=function(t,e){this._add("L",t,e)},r.prototype.bezierCurveTo=function(t,e,n,a,i,o){this._add("C",t,e,n,a,i,o)},r.prototype.quadraticCurveTo=function(t,e,n,a){this._add("Q",t,e,n,a)},r.prototype.arc=function(t,e,n,a,i,o){this.ellipse(t,e,n,n,0,a,i,o)},r.prototype.ellipse=function(t,e,n,a,i,o,s,l){var u=s-o,c=!l,f=Math.abs(u),h=Ja(f-Ho)||(c?u>=Ho:-u>=Ho),p=u>0?u%Ho:u%Ho+Ho,v=!1;h?v=!0:Ja(f)?v=!1:v=p>=M9==!!c;var m=t+n*U1(o),g=e+a*W1(o);this._start&&this._add("M",m,g);var _=Math.round(i*Rae);if(h){var y=1/this._p,w=(c?1:-1)*(Ho-y);this._add("A",n,a,_,1,+c,t+n*U1(o+w),e+a*W1(o+w)),y>.01&&this._add("A",n,a,_,0,+c,m,g)}else{var x=t+n*U1(s),b=e+a*W1(s);this._add("A",n,a,_,+v,+c,x,b)}},r.prototype.rect=function(t,e,n,a){this._add("M",t,e),this._add("l",n,0),this._add("l",0,a),this._add("l",-n,0),this._add("Z")},r.prototype.closePath=function(){this._d.length>0&&this._add("Z")},r.prototype._add=function(t,e,n,a,i,o,s,l,u){for(var c=[],f=this._p,h=1;h<arguments.length;h++){var p=arguments[h];if(isNaN(p)){this._invalid=!0;return}c.push(Math.round(p*f)/f)}this._d.push(t+c.join(" ")),this._start=t==="Z"},r.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},r.prototype.getStr=function(){return this._str},r}(),Y1="none",zae=Math.round;function Hae(r){var t=r.fill;return t!=null&&t!==Y1}function Fae(r){var t=r.stroke;return t!=null&&t!==Y1}var j1=["lineCap","miterLimit","lineJoin"],Gae=Y(j1,function(r){return"stroke-"+r.toLowerCase()});function $ae(r,t,e,n){var a=t.opacity==null?1:t.opacity;if(e instanceof Vt){r("opacity",a);return}if(Hae(t)){var i=Cu(t.fill);r("fill",i.color);var o=t.fillOpacity!=null?t.fillOpacity*i.opacity*a:i.opacity*a;o<1&&r("fill-opacity",o)}else r("fill",Y1);if(Fae(t)){var s=Cu(t.stroke);r("stroke",s.color);var l=t.strokeNoScale?e.getLineScale():1,u=l?(t.lineWidth||0)/l:0,c=t.strokeOpacity!=null?t.strokeOpacity*s.opacity*a:s.opacity*a,f=t.strokeFirst;if(u!==1&&r("stroke-width",u),f&&r("paint-order",f?"stroke":"fill"),c<1&&r("stroke-opacity",c),t.lineDash){var h=s1(e),p=h[0],v=h[1];p&&(v=zae(v||0),r("stroke-dasharray",p.join(",")),(v||n)&&r("stroke-dashoffset",v))}for(var m=0;m<j1.length;m++){var g=j1[m];if(t[g]!==Kh[g]){var _=t[g]||Kh[g];_&&r(Gae[m],_)}}}}var L9="http://www.w3.org/2000/svg",I9="http://www.w3.org/1999/xlink",Wae="http://www.w3.org/2000/xmlns/",Uae="http://www.w3.org/XML/1998/namespace",N9="ecmeta_";function P9(r){return document.createElementNS(L9,r)}function kt(r,t,e,n,a){return{tag:r,attrs:e||{},children:n,text:a,key:t}}function Yae(r,t){var e=[];if(t)for(var n in t){var a=t[n],i=n;a!==!1&&(a!==!0&&a!=null&&(i+='="'+a+'"'),e.push(i))}return"<"+r+" "+e.join(" ")+">"}function jae(r){return"</"+r+">"}function X1(r,t){t=t||{};var e=t.newline?`
|
|
83
|
-
`:"";function n(a){var i=a.children,o=a.tag,s=a.attrs,l=a.text;return Yae(o,s)+(o!=="style"?ir(l):l||"")+(i?""+e+Y(i,function(u){return n(u)}).join(e)+e:"")+jae(o)}return n(r)}function Xae(r,t,e){e=e||{};var n=e.newline?`
|
|
84
|
-
`:"",a=" {"+n,i=n+"}",o=Y(Me(r),function(l){return l+a+Y(Me(r[l]),function(u){return u+":"+r[l][u]+";"}).join(n)+i}).join(n),s=Y(Me(t),function(l){return"@keyframes "+l+a+Y(Me(t[l]),function(u){return u+a+Y(Me(t[l][u]),function(c){var f=t[l][u][c];return c==="d"&&(f='path("'+f+'")'),c+":"+f+";"}).join(n)+i}).join(n)+i}).join(n);return!o&&!s?"":["<![CDATA[",o,s,"]]>"].join(n)}function q1(r){return{zrId:r,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function V9(r,t,e,n){return kt("svg","root",{width:r,height:t,xmlns:L9,"xmlns:xlink":I9,version:"1.1",baseProfile:"full",viewBox:n?"0 0 "+r+" "+t:!1},e)}var qae=0;function B9(){return qae++}var O9={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"},Fo="transform-origin";function Zae(r,t,e){var n=G({},r.shape);G(n,t),r.buildPath(e,n);var a=new k9;return a.reset(X8(r)),e.rebuildPath(a,1),a.generateStr(),a.getStr()}function Kae(r,t){var e=t.originX,n=t.originY;(e||n)&&(r[Fo]=e+"px "+n+"px")}var Jae={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function R9(r,t){var e=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[e]=r,e}function Qae(r,t,e){var n=r.shape.paths,a={},i,o;if(M(n,function(l){var u=q1(e.zrId);u.animation=!0,pd(l,{},u,!0);var c=u.cssAnims,f=u.cssNodes,h=Me(c),p=h.length;if(p){o=h[p-1];var v=c[o];for(var m in v){var g=v[m];a[m]=a[m]||{d:""},a[m].d+=g.d||""}for(var _ in f){var y=f[_].animation;y.indexOf(o)>=0&&(i=y)}}}),!!i){t.d=!1;var s=R9(a,e);return i.replace(o,s)}}function z9(r){return K(r)?O9[r]?"cubic-bezier("+O9[r]+")":Q0(r)?r:"":""}function pd(r,t,e,n){var a=r.animators,i=a.length,o=[];if(r instanceof v2){var s=Qae(r,t,e);if(s)o.push(s);else if(!i)return}else if(!i)return;for(var l={},u=0;u<i;u++){var c=a[u],f=[c.getMaxTime()/1e3+"s"],h=z9(c.getClip().easing),p=c.getDelay();h?f.push(h):f.push("linear"),p&&f.push(p/1e3+"s"),c.getLoop()&&f.push("infinite");var v=f.join(" ");l[v]=l[v]||[v,[]],l[v][1].push(c)}function m(y){var w=y[1],x=w.length,b={},S={},C={},D="animation-timing-function";function T(ie,re,le){for(var Q=ie.getTracks(),ce=ie.getMaxTime(),Re=0;Re<Q.length;Re++){var ze=Q[Re];if(ze.needsAnimate()){var Ye=ze.keyframes,Qe=ze.propName;if(le&&(Qe=le(Qe)),Qe)for(var pt=0;pt<Ye.length;pt++){var Jt=Ye[pt],Gt=Math.round(Jt.time/ce*100)+"%",aa=z9(Jt.easing),Dn=Jt.rawValue;(K(Dn)||Be(Dn))&&(re[Gt]=re[Gt]||{},re[Gt][Qe]=Jt.rawValue,aa&&(re[Gt][D]=aa))}}}}for(var E=0;E<x;E++){var A=w[E],k=A.targetName;k?k==="shape"&&T(A,S):!n&&T(A,b)}for(var I in b){var L={};ow(L,r),G(L,b[I]);var N=q8(L),P=b[I][D];C[I]=N?{transform:N}:{},Kae(C[I],L),P&&(C[I][D]=P)}var V,O=!0;for(var I in S){C[I]=C[I]||{};var B=!V,P=S[I][D];B&&(V=new Un);var R=V.len();V.reset(),C[I].d=Zae(r,S[I],V);var z=V.len();if(!B&&R!==z){O=!1;break}P&&(C[I][D]=P)}if(!O)for(var I in C)delete C[I].d;if(!n)for(var E=0;E<x;E++){var A=w[E],k=A.targetName;k==="style"&&T(A,C,function(Q){return Jae[Q]})}for(var H=Me(C),$=!0,X,E=1;E<H.length;E++){var j=H[E-1],fe=H[E];if(C[j][Fo]!==C[fe][Fo]){$=!1;break}X=C[j][Fo]}if($&&X){for(var I in C)C[I][Fo]&&delete C[I][Fo];t[Fo]=X}if(Fe(H,function(ie){return Me(C[ie]).length>0}).length){var De=R9(C,e);return De+" "+y[0]+" both"}}for(var g in l){var s=m(l[g]);s&&o.push(s)}if(o.length){var _=e.zrId+"-cls-"+B9();e.cssNodes["."+_]={animation:o.join(",")},t.class=_}}function eie(r,t,e){if(!r.ignore)if(r.isSilent()){var n={"pointer-events":"none"};H9(n,t,e)}else{var a=r.states.emphasis&&r.states.emphasis.style?r.states.emphasis.style:{},i=a.fill;if(!i){var o=r.style&&r.style.fill,s=r.states.select&&r.states.select.style&&r.states.select.style.fill,l=r.currentStates.indexOf("select")>=0&&s||o;l&&(i=og(l))}var u=a.lineWidth;if(u){var c=!a.strokeNoScale&&r.transform?r.transform[0]:1;u=u/c}var n={cursor:"pointer"};i&&(n.fill=i),a.stroke&&(n.stroke=a.stroke),u&&(n["stroke-width"]=u),H9(n,t,e)}}function H9(r,t,e,n){var a=JSON.stringify(r),i=e.cssStyleCache[a];i||(i=e.zrId+"-cls-"+B9(),e.cssStyleCache[a]=i,e.cssNodes["."+i+":hover"]=r),t.class=t.class?t.class+" "+i:i}var Ec=Math.round;function F9(r){return r&&K(r.src)}function G9(r){return r&&ae(r.toDataURL)}function Z1(r,t,e,n){$ae(function(a,i){var o=a==="fill"||a==="stroke";o&&j8(i)?X9(t,r,a,n):o&&lg(i)?q9(e,r,a,n):r[a]=i,o&&n.ssr&&i==="none"&&(r["pointer-events"]="visible")},t,e,!1),sie(e,r,n)}function K1(r,t){var e=UK(t);e&&(e.each(function(n,a){n!=null&&(r[(N9+a).toLowerCase()]=n+"")}),t.isSilent()&&(r[N9+"silent"]="true"))}function $9(r){return Ja(r[0]-1)&&Ja(r[1])&&Ja(r[2])&&Ja(r[3]-1)}function tie(r){return Ja(r[4])&&Ja(r[5])}function J1(r,t,e){if(t&&!(tie(t)&&$9(t))){var n=1e4;r.transform=$9(t)?"translate("+Ec(t[4]*n)/n+" "+Ec(t[5]*n)/n+")":pK(t)}}function W9(r,t,e){for(var n=r.points,a=[],i=0;i<n.length;i++)a.push(Ec(n[i][0]*e)/e),a.push(Ec(n[i][1]*e)/e);t.points=a.join(" ")}function U9(r){return!r.smooth}function rie(r){var t=Y(r,function(e){return typeof e=="string"?[e,e]:e});return function(e,n,a){for(var i=0;i<t.length;i++){var o=t[i],s=e[o[0]];s!=null&&(n[o[1]]=Ec(s*a)/a)}}}var nie={circle:[rie(["cx","cy","r"])],polyline:[W9,U9],polygon:[W9,U9]};function aie(r){for(var t=r.animators,e=0;e<t.length;e++)if(t[e].targetName==="shape")return!0;return!1}function Y9(r,t){var e=r.style,n=r.shape,a=nie[r.type],i={},o=t.animation,s="path",l=r.style.strokePercent,u=t.compress&&X8(r)||4;if(a&&!t.willUpdate&&!(a[1]&&!a[1](n))&&!(o&&aie(r))&&!(l<1)){s=r.type;var c=Math.pow(10,u);a[0](n,i,c)}else{var f=!r.path||r.shapeChanged();r.path||r.createPathProxy();var h=r.path;f&&(h.beginPath(),r.buildPath(h,r.shape),r.pathUpdated());var p=h.getVersion(),v=r,m=v.__svgPathBuilder;(v.__svgPathVersion!==p||!m||l!==v.__svgPathStrokePercent)&&(m||(m=v.__svgPathBuilder=new k9),m.reset(u),h.rebuildPath(m,l),m.generateStr(),v.__svgPathVersion=p,v.__svgPathStrokePercent=l),i.d=m.getStr()}return J1(i,r.transform),Z1(i,e,r,t),K1(i,r),t.animation&&pd(r,i,t),t.emphasis&&eie(r,i,t),kt(s,r.id+"",i)}function iie(r,t){var e=r.style,n=e.image;if(n&&!K(n)&&(F9(n)?n=n.src:G9(n)&&(n=n.toDataURL())),!!n){var a=e.x||0,i=e.y||0,o=e.width,s=e.height,l={href:n,width:o,height:s};return a&&(l.x=a),i&&(l.y=i),J1(l,r.transform),Z1(l,e,r,t),K1(l,r),t.animation&&pd(r,l,t),kt("image",r.id+"",l)}}function oie(r,t){var e=r.style,n=e.text;if(n!=null&&(n+=""),!(!n||isNaN(e.x)||isNaN(e.y))){var a=e.font||$a,i=e.x||0,o=vK(e.y||0,zh(a),e.textBaseline),s=dK[e.textAlign]||e.textAlign,l={"dominant-baseline":"central","text-anchor":s};if(Qw(e)){var u="",c=e.fontStyle,f=Kw(e.fontSize);if(!parseFloat(f))return;var h=e.fontFamily||i8,p=e.fontWeight;u+="font-size:"+f+";font-family:"+h+";",c&&c!=="normal"&&(u+="font-style:"+c+";"),p&&p!=="normal"&&(u+="font-weight:"+p+";"),l.style=u}else l.style="font: "+a;return n.match(/\s/)&&(l["xml:space"]="preserve"),i&&(l.x=i),o&&(l.y=o),J1(l,r.transform),Z1(l,e,r,t),K1(l,r),t.animation&&pd(r,l,t),kt("text",r.id+"",l,void 0,n)}}function j9(r,t){if(r instanceof Te)return Y9(r,t);if(r instanceof Vt)return iie(r,t);if(r instanceof Fs)return oie(r,t)}function sie(r,t,e){var n=r.style;if(gK(n)){var a=mK(r),i=e.shadowCache,o=i[a];if(!o){var s=r.getGlobalScale(),l=s[0],u=s[1];if(!l||!u)return;var c=n.shadowOffsetX||0,f=n.shadowOffsetY||0,h=n.shadowBlur,p=Cu(n.shadowColor),v=p.opacity,m=p.color,g=h/2/l,_=h/2/u,y=g+" "+_;o=e.zrId+"-s"+e.shadowIdx++,e.defs[o]=kt("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[kt("feDropShadow","",{dx:c/l,dy:f/u,stdDeviation:y,"flood-color":m,"flood-opacity":v})]),i[a]=o}t.filter=Lh(o)}}function X9(r,t,e,n){var a=r[e],i,o={gradientUnits:a.global?"userSpaceOnUse":"objectBoundingBox"};if(U8(a))i="linearGradient",o.x1=a.x,o.y1=a.y,o.x2=a.x2,o.y2=a.y2;else if(Y8(a))i="radialGradient",o.cx=ve(a.x,.5),o.cy=ve(a.y,.5),o.r=ve(a.r,.5);else{process.env.NODE_ENV!=="production"&&hn("Illegal gradient type.");return}for(var s=a.colorStops,l=[],u=0,c=s.length;u<c;++u){var f=sg(s[u].offset)*100+"%",h=s[u].color,p=Cu(h),v=p.color,m=p.opacity,g={offset:f};g["stop-color"]=v,m<1&&(g["stop-opacity"]=m),l.push(kt("stop",u+"",g))}var _=kt(i,"",o,l),y=X1(_),w=n.gradientCache,x=w[y];x||(x=n.zrId+"-g"+n.gradientIdx++,w[y]=x,o.id=x,n.defs[x]=kt(i,x,o,l)),t[e]=Lh(x)}function q9(r,t,e,n){var a=r.style[e],i=r.getBoundingRect(),o={},s=a.repeat,l=s==="no-repeat",u=s==="repeat-x",c=s==="repeat-y",f;if(W8(a)){var h=a.imageWidth,p=a.imageHeight,v=void 0,m=a.image;if(K(m)?v=m:F9(m)?v=m.src:G9(m)&&(v=m.toDataURL()),typeof Image>"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";se(h,g),se(p,g)}else if(h==null||p==null){var _=function(E,A){if(E){var k=E.elm,I=h||A.width,L=p||A.height;E.tag==="pattern"&&(u?(L=1,I/=i.width):c&&(I=1,L/=i.height)),E.attrs.width=I,E.attrs.height=L,k&&(k.setAttribute("width",I),k.setAttribute("height",L))}},y=Rg(v,null,r,function(E){l||_(S,E),_(f,E)});y&&y.width&&y.height&&(h=h||y.width,p=p||y.height)}f=kt("image","img",{href:v,width:h,height:p}),o.width=h,o.height=p}else a.svgElement&&(f=pe(a.svgElement),o.width=a.svgWidth,o.height=a.svgHeight);if(f){var w,x;l?w=x=1:u?(x=1,w=o.width/i.width):c?(w=1,x=o.height/i.height):o.patternUnits="userSpaceOnUse",w!=null&&!isNaN(w)&&(o.width=w),x!=null&&!isNaN(x)&&(o.height=x);var b=q8(a);b&&(o.patternTransform=b);var S=kt("pattern","",o,[f]),C=X1(S),D=n.patternCache,T=D[C];T||(T=n.zrId+"-p"+n.patternIdx++,D[C]=T,o.id=T,S=n.defs[T]=kt("pattern",T,o,[f])),t[e]=Lh(T)}}function lie(r,t,e){var n=e.clipPathCache,a=e.defs,i=n[r.id];if(!i){i=e.zrId+"-c"+e.clipPathIdx++;var o={id:i};n[r.id]=i,a[i]=kt("clipPath",i,o,[Y9(r,e)])}t["clip-path"]=Lh(i)}function Z9(r){return document.createTextNode(r)}function Go(r,t,e){r.insertBefore(t,e)}function K9(r,t){r.removeChild(t)}function J9(r,t){r.appendChild(t)}function Q9(r){return r.parentNode}function eC(r){return r.nextSibling}function Q1(r,t){r.textContent=t}var tC=58,uie=120,cie=kt("","");function em(r){return r===void 0}function ea(r){return r!==void 0}function fie(r,t,e){for(var n={},a=t;a<=e;++a){var i=r[a].key;i!==void 0&&(process.env.NODE_ENV!=="production"&&n[i]!=null&&console.error("Duplicate key "+i),n[i]=a)}return n}function Tc(r,t){var e=r.key===t.key,n=r.tag===t.tag;return n&&e}function Dc(r){var t,e=r.children,n=r.tag;if(ea(n)){var a=r.elm=P9(n);if(tm(cie,r),U(e))for(t=0;t<e.length;++t){var i=e[t];i!=null&&J9(a,Dc(i))}else ea(r.text)&&!oe(r.text)&&J9(a,Z9(r.text))}else r.elm=Z9(r.text);return r.elm}function rC(r,t,e,n,a){for(;n<=a;++n){var i=e[n];i!=null&&Go(r,Dc(i),t)}}function dd(r,t,e,n){for(;e<=n;++e){var a=t[e];if(a!=null)if(ea(a.tag)){var i=Q9(a.elm);K9(i,a.elm)}else K9(r,a.elm)}}function tm(r,t){var e,n=t.elm,a=r&&r.attrs||{},i=t.attrs||{};if(a!==i){for(e in i){var o=i[e],s=a[e];s!==o&&(o===!0?n.setAttribute(e,""):o===!1?n.removeAttribute(e):e==="style"?n.style.cssText=o:e.charCodeAt(0)!==uie?n.setAttribute(e,o):e==="xmlns:xlink"||e==="xmlns"?n.setAttributeNS(Wae,e,o):e.charCodeAt(3)===tC?n.setAttributeNS(Uae,e,o):e.charCodeAt(5)===tC?n.setAttributeNS(I9,e,o):n.setAttribute(e,o))}for(e in a)e in i||n.removeAttribute(e)}}function hie(r,t,e){for(var n=0,a=0,i=t.length-1,o=t[0],s=t[i],l=e.length-1,u=e[0],c=e[l],f,h,p,v;n<=i&&a<=l;)o==null?o=t[++n]:s==null?s=t[--i]:u==null?u=e[++a]:c==null?c=e[--l]:Tc(o,u)?(wl(o,u),o=t[++n],u=e[++a]):Tc(s,c)?(wl(s,c),s=t[--i],c=e[--l]):Tc(o,c)?(wl(o,c),Go(r,o.elm,eC(s.elm)),o=t[++n],c=e[--l]):Tc(s,u)?(wl(s,u),Go(r,s.elm,o.elm),s=t[--i],u=e[++a]):(em(f)&&(f=fie(t,n,i)),h=f[u.key],em(h)?Go(r,Dc(u),o.elm):(p=t[h],p.tag!==u.tag?Go(r,Dc(u),o.elm):(wl(p,u),t[h]=void 0,Go(r,p.elm,o.elm))),u=e[++a]);(n<=i||a<=l)&&(n>i?(v=e[l+1]==null?null:e[l+1].elm,rC(r,v,e,a,l)):dd(r,t,n,i))}function wl(r,t){var e=t.elm=r.elm,n=r.children,a=t.children;r!==t&&(tm(r,t),em(t.text)?ea(n)&&ea(a)?n!==a&&hie(e,n,a):ea(a)?(ea(r.text)&&Q1(e,""),rC(e,null,a,0,a.length-1)):ea(n)?dd(e,n,0,n.length-1):ea(r.text)&&Q1(e,""):r.text!==t.text&&(ea(n)&&dd(e,n,0,n.length-1),Q1(e,t.text)))}function pie(r,t){if(Tc(r,t))wl(r,t);else{var e=r.elm,n=Q9(e);Dc(t),n!==null&&(Go(n,t.elm,eC(e)),dd(n,[r],0,0))}return t}var die=0,vie=function(){function r(t,e,n){if(this.type="svg",this.refreshHover=nC("refreshHover"),this.configLayer=nC("configLayer"),this.storage=e,this._opts=n=G({},n),this.root=t,this._id="zr"+die++,this._oldVNode=V9(n.width,n.height),t&&!n.ssr){var a=this._viewport=document.createElement("div");a.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=P9("svg");tm(null,this._oldVNode),a.appendChild(i),t.appendChild(a)}this.resize(n.width,n.height)}return r.prototype.getType=function(){return this.type},r.prototype.getViewportRoot=function(){return this._viewport},r.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},r.prototype.getSvgDom=function(){return this._svgDom},r.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",pie(this._oldVNode,t),this._oldVNode=t}},r.prototype.renderOneToVNode=function(t){return j9(t,q1(this._id))},r.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,a=this._height,i=q1(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress,i.emphasis=t.emphasis,i.ssr=this._opts.ssr;var o=[],s=this._bgVNode=gie(n,a,this._backgroundColor,i);s&&o.push(s);var l=t.compress?null:this._mainVNode=kt("g","main",{},[]);this._paintList(e,i,l?l.children:o),l&&o.push(l);var u=Y(Me(i.defs),function(h){return i.defs[h]});if(u.length&&o.push(kt("defs","defs",{},u)),t.animation){var c=Xae(i.cssNodes,i.cssAnims,{newline:!0});if(c){var f=kt("style","stl",{},[],c);o.push(f)}}return V9(n,a,o,t.useViewBox)},r.prototype.renderToString=function(t){return t=t||{},X1(this.renderToVNode({animation:ve(t.cssAnimation,!0),emphasis:ve(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:ve(t.useViewBox,!0)}),{newline:!0})},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t},r.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},r.prototype._paintList=function(t,e,n){for(var a=t.length,i=[],o=0,s,l,u=0,c=0;c<a;c++){var f=t[c];if(!f.invisible){var h=f.__clipPaths,p=h&&h.length||0,v=l&&l.length||0,m=void 0;for(m=Math.max(p-1,v-1);m>=0&&!(h&&l&&h[m]===l[m]);m--);for(var g=v-1;g>m;g--)o--,s=i[o-1];for(var _=m+1;_<p;_++){var y={};lie(h[_],y,e);var w=kt("g","clip-g-"+u++,y,[]);(s?s.children:n).push(w),i[o++]=w,s=w}l=h;var x=j9(f,e);x&&(s?s.children:n).push(x)}}},r.prototype.resize=function(t,e){var n=this._opts,a=this.root,i=this._viewport;if(t!=null&&(n.width=t),e!=null&&(n.height=e),a&&i&&(i.style.display="none",t=pl(a,0,n),e=pl(a,1,n),i.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,i){var o=i.style;o.width=t+"px",o.height=e+"px"}if(lg(this._backgroundColor))this.refresh();else{var s=this._svgDom;s&&(s.setAttribute("width",t),s.setAttribute("height",e));var l=this._bgVNode&&this._bgVNode.elm;l&&(l.setAttribute("width",t),l.setAttribute("height",e))}}},r.prototype.getWidth=function(){return this._width},r.prototype.getHeight=function(){return this._height},r.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},r.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},r.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=yK(e),e&&n+"base64,"+e):n+"charset=UTF-8,"+encodeURIComponent(e)},r}();function nC(r){return function(){process.env.NODE_ENV!=="production"&&hn('In SVG mode painter not support method "'+r+'"')}}function gie(r,t,e,n){var a;if(e&&e!=="none")if(a=kt("rect","bg",{width:r,height:t,x:"0",y:"0"}),j8(e))X9({fill:e},a.attrs,"fill",n);else if(lg(e))q9({style:{fill:e},dirty:ft,getBoundingRect:function(){return{width:r,height:t}}},a.attrs,"fill",n);else{var i=Cu(e),o=i.color,s=i.opacity;a.attrs.fill=o,s<1&&(a.attrs["fill-opacity"]=s)}return a}function mie(r){r.registerPainter("svg",vie)}function aC(r,t,e){var n=Wa.createCanvas(),a=t.getWidth(),i=t.getHeight(),o=n.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=a+"px",o.height=i+"px",n.setAttribute("data-zr-dom-id",r)),n.width=a*e,n.height=i*e,n}var rm=function(r){et(t,r);function t(e,n,a){var i=r.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null;var o;a=a||Rh,typeof e=="string"?o=aC(e,n,a):oe(e)&&(o=e,e=o.id),i.id=e,i.dom=o;var s=o.style;return s&&(d8(o),o.onselectstart=function(){return!1},s.padding="0",s.margin="0",s.borderWidth="0"),i.painter=n,i.dpr=a,i}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 e=this.dpr;this.domBack=aC("back-"+this.id,this.painter,e),this.ctxBack=this.domBack.getContext("2d"),e!==1&&this.ctxBack.scale(e,e)},t.prototype.createRepaintRects=function(e,n,a,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],s=this.maxRepaintRectCount,l=!1,u=new we(0,0,0,0);function c(y){if(!(!y.isFinite()||y.isZero()))if(o.length===0){var w=new we(0,0,0,0);w.copy(y),o.push(w)}else{for(var x=!1,b=1/0,S=0,C=0;C<o.length;++C){var D=o[C];if(D.intersect(y)){var T=new we(0,0,0,0);T.copy(D),T.union(y),o[C]=T,x=!0;break}else if(l){u.copy(y),u.union(D);var E=y.width*y.height,A=D.width*D.height,k=u.width*u.height,I=k-E-A;I<b&&(b=I,S=C)}}if(l&&(o[S].union(y),x=!0),!x){var w=new we(0,0,0,0);w.copy(y),o.push(w)}l||(l=o.length>=s)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var h=e[f];if(h){var p=h.shouldBePainted(a,i,!0,!0),v=h.__isRendered&&(h.__dirty&Bn||!p)?h.getPrevPaintRect():null;v&&c(v);var m=p&&(h.__dirty&Bn||!h.__isRendered)?h.getPaintRect():null;m&&c(m)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var h=n[f],p=h&&h.shouldBePainted(a,i,!0,!0);if(h&&(!p||!h.__zr)&&h.__isRendered){var v=h.getPrevPaintRect();v&&c(v)}}var g;do{g=!1;for(var f=0;f<o.length;){if(o[f].isZero()){o.splice(f,1);continue}for(var _=f+1;_<o.length;)o[f].intersect(o[_])?(g=!0,o[f].union(o[_]),o.splice(_,1)):_++;f++}}while(g);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(e,n){var a=this.dpr,i=this.dom,o=i.style,s=this.domBack;o&&(o.width=e+"px",o.height=n+"px"),i.width=e*a,i.height=n*a,s&&(s.width=e*a,s.height=n*a,a!==1&&this.ctxBack.scale(a,a))},t.prototype.clear=function(e,n,a){var i=this.dom,o=this.ctx,s=i.width,l=i.height;n=n||this.clearColor;var u=this.motionBlur&&!e,c=this.lastFrameAlpha,f=this.dpr,h=this;u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,s/f,l/f));var p=this.domBack;function v(m,g,_,y){if(o.clearRect(m,g,_,y),n&&n!=="transparent"){var w=void 0;if(fh(n)){var x=n.global||n.__width===_&&n.__height===y;w=x&&n.__canvasGradient||o1(o,n,{x:0,y:0,width:_,height:y}),n.__canvasGradient=w,n.__width=_,n.__height=y}else DZ(n)&&(n.scaleX=n.scaleX||f,n.scaleY=n.scaleY||f,w=l1(o,n,{dirty:function(){h.setUnpainted(),h.painter.refresh()}}));o.save(),o.fillStyle=w||n,o.fillRect(m,g,_,y),o.restore()}u&&(o.save(),o.globalAlpha=c,o.drawImage(p,m,g,_,y),o.restore())}!a||u?v(0,0,s,l):a.length&&M(a,function(m){v(m.x*f,m.y*f,m.width*f,m.height*f)})},t}(Rr),iC=1e5,$o=314159,vd=.01,_ie=.001;function yie(r){return r?r.__builtin__?!0:!(typeof r.resize!="function"||typeof r.refresh!="function"):!1}function wie(r,t){var e=document.createElement("div");return e.style.cssText=["position:relative","width:"+r+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",e}var xie=function(){function r(t,e,n,a){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=n=G({},n||{}),this.dpr=n.devicePixelRatio||Rh,this._singleCanvas=i,this.root=t;var o=t.style;o&&(d8(t),t.innerHTML=""),this.storage=e;var s=this._zlevelList;this._prevDisplayList=[];var l=this._layers;if(i){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 p=new rm(c,this,this.dpr);p.__builtin__=!0,p.initContext(),l[$o]=p,p.zlevel=$o,s.push($o),this._domRoot=t}else{this._width=pl(t,0,n),this._height=pl(t,1,n);var u=this._domRoot=wie(this._width,this._height);t.appendChild(u)}}return r.prototype.getType=function(){return"canvas"},r.prototype.isSingleCanvas=function(){return this._singleCanvas},r.prototype.getViewportRoot=function(){return this._domRoot},r.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},r.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,a=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var i=0;i<a.length;i++){var o=a[i],s=this._layers[o];if(!s.__builtin__&&s.refresh){var l=i===0?this._backgroundColor:null;s.refresh(l)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},r.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},r.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),!!e){for(var a={inHover:!0,viewWidth:this._width,viewHeight:this._height},i,o=0;o<e;o++){var s=t[o];s.__inHover&&(n||(n=this._hoverlayer=this.getLayer(iC)),i||(i=n.ctx,i.save()),Vo(i,s,a,o===e-1))}i&&i.restore()}},r.prototype.getHoverLayer=function(){return this.getLayer(iC)},r.prototype.paintOne=function(t,e){rS(t,e)},r.prototype._paintList=function(t,e,n,a){if(this._redrawId===a){n=n||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e,n),o=i.finished,s=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),s&&this._paintHoverList(t),o)this.eachLayer(function(u){u.afterBrush&&u.afterBrush()});else{var l=this;bh(function(){l._paintList(t,e,n,a)})}}},r.prototype._compositeManually=function(){var t=this.getLayer($o).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(a){a.virtual&&t.drawImage(a.dom,0,0,e,n)})},r.prototype._doPaintList=function(t,e,n){for(var a=this,i=[],o=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&i.push(u)}for(var c=!0,f=!1,h=function(m){var g=i[m],_=g.ctx,y=o&&g.createRepaintRects(t,e,p._width,p._height),w=n?g.__startIndex:g.__drawIndex,x=!n&&g.incremental&&Date.now,b=x&&Date.now(),S=g.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(g.__startIndex===g.__endIndex)g.clear(!1,S,y);else if(w===g.__startIndex){var C=t[w];(!C.incremental||!C.notClear||n)&&g.clear(!1,S,y)}w===-1&&(console.error("For some unknown reason. drawIndex is -1"),w=g.__startIndex);var D,T=function(I){var L={inHover:!1,allClipped:!1,prevEl:null,viewWidth:a._width,viewHeight:a._height};for(D=w;D<g.__endIndex;D++){var N=t[D];if(N.__inHover&&(f=!0),a._doPaintEl(N,g,o,I,L,D===g.__endIndex-1),x){var P=Date.now()-b;if(P>15)break}}L.prevElClipPaths&&_.restore()};if(y)if(y.length===0)D=g.__endIndex;else for(var E=p.dpr,A=0;A<y.length;++A){var k=y[A];_.save(),_.beginPath(),_.rect(k.x*E,k.y*E,k.width*E,k.height*E),_.clip(),T(k),_.restore()}else _.save(),T(),_.restore();g.__drawIndex=D,g.__drawIndex<g.__endIndex&&(c=!1)},p=this,v=0;v<i.length;v++)h(v);return Ee.wxa&&M(this._layers,function(m){m&&m.ctx&&m.ctx.draw&&m.ctx.draw()}),{finished:c,needsRefreshHover:f}},r.prototype._doPaintEl=function(t,e,n,a,i,o){var s=e.ctx;if(n){var l=t.getPaintRect();(!a||l&&l.intersect(a))&&(Vo(s,t,i,o),t.setPrevPaintRect(l))}else Vo(s,t,i,o)},r.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=$o);var n=this._layers[t];return n||(n=new rm("zr_"+t,this,this.dpr),n.zlevel=t,n.__builtin__=!0,this._layerConfig[t]?_e(n,this._layerConfig[t],!0):this._layerConfig[t-vd]&&_e(n,this._layerConfig[t-vd],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},r.prototype.insertLayer=function(t,e){var n=this._layers,a=this._zlevelList,i=a.length,o=this._domRoot,s=null,l=-1;if(n[t]){process.env.NODE_ENV!=="production"&&hn("ZLevel "+t+" has been used already");return}if(!yie(e)){process.env.NODE_ENV!=="production"&&hn("Layer of zlevel "+t+" is not valid");return}if(i>0&&t>a[0]){for(l=0;l<i-1&&!(a[l]<t&&a[l+1]>t);l++);s=n[a[l]]}if(a.splice(l+1,0,t),n[t]=e,!e.virtual)if(s){var u=s.dom;u.nextSibling?o.insertBefore(e.dom,u.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)},r.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a];t.call(e,this._layers[i],i)}},r.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a],o=this._layers[i];o.__builtin__&&t.call(e,o,i)}},r.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,a=0;a<n.length;a++){var i=n[a],o=this._layers[i];o.__builtin__||t.call(e,o,i)}},r.prototype.getLayers=function(){return this._layers},r.prototype._updateLayerStatus=function(t){this.eachBuiltinLayer(function(f,h){f.__dirty=f.__used=!1});function e(f){i&&(i.__endIndex!==f&&(i.__dirty=!0),i.__endIndex=f)}if(this._singleCanvas)for(var n=1;n<t.length;n++){var a=t[n];if(a.zlevel!==t[n-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var i=null,o=0,s,l;for(l=0;l<t.length;l++){var a=t[l],u=a.zlevel,c=void 0;s!==u&&(s=u,o=0),a.incremental?(c=this.getLayer(u+_ie,this._needsManuallyCompositing),c.incremental=!0,o=1):c=this.getLayer(u+(o>0?vd:0),this._needsManuallyCompositing),c.__builtin__||hn("ZLevel "+u+" has been used by unkown layer "+c.id),c!==i&&(c.__used=!0,c.__startIndex!==l&&(c.__dirty=!0),c.__startIndex=l,c.incremental?c.__drawIndex=-1:c.__drawIndex=l,e(l),i=c),a.__dirty&Bn&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=l))}e(l),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)})},r.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},r.prototype._clearLayer=function(t){t.clear()},r.prototype.setBackgroundColor=function(t){this._backgroundColor=t,M(this._layers,function(e){e.setUnpainted()})},r.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?_e(n[t],e,!0):n[t]=e;for(var a=0;a<this._zlevelList.length;a++){var i=this._zlevelList[a];if(i===t||i===t+vd){var o=this._layers[i];_e(o,n[t],!0)}}}},r.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,a=e[t];a&&(a.dom.parentNode.removeChild(a.dom),delete e[t],n.splice(xe(n,t),1))},r.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var a=this._opts,i=this.root;if(t!=null&&(a.width=t),e!=null&&(a.height=e),t=pl(i,0,a),e=pl(i,1,a),n.style.display="",this._width!==t||e!==this._height){n.style.width=t+"px",n.style.height=e+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(t==null||e==null)return;this._width=t,this._height=e,this.getLayer($o).resize(t,e)}return this},r.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},r.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},r.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[$o].dom;var e=new rm("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var a=e.dom.width,i=e.dom.height;this.eachLayer(function(f){f.__builtin__?n.drawImage(f.dom,0,0,a,i):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),l=0,u=s.length;l<u;l++){var c=s[l];Vo(n,c,o,l===u-1)}return e.dom},r.prototype.getWidth=function(){return this._width},r.prototype.getHeight=function(){return this._height},r}();function bie(r){r.registerPainter("canvas",xie)}var Sie=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e){if(process.env.NODE_ENV!=="production"){var n=e.coordinateSystem;if(n!=="polar"&&n!=="cartesian2d")throw new Error("Line not support coordinateSystem besides cartesian and polar")}return Aa(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(e){var n=new de,a=xt("line",0,e.itemHeight/2,e.itemWidth,0,e.lineStyle.stroke,!1);n.add(a),a.setStyle(e.lineStyle);var i=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),s=i==="none"?"circle":i,l=e.itemHeight*.8,u=xt(s,(e.itemWidth-l)/2,(e.itemHeight-l)/2,l,l,e.itemStyle.fill);n.add(u),u.setStyle(e.itemStyle);var c=e.iconRotate==="inherit"?o:e.iconRotate||0;return u.rotation=c*Math.PI/180,u.setOrigin([e.itemWidth/2,e.itemHeight/2]),s.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.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}(Ke);function xl(r,t){var e=r.mapDimensionsAll("defaultedLabel"),n=e.length;if(n===1){var a=ol(r,t,e[0]);return a!=null?a+"":null}else if(n){for(var i=[],o=0;o<e.length;o++)i.push(ol(r,t,e[o]));return i.join(" ")}}function oC(r,t){var e=r.mapDimensionsAll("defaultedLabel");if(!U(t))return t+"";for(var n=[],a=0;a<e.length;a++){var i=r.getDimensionIndex(e[a]);i>=0&&n.push(t[i])}return n.join(" ")}var Ac=function(r){F(t,r);function t(e,n,a,i){var o=r.call(this)||this;return o.updateData(e,n,a,i),o}return t.prototype._createSymbol=function(e,n,a,i,o){this.removeAll();var s=xt(e,-1,-1,2,2,null,o);s.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),s.drift=Cie,this._symbolType=e,this.add(s)},t.prototype.stopSymbolAnimation=function(e){this.childAt(0).stopAnimation(null,e)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){ba(this.childAt(0))},t.prototype.downplay=function(){Sa(this.childAt(0))},t.prototype.setZ=function(e,n){var a=this.childAt(0);a.zlevel=e,a.z=n},t.prototype.setDraggable=function(e,n){var a=this.childAt(0);a.draggable=e,a.cursor=!n&&e?"move":a.cursor},t.prototype.updateData=function(e,n,a,i){this.silent=!1;var o=e.getItemVisual(n,"symbol")||"circle",s=e.hostModel,l=t.getSymbolSize(e,n),u=o!==this._symbolType,c=i&&i.disableAnimation;if(u){var f=e.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,e,n,l,f)}else{var h=this.childAt(0);h.silent=!1;var p={scaleX:l[0]/2,scaleY:l[1]/2};c?h.attr(p):Oe(h,p,s,n),yn(h)}if(this._updateCommon(e,n,l,a,i),u){var h=this.childAt(0);if(!c){var p={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:h.style.opacity}};h.scaleX=h.scaleY=0,h.style.opacity=0,tt(h,p,s,n)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(e,n,a,i,o){var s=this.childAt(0),l=e.hostModel,u,c,f,h,p,v,m,g,_;if(i&&(u=i.emphasisItemStyle,c=i.blurItemStyle,f=i.selectItemStyle,h=i.focus,p=i.blurScope,m=i.labelStatesModels,g=i.hoverScale,_=i.cursorStyle,v=i.emphasisDisabled),!i||e.hasItemOption){var y=i&&i.itemModel?i.itemModel:e.getItemModel(n),w=y.getModel("emphasis");u=w.getModel("itemStyle").getItemStyle(),f=y.getModel(["select","itemStyle"]).getItemStyle(),c=y.getModel(["blur","itemStyle"]).getItemStyle(),h=w.get("focus"),p=w.get("blurScope"),v=w.get("disabled"),m=At(y),g=w.getShallow("scale"),_=y.getShallow("cursor")}var x=e.getItemVisual(n,"symbolRotate");s.attr("rotation",(x||0)*Math.PI/180||0);var b=No(e.getItemVisual(n,"symbolOffset"),a);b&&(s.x=b[0],s.y=b[1]),_&&s.attr("cursor",_);var S=e.getItemVisual(n,"style"),C=S.fill;if(s instanceof Vt){var D=s.style;s.useStyle(G({image:D.image,x:D.x,y:D.y,width:D.width,height:D.height},S))}else s.__isEmptyBrush?s.useStyle(G({},S)):s.useStyle(S),s.style.decal=null,s.setColor(C,o&&o.symbolInnerColor),s.style.strokeNoScale=!0;var T=e.getItemVisual(n,"liftZ"),E=this._z2;T!=null?E==null&&(this._z2=s.z2,s.z2+=T):E!=null&&(s.z2=E,this._z2=null);var A=o&&o.useNameLabel;Ht(s,m,{labelFetcher:l,labelDataIndex:n,defaultText:k,inheritColor:C,defaultOpacity:S.opacity});function k(N){return A?e.getName(N):xl(e,N)}this._sizeX=a[0]/2,this._sizeY=a[1]/2;var I=s.ensureState("emphasis");I.style=u,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;I.scaleX=this._sizeX*L,I.scaleY=this._sizeY*L,this.setSymbolScale(1),ot(this,h,p,v)},t.prototype.setSymbolScale=function(e){this.scaleX=this.scaleY=e},t.prototype.fadeOut=function(e,n,a){var i=this.childAt(0),o=ge(this).dataIndex,s=a&&a.animation;if(this.silent=i.silent=!0,a&&a.fadeLabel){var l=i.getTextContent();l&&ai(l,{style:{opacity:0}},n,{dataIndex:o,removeOpt:s,cb:function(){i.removeTextContent()}})}else i.removeTextContent();ai(i,{style:{opacity:0},scaleX:0,scaleY:0},n,{dataIndex:o,cb:e,removeOpt:s})},t.getSymbolSize=function(e,n){return hl(e.getItemVisual(n,"symbolSize"))},t}(de);function Cie(r,t){this.parent.drift(r,t)}function nm(r,t,e,n){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(n.isIgnore&&n.isIgnore(e))&&!(n.clipShape&&!n.clipShape.contain(t[0],t[1]))&&r.getItemVisual(e,"symbol")!=="none"}function sC(r){return r!=null&&!oe(r)&&(r={isIgnore:r}),r||{}}function lC(r){var t=r.hostModel,e=t.getModel("emphasis");return{emphasisItemStyle:e.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:e.get("focus"),blurScope:e.get("blurScope"),emphasisDisabled:e.get("disabled"),hoverScale:e.get("scale"),labelStatesModels:At(t),cursorStyle:t.get("cursor")}}var Mc=function(){function r(t){this.group=new de,this._SymbolCtor=t||Ac}return r.prototype.updateData=function(t,e){this._progressiveEls=null,e=sC(e);var n=this.group,a=t.hostModel,i=this._data,o=this._SymbolCtor,s=e.disableAnimation,l=lC(t),u={disableAnimation:s},c=e.getSymbolPoint||function(f){return t.getItemLayout(f)};i||n.removeAll(),t.diff(i).add(function(f){var h=c(f);if(nm(t,h,f,e)){var p=new o(t,f,l,u);p.setPosition(h),t.setItemGraphicEl(f,p),n.add(p)}}).update(function(f,h){var p=i.getItemGraphicEl(h),v=c(f);if(!nm(t,v,f,e)){n.remove(p);return}var m=t.getItemVisual(f,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==m)n.remove(p),p=new o(t,f,l,u),p.setPosition(v);else{p.updateData(t,f,l,u);var _={x:v[0],y:v[1]};s?p.attr(_):Oe(p,_,a)}n.add(p),t.setItemGraphicEl(f,p)}).remove(function(f){var h=i.getItemGraphicEl(f);h&&h.fadeOut(function(){n.remove(h)},a)}).execute(),this._getSymbolPoint=c,this._data=t},r.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl(function(n,a){var i=t._getSymbolPoint(a);n.setPosition(i),n.markRedraw()})},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=lC(t),this._data=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e,n){this._progressiveEls=[],n=sC(n);function a(l){l.isGroup||(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i<t.end;i++){var o=e.getItemLayout(i);if(nm(e,o,i,n)){var s=new this._SymbolCtor(e,i,this._seriesScope);s.traverse(a),s.setPosition(o),this.group.add(s),e.setItemGraphicEl(i,s),this._progressiveEls.push(s)}}},r.prototype.eachRendered=function(t){ii(this._progressiveEls||this.group,t)},r.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(a){a.fadeOut(function(){e.remove(a)},n.hostModel)}):e.removeAll()},r}();function uC(r,t,e){var n=r.getBaseAxis(),a=r.getOtherAxis(n),i=Eie(a,e),o=n.dim,s=a.dim,l=t.mapDimension(s),u=t.mapDimension(o),c=s==="x"||s==="radius"?1:0,f=Y(r.dimensions,function(v){return t.mapDimension(v)}),h=!1,p=t.getCalculationInfo("stackResultDimension");return pi(t,f[0])&&(h=!0,f[0]=p),pi(t,f[1])&&(h=!0,f[1]=p),{dataDimsForPoint:f,valueStart:i,valueAxisDim:s,baseAxisDim:o,stacked:!!h,valueDim:l,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function Eie(r,t){var e=0,n=r.scale.getExtent();return t==="start"?e=n[0]:t==="end"?e=n[1]:Be(t)&&!isNaN(t)?e=t:n[0]>0?e=n[0]:n[1]<0&&(e=n[1]),e}function cC(r,t,e,n){var a=NaN;r.stacked&&(a=e.get(e.getCalculationInfo("stackedOverDimension"),n)),isNaN(a)&&(a=r.valueStart);var i=r.baseDataOffset,o=[];return o[i]=e.get(r.baseDim,n),o[1-i]=a,t.dataToPoint(o)}function Tie(r,t){var e=[];return t.diff(r).add(function(n){e.push({cmd:"+",idx:n})}).update(function(n,a){e.push({cmd:"=",idx:a,idx1:n})}).remove(function(n){e.push({cmd:"-",idx:n})}).execute(),e}function Die(r,t,e,n,a,i,o,s){for(var l=Tie(r,t),u=[],c=[],f=[],h=[],p=[],v=[],m=[],g=uC(a,t,o),_=r.getLayout("points")||[],y=t.getLayout("points")||[],w=0;w<l.length;w++){var x=l[w],b=!0,S=void 0,C=void 0;switch(x.cmd){case"=":S=x.idx*2,C=x.idx1*2;var D=_[S],T=_[S+1],E=y[C],A=y[C+1];(isNaN(D)||isNaN(T))&&(D=E,T=A),u.push(D,T),c.push(E,A),f.push(e[S],e[S+1]),h.push(n[C],n[C+1]),m.push(t.getRawIndex(x.idx1));break;case"+":var k=x.idx,I=g.dataDimsForPoint,L=a.dataToPoint([t.get(I[0],k),t.get(I[1],k)]);C=k*2,u.push(L[0],L[1]),c.push(y[C],y[C+1]);var N=cC(g,a,t,k);f.push(N[0],N[1]),h.push(n[C],n[C+1]),m.push(t.getRawIndex(k));break;case"-":b=!1}b&&(p.push(x),v.push(v.length))}v.sort(function(j,fe){return m[j]-m[fe]});for(var P=u.length,V=Kn(P),O=Kn(P),B=Kn(P),R=Kn(P),z=[],w=0;w<v.length;w++){var H=v[w],$=w*2,X=H*2;V[$]=u[X],V[$+1]=u[X+1],O[$]=c[X],O[$+1]=c[X+1],B[$]=f[X],B[$+1]=f[X+1],R[$]=h[X],R[$+1]=h[X+1],z[w]=p[H]}return{current:V,next:O,stackedOnCurrent:B,stackedOnNext:R,status:z}}var di=Math.min,vi=Math.max;function Wo(r,t){return isNaN(r)||isNaN(t)}function am(r,t,e,n,a,i,o,s,l){for(var u,c,f,h,p,v,m=e,g=0;g<n;g++){var _=t[m*2],y=t[m*2+1];if(m>=a||m<0)break;if(Wo(_,y)){if(l){m+=i;continue}break}if(m===e)r[i>0?"moveTo":"lineTo"](_,y),f=_,h=y;else{var w=_-u,x=y-c;if(w*w+x*x<.5){m+=i;continue}if(o>0){for(var b=m+i,S=t[b*2],C=t[b*2+1];S===_&&C===y&&g<n;)g++,b+=i,m+=i,S=t[b*2],C=t[b*2+1],_=t[m*2],y=t[m*2+1],w=_-u,x=y-c;var D=g+1;if(l)for(;Wo(S,C)&&D<n;)D++,b+=i,S=t[b*2],C=t[b*2+1];var T=.5,E=0,A=0,k=void 0,I=void 0;if(D>=n||Wo(S,C))p=_,v=y;else{E=S-u,A=C-c;var L=_-u,N=S-_,P=y-c,V=C-y,O=void 0,B=void 0;if(s==="x"){O=Math.abs(L),B=Math.abs(N);var R=E>0?1:-1;p=_-R*O*o,v=y,k=_+R*B*o,I=y}else if(s==="y"){O=Math.abs(P),B=Math.abs(V);var z=A>0?1:-1;p=_,v=y-z*O*o,k=_,I=y+z*B*o}else O=Math.sqrt(L*L+P*P),B=Math.sqrt(N*N+V*V),T=B/(B+O),p=_-E*o*(1-T),v=y-A*o*(1-T),k=_+E*o*T,I=y+A*o*T,k=di(k,vi(S,_)),I=di(I,vi(C,y)),k=vi(k,di(S,_)),I=vi(I,di(C,y)),E=k-_,A=I-y,p=_-E*O/B,v=y-A*O/B,p=di(p,vi(u,_)),v=di(v,vi(c,y)),p=vi(p,di(u,_)),v=vi(v,di(c,y)),E=_-p,A=y-v,k=_+E*B/O,I=y+A*B/O}r.bezierCurveTo(f,h,p,v,_,y),f=k,h=I}else r.lineTo(_,y)}u=_,c=y,m+=i}return g}var fC=function(){function r(){this.smooth=0,this.smoothConstraint=!0}return r}(),Aie=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polyline",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new fC},t.prototype.buildPath=function(e,n){var a=n.points,i=0,o=a.length/2;if(n.connectNulls){for(;o>0&&Wo(a[o*2-2],a[o*2-1]);o--);for(;i<o&&Wo(a[i*2],a[i*2+1]);i++);}for(;i<o;)i+=am(e,a,i,o,o,1,n.smooth,n.smoothMonotone,n.connectNulls)+1},t.prototype.getPointOn=function(e,n){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var a=this.path,i=a.data,o=Un.CMD,s,l,u=n==="x",c=[],f=0;f<i.length;){var h=i[f++],p=void 0,v=void 0,m=void 0,g=void 0,_=void 0,y=void 0,w=void 0;switch(h){case o.M:s=i[f++],l=i[f++];break;case o.L:if(p=i[f++],v=i[f++],w=u?(e-s)/(p-s):(e-l)/(v-l),w<=1&&w>=0){var x=u?(v-l)*w+l:(p-s)*w+s;return u?[e,x]:[x,e]}s=p,l=v;break;case o.C:p=i[f++],v=i[f++],m=i[f++],g=i[f++],_=i[f++],y=i[f++];var b=u?Eh(s,p,m,_,e,c):Eh(l,v,g,y,e,c);if(b>0)for(var S=0;S<b;S++){var C=c[S];if(C<=1&&C>=0){var x=u?Tt(l,v,g,y,C):Tt(s,p,m,_,C);return u?[e,x]:[x,e]}}s=_,l=y;break}}},t}(Te),Mie=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t}(fC),hC=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-polygon",n}return t.prototype.getDefaultShape=function(){return new Mie},t.prototype.buildPath=function(e,n){var a=n.points,i=n.stackedOnPoints,o=0,s=a.length/2,l=n.smoothMonotone;if(n.connectNulls){for(;s>0&&Wo(a[s*2-2],a[s*2-1]);s--);for(;o<s&&Wo(a[o*2],a[o*2+1]);o++);}for(;o<s;){var u=am(e,a,o,s,s,1,n.smooth,l,n.connectNulls);am(e,i,o+u-1,u,s,-1,n.stackedOnSmooth,l,n.connectNulls),o+=u+1,e.closePath()}},t}(Te);function pC(r,t,e,n,a){var i=r.getArea(),o=i.x,s=i.y,l=i.width,u=i.height,c=e.get(["lineStyle","width"])||0;o-=c/2,s-=c/2,l+=c,u+=c,l=Math.ceil(l),o!==Math.floor(o)&&(o=Math.floor(o),l++);var f=new Pe({shape:{x:o,y:s,width:l,height:u}});if(t){var h=r.getBaseAxis(),p=h.isHorizontal(),v=h.inverse;p?(v&&(f.shape.x+=l),f.shape.width=0):(v||(f.shape.y+=u),f.shape.height=0);var m=ae(a)?function(g){a(g,f)}:null;tt(f,{shape:{width:l,height:u,x:o,y:s}},e,null,n,m)}return f}function dC(r,t,e){var n=r.getArea(),a=ut(n.r0,1),i=ut(n.r,1),o=new ur({shape:{cx:ut(r.cx,1),cy:ut(r.cy,1),r0:a,r:i,startAngle:n.startAngle,endAngle:n.endAngle,clockwise:n.clockwise}});if(t){var s=r.getBaseAxis().dim==="angle";s?o.shape.endAngle=n.startAngle:o.shape.r=a,tt(o,{shape:{endAngle:n.endAngle,r:i}},e)}return o}function kc(r,t,e,n,a){if(r){if(r.type==="polar")return dC(r,t,e);if(r.type==="cartesian2d")return pC(r,t,e,n,a)}else return null;return null}function Uo(r,t){return r.type===t}function vC(r,t){if(r.length===t.length){for(var e=0;e<r.length;e++)if(r[e]!==t[e])return;return!0}}function gC(r){for(var t=1/0,e=1/0,n=-1/0,a=-1/0,i=0;i<r.length;){var o=r[i++],s=r[i++];isNaN(o)||(t=Math.min(o,t),n=Math.max(o,n)),isNaN(s)||(e=Math.min(s,e),a=Math.max(s,a))}return[[t,e],[n,a]]}function mC(r,t){var e=gC(r),n=e[0],a=e[1],i=gC(t),o=i[0],s=i[1];return Math.max(Math.abs(n[0]-o[0]),Math.abs(n[1]-o[1]),Math.abs(a[0]-s[0]),Math.abs(a[1]-s[1]))}function _C(r){return Be(r)?r:r?.5:0}function kie(r,t,e){if(!e.valueDim)return[];for(var n=t.count(),a=Kn(n*2),i=0;i<n;i++){var o=cC(e,r,t,i);a[i*2]=o[0],a[i*2+1]=o[1]}return a}function gi(r,t,e,n,a){var i=e.getBaseAxis(),o=i.dim==="x"||i.dim==="radius"?0:1,s=[],l=0,u=[],c=[],f=[],h=[];if(a){for(l=0;l<r.length;l+=2){var p=t||r;!isNaN(p[l])&&!isNaN(p[l+1])&&h.push(r[l],r[l+1])}r=h}for(l=0;l<r.length-2;l+=2)switch(f[0]=r[l+2],f[1]=r[l+3],c[0]=r[l],c[1]=r[l+1],s.push(c[0],c[1]),n){case"end":u[o]=f[o],u[1-o]=c[1-o],s.push(u[0],u[1]);break;case"middle":var v=(c[o]+f[o])/2,m=[];u[o]=m[o]=v,u[1-o]=c[1-o],m[1-o]=f[1-o],s.push(u[0],u[1]),s.push(m[0],m[1]);break;default:u[o]=c[o],u[1-o]=f[1-o],s.push(u[0],u[1])}return s.push(r[l++],r[l++]),s}function Lie(r,t){var e=[],n=r.length,a,i;function o(c,f,h){var p=c.coord,v=(h-p)/(f.coord-p),m=fK(v,[c.color,f.color]);return{coord:h,color:m}}for(var s=0;s<n;s++){var l=r[s],u=l.coord;if(u<0)a=l;else if(u>t){i?e.push(o(i,l,t)):a&&e.push(o(a,l,0),o(a,l,t));break}else a&&(e.push(o(a,l,0)),a=null),e.push(l),i=l}return e}function Iie(r,t,e){var n=r.getVisual("visualMeta");if(!(!n||!n.length||!r.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 a,i,o=n.length-1;o>=0;o--){var s=r.getDimensionInfo(n[o].dimension);if(a=s&&s.coordDim,a==="x"||a==="y"){i=n[o];break}}if(!i){process.env.NODE_ENV!=="production"&&console.warn("Visual map on line style only support x or y dimension.");return}var l=t.getAxis(a),u=Y(i.stops,function(w){return{coord:l.toGlobalCoord(l.dataToCoord(w.value)),color:w.color}}),c=u.length,f=i.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var h=Lie(u,a==="x"?e.getWidth():e.getHeight()),p=h.length;if(!p&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var v=10,m=h[0].coord-v,g=h[p-1].coord+v,_=g-m;if(_<.001)return"transparent";M(h,function(w){w.offset=(w.coord-m)/_}),h.push({offset:p?h[p-1].offset:.5,color:f[1]||"transparent"}),h.unshift({offset:p?h[0].offset:.5,color:f[0]||"transparent"});var y=new Yu(0,0,0,0,h,!0);return y[a]=m,y[a+"2"]=g,y}}function Nie(r,t,e){var n=r.get("showAllSymbol"),a=n==="auto";if(!(n&&!a)){var i=e.getAxesByScale("ordinal")[0];if(i&&!(a&&Pie(i,t))){var o=t.mapDimension(i.dim),s={};return M(i.getViewLabels(),function(l){var u=i.scale.getRawOrdinalNumber(l.tickValue);s[u]=1}),function(l){return!s.hasOwnProperty(t.get(o,l))}}}}function Pie(r,t){var e=r.getExtent(),n=Math.abs(e[1]-e[0])/r.scale.count();isNaN(n)&&(n=0);for(var a=t.count(),i=Math.max(1,Math.round(a/5)),o=0;o<a;o+=i)if(Ac.getSymbolSize(t,o)[r.isHorizontal()?1:0]*1.5>n)return!1;return!0}function Vie(r,t){return isNaN(r)||isNaN(t)}function Bie(r){for(var t=r.length/2;t>0&&Vie(r[t*2-2],r[t*2-1]);t--);return t-1}function yC(r,t){return[r[t*2],r[t*2+1]]}function Oie(r,t,e){for(var n=r.length/2,a=e==="x"?0:1,i,o,s=0,l=-1,u=0;u<n;u++)if(o=r[u*2+a],!(isNaN(o)||isNaN(r[u*2+1-a]))){if(u===0){i=o;continue}if(i<=t&&o>=t||i>=t&&o<=t){l=u;break}s=u,i=o}return{range:[s,l],t:(t-i)/(o-i)}}function wC(r){if(r.get(["endLabel","show"]))return!0;for(var t=0;t<lr.length;t++)if(r.get([lr[t],"endLabel","show"]))return!0;return!1}function im(r,t,e,n){if(Uo(t,"cartesian2d")){var a=n.getModel("endLabel"),i=a.get("valueAnimation"),o=n.getData(),s={lastFrameIndex:0},l=wC(n)?function(p,v){r._endLabelOnDuring(p,v,o,s,i,a,t)}:null,u=t.getBaseAxis().isHorizontal(),c=pC(t,e,n,function(){var p=r._endLabel;p&&e&&s.originalX!=null&&p.attr({x:s.originalX,y:s.originalY})},l);if(!n.get("clip",!0)){var f=c.shape,h=Math.max(f.width,f.height);u?(f.y-=h,f.height+=h*2):(f.x-=h,f.width+=h*2)}return l&&l(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."),dC(t,e,n)}function Rie(r,t){var e=t.getBaseAxis(),n=e.isHorizontal(),a=e.inverse,i=n?a?"right":"left":"center",o=n?"middle":a?"top":"bottom";return{normal:{align:r.get("align")||i,verticalAlign:r.get("verticalAlign")||o}}}var zie=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(){var e=new de,n=new Mc;this.group.add(n.group),this._symbolDraw=n,this._lineGroup=e,this._changePolyState=J(this._changePolyState,this)},t.prototype.render=function(e,n,a){var i=e.coordinateSystem,o=this.group,s=e.getData(),l=e.getModel("lineStyle"),u=e.getModel("areaStyle"),c=s.getLayout("points")||[],f=i.type==="polar",h=this._coordSys,p=this._symbolDraw,v=this._polyline,m=this._polygon,g=this._lineGroup,_=!n.ssr&&e.get("animation"),y=!u.isEmpty(),w=u.get("origin"),x=uC(i,s,w),b=y&&kie(i,s,x),S=e.get("showSymbol"),C=e.get("connectNulls"),D=S&&!f&&Nie(e,s,i),T=this._data;T&&T.eachItemGraphicEl(function(j,fe){j.__temp&&(o.remove(j),T.setItemGraphicEl(fe,null))}),S||p.remove(),o.add(g);var E=f?!1:e.get("step"),A;i&&i.getArea&&e.get("clip",!0)&&(A=i.getArea(),A.width!=null?(A.x-=.1,A.y-=.1,A.width+=.2,A.height+=.2):A.r0&&(A.r0-=.5,A.r+=.5)),this._clipShapeForSymbol=A;var k=Iie(s,i,a)||s.getVisual("style")[s.getVisual("drawType")];if(!(v&&h.type===i.type&&E===this._step))S&&p.updateData(s,{isIgnore:D,clipShape:A,disableAnimation:!0,getSymbolPoint:function(j){return[c[j*2],c[j*2+1]]}}),_&&this._initSymbolLabelAnimation(s,i,A),E&&(b&&(b=gi(b,c,i,E,C)),c=gi(c,null,i,E,C)),v=this._newPolyline(c),y?m=this._newPolygon(c,b):m&&(g.remove(m),m=this._polygon=null),f||this._initOrUpdateEndLabel(e,i,To(k)),g.setClipPath(im(this,i,!0,e));else{y&&!m?m=this._newPolygon(c,b):m&&!y&&(g.remove(m),m=this._polygon=null),f||this._initOrUpdateEndLabel(e,i,To(k));var I=g.getClipPath();if(I){var L=im(this,i,!1,e);tt(I,{shape:L.shape},e)}else g.setClipPath(im(this,i,!0,e));S&&p.updateData(s,{isIgnore:D,clipShape:A,disableAnimation:!0,getSymbolPoint:function(j){return[c[j*2],c[j*2+1]]}}),(!vC(this._stackedOnPoints,b)||!vC(this._points,c))&&(_?this._doUpdateAnimation(s,b,i,a,E,w,C):(E&&(b&&(b=gi(b,c,i,E,C)),c=gi(c,null,i,E,C)),v.setShape({points:c}),m&&m.setShape({points:c,stackedOnPoints:b})))}var N=e.getModel("emphasis"),P=N.get("focus"),V=N.get("blurScope"),O=N.get("disabled");if(v.useStyle(ue(l.getLineStyle(),{fill:"none",stroke:k,lineJoin:"bevel"})),zt(v,e,"lineStyle"),v.style.lineWidth>0&&e.get(["emphasis","lineStyle","width"])==="bolder"){var B=v.getState("emphasis").style;B.lineWidth=+v.style.lineWidth+1}ge(v).seriesIndex=e.seriesIndex,ot(v,P,V,O);var R=_C(e.get("smooth")),z=e.get("smoothMonotone");if(v.setShape({smooth:R,smoothMonotone:z,connectNulls:C}),m){var H=s.getCalculationInfo("stackedOnSeries"),$=0;m.useStyle(ue(u.getAreaStyle(),{fill:k,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),H&&($=_C(H.get("smooth"))),m.setShape({smooth:R,stackedOnSmooth:$,smoothMonotone:z,connectNulls:C}),zt(m,e,"areaStyle"),ge(m).seriesIndex=e.seriesIndex,ot(m,P,V,O)}var X=this._changePolyState;s.eachItemGraphicEl(function(j){j&&(j.onHoverStateChange=X)}),this._polyline.onHoverStateChange=X,this._data=s,this._coordSys=i,this._stackedOnPoints=b,this._points=c,this._step=E,this._valueOrigin=w,e.get("triggerLineEvent")&&(this.packEventData(e,v),m&&this.packEventData(e,m))},t.prototype.packEventData=function(e,n){ge(n).eventData={componentType:"series",componentSubType:"line",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"line"}},t.prototype.highlight=function(e,n,a,i){var o=e.getData(),s=ao(o,i);if(this._changePolyState("emphasis"),!(s instanceof Array)&&s!=null&&s>=0){var l=o.getLayout("points"),u=o.getItemGraphicEl(s);if(!u){var c=l[s*2],f=l[s*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var h=e.get("zlevel")||0,p=e.get("z")||0;u=new Ac(o,s),u.x=c,u.y=f,u.setZ(h,p);var v=u.getSymbolPath().getTextContent();v&&(v.zlevel=h,v.z=p,v.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(s,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else Xe.prototype.highlight.call(this,e,n,a,i)},t.prototype.downplay=function(e,n,a,i){var o=e.getData(),s=ao(o,i);if(this._changePolyState("normal"),s!=null&&s>=0){var l=o.getItemGraphicEl(s);l&&(l.__temp?(o.setItemGraphicEl(s,null),this.group.remove(l)):l.downplay())}else Xe.prototype.downplay.call(this,e,n,a,i)},t.prototype._changePolyState=function(e){var n=this._polygon;rp(this._polyline,e),n&&rp(n,e)},t.prototype._newPolyline=function(e){var n=this._polyline;return n&&this._lineGroup.remove(n),n=new Aie({shape:{points:e},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(n),this._polyline=n,n},t.prototype._newPolygon=function(e,n){var a=this._polygon;return a&&this._lineGroup.remove(a),a=new hC({shape:{points:e,stackedOnPoints:n},segmentIgnoreThreshold:2}),this._lineGroup.add(a),this._polygon=a,a},t.prototype._initSymbolLabelAnimation=function(e,n,a){var i,o,s=n.getBaseAxis(),l=s.inverse;n.type==="cartesian2d"?(i=s.isHorizontal(),o=!1):n.type==="polar"&&(i=s.dim==="angle",o=!0);var u=e.hostModel,c=u.get("animationDuration");ae(c)&&(c=c(null));var f=u.get("animationDelay")||0,h=ae(f)?f(null):f;e.eachItemGraphicEl(function(p,v){var m=p;if(m){var g=[p.x,p.y],_=void 0,y=void 0,w=void 0;if(a)if(o){var x=a,b=n.pointToCoord(g);i?(_=x.startAngle,y=x.endAngle,w=-b[1]/180*Math.PI):(_=x.r0,y=x.r,w=b[0])}else{var S=a;i?(_=S.x,y=S.x+S.width,w=p.x):(_=S.y+S.height,y=S.y,w=p.y)}var C=y===_?0:(w-_)/(y-_);l&&(C=1-C);var D=ae(f)?f(v):c*C+h,T=m.getSymbolPath(),E=T.getTextContent();m.attr({scaleX:0,scaleY:0}),m.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:D}),E&&E.animateFrom({style:{opacity:0}},{duration:300,delay:D}),T.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(e,n,a){var i=e.getModel("endLabel");if(wC(e)){var o=e.getData(),s=this._polyline,l=o.getLayout("points");if(!l){s.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new Ve({z2:200}),u.ignoreClip=!0,s.setTextContent(this._endLabel),s.disableLabelAnimation=!0);var c=Bie(l);c>=0&&(Ht(s,At(e,"endLabel"),{inheritColor:a,labelFetcher:e,labelDataIndex:c,defaultText:function(f,h,p){return p!=null?oC(o,p):xl(o,f)},enableTextSetter:!0},Rie(i,n)),s.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(e,n,a,i,o,s,l){var u=this._endLabel,c=this._polyline;if(u){e<1&&i.originalX==null&&(i.originalX=u.x,i.originalY=u.y);var f=a.getLayout("points"),h=a.hostModel,p=h.get("connectNulls"),v=s.get("precision"),m=s.get("distance")||0,g=l.getBaseAxis(),_=g.isHorizontal(),y=g.inverse,w=n.shape,x=y?_?w.x:w.y+w.height:_?w.x+w.width:w.y,b=(_?m:0)*(y?-1:1),S=(_?0:-m)*(y?-1:1),C=_?"x":"y",D=Oie(f,x,C),T=D.range,E=T[1]-T[0],A=void 0;if(E>=1){if(E>1&&!p){var k=yC(f,T[0]);u.attr({x:k[0]+b,y:k[1]+S}),o&&(A=h.getRawValue(T[0]))}else{var k=c.getPointOn(x,C);k&&u.attr({x:k[0]+b,y:k[1]+S});var I=h.getRawValue(T[0]),L=h.getRawValue(T[1]);o&&(A=Lw(a,v,I,L,D.t))}i.lastFrameIndex=T[0]}else{var N=e===1||i.lastFrameIndex>0?T[0]:0,k=yC(f,N);o&&(A=h.getRawValue(N)),u.attr({x:k[0]+b,y:k[1]+S})}if(o){var P=Zs(u);typeof P.setLabelText=="function"&&P.setLabelText(A)}}},t.prototype._doUpdateAnimation=function(e,n,a,i,o,s,l){var u=this._polyline,c=this._polygon,f=e.hostModel,h=Die(this._data,e,this._stackedOnPoints,n,this._coordSys,a,this._valueOrigin),p=h.current,v=h.stackedOnCurrent,m=h.next,g=h.stackedOnNext;if(o&&(v=gi(h.stackedOnCurrent,h.current,a,o,l),p=gi(h.current,null,a,o,l),g=gi(h.stackedOnNext,h.next,a,o,l),m=gi(h.next,null,a,o,l)),mC(p,m)>3e3||c&&mC(v,g)>3e3){u.stopAnimation(),u.setShape({points:m}),c&&(c.stopAnimation(),c.setShape({points:m,stackedOnPoints:g}));return}u.shape.__points=h.current,u.shape.points=p;var _={shape:{points:m}};h.current!==p&&(_.shape.__points=h.next),u.stopAnimation(),Oe(u,_,f),c&&(c.setShape({points:p,stackedOnPoints:v}),c.stopAnimation(),Oe(c,{shape:{stackedOnPoints:g}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var y=[],w=h.status,x=0;x<w.length;x++){var b=w[x].cmd;if(b==="="){var S=e.getItemGraphicEl(w[x].idx1);S&&y.push({el:S,ptIdx:x})}}u.animators&&u.animators.length&&u.animators[0].during(function(){c&&c.dirtyShape();for(var C=u.shape.__points,D=0;D<y.length;D++){var T=y[D].el,E=y[D].ptIdx*2;T.x=C[E],T.y=C[E+1],T.markRedraw()}})},t.prototype.remove=function(e){var n=this.group,a=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),a&&a.eachItemGraphicEl(function(i,o){i.__temp&&(n.remove(i),a.setItemGraphicEl(o,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(Xe);function Lc(r,t){return{seriesType:r,plan:ul(),reset:function(e){var n=e.getData(),a=e.coordinateSystem,i=e.pipelineContext,o=t||i.large;if(a){var s=Y(a.dimensions,function(p){return n.mapDimension(p)}).slice(0,2),l=s.length,u=n.getCalculationInfo("stackResultDimension");pi(n,s[0])&&(s[0]=u),pi(n,s[1])&&(s[1]=u);var c=n.getStore(),f=n.getDimensionIndex(s[0]),h=n.getDimensionIndex(s[1]);return l&&{progress:function(p,v){for(var m=p.end-p.start,g=o&&Kn(m*l),_=[],y=[],w=p.start,x=0;w<p.end;w++){var b=void 0;if(l===1){var S=c.get(f,w);b=a.dataToPoint(S,null,y)}else _[0]=c.get(f,w),_[1]=c.get(h,w),b=a.dataToPoint(_,null,y);o?(g[x++]=b[0],g[x++]=b[1]):v.setItemLayout(w,b.slice())}o&&v.setLayout("points",g)}}}}}}var Hie={average:function(r){for(var t=0,e=0,n=0;n<r.length;n++)isNaN(r[n])||(t+=r[n],e++);return e===0?NaN:t/e},sum:function(r){for(var t=0,e=0;e<r.length;e++)t+=r[e]||0;return t},max:function(r){for(var t=-1/0,e=0;e<r.length;e++)r[e]>t&&(t=r[e]);return isFinite(t)?t:NaN},min:function(r){for(var t=1/0,e=0;e<r.length;e++)r[e]<t&&(t=r[e]);return isFinite(t)?t:NaN},nearest:function(r){return r[0]}},Fie=function(r){return Math.round(r.length/2)};function xC(r){return{seriesType:r,reset:function(t,e,n){var a=t.getData(),i=t.get("sampling"),o=t.coordinateSystem,s=a.count();if(s>10&&o.type==="cartesian2d"&&i){var l=o.getBaseAxis(),u=o.getOtherAxis(l),c=l.getExtent(),f=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(f||1),p=Math.round(s/h);if(isFinite(p)&&p>1){i==="lttb"?t.setData(a.lttbDownSample(a.mapDimension(u.dim),1/p)):i==="minmax"&&t.setData(a.minmaxDownSample(a.mapDimension(u.dim),1/p));var v=void 0;K(i)?v=Hie[i]:ae(i)&&(v=i),v&&t.setData(a.downSample(a.mapDimension(u.dim),1/p,v,Fie))}}}}}function Gie(r){r.registerChartView(zie),r.registerSeriesModel(Sie),r.registerLayout(Lc("line",!0)),r.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,xC("line"))}var Ic=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return Aa(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(e,n,a){var i=this.coordinateSystem;if(i&&i.clampData){var o=i.clampData(e),s=i.dataToPoint(o);if(a)M(i.getAxes(),function(h,p){if(h.type==="category"&&n!=null){var v=h.getTicksCoords(),m=h.getTickModel().get("alignWithLabel"),g=o[p],_=n[p]==="x1"||n[p]==="y1";if(_&&!m&&(g+=1),v.length<2)return;if(v.length===2){s[p]=h.toGlobalCoord(h.getExtent()[_?1:0]);return}for(var y=void 0,w=void 0,x=1,b=0;b<v.length;b++){var S=v[b].coord,C=b===v.length-1?v[b-1].tickValue+x:v[b].tickValue;if(C===g){w=S;break}else if(C<g)y=S;else if(y!=null&&C>g){w=(S+y)/2;break}b===1&&(x=C-v[0].tickValue)}w==null&&(y?y&&(w=v[v.length-1].coord):w=v[0].coord),s[p]=h.toGlobalCoord(w)}});else{var l=this.getData(),u=l.getLayout("offset"),c=l.getLayout("size"),f=i.getBaseAxis().isHorizontal()?0:1;s[f]+=u+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}(Ke);Ke.registerClass(Ic);var $ie=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(){return Aa(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 e=this.get("progressiveThreshold"),n=this.get("largeThreshold");return n>e&&(e=n),e},t.prototype.brushSelector=function(e,n,a){return a.rect(n.getItemLayout(e))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=oi(Ic.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}(Ic),Wie=function(){function r(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return r}(),gd=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="sausage",n}return t.prototype.getDefaultShape=function(){return new Wie},t.prototype.buildPath=function(e,n){var a=n.cx,i=n.cy,o=Math.max(n.r0||0,0),s=Math.max(n.r,0),l=(s-o)*.5,u=o+l,c=n.startAngle,f=n.endAngle,h=n.clockwise,p=Math.PI*2,v=h?f-c<p:c-f<p;v||(c=f-(h?p:-p));var m=Math.cos(c),g=Math.sin(c),_=Math.cos(f),y=Math.sin(f);v?(e.moveTo(m*o+a,g*o+i),e.arc(m*u+a,g*u+i,l,-Math.PI+c,c,!h)):e.moveTo(m*s+a,g*s+i),e.arc(a,i,s,c,f,!h),e.arc(_*u+a,y*u+i,l,f-Math.PI*2,f-Math.PI,!h),o!==0&&e.arc(a,i,o,f,c,h)},t}(Te);function Uie(r,t){t=t||{};var e=t.isRoundCap;return function(n,a,i){var o=a.position;if(!o||o instanceof Array)return Hh(n,a,i);var s=r(o),l=a.distance!=null?a.distance:5,u=this.shape,c=u.cx,f=u.cy,h=u.r,p=u.r0,v=(h+p)/2,m=u.startAngle,g=u.endAngle,_=(m+g)/2,y=e?Math.abs(h-p)/2:0,w=Math.cos,x=Math.sin,b=c+h*w(m),S=f+h*x(m),C="left",D="top";switch(s){case"startArc":b=c+(p-l)*w(_),S=f+(p-l)*x(_),C="center",D="top";break;case"insideStartArc":b=c+(p+l)*w(_),S=f+(p+l)*x(_),C="center",D="bottom";break;case"startAngle":b=c+v*w(m)+md(m,l+y,!1),S=f+v*x(m)+_d(m,l+y,!1),C="right",D="middle";break;case"insideStartAngle":b=c+v*w(m)+md(m,-l+y,!1),S=f+v*x(m)+_d(m,-l+y,!1),C="left",D="middle";break;case"middle":b=c+v*w(_),S=f+v*x(_),C="center",D="middle";break;case"endArc":b=c+(h+l)*w(_),S=f+(h+l)*x(_),C="center",D="bottom";break;case"insideEndArc":b=c+(h-l)*w(_),S=f+(h-l)*x(_),C="center",D="top";break;case"endAngle":b=c+v*w(g)+md(g,l+y,!0),S=f+v*x(g)+_d(g,l+y,!0),C="left",D="middle";break;case"insideEndAngle":b=c+v*w(g)+md(g,-l+y,!0),S=f+v*x(g)+_d(g,-l+y,!0),C="right",D="middle";break;default:return Hh(n,a,i)}return n=n||{},n.x=b,n.y=S,n.align=C,n.verticalAlign=D,n}}function Yie(r,t,e,n){if(Be(n)){r.setTextConfig({rotation:n});return}else if(U(t)){r.setTextConfig({rotation:0});return}var a=r.shape,i=a.clockwise?a.startAngle:a.endAngle,o=a.clockwise?a.endAngle:a.startAngle,s=(i+o)/2,l,u=e(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":l=s;break;case"startAngle":case"insideStartAngle":l=i;break;case"endAngle":case"insideEndAngle":l=o;break;default:r.setTextConfig({rotation:0});return}var c=Math.PI*1.5-l;u==="middle"&&c>Math.PI/2&&c<Math.PI*1.5&&(c-=Math.PI),r.setTextConfig({rotation:c})}function md(r,t,e){return t*Math.sin(r)*(e?-1:1)}function _d(r,t,e){return t*Math.cos(r)*(e?1:-1)}function Yo(r,t,e){var n=r.get("borderRadius");if(n==null)return e?{cornerRadius:0}:null;U(n)||(n=[n,n,n,n]);var a=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Y(n,function(i){return gn(i,a)})}}var om=Math.max,sm=Math.min;function jie(r,t){var e=r.getArea&&r.getArea();if(Uo(r,"cartesian2d")){var n=r.getBaseAxis();if(n.type!=="category"||!n.onBand){var a=t.getLayout("bandWidth");n.isHorizontal()?(e.x-=a,e.width+=a*2):(e.y-=a,e.height+=a*2)}}return e}var Xie=function(r){F(t,r);function t(){var e=r.call(this)||this;return e.type=t.type,e._isFirstFrame=!0,e}return t.prototype.render=function(e,n,a,i){this._model=e,this._removeOnRenderedListener(a),this._updateDrawMode(e);var o=e.get("coordinateSystem");o==="cartesian2d"||o==="polar"?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(e,n,a):this._renderNormal(e,n,a,i)):process.env.NODE_ENV!=="production"&&it("Only cartesian2d and polar supported for bar.")},t.prototype.incrementalPrepareRender=function(e){this._clear(),this._updateDrawMode(e),this._updateLargeClip(e)},t.prototype.incrementalRender=function(e,n){this._progressiveEls=[],this._incrementalRenderLarge(e,n)},t.prototype.eachRendered=function(e){ii(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var n=e.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(e,n,a,i){var o=this.group,s=e.getData(),l=this._data,u=e.coordinateSystem,c=u.getBaseAxis(),f;u.type==="cartesian2d"?f=c.isHorizontal():u.type==="polar"&&(f=c.dim==="angle");var h=e.isAnimationEnabled()?e:null,p=qie(e,u);p&&this._enableRealtimeSort(p,s,a);var v=e.get("clip",!0)||p,m=jie(u,s);o.removeClipPath();var g=e.get("roundCap",!0),_=e.get("showBackground",!0),y=e.getModel("backgroundStyle"),w=y.get("borderRadius")||0,x=[],b=this._backgroundEls,S=i&&i.isInitSort,C=i&&i.type==="changeAxisOrder";function D(A){var k=yd[u.type](s,A),I=roe(u,f,k);return I.useStyle(y.getItemStyle()),u.type==="cartesian2d"?I.setShape("r",w):I.setShape("cornerRadius",w),x[A]=I,I}s.diff(l).add(function(A){var k=s.getItemModel(A),I=yd[u.type](s,A,k);if(_&&D(A),!(!s.hasValue(A)||!TC[u.type](I))){var L=!1;v&&(L=bC[u.type](m,I));var N=SC[u.type](e,s,A,I,f,h,c.model,!1,g);p&&(N.forceLabelAnimation=!0),AC(N,s,A,k,I,e,f,u.type==="polar"),S?N.attr({shape:I}):p?CC(p,h,N,I,A,f,!1,!1):tt(N,{shape:I},e,A),s.setItemGraphicEl(A,N),o.add(N),N.ignore=L}}).update(function(A,k){var I=s.getItemModel(A),L=yd[u.type](s,A,I);if(_){var N=void 0;b.length===0?N=D(k):(N=b[k],N.useStyle(y.getItemStyle()),u.type==="cartesian2d"?N.setShape("r",w):N.setShape("cornerRadius",w),x[A]=N);var P=yd[u.type](s,A),V=IC(f,P,u);Oe(N,{shape:V},h,A)}var O=l.getItemGraphicEl(k);if(!s.hasValue(A)||!TC[u.type](L)){o.remove(O);return}var B=!1;if(v&&(B=bC[u.type](m,L),B&&o.remove(O)),O?yn(O):O=SC[u.type](e,s,A,L,f,h,c.model,!!O,g),p&&(O.forceLabelAnimation=!0),C){var R=O.getTextContent();if(R){var z=Zs(R);z.prevValue!=null&&(z.prevValue=z.value)}}else AC(O,s,A,I,L,e,f,u.type==="polar");S?O.attr({shape:L}):p?CC(p,h,O,L,A,f,!0,C):Oe(O,{shape:L},e,A,null),s.setItemGraphicEl(A,O),O.ignore=B,o.add(O)}).remove(function(A){var k=l.getItemGraphicEl(A);k&&ju(k,e,A)}).execute();var T=this._backgroundGroup||(this._backgroundGroup=new de);T.removeAll();for(var E=0;E<x.length;++E)T.add(x[E]);o.add(T),this._backgroundEls=x,this._data=s},t.prototype._renderLarge=function(e,n,a){this._clear(),kC(e,this.group),this._updateLargeClip(e)},t.prototype._incrementalRenderLarge=function(e,n){this._removeBackground(),kC(n,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(e){var n=e.get("clip",!0)&&kc(e.coordinateSystem,!1,e),a=this.group;n?a.setClipPath(n):a.removeClipPath()},t.prototype._enableRealtimeSort=function(e,n,a){var i=this;if(n.count()){var o=e.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(n,e,a),this._isFirstFrame=!1;else{var s=function(l){var u=n.getItemGraphicEl(l),c=u&&u.shape;return c&&Math.abs(o.isHorizontal()?c.height:c.width)||0};this._onRendered=function(){i._updateSortWithinSameData(n,s,o,a)},a.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(e,n,a){var i=[];return e.each(e.mapDimension(n.dim),function(o,s){var l=a(s);l=l??NaN,i.push({dataIndex:s,mappedValue:l,ordinalNumber:o})}),i.sort(function(o,s){return s.mappedValue-o.mappedValue}),{ordinalNumbers:Y(i,function(o){return o.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(e,n,a){for(var i=a.scale,o=e.mapDimension(a.dim),s=Number.MAX_VALUE,l=0,u=i.getOrdinalMeta().categories.length;l<u;++l){var c=e.rawIndexOf(o,i.getRawOrdinalNumber(l)),f=c<0?Number.MIN_VALUE:n(e.indexOfRawIndex(c));if(f>s)return!0;s=f}return!1},t.prototype._isOrderDifferentInView=function(e,n){for(var a=n.scale,i=a.getExtent(),o=Math.max(0,i[0]),s=Math.min(i[1],a.getOrdinalMeta().categories.length-1);o<=s;++o)if(e.ordinalNumbers[o]!==a.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(e,n,a,i){if(this._isOrderChangedWithinSameData(e,n,a)){var o=this._dataSort(e,a,n);this._isOrderDifferentInView(o,a)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",axisId:a.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(e,n,a){var i=n.baseAxis,o=this._dataSort(e,i,function(s){return e.get(e.mapDimension(n.otherAxis.dim),s)});a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},t.prototype.remove=function(e,n){this._clear(this._model),this._removeOnRenderedListener(n)},t.prototype.dispose=function(e,n){this._removeOnRenderedListener(n)},t.prototype._removeOnRenderedListener=function(e){this._onRendered&&(e.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(e){var n=this.group,a=this._data;e&&e.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(i){ju(i,e,ge(i).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}(Xe),bC={cartesian2d:function(r,t){var e=t.width<0?-1:1,n=t.height<0?-1:1;e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height);var a=r.x+r.width,i=r.y+r.height,o=om(t.x,r.x),s=sm(t.x+t.width,a),l=om(t.y,r.y),u=sm(t.y+t.height,i),c=s<o,f=u<l;return t.x=c&&o>a?s:o,t.y=f&&l>i?u:l,t.width=c?0:s-o,t.height=f?0:u-l,e<0&&(t.x+=t.width,t.width=-t.width),n<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(r,t){var e=t.r0<=t.r?1:-1;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}var a=sm(t.r,r.r),i=om(t.r0,r.r0);t.r=a,t.r0=i;var o=a-i<0;if(e<0){var n=t.r;t.r=t.r0,t.r0=n}return o}},SC={cartesian2d:function(r,t,e,n,a,i,o,s,l){var u=new Pe({shape:G({},n),z2:1});if(u.__dataIndex=e,u.name="item",i){var c=u.shape,f=a?"height":"width";c[f]=0}return u},polar:function(r,t,e,n,a,i,o,s,l){var u=!a&&l?gd:ur,c=new u({shape:n,z2:1});c.name="item";var f=DC(a);if(c.calculateTextPosition=Uie(f,{isRoundCap:u===gd}),i){var h=c.shape,p=a?"r":"endAngle",v={};h[p]=a?n.r0:n.startAngle,v[p]=n[p],(s?Oe:tt)(c,{shape:v},i)}return c}};function qie(r,t){var e=r.get("realtimeSort",!0),n=t.getBaseAxis();if(process.env.NODE_ENV!=="production"&&e&&(n.type!=="category"&&it("`realtimeSort` will not work because this bar series is not based on a category axis."),t.type!=="cartesian2d"&&it("`realtimeSort` will not work because this bar series is not on cartesian2d.")),e&&n.type==="category"&&t.type==="cartesian2d")return{baseAxis:n,otherAxis:t.getOtherAxis(n)}}function CC(r,t,e,n,a,i,o,s){var l,u;i?(u={x:n.x,width:n.width},l={y:n.y,height:n.height}):(u={y:n.y,height:n.height},l={x:n.x,width:n.width}),s||(o?Oe:tt)(e,{shape:l},t,a,null);var c=t?r.baseAxis.model:null;(o?Oe:tt)(e,{shape:u},c,a)}function EC(r,t){for(var e=0;e<t.length;e++)if(!isFinite(r[t[e]]))return!0;return!1}var Zie=["x","y","width","height"],Kie=["cx","cy","r","startAngle","endAngle"],TC={cartesian2d:function(r){return!EC(r,Zie)},polar:function(r){return!EC(r,Kie)}},yd={cartesian2d:function(r,t,e){var n=r.getItemLayout(t),a=e?Qie(e,n):0,i=n.width>0?1:-1,o=n.height>0?1:-1;return{x:n.x+i*a/2,y:n.y+o*a/2,width:n.width-i*a,height:n.height-o*a}},polar:function(r,t,e){var n=r.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 Jie(r){return r.startAngle!=null&&r.endAngle!=null&&r.startAngle===r.endAngle}function DC(r){return function(t){var e=t?"Arc":"Angle";return function(n){switch(n){case"start":case"insideStart":case"end":case"insideEnd":return n+e;default:return n}}}(r)}function AC(r,t,e,n,a,i,o,s){var l=t.getItemVisual(e,"style");if(s){if(!i.get("roundCap")){var c=r.shape,f=Yo(n.getModel("itemStyle"),c,!0);G(c,f),r.setShape(c)}}else{var u=n.get(["itemStyle","borderRadius"])||0;r.setShape("r",u)}r.useStyle(l);var h=n.getShallow("cursor");h&&r.attr("cursor",h);var p=s?o?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":o?a.height>=0?"bottom":"top":a.width>=0?"right":"left",v=At(n);Ht(r,v,{labelFetcher:i,labelDataIndex:e,defaultText:xl(i.getData(),e),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:p});var m=r.getTextContent();if(s&&m){var g=n.get(["label","position"]);r.textConfig.inside=g==="middle"?!0:null,Yie(r,g==="outside"?p:g,DC(o),n.get(["label","rotate"]))}Jx(m,v,i.getRawValue(e),function(y){return oC(t,y)});var _=n.getModel(["emphasis"]);ot(r,_.get("focus"),_.get("blurScope"),_.get("disabled")),zt(r,n),Jie(a)&&(r.style.fill="none",r.style.stroke="none",M(r.states,function(y){y.style&&(y.style.fill=y.style.stroke="none")}))}function Qie(r,t){var e=r.get(["itemStyle","borderColor"]);if(!e||e==="none")return 0;var n=r.get(["itemStyle","borderWidth"])||0,a=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(n,a,i)}var eoe=function(){function r(){}return r}(),MC=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="largeBar",n}return t.prototype.getDefaultShape=function(){return new eoe},t.prototype.buildPath=function(e,n){for(var a=n.points,i=this.baseDimIdx,o=1-this.baseDimIdx,s=[],l=[],u=this.barWidth,c=0;c<a.length;c+=3)l[i]=u,l[o]=a[c+2],s[i]=a[c+i],s[o]=a[c+o],e.rect(s[0],s[1],l[0],l[1])},t}(Te);function kC(r,t,e,n){var a=r.getData(),i=a.getLayout("valueAxisHorizontal")?1:0,o=a.getLayout("largeDataIndices"),s=a.getLayout("size"),l=r.getModel("backgroundStyle"),u=a.getLayout("largeBackgroundPoints");if(u){var c=new MC({shape:{points:u},incremental:!!n,silent:!0,z2:0});c.baseDimIdx=i,c.largeDataIndices=o,c.barWidth=s,c.useStyle(l.getItemStyle()),t.add(c),e&&e.push(c)}var f=new MC({shape:{points:a.getLayout("largePoints")},incremental:!!n,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=i,f.largeDataIndices=o,f.barWidth=s,t.add(f),f.useStyle(a.getVisual("style")),f.style.stroke=null,ge(f).seriesIndex=r.seriesIndex,r.get("silent")||(f.on("mousedown",LC),f.on("mousemove",LC)),e&&e.push(f)}var LC=n1(function(r){var t=this,e=toe(t,r.offsetX,r.offsetY);ge(t).dataIndex=e>=0?e:null},30,!1);function toe(r,t,e){for(var n=r.baseDimIdx,a=1-n,i=r.shape.points,o=r.largeDataIndices,s=[],l=[],u=r.barWidth,c=0,f=i.length/3;c<f;c++){var h=c*3;if(l[n]=u,l[a]=i[h+2],s[n]=i[h+n],s[a]=i[h+a],l[a]<0&&(s[a]+=l[a],l[a]=-l[a]),t>=s[0]&&t<=s[0]+l[0]&&e>=s[1]&&e<=s[1]+l[1])return o[c]}return-1}function IC(r,t,e){if(Uo(e,"cartesian2d")){var n=t,a=e.getArea();return{x:r?n.x:a.x,y:r?a.y:n.y,width:r?n.width:a.width,height:r?a.height:n.height}}else{var a=e.getArea(),i=t;return{cx:a.cx,cy:a.cy,r0:r?a.r0:i.r0,r:r?a.r:i.r,startAngle:r?i.startAngle:0,endAngle:r?i.endAngle:Math.PI*2}}}function roe(r,t,e){var n=r.type==="polar"?ur:Pe;return new n({shape:IC(t,e,r),silent:!0,z2:0})}function noe(r){r.registerChartView(Xie),r.registerSeriesModel($ie),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,me(qS,"bar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,ZS("bar")),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,xC("bar")),r.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(a){t.sortInfo&&a.axis.setCategorySortInfo(t.sortInfo)})})}var NC=Math.PI*2,wd=Math.PI/180;function PC(r,t){return Et(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function VC(r,t){var e=PC(r,t),n=r.get("center"),a=r.get("radius");U(a)||(a=[0,a]);var i=Z(e.width,t.getWidth()),o=Z(e.height,t.getHeight()),s=Math.min(i,o),l=Z(a[0],s/2),u=Z(a[1],s/2),c,f,h=r.coordinateSystem;if(h){var p=h.dataToPoint(n);c=p[0]||0,f=p[1]||0}else U(n)||(n=[n,n]),c=Z(n[0],i)+e.x,f=Z(n[1],o)+e.y;return{cx:c,cy:f,r0:l,r:u}}function aoe(r,t,e){t.eachSeriesByType(r,function(n){var a=n.getData(),i=a.mapDimension("value"),o=PC(n,e),s=VC(n,e),l=s.cx,u=s.cy,c=s.r,f=s.r0,h=-n.get("startAngle")*wd,p=n.get("endAngle"),v=n.get("padAngle")*wd;p=p==="auto"?h-NC:-p*wd;var m=n.get("minAngle")*wd,g=m+v,_=0;a.each(i,function(V){!isNaN(V)&&_++});var y=a.getSum(i),w=Math.PI/(y||_)*2,x=n.get("clockwise"),b=n.get("roseType"),S=n.get("stillShowZeroSum"),C=a.getDataExtent(i);C[0]=0;var D=x?1:-1,T=[h,p],E=D*v/2;Kg(T,!x),h=T[0],p=T[1];var A=BC(n);A.startAngle=h,A.endAngle=p,A.clockwise=x;var k=Math.abs(p-h),I=k,L=0,N=h;if(a.setLayout({viewRect:o,r:c}),a.each(i,function(V,O){var B;if(isNaN(V)){a.setItemLayout(O,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:x,cx:l,cy:u,r0:f,r:b?NaN:c});return}b!=="area"?B=y===0&&S?w:V*w:B=k/_,B<g?(B=g,I-=g):L+=V;var R=N+D*B,z=0,H=0;v>B?(z=N+D*B/2,H=z):(z=N+E,H=R-E),a.setItemLayout(O,{angle:B,startAngle:z,endAngle:H,clockwise:x,cx:l,cy:u,r0:f,r:b?We(V,C,[f,c]):c}),N=R}),I<NC&&_)if(I<=.001){var P=k/_;a.each(i,function(V,O){if(!isNaN(V)){var B=a.getItemLayout(O);B.angle=P;var R=0,z=0;P<v?(R=h+D*(O+1/2)*P,z=R):(R=h+D*O*P+E,z=h+D*(O+1)*P-E),B.startAngle=R,B.endAngle=z}})}else w=I/L,N=h,a.each(i,function(V,O){if(!isNaN(V)){var B=a.getItemLayout(O),R=B.angle===g?g:V*w,z=0,H=0;R<v?(z=N+D*R/2,H=z):(z=N+E,H=N+D*R-E),B.startAngle=z,B.endAngle=H,N+=D*R}})})}var BC=Ne();function Nc(r){return{seriesType:r,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(!(!n||!n.length)){var a=t.getData();a.filterSelf(function(i){for(var o=a.getName(i),s=0;s<n.length;s++)if(!n[s].isSelected(o))return!1;return!0})}}}}var ioe=Math.PI/180;function OC(r,t,e,n,a,i,o,s,l,u){if(r.length<2)return;function c(m){for(var g=m.rB,_=g*g,y=0;y<m.list.length;y++){var w=m.list[y],x=Math.abs(w.label.y-e),b=n+w.len,S=b*b,C=Math.sqrt(Math.abs((1-x*x/_)*S)),D=t+(C+w.len2)*a,T=D-w.label.x,E=w.targetTextWidth-T*a;RC(w,E,!0),w.label.x=D}}function f(m){for(var g={list:[],maxY:0},_={list:[],maxY:0},y=0;y<m.length;y++)if(m[y].labelAlignTo==="none"){var w=m[y],x=w.label.y>e?_:g,b=Math.abs(w.label.y-e);if(b>=x.maxY){var S=w.label.x-t-w.len2*a,C=n+w.len,D=Math.abs(S)<C?Math.sqrt(b*b/(1-S*S/C/C)):C;x.rB=D,x.maxY=b}x.list.push(w)}c(g),c(_)}for(var h=r.length,p=0;p<h;p++)if(r[p].position==="outer"&&r[p].labelAlignTo==="labelLine"){var v=r[p].label.x-u;r[p].linePoints[1][0]+=v,r[p].label.x=u}T9(r,l,l+o)&&f(r)}function ooe(r,t,e,n,a,i,o,s){for(var l=[],u=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,h=0;h<r.length;h++){var p=r[h].label;lm(r[h])||(p.x<t?(c=Math.min(c,p.x),l.push(r[h])):(f=Math.max(f,p.x),u.push(r[h])))}for(var h=0;h<r.length;h++){var v=r[h];if(!lm(v)&&v.linePoints){if(v.labelStyleWidth!=null)continue;var p=v.label,m=v.linePoints,g=void 0;v.labelAlignTo==="edge"?p.x<t?g=m[2][0]-v.labelDistance-o-v.edgeDistance:g=o+a-v.edgeDistance-m[2][0]-v.labelDistance:v.labelAlignTo==="labelLine"?p.x<t?g=c-o-v.bleedMargin:g=o+a-f-v.bleedMargin:p.x<t?g=p.x-o-v.bleedMargin:g=o+a-p.x-v.bleedMargin,v.targetTextWidth=g,RC(v,g)}}OC(u,t,e,n,1,a,i,o,s,f),OC(l,t,e,n,-1,a,i,o,s,c);for(var h=0;h<r.length;h++){var v=r[h];if(!lm(v)&&v.linePoints){var p=v.label,m=v.linePoints,_=v.labelAlignTo==="edge",y=p.style.padding,w=y?y[1]+y[3]:0,x=p.style.backgroundColor?0:w,b=v.rect.width+x,S=m[1][0]-m[2][0];_?p.x<t?m[2][0]=o+v.edgeDistance+b+v.labelDistance:m[2][0]=o+a-v.edgeDistance-b-v.labelDistance:(p.x<t?m[2][0]=p.x+v.labelDistance:m[2][0]=p.x-v.labelDistance,m[1][0]=m[2][0]+S),m[1][1]=m[2][1]=p.y}}}function RC(r,t,e){if(e===void 0&&(e=!1),r.labelStyleWidth==null){var n=r.label,a=n.style,i=r.rect,o=a.backgroundColor,s=a.padding,l=s?s[1]+s[3]:0,u=a.overflow,c=i.width+(o?0:l);if(t<c||e){var f=i.height;if(u&&u.match("break")){n.setStyle("backgroundColor",null),n.setStyle("width",t-l);var h=n.getBoundingRect();n.setStyle("width",Math.ceil(h.width)),n.setStyle("backgroundColor",o)}else{var p=t-l,v=t<c?p:e?p>r.unconstrainedWidth?null:p:null;n.setStyle("width",v)}var m=n.getBoundingRect();i.width=m.width;var g=(n.style.margin||0)+2.1;i.height=m.height+g,i.y-=(i.height-f)/2}}}function lm(r){return r.position==="center"}function soe(r){var t=r.getData(),e=[],n,a,i=!1,o=(r.get("minShowLabelAngle")||0)*ioe,s=t.getLayout("viewRect"),l=t.getLayout("r"),u=s.width,c=s.x,f=s.y,h=s.height;function p(S){S.ignore=!0}function v(S){if(!S.ignore)return!0;for(var C in S.states)if(S.states[C].ignore===!1)return!0;return!1}t.each(function(S){var C=t.getItemGraphicEl(S),D=C.shape,T=C.getTextContent(),E=C.getTextGuideLine(),A=t.getItemModel(S),k=A.getModel("label"),I=k.get("position")||A.get(["emphasis","label","position"]),L=k.get("distanceToLabelLine"),N=k.get("alignTo"),P=Z(k.get("edgeDistance"),u),V=k.get("bleedMargin"),O=A.getModel("labelLine"),B=O.get("length");B=Z(B,u);var R=O.get("length2");if(R=Z(R,u),Math.abs(D.endAngle-D.startAngle)<o){M(T.states,p),T.ignore=!0,E&&(M(E.states,p),E.ignore=!0);return}if(v(T)){var z=(D.startAngle+D.endAngle)/2,H=Math.cos(z),$=Math.sin(z),X,j,fe,De;n=D.cx,a=D.cy;var ie=I==="inside"||I==="inner";if(I==="center")X=D.cx,j=D.cy,De="center";else{var re=(ie?(D.r+D.r0)/2*H:D.r*H)+n,le=(ie?(D.r+D.r0)/2*$:D.r*$)+a;if(X=re+H*3,j=le+$*3,!ie){var Q=re+H*(B+l-D.r),ce=le+$*(B+l-D.r),Re=Q+(H<0?-1:1)*R,ze=ce;N==="edge"?X=H<0?c+P:c+u-P:X=Re+(H<0?-L:L),j=ze,fe=[[re,le],[Q,ce],[Re,ze]]}De=ie?"center":N==="edge"?H>0?"right":"left":H>0?"left":"right"}var Ye=Math.PI,Qe=0,pt=k.get("rotate");if(Be(pt))Qe=pt*(Ye/180);else if(I==="center")Qe=0;else if(pt==="radial"||pt===!0){var Jt=H<0?-z+Ye:-z;Qe=Jt}else if(pt==="tangential"&&I!=="outside"&&I!=="outer"){var Gt=Math.atan2(H,$);Gt<0&&(Gt=Ye*2+Gt);var aa=$>0;aa&&(Gt=Ye+Gt),Qe=Gt-Ye}if(i=!!Qe,T.x=X,T.y=j,T.rotation=Qe,T.setStyle({verticalAlign:"middle"}),ie){T.setStyle({align:De});var Fl=T.states.select;Fl&&(Fl.x+=T.x,Fl.y+=T.y)}else{var Dn=T.getBoundingRect().clone();Dn.applyTransform(T.getComputedTransform());var cf=(T.style.margin||0)+2.1;Dn.y-=cf/2,Dn.height+=cf,e.push({label:T,labelLine:E,position:I,len:B,len2:R,minTurnAngle:O.get("minTurnAngle"),maxSurfaceAngle:O.get("maxSurfaceAngle"),surfaceNormal:new ye(H,$),linePoints:fe,textAlign:De,labelDistance:L,labelAlignTo:N,edgeDistance:P,bleedMargin:V,rect:Dn,unconstrainedWidth:Dn.width,labelStyleWidth:T.style.width})}C.setTextConfig({inside:ie})}}),!i&&r.get("avoidLabelOverlap")&&ooe(e,n,a,l,u,h,c,f);for(var m=0;m<e.length;m++){var g=e[m],_=g.label,y=g.labelLine,w=isNaN(_.x)||isNaN(_.y);if(_){_.setStyle({align:g.textAlign}),w&&(M(_.states,p),_.ignore=!0);var x=_.states.select;x&&(x.x+=_.x,x.y+=_.y)}if(y){var b=g.linePoints;w||!b?(M(y.states,p),y.ignore=!0):(S9(b,g.minTurnAngle),kae(b,g.surfaceNormal,g.maxSurfaceAngle),y.setShape({points:b}),_.__hostTarget.textGuideLineConfig={anchor:new ye(b[0][0],b[0][1])})}}}var loe=function(r){F(t,r);function t(e,n,a){var i=r.call(this)||this;i.z2=2;var o=new Ve;return i.setTextContent(o),i.updateData(e,n,a,!0),i}return t.prototype.updateData=function(e,n,a,i){var o=this,s=e.hostModel,l=e.getItemModel(n),u=l.getModel("emphasis"),c=e.getItemLayout(n),f=G(Yo(l.getModel("itemStyle"),c,!0),c);if(isNaN(f.startAngle)){o.setShape(f);return}if(i){o.setShape(f);var h=s.getShallow("animationType");s.ecModel.ssr?(tt(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,tt(o,{shape:{r:c.r}},s,n)):a!=null?(o.setShape({startAngle:a,endAngle:a}),tt(o,{shape:{startAngle:c.startAngle,endAngle:c.endAngle}},s,n)):(o.shape.endAngle=c.startAngle,Oe(o,{shape:{endAngle:c.endAngle}},s,n))}else yn(o),Oe(o,{shape:f},s,n);o.useStyle(e.getItemVisual(n,"style")),zt(o,l);var p=(c.startAngle+c.endAngle)/2,v=s.get("selectedOffset"),m=Math.cos(p)*v,g=Math.sin(p)*v,_=l.getShallow("cursor");_&&o.attr("cursor",_),this._updateLabel(s,e,n),o.ensureState("emphasis").shape=G({r:c.r+(u.get("scale")&&u.get("scaleSize")||0)},Yo(u.getModel("itemStyle"),c)),G(o.ensureState("select"),{x:m,y:g,shape:Yo(l.getModel(["select","itemStyle"]),c)}),G(o.ensureState("blur"),{shape:Yo(l.getModel(["blur","itemStyle"]),c)});var y=o.getTextGuideLine(),w=o.getTextContent();y&&G(y.ensureState("select"),{x:m,y:g}),G(w.ensureState("select"),{x:m,y:g}),ot(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(e,n,a){var i=this,o=n.getItemModel(a),s=o.getModel("labelLine"),l=n.getItemVisual(a,"style"),u=l&&l.fill,c=l&&l.opacity;Ht(i,At(o),{labelFetcher:n.hostModel,labelDataIndex:a,inheritColor:u,defaultOpacity:c,defaultText:e.getFormattedLabel(a,"normal")||n.getName(a)});var f=i.getTextContent();i.setTextConfig({position:null,rotation:null}),f.attr({z2:10});var h=e.get(["label","position"]);if(h!=="outside"&&h!=="outer")i.removeTextGuideLine();else{var p=this.getTextGuideLine();p||(p=new fr,this.setTextGuideLine(p)),H1(this,F1(o),{stroke:u,opacity:Or(s.get(["lineStyle","opacity"]),c,1)})}},t}(ur),uoe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return t.prototype.render=function(e,n,a,i){var o=e.getData(),s=this._data,l=this.group,u;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&&(u=c.startAngle)}if(this._emptyCircleSector&&l.remove(this._emptyCircleSector),o.count()===0&&e.get("showEmptyCircle")){var h=BC(e),p=new ur({shape:G(VC(e,a),h)});p.useStyle(e.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=p,l.add(p)}o.diff(s).add(function(v){var m=new loe(o,v,u);o.setItemGraphicEl(v,m),l.add(m)}).update(function(v,m){var g=s.getItemGraphicEl(m);g.updateData(o,v,u),g.off("click"),l.add(g),o.setItemGraphicEl(v,g)}).remove(function(v){var m=s.getItemGraphicEl(v);ju(m,e,v)}).execute(),soe(e),e.get("animationTypeUpdate")!=="expansion"&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(e,n){var a=n.getData(),i=a.getItemLayout(0);if(i){var o=e[0]-i.cx,s=e[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},t.type="pie",t}(Xe);function bl(r,t,e){t=U(t)&&{coordDimensions:t}||G({encodeDefine:r.getEncode()},t);var n=r.getSource(),a=wc(n,t).dimensions,i=new hr(a,r);return i.initData(n,e),i}var Pc=function(){function r(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return r.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},r.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},r.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},r.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},r}(),coe=Ne(),foe=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new Pc(J(this.getData,this),J(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.mergeOption=function(){r.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return bl(this,{coordDimensions:["value"],encodeDefaulter:me(V2,this)})},t.prototype.getDataParams=function(e){var n=this.getData(),a=coe(n),i=a.seats;if(!i){var o=[];n.each(n.mapDimension("value"),function(l){o.push(l)}),i=a.seats=qK(o,n.hostModel.get("percentPrecision"))}var s=r.prototype.getDataParams.call(this,e);return s.percent=i[e]||0,s.$vars.push("percent"),s},t.prototype._defaultLabelLine=function(e){no(e,"labelLine",["show"]);var n=e.labelLine,a=e.emphasis.labelLine;n.show=n.show&&e.label.show,a.show=a.show&&e.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}(Ke);function hoe(r){return{seriesType:r,reset:function(t,e){var n=t.getData();n.filterSelf(function(a){var i=n.mapDimension("value"),o=n.get(i,a);return!(Be(o)&&!isNaN(o)&&o<0)})}}}function poe(r){r.registerChartView(uoe),r.registerSeriesModel(foe),$b("pie",r.registerAction),r.registerLayout(me(aoe,"pie")),r.registerProcessor(Nc("pie")),r.registerProcessor(hoe("pie"))}var doe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,n){return Aa(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var e=this.option.progressive;return e??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(e,n,a){return a.point(n.getItemLayout(e))},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}(Ke),zC=4,voe=function(){function r(){}return r}(),goe=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return t.prototype.getDefaultShape=function(){return new voe},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(e,n){var a=n.points,i=n.size,o=this.symbolProxy,s=o.shape,l=e.getContext?e.getContext():e,u=l&&i[0]<zC,c=this.softClipShape,f;if(u){this._ctx=l;return}for(this._ctx=null,f=this._off;f<a.length;){var h=a[f++],p=a[f++];isNaN(h)||isNaN(p)||c&&!c.contain(h,p)||(s.x=h-i[0]/2,s.y=p-i[1]/2,s.width=i[0],s.height=i[1],o.buildPath(e,s,!0))}this.incremental&&(this._off=f,this.notClear=!0)},t.prototype.afterBrush=function(){var e=this.shape,n=e.points,a=e.size,i=this._ctx,o=this.softClipShape,s;if(i){for(s=this._off;s<n.length;){var l=n[s++],u=n[s++];isNaN(l)||isNaN(u)||o&&!o.contain(l,u)||i.fillRect(l-a[0]/2,u-a[1]/2,a[0],a[1])}this.incremental&&(this._off=s,this.notClear=!0)}},t.prototype.findDataIndex=function(e,n){for(var a=this.shape,i=a.points,o=a.size,s=Math.max(o[0],4),l=Math.max(o[1],4),u=i.length/2-1;u>=0;u--){var c=u*2,f=i[c]-s/2,h=i[c+1]-l/2;if(e>=f&&n>=h&&e<=f+s&&n<=h+l)return u}return-1},t.prototype.contain=function(e,n){var a=this.transformCoordToLocal(e,n),i=this.getBoundingRect();if(e=a[0],n=a[1],i.contain(e,n)){var o=this.hoverDataIdx=this.findDataIndex(e,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var n=this.shape,a=n.points,i=n.size,o=i[0],s=i[1],l=1/0,u=1/0,c=-1/0,f=-1/0,h=0;h<a.length;){var p=a[h++],v=a[h++];l=Math.min(p,l),c=Math.max(p,c),u=Math.min(v,u),f=Math.max(v,f)}e=this._rect=new we(l-o/2,u-s/2,c-l+o,f-u+s)}return e},t}(Te),moe=function(){function r(){this.group=new de}return r.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},r.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild(function(n){if(n.startIndex!=null){var a=(n.endIndex-n.startIndex)*2,i=n.startIndex*4*2;e=new Float32Array(e.buffer,i,a)}n.setShape("points",e),n.reset()})},r.prototype.incrementalPrepareUpdate=function(t){this._clear()},r.prototype.incrementalUpdate=function(t,e,n){var a=this._newAdded[0],i=e.getLayout("points"),o=a&&a.shape.points;if(o&&o.length<2e4){var s=o.length,l=new Float32Array(s+i.length);l.set(o),l.set(i,s),a.endIndex=t.end,a.setShape({points:l})}else{this._newAdded=[];var u=this._create();u.startIndex=t.start,u.endIndex=t.end,u.incremental=!0,u.setShape({points:i}),this._setCommon(u,e,n)}},r.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},r.prototype._create=function(){var t=new goe({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},r.prototype._setCommon=function(t,e,n){var a=e.hostModel;n=n||{};var i=e.getVisual("symbolSize");t.setShape("size",i instanceof Array?i:[i,i]),t.softClipShape=n.clipShape||null,t.symbolProxy=xt(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<zC;t.useStyle(a.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var s=e.getVisual("style"),l=s&&s.fill;l&&t.setColor(l);var u=ge(t);u.seriesIndex=a.seriesIndex,t.on("mousemove",function(c){u.dataIndex=null;var f=t.hoverDataIdx;f>=0&&(u.dataIndex=f+(t.startIndex||0))})},r.prototype.remove=function(){this._clear()},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}(),_oe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=e.getData(),o=this._updateSymbolDraw(i,e);o.updateData(i,{clipShape:this._getClipShape(e)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(e,n,a){var i=e.getData(),o=this._updateSymbolDraw(i,e);o.incrementalPrepareUpdate(i),this._finished=!1},t.prototype.incrementalRender=function(e,n,a){this._symbolDraw.incrementalUpdate(e,n.getData(),{clipShape:this._getClipShape(n)}),this._finished=e.end===n.getData().count()},t.prototype.updateTransform=function(e,n,a){var i=e.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var o=Lc("").reset(e,n,a);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},t.prototype.eachRendered=function(e){this._symbolDraw&&this._symbolDraw.eachRendered(e)},t.prototype._getClipShape=function(e){if(e.get("clip",!0)){var n=e.coordinateSystem;return n&&n.getArea&&n.getArea(.1)}},t.prototype._updateSymbolDraw=function(e,n){var a=this._symbolDraw,i=n.pipelineContext,o=i.large;return(!a||o!==this._isLargeDraw)&&(a&&a.remove(),a=this._symbolDraw=o?new moe:new Mc,this._isLargeDraw=o,this.group.removeAll()),this.group.add(a.group),a},t.prototype.remove=function(e,n){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(Xe),yoe=function(r){F(t,r);function t(){return r!==null&&r.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}(Ae),um=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",yt).models[0]},t.type="cartesian2dAxis",t}(Ae);gt(um,bc);var HC={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)"]}}},woe=_e({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},HC),cm=_e({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}}},HC),xoe=_e({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},cm),boe=ue({logBase:10},cm);const FC={category:woe,value:cm,time:xoe,log:boe};var Soe={value:1,category:1,time:1,log:1};function Sl(r,t,e,n){M(Soe,function(a,i){var o=_e(_e({},FC[i],!0),n,!0),s=function(l){F(u,l);function u(){var c=l!==null&&l.apply(this,arguments)||this;return c.type=t+"Axis."+i,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var h=ec(this),p=h?rl(c):{},v=f.getTheme();_e(c,v.get(i+"Axis")),_e(c,this.getDefaultOption()),c.type=GC(c),h&&li(c,p,h)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=A1.createByAxisModel(this))},u.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+i,u.defaultOption=o,u}(e);r.registerComponentModel(s)}),r.registerSubTypeDefaulter(t+"Axis",GC)}function GC(r){return r.type||(r.data?"category":"value")}var Coe=function(){function r(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return r.prototype.getAxis=function(t){return this._axes[t]},r.prototype.getAxes=function(){return Y(this._dimList,function(t){return this._axes[t]},this)},r.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Fe(this.getAxes(),function(e){return e.scale.type===t})},r.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},r}(),fm=["x","y"];function $C(r){return r.type==="interval"||r.type==="time"}var Eoe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=fm,e}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var e=this.getAxis("x").scale,n=this.getAxis("y").scale;if(!(!$C(e)||!$C(n))){var a=e.getExtent(),i=n.getExtent(),o=this.dataToPoint([a[0],i[0]]),s=this.dataToPoint([a[1],i[1]]),l=a[1]-a[0],u=i[1]-i[0];if(!(!l||!u)){var c=(s[0]-o[0])/l,f=(s[1]-o[1])/u,h=o[0]-a[0]*c,p=o[1]-i[0]*f,v=this._transform=[c,0,0,f,h,p];this._invTransform=Is([],v)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(e){var n=this.getAxis("x"),a=this.getAxis("y");return n.contain(n.toLocalCoord(e[0]))&&a.contain(a.toLocalCoord(e[1]))},t.prototype.containData=function(e){return this.getAxis("x").containData(e[0])&&this.getAxis("y").containData(e[1])},t.prototype.containZone=function(e,n){var a=this.dataToPoint(e),i=this.dataToPoint(n),o=this.getArea(),s=new we(a[0],a[1],i[0]-a[0],i[1]-a[1]);return o.intersect(s)},t.prototype.dataToPoint=function(e,n,a){a=a||[];var i=e[0],o=e[1];if(this._transform&&i!=null&&isFinite(i)&&o!=null&&isFinite(o))return Ot(a,e,this._transform);var s=this.getAxis("x"),l=this.getAxis("y");return a[0]=s.toGlobalCoord(s.dataToCoord(i,n)),a[1]=l.toGlobalCoord(l.dataToCoord(o,n)),a},t.prototype.clampData=function(e,n){var a=this.getAxis("x").scale,i=this.getAxis("y").scale,o=a.getExtent(),s=i.getExtent(),l=a.parse(e[0]),u=i.parse(e[1]);return n=n||[],n[0]=Math.min(Math.max(Math.min(o[0],o[1]),l),Math.max(o[0],o[1])),n[1]=Math.min(Math.max(Math.min(s[0],s[1]),u),Math.max(s[0],s[1])),n},t.prototype.pointToData=function(e,n){var a=[];if(this._invTransform)return Ot(a,e,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return a[0]=i.coordToData(i.toLocalCoord(e[0]),n),a[1]=o.coordToData(o.toLocalCoord(e[1]),n),a},t.prototype.getOtherAxis=function(e){return this.getAxis(e.dim==="x"?"y":"x")},t.prototype.getArea=function(e){e=e||0;var n=this.getAxis("x").getGlobalExtent(),a=this.getAxis("y").getGlobalExtent(),i=Math.min(n[0],n[1])-e,o=Math.min(a[0],a[1])-e,s=Math.max(n[0],n[1])-i+e,l=Math.max(a[0],a[1])-o+e;return new we(i,o,s,l)},t}(Coe),Toe=function(r){F(t,r);function t(e,n,a,i,o){var s=r.call(this,e,n,a)||this;return s.index=0,s.type=i||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.getGlobalExtent=function(e){var n=this.getExtent();return n[0]=this.toGlobalCoord(n[0]),n[1]=this.toGlobalCoord(n[1]),e&&n[0]>n[1]&&n.reverse(),n},t.prototype.pointToData=function(e,n){return this.coordToData(this.toLocalCoord(e[this.dim==="x"?0:1]),n)},t.prototype.setCategorySortInfo=function(e){if(this.type!=="category")return!1;this.model.option.categorySortInfo=e,this.scale.setSortInfo(e)},t}(Cn);function hm(r,t,e){e=e||{};var n=r.coordinateSystem,a=t.axis,i={},o=a.getAxesOnZeroOf()[0],s=a.position,l=o?"onZero":s,u=a.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},p=t.get("offset")||0,v=u==="x"?[f[2]-p,f[3]+p]:[f[0]-p,f[1]+p];if(o){var m=o.toGlobalCoord(o.dataToCoord(0));v[h.onZero]=Math.max(Math.min(m,v[1]),v[0])}i.position=[u==="y"?v[h[l]]:f[0],u==="x"?v[h[l]]:f[3]],i.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=g[s],i.labelOffset=o?v[h[s]]-v[h.onZero]:0,t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),mt(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var _=t.get(["axisLabel","rotate"]);return i.labelRotate=l==="top"?-_:_,i.z2=1,i}function WC(r){return r.get("coordinateSystem")==="cartesian2d"}function UC(r){var t={xAxisModel:null,yAxisModel:null};return M(t,function(e,n){var a=n.replace(/Model$/,""),i=r.getReferringComponents(a,yt).models[0];if(process.env.NODE_ENV!=="production"&&!i)throw new Error(a+' "'+Or(r.get(a+"Index"),r.get(a+"Id"),0)+'" not found');t[n]=i}),t}var pm=Math.log;function YC(r,t,e){var n=Ma.prototype,a=n.getTicks.call(e),i=n.getTicks.call(e,!0),o=a.length-1,s=n.getInterval.call(e),l=n9(r,t),u=l.extent,c=l.fixMin,f=l.fixMax;if(r.type==="log"){var h=pm(r.base);u=[pm(u[0])/h,pm(u[1])/h]}r.setExtent(u[0],u[1]),r.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:f});var p=n.getExtent.call(r);c&&(u[0]=p[0]),f&&(u[1]=p[1]);var v=n.getInterval.call(r),m=u[0],g=u[1];if(c&&f)v=(g-m)/o;else if(c)for(g=u[0]+v*o;g<u[1]&&isFinite(g)&&isFinite(u[1]);)v=k1(v),g=u[0]+v*o;else if(f)for(m=u[1]-v*o;m>u[0]&&isFinite(m)&&isFinite(u[0]);)v=k1(v),m=u[1]-v*o;else{var _=r.getTicks().length-1;_>o&&(v=k1(v));var y=v*o;g=Math.ceil(u[1]/v)*v,m=ut(g-y),m<0&&u[0]>=0?(m=0,g=ut(y)):g>0&&u[1]<=0&&(g=0,m=-ut(y))}var w=(a[0].value-i[0].value)/s,x=(a[o].value-i[o].value)/s;if(n.setExtent.call(r,m+v*w,g+v*x),n.setInterval.call(r,v),(w||x)&&n.setNiceExtent.call(r,m+v,g-v),process.env.NODE_ENV!=="production"){var b=n.getTicks.call(r);b[1]&&(!One(v)||kg(b[1].value)>kg(v))&&it("The ticks may be not readable when set min: "+t.get("min")+", max: "+t.get("max")+" and alignTicks: true")}}var Doe=function(){function r(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=fm,this._initCartesian(t,e,n),this.model=t}return r.prototype.getRect=function(){return this._rect},r.prototype.update=function(t,e){var n=this._axesMap;this._updateScale(t,this.model);function a(o){var s,l=Me(o),u=l.length;if(u){for(var c=[],f=u-1;f>=0;f--){var h=+l[f],p=o[h],v=p.model,m=p.scale;M1(m)&&v.get("alignTicks")&&v.get("interval")==null?c.push(p):(_l(m,v),M1(m)&&(s=p))}c.length&&(s||(s=c.pop(),_l(s.scale,s.model)),M(c,function(g){YC(g.scale,g.model,s.scale)}))}}a(n.x),a(n.y);var i={};M(n.x,function(o){jC(n,"y",o,i)}),M(n.y,function(o){jC(n,"x",o,i)}),this.resize(this.model,e)},r.prototype.resize=function(t,e,n){var a=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),o=Et(a,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var s=this._axesList;l(),i&&(M(s,function(u){if(!u.model.get(["axisLabel","inside"])){var c=sae(u);if(c){var f=u.isHorizontal()?"height":"width",h=u.model.get(["axisLabel","margin"]);o[f]-=c[f]+h,u.position==="top"?o.y+=c.height+h:u.position==="left"&&(o.x+=c.width+h)}}}),l()),M(this._coordsList,function(u){u.calcAffineTransform()});function l(){M(s,function(u){var c=u.isHorizontal(),f=c?[0,o.width]:[0,o.height],h=u.inverse?1:0;u.setExtent(f[h],f[1-h]),Aoe(u,c?o.x:o.y)})}},r.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(n!=null)return n[e||0]},r.prototype.getAxes=function(){return this._axesList.slice()},r.prototype.getCartesian=function(t,e){if(t!=null&&e!=null){var n="x"+t+"y"+e;return this._coordsMap[n]}oe(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,i=this._coordsList;a<i.length;a++)if(i[a].getAxis("x").index===t||i[a].getAxis("y").index===e)return i[a]},r.prototype.getCartesians=function(){return this._coordsList.slice()},r.prototype.convertToPixel=function(t,e,n){var a=this._findConvertTarget(e);return a.cartesian?a.cartesian.dataToPoint(n):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(n)):null},r.prototype.convertFromPixel=function(t,e,n){var a=this._findConvertTarget(e);return a.cartesian?a.cartesian.pointToData(n):a.axis?a.axis.coordToData(a.axis.toLocalCoord(n)):null},r.prototype._findConvertTarget=function(t){var e=t.seriesModel,n=t.xAxisModel||e&&e.getReferringComponents("xAxis",yt).models[0],a=t.yAxisModel||e&&e.getReferringComponents("yAxis",yt).models[0],i=t.gridModel,o=this._coordsList,s,l;if(e)s=e.coordinateSystem,xe(o,s)<0&&(s=null);else if(n&&a)s=this.getCartesian(n.componentIndex,a.componentIndex);else if(n)l=this.getAxis("x",n.componentIndex);else if(a)l=this.getAxis("y",a.componentIndex);else if(i){var u=i.coordinateSystem;u===this&&(s=this._coordsList[0])}return{cartesian:s,axis:l}},r.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},r.prototype._initCartesian=function(t,e,n){var a=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},s={x:{},y:{}},l={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!l.x||!l.y){this._axesMap={},this._axesList=[];return}this._axesMap=s,M(s.x,function(c,f){M(s.y,function(h,p){var v="x"+f+"y"+p,m=new Eoe(v);m.master=a,m.model=t,a._coordsMap[v]=m,a._coordsList.push(m),m.addAxis(c),m.addAxis(h)})});function u(c){return function(f,h){if(dm(f,t)){var p=f.get("position");c==="x"?p!=="top"&&p!=="bottom"&&(p=o.bottom?"top":"bottom"):p!=="left"&&p!=="right"&&(p=o.left?"right":"left"),o[p]=!0;var v=new Toe(c,sd(f),[0,0],f.get("type"),p),m=v.type==="category";v.onBand=m&&f.get("boundaryGap"),v.inverse=f.get("inverse"),f.axis=v,v.model=f,v.grid=i,v.index=h,i._axesList.push(v),s[c][h]=v,l[c]++}}}},r.prototype._updateScale=function(t,e){M(this._axesList,function(a){if(a.scale.setExtent(1/0,-1/0),a.type==="category"){var i=a.model.get("categorySortInfo");a.scale.setSortInfo(i)}}),t.eachSeries(function(a){if(WC(a)){var i=UC(a),o=i.xAxisModel,s=i.yAxisModel;if(!dm(o,e)||!dm(s,e))return;var l=this.getCartesian(o.componentIndex,s.componentIndex),u=a.getData(),c=l.getAxis("x"),f=l.getAxis("y");n(u,c),n(u,f)}},this);function n(a,i){M(ld(a,i.dim),function(o){i.scale.unionExtentFromData(a,o)})}},r.prototype.getTooltipAxes=function(t){var e=[],n=[];return M(this.getCartesians(),function(a){var i=t!=null&&t!=="auto"?a.getAxis(t):a.getBaseAxis(),o=a.getOtherAxis(i);xe(e,i)<0&&e.push(i),xe(n,o)<0&&n.push(o)}),{baseAxes:e,otherAxes:n}},r.create=function(t,e){var n=[];return t.eachComponent("grid",function(a,i){var o=new r(a,t,e);o.name="grid_"+i,o.resize(a,e,!0),a.coordinateSystem=o,n.push(o)}),t.eachSeries(function(a){if(WC(a)){var i=UC(a),o=i.xAxisModel,s=i.yAxisModel,l=o.getCoordSysModel();if(process.env.NODE_ENV!=="production"){if(!l)throw new Error('Grid "'+Or(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 u=l.coordinateSystem;a.coordinateSystem=u.getCartesian(o.componentIndex,s.componentIndex)}}),n},r.dimensions=fm,r}();function dm(r,t){return r.getCoordSysModel()===t}function jC(r,t,e,n){e.getAxesOnZeroOf=function(){return i?[i]:[]};var a=r[t],i,o=e.model,s=o.get(["axisLine","onZero"]),l=o.get(["axisLine","onZeroAxisIndex"]);if(!s)return;if(l!=null)XC(a[l])&&(i=a[l]);else for(var u in a)if(a.hasOwnProperty(u)&&XC(a[u])&&!n[c(a[u])]){i=a[u];break}i&&(n[c(i)]=!0);function c(f){return f.dim+"_"+f.index}}function XC(r){return r&&r.type!=="category"&&r.type!=="time"&&oae(r)}function Aoe(r,t){var e=r.getExtent(),n=e[0]+e[1];r.toGlobalCoord=r.dim==="x"?function(a){return a+t}:function(a){return n-a+t},r.toLocalCoord=r.dim==="x"?function(a){return a-t}:function(a){return n-a+t}}var mi=Math.PI,vr=function(){function r(t,e){this.group=new de,this.opt=e,this.axisModel=t,ue(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new de({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return r.prototype.hasBuilder=function(t){return!!qC[t]},r.prototype.add=function(t){qC[t](this.opt,this.axisModel,this.group,this._transformGroup)},r.prototype.getGroup=function(){return this.group},r.innerTextLayout=function(t,e,n){var a=vw(e-t),i,o;return Lu(a)?(o=n>0?"top":"bottom",i="center"):Lu(a-mi)?(o=n>0?"bottom":"top",i="center"):(o="middle",a>0&&a<mi?i=n>0?"right":"left":i=n>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:o}},r.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},r.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},r}(),qC={axisLine:function(r,t,e,n){var a=t.get(["axisLine","show"]);if(a==="auto"&&r.handleAutoShown&&(a=r.handleAutoShown("axisLine")),!!a){var i=t.axis.getExtent(),o=n.transform,s=[i[0],0],l=[i[1],0],u=s[0]>l[0];o&&(Ot(s,s,o),Ot(l,l,o));var c=G({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new Dt({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:c,strokeContainThreshold:r.strokeContainThreshold||5,silent:!0,z2:1});qs(f.shape,f.style.lineWidth),f.anid="line",e.add(f);var h=t.get(["axisLine","symbol"]);if(h!=null){var p=t.get(["axisLine","symbolSize"]);K(h)&&(h=[h,h]),(K(p)||Be(p))&&(p=[p,p]);var v=No(t.get(["axisLine","symbolOffset"])||0,p),m=p[0],g=p[1];M([{rotate:r.rotation+Math.PI/2,offset:v[0],r:0},{rotate:r.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],function(_,y){if(h[y]!=="none"&&h[y]!=null){var w=xt(h[y],-m/2,-g/2,m,g,c.stroke,!0),x=_.r+_.offset,b=u?l:s;w.attr({rotation:_.rotate,x:b[0]+x*Math.cos(r.rotation),y:b[1]-x*Math.sin(r.rotation),silent:!0,z2:11}),e.add(w)}})}}},axisTickLabel:function(r,t,e,n){var a=Loe(e,n,t,r),i=Noe(e,n,t,r);if(koe(t,i,a),Ioe(e,n,t,r.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=C9(Y(i,function(s){return{label:s,priority:s.z2,defaultAttr:{ignore:s.ignore}}}));D9(o)}},axisName:function(r,t,e,n){var a=mt(r.axisName,t.get("name"));if(a){var i=t.get("nameLocation"),o=r.nameDirection,s=t.getModel("nameTextStyle"),l=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[i==="start"?u[0]-c*l:i==="end"?u[1]+c*l:(u[0]+u[1])/2,KC(i)?r.labelOffset+o*l:0],h,p=t.get("nameRotate");p!=null&&(p=p*mi/180);var v;KC(i)?h=vr.innerTextLayout(r.rotation,p??r.rotation,o):(h=Moe(r.rotation,i,p||0,u),v=r.axisNameAvailableWidth,v!=null&&(v=Math.abs(v/Math.sin(h.rotation)),!isFinite(v)&&(v=null)));var m=s.getFont(),g=t.get("nameTruncate",!0)||{},_=g.ellipsis,y=mt(r.nameTruncateMaxWidth,g.maxWidth,v),w=new Ve({x:f[0],y:f[1],rotation:h.rotation,silent:vr.isLabelSilent(t),style:Ze(s,{text:a,font:m,overflow:"truncate",width:y,ellipsis:_,fill:s.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:s.get("align")||h.textAlign,verticalAlign:s.get("verticalAlign")||h.textVerticalAlign}),z2:1});if(Co({el:w,componentModel:t,itemName:a}),w.__fullText=a,w.anid="name",t.get("triggerEvent")){var x=vr.makeAxisEventDataBase(t);x.targetType="axisName",x.name=a,ge(w).eventData=x}n.add(w),w.updateTransform(),e.add(w),w.decomposeTransform()}}};function Moe(r,t,e,n){var a=vw(e-r),i,o,s=n[0]>n[1],l=t==="start"&&!s||t!=="start"&&s;return Lu(a-mi/2)?(o=l?"bottom":"top",i="center"):Lu(a-mi*1.5)?(o=l?"top":"bottom",i="center"):(o="middle",a<mi*1.5&&a>mi/2?i=l?"left":"right":i=l?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function koe(r,t,e){if(!a9(r.axis)){var n=r.get(["axisLabel","showMinLabel"]),a=r.get(["axisLabel","showMaxLabel"]);t=t||[],e=e||[];var i=t[0],o=t[1],s=t[t.length-1],l=t[t.length-2],u=e[0],c=e[1],f=e[e.length-1],h=e[e.length-2];n===!1?(Jr(i),Jr(u)):ZC(i,o)&&(n?(Jr(o),Jr(c)):(Jr(i),Jr(u))),a===!1?(Jr(s),Jr(f)):ZC(l,s)&&(a?(Jr(l),Jr(h)):(Jr(s),Jr(f)))}}function Jr(r){r&&(r.ignore=!0)}function ZC(r,t){var e=r&&r.getBoundingRect().clone(),n=t&&t.getBoundingRect().clone();if(!(!e||!n)){var a=mh([]);return qi(a,a,-r.rotation),e.applyTransform(da([],a,r.getLocalTransform())),n.applyTransform(da([],a,t.getLocalTransform())),e.intersect(n)}}function KC(r){return r==="middle"||r==="center"}function JC(r,t,e,n,a){for(var i=[],o=[],s=[],l=0;l<r.length;l++){var u=r[l].coord;o[0]=u,o[1]=0,s[0]=u,s[1]=e,t&&(Ot(o,o,t),Ot(s,s,t));var c=new Dt({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:n,z2:2,autoBatch:!0,silent:!0});qs(c.shape,c.style.lineWidth),c.anid=a+"_"+r[l].tickValue,i.push(c)}return i}function Loe(r,t,e,n){var a=e.axis,i=e.getModel("axisTick"),o=i.get("show");if(o==="auto"&&n.handleAutoShown&&(o=n.handleAutoShown("axisTick")),!(!o||a.scale.isBlank())){for(var s=i.getModel("lineStyle"),l=n.tickDirection*i.get("length"),u=a.getTicksCoords(),c=JC(u,t.transform,l,ue(s.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)r.add(c[f]);return c}}function Ioe(r,t,e,n){var a=e.axis,i=e.getModel("minorTick");if(!(!i.get("show")||a.scale.isBlank())){var o=a.getMinorTicksCoords();if(o.length)for(var s=i.getModel("lineStyle"),l=n*i.get("length"),u=ue(s.getLineStyle(),ue(e.getModel("axisTick").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var f=JC(o[c],t.transform,l,u,"minorticks_"+c),h=0;h<f.length;h++)r.add(f[h])}}function Noe(r,t,e,n){var a=e.axis,i=mt(n.axisLabelShow,e.get(["axisLabel","show"]));if(!(!i||a.scale.isBlank())){var o=e.getModel("axisLabel"),s=o.get("margin"),l=a.getViewLabels(),u=(mt(n.labelRotate,o.get("rotate"))||0)*mi/180,c=vr.innerTextLayout(n.rotation,u,n.labelDirection),f=e.getCategories&&e.getCategories(!0),h=[],p=vr.isLabelSilent(e),v=e.get("triggerEvent");return M(l,function(m,g){var _=a.scale.type==="ordinal"?a.scale.getRawOrdinalNumber(m.tickValue):m.tickValue,y=m.formattedLabel,w=m.rawLabel,x=o;if(f&&f[_]){var b=f[_];oe(b)&&b.textStyle&&(x=new Ue(b.textStyle,o,e.ecModel))}var S=x.getTextColor()||e.get(["axisLine","lineStyle","color"]),C=a.dataToCoord(_),D=x.getShallow("align",!0)||c.textAlign,T=ve(x.getShallow("alignMinLabel",!0),D),E=ve(x.getShallow("alignMaxLabel",!0),D),A=x.getShallow("verticalAlign",!0)||x.getShallow("baseline",!0)||c.textVerticalAlign,k=ve(x.getShallow("verticalAlignMinLabel",!0),A),I=ve(x.getShallow("verticalAlignMaxLabel",!0),A),L=new Ve({x:C,y:n.labelOffset+n.labelDirection*s,rotation:c.rotation,silent:p,z2:10+(m.level||0),style:Ze(x,{text:y,align:g===0?T:g===l.length-1?E:D,verticalAlign:g===0?k:g===l.length-1?I:A,fill:ae(S)?S(a.type==="category"?w:a.type==="value"?_+"":_,g):S})});if(L.anid="label_"+_,Co({el:L,componentModel:e,itemName:y,formatterParamsExtra:{isTruncated:function(){return L.isTruncated},value:w,tickIndex:g}}),v){var N=vr.makeAxisEventDataBase(e);N.targetType="axisLabel",N.value=w,N.tickIndex=g,a.type==="category"&&(N.dataIndex=_),ge(L).eventData=N}t.add(L),L.updateTransform(),h.push(L),r.add(L),L.decomposeTransform()}),h}}function Poe(r,t){var e={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return Voe(e,r,t),e.seriesInvolved&&Ooe(e,r),e}function Voe(r,t,e){var n=t.getComponent("tooltip"),a=t.getComponent("axisPointer"),i=a.get("link",!0)||[],o=[];M(e.getCoordinateSystems(),function(s){if(!s.axisPointerEnabled)return;var l=Vc(s.model),u=r.coordSysAxesInfo[l]={};r.coordSysMap[l]=s;var c=s.model,f=c.getModel("tooltip",n);if(M(s.getAxes(),me(m,!1,null)),s.getTooltipAxes&&n&&f.get("show")){var h=f.get("trigger")==="axis",p=f.get(["axisPointer","type"])==="cross",v=s.getTooltipAxes(f.get(["axisPointer","axis"]));(h||p)&&M(v.baseAxes,me(m,p?"cross":!0,h)),p&&M(v.otherAxes,me(m,"cross",!1))}function m(g,_,y){var w=y.model.getModel("axisPointer",a),x=w.get("show");if(!(!x||x==="auto"&&!g&&!mm(w))){_==null&&(_=w.get("triggerTooltip")),w=g?Boe(y,f,a,t,g,_):w;var b=w.get("snap"),S=w.get("triggerEmphasis"),C=Vc(y.model),D=_||b||y.type==="category",T=r.axesInfo[C]={key:C,axis:y,coordSys:s,axisPointerModel:w,triggerTooltip:_,triggerEmphasis:S,involveSeries:D,snap:b,useHandle:mm(w),seriesModels:[],linkGroup:null};u[C]=T,r.seriesInvolved=r.seriesInvolved||D;var E=Roe(i,y);if(E!=null){var A=o[E]||(o[E]={axesInfo:{}});A.axesInfo[C]=T,A.mapper=i[E].mapper,T.linkGroup=A}}}})}function Boe(r,t,e,n,a,i){var o=t.getModel("axisPointer"),s=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],l={};M(s,function(h){l[h]=pe(o.get(h))}),l.snap=r.type!=="category"&&!!i,o.get("type")==="cross"&&(l.type="line");var u=l.label||(l.label={});if(u.show==null&&(u.show=!1),a==="cross"){var c=o.get(["label","show"]);if(u.show=c??!0,!i){var f=l.lineStyle=o.get("crossStyle");f&&ue(u,f.textStyle)}}return r.model.getModel("axisPointer",new Ue(l,e,n))}function Ooe(r,t){t.eachSeries(function(e){var n=e.coordinateSystem,a=e.get(["tooltip","trigger"],!0),i=e.get(["tooltip","show"],!0);!n||a==="none"||a===!1||a==="item"||i===!1||e.get(["axisPointer","show"],!0)===!1||M(r.coordSysAxesInfo[Vc(n.model)],function(o){var s=o.axis;n.getAxis(s.dim)===s&&(o.seriesModels.push(e),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=e.getData().count())})})}function Roe(r,t){for(var e=t.model,n=t.dim,a=0;a<r.length;a++){var i=r[a]||{};if(vm(i[n+"AxisId"],e.id)||vm(i[n+"AxisIndex"],e.componentIndex)||vm(i[n+"AxisName"],e.name))return a}}function vm(r,t){return r==="all"||U(r)&&xe(r,t)>=0||r===t}function zoe(r){var t=gm(r);if(t){var e=t.axisPointerModel,n=t.axis.scale,a=e.option,i=e.get("status"),o=e.get("value");o!=null&&(o=n.parse(o));var s=mm(e);i==null&&(a.status=s?"show":"hide");var l=n.getExtent().slice();l[0]>l[1]&&l.reverse(),(o==null||o>l[1])&&(o=l[1]),o<l[0]&&(o=l[0]),a.value=o,s&&(a.status=t.axis.scale.isBlank()?"hide":"show")}}function gm(r){var t=(r.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[Vc(r)]}function Hoe(r){var t=gm(r);return t&&t.axisPointerModel}function mm(r){return!!r.get(["handle","show"])}function Vc(r){return r.type+"||"+r.id}var _m={},jo=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a,i){this.axisPointerClass&&zoe(e),r.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,a,!0)},t.prototype.updateAxisPointer=function(e,n,a,i){this._doUpdateAxisPointerClass(e,a,!1)},t.prototype.remove=function(e,n){var a=this._axisPointer;a&&a.remove(n)},t.prototype.dispose=function(e,n){this._disposeAxisPointer(n),r.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(e,n,a){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=Hoe(e);o?(this._axisPointer||(this._axisPointer=new i)).render(e,o,n,a):this._disposeAxisPointer(n)}},t.prototype._disposeAxisPointer=function(e){this._axisPointer&&this._axisPointer.dispose(e),this._axisPointer=null},t.registerAxisPointerClass=function(e,n){if(process.env.NODE_ENV!=="production"&&_m[e])throw new Error("axisPointer "+e+" exists");_m[e]=n},t.getAxisPointerClass=function(e){return e&&_m[e]},t.type="axis",t}(nt),ym=Ne();function QC(r,t,e,n){var a=e.axis;if(!a.scale.isBlank()){var i=e.getModel("splitArea"),o=i.getModel("areaStyle"),s=o.get("color"),l=n.coordinateSystem.getRect(),u=a.getTicksCoords({tickModel:i,clamp:!0});if(u.length){var c=s.length,f=ym(r).splitAreaColors,h=ne(),p=0;if(f)for(var v=0;v<u.length;v++){var m=f.get(u[v].tickValue);if(m!=null){p=(m+(c-1)*v)%c;break}}var g=a.toGlobalCoord(u[0].coord),_=o.getAreaStyle();s=U(s)?s:[s];for(var v=1;v<u.length;v++){var y=a.toGlobalCoord(u[v].coord),w=void 0,x=void 0,b=void 0,S=void 0;a.isHorizontal()?(w=g,x=l.y,b=y-w,S=l.height,g=w+b):(w=l.x,x=g,b=l.width,S=y-x,g=x+S);var C=u[v-1].tickValue;C!=null&&h.set(C,p),t.add(new Pe({anid:C!=null?"area_"+C:null,shape:{x:w,y:x,width:b,height:S},style:ue({fill:s[p]},_),autoBatch:!0,silent:!0})),p=(p+1)%c}ym(r).splitAreaColors=h}}}function eE(r){ym(r).splitAreaColors=null}var Foe=["axisLine","axisTickLabel","axisName"],Goe=["splitArea","splitLine","minorSplitLine"],tE=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="CartesianAxisPointer",e}return t.prototype.render=function(e,n,a,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new de,this.group.add(this._axisGroup),!!e.get("show")){var s=e.getCoordSysModel(),l=hm(s,e),u=new vr(e,G({handleAutoShown:function(f){for(var h=s.coordinateSystem.getCartesians(),p=0;p<h.length;p++)if(M1(h[p].getOtherAxis(e.axis).scale))return!0;return!1}},l));M(Foe,u.add,u),this._axisGroup.add(u.getGroup()),M(Goe,function(f){e.get([f,"show"])&&$oe[f](this,this._axisGroup,e,s)},this);var c=i&&i.type==="changeAxisOrder"&&i.isInitSort;c||Xu(o,this._axisGroup,e),r.prototype.render.call(this,e,n,a,i)}},t.prototype.remove=function(){eE(this)},t.type="cartesianAxis",t}(jo),$oe={splitLine:function(r,t,e,n){var a=e.axis;if(!a.scale.isBlank()){var i=e.getModel("splitLine"),o=i.getModel("lineStyle"),s=o.get("color"),l=i.get("showMinLine")!==!1,u=i.get("showMaxLine")!==!1;s=U(s)?s:[s];for(var c=n.coordinateSystem.getRect(),f=a.isHorizontal(),h=0,p=a.getTicksCoords({tickModel:i}),v=[],m=[],g=o.getLineStyle(),_=0;_<p.length;_++){var y=a.toGlobalCoord(p[_].coord);if(!(_===0&&!l||_===p.length-1&&!u)){var w=p[_].tickValue;f?(v[0]=y,v[1]=c.y,m[0]=y,m[1]=c.y+c.height):(v[0]=c.x,v[1]=y,m[0]=c.x+c.width,m[1]=y);var x=h++%s.length,b=new Dt({anid:w!=null?"line_"+w:null,autoBatch:!0,shape:{x1:v[0],y1:v[1],x2:m[0],y2:m[1]},style:ue({stroke:s[x]},g),silent:!0});qs(b.shape,g.lineWidth),t.add(b)}}}},minorSplitLine:function(r,t,e,n){var a=e.axis,i=e.getModel("minorSplitLine"),o=i.getModel("lineStyle"),s=n.coordinateSystem.getRect(),l=a.isHorizontal(),u=a.getMinorTicksCoords();if(u.length)for(var c=[],f=[],h=o.getLineStyle(),p=0;p<u.length;p++)for(var v=0;v<u[p].length;v++){var m=a.toGlobalCoord(u[p][v].coord);l?(c[0]=m,c[1]=s.y,f[0]=m,f[1]=s.y+s.height):(c[0]=s.x,c[1]=m,f[0]=s.x+s.width,f[1]=m);var g=new Dt({anid:"minor_line_"+u[p][v].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:h,silent:!0});qs(g.shape,h.lineWidth),t.add(g)}},splitArea:function(r,t,e,n){QC(r,t,e,n)}},rE=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="xAxis",t}(tE),Woe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=rE.type,e}return t.type="yAxis",t}(tE),Uoe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="grid",e}return t.prototype.render=function(e,n){this.group.removeAll(),e.get("show")&&this.group.add(new Pe({shape:e.coordinateSystem.getRect(),style:ue({fill:e.get("backgroundColor")},e.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(nt),nE={offset:0};function aE(r){r.registerComponentView(Uoe),r.registerComponentModel(yoe),r.registerCoordinateSystem("cartesian2d",Doe),Sl(r,"x",um,nE),Sl(r,"y",um,nE),r.registerComponentView(rE),r.registerComponentView(Woe),r.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function Yoe(r){Se(aE),r.registerSeriesModel(doe),r.registerChartView(_oe),r.registerLayout(Lc("scatter"))}function joe(r){r.eachSeriesByType("radar",function(t){var e=t.getData(),n=[],a=t.coordinateSystem;if(a){var i=a.getIndicatorAxes();M(i,function(o,s){e.each(e.mapDimension(i[s].dim),function(l,u){n[u]=n[u]||[];var c=a.dataToPoint(l,s);n[u][s]=iE(c)?c:oE(a)})}),e.each(function(o){var s=EZ(n[o],function(l){return iE(l)})||oE(a);n[o].push(s.slice()),e.setItemLayout(o,n[o])})}})}function iE(r){return!isNaN(r[0])&&!isNaN(r[1])}function oE(r){return[r.cx,r.cy]}function Xoe(r){var t=r.polar;if(t){U(t)||(t=[t]);var e=[];M(t,function(n,a){n.indicator?(n.type&&!n.shape&&(n.shape=n.type),r.radar=r.radar||[],U(r.radar)||(r.radar=[r.radar]),r.radar.push(n)):e.push(n)}),r.polar=e}M(r.series,function(n){n&&n.type==="radar"&&n.polarIndex&&(n.radarIndex=n.polarIndex)})}var qoe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=e.coordinateSystem,o=this.group,s=e.getData(),l=this._data;function u(h,p){var v=h.getItemVisual(p,"symbol")||"circle";if(v!=="none"){var m=hl(h.getItemVisual(p,"symbolSize")),g=xt(v,-1,-1,2,2),_=h.getItemVisual(p,"symbolRotate")||0;return g.attr({style:{strokeNoScale:!0},z2:100,scaleX:m[0]/2,scaleY:m[1]/2,rotation:_*Math.PI/180||0}),g}}function c(h,p,v,m,g,_){v.removeAll();for(var y=0;y<p.length-1;y++){var w=u(m,g);w&&(w.__dimIdx=y,h[y]?(w.setPosition(h[y]),Eo[_?"initProps":"updateProps"](w,{x:p[y][0],y:p[y][1]},e,g)):w.setPosition(p[y]),v.add(w))}}function f(h){return Y(h,function(p){return[i.cx,i.cy]})}s.diff(l).add(function(h){var p=s.getItemLayout(h);if(p){var v=new cr,m=new fr,g={shape:{points:p}};v.shape.points=f(p),m.shape.points=f(p),tt(v,g,e,h),tt(m,g,e,h);var _=new de,y=new de;_.add(m),_.add(v),_.add(y),c(m.shape.points,p,y,s,h,!0),s.setItemGraphicEl(h,_)}}).update(function(h,p){var v=l.getItemGraphicEl(p),m=v.childAt(0),g=v.childAt(1),_=v.childAt(2),y={shape:{points:s.getItemLayout(h)}};y.shape.points&&(c(m.shape.points,y.shape.points,_,s,h,!1),yn(g),yn(m),Oe(m,y,e),Oe(g,y,e),s.setItemGraphicEl(h,v))}).remove(function(h){o.remove(l.getItemGraphicEl(h))}).execute(),s.eachItemGraphicEl(function(h,p){var v=s.getItemModel(p),m=h.childAt(0),g=h.childAt(1),_=h.childAt(2),y=s.getItemVisual(p,"style"),w=y.fill;o.add(h),m.useStyle(ue(v.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:w})),zt(m,v,"lineStyle"),zt(g,v,"areaStyle");var x=v.getModel("areaStyle"),b=x.isEmpty()&&x.parentModel.isEmpty();g.ignore=b,M(["emphasis","select","blur"],function(D){var T=v.getModel([D,"areaStyle"]),E=T.isEmpty()&&T.parentModel.isEmpty();g.ensureState(D).ignore=E&&b}),g.useStyle(ue(x.getAreaStyle(),{fill:w,opacity:.7,decal:y.decal}));var S=v.getModel("emphasis"),C=S.getModel("itemStyle").getItemStyle();_.eachChild(function(D){if(D instanceof Vt){var T=D.style;D.useStyle(G({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},y))}else D.useStyle(y),D.setColor(w),D.style.strokeNoScale=!0;var E=D.ensureState("emphasis");E.style=pe(C);var A=s.getStore().get(s.getDimensionIndex(D.__dimIdx),p);(A==null||isNaN(A))&&(A=""),Ht(D,At(v),{labelFetcher:s.hostModel,labelDataIndex:p,labelDimIndex:D.__dimIdx,defaultText:A,inheritColor:w,defaultOpacity:y.opacity})}),ot(h,S.get("focus"),S.get("blurScope"),S.get("disabled"))}),this._data=s},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(Xe),Zoe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new Pc(J(this.getData,this),J(this.getRawData,this))},t.prototype.getInitialData=function(e,n){return bl(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(e,n,a){var i=this.getData(),o=this.coordinateSystem,s=o.getIndicatorAxes(),l=this.getData().getName(e),u=l===""?this.name:l,c=yb(this,e);return Mt("section",{header:u,sortBlocks:!0,blocks:Y(s,function(f){var h=i.get(i.mapDimension(f.dim),e);return Mt("nameValue",{markerType:"subItem",markerColor:c,name:f.name,value:h,sortParam:h})})})},t.prototype.getTooltipPosition=function(e){if(e!=null){for(var n=this.getData(),a=this.coordinateSystem,i=n.getValues(Y(a.dimensions,function(u){return n.mapDimension(u)}),e),o=0,s=i.length;o<s;o++)if(!isNaN(i[o])){var l=a.getIndicatorAxes();return a.coordToPoint(l[o].dataToCoord(i[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}(Ke),Bc=FC.value;function xd(r,t){return ue({show:t},r)}var Koe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){var e=this.get("boundaryGap"),n=this.get("splitNumber"),a=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),s=this.get("axisLabel"),l=this.get("axisName"),u=this.get(["axisName","show"]),c=this.get(["axisName","formatter"]),f=this.get("axisNameGap"),h=this.get("triggerEvent"),p=Y(this.get("indicator")||[],function(v){v.max!=null&&v.max>0&&!v.min?v.min=0:v.min!=null&&v.min<0&&!v.max&&(v.max=0);var m=l;v.color!=null&&(m=ue({color:v.color},l));var g=_e(pe(v),{boundaryGap:e,splitNumber:n,scale:a,axisLine:i,axisTick:o,axisLabel:s,name:v.text,showName:u,nameLocation:"end",nameGap:f,nameTextStyle:m,triggerEvent:h},!1);if(K(c)){var _=g.name;g.name=c.replace("{value}",_??"")}else ae(c)&&(g.name=c(g.name,g));var y=new Ue(g,null,this.ecModel);return gt(y,bc.prototype),y.mainType="radar",y.componentIndex=this.componentIndex,y},this);this._indicatorModels=p},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:_e({lineStyle:{color:"#bbb"}},Bc.axisLine),axisLabel:xd(Bc.axisLabel,!1),axisTick:xd(Bc.axisTick,!1),splitLine:xd(Bc.splitLine,!0),splitArea:xd(Bc.splitArea,!0),indicator:[]},t}(Ae),Joe=["axisLine","axisTickLabel","axisName"],Qoe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=this.group;i.removeAll(),this._buildAxes(e),this._buildSplitLineAndArea(e)},t.prototype._buildAxes=function(e){var n=e.coordinateSystem,a=n.getIndicatorAxes(),i=Y(a,function(o){var s=o.model.get("showName")?o.name:"",l=new vr(o.model,{axisName:s,position:[n.cx,n.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return l});M(i,function(o){M(Joe,o.add,o),this.group.add(o.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(e){var n=e.coordinateSystem,a=n.getIndicatorAxes();if(!a.length)return;var i=e.get("shape"),o=e.getModel("splitLine"),s=e.getModel("splitArea"),l=o.getModel("lineStyle"),u=s.getModel("areaStyle"),c=o.get("show"),f=s.get("show"),h=l.get("color"),p=u.get("color"),v=U(h)?h:[h],m=U(p)?p:[p],g=[],_=[];function y(N,P,V){var O=V%P.length;return N[O]=N[O]||[],O}if(i==="circle")for(var w=a[0].getTicksCoords(),x=n.cx,b=n.cy,S=0;S<w.length;S++){if(c){var C=y(g,v,S);g[C].push(new Ca({shape:{cx:x,cy:b,r:w[S].coord}}))}if(f&&S<w.length-1){var C=y(_,m,S);_[C].push(new Wu({shape:{cx:x,cy:b,r0:w[S].coord,r:w[S+1].coord}}))}}else for(var D,T=Y(a,function(N,P){var V=N.getTicksCoords();return D=D==null?V.length-1:Math.min(V.length-1,D),Y(V,function(O){return n.coordToPoint(O.coord,P)})}),E=[],S=0;S<=D;S++){for(var A=[],k=0;k<a.length;k++)A.push(T[k][S]);if(A[0]?A.push(A[0].slice()):process.env.NODE_ENV!=="production"&&console.error("Can't draw value axis "+S),c){var C=y(g,v,S);g[C].push(new fr({shape:{points:A}}))}if(f&&E){var C=y(_,m,S-1);_[C].push(new cr({shape:{points:A.concat(E)}}))}E=A.slice().reverse()}var I=l.getLineStyle(),L=u.getAreaStyle();M(_,function(N,P){this.group.add(Ur(N,{style:ue({stroke:"none",fill:m[P%m.length]},L),silent:!0}))},this),M(g,function(N,P){this.group.add(Ur(N,{style:ue({fill:"none",stroke:v[P%v.length]},I),silent:!0}))},this)},t.type="radar",t}(nt),ese=function(r){F(t,r);function t(e,n,a){var i=r.call(this,e,n,a)||this;return i.type="value",i.angle=0,i.name="",i}return t}(Cn),tse=function(){function r(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=Y(t.getIndicatorModels(),function(a,i){var o="indicator_"+i,s=new ese(o,new Ma);return s.name=a.get("name"),s.model=a,a.axis=s,this.dimensions.push(o),s},this),this.resize(t,n)}return r.prototype.getIndicatorAxes=function(){return this._indicatorAxes},r.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},r.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e],a=n.angle,i=this.cx+t*Math.cos(a),o=this.cy-t*Math.sin(a);return[i,o]},r.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,a=Math.sqrt(e*e+n*n);e/=a,n/=a;for(var i=Math.atan2(-n,e),o=1/0,s,l=-1,u=0;u<this._indicatorAxes.length;u++){var c=this._indicatorAxes[u],f=Math.abs(i-c.angle);f<o&&(s=c,l=u,o=f)}return[l,+(s&&s.coordToData(a))]},r.prototype.resize=function(t,e){var n=t.get("center"),a=e.getWidth(),i=e.getHeight(),o=Math.min(a,i)/2;this.cx=Z(n[0],a),this.cy=Z(n[1],i),this.startAngle=t.get("startAngle")*Math.PI/180;var s=t.get("radius");(K(s)||Be(s))&&(s=[0,s]),this.r0=Z(s[0],o),this.r=Z(s[1],o),M(this._indicatorAxes,function(l,u){l.setExtent(this.r0,this.r);var c=this.startAngle+u*Math.PI*2/this._indicatorAxes.length;c=Math.atan2(Math.sin(c),Math.cos(c)),l.angle=c},this)},r.prototype.update=function(t,e){var n=this._indicatorAxes,a=this._model;M(n,function(s){s.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(s,l){if(!(s.get("coordinateSystem")!=="radar"||t.getComponent("radar",s.get("radarIndex"))!==a)){var u=s.getData();M(n,function(c){c.scale.unionExtentFromData(u,u.mapDimension(c.dim))})}},this);var i=a.get("splitNumber"),o=new Ma;o.setExtent(0,i),o.setInterval(1),M(n,function(s,l){YC(s.scale,s.model,o)})},r.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},r.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},r.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},r.create=function(t,e){var n=[];return t.eachComponent("radar",function(a){var i=new r(a,t,e);n.push(i),a.coordinateSystem=i}),t.eachSeriesByType("radar",function(a){a.get("coordinateSystem")==="radar"&&(a.coordinateSystem=n[a.get("radarIndex")||0])}),n},r.dimensions=[],r}();function rse(r){r.registerCoordinateSystem("radar",tse),r.registerComponentModel(Koe),r.registerComponentView(Qoe),r.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each(function(n){e.setItemVisual(n,"legendIcon","roundRect")}),e.setVisual("legendIcon","roundRect")}})}function nse(r){Se(rse),r.registerChartView(qoe),r.registerSeriesModel(Zoe),r.registerLayout(joe),r.registerProcessor(Nc("radar")),r.registerPreprocessor(Xoe)}var sE="\0_ec_interaction_mutex";function ase(r,t,e){var n=wm(r);n[t]=e}function ise(r,t,e){var n=wm(r),a=n[t];a===e&&(n[t]=null)}function lE(r,t){return!!wm(r)[t]}function wm(r){return r[sE]||(r[sE]={})}qn({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},ft);var Oc=function(r){F(t,r);function t(e){var n=r.call(this)||this;n._zr=e;var a=J(n._mousedownHandler,n),i=J(n._mousemoveHandler,n),o=J(n._mouseupHandler,n),s=J(n._mousewheelHandler,n),l=J(n._pinchHandler,n);return n.enable=function(u,c){this.disable(),this._opt=ue(pe(c)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),u==null&&(u=!0),(u===!0||u==="move"||u==="pan")&&(e.on("mousedown",a),e.on("mousemove",i),e.on("mouseup",o)),(u===!0||u==="scale"||u==="zoom")&&(e.on("mousewheel",s),e.on("pinch",l))},n.disable=function(){e.off("mousedown",a),e.off("mousemove",i),e.off("mouseup",o),e.off("mousewheel",s),e.off("pinch",l)},n}return t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(e){this.pointerChecker=e},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(e){if(!w8(e)){for(var n=e.target;n;){if(n.draggable)return;n=n.__hostTarget||n.parent}var a=e.offsetX,i=e.offsetY;this.pointerChecker&&this.pointerChecker(e,a,i)&&(this._x=a,this._y=i,this._dragging=!0)}},t.prototype._mousemoveHandler=function(e){if(!(!this._dragging||!bd("moveOnMouseMove",e,this._opt)||e.gestureEvent==="pinch"||lE(this._zr,"globalPan"))){var n=e.offsetX,a=e.offsetY,i=this._x,o=this._y,s=n-i,l=a-o;this._x=n,this._y=a,this._opt.preventDefaultMouseMove&&pa(e.event),uE(this,"pan","moveOnMouseMove",e,{dx:s,dy:l,oldX:i,oldY:o,newX:n,newY:a,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(e){w8(e)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(e){var n=bd("zoomOnMouseWheel",e,this._opt),a=bd("moveOnMouseWheel",e,this._opt),i=e.wheelDelta,o=Math.abs(i),s=e.offsetX,l=e.offsetY;if(!(i===0||!n&&!a)){if(n){var u=o>3?1.4:o>1?1.2:1.1,c=i>0?u:1/u;xm(this,"zoom","zoomOnMouseWheel",e,{scale:c,originX:s,originY:l,isAvailableBehavior:null})}if(a){var f=Math.abs(i),h=(i>0?1:-1)*(f>3?.4:f>1?.15:.05);xm(this,"scrollMove","moveOnMouseWheel",e,{scrollDelta:h,originX:s,originY:l,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(e){if(!lE(this._zr,"globalPan")){var n=e.pinchScale>1?1.1:1/1.1;xm(this,"zoom",null,e,{scale:n,originX:e.pinchX,originY:e.pinchY,isAvailableBehavior:null})}},t}(Rr);function xm(r,t,e,n,a){r.pointerChecker&&r.pointerChecker(n,a.originX,a.originY)&&(pa(n.event),uE(r,t,e,n,a))}function uE(r,t,e,n,a){a.isAvailableBehavior=J(bd,null,e,n),r.trigger(t,a)}function bd(r,t,e){var n=e[r];return!r||n&&(!K(n)||t.event[n+"Key"])}function bm(r,t,e){var n=r.target;n.x+=t,n.y+=e,n.dirty()}function Sm(r,t,e,n){var a=r.target,i=r.zoomLimit,o=r.zoom=r.zoom||1;if(o*=t,i){var s=i.min||0,l=i.max||1/0;o=Math.max(Math.min(l,o),s)}var u=o/r.zoom;r.zoom=o,a.x-=(e-a.x)*(u-1),a.y-=(n-a.y)*(u-1),a.scaleX*=u,a.scaleY*=u,a.dirty()}var ose={axisPointer:1,tooltip:1,brush:1};function Sd(r,t,e){var n=t.getComponentByElement(r.topTarget),a=n&&n.coordinateSystem;return n&&n!==e&&!ose.hasOwnProperty(n.mainType)&&a&&a.model!==e}function cE(r){if(K(r)){var t=new DOMParser;r=t.parseFromString(r,"text/xml")}var e=r;for(e.nodeType===9&&(e=e.firstChild);e.nodeName.toLowerCase()!=="svg"||e.nodeType!==1;)e=e.nextSibling;return e}var Cm,Cd={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"},fE=Me(Cd),Ed={"alignment-baseline":"textBaseline","stop-color":"stopColor"},hE=Me(Ed),sse=function(){function r(){this._defs={},this._root=null}return r.prototype.parse=function(t,e){e=e||{};var n=cE(t);if(process.env.NODE_ENV!=="production"&&!n)throw new Error("Illegal svg");this._defsUsePending=[];var a=new de;this._root=a;var i=[],o=n.getAttribute("viewBox")||"",s=parseFloat(n.getAttribute("width")||e.width),l=parseFloat(n.getAttribute("height")||e.height);isNaN(s)&&(s=null),isNaN(l)&&(l=null),Ir(n,a,null,!0,!1);for(var u=n.firstChild;u;)this._parseNode(u,a,i,null,!1,!1),u=u.nextSibling;cse(this._defs,this._defsUsePending),this._defsUsePending=[];var c,f;if(o){var h=Td(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&&l!=null&&(f=wE(c,{x:0,y:0,width:s,height:l}),!e.ignoreViewBox)){var p=a;a=new de,a.add(p),p.scaleX=p.scaleY=f.scale,p.x=f.x,p.y=f.y}return!e.ignoreRootClip&&s!=null&&l!=null&&a.setClipPath(new Pe({shape:{x:0,y:0,width:s,height:l}})),{root:a,width:s,height:l,viewBoxRect:c,viewBoxTransform:f,named:i}},r.prototype._parseNode=function(t,e,n,a,i,o){var s=t.nodeName.toLowerCase(),l,u=a;if(s==="defs"&&(i=!0),s==="text"&&(o=!0),s==="defs"||s==="switch")l=e;else{if(!i){var c=Cm[s];if(c&&ee(Cm,s)){l=c.call(this,t,e);var f=t.getAttribute("name");if(f){var h={name:f,namedFrom:null,svgNodeTagLower:s,el:l};n.push(h),s==="g"&&(u=h)}else a&&n.push({name:a.name,namedFrom:a,svgNodeTagLower:s,el:l});e.add(l)}}var p=pE[s];if(p&&ee(pE,s)){var v=p.call(this,t),m=t.getAttribute("id");m&&(this._defs[m]=v)}}if(l&&l.isGroup)for(var g=t.firstChild;g;)g.nodeType===1?this._parseNode(g,l,n,u,i,o):g.nodeType===3&&o&&this._parseText(g,l),g=g.nextSibling},r.prototype._parseText=function(t,e){var n=new Fs({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Qr(e,n),Ir(t,n,this._defsUsePending,!1,!1),lse(n,e);var a=n.style,i=a.fontSize;i&&i<9&&(a.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var o=(a.fontSize||a.fontFamily)&&[a.fontStyle,a.fontWeight,(a.fontSize||12)+"px",a.fontFamily||"sans-serif"].join(" ");a.font=o;var s=n.getBoundingRect();return this._textX+=s.width,e.add(n),n},r.internalField=function(){Cm={g:function(t,e){var n=new de;return Qr(e,n),Ir(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Pe;return Qr(e,n),Ir(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,e){var n=new Ca;return Qr(e,n),Ir(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,e){var n=new Dt;return Qr(e,n),Ir(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,e){var n=new ip;return Qr(e,n),Ir(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,e){var n=t.getAttribute("points"),a;n&&(a=gE(n));var i=new cr({shape:{points:a||[]},silent:!0});return Qr(e,i),Ir(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var n=t.getAttribute("points"),a;n&&(a=gE(n));var i=new fr({shape:{points:a||[]},silent:!0});return Qr(e,i),Ir(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var n=new Vt;return Qr(e,n),Ir(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,e){var n=t.getAttribute("x")||"0",a=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(a)+parseFloat(o);var s=new de;return Qr(e,s),Ir(t,s,this._defsUsePending,!1,!0),s},tspan:function(t,e){var n=t.getAttribute("x"),a=t.getAttribute("y");n!=null&&(this._textX=parseFloat(n)),a!=null&&(this._textY=parseFloat(a));var i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",s=new de;return Qr(e,s),Ir(t,s,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),s},path:function(t,e){var n=t.getAttribute("d")||"",a=Lx(n);return Qr(e,a),Ir(t,a,this._defsUsePending,!1,!1),a.silent=!0,a}}}(),r}(),pE={lineargradient:function(r){var t=parseInt(r.getAttribute("x1")||"0",10),e=parseInt(r.getAttribute("y1")||"0",10),n=parseInt(r.getAttribute("x2")||"10",10),a=parseInt(r.getAttribute("y2")||"0",10),i=new Yu(t,e,n,a);return dE(r,i),vE(r,i),i},radialgradient:function(r){var t=parseInt(r.getAttribute("cx")||"0",10),e=parseInt(r.getAttribute("cy")||"0",10),n=parseInt(r.getAttribute("r")||"0",10),a=new Ox(t,e,n);return dE(r,a),vE(r,a),a}};function dE(r,t){var e=r.getAttribute("gradientUnits");e==="userSpaceOnUse"&&(t.global=!0)}function vE(r,t){for(var e=r.firstChild;e;){if(e.nodeType===1&&e.nodeName.toLocaleLowerCase()==="stop"){var n=e.getAttribute("offset"),a=void 0;n&&n.indexOf("%")>0?a=parseInt(n,10)/100:n?a=parseFloat(n):a=0;var i={};yE(e,i,i);var o=i.stopColor||e.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:a,color:o})}e=e.nextSibling}}function Qr(r,t){r&&r.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),ue(t.__inheritedStyle,r.__inheritedStyle))}function gE(r){for(var t=Td(r),e=[],n=0;n<t.length;n+=2){var a=parseFloat(t[n]),i=parseFloat(t[n+1]);e.push([a,i])}return e}function Ir(r,t,e,n,a){var i=t,o=i.__inheritedStyle=i.__inheritedStyle||{},s={};r.nodeType===1&&(pse(r,t),yE(r,o,s),n||dse(r,o,s)),i.style=i.style||{},o.fill!=null&&(i.style.fill=mE(i,"fill",o.fill,e)),o.stroke!=null&&(i.style.stroke=mE(i,"stroke",o.stroke,e)),M(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(l){o[l]!=null&&(i.style[l]=parseFloat(o[l]))}),M(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(l){o[l]!=null&&(i.style[l]=o[l])}),a&&(i.__selfStyle=s),o.lineDash&&(i.style.lineDash=Y(Td(o.lineDash),function(l){return parseFloat(l)})),(o.visibility==="hidden"||o.visibility==="collapse")&&(i.invisible=!0),o.display==="none"&&(i.ignore=!0)}function lse(r,t){var e=t.__selfStyle;if(e){var n=e.textBaseline,a=n;!n||n==="auto"||n==="baseline"?a="alphabetic":n==="before-edge"||n==="text-before-edge"?a="top":n==="after-edge"||n==="text-after-edge"?a="bottom":(n==="central"||n==="mathematical")&&(a="middle"),r.style.textBaseline=a}var i=t.__inheritedStyle;if(i){var o=i.textAlign,s=o;o&&(o==="middle"&&(s="center"),r.style.textAlign=s)}}var use=/^url\(\s*#(.*?)\)/;function mE(r,t,e,n){var a=e&&e.match(use);if(a){var i=pn(a[1]);n.push([r,t,i]);return}return e==="none"&&(e=null),e}function cse(r,t){for(var e=0;e<t.length;e++){var n=t[e];n[0].style[n[1]]=r[n[2]]}}var fse=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Td(r){return r.match(fse)||[]}var hse=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,Em=Math.PI/180;function pse(r,t){var e=r.getAttribute("transform");if(e){e=e.replace(/,/g," ");var n=[],a=null;e.replace(hse,function(f,h,p){return n.push(h,p),""});for(var i=n.length-1;i>0;i-=2){var o=n[i],s=n[i-1],l=Td(o);switch(a=a||Dr(),s){case"translate":Vn(a,a,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":j0(a,a,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":qi(a,a,-parseFloat(l[0])*Em,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*Em);da(a,[1,0,u,1,0,0],a);break;case"skewY":var c=Math.tan(parseFloat(l[0])*Em);da(a,[1,c,0,1,0,0],a);break;case"matrix":a[0]=parseFloat(l[0]),a[1]=parseFloat(l[1]),a[2]=parseFloat(l[2]),a[3]=parseFloat(l[3]),a[4]=parseFloat(l[4]),a[5]=parseFloat(l[5]);break}}t.setLocalTransform(a)}}var _E=/([^\s:;]+)\s*:\s*([^:;]+)/g;function yE(r,t,e){var n=r.getAttribute("style");if(n){_E.lastIndex=0;for(var a;(a=_E.exec(n))!=null;){var i=a[1],o=ee(Cd,i)?Cd[i]:null;o&&(t[o]=a[2]);var s=ee(Ed,i)?Ed[i]:null;s&&(e[s]=a[2])}}}function dse(r,t,e){for(var n=0;n<fE.length;n++){var a=fE[n],i=r.getAttribute(a);i!=null&&(t[Cd[a]]=i)}for(var n=0;n<hE.length;n++){var a=hE[n],i=r.getAttribute(a);i!=null&&(e[Ed[a]]=i)}}function wE(r,t){var e=t.width/r.width,n=t.height/r.height,a=Math.min(e,n);return{scale:a,x:-(r.x+r.width/2)*a+(t.x+t.width/2),y:-(r.y+r.height/2)*a+(t.y+t.height/2)}}function vse(r,t){var e=new sse;return e.parse(r,t)}var gse=ne(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),mse=function(){function r(t,e){this.type="geoSVG",this._usedGraphicMap=ne(),this._freedGraphics=[],this._mapName=t,this._parsedXML=cE(e)}return r.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 e=yse(t.named),n=e.regions,a=e.regionsMap;this._regions=n,this._regionsMap=a}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},r.prototype._buildGraphic=function(t){var e,n;try{e=t&&vse(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},n=e.root,se(n!=null)}catch(g){throw new Error(`Invalid svg format
|
|
85
|
-
`+g.message)}var a=new de;a.add(n),a.isGeoSVGGraphicRoot=!0;var i=e.width,o=e.height,s=e.viewBoxRect,l=this._boundingRect;if(!l){var u=void 0,c=void 0,f=void 0,h=void 0;if(i!=null?(u=0,f=i):s&&(u=s.x,f=s.width),o!=null?(c=0,h=o):s&&(c=s.y,h=s.height),u==null||c==null){var p=n.getBoundingRect();u==null&&(u=p.x,f=p.width),c==null&&(c=p.y,h=p.height)}l=this._boundingRect=new we(u,c,f,h)}if(s){var v=wE(s,l);n.scaleX=n.scaleY=v.scale,n.x=v.x,n.y=v.y}a.setClipPath(new Pe({shape:l.plain()}));var m=[];return M(e.named,function(g){gse.get(g.svgNodeTagLower)!=null&&(m.push(g),_se(g.el))}),{root:a,boundingRect:l,named:m}},r.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},r.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},r}();function _se(r){r.silent=!1,r.isGroup&&r.traverse(function(t){t.silent=!1})}function yse(r){var t=[],e=ne();return M(r,function(n){if(n.namedFrom==null){var a=new pae(n.name,n.el);t.push(a),e.set(n.name,a)}}),{regions:t,regionsMap:e}}for(var Tm=[126,25],xE="南海诸岛",Xo=[[[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]]],qo=0;qo<Xo.length;qo++)for(var Cl=0;Cl<Xo[qo].length;Cl++)Xo[qo][Cl][0]/=10.5,Xo[qo][Cl][1]/=-10.5/.75,Xo[qo][Cl][0]+=Tm[0],Xo[qo][Cl][1]+=Tm[1];function wse(r,t){if(r==="china"){for(var e=0;e<t.length;e++)if(t[e].name===xE)return;t.push(new c9(xE,Y(Xo,function(n){return{type:"polygon",exterior:n}}),Tm))}}var xse={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function bse(r,t){if(r==="china"){var e=xse[t.name];if(e){var n=t.getCenter();n[0]+=e[0]/10.5,n[1]+=-e[1]/(10.5/.75),t.setCenter(n)}}}var Sse=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function Cse(r,t){r==="china"&&t.name==="台湾"&&t.geometries.push({type:"polygon",exterior:Sse[0]})}var Ese="name",Tse=function(){function r(t,e,n){this.type="geoJSON",this._parsedMap=ne(),this._mapName=t,this._specialAreas=n,this._geoJSON=Ase(e)}return r.prototype.load=function(t,e){e=e||Ese;var n=this._parsedMap.get(e);if(!n){var a=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:a,boundingRect:Dse(a)})}var i=ne(),o=[];return M(n.regions,function(s){var l=s.name;t&&ee(t,l)&&(s=s.cloneShallow(l=t[l])),o.push(s),i.set(l,s)}),{regions:o,boundingRect:n.boundingRect||new we(0,0,0,0),regionsMap:i}},r.prototype._parseToRegions=function(t){var e=this._mapName,n=this._geoJSON,a;try{a=n?vae(n,t):[]}catch(i){throw new Error(`Invalid geoJson format
|
|
86
|
-
`+i.message)}return wse(e,a),M(a,function(i){var o=i.name;bse(e,i),Cse(e,i);var s=this._specialAreas&&this._specialAreas[o];s&&i.transformTo(s.left,s.top,s.width,s.height)},this),a},r.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},r}();function Dse(r){for(var t,e=0;e<r.length;e++){var n=r[e].getBoundingRect();t=t||n.clone(),t.union(n)}return t}function Ase(r){return K(r)?typeof JSON<"u"&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r}var Rc=ne();const ka={registerMap:function(r,t,e){if(t.svg){var n=new mse(r,t.svg);Rc.set(r,n)}else{var a=t.geoJson||t.geoJSON;a&&!t.features?e=t.specialAreas:a=t;var n=new Tse(r,a,e);Rc.set(r,n)}},getGeoResource:function(r){return Rc.get(r)},getMapForUser:function(r){var t=Rc.get(r);return t&&t.type==="geoJSON"&&t.getMapForUser()},load:function(r,t,e){var n=Rc.get(r);if(!n){process.env.NODE_ENV!=="production"&&console.error("Map "+r+" not exists. The GeoJSON of the map must be provided.");return}return n.load(t,e)}};var Dm=["rect","circle","line","ellipse","polygon","polyline","path"],Mse=ne(Dm),kse=ne(Dm.concat(["g"])),Lse=ne(Dm.concat(["g"])),bE=Ne();function Dd(r){var t=r.getItemStyle(),e=r.get("areaColor");return e!=null&&(t.fill=e),t}function SE(r){var t=r.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var CE=function(){function r(t){var e=new de;this.uid=Ks("ec_map_draw"),this._controller=new Oc(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new de),e.add(this._svgGroup=new de)}return r.prototype.draw=function(t,e,n,a,i){var o=t.mainType==="geo",s=t.getData&&t.getData();o&&e.eachComponent({mainType:"series",subType:"map"},function(_){!s&&_.getHostGeoModel()===t&&(s=_.getData())});var l=t.coordinateSystem,u=this._regionsGroup,c=this.group,f=l.getTransformInfo(),h=f.raw,p=f.roam,v=!u.childAt(0)||i;v?(c.x=p.x,c.y=p.y,c.scaleX=p.scaleX,c.scaleY=p.scaleY,c.dirty()):Oe(c,p,t);var m=s&&s.getVisual("visualMeta")&&s.getVisual("visualMeta").length>0,g={api:n,geo:l,mapOrGeoModel:t,data:s,isVisualEncodedByVisualMap:m,isGeo:o,transformInfoRaw:h};l.resourceType==="geoJSON"?this._buildGeoJSON(g):l.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,e,n),this._updateMapSelectHandler(t,u,n,a)},r.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=ne(),n=ne(),a=this._regionsGroup,i=t.transformInfoRaw,o=t.mapOrGeoModel,s=t.data,l=t.geo.projection,u=l&&l.stream;function c(p,v){return v&&(p=v(p)),p&&[p[0]*i.scaleX+i.x,p[1]*i.scaleY+i.y]}function f(p){for(var v=[],m=!u&&l&&l.project,g=0;g<p.length;++g){var _=c(p[g],m);_&&v.push(_)}return v}function h(p){return{shape:{points:f(p)}}}a.removeAll(),M(t.geo.regions,function(p){var v=p.name,m=e.get(v),g=n.get(v)||{},_=g.dataIdx,y=g.regionModel;if(!m){m=e.set(v,new de),a.add(m),_=s?s.indexOfName(v):null,y=t.isGeo?o.getRegionModel(v):s?s.getItemModel(_):null;var w=y.get("silent",!0);w!=null&&(m.silent=w),n.set(v,{dataIdx:_,regionModel:y})}var x=[],b=[];M(p.geometries,function(D){if(D.type==="polygon"){var T=[D.exterior].concat(D.interiors||[]);u&&(T=kE(T,u)),M(T,function(A){x.push(new cr(h(A)))})}else{var E=D.points;u&&(E=kE(E,u,!0)),M(E,function(A){b.push(new fr(h(A)))})}});var S=c(p.getCenter(),l&&l.project);function C(D,T){if(D.length){var E=new v2({culling:!0,segmentIgnoreThreshold:1,shape:{paths:D}});m.add(E),EE(t,E,_,y),TE(t,E,v,y,o,_,S),T&&(SE(E),M(E.states,SE))}}C(x),C(b,!0)}),e.each(function(p,v){var m=n.get(v),g=m.dataIdx,_=m.regionModel;DE(t,p,v,_,o,g),AE(t,p,v,_,o),ME(t,p,v,_,o)},this)},r.prototype._buildSVG=function(t){var e=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(e)&&(this._freeSVG(),this._useSVG(e));var a=this._svgDispatcherMap=ne(),i=!1;M(this._svgGraphicRecord.named,function(o){var s=o.name,l=t.mapOrGeoModel,u=t.data,c=o.svgNodeTagLower,f=o.el,h=u?u.indexOfName(s):null,p=l.getRegionModel(s);Mse.get(c)!=null&&f instanceof $r&&EE(t,f,h,p),f instanceof $r&&(f.culling=!0);var v=p.get("silent",!0);if(v!=null&&(f.silent=v),f.z2EmphasisLift=0,!o.namedFrom&&(Lse.get(c)!=null&&TE(t,f,s,p,l,h,null),DE(t,f,s,p,l,h),AE(t,f,s,p,l),kse.get(c)!=null)){var m=ME(t,f,s,p,l);m==="self"&&(i=!0);var g=a.get(s)||a.set(s,[]);g.push(f)}},this),this._enableBlurEntireSVG(i,t)},r.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),a=n.opacity;this._svgGraphicRecord.root.traverse(function(i){if(!i.isGroup){mo(i);var o=i.ensureState("blur").style||{};o.opacity==null&&a!=null&&(o.opacity=a),i.ensureState("emphasis")}})}},r.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},r.prototype.findHighDownDispatchers=function(t,e){if(t==null)return[];var n=e.coordinateSystem;if(n.resourceType==="geoJSON"){var a=this._regionsGroupByName;if(a){var i=a.get(t);return i?[i]:[]}}else if(n.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},r.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},r.prototype._useSVG=function(t){var e=ka.getGeoResource(t);if(e&&e.type==="geoSVG"){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},r.prototype._freeSVG=function(){var t=this._svgMapName;if(t!=null){var e=ka.getGeoResource(t);e&&e.type==="geoSVG"&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},r.prototype._updateController=function(t,e,n){var a=t.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=a.getZoom(),i.enable(t.get("roam")||!1);var s=t.mainType;function l(){var u={type:"geoRoam",componentType:s};return u[s+"Id"]=t.id,u}i.off("pan").on("pan",function(u){this._mouseDownFlag=!1,bm(o,u.dx,u.dy),n.dispatchAction(G(l(),{dx:u.dx,dy:u.dy,animation:{duration:0}}))},this),i.off("zoom").on("zoom",function(u){this._mouseDownFlag=!1,Sm(o,u.scale,u.originX,u.originY),n.dispatchAction(G(l(),{totalZoom:o.zoom,zoom:u.scale,originX:u.originX,originY:u.originY,animation:{duration:0}}))},this),i.setPointerChecker(function(u,c,f){return a.containPoint([c,f])&&!Sd(u,n,t)})},r.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var e=t.getTextContent();e&&(e.ignore=bE(e).ignore)})},r.prototype._updateMapSelectHandler=function(t,e,n,a){var i=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",function(){i._mouseDownFlag=!0}),e.on("click",function(o){i._mouseDownFlag&&(i._mouseDownFlag=!1)}))},r}();function EE(r,t,e,n){var a=n.getModel("itemStyle"),i=n.getModel(["emphasis","itemStyle"]),o=n.getModel(["blur","itemStyle"]),s=n.getModel(["select","itemStyle"]),l=Dd(a),u=Dd(i),c=Dd(s),f=Dd(o),h=r.data;if(h){var p=h.getItemVisual(e,"style"),v=h.getItemVisual(e,"decal");r.isVisualEncodedByVisualMap&&p.fill&&(l.fill=p.fill),v&&(l.decal=dl(v,r.api))}t.setStyle(l),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=f,mo(t)}function TE(r,t,e,n,a,i,o){var s=r.data,l=r.isGeo,u=s&&isNaN(s.get(s.mapDimension("value"),i)),c=s&&s.getItemLayout(i);if(l||u||c&&c.showLabel){var f=l?e:i,h=void 0;(!s||i>=0)&&(h=a);var p=o?{normal:{align:"center",verticalAlign:"middle"}}:null;Ht(t,At(n),{labelFetcher:h,labelDataIndex:f,defaultText:e},p);var v=t.getTextContent();if(v&&(bE(v).ignore=v.ignore,t.textConfig&&o)){var m=t.getBoundingRect().clone();t.textConfig.layoutRect=m,t.textConfig.position=[(o[0]-m.x)/m.width*100+"%",(o[1]-m.y)/m.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function DE(r,t,e,n,a,i){r.data?r.data.setItemGraphicEl(i,t):ge(t).eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:e,region:n&&n.option||{}}}function AE(r,t,e,n,a){r.data||Co({el:t,componentModel:a,itemName:e,itemTooltipOption:n.get("tooltip")})}function ME(r,t,e,n,a){t.highDownSilentOnTouch=!!a.get("selectedMode");var i=n.getModel("emphasis"),o=i.get("focus");return ot(t,o,i.get("blurScope"),i.get("disabled")),r.isGeo&&EQ(t,a,e),o}function kE(r,t,e){var n=[],a;function i(){a=[]}function o(){a.length&&(n.push(a),a=[])}var s=t({polygonStart:i,polygonEnd:o,lineStart:i,lineEnd:o,point:function(l,u){isFinite(l)&&isFinite(u)&&a.push([l,u])},sphere:function(){}});return!e&&s.polygonStart(),M(r,function(l){s.lineStart();for(var u=0;u<l.length;u++)s.point(l[u][0],l[u][1]);s.lineEnd()}),!e&&s.polygonEnd(),n}var Ise=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a,i){if(!(i&&i.type==="mapToggleSelect"&&i.from===this.uid)){var o=this.group;if(o.removeAll(),!e.getHostGeoModel()){if(this._mapDraw&&i&&i.type==="geoRoam"&&this._mapDraw.resetForLabelLayout(),i&&i.type==="geoRoam"&&i.componentType==="series"&&i.seriesId===e.id){var s=this._mapDraw;s&&o.add(s.group)}else if(e.needsDrawMap){var s=this._mapDraw||new CE(a);o.add(s.group),s.draw(e,n,a,this,i),this._mapDraw=s}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;e.get("showLegendSymbol")&&n.getComponent("legend")&&this._renderSymbols(e,n,a)}}},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(e,n,a){var i=e.originalData,o=this.group;i.each(i.mapDimension("value"),function(s,l){if(!isNaN(s)){var u=i.getItemLayout(l);if(!(!u||!u.point)){var c=u.point,f=u.offset,h=new Ca({style:{fill:e.getData().getVisual("style").fill},shape:{cx:c[0]+f*9,cy:c[1],r:3},silent:!0,z2:8+(f?0:$s+1)});if(!f){var p=e.mainSeries.getData(),v=i.getName(l),m=p.indexOfName(v),g=i.getItemModel(l),_=g.getModel("label"),y=p.getItemGraphicEl(m);Ht(h,At(g),{labelFetcher:{getFormattedLabel:function(w,x){return e.getFormattedLabel(m,x)}},defaultText:v}),h.disableLabelAnimation=!0,_.get("position")||h.setTextConfig({position:"bottom"}),y.onHoverStateChange=function(w){rp(h,w)}}o.add(h)}}})},t.type="map",t}(Xe),Nse=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.needsDrawMap=!1,e.seriesGroup=[],e.getTooltipPosition=function(n){if(n!=null){var a=this.getData().getName(n),i=this.coordinateSystem,o=i.getRegion(a);return o&&i.dataToPoint(o.getCenter())}},e}return t.prototype.getInitialData=function(e){for(var n=bl(this,{coordDimensions:["value"],encodeDefaulter:me(V2,this)}),a=ne(),i=[],o=0,s=n.count();o<s;o++){var l=n.getName(o);a.set(l,o)}var u=ka.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return M(u.regions,function(c){var f=c.name,h=a.get(f),p=c.properties&&c.properties.echartsStyle,v;h==null?(v={name:f},i.push(v)):v=n.getRawDataItem(h),p&&_e(v,p)}),n.appendData(i),n},t.prototype.getHostGeoModel=function(){var e=this.option.geoIndex;return e!=null?this.ecModel.getComponent("geo",e):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(e){var n=this.getData();return n.get(n.mapDimension("value"),e)},t.prototype.getRegionModel=function(e){var n=this.getData();return n.getItemModel(n.indexOfName(e))},t.prototype.formatTooltip=function(e,n,a){for(var i=this.getData(),o=this.getRawValue(e),s=i.getName(e),l=this.seriesGroup,u=[],c=0;c<l.length;c++){var f=l[c].originalData.indexOfName(s),h=i.mapDimension("value");isNaN(l[c].originalData.get(h,f))||u.push(l[c].name)}return Mt("section",{header:u.join(", "),noHeader:!u.length,blocks:[Mt("nameValue",{name:s,value:o})]})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.getLegendIcon=function(e){var n=e.icon||"roundRect",a=xt(n,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill);return a.setStyle(e.itemStyle),a.style.stroke="none",n.indexOf("empty")>-1&&(a.style.stroke=a.style.fill,a.style.fill="#fff",a.style.lineWidth=2),a},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}(Ke);function Pse(r,t){var e={};return M(r,function(n){n.each(n.mapDimension("value"),function(a,i){var o="ec-"+n.getName(i);e[o]=e[o]||[],isNaN(a)||e[o].push(a)})}),r[0].map(r[0].mapDimension("value"),function(n,a){for(var i="ec-"+r[0].getName(a),o=0,s=1/0,l=-1/0,u=e[i].length,c=0;c<u;c++)s=Math.min(s,e[i][c]),l=Math.max(l,e[i][c]),o+=e[i][c];var f;return t==="min"?f=s:t==="max"?f=l:t==="average"?f=o/u:f=o,u===0?NaN:f})}function Vse(r){var t={};r.eachSeriesByType("map",function(e){var n=e.getHostGeoModel(),a=n?"o"+n.id:"i"+e.getMapType();(t[a]=t[a]||[]).push(e)}),M(t,function(e,n){for(var a=Pse(Y(e,function(o){return o.getData()}),e[0].get("mapValueCalculation")),i=0;i<e.length;i++)e[i].originalData=e[i].getData();for(var i=0;i<e.length;i++)e[i].seriesGroup=e,e[i].needsDrawMap=i===0&&!e[i].getHostGeoModel(),e[i].setData(a.cloneShallow()),e[i].mainSeries=e[0]})}function Bse(r){var t={};r.eachSeriesByType("map",function(e){var n=e.getMapType();if(!(e.getHostGeoModel()||t[n])){var a={};M(e.seriesGroup,function(o){var s=o.coordinateSystem,l=o.originalData;o.get("showLegendSymbol")&&r.getComponent("legend")&&l.each(l.mapDimension("value"),function(u,c){var f=l.getName(c),h=s.getRegion(f);if(!(!h||isNaN(u))){var p=a[f]||0,v=s.dataToPoint(h.getCenter());a[f]=p+1,l.setItemLayout(c,{point:v,offset:p})}})});var i=e.getData();i.each(function(o){var s=i.getName(o),l=i.getItemLayout(o)||{};l.showLabel=!a[s],i.setItemLayout(o,l)}),t[n]=!0}})}var LE=Ot,zc=function(r){F(t,r);function t(e){var n=r.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new ma,n._rawTransformable=new ma,n.name=e,n}return t.prototype.setBoundingRect=function(e,n,a,i){return this._rect=new we(e,n,a,i),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(e,n,a,i){this._transformTo(e,n,a,i),this._viewRect=new we(e,n,a,i)},t.prototype._transformTo=function(e,n,a,i){var o=this.getBoundingRect(),s=this._rawTransformable;s.transform=o.calculateTransform(new we(e,n,a,i));var l=s.parent;s.parent=null,s.decomposeTransform(),s.parent=l,this._updateTransform()},t.prototype.setCenter=function(e,n){e&&(this._center=[Z(e[0],n.getWidth()),Z(e[1],n.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(e){e=e||1;var n=this.zoomLimit;n&&(n.max!=null&&(e=Math.min(n.max,e)),n.min!=null&&(e=Math.max(n.min,e))),this._zoom=e,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var e=this.getBoundingRect(),n=e.x+e.width/2,a=e.y+e.height/2;return[n,a]},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 e=this._rawTransformable.getLocalTransform(),n=this._roamTransformable,a=this.getDefaultCenter(),i=this.getCenter(),o=this.getZoom();i=Ot([],i,e),a=Ot([],a,e),n.originX=i[0],n.originY=i[1],n.x=a[0]-i[0],n.y=a[1]-i[1],n.scaleX=n.scaleY=o,this._updateTransform()},t.prototype._updateTransform=function(){var e=this._roamTransformable,n=this._rawTransformable;n.parent=e,e.updateTransform(),n.updateTransform(),Y0(this.transform||(this.transform=[]),n.transform||Dr()),this._rawTransform=n.getLocalTransform(),this.invTransform=this.invTransform||[],Is(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var e=this._rawTransformable,n=this._roamTransformable,a=new ma;return a.transform=n.transform,a.decomposeTransform(),{roam:{x:a.x,y:a.y,scaleX:a.scaleX,scaleY:a.scaleY},raw:{x:e.x,y:e.y,scaleX:e.scaleX,scaleY:e.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var e=this.getBoundingRect().clone();return e.applyTransform(this.transform),e},t.prototype.dataToPoint=function(e,n,a){var i=n?this._rawTransform:this.transform;return a=a||[],i?LE(a,e,i):ar(a,e)},t.prototype.pointToData=function(e){var n=this.invTransform;return n?LE([],e,n):[e[0],e[1]]},t.prototype.convertToPixel=function(e,n,a){var i=IE(n);return i===this?i.dataToPoint(a):null},t.prototype.convertFromPixel=function(e,n,a){var i=IE(n);return i===this?i.pointToData(a):null},t.prototype.containPoint=function(e){return this.getViewRectAfterRoam().contain(e[0],e[1])},t.dimensions=["x","y"],t}(ma);function IE(r){var t=r.seriesModel;return t?t.coordinateSystem:null}var Ose={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},NE=["lng","lat"],Am=function(r){F(t,r);function t(e,n,a){var i=r.call(this,e)||this;i.dimensions=NE,i.type="geo",i._nameCoordMap=ne(),i.map=n;var o=a.projection,s=ka.load(n,a.nameMap,a.nameProperty),l=ka.getGeoResource(n),u=i.resourceType=l?l.type:null,c=i.regions=s.regions,f=Ose[l.type];i._regionsMap=s.regionsMap,i.regions=s.regions,process.env.NODE_ENV!=="production"&&o&&(u==="geoSVG"&&(process.env.NODE_ENV!=="production"&&it("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"&&it("project and unproject must be both provided in the projeciton."),o=null)),i.projection=o;var h;if(o)for(var p=0;p<c.length;p++){var v=c[p].getBoundingRect(o);h=h||v.clone(),h.union(v)}else h=s.boundingRect;return i.setBoundingRect(h.x,h.y,h.width,h.height),i.aspectScale=o?1:ve(a.aspectScale,f.aspectScale),i._invertLongitute=o?!1:f.invertLongitute,i}return t.prototype._transformTo=function(e,n,a,i){var o=this.getBoundingRect(),s=this._invertLongitute;o=o.clone(),s&&(o.y=-o.y-o.height);var l=this._rawTransformable;l.transform=o.calculateTransform(new we(e,n,a,i));var u=l.parent;l.parent=null,l.decomposeTransform(),l.parent=u,s&&(l.scaleY=-l.scaleY),this._updateTransform()},t.prototype.getRegion=function(e){return this._regionsMap.get(e)},t.prototype.getRegionByCoord=function(e){for(var n=this.regions,a=0;a<n.length;a++){var i=n[a];if(i.type==="geoJSON"&&i.contain(e))return n[a]}},t.prototype.addGeoCoord=function(e,n){this._nameCoordMap.set(e,n)},t.prototype.getGeoCoord=function(e){var n=this._regionsMap.get(e);return this._nameCoordMap.get(e)||n&&n.getCenter()},t.prototype.dataToPoint=function(e,n,a){if(K(e)&&(e=this.getGeoCoord(e)),e){var i=this.projection;return i&&(e=i.project(e)),e&&this.projectedToPoint(e,n,a)}},t.prototype.pointToData=function(e){var n=this.projection;return n&&(e=n.unproject(e)),e&&this.pointToProjected(e)},t.prototype.pointToProjected=function(e){return r.prototype.pointToData.call(this,e)},t.prototype.projectedToPoint=function(e,n,a){return r.prototype.dataToPoint.call(this,e,n,a)},t.prototype.convertToPixel=function(e,n,a){var i=PE(n);return i===this?i.dataToPoint(a):null},t.prototype.convertFromPixel=function(e,n,a){var i=PE(n);return i===this?i.pointToData(a):null},t}(zc);gt(Am,zc);function PE(r){var t=r.geoModel,e=r.seriesModel;return t?t.coordinateSystem:e?e.coordinateSystem||(e.getReferringComponents("geo",yt).models[0]||{}).coordinateSystem:null}function VE(r,t){var e=r.get("boundingCoords");if(e!=null){var n=e[0],a=e[1];if(!(isFinite(n[0])&&isFinite(n[1])&&isFinite(a[0])&&isFinite(a[1])))process.env.NODE_ENV!=="production"&&console.error("Invalid boundingCoords");else{var i=this.projection;if(i){var o=n[0],s=n[1],l=a[0],u=a[1];n=[1/0,1/0],a=[-1/0,-1/0];var c=function(S,C,D,T){for(var E=D-S,A=T-C,k=0;k<=100;k++){var I=k/100,L=i.project([S+E*I,C+A*I]);Ya(n,n,L),ja(a,a,L)}};c(o,s,l,s),c(l,s,l,u),c(l,u,o,u),c(o,u,l,s)}this.setBoundingRect(n[0],n[1],a[0]-n[0],a[1]-n[1])}}var f=this.getBoundingRect(),h=r.get("layoutCenter"),p=r.get("layoutSize"),v=t.getWidth(),m=t.getHeight(),g=f.width/f.height*this.aspectScale,_=!1,y,w;h&&p&&(y=[Z(h[0],v),Z(h[1],m)],w=Z(p,Math.min(v,m)),!isNaN(y[0])&&!isNaN(y[1])&&!isNaN(w)?_=!0:process.env.NODE_ENV!=="production"&&console.warn("Given layoutCenter or layoutSize data are invalid. Use left/top/width/height instead."));var x;if(_)x={},g>1?(x.width=w,x.height=w/g):(x.height=w,x.width=w*g),x.y=y[1]-x.height/2,x.x=y[0]-x.width/2;else{var b=r.getBoxLayoutParams();b.aspect=g,x=Et(b,{width:v,height:m})}this.setViewRect(x.x,x.y,x.width,x.height),this.setCenter(r.get("center"),t),this.setZoom(r.get("zoom"))}function Rse(r,t){M(t.get("geoCoord"),function(e,n){r.addGeoCoord(n,e)})}var zse=function(){function r(){this.dimensions=NE}return r.prototype.create=function(t,e){var n=[];function a(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}t.eachComponent("geo",function(o,s){var l=o.get("map"),u=new Am(l+s,l,G({nameMap:o.get("nameMap")},a(o)));u.zoomLimit=o.get("scaleLimit"),n.push(u),o.coordinateSystem=u,u.model=o,u.resize=VE,u.resize(o,e)}),t.eachSeries(function(o){var s=o.get("coordinateSystem");if(s==="geo"){var l=o.get("geoIndex")||0;o.coordinateSystem=n[l]}});var i={};return t.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var s=o.getMapType();i[s]=i[s]||[],i[s].push(o)}}),M(i,function(o,s){var l=Y(o,function(c){return c.get("nameMap")}),u=new Am(s,s,G({nameMap:L0(l)},a(o[0])));u.zoomLimit=mt.apply(null,Y(o,function(c){return c.get("scaleLimit")})),n.push(u),u.resize=VE,u.resize(o[0],e),M(o,function(c){c.coordinateSystem=u,Rse(u,c)})}),n},r.prototype.getFilledRegions=function(t,e,n,a){for(var i=(t||[]).slice(),o=ne(),s=0;s<i.length;s++)o.set(i[s].name,i[s]);var l=ka.load(e,n,a);return M(l.regions,function(u){var c=u.name,f=o.get(c),h=u.properties&&u.properties.echartsStyle;f||(f={name:c},i.push(f)),h&&_e(f,h)}),i},r}(),BE=new zse,Hse=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n,a){var i=ka.getGeoResource(e.map);if(i&&i.type==="geoJSON"){var o=e.itemStyle=e.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(e,a),no(e,"label",["show"])},t.prototype.optionUpdated=function(){var e=this,n=this.option;n.regions=BE.getFilledRegions(n.regions,n.map,n.nameMap,n.nameProperty);var a={};this._optionModelMap=Pn(n.regions||[],function(i,o){var s=o.name;return s&&(i.set(s,new Ue(o,e,e.ecModel)),o.selected&&(a[s]=!0)),i},ne()),n.selectedMap||(n.selectedMap=a)},t.prototype.getRegionModel=function(e){return this._optionModelMap.get(e)||new Ue(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(e,n){var a=this.getRegionModel(e),i=n==="normal"?a.get(["label","formatter"]):a.get(["emphasis","label","formatter"]),o={name:e};if(ae(i))return o.status=n,i(o);if(K(i))return i.replace("{a}",e??"")},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.select=function(e){var n=this.option,a=n.selectedMode;if(a){a!=="multiple"&&(n.selectedMap=null);var i=n.selectedMap||(n.selectedMap={});i[e]=!0}},t.prototype.unSelect=function(e){var n=this.option.selectedMap;n&&(n[e]=!1)},t.prototype.toggleSelected=function(e){this[this.isSelected(e)?"unSelect":"select"](e)},t.prototype.isSelected=function(e){var n=this.option.selectedMap;return!!(n&&n[e])},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}(Ae);function OE(r,t){return r.pointToProjected?r.pointToProjected(t):r.pointToData(t)}function Mm(r,t,e,n){var a=r.getZoom(),i=r.getCenter(),o=t.zoom,s=r.projectedToPoint?r.projectedToPoint(i):r.dataToPoint(i);if(t.dx!=null&&t.dy!=null&&(s[0]-=t.dx,s[1]-=t.dy,r.setCenter(OE(r,s),n)),o!=null){if(e){var l=e.min||0,u=e.max||1/0;o=Math.max(Math.min(a*o,u),l)/a}r.scaleX*=o,r.scaleY*=o;var c=(t.originX-r.x)*(o-1),f=(t.originY-r.y)*(o-1);r.x-=c,r.y-=f,r.updateTransform(),r.setCenter(OE(r,s),n),r.setZoom(o*a)}return{center:r.getCenter(),zoom:r.getZoom()}}var Fse=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.focusBlurEnabled=!0,e}return t.prototype.init=function(e,n){this._api=n},t.prototype.render=function(e,n,a,i){if(this._model=e,!e.get("show")){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;return}this._mapDraw||(this._mapDraw=new CE(a));var o=this._mapDraw;o.draw(e,n,a,this,i),o.group.on("click",this._handleRegionClick,this),o.group.silent=e.get("silent"),this.group.add(o.group),this.updateSelectStatus(e,n,a)},t.prototype._handleRegionClick=function(e){var n;Io(e.target,function(a){return(n=ge(a).eventData)!=null},!0),n&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:n.name})},t.prototype.updateSelectStatus=function(e,n,a){var i=this;this._mapDraw.group.traverse(function(o){var s=ge(o).eventData;if(s)return i._model.isSelected(s.name)?a.enterSelect(o):a.leaveSelect(o),!0})},t.prototype.findHighDownDispatchers=function(e){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(e,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(nt);function Gse(r,t,e){ka.registerMap(r,t,e)}function RE(r){r.registerCoordinateSystem("geo",BE),r.registerComponentModel(Hse),r.registerComponentView(Fse),r.registerImpl("registerMap",Gse),r.registerImpl("getMap",function(e){return ka.getMapForUser(e)});function t(e,n){n.update="geo:updateSelectStatus",r.registerAction(n,function(a,i){var o={},s=[];return i.eachComponent({mainType:"geo",query:a},function(l){l[e](a.name);var u=l.coordinateSystem;M(u.regions,function(f){o[f.name]=l.isSelected(f.name)||!1});var c=[];M(o,function(f,h){o[h]&&c.push(h)}),s.push({geoIndex:l.componentIndex,name:c})}),{selected:o,allSelected:s,name:a.name}})}t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),r.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(e,n,a){var i=e.componentType||"series";n.eachComponent({mainType:i,query:e},function(o){var s=o.coordinateSystem;if(s.type==="geo"){var l=Mm(s,e,o.get("scaleLimit"),a);o.setCenter&&o.setCenter(l.center),o.setZoom&&o.setZoom(l.zoom),i==="series"&&M(o.seriesGroup,function(u){u.setCenter(l.center),u.setZoom(l.zoom)})}})})}function $se(r){Se(RE),r.registerChartView(Ise),r.registerSeriesModel(Nse),r.registerLayout(Bse),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,Vse),$b("map",r.registerAction)}function Wse(r){var t=r;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var e=[t],n,a;n=e.pop();)if(a=n.children,n.isExpand&&a.length)for(var i=a.length,o=i-1;o>=0;o--){var s=a[o];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},e.push(s)}}function Use(r,t){var e=r.isExpand?r.children:[],n=r.parentNode.children,a=r.hierNode.i?n[r.hierNode.i-1]:null;if(e.length){Xse(r);var i=(e[0].hierNode.prelim+e[e.length-1].hierNode.prelim)/2;a?(r.hierNode.prelim=a.hierNode.prelim+t(r,a),r.hierNode.modifier=r.hierNode.prelim-i):r.hierNode.prelim=i}else a&&(r.hierNode.prelim=a.hierNode.prelim+t(r,a));r.parentNode.hierNode.defaultAncestor=qse(r,a,r.parentNode.hierNode.defaultAncestor||n[0],t)}function Yse(r){var t=r.hierNode.prelim+r.parentNode.hierNode.modifier;r.setLayout({x:t},!0),r.hierNode.modifier+=r.parentNode.hierNode.modifier}function zE(r){return arguments.length?r:Jse}function Hc(r,t){return r-=Math.PI/2,{x:t*Math.cos(r),y:t*Math.sin(r)}}function jse(r,t){return Et(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Xse(r){for(var t=r.children,e=t.length,n=0,a=0;--e>=0;){var i=t[e];i.hierNode.prelim+=n,i.hierNode.modifier+=n,a+=i.hierNode.change,n+=i.hierNode.shift+a}}function qse(r,t,e,n){if(t){for(var a=r,i=r,o=i.parentNode.children[0],s=t,l=a.hierNode.modifier,u=i.hierNode.modifier,c=o.hierNode.modifier,f=s.hierNode.modifier;s=km(s),i=Lm(i),s&&i;){a=km(a),o=Lm(o),a.hierNode.ancestor=r;var h=s.hierNode.prelim+f-i.hierNode.prelim-u+n(s,i);h>0&&(Kse(Zse(s,r,e),r,h),u+=h,l+=h),f+=s.hierNode.modifier,u+=i.hierNode.modifier,l+=a.hierNode.modifier,c+=o.hierNode.modifier}s&&!km(a)&&(a.hierNode.thread=s,a.hierNode.modifier+=f-l),i&&!Lm(o)&&(o.hierNode.thread=i,o.hierNode.modifier+=u-c,e=r)}return e}function km(r){var t=r.children;return t.length&&r.isExpand?t[t.length-1]:r.hierNode.thread}function Lm(r){var t=r.children;return t.length&&r.isExpand?t[0]:r.hierNode.thread}function Zse(r,t,e){return r.hierNode.ancestor.parentNode===t.parentNode?r.hierNode.ancestor:e}function Kse(r,t,e){var n=e/(t.hierNode.i-r.hierNode.i);t.hierNode.change-=n,t.hierNode.shift+=e,t.hierNode.modifier+=e,t.hierNode.prelim+=e,r.hierNode.change+=n}function Jse(r,t){return r.parentNode===t.parentNode?1:2}var Qse=function(){function r(){this.parentPoint=[],this.childPoints=[]}return r}(),ele=function(r){F(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Qse},t.prototype.buildPath=function(e,n){var a=n.childPoints,i=a.length,o=n.parentPoint,s=a[0],l=a[i-1];if(i===1){e.moveTo(o[0],o[1]),e.lineTo(s[0],s[1]);return}var u=n.orient,c=u==="TB"||u==="BT"?0:1,f=1-c,h=Z(n.forkPosition,1),p=[];p[c]=o[c],p[f]=o[f]+(l[f]-o[f])*h,e.moveTo(o[0],o[1]),e.lineTo(p[0],p[1]),e.moveTo(s[0],s[1]),p[c]=s[c],e.lineTo(p[0],p[1]),p[c]=l[c],e.lineTo(p[0],p[1]),e.lineTo(l[0],l[1]);for(var v=1;v<i-1;v++){var m=a[v];e.moveTo(m[0],m[1]),p[c]=m[c],e.lineTo(p[0],p[1])}},t}(Te),tle=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._mainGroup=new de,e}return t.prototype.init=function(e,n){this._controller=new Oc(n.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(e,n,a){var i=e.getData(),o=e.layoutInfo,s=this._mainGroup,l=e.get("layout");l==="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(e,a),this._updateController(e,n,a);var u=this._data;i.diff(u).add(function(c){HE(i,c)&&FE(i,c,null,s,e)}).update(function(c,f){var h=u.getItemGraphicEl(f);if(!HE(i,c)){h&&WE(u,f,h,s,e);return}FE(i,c,h,s,e)}).remove(function(c){var f=u.getItemGraphicEl(c);f&&WE(u,c,f,s,e)}).execute(),this._nodeScaleRatio=e.get("nodeScaleRatio"),this._updateNodeAndLinkScale(e),e.get("expandAndCollapse")===!0&&i.eachItemGraphicEl(function(c,f){c.off("click").on("click",function(){a.dispatchAction({type:"treeExpandAndCollapse",seriesId:e.id,dataIndex:f})})}),this._data=i},t.prototype._updateViewCoordSys=function(e,n){var a=e.getData(),i=[];a.each(function(f){var h=a.getItemLayout(f);h&&!isNaN(h.x)&&!isNaN(h.y)&&i.push([+h.x,+h.y])});var o=[],s=[];Zh(i,o,s);var l=this._min,u=this._max;s[0]-o[0]===0&&(o[0]=l?l[0]:o[0]-1,s[0]=u?u[0]:s[0]+1),s[1]-o[1]===0&&(o[1]=l?l[1]:o[1]-1,s[1]=u?u[1]:s[1]+1);var c=e.coordinateSystem=new zc;c.zoomLimit=e.get("scaleLimit"),c.setBoundingRect(o[0],o[1],s[0]-o[0],s[1]-o[1]),c.setCenter(e.get("center"),n),c.setZoom(e.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(e,n,a){var i=this,o=this._controller,s=this._controllerHost,l=this.group;o.setPointerChecker(function(u,c,f){var h=l.getBoundingRect();return h.applyTransform(l.transform),h.contain(c,f)&&!Sd(u,a,e)}),o.enable(e.get("roam")),s.zoomLimit=e.get("scaleLimit"),s.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){bm(s,u.dx,u.dy),a.dispatchAction({seriesId:e.id,type:"treeRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){Sm(s,u.scale,u.originX,u.originY),a.dispatchAction({seriesId:e.id,type:"treeRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(e),a.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(e){var n=e.getData(),a=this._getNodeGlobalScale(e);n.eachItemGraphicEl(function(i,o){i.setSymbolScale(a)})},t.prototype._getNodeGlobalScale=function(e){var n=e.coordinateSystem;if(n.type!=="view")return 1;var a=this._nodeScaleRatio,i=n.scaleX||1,o=n.getZoom(),s=(o-1)*a+1;return s/i},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}(Xe);function HE(r,t){var e=r.getItemLayout(t);return e&&!isNaN(e.x)&&!isNaN(e.y)}function FE(r,t,e,n,a){var i=!e,o=r.tree.getNodeByDataIndex(t),s=o.getModel(),l=o.getVisual("style").fill,u=o.isExpand===!1&&o.children.length!==0?l:"#fff",c=r.tree.root,f=o.parentNode===c?o:o.parentNode||o,h=r.getItemGraphicEl(f.dataIndex),p=f.getLayout(),v=h?{x:h.__oldX,y:h.__oldY,rawX:h.__radialOldRawX,rawY:h.__radialOldRawY}:p,m=o.getLayout();i?(e=new Ac(r,t,null,{symbolInnerColor:u,useNameLabel:!0}),e.x=v.x,e.y=v.y):e.updateData(r,t,null,{symbolInnerColor:u,useNameLabel:!0}),e.__radialOldRawX=e.__radialRawX,e.__radialOldRawY=e.__radialRawY,e.__radialRawX=m.rawX,e.__radialRawY=m.rawY,n.add(e),r.setItemGraphicEl(t,e),e.__oldX=e.x,e.__oldY=e.y,Oe(e,{x:m.x,y:m.y},a);var g=e.getSymbolPath();if(a.get("layout")==="radial"){var _=c.children[0],y=_.getLayout(),w=_.children.length,x=void 0,b=void 0;if(m.x===y.x&&o.isExpand===!0&&_.children.length){var S={x:(_.children[0].getLayout().x+_.children[w-1].getLayout().x)/2,y:(_.children[0].getLayout().y+_.children[w-1].getLayout().y)/2};x=Math.atan2(S.y-y.y,S.x-y.x),x<0&&(x=Math.PI*2+x),b=S.x<y.x,b&&(x=x-Math.PI)}else x=Math.atan2(m.y-y.y,m.x-y.x),x<0&&(x=Math.PI*2+x),o.children.length===0||o.children.length!==0&&o.isExpand===!1?(b=m.x<y.x,b&&(x=x-Math.PI)):(b=m.x>y.x,b||(x=x-Math.PI));var C=b?"left":"right",D=s.getModel("label"),T=D.get("rotate"),E=T*(Math.PI/180),A=g.getTextContent();A&&(g.setTextConfig({position:D.get("position")||C,rotation:T==null?-x:E,origin:"center"}),A.setStyle("verticalAlign","middle"))}var k=s.get(["emphasis","focus"]),I=k==="relative"?pu(o.getAncestorsIndices(),o.getDescendantIndices()):k==="ancestor"?o.getAncestorsIndices():k==="descendant"?o.getDescendantIndices():null;I&&(ge(e).focus=I),rle(a,o,c,e,v,p,m,n),e.__edge&&(e.onHoverStateChange=function(L){if(L!=="blur"){var N=o.parentNode&&r.getItemGraphicEl(o.parentNode.dataIndex);N&&N.hoverState===Ou||rp(e.__edge,L)}})}function rle(r,t,e,n,a,i,o,s){var l=t.getModel(),u=r.get("edgeShape"),c=r.get("layout"),f=r.getOrient(),h=r.get(["lineStyle","curveness"]),p=r.get("edgeForkPosition"),v=l.getModel("lineStyle").getLineStyle(),m=n.__edge;if(u==="curve")t.parentNode&&t.parentNode!==e&&(m||(m=n.__edge=new Uu({shape:Im(c,f,h,a,a)})),Oe(m,{shape:Im(c,f,h,i,o)},r));else if(u==="polyline"){if(c==="orthogonal"){if(t!==e&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,_=[],y=0;y<g.length;y++){var w=g[y].getLayout();_.push([w.x,w.y])}m||(m=n.__edge=new ele({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:f,forkPosition:p}})),Oe(m,{shape:{parentPoint:[o.x,o.y],childPoints:_}},r)}}else if(process.env.NODE_ENV!=="production")throw new Error("The polyline edgeShape can only be used in orthogonal layout")}m&&!(u==="polyline"&&!t.isExpand)&&(m.useStyle(ue({strokeNoScale:!0,fill:null},v)),zt(m,l,"lineStyle"),mo(m),s.add(m))}function GE(r,t,e,n,a){var i=t.tree.root,o=$E(i,r),s=o.source,l=o.sourceLayout,u=t.getItemGraphicEl(r.dataIndex);if(u){var c=t.getItemGraphicEl(s.dataIndex),f=c.__edge,h=u.__edge||(s.isExpand===!1||s.children.length===1?f:void 0),p=n.get("edgeShape"),v=n.get("layout"),m=n.get("orient"),g=n.get(["lineStyle","curveness"]);h&&(p==="curve"?ai(h,{shape:Im(v,m,g,l,l),style:{opacity:0}},n,{cb:function(){e.remove(h)},removeOpt:a}):p==="polyline"&&n.get("layout")==="orthogonal"&&ai(h,{shape:{parentPoint:[l.x,l.y],childPoints:[[l.x,l.y]]},style:{opacity:0}},n,{cb:function(){e.remove(h)},removeOpt:a}))}}function $E(r,t){for(var e=t.parentNode===r?t:t.parentNode||t,n;n=e.getLayout(),n==null;)e=e.parentNode===r?e:e.parentNode||e;return{source:e,sourceLayout:n}}function WE(r,t,e,n,a){var i=r.tree.getNodeByDataIndex(t),o=r.tree.root,s=$E(o,i).sourceLayout,l={duration:a.get("animationDurationUpdate"),easing:a.get("animationEasingUpdate")};ai(e,{x:s.x+1,y:s.y+1},a,{cb:function(){n.remove(e),r.setItemGraphicEl(t,null)},removeOpt:l}),e.fadeOut(null,r.hostModel,{fadeLabel:!0,animation:l}),i.children.forEach(function(u){GE(u,r,n,a,l)}),GE(i,r,n,a,l)}function Im(r,t,e,n,a){var i,o,s,l,u,c,f,h;if(r==="radial"){u=n.rawX,f=n.rawY,c=a.rawX,h=a.rawY;var p=Hc(u,f),v=Hc(u,f+(h-f)*e),m=Hc(c,h+(f-h)*e),g=Hc(c,h);return{x1:p.x||0,y1:p.y||0,x2:g.x||0,y2:g.y||0,cpx1:v.x||0,cpy1:v.y||0,cpx2:m.x||0,cpy2:m.y||0}}else u=n.x,f=n.y,c=a.x,h=a.y,(t==="LR"||t==="RL")&&(i=u+(c-u)*e,o=f,s=c+(u-c)*e,l=h),(t==="TB"||t==="BT")&&(i=u,o=f+(h-f)*e,s=c,l=h+(f-h)*e);return{x1:u,y1:f,x2:c,y2:h,cpx1:i,cpy1:o,cpx2:s,cpy2:l}}var en=Ne();function UE(r){var t=r.mainData,e=r.datas;e||(e={main:t},r.datasAttr={main:"data"}),r.datas=r.mainData=null,YE(t,e,r),M(e,function(n){M(t.TRANSFERABLE_METHODS,function(a){n.wrapMethod(a,me(nle,r))})}),t.wrapMethod("cloneShallow",me(ile,r)),M(t.CHANGABLE_METHODS,function(n){t.wrapMethod(n,me(ale,r))}),se(e[t.dataType]===t)}function nle(r,t){if(lle(this)){var e=G({},en(this).datas);e[this.dataType]=t,YE(t,e,r)}else Nm(t,this.dataType,en(this).mainData,r);return t}function ale(r,t){return r.struct&&r.struct.update(),t}function ile(r,t){return M(en(t).datas,function(e,n){e!==t&&Nm(e.cloneShallow(),n,t,r)}),t}function ole(r){var t=en(this).mainData;return r==null||t==null?t:en(t).datas[r]}function sle(){var r=en(this).mainData;return r==null?[{data:r}]:Y(Me(en(r).datas),function(t){return{type:t,data:en(r).datas[t]}})}function lle(r){return en(r).mainData===r}function YE(r,t,e){en(r).datas={},M(t,function(n,a){Nm(n,a,r,e)})}function Nm(r,t,e,n){en(e).datas[t]=r,en(r).mainData=e,r.dataType=t,n.struct&&(r[n.structAttr]=n.struct,n.struct[n.datasAttr[t]]=r),r.getLinkedData=ole,r.getLinkedDataAll=sle}var ule=function(){function r(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return r.prototype.isRemoved=function(){return this.dataIndex<0},r.prototype.eachNode=function(t,e,n){ae(t)&&(n=e,e=t,t=null),t=t||{},K(t)&&(t={order:t});var a=t.order||"preorder",i=this[t.attr||"children"],o;a==="preorder"&&(o=e.call(n,this));for(var s=0;!o&&s<i.length;s++)i[s].eachNode(t,e,n);a==="postorder"&&e.call(n,this)},r.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var a=this.children[n];a.updateDepthAndHeight(t+1),a.height>e&&(e=a.height)}this.height=e+1},r.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,a=n.length;e<a;e++){var i=n[e].getNodeById(t);if(i)return i}},r.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,a=n.length;e<a;e++){var i=n[e].contains(t);if(i)return i}},r.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},r.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},r.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(e){t.push(e.dataIndex)}),t},r.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},r.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},r.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},r.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},r.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},r.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},r.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},r.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},r.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},r.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},r.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},r.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},r}(),Pm=function(){function r(t){this.type="tree",this._nodes=[],this.hostModel=t}return r.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},r.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},r.prototype.getNodeById=function(t){return this.root.getNodeById(t)},r.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,a=e.length;n<a;n++)e[n].dataIndex=-1;for(var n=0,a=t.count();n<a;n++)e[t.getRawIndex(n)].dataIndex=n},r.prototype.clearLayouts=function(){this.data.clearItemLayouts()},r.createTree=function(t,e,n){var a=new r(e),i=[],o=1;s(t);function s(c,f){var h=c.value;o=Math.max(o,U(h)?h.length:1),i.push(c);var p=new ule(Ct(c.name,""),a);f?cle(p,f):a.root=p,a._nodes.push(p);var v=c.children;if(v)for(var m=0;m<v.length;m++)s(v[m],p)}a.root.updateDepthAndHeight(0);var l=wc(i,{coordDimensions:["value"],dimensionsCount:o}).dimensions,u=new hr(l,e);return u.initData(i),n&&n(u),UE({mainData:u,struct:a,structAttr:"tree"}),a.update(),a},r}();function cle(r,t){var e=t.children;r.parentNode!==t&&(e.push(r),r.parentNode=t)}function Fc(r,t,e){if(r&&xe(t,r.type)>=0){var n=e.getData().tree.root,a=r.targetNode;if(K(a)&&(a=n.getNodeById(a)),a&&n.contains(a))return{node:a};var i=r.targetNodeId;if(i!=null&&(a=n.getNodeById(i)))return{node:a}}}function jE(r){for(var t=[];r;)r=r.parentNode,r&&t.push(r);return t.reverse()}function Vm(r,t){var e=jE(r);return xe(e,t)>=0}function Ad(r,t){for(var e=[];r;){var n=r.dataIndex;e.push({name:r.name,dataIndex:n,value:t.getRawValue(n)}),r=r.parentNode}return e.reverse(),e}var fle=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e){var n={name:e.name,children:e.data},a=e.leaves||{},i=new Ue(a,this,this.ecModel),o=Pm.createTree(n,this,s);function s(f){f.wrapMethod("getItemModel",function(h,p){var v=o.getNodeByDataIndex(p);return v&&v.children.length&&v.isExpand||(h.parentModel=i),h})}var l=0;o.eachNode("preorder",function(f){f.depth>l&&(l=f.depth)});var u=e.expandAndCollapse,c=u&&e.initialTreeDepth>=0?e.initialTreeDepth:l;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 e=this.get("orient");return e==="horizontal"?e="LR":e==="vertical"&&(e="TB"),e},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.formatTooltip=function(e,n,a){for(var i=this.getData().tree,o=i.root.children[0],s=i.getNodeByDataIndex(e),l=s.getValue(),u=s.name;s&&s!==o;)u=s.parentNode.name+"."+u,s=s.parentNode;return Mt("nameValue",{name:u,value:l,noValue:isNaN(l)||l==null})},t.prototype.getDataParams=function(e){var n=r.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=Ad(a,this),n.collapsed=!a.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}(Ke);function hle(r,t,e){for(var n=[r],a=[],i;i=n.pop();)if(a.push(i),i.isExpand){var o=i.children;if(o.length)for(var s=0;s<o.length;s++)n.push(o[s])}for(;i=a.pop();)t(i,e)}function Gc(r,t){for(var e=[r],n;n=e.pop();)if(t(n),n.isExpand){var a=n.children;if(a.length)for(var i=a.length-1;i>=0;i--)e.push(a[i])}}function ple(r,t){r.eachSeriesByType("tree",function(e){dle(e,t)})}function dle(r,t){var e=jse(r,t);r.layoutInfo=e;var n=r.get("layout"),a=0,i=0,o=null;n==="radial"?(a=2*Math.PI,i=Math.min(e.height,e.width)/2,o=zE(function(w,x){return(w.parentNode===x.parentNode?1:2)/w.depth})):(a=e.width,i=e.height,o=zE());var s=r.getData().tree.root,l=s.children[0];if(l){Wse(s),hle(l,Use,o),s.hierNode.modifier=-l.hierNode.prelim,Gc(l,Yse);var u=l,c=l,f=l;Gc(l,function(w){var x=w.getLayout().x;x<u.getLayout().x&&(u=w),x>c.getLayout().x&&(c=w),w.depth>f.depth&&(f=w)});var h=u===c?1:o(u,c)/2,p=h-u.getLayout().x,v=0,m=0,g=0,_=0;if(n==="radial")v=a/(c.getLayout().x+h+p),m=i/(f.depth-1||1),Gc(l,function(w){g=(w.getLayout().x+p)*v,_=(w.depth-1)*m;var x=Hc(g,_);w.setLayout({x:x.x,y:x.y,rawX:g,rawY:_},!0)});else{var y=r.getOrient();y==="RL"||y==="LR"?(m=i/(c.getLayout().x+h+p),v=a/(f.depth-1||1),Gc(l,function(w){_=(w.getLayout().x+p)*m,g=y==="LR"?(w.depth-1)*v:a-(w.depth-1)*v,w.setLayout({x:g,y:_},!0)})):(y==="TB"||y==="BT")&&(v=a/(c.getLayout().x+h+p),m=i/(f.depth-1||1),Gc(l,function(w){g=(w.getLayout().x+p)*v,_=y==="TB"?(w.depth-1)*m:i-(w.depth-1)*m,w.setLayout({x:g,y:_},!0)}))}}}function vle(r){r.eachSeriesByType("tree",function(t){var e=t.getData(),n=e.tree;n.eachNode(function(a){var i=a.getModel(),o=i.getModel("itemStyle").getItemStyle(),s=e.ensureUniqueItemVisual(a.dataIndex,"style");G(s,o)})})}function gle(r){r.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},function(n){var a=t.dataIndex,i=n.getData().tree,o=i.getNodeByDataIndex(a);o.isExpand=!o.isExpand})}),r.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},function(a){var i=a.coordinateSystem,o=Mm(i,t,void 0,n);a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom)})})}function mle(r){r.registerChartView(tle),r.registerSeriesModel(fle),r.registerLayout(ple),r.registerVisual(vle),gle(r)}var XE=["treemapZoomToNode","treemapRender","treemapMove"];function _le(r){for(var t=0;t<XE.length;t++)r.registerAction({type:XE[t],update:"updateView"},ft);r.registerAction({type:"treemapRootToNode",update:"updateView"},function(e,n){n.eachComponent({mainType:"series",subType:"treemap",query:e},a);function a(i,o){var s=["treemapZoomToNode","treemapRootToNode"],l=Fc(e,s,i);if(l){var u=i.getViewRoot();u&&(e.direction=Vm(u,l.node)?"rollUp":"drillDown"),i.resetViewRoot(l.node)}}})}function qE(r){var t=r.getData(),e=t.tree,n={};e.eachNode(function(a){for(var i=a;i&&i.depth>1;)i=i.parentNode;var o=z2(r.ecModel,i.name||i.dataIndex+"",n);a.setVisual("decal",o)})}var yle=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.preventUsingHoverLayer=!0,e}return t.prototype.getInitialData=function(e,n){var a={name:e.name,children:e.data};ZE(a);var i=e.levels||[],o=this.designatedVisualItemStyle={},s=new Ue({itemStyle:o},this,n);i=e.levels=wle(i,n);var l=Y(i||[],function(f){return new Ue(f,s,n)},this),u=Pm.createTree(a,this,c);function c(f){f.wrapMethod("getItemModel",function(h,p){var v=u.getNodeByDataIndex(p),m=v?l[v.depth]:null;return h.parentModel=m||s,h})}return u.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(e,n,a){var i=this.getData(),o=this.getRawValue(e),s=i.getName(e);return Mt("nameValue",{name:s,value:o})},t.prototype.getDataParams=function(e){var n=r.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=Ad(a,this),n.treePathInfo=n.treeAncestors,n},t.prototype.setLayoutInfo=function(e){this.layoutInfo=this.layoutInfo||{},G(this.layoutInfo,e)},t.prototype.mapIdToIndex=function(e){var n=this._idIndexMap;n||(n=this._idIndexMap=ne(),this._idIndexMapCount=0);var a=n.get(e);return a==null&&n.set(e,a=this._idIndexMapCount++),a},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var n=this.getRawData().tree.root;(!e||e!==n&&!n.contains(e))&&(this._viewRoot=n)},t.prototype.enableAriaDecal=function(){qE(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}(Ke);function ZE(r){var t=0;M(r.children,function(n){ZE(n);var a=n.value;U(a)&&(a=a[0]),t+=a});var e=r.value;U(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),U(r.value)?r.value[0]=e:r.value=e}function wle(r,t){var e=je(t.get("color")),n=je(t.get(["aria","decal","decals"]));if(e){r=r||[];var a,i;M(r,function(s){var l=new Ue(s),u=l.get("color"),c=l.get("decal");(l.get(["itemStyle","color"])||u&&u!=="none")&&(a=!0),(l.get(["itemStyle","decal"])||c&&c!=="none")&&(i=!0)});var o=r[0]||(r[0]={});return a||(o.color=e.slice()),!i&&n&&(o.decal=n.slice()),r}}var xle=8,KE=8,Bm=5,ble=function(){function r(t){this.group=new de,t.add(this.group)}return r.prototype.render=function(t,e,n,a){var i=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),!(!i.get("show")||!n)){var s=i.getModel("itemStyle"),l=i.getModel("emphasis"),u=s.getModel("textStyle"),c=l.getModel(["itemStyle","textStyle"]),f={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,f,u),this._renderContent(t,f,s,l,u,c,a),Ap(o,f.pos,f.box)}},r.prototype._prepare=function(t,e,n){for(var a=t;a;a=a.parentNode){var i=Ct(a.getModel().get("name"),""),o=n.getTextRect(i),s=Math.max(o.width+xle*2,e.emptyItemWidth);e.totalWidth+=s+KE,e.renderList.push({node:a,text:i,width:s})}},r.prototype._renderContent=function(t,e,n,a,i,o,s){for(var l=0,u=e.emptyItemWidth,c=t.get(["breadcrumb","height"]),f=Dee(e.pos,e.box),h=e.totalWidth,p=e.renderList,v=a.getModel("itemStyle").getItemStyle(),m=p.length-1;m>=0;m--){var g=p[m],_=g.node,y=g.width,w=g.text;h>f.width&&(h-=y-u,y=u,w=null);var x=new cr({shape:{points:Sle(l,0,y,c,m===p.length-1,m===0)},style:ue(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Ve({style:Ze(i,{text:w})}),textConfig:{position:"inside"},z2:$s*1e4,onclick:me(s,_)});x.disableLabelAnimation=!0,x.getTextContent().ensureState("emphasis").style=Ze(o,{text:w}),x.ensureState("emphasis").style=v,ot(x,a.get("focus"),a.get("blurScope"),a.get("disabled")),this.group.add(x),Cle(x,t,_),l+=y+KE}},r.prototype.remove=function(){this.group.removeAll()},r}();function Sle(r,t,e,n,a,i){var o=[[a?r:r-Bm,t],[r+e,t],[r+e,t+n],[a?r:r-Bm,t+n]];return!i&&o.splice(2,0,[r+e+Bm,t+n/2]),!a&&o.push([r,t+n/2]),o}function Cle(r,t,e){ge(r).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:e&&e.dataIndex,name:e&&e.name},treePathInfo:e&&Ad(e,t)}}var Ele=function(){function r(){this._storage=[],this._elExistsMap={}}return r.prototype.add=function(t,e,n,a,i){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:a,easing:i}),!0)},r.prototype.finished=function(t){return this._finishedCallback=t,this},r.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},a=0,i=this._storage.length;a<i;a++){var o=this._storage[a];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:n,aborted:n})}return this},r}();function Tle(){return new Ele}var Om=de,JE=Pe,QE=3,eT="label",tT="upperLabel",Dle=$s*10,Ale=$s*2,Mle=$s*3,Zo=oo([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),rT=function(r){var t=Zo(r);return t.stroke=t.fill=t.lineWidth=null,t},Md=Ne(),kle=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._state="ready",e._storage=$c(),e}return t.prototype.render=function(e,n,a,i){var o=n.findComponents({mainType:"series",subType:"treemap",query:i});if(!(xe(o,e)<0)){this.seriesModel=e,this.api=a,this.ecModel=n;var s=["treemapZoomToNode","treemapRootToNode"],l=Fc(i,s,e),u=i&&i.type,c=e.layoutInfo,f=!this._oldTree,h=this._storage,p=u==="treemapRootToNode"&&l&&h?{rootNodeGroup:h.nodeGroup[l.node.getRawIndex()],direction:i.direction}:null,v=this._giveContainerGroup(c),m=e.get("animation"),g=this._doRender(v,e,p);m&&!f&&(!u||u==="treemapZoomToNode"||u==="treemapRootToNode")?this._doAnimation(v,g,e,p):g.renderFinally(),this._resetController(a),this._renderBreadcrumb(e,a,l)}},t.prototype._giveContainerGroup=function(e){var n=this._containerGroup;return n||(n=this._containerGroup=new Om,this._initEvents(n),this.group.add(n)),n.x=e.x,n.y=e.y,n},t.prototype._doRender=function(e,n,a){var i=n.getData().tree,o=this._oldTree,s=$c(),l=$c(),u=this._storage,c=[];function f(y,w,x,b){return Lle(n,l,u,a,s,c,y,w,x,b)}m(i.root?[i.root]:[],o&&o.root?[o.root]:[],e,i===o||!o,0);var h=g(u);if(this._oldTree=i,this._storage=l,this._controllerHost){var p=this.seriesModel.layoutInfo,v=i.root.getLayout();v.width===p.width&&v.height===p.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:s,willDeleteEls:h,renderFinally:_};function m(y,w,x,b,S){b?(w=y,M(y,function(T,E){!T.isRemoved()&&D(E,E)})):new Da(w,y,C,C).add(D).update(D).remove(me(D,null)).execute();function C(T){return T.getId()}function D(T,E){var A=T!=null?y[T]:null,k=E!=null?w[E]:null,I=f(A,k,x,S);I&&m(A&&A.viewChildren||[],k&&k.viewChildren||[],I,b,S+1)}}function g(y){var w=$c();return y&&M(y,function(x,b){var S=w[b];M(x,function(C){C&&(S.push(C),Md(C).willDelete=!0)})}),w}function _(){M(h,function(y){M(y,function(w){w.parent&&w.parent.remove(w)})}),M(c,function(y){y.invisible=!0,y.dirty()})}},t.prototype._doAnimation=function(e,n,a,i){var o=a.get("animationDurationUpdate"),s=a.get("animationEasing"),l=(ae(o)?0:o)||0,u=(ae(s)?null:s)||"cubicOut",c=Tle();M(n.willDeleteEls,function(f,h){M(f,function(p,v){if(!p.invisible){var m=p.parent,g,_=Md(m);if(i&&i.direction==="drillDown")g=m===i.rootNodeGroup?{shape:{x:0,y:0,width:_.nodeWidth,height:_.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var y=0,w=0;_.willDelete||(y=_.nodeWidth/2,w=_.nodeHeight/2),g=h==="nodeGroup"?{x:y,y:w,style:{opacity:0}}:{shape:{x:y,y:w,width:0,height:0},style:{opacity:0}}}g&&c.add(p,g,l,0,u)}})}),M(this._storage,function(f,h){M(f,function(p,v){var m=n.lastsForAnimation[h][v],g={};m&&(p instanceof de?m.oldX!=null&&(g.x=p.x,g.y=p.y,p.x=m.oldX,p.y=m.oldY):(m.oldShape&&(g.shape=G({},p.shape),p.setShape(m.oldShape)),m.fadein?(p.setStyle("opacity",0),g.style={opacity:1}):p.style.opacity!==1&&(g.style={opacity:1})),c.add(p,g,l,0,u))})},this),this._state="animating",c.finished(J(function(){this._state="ready",n.renderFinally()},this)).start()},t.prototype._resetController=function(e){var n=this._controller,a=this._controllerHost;a||(this._controllerHost={target:this.group},a=this._controllerHost),n||(n=this._controller=new Oc(e.getZr()),n.enable(this.seriesModel.get("roam")),a.zoomLimit=this.seriesModel.get("scaleLimit"),a.zoom=this.seriesModel.get("zoom"),n.on("pan",J(this._onPan,this)),n.on("zoom",J(this._onZoom,this)));var i=new we(0,0,e.getWidth(),e.getHeight());n.setPointerChecker(function(o,s,l){return i.contain(s,l)})},t.prototype._clearController=function(){var e=this._controller;this._controllerHost=null,e&&(e.dispose(),e=null)},t.prototype._onPan=function(e){if(this._state!=="animating"&&(Math.abs(e.dx)>QE||Math.abs(e.dy)>QE)){var n=this.seriesModel.getData().tree.root;if(!n)return;var a=n.getLayout();if(!a)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x+e.dx,y:a.y+e.dy,width:a.width,height:a.height}})}},t.prototype._onZoom=function(e){var n=e.originX,a=e.originY,i=e.scale;if(this._state!=="animating"){var o=this.seriesModel.getData().tree.root;if(!o)return;var s=o.getLayout();if(!s)return;var l=new we(s.x,s.y,s.width,s.height),u=null,c=this._controllerHost;u=c.zoomLimit;var f=c.zoom=c.zoom||1;if(f*=i,u){var h=u.min||0,p=u.max||1/0;f=Math.max(Math.min(p,f),h)}var v=f/c.zoom;c.zoom=f;var m=this.seriesModel.layoutInfo;n-=m.x,a-=m.y;var g=Dr();Vn(g,g,[-n,-a]),j0(g,g,[v,v]),Vn(g,g,[n,a]),l.applyTransform(g),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:l.x,y:l.y,width:l.width,height:l.height}})}},t.prototype._initEvents=function(e){var n=this;e.on("click",function(a){if(n._state==="ready"){var i=n.seriesModel.get("nodeClick",!0);if(i){var o=n.findTarget(a.offsetX,a.offsetY);if(o){var s=o.node;if(s.getLayout().isLeafRoot)n._rootToNode(o);else if(i==="zoomToNode")n._zoomToNode(o);else if(i==="link"){var l=s.hostTree.data.getItemModel(s.dataIndex),u=l.get("link",!0),c=l.get("target",!0)||"blank";u&&Tp(u,c)}}}}},this)},t.prototype._renderBreadcrumb=function(e,n,a){var i=this;a||(a=e.get("leafDepth",!0)!=null?{node:e.getViewRoot()}:this.findTarget(n.getWidth()/2,n.getHeight()/2),a||(a={node:e.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new ble(this.group))).render(e,n,a.node,function(o){i._state!=="animating"&&(Vm(e.getViewRoot(),o)?i._rootToNode({node:o}):i._zoomToNode({node:o}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=$c(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(e){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype._rootToNode=function(e){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:e.node})},t.prototype.findTarget=function(e,n){var a,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},function(o){var s=this._storage.background[o.getRawIndex()];if(s){var l=s.transformCoordToLocal(e,n),u=s.shape;if(u.x<=l[0]&&l[0]<=u.x+u.width&&u.y<=l[1]&&l[1]<=u.y+u.height)a={node:o,offsetX:l[0],offsetY:l[1]};else return!1}},this),a},t.type="treemap",t}(Xe);function $c(){return{nodeGroup:[],background:[],content:[]}}function Lle(r,t,e,n,a,i,o,s,l,u){if(!o)return;var c=o.getLayout(),f=r.getData(),h=o.getModel();if(f.setItemGraphicEl(o.dataIndex,null),!c||!c.isInView)return;var p=c.width,v=c.height,m=c.borderWidth,g=c.invisible,_=o.getRawIndex(),y=s&&s.getRawIndex(),w=o.viewChildren,x=c.upperHeight,b=w&&w.length,S=h.getModel("itemStyle"),C=h.getModel(["emphasis","itemStyle"]),D=h.getModel(["blur","itemStyle"]),T=h.getModel(["select","itemStyle"]),E=S.get("borderRadius")||0,A=j("nodeGroup",Om);if(!A)return;if(l.add(A),A.x=c.x||0,A.y=c.y||0,A.markRedraw(),Md(A).nodeWidth=p,Md(A).nodeHeight=v,c.isAboveViewRoot)return A;var k=j("background",JE,u,Ale);k&&R(A,k,b&&c.upperLabelHeight);var I=h.getModel("emphasis"),L=I.get("focus"),N=I.get("blurScope"),P=I.get("disabled"),V=L==="ancestor"?o.getAncestorsIndices():L==="descendant"?o.getDescendantIndices():L;if(b)ni(A)&&yo(A,!1),k&&(yo(k,!P),f.setItemGraphicEl(o.dataIndex,k),u2(k,V,N));else{var O=j("content",JE,u,Mle);O&&z(A,O),k.disableMorphing=!0,k&&ni(k)&&yo(k,!1),yo(A,!P),f.setItemGraphicEl(o.dataIndex,A);var B=h.getShallow("cursor");B&&O.attr("cursor",B),u2(A,V,N)}return A;function R(ie,re,le){var Q=ge(re);if(Q.dataIndex=o.dataIndex,Q.seriesIndex=r.seriesIndex,re.setShape({x:0,y:0,width:p,height:v,r:E}),g)H(re);else{re.invisible=!1;var ce=o.getVisual("style"),Re=ce.stroke,ze=rT(S);ze.fill=Re;var Ye=Zo(C);Ye.fill=C.get("borderColor");var Qe=Zo(D);Qe.fill=D.get("borderColor");var pt=Zo(T);if(pt.fill=T.get("borderColor"),le){var Jt=p-2*m;$(re,Re,ce.opacity,{x:m,y:0,width:Jt,height:x})}else re.removeTextContent();re.setStyle(ze),re.ensureState("emphasis").style=Ye,re.ensureState("blur").style=Qe,re.ensureState("select").style=pt,mo(re)}ie.add(re)}function z(ie,re){var le=ge(re);le.dataIndex=o.dataIndex,le.seriesIndex=r.seriesIndex;var Q=Math.max(p-2*m,0),ce=Math.max(v-2*m,0);if(re.culling=!0,re.setShape({x:m,y:m,width:Q,height:ce,r:E}),g)H(re);else{re.invisible=!1;var Re=o.getVisual("style"),ze=Re.fill,Ye=rT(S);Ye.fill=ze,Ye.decal=Re.decal;var Qe=Zo(C),pt=Zo(D),Jt=Zo(T);$(re,ze,Re.opacity,null),re.setStyle(Ye),re.ensureState("emphasis").style=Qe,re.ensureState("blur").style=pt,re.ensureState("select").style=Jt,mo(re)}ie.add(re)}function H(ie){!ie.invisible&&i.push(ie)}function $(ie,re,le,Q){var ce=h.getModel(Q?tT:eT),Re=Ct(h.get("name"),null),ze=ce.getShallow("show");Ht(ie,At(h,Q?tT:eT),{defaultText:ze?Re:null,inheritColor:re,defaultOpacity:le,labelFetcher:r,labelDataIndex:o.dataIndex});var Ye=ie.getTextContent();if(Ye){var Qe=Ye.style,pt=N0(Qe.padding||0);Q&&(ie.setTextConfig({layoutRect:Q}),Ye.disableLabelLayout=!0),Ye.beforeUpdate=function(){var Gt=Math.max((Q?Q.width:ie.shape.width)-pt[1]-pt[3],0),aa=Math.max((Q?Q.height:ie.shape.height)-pt[0]-pt[2],0);(Qe.width!==Gt||Qe.height!==aa)&&Ye.setStyle({width:Gt,height:aa})},Qe.truncateMinChar=2,Qe.lineOverflow="truncate",X(Qe,Q,c);var Jt=Ye.getState("emphasis");X(Jt?Jt.style:null,Q,c)}}function X(ie,re,le){var Q=ie?ie.text:null;if(!re&&le.isLeafRoot&&Q!=null){var ce=r.get("drillDownIcon",!0);ie.text=ce?ce+" "+Q:Q}}function j(ie,re,le,Q){var ce=y!=null&&e[ie][y],Re=a[ie];return ce?(e[ie][y]=null,fe(Re,ce)):g||(ce=new re,ce instanceof $r&&(ce.z2=Ile(le,Q)),De(Re,ce)),t[ie][_]=ce}function fe(ie,re){var le=ie[_]={};re instanceof Om?(le.oldX=re.x,le.oldY=re.y):le.oldShape=G({},re.shape)}function De(ie,re){var le=ie[_]={},Q=o.parentNode,ce=re instanceof de;if(Q&&(!n||n.direction==="drillDown")){var Re=0,ze=0,Ye=a.background[Q.getRawIndex()];!n&&Ye&&Ye.oldShape&&(Re=Ye.oldShape.width,ze=Ye.oldShape.height),ce?(le.oldX=0,le.oldY=ze):le.oldShape={x:Re,y:ze,width:0,height:0}}le.fadein=!ce}}function Ile(r,t){return r*Dle+t}var Wc=M,Nle=oe,kd=-1,Lt=function(){function r(t){var e=t.mappingMethod,n=t.type,a=this.option=pe(t);this.type=n,this.mappingMethod=e,this._normalizeData=Ble[e];var i=r.visualHandlers[n];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[e],e==="piecewise"?(Rm(a),Ple(a)):e==="category"?a.categories?Vle(a):Rm(a,!0):(se(e!=="linear"||a.dataExtent),Rm(a))}return r.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},r.prototype.getNormalizer=function(){return J(this._normalizeData,this)},r.listVisualTypes=function(){return Me(r.visualHandlers)},r.isValidType=function(t){return r.visualHandlers.hasOwnProperty(t)},r.eachVisual=function(t,e,n){oe(t)?M(t,e,n):e.call(n,t)},r.mapVisual=function(t,e,n){var a,i=U(t)?[]:oe(t)?{}:(a=!0,null);return r.eachVisual(t,function(o,s){var l=e.call(n,o,s);a?i=l:i[s]=l}),i},r.retrieveVisuals=function(t){var e={},n;return t&&Wc(r.visualHandlers,function(a,i){t.hasOwnProperty(i)&&(e[i]=t[i],n=!0)}),n?e:null},r.prepareVisualTypes=function(t){if(U(t))t=t.slice();else if(Nle(t)){var e=[];Wc(t,function(n,a){e.push(a)}),t=e}else return[];return t.sort(function(n,a){return a==="color"&&n!=="color"&&n.indexOf("color")===0?1:-1}),t},r.dependsOn=function(t,e){return e==="color"?!!(t&&t.indexOf(e)===0):t===e},r.findPieceIndex=function(t,e,n){for(var a,i=1/0,o=0,s=e.length;o<s;o++){var l=e[o].value;if(l!=null){if(l===t||K(l)&&l===t+"")return o;n&&h(l,o)}}for(var o=0,s=e.length;o<s;o++){var u=e[o],c=u.interval,f=u.close;if(c){if(c[0]===-1/0){if(Id(f[1],t,c[1]))return o}else if(c[1]===1/0){if(Id(f[0],c[0],t))return o}else if(Id(f[0],c[0],t)&&Id(f[1],t,c[1]))return o;n&&h(c[0],o),n&&h(c[1],o)}}if(n)return t===1/0?e.length-1:t===-1/0?0:a;function h(p,v){var m=Math.abs(p-t);m<i&&(i=m,a=v)}},r.visualHandlers={color:{applyVisual:Uc("color"),getColorMapper:function(){var t=this.option;return J(t.mappingMethod==="category"?function(e,n){return!n&&(e=this._normalizeData(e)),Yc.call(this,e)}:function(e,n,a){var i=!!a;return!n&&(e=this._normalizeData(e)),a=ig(e,t.parsedVisual,a),i?a:va(a,"rgba")},this)},_normalizedToVisual:{linear:function(t){return va(ig(t,this.option.parsedVisual),"rgba")},category:Yc,piecewise:function(t,e){var n=Hm.call(this,e);return n==null&&(n=va(ig(t,this.option.parsedVisual),"rgba")),n},fixed:Ko}},colorHue:Ld(function(t,e){return Su(t,e)}),colorSaturation:Ld(function(t,e){return Su(t,null,e)}),colorLightness:Ld(function(t,e){return Su(t,null,null,e)}),colorAlpha:Ld(function(t,e){return Dh(t,e)}),decal:{applyVisual:Uc("decal"),_normalizedToVisual:{linear:null,category:Yc,piecewise:null,fixed:null}},opacity:{applyVisual:Uc("opacity"),_normalizedToVisual:zm([0,1])},liftZ:{applyVisual:Uc("liftZ"),_normalizedToVisual:{linear:Ko,category:Ko,piecewise:Ko,fixed:Ko}},symbol:{applyVisual:function(t,e,n){var a=this.mapValueToVisual(t);n("symbol",a)},_normalizedToVisual:{linear:nT,category:Yc,piecewise:function(t,e){var n=Hm.call(this,e);return n==null&&(n=nT.call(this,t)),n},fixed:Ko}},symbolSize:{applyVisual:Uc("symbolSize"),_normalizedToVisual:zm([0,1])}},r}();function Ple(r){var t=r.pieceList;r.hasSpecialVisual=!1,M(t,function(e,n){e.originIndex=n,e.visual!=null&&(r.hasSpecialVisual=!0)})}function Vle(r){var t=r.categories,e=r.categoryMap={},n=r.visual;if(Wc(t,function(o,s){e[o]=s}),!U(n)){var a=[];oe(n)?Wc(n,function(o,s){var l=e[s];a[l??kd]=o}):a[kd]=n,n=aT(r,a)}for(var i=t.length-1;i>=0;i--)n[i]==null&&(delete e[t[i]],t.pop())}function Rm(r,t){var e=r.visual,n=[];oe(e)?Wc(e,function(i){n.push(i)}):e!=null&&n.push(e);var a={color:1,symbol:1};!t&&n.length===1&&!a.hasOwnProperty(r.type)&&(n[1]=n[0]),aT(r,n)}function Ld(r){return{applyVisual:function(t,e,n){var a=this.mapValueToVisual(t);n("color",r(e("color"),a))},_normalizedToVisual:zm([0,1])}}function nT(r){var t=this.option.visual;return t[Math.round(We(r,[0,1],[0,t.length-1],!0))]||{}}function Uc(r){return function(t,e,n){n(r,this.mapValueToVisual(t))}}function Yc(r){var t=this.option.visual;return t[this.option.loop&&r!==kd?r%t.length:r]}function Ko(){return this.option.visual[0]}function zm(r){return{linear:function(t){return We(t,r,this.option.visual,!0)},category:Yc,piecewise:function(t,e){var n=Hm.call(this,e);return n==null&&(n=We(t,r,this.option.visual,!0)),n},fixed:Ko}}function Hm(r){var t=this.option,e=t.pieceList;if(t.hasSpecialVisual){var n=Lt.findPieceIndex(r,e),a=e[n];if(a&&a.visual)return a.visual[this.type]}}function aT(r,t){return r.visual=t,r.type==="color"&&(r.parsedVisual=Y(t,function(e){var n=Ar(e);return!n&&process.env.NODE_ENV!=="production"&&it("'"+e+"' is an illegal color, fallback to '#000000'",!0),n||[0,0,0,1]})),t}var Ble={linear:function(r){return We(r,this.option.dataExtent,[0,1],!0)},piecewise:function(r){var t=this.option.pieceList,e=Lt.findPieceIndex(r,t,!0);if(e!=null)return We(e,[0,t.length-1],[0,1],!0)},category:function(r){var t=this.option.categories?this.option.categoryMap[r]:r;return t??kd},fixed:ft};function Id(r,t,e){return r?t<=e:t<e}var Ole="itemStyle",iT=Ne();const Rle={seriesType:"treemap",reset:function(r){var t=r.getData().tree,e=t.root;e.isRemoved()||oT(e,{},r.getViewRoot().getAncestors(),r)}};function oT(r,t,e,n){var a=r.getModel(),i=r.getLayout(),o=r.hostTree.data;if(!(!i||i.invisible||!i.isInView)){var s=a.getModel(Ole),l=zle(s,t,n),u=o.ensureUniqueItemVisual(r.dataIndex,"style"),c=s.get("borderColor"),f=s.get("borderColorSaturation"),h;f!=null&&(h=sT(l),c=Hle(f,h)),u.stroke=c;var p=r.viewChildren;if(!p||!p.length)h=sT(l),u.fill=h;else{var v=Fle(r,a,i,s,l,p);M(p,function(m,g){if(m.depth>=e.length||m===e[m.depth]){var _=Gle(a,l,m,g,v,n);oT(m,_,e,n)}})}}}function zle(r,t,e){var n=G({},t),a=e.designatedVisualItemStyle;return M(["color","colorAlpha","colorSaturation"],function(i){a[i]=t[i];var o=r.get(i);a[i]=null,o!=null&&(n[i]=o)}),n}function sT(r){var t=Fm(r,"color");if(t){var e=Fm(r,"colorAlpha"),n=Fm(r,"colorSaturation");return n&&(t=Su(t,null,null,n)),e&&(t=Dh(t,e)),t}}function Hle(r,t){return t!=null?Su(t,null,null,r):null}function Fm(r,t){var e=r[t];if(e!=null&&e!=="none")return e}function Fle(r,t,e,n,a,i){if(!(!i||!i.length)){var o=Gm(t,"color")||a.color!=null&&a.color!=="none"&&(Gm(t,"colorAlpha")||Gm(t,"colorSaturation"));if(o){var s=t.get("visualMin"),l=t.get("visualMax"),u=e.dataExtent.slice();s!=null&&s<u[0]&&(u[0]=s),l!=null&&l>u[1]&&(u[1]=l);var c=t.get("colorMappingBy"),f={type:o.name,dataExtent:u,visual:o.range};f.type==="color"&&(c==="index"||c==="id")?(f.mappingMethod="category",f.loop=!0):f.mappingMethod="linear";var h=new Lt(f);return iT(h).drColorMappingBy=c,h}}}function Gm(r,t){var e=r.get(t);return U(e)&&e.length?{name:t,range:e}:null}function Gle(r,t,e,n,a,i){var o=G({},t);if(a){var s=a.type,l=s==="color"&&iT(a).drColorMappingBy,u=l==="index"?n:l==="id"?i.mapIdToIndex(e.getId()):e.getValue(r.get("visualDimension"));o[s]=a.mapValueToVisual(u)}return o}var jc=Math.max,Nd=Math.min,lT=mt,$m=M,uT=["itemStyle","borderWidth"],$le=["itemStyle","gapWidth"],Wle=["upperLabel","show"],Ule=["upperLabel","height"];const Yle={seriesType:"treemap",reset:function(r,t,e,n){var a=e.getWidth(),i=e.getHeight(),o=r.option,s=Et(r.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),l=o.size||[],u=Z(lT(s.width,l[0]),a),c=Z(lT(s.height,l[1]),i),f=n&&n.type,h=["treemapZoomToNode","treemapRootToNode"],p=Fc(n,h,r),v=f==="treemapRender"||f==="treemapMove"?n.rootRect:null,m=r.getViewRoot(),g=jE(m);if(f!=="treemapMove"){var _=f==="treemapZoomToNode"?Jle(r,p,m,u,c):v?[v.width,v.height]:[u,c],y=o.sort;y&&y!=="asc"&&y!=="desc"&&(y="desc");var w={squareRatio:o.squareRatio,sort:y,leafDepth:o.leafDepth};m.hostTree.clearLayouts();var x={x:0,y:0,width:_[0],height:_[1],area:_[0]*_[1]};m.setLayout(x),cT(m,w,!1,0),x=m.getLayout(),$m(g,function(S,C){var D=(g[C+1]||m).getValue();S.setLayout(G({dataExtent:[D,D],borderWidth:0,upperHeight:0},x))})}var b=r.getData().tree.root;b.setLayout(Qle(s,v,p),!0),r.setLayoutInfo(s),hT(b,new we(-s.x,-s.y,a,i),g,m,0)}};function cT(r,t,e,n){var a,i;if(!r.isRemoved()){var o=r.getLayout();a=o.width,i=o.height;var s=r.getModel(),l=s.get(uT),u=s.get($le)/2,c=pT(s),f=Math.max(l,c),h=l-u,p=f-u;r.setLayout({borderWidth:l,upperHeight:f,upperLabelHeight:c},!0),a=jc(a-2*h,0),i=jc(i-h-p,0);var v=a*i,m=jle(r,s,v,t,e,n);if(m.length){var g={x:h,y:p,width:a,height:i},_=Nd(a,i),y=1/0,w=[];w.area=0;for(var x=0,b=m.length;x<b;){var S=m[x];w.push(S),w.area+=S.getLayout().area;var C=Kle(w,_,t.squareRatio);C<=y?(x++,y=C):(w.area-=w.pop().getLayout().area,fT(w,_,g,u,!1),_=Nd(g.width,g.height),w.length=w.area=0,y=1/0)}if(w.length&&fT(w,_,g,u,!0),!e){var D=s.get("childrenVisibleMin");D!=null&&v<D&&(e=!0)}for(var x=0,b=m.length;x<b;x++)cT(m[x],t,e,n+1)}}}function jle(r,t,e,n,a,i){var o=r.children||[],s=n.sort;s!=="asc"&&s!=="desc"&&(s=null);var l=n.leafDepth!=null&&n.leafDepth<=i;if(a&&!l)return r.viewChildren=[];o=Fe(o,function(p){return!p.isRemoved()}),qle(o,s);var u=Zle(t,o,s);if(u.sum===0)return r.viewChildren=[];if(u.sum=Xle(t,e,u.sum,s,o),u.sum===0)return r.viewChildren=[];for(var c=0,f=o.length;c<f;c++){var h=o[c].getValue()/u.sum*e;o[c].setLayout({area:h})}return l&&(o.length&&r.setLayout({isLeafRoot:!0},!0),o.length=0),r.viewChildren=o,r.setLayout({dataExtent:u.dataExtent},!0),o}function Xle(r,t,e,n,a){if(!n)return e;for(var i=r.get("visibleMin"),o=a.length,s=o,l=o-1;l>=0;l--){var u=a[n==="asc"?o-l-1:l].getValue();u/e*t<i&&(s=l,e-=u)}return n==="asc"?a.splice(0,o-s):a.splice(s,o-s),e}function qle(r,t){return t&&r.sort(function(e,n){var a=t==="asc"?e.getValue()-n.getValue():n.getValue()-e.getValue();return a===0?t==="asc"?e.dataIndex-n.dataIndex:n.dataIndex-e.dataIndex:a}),r}function Zle(r,t,e){for(var n=0,a=0,i=t.length;a<i;a++)n+=t[a].getValue();var o=r.get("visualDimension"),s;return!t||!t.length?s=[NaN,NaN]:o==="value"&&e?(s=[t[t.length-1].getValue(),t[0].getValue()],e==="asc"&&s.reverse()):(s=[1/0,-1/0],$m(t,function(l){var u=l.getValue(o);u<s[0]&&(s[0]=u),u>s[1]&&(s[1]=u)})),{sum:n,dataExtent:s}}function Kle(r,t,e){for(var n=0,a=1/0,i=0,o=void 0,s=r.length;i<s;i++)o=r[i].getLayout().area,o&&(o<a&&(a=o),o>n&&(n=o));var l=r.area*r.area,u=t*t*e;return l?jc(u*n/l,l/(u*a)):1/0}function fT(r,t,e,n,a){var i=t===e.width?0:1,o=1-i,s=["x","y"],l=["width","height"],u=e[s[i]],c=t?r.area/t:0;(a||c>e[l[o]])&&(c=e[l[o]]);for(var f=0,h=r.length;f<h;f++){var p=r[f],v={},m=c?p.getLayout().area/c:0,g=v[l[o]]=jc(c-2*n,0),_=e[s[i]]+e[l[i]]-u,y=f===h-1||_<m?_:m,w=v[l[i]]=jc(y-2*n,0);v[s[o]]=e[s[o]]+Nd(n,g/2),v[s[i]]=u+Nd(n,w/2),u+=y,p.setLayout(v,!0)}e[s[o]]+=c,e[l[o]]-=c}function Jle(r,t,e,n,a){var i=(t||{}).node,o=[n,a];if(!i||i===e)return o;for(var s,l=n*a,u=l*r.option.zoomToNodeRatio;s=i.parentNode;){for(var c=0,f=s.children,h=0,p=f.length;h<p;h++)c+=f[h].getValue();var v=i.getValue();if(v===0)return o;u*=c/v;var m=s.getModel(),g=m.get(uT),_=Math.max(g,pT(m));u+=4*g*g+(3*g+_)*Math.pow(u,.5),u>dw&&(u=dw),i=s}u<l&&(u=l);var y=Math.pow(u/l,.5);return[n*y,a*y]}function Qle(r,t,e){if(t)return{x:t.x,y:t.y};var n={x:0,y:0};if(!e)return n;var a=e.node,i=a.getLayout();if(!i)return n;for(var o=[i.width/2,i.height/2],s=a;s;){var l=s.getLayout();o[0]+=l.x,o[1]+=l.y,s=s.parentNode}return{x:r.width/2-o[0],y:r.height/2-o[1]}}function hT(r,t,e,n,a){var i=r.getLayout(),o=e[a],s=o&&o===r;if(!(o&&!s||a===e.length&&r!==n)){r.setLayout({isInView:!0,invisible:!s&&!t.intersect(i),isAboveViewRoot:s},!0);var l=new we(t.x-i.x,t.y-i.y,t.width,t.height);$m(r.viewChildren||[],function(u){hT(u,l,e,n,a+1)})}}function pT(r){return r.get(Wle)?r.get(Ule):0}function eue(r){r.registerSeriesModel(yle),r.registerChartView(kle),r.registerVisual(Rle),r.registerLayout(Yle),_le(r)}function tue(r){var t=r.findComponents({mainType:"legend"});!t||!t.length||r.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),a=e.getGraph(),i=a.data,o=n.mapArray(n.getName);i.filterSelf(function(s){var l=i.getItemModel(s),u=l.getShallow("category");if(u!=null){Be(u)&&(u=o[u]);for(var c=0;c<t.length;c++)if(!t[c].isSelected(u))return!1}return!0})})}function rue(r){var t={};r.eachSeriesByType("graph",function(e){var n=e.getCategoriesData(),a=e.getData(),i={};n.each(function(o){var s=n.getName(o);i["ec-"+s]=o;var l=n.getItemModel(o),u=l.getModel("itemStyle").getItemStyle();u.fill||(u.fill=e.getColorFromPalette(s,t)),n.setItemVisual(o,"style",u);for(var c=["symbol","symbolSize","symbolKeepAspect"],f=0;f<c.length;f++){var h=l.getShallow(c[f],!0);h!=null&&n.setItemVisual(o,c[f],h)}}),n.count()&&a.each(function(o){var s=a.getItemModel(o),l=s.getShallow("category");if(l!=null){K(l)&&(l=i["ec-"+l]);var u=n.getItemVisual(l,"style"),c=a.ensureUniqueItemVisual(o,"style");G(c,u);for(var f=["symbol","symbolSize","symbolKeepAspect"],h=0;h<f.length;h++)a.setItemVisual(o,f[h],n.getItemVisual(l,f[h]))}})})}function Pd(r){return r instanceof Array||(r=[r,r]),r}function nue(r){r.eachSeriesByType("graph",function(t){var e=t.getGraph(),n=t.getEdgeData(),a=Pd(t.get("edgeSymbol")),i=Pd(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",a&&a[0]),n.setVisual("toSymbol",a&&a[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each(function(o){var s=n.getItemModel(o),l=e.getEdgeByIndex(o),u=Pd(s.getShallow("symbol",!0)),c=Pd(s.getShallow("symbolSize",!0)),f=s.getModel("lineStyle").getLineStyle(),h=n.ensureUniqueItemVisual(o,"style");switch(G(h,f),h.stroke){case"source":{var p=l.node1.getVisual("style");h.stroke=p&&p.fill;break}case"target":{var p=l.node2.getVisual("style");h.stroke=p&&p.fill;break}}u[0]&&l.setVisual("fromSymbol",u[0]),u[1]&&l.setVisual("toSymbol",u[1]),c[0]&&l.setVisual("fromSymbolSize",c[0]),c[1]&&l.setVisual("toSymbolSize",c[1])})})}var Wm="-->",Vd=function(r){return r.get("autoCurveness")||null},dT=function(r,t){var e=Vd(r),n=20,a=[];if(Be(e))n=e;else if(U(e)){r.__curvenessList=e;return}t>n&&(n=t);var i=n%2?n+2:n+3;a=[];for(var o=0;o<i;o++)a.push((o%2?o+1:o)/10*(o%2?-1:1));r.__curvenessList=a},Xc=function(r,t,e){var n=[r.id,r.dataIndex].join("."),a=[t.id,t.dataIndex].join(".");return[e.uid,n,a].join(Wm)},vT=function(r){var t=r.split(Wm);return[t[0],t[2],t[1]].join(Wm)},aue=function(r,t){var e=Xc(r.node1,r.node2,t);return t.__edgeMap[e]},iue=function(r,t){var e=Um(Xc(r.node1,r.node2,t),t),n=Um(Xc(r.node2,r.node1,t),t);return e+n},Um=function(r,t){var e=t.__edgeMap;return e[r]?e[r].length:0};function oue(r){Vd(r)&&(r.__curvenessList=[],r.__edgeMap={},dT(r))}function sue(r,t,e,n){if(Vd(e)){var a=Xc(r,t,e),i=e.__edgeMap,o=i[vT(a)];i[a]&&!o?i[a].isForward=!0:o&&i[a]&&(o.isForward=!0,i[a].isForward=!1),i[a]=i[a]||[],i[a].push(n)}}function Ym(r,t,e,n){var a=Vd(t),i=U(a);if(!a)return null;var o=aue(r,t);if(!o)return null;for(var s=-1,l=0;l<o.length;l++)if(o[l]===e){s=l;break}var u=iue(r,t);dT(t,u),r.lineStyle=r.lineStyle||{};var c=Xc(r.node1,r.node2,t),f=t.__curvenessList,h=i||u%2?0:1;if(o.isForward)return f[h+s];var p=vT(c),v=Um(p,t),m=f[s+v+h];return n?i?a&&a[0]===0?(v+h)%2?m:-m:((v%2?0:1)+h)%2?m:-m:(v+h)%2?m:-m:f[s+v+h]}function gT(r){var t=r.coordinateSystem;if(!(t&&t.type!=="view")){var e=r.getGraph();e.eachNode(function(n){var a=n.getModel();n.setLayout([+a.get("x"),+a.get("y")])}),jm(e,r)}}function jm(r,t){r.eachEdge(function(e,n){var a=Or(e.getModel().get(["lineStyle","curveness"]),-Ym(e,t,n,!0),0),i=ha(e.node1.getLayout()),o=ha(e.node2.getLayout()),s=[i,o];+a&&s.push([(i[0]+o[0])/2-(i[1]-o[1])*a,(i[1]+o[1])/2-(o[0]-i[0])*a]),e.setLayout(s)})}function lue(r,t){r.eachSeriesByType("graph",function(e){var n=e.get("layout"),a=e.coordinateSystem;if(a&&a.type!=="view"){var i=e.getData(),o=[];M(a.dimensions,function(h){o=o.concat(i.mapDimensionsAll(h))});for(var s=0;s<i.count();s++){for(var l=[],u=!1,c=0;c<o.length;c++){var f=i.get(o[c],s);isNaN(f)||(u=!0),l.push(f)}u?i.setItemLayout(s,a.dataToPoint(l)):i.setItemLayout(s,[NaN,NaN])}jm(i.graph,e)}else(!n||n==="none")&&gT(e)})}function qc(r){var t=r.coordinateSystem;if(t.type!=="view")return 1;var e=r.option.nodeScaleRatio,n=t.scaleX,a=t.getZoom(),i=(a-1)*e+1;return i/n}function Zc(r){var t=r.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var mT=Math.PI,Xm=[];function qm(r,t,e,n){var a=r.coordinateSystem;if(!(a&&a.type!=="view")){var i=a.getBoundingRect(),o=r.getData(),s=o.graph,l=i.width/2+i.x,u=i.height/2+i.y,c=Math.min(i.width,i.height)/2,f=o.count();if(o.setLayout({cx:l,cy:u}),!!f){if(e){var h=a.pointToData(n),p=h[0],v=h[1],m=[p-l,v-u];ks(m,m),vh(m,m,c),e.setLayout([l+m[0],u+m[1]],!0);var g=r.get(["circular","rotateLabel"]);_T(e,g,l,u)}uue[t](r,s,o,c,l,u,f),s.eachEdge(function(_,y){var w=Or(_.getModel().get(["lineStyle","curveness"]),Ym(_,r,y),0),x=ha(_.node1.getLayout()),b=ha(_.node2.getLayout()),S,C=(x[0]+b[0])/2,D=(x[1]+b[1])/2;+w&&(w*=3,S=[l*w+C*(1-w),u*w+D*(1-w)]),_.setLayout([x,b,S])})}}}var uue={value:function(r,t,e,n,a,i,o){var s=0,l=e.getSum("value"),u=Math.PI*2/(l||o);t.eachNode(function(c){var f=c.getValue("value"),h=u*(l?f:1)/2;s+=h,c.setLayout([n*Math.cos(s)+a,n*Math.sin(s)+i]),s+=h})},symbolSize:function(r,t,e,n,a,i,o){var s=0;Xm.length=o;var l=qc(r);t.eachNode(function(f){var h=Zc(f);isNaN(h)&&(h=2),h<0&&(h=0),h*=l;var p=Math.asin(h/2/n);isNaN(p)&&(p=mT/2),Xm[f.dataIndex]=p,s+=p*2});var u=(2*mT-s)/o/2,c=0;t.eachNode(function(f){var h=u+Xm[f.dataIndex];c+=h,(!f.getLayout()||!f.getLayout().fixed)&&f.setLayout([n*Math.cos(c)+a,n*Math.sin(c)+i]),c+=h})}};function _T(r,t,e,n){var a=r.getGraphicEl();if(a){var i=r.getModel(),o=i.get(["label","rotate"])||0,s=a.getSymbolPath();if(t){var l=r.getLayout(),u=Math.atan2(l[1]-n,l[0]-e);u<0&&(u=Math.PI*2+u);var c=l[0]<e;c&&(u=u-Math.PI);var f=c?"left":"right";s.setTextConfig({rotation:-u,position:f,origin:"center"});var h=s.ensureState("emphasis");G(h.textConfig||(h.textConfig={}),{position:f})}else s.setTextConfig({rotation:o*=Math.PI/180})}}function cue(r){r.eachSeriesByType("graph",function(t){t.get("layout")==="circular"&&qm(t,"symbolSize")})}var El=V0;function fue(r,t,e){for(var n=r,a=t,i=e.rect,o=i.width,s=i.height,l=[i.x+o/2,i.y+s/2],u=e.gravity==null?.1:e.gravity,c=0;c<n.length;c++){var f=n[c];f.p||(f.p=Yi(o*(Math.random()-.5)+l[0],s*(Math.random()-.5)+l[1])),f.pp=ha(f.p),f.edges=null}var h=e.friction==null?.6:e.friction,p=h,v,m;return{warmUp:function(){p=h*.8},setFixed:function(g){n[g].fixed=!0},setUnfixed:function(g){n[g].fixed=!1},beforeStep:function(g){v=g},afterStep:function(g){m=g},step:function(g){v&&v(n,a);for(var _=[],y=n.length,w=0;w<a.length;w++){var x=a[w];if(!x.ignoreForceLayout){var b=x.n1,S=x.n2;ji(_,S.p,b.p);var C=B0(_)-x.d,D=S.w/(b.w+S.w);isNaN(D)&&(D=0),ks(_,_),!b.fixed&&El(b.p,b.p,_,D*C*p),!S.fixed&&El(S.p,S.p,_,-(1-D)*C*p)}}for(var w=0;w<y;w++){var T=n[w];T.fixed||(ji(_,l,T.p),El(T.p,T.p,_,u*p))}for(var w=0;w<y;w++)for(var b=n[w],E=w+1;E<y;E++){var S=n[E];ji(_,S.p,b.p);var C=B0(_);C===0&&(LZ(_,Math.random()-.5,Math.random()-.5),C=1);var A=(b.rep+S.rep)/C/C;!b.fixed&&El(b.pp,b.pp,_,A),!S.fixed&&El(S.pp,S.pp,_,-A)}for(var k=[],w=0;w<y;w++){var T=n[w];T.fixed||(ji(k,T.p,T.pp),El(T.p,T.p,k,p),ar(T.pp,T.p))}p=p*.992;var I=p<.01;m&&m(n,a,I),g&&g(I)}}}function hue(r){r.eachSeriesByType("graph",function(t){var e=t.coordinateSystem;if(!(e&&e.type!=="view"))if(t.get("layout")==="force"){var n=t.preservedPoints||{},a=t.getGraph(),i=a.data,o=a.edgeData,s=t.getModel("force"),l=s.get("initLayout");t.preservedPoints?i.each(function(w){var x=i.getId(w);i.setItemLayout(w,n[x]||[NaN,NaN])}):!l||l==="none"?gT(t):l==="circular"&&qm(t,"value");var u=i.getDataExtent("value"),c=o.getDataExtent("value"),f=s.get("repulsion"),h=s.get("edgeLength"),p=U(f)?f:[f,f],v=U(h)?h:[h,h];v=[v[1],v[0]];var m=i.mapArray("value",function(w,x){var b=i.getItemLayout(x),S=We(w,u,p);return isNaN(S)&&(S=(p[0]+p[1])/2),{w:S,rep:S,fixed:i.getItemModel(x).get("fixed"),p:!b||isNaN(b[0])||isNaN(b[1])?null:b}}),g=o.mapArray("value",function(w,x){var b=a.getEdgeByIndex(x),S=We(w,c,v);isNaN(S)&&(S=(v[0]+v[1])/2);var C=b.getModel(),D=Or(b.getModel().get(["lineStyle","curveness"]),-Ym(b,t,x,!0),0);return{n1:m[b.node1.dataIndex],n2:m[b.node2.dataIndex],d:S,curveness:D,ignoreForceLayout:C.get("ignoreForceLayout")}}),_=e.getBoundingRect(),y=fue(m,g,{rect:_,gravity:s.get("gravity"),friction:s.get("friction")});y.beforeStep(function(w,x){for(var b=0,S=w.length;b<S;b++)w[b].fixed&&ar(w[b].p,a.getNodeByIndex(b).getLayout())}),y.afterStep(function(w,x,b){for(var S=0,C=w.length;S<C;S++)w[S].fixed||a.getNodeByIndex(S).setLayout(w[S].p),n[i.getId(S)]=w[S].p;for(var S=0,C=x.length;S<C;S++){var D=x[S],T=a.getEdgeByIndex(S),E=D.n1.p,A=D.n2.p,k=T.getLayout();k=k?k.slice():[],k[0]=k[0]||[],k[1]=k[1]||[],ar(k[0],E),ar(k[1],A),+D.curveness&&(k[2]=[(E[0]+A[0])/2-(E[1]-A[1])*D.curveness,(E[1]+A[1])/2-(A[0]-E[0])*D.curveness]),T.setLayout(k)}}),t.forceLayout=y,t.preservedPoints=n,y.step()}else t.forceLayout=null})}function pue(r,t,e){var n=G(r.getBoxLayoutParams(),{aspect:e});return Et(n,{width:t.getWidth(),height:t.getHeight()})}function due(r,t){var e=[];return r.eachSeriesByType("graph",function(n){var a=n.get("coordinateSystem");if(!a||a==="view"){var i=n.getData(),o=i.mapArray(function(g){var _=i.getItemModel(g);return[+_.get("x"),+_.get("y")]}),s=[],l=[];Zh(o,s,l),l[0]-s[0]===0&&(l[0]+=1,s[0]-=1),l[1]-s[1]===0&&(l[1]+=1,s[1]-=1);var u=(l[0]-s[0])/(l[1]-s[1]),c=pue(n,t,u);isNaN(u)&&(s=[c.x,c.y],l=[c.x+c.width,c.y+c.height]);var f=l[0]-s[0],h=l[1]-s[1],p=c.width,v=c.height,m=n.coordinateSystem=new zc;m.zoomLimit=n.get("scaleLimit"),m.setBoundingRect(s[0],s[1],f,h),m.setViewRect(c.x,c.y,p,v),m.setCenter(n.get("center"),t),m.setZoom(n.get("zoom")),e.push(m)}}),e}var yT=Dt.prototype,Zm=Uu.prototype,wT=function(){function r(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return r}();(function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t})(wT);function Km(r){return isNaN(+r.cpx1)||isNaN(+r.cpy1)}var vue=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="ec-line",n}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new wT},t.prototype.buildPath=function(e,n){Km(n)?yT.buildPath.call(this,e,n):Zm.buildPath.call(this,e,n)},t.prototype.pointAt=function(e){return Km(this.shape)?yT.pointAt.call(this,e):Zm.pointAt.call(this,e)},t.prototype.tangentAt=function(e){var n=this.shape,a=Km(n)?[n.x2-n.x1,n.y2-n.y1]:Zm.tangentAt.call(this,e);return ks(a,a)},t}(Te),Jm=["fromSymbol","toSymbol"];function xT(r){return"_"+r+"Type"}function bT(r,t,e){var n=t.getItemVisual(e,r);if(!n||n==="none")return n;var a=t.getItemVisual(e,r+"Size"),i=t.getItemVisual(e,r+"Rotate"),o=t.getItemVisual(e,r+"Offset"),s=t.getItemVisual(e,r+"KeepAspect"),l=hl(a),u=No(o||0,l);return n+l+u+(i||"")+(s||"")}function ST(r,t,e){var n=t.getItemVisual(e,r);if(!(!n||n==="none")){var a=t.getItemVisual(e,r+"Size"),i=t.getItemVisual(e,r+"Rotate"),o=t.getItemVisual(e,r+"Offset"),s=t.getItemVisual(e,r+"KeepAspect"),l=hl(a),u=No(o||0,l),c=xt(n,-l[0]/2+u[0],-l[1]/2+u[1],l[0],l[1],null,s);return c.__specifiedRotation=i==null||isNaN(i)?void 0:+i*Math.PI/180||0,c.name=r,c}}function gue(r){var t=new vue({name:"line",subPixelOptimize:!0});return Qm(t.shape,r),t}function Qm(r,t){r.x1=t[0][0],r.y1=t[0][1],r.x2=t[1][0],r.y2=t[1][1],r.percent=1;var e=t[2];e?(r.cpx1=e[0],r.cpy1=e[1]):(r.cpx1=NaN,r.cpy1=NaN)}var e_=function(r){F(t,r);function t(e,n,a){var i=r.call(this)||this;return i._createLine(e,n,a),i}return t.prototype._createLine=function(e,n,a){var i=e.hostModel,o=e.getItemLayout(n),s=gue(o);s.shape.percent=0,tt(s,{shape:{percent:1}},i,n),this.add(s),M(Jm,function(l){var u=ST(l,e,n);this.add(u),this[xT(l)]=bT(l,e,n)},this),this._updateCommonStl(e,n,a)},t.prototype.updateData=function(e,n,a){var i=e.hostModel,o=this.childOfName("line"),s=e.getItemLayout(n),l={shape:{}};Qm(l.shape,s),Oe(o,l,i,n),M(Jm,function(u){var c=bT(u,e,n),f=xT(u);if(this[f]!==c){this.remove(this.childOfName(u));var h=ST(u,e,n);this.add(h)}this[f]=c},this),this._updateCommonStl(e,n,a)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(e,n,a){var i=e.hostModel,o=this.childOfName("line"),s=a&&a.emphasisLineStyle,l=a&&a.blurLineStyle,u=a&&a.selectLineStyle,c=a&&a.labelStatesModels,f=a&&a.emphasisDisabled,h=a&&a.focus,p=a&&a.blurScope;if(!a||e.hasItemOption){var v=e.getItemModel(n),m=v.getModel("emphasis");s=m.getModel("lineStyle").getLineStyle(),l=v.getModel(["blur","lineStyle"]).getLineStyle(),u=v.getModel(["select","lineStyle"]).getLineStyle(),f=m.get("disabled"),h=m.get("focus"),p=m.get("blurScope"),c=At(v)}var g=e.getItemVisual(n,"style"),_=g.stroke;o.useStyle(g),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=s,o.ensureState("blur").style=l,o.ensureState("select").style=u,M(Jm,function(S){var C=this.childOfName(S);if(C){C.setColor(_),C.style.opacity=g.opacity;for(var D=0;D<lr.length;D++){var T=lr[D],E=o.getState(T);if(E){var A=E.style||{},k=C.ensureState(T),I=k.style||(k.style={});A.stroke!=null&&(I[C.__isEmptyBrush?"stroke":"fill"]=A.stroke),A.opacity!=null&&(I.opacity=A.opacity)}}C.markRedraw()}},this);var y=i.getRawValue(n);Ht(this,c,{labelDataIndex:n,labelFetcher:{getFormattedLabel:function(S,C){return i.getFormattedLabel(S,C,e.dataType)}},inheritColor:_||"#000",defaultOpacity:g.opacity,defaultText:(y==null?e.getName(n):isFinite(y)?ut(y):y)+""});var w=this.getTextContent();if(w){var x=c.normal;w.__align=w.style.align,w.__verticalAlign=w.style.verticalAlign,w.__position=x.get("position")||"middle";var b=x.get("distance");U(b)||(b=[b,b]),w.__labelDistance=b}this.setTextConfig({position:null,local:!0,inside:!1}),ot(this,h,p,f)},t.prototype.highlight=function(){ba(this)},t.prototype.downplay=function(){Sa(this)},t.prototype.updateLayout=function(e,n){this.setLinePoints(e.getItemLayout(n))},t.prototype.setLinePoints=function(e){var n=this.childOfName("line");Qm(n.shape,e),n.dirty()},t.prototype.beforeUpdate=function(){var e=this,n=e.childOfName("fromSymbol"),a=e.childOfName("toSymbol"),i=e.getTextContent();if(!n&&!a&&(!i||i.ignore))return;for(var o=1,s=this.parent;s;)s.scaleX&&(o/=s.scaleX),s=s.parent;var l=e.childOfName("line");if(!this.__dirty&&!l.__dirty)return;var u=l.shape.percent,c=l.pointAt(0),f=l.pointAt(u),h=ji([],f,c);ks(h,h);function p(E,A){var k=E.__specifiedRotation;if(k==null){var I=l.tangentAt(A);E.attr("rotation",(A===1?-1:1)*Math.PI/2-Math.atan2(I[1],I[0]))}else E.attr("rotation",k)}if(n&&(n.setPosition(c),p(n,0),n.scaleX=n.scaleY=o*u,n.markRedraw()),a&&(a.setPosition(f),p(a,1),a.scaleX=a.scaleY=o*u,a.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var v=void 0,m=void 0,g=i.__labelDistance,_=g[0]*o,y=g[1]*o,w=u/2,x=l.tangentAt(w),b=[x[1],-x[0]],S=l.pointAt(w);b[1]>0&&(b[0]=-b[0],b[1]=-b[1]);var C=x[0]<0?-1:1;if(i.__position!=="start"&&i.__position!=="end"){var D=-Math.atan2(x[1],x[0]);f[0]<c[0]&&(D=Math.PI+D),i.rotation=D}var T=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":T=-y,m="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":T=y,m="top";break;default:T=0,m="middle"}switch(i.__position){case"end":i.x=h[0]*_+f[0],i.y=h[1]*y+f[1],v=h[0]>.8?"left":h[0]<-.8?"right":"center",m=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*_+c[0],i.y=-h[1]*y+c[1],v=h[0]>.8?"right":h[0]<-.8?"left":"center",m=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=_*C+c[0],i.y=c[1]+T,v=x[0]<0?"right":"left",i.originX=-_*C,i.originY=-T;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=S[0],i.y=S[1]+T,v="center",i.originY=-T;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-_*C+f[0],i.y=f[1]+T,v=x[0]>=0?"right":"left",i.originX=_*C,i.originY=-T;break}i.scaleX=i.scaleY=o,i.setStyle({verticalAlign:i.__verticalAlign||m,align:i.__align||v})}},t}(de),t_=function(){function r(t){this.group=new de,this._LineCtor=t||e_}return r.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,a=n.group,i=n._lineData;n._lineData=t,i||a.removeAll();var o=CT(t);t.diff(i).add(function(s){e._doAdd(t,s,o)}).update(function(s,l){e._doUpdate(i,t,l,s,o)}).remove(function(s){a.remove(i.getItemGraphicEl(s))}).execute()},r.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(e,n){e.updateLayout(t,n)},this)},r.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=CT(t),this._lineData=null,this.group.removeAll()},r.prototype.incrementalUpdate=function(t,e){this._progressiveEls=[];function n(s){!s.isGroup&&!mue(s)&&(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a<t.end;a++){var i=e.getItemLayout(a);if(r_(i)){var o=new this._LineCtor(e,a,this._seriesScope);o.traverse(n),this.group.add(o),e.setItemGraphicEl(a,o),this._progressiveEls.push(o)}}},r.prototype.remove=function(){this.group.removeAll()},r.prototype.eachRendered=function(t){ii(this._progressiveEls||this.group,t)},r.prototype._doAdd=function(t,e,n){var a=t.getItemLayout(e);if(r_(a)){var i=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,i),this.group.add(i)}},r.prototype._doUpdate=function(t,e,n,a,i){var o=t.getItemGraphicEl(n);if(!r_(e.getItemLayout(a))){this.group.remove(o);return}o?o.updateData(e,a,i):o=new this._LineCtor(e,a,i),e.setItemGraphicEl(a,o),this.group.add(o)},r}();function mue(r){return r.animators&&r.animators.length>0}function CT(r){var t=r.hostModel,e=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:e.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:e.get("disabled"),blurScope:e.get("blurScope"),focus:e.get("focus"),labelStatesModels:At(t)}}function ET(r){return isNaN(r[0])||isNaN(r[1])}function r_(r){return r&&!ET(r[0])&&!ET(r[1])}var n_=[],a_=[],i_=[],Tl=Pt,o_=Xi,TT=Math.abs;function DT(r,t,e){for(var n=r[0],a=r[1],i=r[2],o=1/0,s,l=e*e,u=.1,c=.1;c<=.9;c+=.1){n_[0]=Tl(n[0],a[0],i[0],c),n_[1]=Tl(n[1],a[1],i[1],c);var f=TT(o_(n_,t)-l);f<o&&(o=f,s=c)}for(var h=0;h<32;h++){var p=s+u;a_[0]=Tl(n[0],a[0],i[0],s),a_[1]=Tl(n[1],a[1],i[1],s),i_[0]=Tl(n[0],a[0],i[0],p),i_[1]=Tl(n[1],a[1],i[1],p);var f=o_(a_,t)-l;if(TT(f)<.01)break;var v=o_(i_,t)-l;u/=2,f<0?v>=0?s=s+u:s=s-u:v>=0?s=s-u:s=s+u}return s}function s_(r,t){var e=[],n=wu,a=[[],[],[]],i=[[],[]],o=[];t/=2,r.eachEdge(function(s,l){var u=s.getLayout(),c=s.getVisual("fromSymbol"),f=s.getVisual("toSymbol");u.__original||(u.__original=[ha(u[0]),ha(u[1])],u[2]&&u.__original.push(ha(u[2])));var h=u.__original;if(u[2]!=null){if(ar(a[0],h[0]),ar(a[1],h[2]),ar(a[2],h[1]),c&&c!=="none"){var p=Zc(s.node1),v=DT(a,h[0],p*t);n(a[0][0],a[1][0],a[2][0],v,e),a[0][0]=e[3],a[1][0]=e[4],n(a[0][1],a[1][1],a[2][1],v,e),a[0][1]=e[3],a[1][1]=e[4]}if(f&&f!=="none"){var p=Zc(s.node2),v=DT(a,h[1],p*t);n(a[0][0],a[1][0],a[2][0],v,e),a[1][0]=e[1],a[2][0]=e[2],n(a[0][1],a[1][1],a[2][1],v,e),a[1][1]=e[1],a[2][1]=e[2]}ar(u[0],a[0]),ar(u[1],a[2]),ar(u[2],a[1])}else{if(ar(i[0],h[0]),ar(i[1],h[1]),ji(o,i[1],i[0]),ks(o,o),c&&c!=="none"){var p=Zc(s.node1);V0(i[0],i[0],o,p*t)}if(f&&f!=="none"){var p=Zc(s.node2);V0(i[1],i[1],o,-p*t)}ar(u[0],i[0]),ar(u[1],i[1])}})}function AT(r){return r.type==="view"}var _ue=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){var a=new Mc,i=new t_,o=this.group;this._controller=new Oc(n.getZr()),this._controllerHost={target:o},o.add(a.group),o.add(i.group),this._symbolDraw=a,this._lineDraw=i,this._firstRender=!0},t.prototype.render=function(e,n,a){var i=this,o=e.coordinateSystem;this._model=e;var s=this._symbolDraw,l=this._lineDraw,u=this.group;if(AT(o)){var c={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?u.attr(c):Oe(u,c,e)}s_(e.getGraph(),qc(e));var f=e.getData();s.updateData(f);var h=e.getEdgeData();l.updateData(h),this._updateNodeAndLinkScale(),this._updateController(e,n,a),clearTimeout(this._layoutTimeout);var p=e.forceLayout,v=e.get(["force","layoutAnimation"]);p&&this._startForceLayoutIteration(p,v);var m=e.get("layout");f.graph.eachNode(function(w){var x=w.dataIndex,b=w.getGraphicEl(),S=w.getModel();if(b){b.off("drag").off("dragend");var C=S.get("draggable");C&&b.on("drag",function(T){switch(m){case"force":p.warmUp(),!i._layouting&&i._startForceLayoutIteration(p,v),p.setFixed(x),f.setItemLayout(x,[b.x,b.y]);break;case"circular":f.setItemLayout(x,[b.x,b.y]),w.setLayout({fixed:!0},!0),qm(e,"symbolSize",w,[T.offsetX,T.offsetY]),i.updateLayout(e);break;case"none":default:f.setItemLayout(x,[b.x,b.y]),jm(e.getGraph(),e),i.updateLayout(e);break}}).on("dragend",function(){p&&p.setUnfixed(x)}),b.setDraggable(C,!!S.get("cursor"));var D=S.get(["emphasis","focus"]);D==="adjacency"&&(ge(b).focus=w.getAdjacentDataIndices())}}),f.graph.eachEdge(function(w){var x=w.getGraphicEl(),b=w.getModel().get(["emphasis","focus"]);x&&b==="adjacency"&&(ge(x).focus={edge:[w.dataIndex],node:[w.node1.dataIndex,w.node2.dataIndex]})});var g=e.get("layout")==="circular"&&e.get(["circular","rotateLabel"]),_=f.getLayout("cx"),y=f.getLayout("cy");f.graph.eachNode(function(w){_T(w,g,_,y)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(e,n){var a=this;(function i(){e.step(function(o){a.updateLayout(a._model),(a._layouting=!o)&&(n?a._layoutTimeout=setTimeout(i,16):i())})})()},t.prototype._updateController=function(e,n,a){var i=this,o=this._controller,s=this._controllerHost,l=this.group;if(o.setPointerChecker(function(u,c,f){var h=l.getBoundingRect();return h.applyTransform(l.transform),h.contain(c,f)&&!Sd(u,a,e)}),!AT(e.coordinateSystem)){o.disable();return}o.enable(e.get("roam")),s.zoomLimit=e.get("scaleLimit"),s.zoom=e.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){bm(s,u.dx,u.dy),a.dispatchAction({seriesId:e.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){Sm(s,u.scale,u.originX,u.originY),a.dispatchAction({seriesId:e.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(),s_(e.getGraph(),qc(e)),i._lineDraw.updateLayout(),a.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var e=this._model,n=e.getData(),a=qc(e);n.eachItemGraphicEl(function(i,o){i&&i.setSymbolScale(a)})},t.prototype.updateLayout=function(e){s_(e.getGraph(),qc(e)),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}(Xe);function Dl(r){return"_EC_"+r}var yue=function(){function r(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return r.prototype.isDirected=function(){return this._directed},r.prototype.addNode=function(t,e){t=t==null?""+e:""+t;var n=this._nodesMap;if(n[Dl(t)]){process.env.NODE_ENV!=="production"&&console.error("Graph nodes have duplicate name or id");return}var a=new Jo(t,e);return a.hostGraph=this,this.nodes.push(a),n[Dl(t)]=a,a},r.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},r.prototype.getNodeById=function(t){return this._nodesMap[Dl(t)]},r.prototype.addEdge=function(t,e,n){var a=this._nodesMap,i=this._edgesMap;if(Be(t)&&(t=this.nodes[t]),Be(e)&&(e=this.nodes[e]),t instanceof Jo||(t=a[Dl(t)]),e instanceof Jo||(e=a[Dl(e)]),!(!t||!e)){var o=t.id+"-"+e.id,s=new MT(t,e,n);return s.hostGraph=this,this._directed&&(t.outEdges.push(s),e.inEdges.push(s)),t.edges.push(s),t!==e&&e.edges.push(s),this.edges.push(s),i[o]=s,s}},r.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},r.prototype.getEdge=function(t,e){t instanceof Jo&&(t=t.id),e instanceof Jo&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},r.prototype.eachNode=function(t,e){for(var n=this.nodes,a=n.length,i=0;i<a;i++)n[i].dataIndex>=0&&t.call(e,n[i],i)},r.prototype.eachEdge=function(t,e){for(var n=this.edges,a=n.length,i=0;i<a;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},r.prototype.breadthFirstTraverse=function(t,e,n,a){if(e instanceof Jo||(e=this._nodesMap[Dl(e)]),!!e){for(var i=n==="out"?"outEdges":n==="in"?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(a,e,null))for(var s=[e];s.length;)for(var l=s.shift(),u=l[i],o=0;o<u.length;o++){var c=u[o],f=c.node1===l?c.node2:c.node1;if(!f.__visited){if(t.call(a,f,l))return;s.push(f),f.__visited=!0}}}},r.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,a=this.edges,i=0,o=n.length;i<o;i++)n[i].dataIndex=-1;for(var i=0,o=t.count();i<o;i++)n[t.getRawIndex(i)].dataIndex=i;e.filterSelf(function(s){var l=a[e.getRawIndex(s)];return l.node1.dataIndex>=0&&l.node2.dataIndex>=0});for(var i=0,o=a.length;i<o;i++)a[i].dataIndex=-1;for(var i=0,o=e.count();i<o;i++)a[e.getRawIndex(i)].dataIndex=i},r.prototype.clone=function(){for(var t=new r(this._directed),e=this.nodes,n=this.edges,a=0;a<e.length;a++)t.addNode(e[a].id,e[a].dataIndex);for(var a=0;a<n.length;a++){var i=n[a];t.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return t},r}(),Jo=function(){function r(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=t??"",this.dataIndex=e??-1}return r.prototype.degree=function(){return this.edges.length},r.prototype.inDegree=function(){return this.inEdges.length},r.prototype.outDegree=function(){return this.outEdges.length},r.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},r.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},r.prototype.getTrajectoryDataIndices=function(){for(var t=ne(),e=ne(),n=0;n<this.edges.length;n++){var a=this.edges[n];if(!(a.dataIndex<0)){t.set(a.dataIndex,!0);for(var i=[a.node1],o=[a.node2],s=0;s<i.length;){var l=i[s];s++,e.set(l.dataIndex,!0);for(var u=0;u<l.inEdges.length;u++)t.set(l.inEdges[u].dataIndex,!0),i.push(l.inEdges[u].node1)}for(s=0;s<o.length;){var c=o[s];s++,e.set(c.dataIndex,!0);for(var u=0;u<c.outEdges.length;u++)t.set(c.outEdges[u].dataIndex,!0),o.push(c.outEdges[u].node2)}}}return{edge:t.keys(),node:e.keys()}},r}(),MT=function(){function r(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=n??-1}return r.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostGraph,n=e.edgeData.getItemModel(this.dataIndex);return n.getModel(t)}},r.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},r.prototype.getTrajectoryDataIndices=function(){var t=ne(),e=ne();t.set(this.dataIndex,!0);for(var n=[this.node1],a=[this.node2],i=0;i<n.length;){var o=n[i];i++,e.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(i=0;i<a.length;){var l=a[i];i++,e.set(l.dataIndex,!0);for(var s=0;s<l.outEdges.length;s++)t.set(l.outEdges[s].dataIndex,!0),a.push(l.outEdges[s].node2)}return{edge:t.keys(),node:e.keys()}},r}();function kT(r,t){return{getValue:function(e){var n=this[r][t];return n.getStore().get(n.getDimensionIndex(e||"value"),this.dataIndex)},setVisual:function(e,n){this.dataIndex>=0&&this[r][t].setItemVisual(this.dataIndex,e,n)},getVisual:function(e){return this[r][t].getItemVisual(this.dataIndex,e)},setLayout:function(e,n){this.dataIndex>=0&&this[r][t].setItemLayout(this.dataIndex,e,n)},getLayout:function(){return this[r][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[r][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[r][t].getRawIndex(this.dataIndex)}}}gt(Jo,kT("hostGraph","data")),gt(MT,kT("hostGraph","edgeData"));function LT(r,t,e,n,a){for(var i=new yue(n),o=0;o<r.length;o++)i.addNode(mt(r[o].id,r[o].name,o),o);for(var s=[],l=[],u=0,o=0;o<t.length;o++){var c=t[o],f=c.source,h=c.target;i.addEdge(f,h,u)&&(l.push(c),s.push(mt(Ct(c.id,null),f+" > "+h)),u++)}var p=e.get("coordinateSystem"),v;if(p==="cartesian2d"||p==="polar")v=Aa(r,e);else{var m=il.get(p),g=m?m.dimensions||[]:[];xe(g,"value")<0&&g.concat(["value"]);var _=wc(r,{coordDimensions:g,encodeDefine:e.getEncode()}).dimensions;v=new hr(_,e),v.initData(r)}var y=new hr(["value"],e);return y.initData(l,s),a&&a(v,y),UE({mainData:v,struct:i,structAttr:"graph",datas:{node:v,edge:y},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var wue=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments);var n=this;function a(){return n._categoriesData}this.legendVisualProvider=new Pc(a,a),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(e){r.prototype.mergeDefaultAndTheme.apply(this,arguments),no(e,"edgeLabel",["show"])},t.prototype.getInitialData=function(e,n){var a=e.edges||e.links||[],i=e.data||e.nodes||[],o=this;if(i&&a){oue(this);var s=LT(i,a,this,!0,l);return M(s.edges,function(u){sue(u.node1,u.node2,this,u.dataIndex)},this),s.data}function l(u,c){u.wrapMethod("getItemModel",function(v){var m=o._categoriesModels,g=v.getShallow("category"),_=m[g];return _&&(_.parentModel=v.parentModel,v.parentModel=_),v});var f=Ue.prototype.getModel;function h(v,m){var g=f.call(this,v,m);return g.resolveParentPath=p,g}c.wrapMethod("getItemModel",function(v){return v.resolveParentPath=p,v.getModel=h,v});function p(v){if(v&&(v[0]==="label"||v[1]==="label")){var m=v.slice();return v[0]==="label"?m[0]="edgeLabel":v[1]==="label"&&(m[1]="edgeLabel"),m}return v}}},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(e,n,a){if(a==="edge"){var i=this.getData(),o=this.getDataParams(e,a),s=i.graph.getEdgeByIndex(e),l=i.getName(s.node1.dataIndex),u=i.getName(s.node2.dataIndex),c=[];return l!=null&&c.push(l),u!=null&&c.push(u),Mt("nameValue",{name:c.join(" > "),value:o.value,noValue:o.value==null})}var f=xb({series:this,dataIndex:e,multipleSeries:n});return f},t.prototype._updateCategoriesData=function(){var e=Y(this.option.categories||[],function(a){return a.value!=null?a:G({value:0},a)}),n=new hr(["value"],this);n.initData(e),this._categoriesData=n,this._categoriesModels=n.mapArray(function(a){return n.getItemModel(a)})},t.prototype.setZoom=function(e){this.option.zoom=e},t.prototype.setCenter=function(e){this.option.center=e},t.prototype.isAnimationEnabled=function(){return r.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}(Ke),xue={type:"graphRoam",event:"graphRoam",update:"none"};function bue(r){r.registerChartView(_ue),r.registerSeriesModel(wue),r.registerProcessor(tue),r.registerVisual(rue),r.registerVisual(nue),r.registerLayout(lue),r.registerLayout(r.PRIORITY.VISUAL.POST_CHART_LAYOUT,cue),r.registerLayout(hue),r.registerCoordinateSystem("graphView",{dimensions:zc.dimensions,create:due}),r.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},ft),r.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},ft),r.registerAction(xue,function(t,e,n){e.eachComponent({mainType:"series",query:t},function(a){var i=a.coordinateSystem,o=Mm(i,t,void 0,n);a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom)})})}var Sue=function(){function r(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return r}(),Cue=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="pointer",n}return t.prototype.getDefaultShape=function(){return new Sue},t.prototype.buildPath=function(e,n){var a=Math.cos,i=Math.sin,o=n.r,s=n.width,l=n.angle,u=n.x-a(l)*s*(s>=o/3?1:2),c=n.y-i(l)*s*(s>=o/3?1:2);l=n.angle-Math.PI/2,e.moveTo(u,c),e.lineTo(n.x+a(l)*s,n.y+i(l)*s),e.lineTo(n.x+a(n.angle)*o,n.y+i(n.angle)*o),e.lineTo(n.x-a(l)*s,n.y-i(l)*s),e.lineTo(u,c)},t}(Te);function Eue(r,t){var e=r.get("center"),n=t.getWidth(),a=t.getHeight(),i=Math.min(n,a),o=Z(e[0],t.getWidth()),s=Z(e[1],t.getHeight()),l=Z(r.get("radius"),i/2);return{cx:o,cy:s,r:l}}function Bd(r,t){var e=r==null?"":r+"";return t&&(K(t)?e=t.replace("{value}",e):ae(t)&&(e=t(r))),e}var Tue=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){this.group.removeAll();var i=e.get(["axisLine","lineStyle","color"]),o=Eue(e,a);this._renderMain(e,n,a,i,o),this._data=e.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(e,n,a,i,o){var s=this.group,l=e.get("clockwise"),u=-e.get("startAngle")/180*Math.PI,c=-e.get("endAngle")/180*Math.PI,f=e.getModel("axisLine"),h=f.get("roundCap"),p=h?gd:ur,v=f.get("show"),m=f.getModel("lineStyle"),g=m.get("width"),_=[u,c];Kg(_,!l),u=_[0],c=_[1];for(var y=c-u,w=u,x=[],b=0;v&&b<i.length;b++){var S=Math.min(Math.max(i[b][0],0),1);c=u+y*S;var C=new p({shape:{startAngle:w,endAngle:c,cx:o.cx,cy:o.cy,clockwise:l,r0:o.r-g,r:o.r},silent:!0});C.setStyle({fill:i[b][1]}),C.setStyle(m.getLineStyle(["color","width"])),x.push(C),w=c}x.reverse(),M(x,function(T){return s.add(T)});var D=function(T){if(T<=0)return i[0][1];var E;for(E=0;E<i.length;E++)if(i[E][0]>=T&&(E===0?0:i[E-1][0])<T)return i[E][1];return i[E-1][1]};this._renderTicks(e,n,a,D,o,u,c,l,g),this._renderTitleAndDetail(e,n,a,D,o),this._renderAnchor(e,o),this._renderPointer(e,n,a,D,o,u,c,l,g)},t.prototype._renderTicks=function(e,n,a,i,o,s,l,u,c){for(var f=this.group,h=o.cx,p=o.cy,v=o.r,m=+e.get("min"),g=+e.get("max"),_=e.getModel("splitLine"),y=e.getModel("axisTick"),w=e.getModel("axisLabel"),x=e.get("splitNumber"),b=y.get("splitNumber"),S=Z(_.get("length"),v),C=Z(y.get("length"),v),D=s,T=(l-s)/x,E=T/b,A=_.getModel("lineStyle").getLineStyle(),k=y.getModel("lineStyle").getLineStyle(),I=_.get("distance"),L,N,P=0;P<=x;P++){if(L=Math.cos(D),N=Math.sin(D),_.get("show")){var V=I?I+c:c,O=new Dt({shape:{x1:L*(v-V)+h,y1:N*(v-V)+p,x2:L*(v-S-V)+h,y2:N*(v-S-V)+p},style:A,silent:!0});A.stroke==="auto"&&O.setStyle({stroke:i(P/x)}),f.add(O)}if(w.get("show")){var V=w.get("distance")+I,B=Bd(ut(P/x*(g-m)+m),w.get("formatter")),R=i(P/x),z=L*(v-S-V)+h,H=N*(v-S-V)+p,$=w.get("rotate"),X=0;$==="radial"?(X=-D+2*Math.PI,X>Math.PI/2&&(X+=Math.PI)):$==="tangential"?X=-D-Math.PI/2:Be($)&&(X=$*Math.PI/180),X===0?f.add(new Ve({style:Ze(w,{text:B,x:z,y:H,verticalAlign:N<-.8?"top":N>.8?"bottom":"middle",align:L<-.4?"left":L>.4?"right":"center"},{inheritColor:R}),silent:!0})):f.add(new Ve({style:Ze(w,{text:B,x:z,y:H,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:z,originY:H,rotation:X}))}if(y.get("show")&&P!==x){var V=y.get("distance");V=V?V+c:c;for(var j=0;j<=b;j++){L=Math.cos(D),N=Math.sin(D);var fe=new Dt({shape:{x1:L*(v-V)+h,y1:N*(v-V)+p,x2:L*(v-C-V)+h,y2:N*(v-C-V)+p},silent:!0,style:k});k.stroke==="auto"&&fe.setStyle({stroke:i((P+j/b)/x)}),f.add(fe),D+=E}D-=E}else D+=T}},t.prototype._renderPointer=function(e,n,a,i,o,s,l,u,c){var f=this.group,h=this._data,p=this._progressEls,v=[],m=e.get(["pointer","show"]),g=e.getModel("progress"),_=g.get("show"),y=e.getData(),w=y.mapDimension("value"),x=+e.get("min"),b=+e.get("max"),S=[x,b],C=[s,l];function D(E,A){var k=y.getItemModel(E),I=k.getModel("pointer"),L=Z(I.get("width"),o.r),N=Z(I.get("length"),o.r),P=e.get(["pointer","icon"]),V=I.get("offsetCenter"),O=Z(V[0],o.r),B=Z(V[1],o.r),R=I.get("keepAspect"),z;return P?z=xt(P,O-L/2,B-N,L,N,null,R):z=new Cue({shape:{angle:-Math.PI/2,width:L,r:N,x:O,y:B}}),z.rotation=-(A+Math.PI/2),z.x=o.cx,z.y=o.cy,z}function T(E,A){var k=g.get("roundCap"),I=k?gd:ur,L=g.get("overlap"),N=L?g.get("width"):c/y.count(),P=L?o.r-N:o.r-(E+1)*N,V=L?o.r:o.r-E*N,O=new I({shape:{startAngle:s,endAngle:A,cx:o.cx,cy:o.cy,clockwise:u,r0:P,r:V}});return L&&(O.z2=We(y.get(w,E),[x,b],[100,0],!0)),O}(_||m)&&(y.diff(h).add(function(E){var A=y.get(w,E);if(m){var k=D(E,s);tt(k,{rotation:-((isNaN(+A)?C[0]:We(A,S,C,!0))+Math.PI/2)},e),f.add(k),y.setItemGraphicEl(E,k)}if(_){var I=T(E,s),L=g.get("clip");tt(I,{shape:{endAngle:We(A,S,C,L)}},e),f.add(I),e2(e.seriesIndex,y.dataType,E,I),v[E]=I}}).update(function(E,A){var k=y.get(w,E);if(m){var I=h.getItemGraphicEl(A),L=I?I.rotation:s,N=D(E,L);N.rotation=L,Oe(N,{rotation:-((isNaN(+k)?C[0]:We(k,S,C,!0))+Math.PI/2)},e),f.add(N),y.setItemGraphicEl(E,N)}if(_){var P=p[A],V=P?P.shape.endAngle:s,O=T(E,V),B=g.get("clip");Oe(O,{shape:{endAngle:We(k,S,C,B)}},e),f.add(O),e2(e.seriesIndex,y.dataType,E,O),v[E]=O}}).execute(),y.each(function(E){var A=y.getItemModel(E),k=A.getModel("emphasis"),I=k.get("focus"),L=k.get("blurScope"),N=k.get("disabled");if(m){var P=y.getItemGraphicEl(E),V=y.getItemVisual(E,"style"),O=V.fill;if(P instanceof Vt){var B=P.style;P.useStyle(G({image:B.image,x:B.x,y:B.y,width:B.width,height:B.height},V))}else P.useStyle(V),P.type!=="pointer"&&P.setColor(O);P.setStyle(A.getModel(["pointer","itemStyle"]).getItemStyle()),P.style.fill==="auto"&&P.setStyle("fill",i(We(y.get(w,E),S,[0,1],!0))),P.z2EmphasisLift=0,zt(P,A),ot(P,I,L,N)}if(_){var R=v[E];R.useStyle(y.getItemVisual(E,"style")),R.setStyle(A.getModel(["progress","itemStyle"]).getItemStyle()),R.z2EmphasisLift=0,zt(R,A),ot(R,I,L,N)}}),this._progressEls=v)},t.prototype._renderAnchor=function(e,n){var a=e.getModel("anchor"),i=a.get("show");if(i){var o=a.get("size"),s=a.get("icon"),l=a.get("offsetCenter"),u=a.get("keepAspect"),c=xt(s,n.cx-o/2+Z(l[0],n.r),n.cy-o/2+Z(l[1],n.r),o,o,null,u);c.z2=a.get("showAbove")?1:0,c.setStyle(a.getModel("itemStyle").getItemStyle()),this.group.add(c)}},t.prototype._renderTitleAndDetail=function(e,n,a,i,o){var s=this,l=e.getData(),u=l.mapDimension("value"),c=+e.get("min"),f=+e.get("max"),h=new de,p=[],v=[],m=e.isAnimationEnabled(),g=e.get(["pointer","showAbove"]);l.diff(this._data).add(function(_){p[_]=new Ve({silent:!0}),v[_]=new Ve({silent:!0})}).update(function(_,y){p[_]=s._titleEls[y],v[_]=s._detailEls[y]}).execute(),l.each(function(_){var y=l.getItemModel(_),w=l.get(u,_),x=new de,b=i(We(w,[c,f],[0,1],!0)),S=y.getModel("title");if(S.get("show")){var C=S.get("offsetCenter"),D=o.cx+Z(C[0],o.r),T=o.cy+Z(C[1],o.r),E=p[_];E.attr({z2:g?0:2,style:Ze(S,{x:D,y:T,text:l.getName(_),align:"center",verticalAlign:"middle"},{inheritColor:b})}),x.add(E)}var A=y.getModel("detail");if(A.get("show")){var k=A.get("offsetCenter"),I=o.cx+Z(k[0],o.r),L=o.cy+Z(k[1],o.r),N=Z(A.get("width"),o.r),P=Z(A.get("height"),o.r),V=e.get(["progress","show"])?l.getItemVisual(_,"style").fill:b,E=v[_],O=A.get("formatter");E.attr({z2:g?0:2,style:Ze(A,{x:I,y:L,text:Bd(w,O),width:isNaN(N)?null:N,height:isNaN(P)?null:P,align:"center",verticalAlign:"middle"},{inheritColor:V})}),Jx(E,{normal:A},w,function(R){return Bd(R,O)}),m&&Qx(E,_,l,e,{getFormattedLabel:function(R,z,H,$,X,j){return Bd(j?j.interpolatedValue:w,O)}}),x.add(E)}h.add(x)}),this.group.add(h),this._titleEls=p,this._detailEls=v},t.type="gauge",t}(Xe),Due=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="itemStyle",e}return t.prototype.getInitialData=function(e,n){return bl(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}(Ke);function Aue(r){r.registerChartView(Tue),r.registerSeriesModel(Due)}var Mue=["itemStyle","opacity"],kue=function(r){F(t,r);function t(e,n){var a=r.call(this)||this,i=a,o=new fr,s=new Ve;return i.setTextContent(s),a.setTextGuideLine(o),a.updateData(e,n,!0),a}return t.prototype.updateData=function(e,n,a){var i=this,o=e.hostModel,s=e.getItemModel(n),l=e.getItemLayout(n),u=s.getModel("emphasis"),c=s.get(Mue);c=c??1,a||yn(i),i.useStyle(e.getItemVisual(n,"style")),i.style.lineJoin="round",a?(i.setShape({points:l.points}),i.style.opacity=0,tt(i,{style:{opacity:c}},o,n)):Oe(i,{style:{opacity:c},shape:{points:l.points}},o,n),zt(i,s),this._updateLabel(e,n),ot(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(e,n){var a=this,i=this.getTextGuideLine(),o=a.getTextContent(),s=e.hostModel,l=e.getItemModel(n),u=e.getItemLayout(n),c=u.label,f=e.getItemVisual(n,"style"),h=f.fill;Ht(o,At(l),{labelFetcher:e.hostModel,labelDataIndex:n,defaultOpacity:f.opacity,defaultText:e.getName(n)},{normal:{align:c.textAlign,verticalAlign:c.verticalAlign}}),a.setTextConfig({local:!0,inside:!!c.inside,insideStroke:h,outsideFill:h});var p=c.linePoints;i.setShape({points:p}),a.textGuideLineConfig={anchor:p?new ye(p[0][0],p[0][1]):null},Oe(o,{style:{x:c.x,y:c.y}},s,n),o.attr({rotation:c.rotation,originX:c.x,originY:c.y,z2:10}),H1(a,F1(l),{stroke:h})},t}(cr),Lue=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.ignoreLabelLineUpdate=!0,e}return t.prototype.render=function(e,n,a){var i=e.getData(),o=this._data,s=this.group;i.diff(o).add(function(l){var u=new kue(i,l);i.setItemGraphicEl(l,u),s.add(u)}).update(function(l,u){var c=o.getItemGraphicEl(u);c.updateData(i,l),s.add(c),i.setItemGraphicEl(l,c)}).remove(function(l){var u=o.getItemGraphicEl(l);ju(u,e,l)}).execute(),this._data=i},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(Xe),Iue=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new Pc(J(this.getData,this),J(this.getRawData,this)),this._defaultLabelLine(e)},t.prototype.getInitialData=function(e,n){return bl(this,{coordDimensions:["value"],encodeDefaulter:me(V2,this)})},t.prototype._defaultLabelLine=function(e){no(e,"labelLine",["show"]);var n=e.labelLine,a=e.emphasis.labelLine;n.show=n.show&&e.label.show,a.show=a.show&&e.emphasis.label.show},t.prototype.getDataParams=function(e){var n=this.getData(),a=r.prototype.getDataParams.call(this,e),i=n.mapDimension("value"),o=n.getSum(i);return a.percent=o?+(n.get(i,e)/o*100).toFixed(2):0,a.$vars.push("percent"),a},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}(Ke);function Nue(r,t){return Et(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function Pue(r,t){for(var e=r.mapDimension("value"),n=r.mapArray(e,function(l){return l}),a=[],i=t==="ascending",o=0,s=r.count();o<s;o++)a[o]=o;return ae(t)?a.sort(t):t!=="none"&&a.sort(function(l,u){return i?n[l]-n[u]:n[u]-n[l]}),a}function Vue(r){var t=r.hostModel,e=t.get("orient");r.each(function(n){var a=r.getItemModel(n),i=a.getModel("label"),o=i.get("position"),s=a.getModel("labelLine"),l=r.getItemLayout(n),u=l.points,c=o==="inner"||o==="inside"||o==="center"||o==="insideLeft"||o==="insideRight",f,h,p,v;if(c)o==="insideLeft"?(h=(u[0][0]+u[3][0])/2+5,p=(u[0][1]+u[3][1])/2,f="left"):o==="insideRight"?(h=(u[1][0]+u[2][0])/2-5,p=(u[1][1]+u[2][1])/2,f="right"):(h=(u[0][0]+u[1][0]+u[2][0]+u[3][0])/4,p=(u[0][1]+u[1][1]+u[2][1]+u[3][1])/4,f="center"),v=[[h,p],[h,p]];else{var m=void 0,g=void 0,_=void 0,y=void 0,w=s.get("length");process.env.NODE_ENV!=="production"&&(e==="vertical"&&["top","bottom"].indexOf(o)>-1&&(o="left",console.warn("Position error: Funnel chart on vertical orient dose not support top and bottom.")),e==="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"?(m=(u[3][0]+u[0][0])/2,g=(u[3][1]+u[0][1])/2,_=m-w,h=_-5,f="right"):o==="right"?(m=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,_=m+w,h=_+5,f="left"):o==="top"?(m=(u[3][0]+u[0][0])/2,g=(u[3][1]+u[0][1])/2,y=g-w,p=y-5,f="center"):o==="bottom"?(m=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,y=g+w,p=y+5,f="center"):o==="rightTop"?(m=e==="horizontal"?u[3][0]:u[1][0],g=e==="horizontal"?u[3][1]:u[1][1],e==="horizontal"?(y=g-w,p=y-5,f="center"):(_=m+w,h=_+5,f="top")):o==="rightBottom"?(m=u[2][0],g=u[2][1],e==="horizontal"?(y=g+w,p=y+5,f="center"):(_=m+w,h=_+5,f="bottom")):o==="leftTop"?(m=u[0][0],g=e==="horizontal"?u[0][1]:u[1][1],e==="horizontal"?(y=g-w,p=y-5,f="center"):(_=m-w,h=_-5,f="right")):o==="leftBottom"?(m=e==="horizontal"?u[1][0]:u[3][0],g=e==="horizontal"?u[1][1]:u[2][1],e==="horizontal"?(y=g+w,p=y+5,f="center"):(_=m-w,h=_-5,f="right")):(m=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,e==="horizontal"?(y=g+w,p=y+5,f="center"):(_=m+w,h=_+5,f="left")),e==="horizontal"?(_=m,h=_):(y=g,p=y),v=[[m,g],[_,y]]}l.label={linePoints:v,x:h,y:p,verticalAlign:"middle",textAlign:f,inside:c}})}function Bue(r,t){r.eachSeriesByType("funnel",function(e){var n=e.getData(),a=n.mapDimension("value"),i=e.get("sort"),o=Nue(e,t),s=e.get("orient"),l=o.width,u=o.height,c=Pue(n,i),f=o.x,h=o.y,p=s==="horizontal"?[Z(e.get("minSize"),u),Z(e.get("maxSize"),u)]:[Z(e.get("minSize"),l),Z(e.get("maxSize"),l)],v=n.getDataExtent(a),m=e.get("min"),g=e.get("max");m==null&&(m=Math.min(v[0],0)),g==null&&(g=v[1]);var _=e.get("funnelAlign"),y=e.get("gap"),w=s==="horizontal"?l:u,x=(w-y*(n.count()-1))/n.count(),b=function(L,N){if(s==="horizontal"){var P=n.get(a,L)||0,V=We(P,[m,g],p,!0),O=void 0;switch(_){case"top":O=h;break;case"center":O=h+(u-V)/2;break;case"bottom":O=h+(u-V);break}return[[N,O],[N,O+V]]}var B=n.get(a,L)||0,R=We(B,[m,g],p,!0),z;switch(_){case"left":z=f;break;case"center":z=f+(l-R)/2;break;case"right":z=f+l-R;break}return[[z,N],[z+R,N]]};i==="ascending"&&(x=-x,y=-y,s==="horizontal"?f+=l:h+=u,c=c.reverse());for(var S=0;S<c.length;S++){var C=c[S],D=c[S+1],T=n.getItemModel(C);if(s==="horizontal"){var E=T.get(["itemStyle","width"]);E==null?E=x:(E=Z(E,l),i==="ascending"&&(E=-E));var A=b(C,f),k=b(D,f+E);f+=E+y,n.setItemLayout(C,{points:A.concat(k.slice().reverse())})}else{var I=T.get(["itemStyle","height"]);I==null?I=x:(I=Z(I,u),i==="ascending"&&(I=-I));var A=b(C,h),k=b(D,h+I);h+=I+y,n.setItemLayout(C,{points:A.concat(k.slice().reverse())})}}Vue(n)})}function Oue(r){r.registerChartView(Lue),r.registerSeriesModel(Iue),r.registerLayout(Bue),r.registerProcessor(Nc("funnel"))}var Rue=.3,zue=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._dataGroup=new de,e._initialized=!1,e}return t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(e,n,a,i){this._progressiveEls=null;var o=this._dataGroup,s=e.getData(),l=this._data,u=e.coordinateSystem,c=u.dimensions,f=PT(e);s.diff(l).add(h).update(p).remove(v).execute();function h(g){var _=NT(s,o,g,c,u);l_(_,s,g,f)}function p(g,_){var y=l.getItemGraphicEl(_),w=IT(s,g,c,u);s.setItemGraphicEl(g,y),Oe(y,{shape:{points:w}},e,g),yn(y),l_(y,s,g,f)}function v(g){var _=l.getItemGraphicEl(g);o.remove(_)}if(!this._initialized){this._initialized=!0;var m=Hue(u,e,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(m)}this._data=s},t.prototype.incrementalPrepareRender=function(e,n,a){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(e,n,a){for(var i=n.getData(),o=n.coordinateSystem,s=o.dimensions,l=PT(n),u=this._progressiveEls=[],c=e.start;c<e.end;c++){var f=NT(i,this._dataGroup,c,s,o);f.incremental=!0,l_(f,i,c,l),u.push(f)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(Xe);function Hue(r,t,e){var n=r.model,a=r.getRect(),i=new Pe({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),o=n.get("layout")==="horizontal"?"width":"height";return i.setShape(o,0),tt(i,{shape:{width:a.width,height:a.height}},t,e),i}function IT(r,t,e,n){for(var a=[],i=0;i<e.length;i++){var o=e[i],s=r.get(r.mapDimension(o),t);Fue(s,n.getAxis(o).type)||a.push(n.dataToPoint(s,o))}return a}function NT(r,t,e,n,a){var i=IT(r,e,n,a),o=new fr({shape:{points:i},z2:10});return t.add(o),r.setItemGraphicEl(e,o),o}function PT(r){var t=r.get("smooth",!0);return t===!0&&(t=Rue),t=_a(t),Ui(t)&&(t=0),{smooth:t}}function l_(r,t,e,n){r.useStyle(t.getItemVisual(e,"style")),r.style.fill=null,r.setShape("smooth",n.smooth);var a=t.getItemModel(e),i=a.getModel("emphasis");zt(r,a,"lineStyle"),ot(r,i.get("focus"),i.get("blurScope"),i.get("disabled"))}function Fue(r,t){return t==="category"?r==null:r==null||isNaN(r)}var Gue=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return t.prototype.getInitialData=function(e,n){return Aa(null,this,{useEncodeDefaulter:J($ue,null,this)})},t.prototype.getRawIndicesByActiveState=function(e){var n=this.coordinateSystem,a=this.getData(),i=[];return n.eachActiveState(a,function(o,s){e===o&&i.push(a.getRawIndex(s))}),i},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}(Ke);function $ue(r){var t=r.ecModel.getComponent("parallel",r.get("parallelIndex"));if(t){var e={};return M(t.dimensions,function(n){var a=Wue(n);e[n]=a}),e}}function Wue(r){return+r.replace("dim","")}var Uue=["lineStyle","opacity"],Yue={seriesType:"parallel",reset:function(r,t){var e=r.coordinateSystem,n={normal:r.get(["lineStyle","opacity"]),active:r.get("activeOpacity"),inactive:r.get("inactiveOpacity")};return{progress:function(a,i){e.eachActiveState(i,function(o,s){var l=n[o];if(o==="normal"&&i.hasItemOption){var u=i.getItemModel(s).get(Uue,!0);u!=null&&(l=u)}var c=i.ensureUniqueItemVisual(s,"style");c.opacity=l},a.start,a.end)}}}};function jue(r){Xue(r),que(r)}function Xue(r){if(!r.parallel){var t=!1;M(r.series,function(e){e&&e.type==="parallel"&&(t=!0)}),t&&(r.parallel=[{}])}}function que(r){var t=je(r.parallelAxis);M(t,function(e){if(oe(e)){var n=e.parallelIndex||0,a=je(r.parallel)[n];a&&a.parallelAxisDefault&&_e(e,a.parallelAxisDefault,!1)}})}var Zue=5,Kue=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){this._model=e,this._api=a,this._handlers||(this._handlers={},M(Jue,function(i,o){a.getZr().on(o,this._handlers[o]=J(i,this))},this)),cl(this,"_throttledDispatchExpand",e.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(e,n){sc(this,"_throttledDispatchExpand"),M(this._handlers,function(a,i){n.getZr().off(i,a)}),this._handlers=null},t.prototype._throttledDispatchExpand=function(e){this._dispatchExpand(e)},t.prototype._dispatchExpand=function(e){e&&this._api.dispatchAction(G({type:"parallelAxisExpand"},e))},t.type="parallel",t}(nt),Jue={mousedown:function(r){u_(this,"click")&&(this._mouseDownPoint=[r.offsetX,r.offsetY])},mouseup:function(r){var t=this._mouseDownPoint;if(u_(this,"click")&&t){var e=[r.offsetX,r.offsetY],n=Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2);if(n>Zue)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]);a.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(r){if(!(this._mouseDownPoint||!u_(this,"mousemove"))){var t=this._model,e=t.coordinateSystem.getSlidedAxisExpandWindow([r.offsetX,r.offsetY]),n=e.behavior;n==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(n==="none"?null:{axisExpandWindow:e.axisExpandWindow,animation:n==="jump"?null:{duration:0}})}}};function u_(r,t){var e=r._model;return e.get("axisExpandable")&&e.get("axisExpandTriggerOn")===t}var Que=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){r.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(e){var n=this.option;e&&_e(n,e,!0),this._initDimensions()},t.prototype.contains=function(e,n){var a=e.get("parallelIndex");return a!=null&&n.getComponent("parallel",a)===this},t.prototype.setAxisExpand=function(e){M(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(n){e.hasOwnProperty(n)&&(this.option[n]=e[n])},this)},t.prototype._initDimensions=function(){var e=this.dimensions=[],n=this.parallelAxisIndex=[],a=Fe(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this);M(a,function(i){e.push("dim"+i.get("dim")),n.push(i.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}(Ae),ece=function(r){F(t,r);function t(e,n,a,i,o){var s=r.call(this,e,n,a)||this;return s.type=i||"value",s.axisIndex=o,s}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},t}(Cn);function Qo(r,t,e,n,a,i){r=r||0;var o=e[1]-e[0];if(a!=null&&(a=Al(a,[0,o])),i!=null&&(i=Math.max(i,a??0)),n==="all"){var s=Math.abs(t[1]-t[0]);s=Al(s,[0,o]),a=i=Al(s,[a,i]),n=0}t[0]=Al(t[0],e),t[1]=Al(t[1],e);var l=c_(t,n);t[n]+=r;var u=a||0,c=e.slice();l.sign<0?c[0]+=u:c[1]-=u,t[n]=Al(t[n],c);var f;return f=c_(t,n),a!=null&&(f.sign!==l.sign||f.span<a)&&(t[1-n]=t[n]+l.sign*a),f=c_(t,n),i!=null&&f.span>i&&(t[1-n]=t[n]+f.sign*i),t}function c_(r,t){var e=r[t]-r[1-t];return{span:Math.abs(e),sign:e>0?-1:e<0?1:t?-1:1}}function Al(r,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,r))}var f_=M,VT=Math.min,BT=Math.max,OT=Math.floor,tce=Math.ceil,RT=ut,rce=Math.PI,nce=function(){function r(t,e,n){this.type="parallel",this._axesMap=ne(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return r.prototype._init=function(t,e,n){var a=t.dimensions,i=t.parallelAxisIndex;f_(a,function(o,s){var l=i[s],u=e.getComponent("parallelAxis",l),c=this._axesMap.set(o,new ece(o,sd(u),[0,0],u.get("type"),l)),f=c.type==="category";c.onBand=f&&u.get("boundaryGap"),c.inverse=u.get("inverse"),u.axis=c,c.model=u,c.coordinateSystem=u.coordinateSystem=this},this)},r.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},r.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,a=e.layoutBase,i=e.pixelDimIndex,o=t[1-i],s=t[i];return o>=n&&o<=n+e.axisLength&&s>=a&&s<=a+e.layoutLength},r.prototype.getModel=function(){return this._model},r.prototype._updateAxesFromSeries=function(t,e){e.eachSeries(function(n){if(t.contains(n,e)){var a=n.getData();f_(this.dimensions,function(i){var o=this._axesMap.get(i);o.scale.unionExtentFromData(a,a.mapDimension(i)),_l(o.scale,o.model)},this)}},this)},r.prototype.resize=function(t,e){this._rect=Et(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},r.prototype.getRect=function(){return this._rect},r.prototype._makeLayoutInfo=function(){var t=this._model,e=this._rect,n=["x","y"],a=["width","height"],i=t.get("layout"),o=i==="horizontal"?0:1,s=e[a[o]],l=[0,s],u=this.dimensions.length,c=Od(t.get("axisExpandWidth"),l),f=Od(t.get("axisExpandCount")||0,[0,u]),h=t.get("axisExpandable")&&u>3&&u>f&&f>1&&c>0&&s>0,p=t.get("axisExpandWindow"),v;if(p)v=Od(p[1]-p[0],l),p[1]=p[0]+v;else{v=Od(c*(f-1),l);var m=t.get("axisExpandCenter")||OT(u/2);p=[c*m-v/2],p[1]=p[0]+v}var g=(s-v)/(u-f);g<3&&(g=0);var _=[OT(RT(p[0]/c,1))+1,tce(RT(p[1]/c,1))-1],y=g/c*p[0];return{layout:i,pixelDimIndex:o,layoutBase:e[n[o]],layoutLength:s,axisBase:e[n[1-o]],axisLength:e[a[1-o]],axisExpandable:h,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:p,axisCount:u,winInnerIndices:_,axisExpandWindow0Pos:y}},r.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,a=this._makeLayoutInfo(),i=a.layout;e.each(function(o){var s=[0,a.axisLength],l=o.inverse?1:0;o.setExtent(s[l],s[1-l])}),f_(n,function(o,s){var l=(a.axisExpandable?ice:ace)(s,a),u={horizontal:{x:l.position,y:a.axisLength},vertical:{x:0,y:l.position}},c={horizontal:rce/2,vertical:0},f=[u[i].x+t.x,u[i].y+t.y],h=c[i],p=Dr();qi(p,p,h),Vn(p,p,f),this._axesLayout[o]={position:f,rotation:h,transform:p,axisNameAvailableWidth:l.axisNameAvailableWidth,axisLabelShow:l.axisLabelShow,nameTruncateMaxWidth:l.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},r.prototype.getAxis=function(t){return this._axesMap.get(t)},r.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},r.prototype.eachActiveState=function(t,e,n,a){n==null&&(n=0),a==null&&(a=t.count());var i=this._axesMap,o=this.dimensions,s=[],l=[];M(o,function(g){s.push(t.mapDimension(g)),l.push(i.get(g).model)});for(var u=this.hasAxisBrushed(),c=n;c<a;c++){var f=void 0;if(!u)f="normal";else{f="active";for(var h=t.getValues(s,c),p=0,v=o.length;p<v;p++){var m=l[p].getActiveState(h[p]);if(m==="inactive"){f="inactive";break}}}e(f,c)}},r.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,a=0,i=t.length;a<i;a++)e.get(t[a]).model.getActiveState()!=="normal"&&(n=!0);return n},r.prototype.axisCoordToPoint=function(t,e){var n=this._axesLayout[e];return xn([t,0],n.transform)},r.prototype.getAxisLayout=function(t){return pe(this._axesLayout[t])},r.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,a=e.axisExpandWindow.slice(),i=a[1]-a[0],o=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:a};var s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,l,u="slide",c=e.axisCollapseWidth,f=this._model.get("axisExpandSlideTriggerArea"),h=f[0]!=null;if(c)h&&c&&s<i*f[0]?(u="jump",l=s-i*f[2]):h&&c&&s>i*(1-f[0])?(u="jump",l=s-i*(1-f[2])):(l=s-i*f[1])>=0&&(l=s-i*(1-f[1]))<=0&&(l=0),l*=e.axisExpandWidth/c,l?Qo(l,a,o,"all"):u="none";else{var p=a[1]-a[0],v=o[1]*s/p;a=[BT(0,v-p/2)],a[1]=VT(o[1],a[0]+p),a[0]=a[1]-p}return{axisExpandWindow:a,behavior:u}},r}();function Od(r,t){return VT(BT(r,t[0]),t[1])}function ace(r,t){var e=t.layoutLength/(t.axisCount-1);return{position:e*r,axisNameAvailableWidth:e,axisLabelShow:!0}}function ice(r,t){var e=t.layoutLength,n=t.axisExpandWidth,a=t.axisCount,i=t.axisCollapseWidth,o=t.winInnerIndices,s,l=i,u=!1,c;return r<o[0]?(s=r*i,c=i):r<=o[1]?(s=t.axisExpandWindow0Pos+r*n-t.axisExpandWindow[0],l=n,u=!0):(s=e-(a-1-r)*i,c=i),{position:s,axisNameAvailableWidth:l,axisLabelShow:u,nameTruncateMaxWidth:c}}function oce(r,t){var e=[];return r.eachComponent("parallel",function(n,a){var i=new nce(n,r,t);i.name="parallel_"+a,i.resize(n,t),n.coordinateSystem=i,i.model=n,e.push(i)}),r.eachSeries(function(n){if(n.get("coordinateSystem")==="parallel"){var a=n.getReferringComponents("parallel",yt).models[0];n.coordinateSystem=a.coordinateSystem}}),e}var sce={create:oce},h_=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.activeIntervals=[],e}return t.prototype.getAreaSelectStyle=function(){return oo([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(e){var n=this.activeIntervals=pe(e);if(n)for(var a=n.length-1;a>=0;a--)Gr(n[a])},t.prototype.getActiveState=function(e){var n=this.activeIntervals;if(!n.length)return"normal";if(e==null||isNaN(+e))return"inactive";if(n.length===1){var a=n[0];if(a[0]<=e&&e<=a[1])return"active"}else for(var i=0,o=n.length;i<o;i++)if(n[i][0]<=e&&e<=n[i][1])return"active";return"inactive"},t}(Ae);gt(h_,bc);var es=!0,Kc=Math.min,Ml=Math.max,lce=Math.pow,uce=1e4,cce=6,fce=6,zT="globalPan",hce={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},pce={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},HT={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},dce=0,p_=function(r){F(t,r);function t(e){var n=r.call(this)||this;return n._track=[],n._covers=[],n._handlers={},process.env.NODE_ENV!=="production"&&se(e),n._zr=e,n.group=new de,n._uid="brushController_"+dce++,M(xce,function(a,i){this._handlers[i]=J(a,this)},n),n}return t.prototype.enableBrush=function(e){return process.env.NODE_ENV!=="production"&&se(this._mounted),this._brushType&&this._doDisableBrush(),e.brushType&&this._doEnableBrush(e),this},t.prototype._doEnableBrush=function(e){var n=this._zr;this._enableGlobalPan||ase(n,zT,this._uid),M(this._handlers,function(a,i){n.on(i,a)}),this._brushType=e.brushType,this._brushOption=_e(pe(HT),e,!0)},t.prototype._doDisableBrush=function(){var e=this._zr;ise(e,zT,this._uid),M(this._handlers,function(n,a){e.off(a,n)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(e){if(e&&e.length){var n=this._panels={};M(e,function(a){n[a.panelId]=pe(a)})}else this._panels=null;return this},t.prototype.mount=function(e){e=e||{},process.env.NODE_ENV!=="production"&&(this._mounted=!0),this._enableGlobalPan=e.enableGlobalPan;var n=this.group;return this._zr.add(n),n.attr({x:e.x||0,y:e.y||0,rotation:e.rotation||0,scaleX:e.scaleX||1,scaleY:e.scaleY||1}),this._transform=n.getLocalTransform(),this},t.prototype.updateCovers=function(e){process.env.NODE_ENV!=="production"&&se(this._mounted),e=Y(e,function(h){return _e(pe(HT),h,!0)});var n="\0-brush-index-",a=this._covers,i=this._covers=[],o=this,s=this._creatingCover;return new Da(a,e,u,l).add(c).update(c).remove(f).execute(),this;function l(h,p){return(h.id!=null?h.id:n+p)+"-"+h.brushType}function u(h,p){return l(h.__brushOption,p)}function c(h,p){var v=e[h];if(p!=null&&a[p]===s)i[h]=a[p];else{var m=i[h]=p!=null?(a[p].__brushOption=v,a[p]):GT(o,FT(o,v));d_(o,m)}}function f(h){a[h]!==s&&o.group.remove(a[h])}},t.prototype.unmount=function(){if(!(process.env.NODE_ENV!=="production"&&!this._mounted))return this.enableBrush(!1),m_(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 FT(r,t){var e=Rd[t.brushType].createCover(r,t);return e.__brushOption=t,WT(e,t),r.group.add(e),e}function GT(r,t){var e=v_(t);return e.endCreating&&(e.endCreating(r,t),WT(t,t.__brushOption)),t}function $T(r,t){var e=t.__brushOption;v_(t).updateCoverShape(r,t,e.range,e)}function WT(r,t){var e=t.z;e==null&&(e=uce),r.traverse(function(n){n.z=e,n.z2=e})}function d_(r,t){v_(t).updateCommon(r,t),$T(r,t)}function v_(r){return Rd[r.__brushOption.brushType]}function g_(r,t,e){var n=r._panels;if(!n)return es;var a,i=r._transform;return M(n,function(o){o.isTargetByCursor(t,e,i)&&(a=o)}),a}function UT(r,t){var e=r._panels;if(!e)return es;var n=t.__brushOption.panelId;return n!=null?e[n]:es}function m_(r){var t=r._covers,e=t.length;return M(t,function(n){r.group.remove(n)},r),t.length=0,!!e}function ts(r,t){var e=Y(r._covers,function(n){var a=n.__brushOption,i=pe(a.range);return{brushType:a.brushType,panelId:a.panelId,range:i}});r.trigger("brush",{areas:e,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function vce(r){var t=r._track;if(!t.length)return!1;var e=t[t.length-1],n=t[0],a=e[0]-n[0],i=e[1]-n[1],o=lce(a*a+i*i,.5);return o>cce}function YT(r){var t=r.length-1;return t<0&&(t=0),[r[0],r[t]]}function jT(r,t,e,n){var a=new de;return a.add(new Pe({name:"main",style:y_(e),silent:!0,draggable:!0,cursor:"move",drift:me(ZT,r,t,a,["n","s","w","e"]),ondragend:me(ts,t,{isEnd:!0})})),M(n,function(i){a.add(new Pe({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:me(ZT,r,t,a,i),ondragend:me(ts,t,{isEnd:!0})}))}),a}function XT(r,t,e,n){var a=n.brushStyle.lineWidth||0,i=Ml(a,fce),o=e[0][0],s=e[1][0],l=o-a/2,u=s-a/2,c=e[0][1],f=e[1][1],h=c-i+a/2,p=f-i+a/2,v=c-o,m=f-s,g=v+a,_=m+a;La(r,t,"main",o,s,v,m),n.transformable&&(La(r,t,"w",l,u,i,_),La(r,t,"e",h,u,i,_),La(r,t,"n",l,u,g,i),La(r,t,"s",l,p,g,i),La(r,t,"nw",l,u,i,i),La(r,t,"ne",h,u,i,i),La(r,t,"sw",l,p,i,i),La(r,t,"se",h,p,i,i))}function __(r,t){var e=t.__brushOption,n=e.transformable,a=t.childAt(0);a.useStyle(y_(e)),a.attr({silent:!n,cursor:n?"move":"default"}),M([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=t.childOfName(i.join("")),s=i.length===1?w_(r,i[0]):mce(r,i);o&&o.attr({silent:!n,invisible:!n,cursor:n?pce[s]+"-resize":null})})}function La(r,t,e,n,a,i,o){var s=t.childOfName(e);s&&s.setShape(yce(x_(r,t,[[n,a],[n+i,a+o]])))}function y_(r){return ue({strokeNoScale:!0},r.brushStyle)}function qT(r,t,e,n){var a=[Kc(r,e),Kc(t,n)],i=[Ml(r,e),Ml(t,n)];return[[a[0],i[0]],[a[1],i[1]]]}function gce(r){return So(r.group)}function w_(r,t){var e={w:"left",e:"right",n:"top",s:"bottom"},n={left:"w",right:"e",top:"n",bottom:"s"},a=vp(e[t],gce(r));return n[a]}function mce(r,t){var e=[w_(r,t[0]),w_(r,t[1])];return(e[0]==="e"||e[0]==="w")&&e.reverse(),e.join("")}function ZT(r,t,e,n,a,i){var o=e.__brushOption,s=r.toRectRange(o.range),l=KT(t,a,i);M(n,function(u){var c=hce[u];s[c[0]][c[1]]+=l[c[0]]}),o.range=r.fromRectRange(qT(s[0][0],s[1][0],s[0][1],s[1][1])),d_(t,e),ts(t,{isEnd:!1})}function _ce(r,t,e,n){var a=t.__brushOption.range,i=KT(r,e,n);M(a,function(o){o[0]+=i[0],o[1]+=i[1]}),d_(r,t),ts(r,{isEnd:!1})}function KT(r,t,e){var n=r.group,a=n.transformCoordToLocal(t,e),i=n.transformCoordToLocal(0,0);return[a[0]-i[0],a[1]-i[1]]}function x_(r,t,e){var n=UT(r,t);return n&&n!==es?n.clipPath(e,r._transform):pe(e)}function yce(r){var t=Kc(r[0][0],r[1][0]),e=Kc(r[0][1],r[1][1]),n=Ml(r[0][0],r[1][0]),a=Ml(r[0][1],r[1][1]);return{x:t,y:e,width:n-t,height:a-e}}function wce(r,t,e){if(!(!r._brushType||bce(r,t.offsetX,t.offsetY))){var n=r._zr,a=r._covers,i=g_(r,t,e);if(!r._dragging)for(var o=0;o<a.length;o++){var s=a[o].__brushOption;if(i&&(i===es||s.panelId===i.panelId)&&Rd[s.brushType].contain(a[o],e[0],e[1]))return}i&&n.setCursorStyle("crosshair")}}function b_(r){var t=r.event;t.preventDefault&&t.preventDefault()}function S_(r,t,e){return r.childOfName("main").contain(t,e)}function JT(r,t,e,n){var a=r._creatingCover,i=r._creatingPanel,o=r._brushOption,s;if(r._track.push(e.slice()),vce(r)||a){if(i&&!a){o.brushMode==="single"&&m_(r);var l=pe(o);l.brushType=QT(l.brushType,i),l.panelId=i===es?null:i.panelId,a=r._creatingCover=FT(r,l),r._covers.push(a)}if(a){var u=Rd[QT(r._brushType,i)],c=a.__brushOption;c.range=u.getCreatingRange(x_(r,a,r._track)),n&&(GT(r,a),u.updateCommon(r,a)),$T(r,a),s={isEnd:n}}}else n&&o.brushMode==="single"&&o.removeOnClick&&g_(r,t,e)&&m_(r)&&(s={isEnd:n,removeOnClick:!0});return s}function QT(r,t){return r==="auto"?(process.env.NODE_ENV!=="production"&&se(t&&t.defaultBrushType,'MUST have defaultBrushType when brushType is "atuo"'),t.defaultBrushType):r}var xce={mousedown:function(r){if(this._dragging)eD(this,r);else if(!r.target||!r.target.draggable){b_(r);var t=this.group.transformCoordToLocal(r.offsetX,r.offsetY);this._creatingCover=null;var e=this._creatingPanel=g_(this,r,t);e&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(r){var t=r.offsetX,e=r.offsetY,n=this.group.transformCoordToLocal(t,e);if(wce(this,r,n),this._dragging){b_(r);var a=JT(this,r,n,!1);a&&ts(this,a)}},mouseup:function(r){eD(this,r)}};function eD(r,t){if(r._dragging){b_(t);var e=t.offsetX,n=t.offsetY,a=r.group.transformCoordToLocal(e,n),i=JT(r,t,a,!0);r._dragging=!1,r._track=[],r._creatingCover=null,i&&ts(r,i)}}function bce(r,t,e){var n=r._zr;return t<0||t>n.getWidth()||e<0||e>n.getHeight()}var Rd={lineX:tD(0),lineY:tD(1),rect:{createCover:function(r,t){function e(n){return n}return jT({toRectRange:e,fromRectRange:e},r,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(r){var t=YT(r);return qT(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(r,t,e,n){XT(r,t,e,n)},updateCommon:__,contain:S_},polygon:{createCover:function(r,t){var e=new de;return e.add(new fr({name:"main",style:y_(t),silent:!0})),e},getCreatingRange:function(r){return r},endCreating:function(r,t){t.remove(t.childAt(0)),t.add(new cr({name:"main",draggable:!0,drift:me(_ce,r,t),ondragend:me(ts,r,{isEnd:!0})}))},updateCoverShape:function(r,t,e,n){t.childAt(0).setShape({points:x_(r,t,e)})},updateCommon:__,contain:S_}};function tD(r){return{createCover:function(t,e){return jT({toRectRange:function(n){var a=[n,[0,100]];return r&&a.reverse(),a},fromRectRange:function(n){return n[r]}},t,e,[[["w"],["e"]],[["n"],["s"]]][r])},getCreatingRange:function(t){var e=YT(t),n=Kc(e[0][r],e[1][r]),a=Ml(e[0][r],e[1][r]);return[n,a]},updateCoverShape:function(t,e,n,a){var i,o=UT(t,e);if(o!==es&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(r);else{var s=t._zr;i=[0,[s.getWidth(),s.getHeight()][1-r]]}var l=[n,i];r&&l.reverse(),XT(t,e,l,a)},updateCommon:__,contain:S_}}function rD(r){return r=C_(r),function(t){return Wx(t,r)}}function nD(r,t){return r=C_(r),function(e){var n=t??e,a=n?r.width:r.height,i=n?r.x:r.y;return[i,i+(a||0)]}}function aD(r,t,e){var n=C_(r);return function(a,i){return n.contain(i[0],i[1])&&!Sd(a,t,e)}}function C_(r){return we.create(r)}var Sce=["axisLine","axisTickLabel","axisName"],Cce=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){r.prototype.init.apply(this,arguments),(this._brushController=new p_(n.getZr())).on("brush",J(this._onBrush,this))},t.prototype.render=function(e,n,a,i){if(!Ece(e,n,i)){this.axisModel=e,this.api=a,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new de,this.group.add(this._axisGroup),!!e.get("show")){var s=Dce(e,n),l=s.coordinateSystem,u=e.getAreaSelectStyle(),c=u.width,f=e.axis.dim,h=l.getAxisLayout(f),p=G({strokeContainThreshold:c},h),v=new vr(e,p);M(Sce,v.add,v),this._axisGroup.add(v.getGroup()),this._refreshBrushController(p,u,e,s,c,a),Xu(o,this._axisGroup,e)}}},t.prototype._refreshBrushController=function(e,n,a,i,o,s){var l=a.axis.getExtent(),u=l[1]-l[0],c=Math.min(30,Math.abs(u)*.1),f=we.create({x:l[0],y:-o/2,width:u,height:o});f.x-=c,f.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:e.rotation,x:e.position[0],y:e.position[1]}).setPanels([{panelId:"pl",clipPath:rD(f),isTargetByCursor:aD(f,s,i),getLinearBrushOtherExtent:nD(f,0)}]).enableBrush({brushType:"lineX",brushStyle:n,removeOnClick:!0}).updateCovers(Tce(a))},t.prototype._onBrush=function(e){var n=e.areas,a=this.axisModel,i=a.axis,o=Y(n,function(s){return[i.coordToData(s.range[0],!0),i.coordToData(s.range[1],!0)]});(!a.option.realtime===e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:a.id,intervals:o})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(nt);function Ece(r,t,e){return e&&e.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:e})[0]===r}function Tce(r){var t=r.axis;return Y(r.activeIntervals,function(e){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(e[0],!0),t.dataToCoord(e[1],!0)]}})}function Dce(r,t){return t.getComponent("parallel",r.get("parallelIndex"))}var Ace={type:"axisAreaSelect",event:"axisAreaSelected"};function Mce(r){r.registerAction(Ace,function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},function(n){n.axis.model.setActiveIntervals(t.intervals)})}),r.registerAction("parallelAxisExpand",function(t,e){e.eachComponent({mainType:"parallel",query:t},function(n){n.setAxisExpand(t)})})}var kce={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function iD(r){r.registerComponentView(Kue),r.registerComponentModel(Que),r.registerCoordinateSystem("parallel",sce),r.registerPreprocessor(jue),r.registerComponentModel(h_),r.registerComponentView(Cce),Sl(r,"parallel",h_,kce),Mce(r)}function Lce(r){Se(iD),r.registerChartView(zue),r.registerSeriesModel(Gue),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,Yue)}var Ice=function(){function r(){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 r}(),Nce=function(r){F(t,r);function t(e){return r.call(this,e)||this}return t.prototype.getDefaultShape=function(){return new Ice},t.prototype.buildPath=function(e,n){var a=n.extent;e.moveTo(n.x1,n.y1),e.bezierCurveTo(n.cpx1,n.cpy1,n.cpx2,n.cpy2,n.x2,n.y2),n.orient==="vertical"?(e.lineTo(n.x2+a,n.y2),e.bezierCurveTo(n.cpx2+a,n.cpy2,n.cpx1+a,n.cpy1,n.x1+a,n.y1)):(e.lineTo(n.x2,n.y2+a),e.bezierCurveTo(n.cpx2,n.cpy2+a,n.cpx1,n.cpy1+a,n.x1,n.y1+a)),e.closePath()},t.prototype.highlight=function(){ba(this)},t.prototype.downplay=function(){Sa(this)},t}(Te),Pce=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._focusAdjacencyDisabled=!1,e}return t.prototype.render=function(e,n,a){var i=this,o=e.getGraph(),s=this.group,l=e.layoutInfo,u=l.width,c=l.height,f=e.getData(),h=e.getData("edge"),p=e.get("orient");this._model=e,s.removeAll(),s.x=l.x,s.y=l.y,o.eachEdge(function(v){var m=new Nce,g=ge(m);g.dataIndex=v.dataIndex,g.seriesIndex=e.seriesIndex,g.dataType="edge";var _=v.getModel(),y=_.getModel("lineStyle"),w=y.get("curveness"),x=v.node1.getLayout(),b=v.node1.getModel(),S=b.get("localX"),C=b.get("localY"),D=v.node2.getLayout(),T=v.node2.getModel(),E=T.get("localX"),A=T.get("localY"),k=v.getLayout(),I,L,N,P,V,O,B,R;m.shape.extent=Math.max(1,k.dy),m.shape.orient=p,p==="vertical"?(I=(S!=null?S*u:x.x)+k.sy,L=(C!=null?C*c:x.y)+x.dy,N=(E!=null?E*u:D.x)+k.ty,P=A!=null?A*c:D.y,V=I,O=L*(1-w)+P*w,B=N,R=L*w+P*(1-w)):(I=(S!=null?S*u:x.x)+x.dx,L=(C!=null?C*c:x.y)+k.sy,N=E!=null?E*u:D.x,P=(A!=null?A*c:D.y)+k.ty,V=I*(1-w)+N*w,O=L,B=I*w+N*(1-w),R=P),m.setShape({x1:I,y1:L,x2:N,y2:P,cpx1:V,cpy1:O,cpx2:B,cpy2:R}),m.useStyle(y.getItemStyle()),oD(m.style,p,v);var z=""+_.get("value"),H=At(_,"edgeLabel");Ht(m,H,{labelFetcher:{getFormattedLabel:function(j,fe,De,ie,re,le){return e.getFormattedLabel(j,fe,"edge",ie,Or(re,H.normal&&H.normal.get("formatter"),z),le)}},labelDataIndex:v.dataIndex,defaultText:z}),m.setTextConfig({position:"inside"});var $=_.getModel("emphasis");zt(m,_,"lineStyle",function(j){var fe=j.getItemStyle();return oD(fe,p,v),fe}),s.add(m),h.setItemGraphicEl(v.dataIndex,m);var X=$.get("focus");ot(m,X==="adjacency"?v.getAdjacentDataIndices():X==="trajectory"?v.getTrajectoryDataIndices():X,$.get("blurScope"),$.get("disabled"))}),o.eachNode(function(v){var m=v.getLayout(),g=v.getModel(),_=g.get("localX"),y=g.get("localY"),w=g.getModel("emphasis"),x=g.get(["itemStyle","borderRadius"])||0,b=new Pe({shape:{x:_!=null?_*u:m.x,y:y!=null?y*c:m.y,width:m.dx,height:m.dy,r:x},style:g.getModel("itemStyle").getItemStyle(),z2:10});Ht(b,At(g),{labelFetcher:{getFormattedLabel:function(C,D){return e.getFormattedLabel(C,D,"node")}},labelDataIndex:v.dataIndex,defaultText:v.id}),b.disableLabelAnimation=!0,b.setStyle("fill",v.getVisual("color")),b.setStyle("decal",v.getVisual("style").decal),zt(b,g),s.add(b),f.setItemGraphicEl(v.dataIndex,b),ge(b).dataType="node";var S=w.get("focus");ot(b,S==="adjacency"?v.getAdjacentDataIndices():S==="trajectory"?v.getTrajectoryDataIndices():S,w.get("blurScope"),w.get("disabled"))}),f.eachItemGraphicEl(function(v,m){var g=f.getItemModel(m);g.get("draggable")&&(v.drift=function(_,y){i._focusAdjacencyDisabled=!0,this.shape.x+=_,this.shape.y+=y,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:e.id,dataIndex:f.getRawIndex(m),localX:this.shape.x/u,localY:this.shape.y/c})},v.ondragend=function(){i._focusAdjacencyDisabled=!1},v.draggable=!0,v.cursor="move")}),!this._data&&e.isAnimationEnabled()&&s.setClipPath(Vce(s.getBoundingRect(),e,function(){s.removeClipPath()})),this._data=e.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(Xe);function oD(r,t,e){switch(r.fill){case"source":r.fill=e.node1.getVisual("color"),r.decal=e.node1.getVisual("style").decal;break;case"target":r.fill=e.node2.getVisual("color"),r.decal=e.node2.getVisual("style").decal;break;case"gradient":var n=e.node1.getVisual("color"),a=e.node2.getVisual("color");K(n)&&K(a)&&(r.fill=new Yu(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:n,offset:0},{color:a,offset:1}]))}}function Vce(r,t,e){var n=new Pe({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return tt(n,{shape:{width:r.width+20}},t,e),n}var Bce=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){var a=e.edges||e.links||[],i=e.data||e.nodes||[],o=e.levels||[];this.levelModels=[];for(var s=this.levelModels,l=0;l<o.length;l++)if(o[l].depth!=null&&o[l].depth>=0)s[o[l].depth]=new Ue(o[l],this,n);else if(process.env.NODE_ENV!=="production")throw new Error("levels[i].depth is mandatory and should be natural number");var u=LT(i,a,this,!0,c);return u.data;function c(f,h){f.wrapMethod("getItemModel",function(p,v){var m=p.parentModel,g=m.getData().getItemLayout(v);if(g){var _=g.depth,y=m.levelModels[_];y&&(p.parentModel=y)}return p}),h.wrapMethod("getItemModel",function(p,v){var m=p.parentModel,g=m.getGraph().getEdgeByIndex(v),_=g.node1.getLayout();if(_){var y=_.depth,w=m.levelModels[y];w&&(p.parentModel=w)}return p})}},t.prototype.setNodePosition=function(e,n){var a=this.option.data||this.option.nodes,i=a[e];i.localX=n[0],i.localY=n[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(e,n,a){function i(p){return isNaN(p)||p==null}if(a==="edge"){var o=this.getDataParams(e,a),s=o.data,l=o.value,u=s.source+" -- "+s.target;return Mt("nameValue",{name:u,value:l,noValue:i(l)})}else{var c=this.getGraph().getNodeByIndex(e),f=c.getLayout().value,h=this.getDataParams(e,a).data.name;return Mt("nameValue",{name:h!=null?h+"":null,value:f,noValue:i(f)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(e,n){var a=r.prototype.getDataParams.call(this,e,n);if(a.value==null&&n==="node"){var i=this.getGraph().getNodeByIndex(e),o=i.getLayout().value;a.value=o}return a},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}(Ke);function Oce(r,t){r.eachSeriesByType("sankey",function(e){var n=e.get("nodeWidth"),a=e.get("nodeGap"),i=Rce(e,t);e.layoutInfo=i;var o=i.width,s=i.height,l=e.getGraph(),u=l.nodes,c=l.edges;Hce(u);var f=Fe(u,function(m){return m.getLayout().value===0}),h=f.length!==0?0:e.get("layoutIterations"),p=e.get("orient"),v=e.get("nodeAlign");zce(u,c,n,a,o,s,h,p,v)})}function Rce(r,t){return Et(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function zce(r,t,e,n,a,i,o,s,l){Fce(r,t,e,a,i,s,l),Uce(r,t,i,a,n,o,s),efe(r,s)}function Hce(r){M(r,function(t){var e=yi(t.outEdges,zd),n=yi(t.inEdges,zd),a=t.getValue()||0,i=Math.max(e,n,a);t.setLayout({value:i},!0)})}function Fce(r,t,e,n,a,i,o){for(var s=[],l=[],u=[],c=[],f=0,h=0;h<t.length;h++)s[h]=1;for(var h=0;h<r.length;h++)l[h]=r[h].inEdges.length,l[h]===0&&u.push(r[h]);for(var p=-1;u.length;){for(var v=0;v<u.length;v++){var m=u[v],g=m.hostGraph.data.getRawDataItem(m.dataIndex),_=g.depth!=null&&g.depth>=0;_&&g.depth>p&&(p=g.depth),m.setLayout({depth:_?g.depth:f},!0),i==="vertical"?m.setLayout({dy:e},!0):m.setLayout({dx:e},!0);for(var y=0;y<m.outEdges.length;y++){var w=m.outEdges[y],x=t.indexOf(w);s[x]=0;var b=w.node2,S=r.indexOf(b);--l[S]===0&&c.indexOf(b)<0&&c.push(b)}}++f,u=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 C=p>f-1?p:f-1;o&&o!=="left"&&Gce(r,o,i,C);var D=i==="vertical"?(a-e)/C:(n-e)/C;Wce(r,D,i)}function sD(r){var t=r.hostGraph.data.getRawDataItem(r.dataIndex);return t.depth!=null&&t.depth>=0}function Gce(r,t,e,n){if(t==="right"){for(var a=[],i=r,o=0;i.length;){for(var s=0;s<i.length;s++){var l=i[s];l.setLayout({skNodeHeight:o},!0);for(var u=0;u<l.inEdges.length;u++){var c=l.inEdges[u];a.indexOf(c.node1)<0&&a.push(c.node1)}}i=a,a=[],++o}M(r,function(f){sD(f)||f.setLayout({depth:Math.max(0,n-f.getLayout().skNodeHeight)},!0)})}else t==="justify"&&$ce(r,n)}function $ce(r,t){M(r,function(e){!sD(e)&&!e.outEdges.length&&e.setLayout({depth:t},!0)})}function Wce(r,t,e){M(r,function(n){var a=n.getLayout().depth*t;e==="vertical"?n.setLayout({y:a},!0):n.setLayout({x:a},!0)})}function Uce(r,t,e,n,a,i,o){var s=Yce(r,o);jce(s,t,e,n,a,o),E_(s,a,e,n,o);for(var l=1;i>0;i--)l*=.99,Xce(s,l,o),E_(s,a,e,n,o),Qce(s,l,o),E_(s,a,e,n,o)}function Yce(r,t){var e=[],n=t==="vertical"?"y":"x",a=Vg(r,function(i){return i.getLayout()[n]});return a.keys.sort(function(i,o){return i-o}),M(a.keys,function(i){e.push(a.buckets.get(i))}),e}function jce(r,t,e,n,a,i){var o=1/0;M(r,function(s){var l=s.length,u=0;M(s,function(f){u+=f.getLayout().value});var c=i==="vertical"?(n-(l-1)*a)/u:(e-(l-1)*a)/u;c<o&&(o=c)}),M(r,function(s){M(s,function(l,u){var c=l.getLayout().value*o;i==="vertical"?(l.setLayout({x:u},!0),l.setLayout({dx:c},!0)):(l.setLayout({y:u},!0),l.setLayout({dy:c},!0))})}),M(t,function(s){var l=+s.getValue()*o;s.setLayout({dy:l},!0)})}function E_(r,t,e,n,a){var i=a==="vertical"?"x":"y";M(r,function(o){o.sort(function(m,g){return m.getLayout()[i]-g.getLayout()[i]});for(var s,l,u,c=0,f=o.length,h=a==="vertical"?"dx":"dy",p=0;p<f;p++)l=o[p],u=c-l.getLayout()[i],u>0&&(s=l.getLayout()[i]+u,a==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),c=l.getLayout()[i]+l.getLayout()[h]+t;var v=a==="vertical"?n:e;if(u=c-t-v,u>0){s=l.getLayout()[i]-u,a==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0),c=s;for(var p=f-2;p>=0;--p)l=o[p],u=l.getLayout()[i]+l.getLayout()[h]+t-c,u>0&&(s=l.getLayout()[i]-u,a==="vertical"?l.setLayout({x:s},!0):l.setLayout({y:s},!0)),c=l.getLayout()[i]}})}function Xce(r,t,e){M(r.slice().reverse(),function(n){M(n,function(a){if(a.outEdges.length){var i=yi(a.outEdges,qce,e)/yi(a.outEdges,zd);if(isNaN(i)){var o=a.outEdges.length;i=o?yi(a.outEdges,Zce,e)/o:0}if(e==="vertical"){var s=a.getLayout().x+(i-_i(a,e))*t;a.setLayout({x:s},!0)}else{var l=a.getLayout().y+(i-_i(a,e))*t;a.setLayout({y:l},!0)}}})})}function qce(r,t){return _i(r.node2,t)*r.getValue()}function Zce(r,t){return _i(r.node2,t)}function Kce(r,t){return _i(r.node1,t)*r.getValue()}function Jce(r,t){return _i(r.node1,t)}function _i(r,t){return t==="vertical"?r.getLayout().x+r.getLayout().dx/2:r.getLayout().y+r.getLayout().dy/2}function zd(r){return r.getValue()}function yi(r,t,e){for(var n=0,a=r.length,i=-1;++i<a;){var o=+t(r[i],e);isNaN(o)||(n+=o)}return n}function Qce(r,t,e){M(r,function(n){M(n,function(a){if(a.inEdges.length){var i=yi(a.inEdges,Kce,e)/yi(a.inEdges,zd);if(isNaN(i)){var o=a.inEdges.length;i=o?yi(a.inEdges,Jce,e)/o:0}if(e==="vertical"){var s=a.getLayout().x+(i-_i(a,e))*t;a.setLayout({x:s},!0)}else{var l=a.getLayout().y+(i-_i(a,e))*t;a.setLayout({y:l},!0)}}})})}function efe(r,t){var e=t==="vertical"?"x":"y";M(r,function(n){n.outEdges.sort(function(a,i){return a.node2.getLayout()[e]-i.node2.getLayout()[e]}),n.inEdges.sort(function(a,i){return a.node1.getLayout()[e]-i.node1.getLayout()[e]})}),M(r,function(n){var a=0,i=0;M(n.outEdges,function(o){o.setLayout({sy:a},!0),a+=o.getLayout().dy}),M(n.inEdges,function(o){o.setLayout({ty:i},!0),i+=o.getLayout().dy})})}function tfe(r){r.eachSeriesByType("sankey",function(t){var e=t.getGraph(),n=e.nodes,a=e.edges;if(n.length){var i=1/0,o=-1/0;M(n,function(s){var l=s.getLayout().value;l<i&&(i=l),l>o&&(o=l)}),M(n,function(s){var l=new Lt({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:t.get("color")}),u=l.mapValueToVisual(s.getLayout().value),c=s.getModel().get(["itemStyle","color"]);c!=null?(s.setVisual("color",c),s.setVisual("style",{fill:c})):(s.setVisual("color",u),s.setVisual("style",{fill:u}))})}a.length&&M(a,function(s){var l=s.getModel().get("lineStyle");s.setVisual("style",l)})})}function rfe(r){r.registerChartView(Pce),r.registerSeriesModel(Bce),r.registerLayout(Oce),r.registerVisual(tfe),r.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},function(n){n.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var lD=function(){function r(){}return r.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&e.get(t)!=null},r.prototype.getInitialData=function(t,e){var n,a=e.getComponent("xAxis",this.get("xAxisIndex")),i=e.getComponent("yAxis",this.get("yAxisIndex")),o=a.get("type"),s=i.get("type"),l;o==="category"?(t.layout="horizontal",n=a.getOrdinalMeta(),l=!this._hasEncodeRule("x")):s==="category"?(t.layout="vertical",n=i.getOrdinalMeta(),l=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var u=["x","y"],c=t.layout==="horizontal"?0:1,f=this._baseAxisDim=u[c],h=u[1-c],p=[a,i],v=p[c].get("type"),m=p[1-c].get("type"),g=t.data;if(g&&l){var _=[];M(g,function(x,b){var S;U(x)?(S=x.slice(),x.unshift(b)):U(x.value)?(S=G({},x),S.value=S.value.slice(),x.value.unshift(b)):S=x,_.push(S)}),t.data=_}var y=this.defaultValueDimensions,w=[{name:f,type:Zp(v),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:Zp(m),dimsDef:y.slice()}];return bl(this,{coordDimensions:w,dimensionsCount:y.length+1,encodeDefaulter:me(C5,w,this)})},r.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},r}(),uD=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],e.visualDrawType="stroke",e}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}(Ke);gt(uD,lD,!0);var nfe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=e.getData(),o=this.group,s=this._data;this._data||o.removeAll();var l=e.get("layout")==="horizontal"?1:0;i.diff(s).add(function(u){if(i.hasValue(u)){var c=i.getItemLayout(u),f=cD(c,i,u,l,!0);i.setItemGraphicEl(u,f),o.add(f)}}).update(function(u,c){var f=s.getItemGraphicEl(c);if(!i.hasValue(u)){o.remove(f);return}var h=i.getItemLayout(u);f?(yn(f),fD(h,f,i,u)):f=cD(h,i,u,l),o.add(f),i.setItemGraphicEl(u,f)}).remove(function(u){var c=s.getItemGraphicEl(u);c&&o.remove(c)}).execute(),this._data=i},t.prototype.remove=function(e){var n=this.group,a=this._data;this._data=null,a&&a.eachItemGraphicEl(function(i){i&&n.remove(i)})},t.type="boxplot",t}(Xe),afe=function(){function r(){}return r}(),ife=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="boxplotBoxPath",n}return t.prototype.getDefaultShape=function(){return new afe},t.prototype.buildPath=function(e,n){var a=n.points,i=0;for(e.moveTo(a[i][0],a[i][1]),i++;i<4;i++)e.lineTo(a[i][0],a[i][1]);for(e.closePath();i<a.length;i++)e.moveTo(a[i][0],a[i][1]),i++,e.lineTo(a[i][0],a[i][1])},t}(Te);function cD(r,t,e,n,a){var i=r.ends,o=new ife({shape:{points:a?ofe(i,n,r):i}});return fD(r,o,t,e,a),o}function fD(r,t,e,n,a){var i=e.hostModel,o=Eo[a?"initProps":"updateProps"];o(t,{shape:{points:r.ends}},i,n),t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.z2=100;var s=e.getItemModel(n),l=s.getModel("emphasis");zt(t,s),ot(t,l.get("focus"),l.get("blurScope"),l.get("disabled"))}function ofe(r,t,e){return Y(r,function(n){return n=n.slice(),n[t]=e.initBaseline,n})}var Jc=M;function sfe(r){var t=lfe(r);Jc(t,function(e){var n=e.seriesModels;n.length&&(ufe(e),Jc(n,function(a,i){cfe(a,e.boxOffsetList[i],e.boxWidthList[i])}))})}function lfe(r){var t=[],e=[];return r.eachSeriesByType("boxplot",function(n){var a=n.getBaseAxis(),i=xe(e,a);i<0&&(i=e.length,e[i]=a,t[i]={axis:a,seriesModels:[]}),t[i].seriesModels.push(n)}),t}function ufe(r){var t=r.axis,e=r.seriesModels,n=e.length,a=r.boxWidthList=[],i=r.boxOffsetList=[],o=[],s;if(t.type==="category")s=t.getBandWidth();else{var l=0;Jc(e,function(v){l=Math.max(l,v.getData().count())});var u=t.getExtent();s=Math.abs(u[1]-u[0])/l}Jc(e,function(v){var m=v.get("boxWidth");U(m)||(m=[m,m]),o.push([Z(m[0],s)||0,Z(m[1],s)||0])});var c=s*.8-2,f=c/n*.3,h=(c-f*(n-1))/n,p=h/2-c/2;Jc(e,function(v,m){i.push(p),p+=f+h,a.push(Math.min(Math.max(h,o[m][0]),o[m][1]))})}function cfe(r,t,e){var n=r.coordinateSystem,a=r.getData(),i=e/2,o=r.get("layout")==="horizontal"?0:1,s=1-o,l=["x","y"],u=a.mapDimension(l[o]),c=a.mapDimensionsAll(l[s]);if(u==null||c.length<5)return;for(var f=0;f<a.count();f++){var h=a.get(u,f),p=w(h,c[2],f),v=w(h,c[0],f),m=w(h,c[1],f),g=w(h,c[3],f),_=w(h,c[4],f),y=[];x(y,m,!1),x(y,g,!0),y.push(v,m,_,g),b(y,v),b(y,_),b(y,p),a.setItemLayout(f,{initBaseline:p[s],ends:y})}function w(S,C,D){var T=a.get(C,D),E=[];E[o]=S,E[s]=T;var A;return isNaN(S)||isNaN(T)?A=[NaN,NaN]:(A=n.dataToPoint(E),A[o]+=t),A}function x(S,C,D){var T=C.slice(),E=C.slice();T[o]+=i,E[o]-=i,D?S.push(T,E):S.push(E,T)}function b(S,C){var D=C.slice(),T=C.slice();D[o]-=i,T[o]+=i,S.push(D,T)}}function ffe(r,t){t=t||{};for(var e=[],n=[],a=t.boundIQR,i=a==="none"||a===0,o=0;o<r.length;o++){var s=Gr(r[o].slice()),l=Lg(s,.25),u=Lg(s,.5),c=Lg(s,.75),f=s[0],h=s[s.length-1],p=(a??1.5)*(c-l),v=i?f:Math.max(f,l-p),m=i?h:Math.min(h,c+p),g=t.itemNameFormatter,_=ae(g)?g({value:o}):K(g)?g.replace("{value}",o+""):o+"";e.push([_,v,l,u,c,m]);for(var y=0;y<s.length;y++){var w=s[y];if(w<v||w>m){var x=[_,w];n.push(x)}}}return{boxData:e,outliers:n}}var hfe={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Xt){var n="";process.env.NODE_ENV!=="production"&&(n=or("source data is not applicable for this boxplot transform. Expect number[][].")),Ge(n)}var a=ffe(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:a.boxData},{data:a.outliers}]}};function pfe(r){r.registerSeriesModel(uD),r.registerChartView(nfe),r.registerLayout(sfe),r.registerTransform(hfe)}var dfe=["itemStyle","borderColor"],vfe=["itemStyle","borderColor0"],gfe=["itemStyle","borderColorDoji"],mfe=["itemStyle","color"],_fe=["itemStyle","color0"];function T_(r,t){return t.get(r>0?mfe:_fe)}function D_(r,t){return t.get(r===0?gfe:r>0?dfe:vfe)}var yfe={seriesType:"candlestick",plan:ul(),performRawSeries:!0,reset:function(r,t){if(!t.isSeriesFiltered(r)){var e=r.pipelineContext.large;return!e&&{progress:function(n,a){for(var i;(i=n.next())!=null;){var o=a.getItemModel(i),s=a.getItemLayout(i).sign,l=o.getItemStyle();l.fill=T_(s,o),l.stroke=D_(s,o)||l.fill;var u=a.ensureUniqueItemVisual(i,"style");G(u,l)}}}}}},wfe=["color","borderColor"],xfe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(e),this._isLargeDraw?this._renderLarge(e):this._renderNormal(e)},t.prototype.incrementalPrepareRender=function(e,n,a){this._clear(),this._updateDrawMode(e)},t.prototype.incrementalRender=function(e,n,a,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(e,n):this._incrementalRenderNormal(e,n)},t.prototype.eachRendered=function(e){ii(this._progressiveEls||this.group,e)},t.prototype._updateDrawMode=function(e){var n=e.pipelineContext.large;(this._isLargeDraw==null||n!==this._isLargeDraw)&&(this._isLargeDraw=n,this._clear())},t.prototype._renderNormal=function(e){var n=e.getData(),a=this._data,i=this.group,o=n.getLayout("isSimpleBox"),s=e.get("clip",!0),l=e.coordinateSystem,u=l.getArea&&l.getArea();this._data||i.removeAll(),n.diff(a).add(function(c){if(n.hasValue(c)){var f=n.getItemLayout(c);if(s&&hD(u,f))return;var h=A_(f,c,!0);tt(h,{shape:{points:f.ends}},e,c),M_(h,n,c,o),i.add(h),n.setItemGraphicEl(c,h)}}).update(function(c,f){var h=a.getItemGraphicEl(f);if(!n.hasValue(c)){i.remove(h);return}var p=n.getItemLayout(c);if(s&&hD(u,p)){i.remove(h);return}h?(Oe(h,{shape:{points:p.ends}},e,c),yn(h)):h=A_(p),M_(h,n,c,o),i.add(h),n.setItemGraphicEl(c,h)}).remove(function(c){var f=a.getItemGraphicEl(c);f&&i.remove(f)}).execute(),this._data=n},t.prototype._renderLarge=function(e){this._clear(),pD(e,this.group);var n=e.get("clip",!0)?kc(e.coordinateSystem,!1,e):null;n?this.group.setClipPath(n):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(e,n){for(var a=n.getData(),i=a.getLayout("isSimpleBox"),o;(o=e.next())!=null;){var s=a.getItemLayout(o),l=A_(s);M_(l,a,o,i),l.incremental=!0,this.group.add(l),this._progressiveEls.push(l)}},t.prototype._incrementalRenderLarge=function(e,n){pD(n,this.group,this._progressiveEls,!0)},t.prototype.remove=function(e){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(Xe),bfe=function(){function r(){}return r}(),Sfe=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="normalCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new bfe},t.prototype.buildPath=function(e,n){var a=n.points;this.__simpleBox?(e.moveTo(a[4][0],a[4][1]),e.lineTo(a[6][0],a[6][1])):(e.moveTo(a[0][0],a[0][1]),e.lineTo(a[1][0],a[1][1]),e.lineTo(a[2][0],a[2][1]),e.lineTo(a[3][0],a[3][1]),e.closePath(),e.moveTo(a[4][0],a[4][1]),e.lineTo(a[5][0],a[5][1]),e.moveTo(a[6][0],a[6][1]),e.lineTo(a[7][0],a[7][1]))},t}(Te);function A_(r,t,e){var n=r.ends;return new Sfe({shape:{points:e?Cfe(n,r):n},z2:100})}function hD(r,t){for(var e=!0,n=0;n<t.ends.length;n++)if(r.contain(t.ends[n][0],t.ends[n][1])){e=!1;break}return e}function M_(r,t,e,n){var a=t.getItemModel(e);r.useStyle(t.getItemVisual(e,"style")),r.style.strokeNoScale=!0,r.__simpleBox=n,zt(r,a);var i=t.getItemLayout(e).sign;M(r.states,function(s,l){var u=a.getModel(l),c=T_(i,u),f=D_(i,u)||c,h=s.style||(s.style={});c&&(h.fill=c),f&&(h.stroke=f)});var o=a.getModel("emphasis");ot(r,o.get("focus"),o.get("blurScope"),o.get("disabled"))}function Cfe(r,t){return Y(r,function(e){return e=e.slice(),e[1]=t.initBaseline,e})}var Efe=function(){function r(){}return r}(),k_=function(r){F(t,r);function t(e){var n=r.call(this,e)||this;return n.type="largeCandlestickBox",n}return t.prototype.getDefaultShape=function(){return new Efe},t.prototype.buildPath=function(e,n){for(var a=n.points,i=0;i<a.length;)if(this.__sign===a[i++]){var o=a[i++];e.moveTo(o,a[i++]),e.lineTo(o,a[i++])}else i+=3},t}(Te);function pD(r,t,e,n){var a=r.getData(),i=a.getLayout("largePoints"),o=new k_({shape:{points:i},__sign:1,ignoreCoarsePointer:!0});t.add(o);var s=new k_({shape:{points:i},__sign:-1,ignoreCoarsePointer:!0});t.add(s);var l=new k_({shape:{points:i},__sign:0,ignoreCoarsePointer:!0});t.add(l),L_(1,o,r),L_(-1,s,r),L_(0,l,r),n&&(o.incremental=!0,s.incremental=!0),e&&e.push(o,s)}function L_(r,t,e,n){var a=D_(r,e)||T_(r,e),i=e.getModel("itemStyle").getItemStyle(wfe);t.useStyle(i),t.style.fill=null,t.style.stroke=a}var dD=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],e}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(e,n,a){var i=n.getItemLayout(e);return i&&a.rect(i.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}(Ke);gt(dD,lD,!0);function Tfe(r){!r||!U(r.series)||M(r.series,function(t){oe(t)&&t.type==="k"&&(t.type="candlestick")})}var Dfe={seriesType:"candlestick",plan:ul(),reset:function(r){var t=r.coordinateSystem,e=r.getData(),n=Afe(r,e),a=0,i=1,o=["x","y"],s=e.getDimensionIndex(e.mapDimension(o[a])),l=Y(e.mapDimensionsAll(o[i]),e.getDimensionIndex,e),u=l[0],c=l[1],f=l[2],h=l[3];if(e.setLayout({candleWidth:n,isSimpleBox:n<=1.3}),s<0||l.length<4)return;return{progress:r.pipelineContext.large?v:p};function p(m,g){for(var _,y=g.getStore();(_=m.next())!=null;){var w=y.get(s,_),x=y.get(u,_),b=y.get(c,_),S=y.get(f,_),C=y.get(h,_),D=Math.min(x,b),T=Math.max(x,b),E=V(D,w),A=V(T,w),k=V(S,w),I=V(C,w),L=[];O(L,A,0),O(L,E,1),L.push(R(I),R(A),R(k),R(E));var N=g.getItemModel(_),P=!!N.get(["itemStyle","borderColorDoji"]);g.setItemLayout(_,{sign:vD(y,_,x,b,c,P),initBaseline:x>b?A[i]:E[i],ends:L,brushRect:B(S,C,w)})}function V(z,H){var $=[];return $[a]=H,$[i]=z,isNaN(H)||isNaN(z)?[NaN,NaN]:t.dataToPoint($)}function O(z,H,$){var X=H.slice(),j=H.slice();X[a]=dp(X[a]+n/2,1,!1),j[a]=dp(j[a]-n/2,1,!0),$?z.push(X,j):z.push(j,X)}function B(z,H,$){var X=V(z,$),j=V(H,$);return X[a]-=n/2,j[a]-=n/2,{x:X[0],y:X[1],width:n,height:j[1]-X[1]}}function R(z){return z[a]=dp(z[a],1),z}}function v(m,g){for(var _=Kn(m.count*4),y=0,w,x=[],b=[],S,C=g.getStore(),D=!!r.get(["itemStyle","borderColorDoji"]);(S=m.next())!=null;){var T=C.get(s,S),E=C.get(u,S),A=C.get(c,S),k=C.get(f,S),I=C.get(h,S);if(isNaN(T)||isNaN(k)||isNaN(I)){_[y++]=NaN,y+=3;continue}_[y++]=vD(C,S,E,A,c,D),x[a]=T,x[i]=k,w=t.dataToPoint(x,null,b),_[y++]=w?w[0]:NaN,_[y++]=w?w[1]:NaN,x[i]=I,w=t.dataToPoint(x,null,b),_[y++]=w?w[1]:NaN}g.setLayout("largePoints",_)}}};function vD(r,t,e,n,a,i){var o;return e>n?o=-1:e<n?o=1:o=i?0:t>0?r.get(a,t-1)<=n?1:-1:1,o}function Afe(r,t){var e=r.getBaseAxis(),n,a=e.type==="category"?e.getBandWidth():(n=e.getExtent(),Math.abs(n[1]-n[0])/t.count()),i=Z(ve(r.get("barMaxWidth"),a),a),o=Z(ve(r.get("barMinWidth"),1),a),s=r.get("barWidth");return s!=null?Z(s,a):Math.max(Math.min(a/2,i),o)}function Mfe(r){r.registerChartView(xfe),r.registerSeriesModel(dD),r.registerPreprocessor(Tfe),r.registerVisual(yfe),r.registerLayout(Dfe)}function gD(r,t){var e=t.rippleEffectColor||t.color;r.eachChild(function(n){n.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?e:null,fill:t.brushType==="fill"?e:null}})})}var kfe=function(r){F(t,r);function t(e,n){var a=r.call(this)||this,i=new Ac(e,n),o=new de;return a.add(i),a.add(o),a.updateData(e,n),a}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(e){for(var n=e.symbolType,a=e.color,i=e.rippleNumber,o=this.childAt(1),s=0;s<i;s++){var l=xt(n,-1,-1,2,2,a);l.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var u=-s/i*e.period+e.effectOffset;l.animate("",!0).when(e.period,{scaleX:e.rippleScale/2,scaleY:e.rippleScale/2}).delay(u).start(),l.animateStyle(!0).when(e.period,{opacity:0}).delay(u).start(),o.add(l)}gD(o,e)},t.prototype.updateEffectAnimation=function(e){for(var n=this._effectCfg,a=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],o=0;o<i.length;o++){var s=i[o];if(n[s]!==e[s]){this.stopEffectAnimation(),this.startEffectAnimation(e);return}}gD(a,e)},t.prototype.highlight=function(){ba(this)},t.prototype.downplay=function(){Sa(this)},t.prototype.getSymbolType=function(){var e=this.childAt(0);return e&&e.getSymbolType()},t.prototype.updateData=function(e,n){var a=this,i=e.hostModel;this.childAt(0).updateData(e,n);var o=this.childAt(1),s=e.getItemModel(n),l=e.getItemVisual(n,"symbol"),u=hl(e.getItemVisual(n,"symbolSize")),c=e.getItemVisual(n,"style"),f=c&&c.fill,h=s.getModel("emphasis");o.setScale(u),o.traverse(function(g){g.setStyle("fill",f)});var p=No(e.getItemVisual(n,"symbolOffset"),u);p&&(o.x=p[0],o.y=p[1]);var v=e.getItemVisual(n,"symbolRotate");o.rotation=(v||0)*Math.PI/180||0;var m={};m.showEffectOn=i.get("showEffectOn"),m.rippleScale=s.get(["rippleEffect","scale"]),m.brushType=s.get(["rippleEffect","brushType"]),m.period=s.get(["rippleEffect","period"])*1e3,m.effectOffset=n/e.count(),m.z=i.getShallow("z")||0,m.zlevel=i.getShallow("zlevel")||0,m.symbolType=l,m.color=f,m.rippleEffectColor=s.get(["rippleEffect","color"]),m.rippleNumber=s.get(["rippleEffect","number"]),m.showEffectOn==="render"?(this._effectCfg?this.updateEffectAnimation(m):this.startEffectAnimation(m),this._effectCfg=m):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(g){g==="emphasis"?m.showEffectOn!=="render"&&a.startEffectAnimation(m):g==="normal"&&m.showEffectOn!=="render"&&a.stopEffectAnimation()}),this._effectCfg=m,ot(this,h.get("focus"),h.get("blurScope"),h.get("disabled"))},t.prototype.fadeOut=function(e){e&&e()},t}(de),Lfe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){this._symbolDraw=new Mc(kfe)},t.prototype.render=function(e,n,a){var i=e.getData(),o=this._symbolDraw;o.updateData(i,{clipShape:this._getClipShape(e)}),this.group.add(o.group)},t.prototype._getClipShape=function(e){var n=e.coordinateSystem,a=n&&n.getArea&&n.getArea();return e.get("clip",!0)?a:null},t.prototype.updateTransform=function(e,n,a){var i=e.getData();this.group.dirty();var o=Lc("").reset(e,n,a);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(e){var n=e.coordinateSystem;n&&n.getRoamTransform&&(this.group.transform=jZ(n.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(e,n){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(Xe),Ife=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e}return t.prototype.getInitialData=function(e,n){return Aa(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(e,n,a){return a.point(n.getItemLayout(e))},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}(Ke);function Nfe(r){r.registerChartView(Lfe),r.registerSeriesModel(Ife),r.registerLayout(Lc("effectScatter"))}var mD=function(r){F(t,r);function t(e,n,a){var i=r.call(this)||this;return i.add(i.createLine(e,n,a)),i._updateEffectSymbol(e,n),i}return t.prototype.createLine=function(e,n,a){return new e_(e,n,a)},t.prototype._updateEffectSymbol=function(e,n){var a=e.getItemModel(n),i=a.getModel("effect"),o=i.get("symbolSize"),s=i.get("symbol");U(o)||(o=[o,o]);var l=e.getItemVisual(n,"style"),u=i.get("color")||l&&l.stroke,c=this.childAt(1);this._symbolType!==s&&(this.remove(c),c=xt(s,-.5,-.5,1,1,u),c.z2=100,c.culling=!0,this.add(c)),c&&(c.setStyle("shadowColor",u),c.setStyle(i.getItemStyle(["color"])),c.scaleX=o[0],c.scaleY=o[1],c.setColor(u),this._symbolType=s,this._symbolScale=o,this._updateEffectAnimation(e,i,n))},t.prototype._updateEffectAnimation=function(e,n,a){var i=this.childAt(1);if(i){var o=e.getItemLayout(a),s=n.get("period")*1e3,l=n.get("loop"),u=n.get("roundTrip"),c=n.get("constantSpeed"),f=mt(n.get("delay"),function(p){return p/e.count()*s/3});if(i.ignore=!0,this._updateAnimationPoints(i,o),c>0&&(s=this._getLineLength(i)/c*1e3),s!==this._period||l!==this._loop||u!==this._roundTrip){i.stopAnimation();var h=void 0;ae(f)?h=f(a):h=f,i.__t>0&&(h=-s*i.__t),this._animateSymbol(i,s,h,l,u)}this._period=s,this._loop=l,this._roundTrip=u}},t.prototype._animateSymbol=function(e,n,a,i,o){if(n>0){e.__t=0;var s=this,l=e.animate("",i).when(o?n*2:n,{__t:o?2:1}).delay(a).during(function(){s._updateSymbolPosition(e)});i||l.done(function(){s.remove(e)}),l.start()}},t.prototype._getLineLength=function(e){return Ua(e.__p1,e.__cp1)+Ua(e.__cp1,e.__p2)},t.prototype._updateAnimationPoints=function(e,n){e.__p1=n[0],e.__p2=n[1],e.__cp1=n[2]||[(n[0][0]+n[1][0])/2,(n[0][1]+n[1][1])/2]},t.prototype.updateData=function(e,n,a){this.childAt(0).updateData(e,n,a),this._updateEffectSymbol(e,n)},t.prototype._updateSymbolPosition=function(e){var n=e.__p1,a=e.__p2,i=e.__cp1,o=e.__t<1?e.__t:2-e.__t,s=[e.x,e.y],l=s.slice(),u=Pt,c=J0;s[0]=u(n[0],i[0],a[0],o),s[1]=u(n[1],i[1],a[1],o);var f=e.__t<1?c(n[0],i[0],a[0],o):c(a[0],i[0],n[0],1-o),h=e.__t<1?c(n[1],i[1],a[1],o):c(a[1],i[1],n[1],1-o);e.rotation=-Math.atan2(h,f)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(e.__lastT!==void 0&&e.__lastT<e.__t?(e.scaleY=Ua(l,s)*1.05,o===1&&(s[0]=l[0]+(s[0]-l[0])/2,s[1]=l[1]+(s[1]-l[1])/2)):e.__lastT===1?e.scaleY=2*Ua(n,s):e.scaleY=this._symbolScale[1]),e.__lastT=e.__t,e.ignore=!1,e.x=s[0],e.y=s[1]},t.prototype.updateLayout=function(e,n){this.childAt(0).updateLayout(e,n);var a=e.getItemModel(n).getModel("effect");this._updateEffectAnimation(e,a,n)},t}(de),_D=function(r){F(t,r);function t(e,n,a){var i=r.call(this)||this;return i._createPolyline(e,n,a),i}return t.prototype._createPolyline=function(e,n,a){var i=e.getItemLayout(n),o=new fr({shape:{points:i}});this.add(o),this._updateCommonStl(e,n,a)},t.prototype.updateData=function(e,n,a){var i=e.hostModel,o=this.childAt(0),s={shape:{points:e.getItemLayout(n)}};Oe(o,s,i,n),this._updateCommonStl(e,n,a)},t.prototype._updateCommonStl=function(e,n,a){var i=this.childAt(0),o=e.getItemModel(n),s=a&&a.emphasisLineStyle,l=a&&a.focus,u=a&&a.blurScope,c=a&&a.emphasisDisabled;if(!a||e.hasItemOption){var f=o.getModel("emphasis");s=f.getModel("lineStyle").getLineStyle(),c=f.get("disabled"),l=f.get("focus"),u=f.get("blurScope")}i.useStyle(e.getItemVisual(n,"style")),i.style.fill=null,i.style.strokeNoScale=!0;var h=i.ensureState("emphasis");h.style=s,ot(this,l,u,c)},t.prototype.updateLayout=function(e,n){var a=this.childAt(0);a.setShape("points",e.getItemLayout(n))},t}(de),Pfe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return t.prototype.createLine=function(e,n,a){return new _D(e,n,a)},t.prototype._updateAnimationPoints=function(e,n){this._points=n;for(var a=[0],i=0,o=1;o<n.length;o++){var s=n[o-1],l=n[o];i+=Ua(s,l),a.push(i)}if(i===0){this._length=0;return}for(var o=0;o<a.length;o++)a[o]/=i;this._offsets=a,this._length=i},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(e){var n=e.__t<1?e.__t:2-e.__t,a=this._points,i=this._offsets,o=a.length;if(i){var s=this._lastFrame,l;if(n<this._lastFramePercent){var u=Math.min(s+1,o-1);for(l=u;l>=0&&!(i[l]<=n);l--);l=Math.min(l,o-2)}else{for(l=s;l<o&&!(i[l]>n);l++);l=Math.min(l-1,o-2)}var c=(n-i[l])/(i[l+1]-i[l]),f=a[l],h=a[l+1];e.x=f[0]*(1-c)+c*h[0],e.y=f[1]*(1-c)+c*h[1];var p=e.__t<1?h[0]-f[0]:f[0]-h[0],v=e.__t<1?h[1]-f[1]:f[1]-h[1];e.rotation=-Math.atan2(v,p)-Math.PI/2,this._lastFrame=l,this._lastFramePercent=n,e.ignore=!1}},t}(mD),Vfe=function(){function r(){this.polyline=!1,this.curveness=0,this.segs=[]}return r}(),Bfe=function(r){F(t,r);function t(e){var n=r.call(this,e)||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 Vfe},t.prototype.buildPath=function(e,n){var a=n.segs,i=n.curveness,o;if(n.polyline)for(o=this._off;o<a.length;){var s=a[o++];if(s>0){e.moveTo(a[o++],a[o++]);for(var l=1;l<s;l++)e.lineTo(a[o++],a[o++])}}else for(o=this._off;o<a.length;){var u=a[o++],c=a[o++],f=a[o++],h=a[o++];if(e.moveTo(u,c),i>0){var p=(u+f)/2-(c-h)*i,v=(c+h)/2-(f-u)*i;e.quadraticCurveTo(p,v,f,h)}else e.lineTo(f,h)}this.incremental&&(this._off=o,this.notClear=!0)},t.prototype.findDataIndex=function(e,n){var a=this.shape,i=a.segs,o=a.curveness,s=this.style.lineWidth;if(a.polyline)for(var l=0,u=0;u<i.length;){var c=i[u++];if(c>0)for(var f=i[u++],h=i[u++],p=1;p<c;p++){var v=i[u++],m=i[u++];if(ti(f,h,v,m,s,e,n))return l}l++}else for(var l=0,u=0;u<i.length;){var f=i[u++],h=i[u++],v=i[u++],m=i[u++];if(o>0){var g=(f+v)/2-(h-m)*o,_=(h+m)/2-(v-f)*o;if($w(f,h,g,_,v,m,s,e,n))return l}else if(ti(f,h,v,m,s,e,n))return l;l++}return-1},t.prototype.contain=function(e,n){var a=this.transformCoordToLocal(e,n),i=this.getBoundingRect();if(e=a[0],n=a[1],i.contain(e,n)){var o=this.hoverDataIdx=this.findDataIndex(e,n);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var e=this._rect;if(!e){for(var n=this.shape,a=n.segs,i=1/0,o=1/0,s=-1/0,l=-1/0,u=0;u<a.length;){var c=a[u++],f=a[u++];i=Math.min(c,i),s=Math.max(c,s),o=Math.min(f,o),l=Math.max(f,l)}e=this._rect=new we(i,o,s,l)}return e},t}(Te),Ofe=function(){function r(){this.group=new de}return r.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},r.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},r.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],a=e.getLayout("linesPoints"),i=n&&n.shape.segs;if(i&&i.length<2e4){var o=i.length,s=new Float32Array(o+a.length);s.set(i),s.set(a,o),n.setShape({segs:s})}else{this._newAdded=[];var l=this._create();l.incremental=!0,l.setShape({segs:a}),this._setCommon(l,e),l.__startIndex=t.start}},r.prototype.remove=function(){this._clear()},r.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},r.prototype._create=function(){var t=new Bfe({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},r.prototype._setCommon=function(t,e,n){var a=e.hostModel;t.setShape({polyline:a.get("polyline"),curveness:a.get(["lineStyle","curveness"])}),t.useStyle(a.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("style");i&&i.stroke&&t.setStyle("stroke",i.stroke),t.setStyle("fill",null);var o=ge(t);o.seriesIndex=a.seriesIndex,t.on("mousemove",function(s){o.dataIndex=null;var l=t.hoverDataIdx;l>0&&(o.dataIndex=l+t.__startIndex)})},r.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},r}(),yD={seriesType:"lines",plan:ul(),reset:function(r){var t=r.coordinateSystem;if(!t){process.env.NODE_ENV!=="production"&&Rt("The lines series must have a coordinate system.");return}var e=r.get("polyline"),n=r.pipelineContext.large;return{progress:function(a,i){var o=[];if(n){var s=void 0,l=a.end-a.start;if(e){for(var u=0,c=a.start;c<a.end;c++)u+=r.getLineCoordsCount(c);s=new Float32Array(l+u*2)}else s=new Float32Array(l*4);for(var f=0,h=[],c=a.start;c<a.end;c++){var p=r.getLineCoords(c,o);e&&(s[f++]=p);for(var v=0;v<p;v++)h=t.dataToPoint(o[v],!1,h),s[f++]=h[0],s[f++]=h[1]}i.setLayout("linesPoints",s)}else for(var c=a.start;c<a.end;c++){var m=i.getItemModel(c),p=r.getLineCoords(c,o),g=[];if(e)for(var _=0;_<p;_++)g.push(t.dataToPoint(o[_]));else{g[0]=t.dataToPoint(o[0]),g[1]=t.dataToPoint(o[1]);var y=m.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])}i.setItemLayout(c,g)}}}}},Rfe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=e.getData(),o=this._updateLineDraw(i,e),s=e.get("zlevel"),l=e.get(["effect","trailLength"]),u=a.getZr(),c=u.painter.getType()==="svg";c||u.painter.getLayer(s).clear(!0),this._lastZlevel!=null&&!c&&u.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(e)&&l>0&&(c?process.env.NODE_ENV!=="production"&&console.warn("SVG render mode doesn't support lines with trail effect"):u.configLayer(s,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(l/10+.9,1),0)})),o.updateData(i);var f=e.get("clip",!0)&&kc(e.coordinateSystem,!1,e);f?this.group.setClipPath(f):this.group.removeClipPath(),this._lastZlevel=s,this._finished=!0},t.prototype.incrementalPrepareRender=function(e,n,a){var i=e.getData(),o=this._updateLineDraw(i,e);o.incrementalPrepareUpdate(i),this._clearLayer(a),this._finished=!1},t.prototype.incrementalRender=function(e,n,a){this._lineDraw.incrementalUpdate(e,n.getData()),this._finished=e.end===n.getData().count()},t.prototype.eachRendered=function(e){this._lineDraw&&this._lineDraw.eachRendered(e)},t.prototype.updateTransform=function(e,n,a){var i=e.getData(),o=e.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var s=yD.reset(e,n,a);s.progress&&s.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(a)},t.prototype._updateLineDraw=function(e,n){var a=this._lineDraw,i=this._showEffect(n),o=!!n.get("polyline"),s=n.pipelineContext,l=s.large;return process.env.NODE_ENV!=="production"&&i&&l&&console.warn("Large lines not support effect"),(!a||i!==this._hasEffet||o!==this._isPolyline||l!==this._isLargeDraw)&&(a&&a.remove(),a=this._lineDraw=l?new Ofe:new t_(o?i?Pfe:_D:i?mD:e_),this._hasEffet=i,this._isPolyline=o,this._isLargeDraw=l),this.group.add(a.group),a},t.prototype._showEffect=function(e){return!!e.get(["effect","show"])},t.prototype._clearLayer=function(e){var n=e.getZr(),a=n.painter.getType()==="svg";!a&&this._lastZlevel!=null&&n.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(e,n){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(n)},t.prototype.dispose=function(e,n){this.remove(e,n)},t.type="lines",t}(Xe),zfe=typeof Uint32Array>"u"?Array:Uint32Array,Hfe=typeof Float64Array>"u"?Array:Float64Array;function wD(r){var t=r.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]] }"),r.data=Y(t,function(e){var n=[e[0].coord,e[1].coord],a={coords:n};return e[0].name&&(a.fromName=e[0].name),e[1].name&&(a.toName=e[1].name),L0([a,e[0],e[1]])}))}var Ffe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.visualStyleAccessPath="lineStyle",e.visualDrawType="stroke",e}return t.prototype.init=function(e){e.data=e.data||[],wD(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),r.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(e){if(wD(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}r.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(e){var n=this._processFlatCoordsArray(e.data);n.flatCoords&&(this._flatCoords?(this._flatCoords=pu(this._flatCoords,n.flatCoords),this._flatCoordsOffset=pu(this._flatCoordsOffset,n.flatCoordsOffset)):(this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset),e.data=new Float32Array(n.count)),this.getRawData().appendData(e.data)},t.prototype._getCoordsFromItemModel=function(e){var n=this.getData().getItemModel(e),a=n.option instanceof Array?n.option:n.getShallow("coords");if(process.env.NODE_ENV!=="production"&&!(a instanceof Array&&a.length>0&&a[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(a)+". Lines must have 2d coords array in data item.");return a},t.prototype.getLineCoordsCount=function(e){return this._flatCoordsOffset?this._flatCoordsOffset[e*2+1]:this._getCoordsFromItemModel(e).length},t.prototype.getLineCoords=function(e,n){if(this._flatCoordsOffset){for(var a=this._flatCoordsOffset[e*2],i=this._flatCoordsOffset[e*2+1],o=0;o<i;o++)n[o]=n[o]||[],n[o][0]=this._flatCoords[a+o*2],n[o][1]=this._flatCoords[a+o*2+1];return i}else{for(var s=this._getCoordsFromItemModel(e),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(e){var n=0;if(this._flatCoords&&(n=this._flatCoords.length),Be(e[0])){for(var a=e.length,i=new zfe(a),o=new Hfe(a),s=0,l=0,u=0,c=0;c<a;){u++;var f=e[c++];i[l++]=s+n,i[l++]=f;for(var h=0;h<f;h++){var p=e[c++],v=e[c++];if(o[s++]=p,o[s++]=v,c>a&&process.env.NODE_ENV!=="production")throw new Error("Invalid data format.")}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,l),flatCoords:o,count:u}}return{flatCoordsOffset:null,flatCoords:null,count:e.length}},t.prototype.getInitialData=function(e,n){if(process.env.NODE_ENV!=="production"){var a=il.get(e.coordinateSystem);if(!a)throw new Error("Unknown coordinate system "+e.coordinateSystem)}var i=new hr(["value"],this);return i.hasItemOption=!1,i.initData(e.data,[],function(o,s,l,u){if(o instanceof Array)return NaN;i.hasItemOption=!0;var c=o.value;if(c!=null)return c instanceof Array?c[u]:c}),i},t.prototype.formatTooltip=function(e,n,a){var i=this.getData(),o=i.getItemModel(e),s=o.get("name");if(s)return s;var l=o.get("fromName"),u=o.get("toName"),c=[];return l!=null&&c.push(l),u!=null&&c.push(u),Mt("nameValue",{name:c.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var e=this.option.progressive;return e??(this.option.large?1e4:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var e=this.option.progressiveThreshold;return e??(this.option.large?2e4:this.get("progressiveThreshold"))},t.prototype.getZLevelKey=function(){var e=this.getModel("effect"),n=e.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:e.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}(Ke);function Hd(r){return r instanceof Array||(r=[r,r]),r}var Gfe={seriesType:"lines",reset:function(r){var t=Hd(r.get("symbol")),e=Hd(r.get("symbolSize")),n=r.getData();n.setVisual("fromSymbol",t&&t[0]),n.setVisual("toSymbol",t&&t[1]),n.setVisual("fromSymbolSize",e&&e[0]),n.setVisual("toSymbolSize",e&&e[1]);function a(i,o){var s=i.getItemModel(o),l=Hd(s.getShallow("symbol",!0)),u=Hd(s.getShallow("symbolSize",!0));l[0]&&i.setItemVisual(o,"fromSymbol",l[0]),l[1]&&i.setItemVisual(o,"toSymbol",l[1]),u[0]&&i.setItemVisual(o,"fromSymbolSize",u[0]),u[1]&&i.setItemVisual(o,"toSymbolSize",u[1])}return{dataEach:n.hasItemOption?a:null}}};function $fe(r){r.registerChartView(Rfe),r.registerSeriesModel(Ffe),r.registerLayout(yD),r.registerVisual(Gfe)}var Wfe=256,Ufe=function(){function r(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Wa.createCanvas();this.canvas=t}return r.prototype.update=function(t,e,n,a,i,o){var s=this._getBrush(),l=this._getGradient(i,"inRange"),u=this._getGradient(i,"outOfRange"),c=this.pointSize+this.blurSize,f=this.canvas,h=f.getContext("2d"),p=t.length;f.width=e,f.height=n;for(var v=0;v<p;++v){var m=t[v],g=m[0],_=m[1],y=m[2],w=a(y);h.globalAlpha=w,h.drawImage(s,g-c,_-c)}if(!f.width||!f.height)return f;for(var x=h.getImageData(0,0,f.width,f.height),b=x.data,S=0,C=b.length,D=this.minOpacity,T=this.maxOpacity,E=T-D;S<C;){var w=b[S+3]/256,A=Math.floor(w*(Wfe-1))*4;if(w>0){var k=o(w)?l:u;w>0&&(w=w*E+D),b[S++]=k[A],b[S++]=k[A+1],b[S++]=k[A+2],b[S++]=k[A+3]*w*256}else S+=4}return h.putImageData(x,0,0),f},r.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Wa.createCanvas()),e=this.pointSize+this.blurSize,n=e*2;t.width=n,t.height=n;var a=t.getContext("2d");return a.clearRect(0,0,n,n),a.shadowOffsetX=n,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-e,e,this.pointSize,0,Math.PI*2,!0),a.closePath(),a.fill(),t},r.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,a=n[e]||(n[e]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],o=0,s=0;s<256;s++)t[e](s/255,!0,i),a[o++]=i[0],a[o++]=i[1],a[o++]=i[2],a[o++]=i[3];return a},r}();function Yfe(r,t,e){var n=r[1]-r[0];t=Y(t,function(o){return{interval:[(o.interval[0]-r[0])/n,(o.interval[1]-r[0])/n]}});var a=t.length,i=0;return function(o){var s;for(s=i;s<a;s++){var l=t[s].interval;if(l[0]<=o&&o<=l[1]){i=s;break}}if(s===a)for(s=i-1;s>=0;s--){var l=t[s].interval;if(l[0]<=o&&o<=l[1]){i=s;break}}return s>=0&&s<a&&e[s]}}function jfe(r,t){var e=r[1]-r[0];return t=[(t[0]-r[0])/e,(t[1]-r[0])/e],function(n){return n>=t[0]&&n<=t[1]}}function xD(r){var t=r.dimensions;return t[0]==="lng"&&t[1]==="lat"}var Xfe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i;if(n.eachComponent("visualMap",function(s){s.eachTargetSeries(function(l){l===e&&(i=s)})}),process.env.NODE_ENV!=="production"&&!i)throw new Error("Heatmap must use with visualMap");this._progressiveEls=null,this.group.removeAll();var o=e.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(e,a,0,e.getData().count()):xD(o)&&this._renderOnGeo(o,e,i,a)},t.prototype.incrementalPrepareRender=function(e,n,a){this.group.removeAll()},t.prototype.incrementalRender=function(e,n,a,i){var o=n.coordinateSystem;o&&(xD(o)?this.render(n,a,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(n,i,e.start,e.end,!0)))},t.prototype.eachRendered=function(e){ii(this._progressiveEls||this.group,e)},t.prototype._renderOnCartesianAndCalendar=function(e,n,a,i,o){var s=e.coordinateSystem,l=Uo(s,"cartesian2d"),u,c,f,h;if(l){var p=s.getAxis("x"),v=s.getAxis("y");if(process.env.NODE_ENV!=="production"){if(!(p.type==="category"&&v.type==="category"))throw new Error("Heatmap on cartesian must have two category axes");if(!(p.onBand&&v.onBand))throw new Error("Heatmap on cartesian must have two axes with boundaryGap true")}u=p.getBandWidth()+.5,c=v.getBandWidth()+.5,f=p.scale.getExtent(),h=v.scale.getExtent()}for(var m=this.group,g=e.getData(),_=e.getModel(["emphasis","itemStyle"]).getItemStyle(),y=e.getModel(["blur","itemStyle"]).getItemStyle(),w=e.getModel(["select","itemStyle"]).getItemStyle(),x=e.get(["itemStyle","borderRadius"]),b=At(e),S=e.getModel("emphasis"),C=S.get("focus"),D=S.get("blurScope"),T=S.get("disabled"),E=l?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],A=a;A<i;A++){var k=void 0,I=g.getItemVisual(A,"style");if(l){var L=g.get(E[0],A),N=g.get(E[1],A);if(isNaN(g.get(E[2],A))||isNaN(L)||isNaN(N)||L<f[0]||L>f[1]||N<h[0]||N>h[1])continue;var P=s.dataToPoint([L,N]);k=new Pe({shape:{x:P[0]-u/2,y:P[1]-c/2,width:u,height:c},style:I})}else{if(isNaN(g.get(E[1],A)))continue;k=new Pe({z2:1,shape:s.dataToRect([g.get(E[0],A)]).contentShape,style:I})}if(g.hasItemOption){var V=g.getItemModel(A),O=V.getModel("emphasis");_=O.getModel("itemStyle").getItemStyle(),y=V.getModel(["blur","itemStyle"]).getItemStyle(),w=V.getModel(["select","itemStyle"]).getItemStyle(),x=V.get(["itemStyle","borderRadius"]),C=O.get("focus"),D=O.get("blurScope"),T=O.get("disabled"),b=At(V)}k.shape.r=x;var B=e.getRawValue(A),R="-";B&&B[2]!=null&&(R=B[2]+""),Ht(k,b,{labelFetcher:e,labelDataIndex:A,defaultOpacity:I.opacity,defaultText:R}),k.ensureState("emphasis").style=_,k.ensureState("blur").style=y,k.ensureState("select").style=w,ot(k,C,D,T),k.incremental=o,o&&(k.states.emphasis.hoverLayer=!0),m.add(k),g.setItemGraphicEl(A,k),this._progressiveEls&&this._progressiveEls.push(k)}},t.prototype._renderOnGeo=function(e,n,a,i){var o=a.targetVisuals.inRange,s=a.targetVisuals.outOfRange,l=n.getData(),u=this._hmLayer||this._hmLayer||new Ufe;u.blurSize=n.get("blurSize"),u.pointSize=n.get("pointSize"),u.minOpacity=n.get("minOpacity"),u.maxOpacity=n.get("maxOpacity");var c=e.getViewRect().clone(),f=e.getRoamTransform();c.applyTransform(f);var h=Math.max(c.x,0),p=Math.max(c.y,0),v=Math.min(c.width+c.x,i.getWidth()),m=Math.min(c.height+c.y,i.getHeight()),g=v-h,_=m-p,y=[l.mapDimension("lng"),l.mapDimension("lat"),l.mapDimension("value")],w=l.mapArray(y,function(C,D,T){var E=e.dataToPoint([C,D]);return E[0]-=h,E[1]-=p,E.push(T),E}),x=a.getExtent(),b=a.type==="visualMap.continuous"?jfe(x,a.option.range):Yfe(x,a.getPieceList(),a.option.selected);u.update(w,g,_,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:s.color.getColorMapper()},b);var S=new Vt({style:{width:g,height:_,x:h,y:p,image:u.canvas},silent:!0});this.group.add(S)},t.type="heatmap",t}(Xe),qfe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.getInitialData=function(e,n){return Aa(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var e=il.get(this.get("coordinateSystem"));if(e&&e.dimensions)return e.dimensions[0]==="lng"&&e.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}(Ke);function Zfe(r){r.registerChartView(Xfe),r.registerSeriesModel(qfe)}var Kfe=["itemStyle","borderWidth"],bD=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],I_=new Ca,Jfe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=this.group,o=e.getData(),s=this._data,l=e.coordinateSystem,u=l.getBaseAxis(),c=u.isHorizontal(),f=l.master.getRect(),h={ecSize:{width:a.getWidth(),height:a.getHeight()},seriesModel:e,coordSys:l,coordSysExtent:[[f.x,f.x+f.width],[f.y,f.y+f.height]],isHorizontal:c,valueDim:bD[+c],categoryDim:bD[1-+c]};o.diff(s).add(function(v){if(o.hasValue(v)){var m=MD(o,v),g=SD(o,v,m,h),_=kD(o,h,g);o.setItemGraphicEl(v,_),i.add(_),ND(_,h,g)}}).update(function(v,m){var g=s.getItemGraphicEl(m);if(!o.hasValue(v)){i.remove(g);return}var _=MD(o,v),y=SD(o,v,_,h),w=ID(o,y);g&&w!==g.__pictorialShapeStr&&(i.remove(g),o.setItemGraphicEl(v,null),g=null),g?ihe(g,h,y):g=kD(o,h,y,!0),o.setItemGraphicEl(v,g),g.__pictorialSymbolMeta=y,i.add(g),ND(g,h,y)}).remove(function(v){var m=s.getItemGraphicEl(v);m&&LD(s,v,m.__pictorialSymbolMeta.animationModel,m)}).execute();var p=e.get("clip",!0)?kc(e.coordinateSystem,!1,e):null;return p?i.setClipPath(p):i.removeClipPath(),this._data=o,this.group},t.prototype.remove=function(e,n){var a=this.group,i=this._data;e.get("animation")?i&&i.eachItemGraphicEl(function(o){LD(i,ge(o).dataIndex,e,o)}):a.removeAll()},t.type="pictorialBar",t}(Xe);function SD(r,t,e,n){var a=r.getItemLayout(t),i=e.get("symbolRepeat"),o=e.get("symbolClip"),s=e.get("symbolPosition")||"start",l=e.get("symbolRotate"),u=(l||0)*Math.PI/180||0,c=e.get("symbolPatternSize")||2,f=e.isAnimationEnabled(),h={dataIndex:t,layout:a,itemModel:e,symbolType:r.getItemVisual(t,"symbol")||"circle",style:r.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:i,symbolRepeatDirection:e.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:f?e:null,hoverScale:f&&e.get(["emphasis","scale"]),z2:e.getShallow("z",!0)||0};Qfe(e,i,a,n,h),ehe(r,t,a,i,o,h.boundingLength,h.pxSign,c,n,h),the(e,h.symbolScale,u,n,h);var p=h.symbolSize,v=No(e.get("symbolOffset"),p);return rhe(e,p,a,i,o,v,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,n,h),h}function Qfe(r,t,e,n,a){var i=n.valueDim,o=r.get("symbolBoundingData"),s=n.coordSys.getOtherAxis(n.coordSys.getBaseAxis()),l=s.toGlobalCoord(s.dataToCoord(0)),u=1-+(e[i.wh]<=0),c;if(U(o)){var f=[N_(s,o[0])-l,N_(s,o[1])-l];f[1]<f[0]&&f.reverse(),c=f[u]}else o!=null?c=N_(s,o)-l:t?c=n.coordSysExtent[i.index][u]-l:c=e[i.wh];a.boundingLength=c,t&&(a.repeatCutLength=e[i.wh]);var h=i.xy==="x",p=s.inverse;a.pxSign=h&&!p||!h&&p?c>=0?1:-1:c>0?1:-1}function N_(r,t){return r.toGlobalCoord(r.dataToCoord(r.scale.parse(t)))}function ehe(r,t,e,n,a,i,o,s,l,u){var c=l.valueDim,f=l.categoryDim,h=Math.abs(e[f.wh]),p=r.getItemVisual(t,"symbolSize"),v;U(p)?v=p.slice():p==null?v=["100%","100%"]:v=[p,p],v[f.index]=Z(v[f.index],h),v[c.index]=Z(v[c.index],n?h:Math.abs(i)),u.symbolSize=v;var m=u.symbolScale=[v[0]/s,v[1]/s];m[c.index]*=(l.isHorizontal?-1:1)*o}function the(r,t,e,n,a){var i=r.get(Kfe)||0;i&&(I_.attr({scaleX:t[0],scaleY:t[1],rotation:e}),I_.updateTransform(),i/=I_.getLineScale(),i*=t[n.valueDim.index]),a.valueLineWidth=i||0}function rhe(r,t,e,n,a,i,o,s,l,u,c,f){var h=c.categoryDim,p=c.valueDim,v=f.pxSign,m=Math.max(t[p.index]+s,0),g=m;if(n){var _=Math.abs(l),y=mt(r.get("symbolMargin"),"15%")+"",w=!1;y.lastIndexOf("!")===y.length-1&&(w=!0,y=y.slice(0,y.length-1));var x=Z(y,t[p.index]),b=Math.max(m+x*2,0),S=w?0:x*2,C=Ig(n),D=C?n:PD((_+S)/b),T=_-D*m;x=T/2/(w?D:Math.max(D-1,1)),b=m+x*2,S=w?0:x*2,!C&&n!=="fixed"&&(D=u?PD((Math.abs(u)+S)/b):0),g=D*b-S,f.repeatTimes=D,f.symbolMargin=x}var E=v*(g/2),A=f.pathPosition=[];A[h.index]=e[h.wh]/2,A[p.index]=o==="start"?E:o==="end"?l-E:l/2,i&&(A[0]+=i[0],A[1]+=i[1]);var k=f.bundlePosition=[];k[h.index]=e[h.xy],k[p.index]=e[p.xy];var I=f.barRectShape=G({},e);I[p.wh]=v*Math.max(Math.abs(e[p.wh]),Math.abs(A[p.index]+E)),I[h.wh]=e[h.wh];var L=f.clipShape={};L[h.xy]=-e[h.xy],L[h.wh]=c.ecSize[h.wh],L[p.xy]=0,L[p.wh]=e[p.wh]}function CD(r){var t=r.symbolPatternSize,e=xt(r.symbolType,-t/2,-t/2,t,t);return e.attr({culling:!0}),e.type!=="image"&&e.setStyle({strokeNoScale:!0}),e}function ED(r,t,e,n){var a=r.__pictorialBundle,i=e.symbolSize,o=e.valueLineWidth,s=e.pathPosition,l=t.valueDim,u=e.repeatTimes||0,c=0,f=i[t.valueDim.index]+o+e.symbolMargin*2;for(P_(r,function(m){m.__pictorialAnimationIndex=c,m.__pictorialRepeatTimes=u,c<u?kl(m,null,v(c),e,n):kl(m,null,{scaleX:0,scaleY:0},e,n,function(){a.remove(m)}),c++});c<u;c++){var h=CD(e);h.__pictorialAnimationIndex=c,h.__pictorialRepeatTimes=u,a.add(h);var p=v(c);kl(h,{x:p.x,y:p.y,scaleX:0,scaleY:0},{scaleX:p.scaleX,scaleY:p.scaleY,rotation:p.rotation},e,n)}function v(m){var g=s.slice(),_=e.pxSign,y=m;return(e.symbolRepeatDirection==="start"?_>0:_<0)&&(y=u-1-m),g[l.index]=f*(y-u/2+.5)+s[l.index],{x:g[0],y:g[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation}}}function TD(r,t,e,n){var a=r.__pictorialBundle,i=r.__pictorialMainPath;i?kl(i,null,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:e.symbolScale[0],scaleY:e.symbolScale[1],rotation:e.rotation},e,n):(i=r.__pictorialMainPath=CD(e),a.add(i),kl(i,{x:e.pathPosition[0],y:e.pathPosition[1],scaleX:0,scaleY:0,rotation:e.rotation},{scaleX:e.symbolScale[0],scaleY:e.symbolScale[1]},e,n))}function DD(r,t,e){var n=G({},t.barRectShape),a=r.__pictorialBarRect;a?kl(a,null,{shape:n},t,e):(a=r.__pictorialBarRect=new Pe({z2:2,shape:n,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),a.disableMorphing=!0,r.add(a))}function AD(r,t,e,n){if(e.symbolClip){var a=r.__pictorialClipPath,i=G({},e.clipShape),o=t.valueDim,s=e.animationModel,l=e.dataIndex;if(a)Oe(a,{shape:i},s,l);else{i[o.wh]=0,a=new Pe({shape:i}),r.__pictorialBundle.setClipPath(a),r.__pictorialClipPath=a;var u={};u[o.wh]=e.clipShape[o.wh],Eo[n?"updateProps":"initProps"](a,{shape:u},s,l)}}}function MD(r,t){var e=r.getItemModel(t);return e.getAnimationDelayParams=nhe,e.isAnimationEnabled=ahe,e}function nhe(r){return{index:r.__pictorialAnimationIndex,count:r.__pictorialRepeatTimes}}function ahe(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function kD(r,t,e,n){var a=new de,i=new de;return a.add(i),a.__pictorialBundle=i,i.x=e.bundlePosition[0],i.y=e.bundlePosition[1],e.symbolRepeat?ED(a,t,e):TD(a,t,e),DD(a,e,n),AD(a,t,e,n),a.__pictorialShapeStr=ID(r,e),a.__pictorialSymbolMeta=e,a}function ihe(r,t,e){var n=e.animationModel,a=e.dataIndex,i=r.__pictorialBundle;Oe(i,{x:e.bundlePosition[0],y:e.bundlePosition[1]},n,a),e.symbolRepeat?ED(r,t,e,!0):TD(r,t,e,!0),DD(r,e,!0),AD(r,t,e,!0)}function LD(r,t,e,n){var a=n.__pictorialBarRect;a&&a.removeTextContent();var i=[];P_(n,function(o){i.push(o)}),n.__pictorialMainPath&&i.push(n.__pictorialMainPath),n.__pictorialClipPath&&(e=null),M(i,function(o){ai(o,{scaleX:0,scaleY:0},e,t,function(){n.parent&&n.parent.remove(n)})}),r.setItemGraphicEl(t,null)}function ID(r,t){return[r.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function P_(r,t,e){M(r.__pictorialBundle.children(),function(n){n!==r.__pictorialBarRect&&t.call(e,n)})}function kl(r,t,e,n,a,i){t&&r.attr(t),n.symbolClip&&!a?e&&r.attr(e):e&&Eo[a?"updateProps":"initProps"](r,e,n.animationModel,n.dataIndex,i)}function ND(r,t,e){var n=e.dataIndex,a=e.itemModel,i=a.getModel("emphasis"),o=i.getModel("itemStyle").getItemStyle(),s=a.getModel(["blur","itemStyle"]).getItemStyle(),l=a.getModel(["select","itemStyle"]).getItemStyle(),u=a.getShallow("cursor"),c=i.get("focus"),f=i.get("blurScope"),h=i.get("scale");P_(r,function(m){if(m instanceof Vt){var g=m.style;m.useStyle(G({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},e.style))}else m.useStyle(e.style);var _=m.ensureState("emphasis");_.style=o,h&&(_.scaleX=m.scaleX*1.1,_.scaleY=m.scaleY*1.1),m.ensureState("blur").style=s,m.ensureState("select").style=l,u&&(m.cursor=u),m.z2=e.z2});var p=t.valueDim.posDesc[+(e.boundingLength>0)],v=r.__pictorialBarRect;v.ignoreClip=!0,Ht(v,At(a),{labelFetcher:t.seriesModel,labelDataIndex:n,defaultText:xl(t.seriesModel.getData(),n),inheritColor:e.style.fill,defaultOpacity:e.style.opacity,defaultOutsidePosition:p}),ot(r,c,f,i.get("disabled"))}function PD(r){var t=Math.round(r);return Math.abs(r-t)<1e-4?t:Math.ceil(r)}var ohe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.hasSymbolVisual=!0,e.defaultSymbol="roundRect",e}return t.prototype.getInitialData=function(e){return e.stack=null,r.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=oi(Ic.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}(Ic);function she(r){r.registerChartView(Jfe),r.registerSeriesModel(ohe),r.registerLayout(r.PRIORITY.VISUAL.LAYOUT,me(qS,"pictorialBar")),r.registerLayout(r.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,ZS("pictorialBar"))}var lhe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._layers=[],e}return t.prototype.render=function(e,n,a){var i=e.getData(),o=this,s=this.group,l=e.getLayerSeries(),u=i.getLayout("layoutInfo"),c=u.rect,f=u.boundaryGap;s.x=0,s.y=c.y+f[0];function h(g){return g.name}var p=new Da(this._layersSeries||[],l,h,h),v=[];p.add(J(m,this,"add")).update(J(m,this,"update")).remove(J(m,this,"remove")).execute();function m(g,_,y){var w=o._layers;if(g==="remove"){s.remove(w[_]);return}for(var x=[],b=[],S,C=l[_].indices,D=0;D<C.length;D++){var T=i.getItemLayout(C[D]),E=T.x,A=T.y0,k=T.y;x.push(E,A),b.push(E,A+k),S=i.getItemVisual(C[D],"style")}var I,L=i.getItemLayout(C[0]),N=e.getModel("label"),P=N.get("margin"),V=e.getModel("emphasis");if(g==="add"){var O=v[_]=new de;I=new hC({shape:{points:x,stackedOnPoints:b,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),O.add(I),s.add(O),e.isAnimationEnabled()&&I.setClipPath(uhe(I.getBoundingRect(),e,function(){I.removeClipPath()}))}else{var O=w[y];I=O.childAt(0),s.add(O),v[_]=O,Oe(I,{shape:{points:x,stackedOnPoints:b}},e),yn(I)}Ht(I,At(e),{labelDataIndex:C[D-1],defaultText:i.getName(C[D-1]),inheritColor:S.fill},{normal:{verticalAlign:"middle"}}),I.setTextConfig({position:null,local:!0});var B=I.getTextContent();B&&(B.x=L.x-P,B.y=L.y0+L.y/2),I.useStyle(S),i.setItemGraphicEl(_,I),zt(I,e),ot(I,V.get("focus"),V.get("blurScope"),V.get("disabled"))}this._layersSeries=l,this._layers=v},t.type="themeRiver",t}(Xe);function uhe(r,t,e){var n=new Pe({shape:{x:r.x-10,y:r.y-10,width:0,height:r.height+20}});return tt(n,{shape:{x:r.x-50,width:r.width+100,height:r.height+20}},t,e),n}var V_=2,che=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e){r.prototype.init.apply(this,arguments),this.legendVisualProvider=new Pc(J(this.getData,this),J(this.getRawData,this))},t.prototype.fixData=function(e){var n=e.length,a={},i=Vg(e,function(h){return a.hasOwnProperty(h[0]+"")||(a[h[0]+""]=-1),h[2]}),o=[];i.buckets.each(function(h,p){o.push({name:p,dataList:h})});for(var s=o.length,l=0;l<s;++l){for(var u=o[l].name,c=0;c<o[l].dataList.length;++c){var f=o[l].dataList[c][0]+"";a[f]=l}for(var f in a)a.hasOwnProperty(f)&&a[f]!==l&&(a[f]=l,e[n]=[f,0,u],n++)}return e},t.prototype.getInitialData=function(e,n){for(var a=this.getReferringComponents("singleAxis",yt).models[0],i=a.get("type"),o=Fe(e.data,function(v){return v[2]!==void 0}),s=this.fixData(o||[]),l=[],u=this.nameMap=ne(),c=0,f=0;f<s.length;++f)l.push(s[f][V_]),u.get(s[f][V_])||(u.set(s[f][V_],c),c++);var h=wc(s,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Zp(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,p=new hr(h,this);return p.initData(s),p},t.prototype.getLayerSeries=function(){for(var e=this.getData(),n=e.count(),a=[],i=0;i<n;++i)a[i]=i;var o=e.mapDimension("single"),s=Vg(a,function(u){return e.get("name",u)}),l=[];return s.buckets.each(function(u,c){u.sort(function(f,h){return e.get(o,f)-e.get(o,h)}),l.push({name:c,indices:u})}),l},t.prototype.getAxisTooltipData=function(e,n,a){U(e)||(e=e?[e]:[]);for(var i=this.getData(),o=this.getLayerSeries(),s=[],l=o.length,u,c=0;c<l;++c){for(var f=Number.MAX_VALUE,h=-1,p=o[c].indices.length,v=0;v<p;++v){var m=i.get(e[0],o[c].indices[v]),g=Math.abs(m-n);g<=f&&(u=m,f=g,h=o[c].indices[v])}s.push(h)}return{dataIndices:s,nestestValue:u}},t.prototype.formatTooltip=function(e,n,a){var i=this.getData(),o=i.getName(e),s=i.get(i.mapDimension("value"),e);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}(Ke);function fhe(r,t){r.eachSeriesByType("themeRiver",function(e){var n=e.getData(),a=e.coordinateSystem,i={},o=a.getRect();i.rect=o;var s=e.get("boundaryGap"),l=a.getAxis();if(i.boundaryGap=s,l.orient==="horizontal"){s[0]=Z(s[0],o.height),s[1]=Z(s[1],o.height);var u=o.height-s[0]-s[1];VD(n,e,u)}else{s[0]=Z(s[0],o.width),s[1]=Z(s[1],o.width);var c=o.width-s[0]-s[1];VD(n,e,c)}n.setLayout("layoutInfo",i)})}function VD(r,t,e){if(r.count())for(var n=t.coordinateSystem,a=t.getLayerSeries(),i=r.mapDimension("single"),o=r.mapDimension("value"),s=Y(a,function(g){return Y(g.indices,function(_){var y=n.dataToPoint(r.get(i,_));return y[1]=r.get(o,_),y})}),l=hhe(s),u=l.y0,c=e/l.max,f=a.length,h=a[0].indices.length,p,v=0;v<h;++v){p=u[v]*c,r.setItemLayout(a[0].indices[v],{layerIndex:0,x:s[0][v][0],y0:p,y:s[0][v][1]*c});for(var m=1;m<f;++m)p+=s[m-1][v][1]*c,r.setItemLayout(a[m].indices[v],{layerIndex:m,x:s[m][v][0],y0:p,y:s[m][v][1]*c})}}function hhe(r){for(var t=r.length,e=r[0].length,n=[],a=[],i=0,o=0;o<e;++o){for(var s=0,l=0;l<t;++l)s+=r[l][o][1];s>i&&(i=s),n.push(s)}for(var u=0;u<e;++u)a[u]=(i-n[u])/2;i=0;for(var c=0;c<e;++c){var f=n[c]+a[c];f>i&&(i=f)}return{y0:a,max:i}}function phe(r){r.registerChartView(lhe),r.registerSeriesModel(che),r.registerLayout(fhe),r.registerProcessor(Nc("themeRiver"))}var dhe=2,vhe=4,BD=function(r){F(t,r);function t(e,n,a,i){var o=r.call(this)||this;o.z2=dhe,o.textConfig={inside:!0},ge(o).seriesIndex=n.seriesIndex;var s=new Ve({z2:vhe,silent:e.getModel().get(["label","silent"])});return o.setTextContent(s),o.updateData(!0,e,n,a,i),o}return t.prototype.updateData=function(e,n,a,i,o){this.node=n,n.piece=this,a=a||this._seriesModel,i=i||this._ecModel;var s=this;ge(s).dataIndex=n.dataIndex;var l=n.getModel(),u=l.getModel("emphasis"),c=n.getLayout(),f=G({},c);f.label=null;var h=n.getVisual("style");h.lineJoin="bevel";var p=n.getVisual("decal");p&&(h.decal=dl(p,o));var v=Yo(l.getModel("itemStyle"),f,!0);G(f,v),M(lr,function(y){var w=s.ensureState(y),x=l.getModel([y,"itemStyle"]);w.style=x.getItemStyle();var b=Yo(x,f);b&&(w.shape=b)}),e?(s.setShape(f),s.shape.r=c.r0,tt(s,{shape:{r:c.r}},a,n.dataIndex)):(Oe(s,{shape:f},a),yn(s)),s.useStyle(h),this._updateLabel(a);var m=l.getShallow("cursor");m&&s.attr("cursor",m),this._seriesModel=a||this._seriesModel,this._ecModel=i||this._ecModel;var g=u.get("focus"),_=g==="relative"?pu(n.getAncestorsIndices(),n.getDescendantIndices()):g==="ancestor"?n.getAncestorsIndices():g==="descendant"?n.getDescendantIndices():g;ot(this,_,u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(e){var n=this,a=this.node.getModel(),i=a.getModel("label"),o=this.node.getLayout(),s=o.endAngle-o.startAngle,l=(o.startAngle+o.endAngle)/2,u=Math.cos(l),c=Math.sin(l),f=this,h=f.getTextContent(),p=this.node.dataIndex,v=i.get("minAngle")/180*Math.PI,m=i.get("show")&&!(v!=null&&Math.abs(s)<v);h.ignore=!m,M(Ru,function(_){var y=_==="normal"?a.getModel("label"):a.getModel([_,"label"]),w=_==="normal",x=w?h:h.ensureState(_),b=e.getFormattedLabel(p,_);w&&(b=b||n.node.name),x.style=Ze(y,{},null,_!=="normal",!0),b&&(x.style.text=b);var S=y.get("show");S!=null&&!w&&(x.ignore=!S);var C=g(y,"position"),D=w?f:f.states[_],T=D.style.fill;D.textConfig={outsideFill:y.get("color")==="inherit"?T:null,inside:C!=="outside"};var E,A=g(y,"distance")||0,k=g(y,"align"),I=g(y,"rotate"),L=Math.PI*.5,N=Math.PI*1.5,P=kr(I==="tangential"?Math.PI/2-l:l),V=P>L&&!Lu(P-L)&&P<N;C==="outside"?(E=o.r+A,k=V?"right":"left"):!k||k==="center"?(s===2*Math.PI&&o.r0===0?E=0:E=(o.r+o.r0)/2,k="center"):k==="left"?(E=o.r0+A,k=V?"right":"left"):k==="right"&&(E=o.r-A,k=V?"left":"right"),x.style.align=k,x.style.verticalAlign=g(y,"verticalAlign")||"middle",x.x=E*u+o.cx,x.y=E*c+o.cy;var O=0;I==="radial"?O=kr(-l)+(V?Math.PI:0):I==="tangential"?O=kr(Math.PI/2-l)+(V?Math.PI:0):Be(I)&&(O=I*Math.PI/180),x.rotation=kr(O)});function g(_,y){var w=_.get(y);return w??i.get(y)}h.dirtyStyle()},t}(ur),B_="sunburstRootToNode",OD="sunburstHighlight",ghe="sunburstUnhighlight";function mhe(r){r.registerAction({type:B_,update:"updateView"},function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},n);function n(a,i){var o=Fc(t,[B_],a);if(o){var s=a.getViewRoot();s&&(t.direction=Vm(s,o.node)?"rollUp":"drillDown"),a.resetViewRoot(o.node)}}}),r.registerAction({type:OD,update:"none"},function(t,e,n){t=G({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},a);function a(i){var o=Fc(t,[OD],i);o&&(t.dataIndex=o.node.dataIndex)}process.env.NODE_ENV!=="production"&&_t("sunburstHighlight","highlight"),n.dispatchAction(G(t,{type:"highlight"}))}),r.registerAction({type:ghe,update:"updateView"},function(t,e,n){t=G({},t),process.env.NODE_ENV!=="production"&&_t("sunburstUnhighlight","downplay"),n.dispatchAction(G(t,{type:"downplay"}))})}var _he=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a,i){var o=this;this.seriesModel=e,this.api=a,this.ecModel=n;var s=e.getData(),l=s.tree.root,u=e.getViewRoot(),c=this.group,f=e.get("renderLabelForZeroData"),h=[];u.eachNode(function(y){h.push(y)});var p=this._oldChildren||[];v(h,p),_(l,u),this._initEvents(),this._oldChildren=h;function v(y,w){if(y.length===0&&w.length===0)return;new Da(w,y,x,x).add(b).update(b).remove(me(b,null)).execute();function x(S){return S.getId()}function b(S,C){var D=S==null?null:y[S],T=C==null?null:w[C];m(D,T)}}function m(y,w){if(!f&&y&&!y.getValue()&&(y=null),y!==l&&w!==l){if(w&&w.piece)y?(w.piece.updateData(!1,y,e,n,a),s.setItemGraphicEl(y.dataIndex,w.piece)):g(w);else if(y){var x=new BD(y,e,n,a);c.add(x),s.setItemGraphicEl(y.dataIndex,x)}}}function g(y){y&&y.piece&&(c.remove(y.piece),y.piece=null)}function _(y,w){w.depth>0?(o.virtualPiece?o.virtualPiece.updateData(!1,y,e,n,a):(o.virtualPiece=new BD(y,e,n,a),c.add(o.virtualPiece)),w.piece.off("click"),o.virtualPiece.on("click",function(x){o._rootToNode(w.parentNode)})):o.virtualPiece&&(c.remove(o.virtualPiece),o.virtualPiece=null)}},t.prototype._initEvents=function(){var e=this;this.group.off("click"),this.group.on("click",function(n){var a=!1,i=e.seriesModel.getViewRoot();i.eachNode(function(o){if(!a&&o.piece&&o.piece===n.target){var s=o.getModel().get("nodeClick");if(s==="rootToNode")e._rootToNode(o);else if(s==="link"){var l=o.getModel(),u=l.get("link");if(u){var c=l.get("target",!0)||"_blank";Tp(u,c)}}a=!0}})})},t.prototype._rootToNode=function(e){e!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:B_,from:this.uid,seriesId:this.seriesModel.id,targetNode:e})},t.prototype.containPoint=function(e,n){var a=n.getData(),i=a.getItemLayout(0);if(i){var o=e[0]-i.cx,s=e[1]-i.cy,l=Math.sqrt(o*o+s*s);return l<=i.r&&l>=i.r0}},t.type="sunburst",t}(Xe),yhe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.ignoreStyleOnData=!0,e}return t.prototype.getInitialData=function(e,n){var a={name:e.name,children:e.data};RD(a);var i=this._levelModels=Y(e.levels||[],function(l){return new Ue(l,this,n)},this),o=Pm.createTree(a,this,s);function s(l){l.wrapMethod("getItemModel",function(u,c){var f=o.getNodeByDataIndex(c),h=i[f.depth];return h&&(u.parentModel=h),u})}return o.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(e){var n=r.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=Ad(a,this),n},t.prototype.getLevelModel=function(e){return this._levelModels&&this._levelModels[e.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(e){e?this._viewRoot=e:e=this._viewRoot;var n=this.getRawData().tree.root;(!e||e!==n&&!n.contains(e))&&(this._viewRoot=n)},t.prototype.enableAriaDecal=function(){qE(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}(Ke);function RD(r){var t=0;M(r.children,function(n){RD(n);var a=n.value;U(a)&&(a=a[0]),t+=a});var e=r.value;U(e)&&(e=e[0]),(e==null||isNaN(e))&&(e=t),e<0&&(e=0),U(r.value)?r.value[0]=e:r.value=e}var zD=Math.PI/180;function whe(r,t,e){t.eachSeriesByType(r,function(n){var a=n.get("center"),i=n.get("radius");U(i)||(i=[0,i]),U(a)||(a=[a,a]);var o=e.getWidth(),s=e.getHeight(),l=Math.min(o,s),u=Z(a[0],o),c=Z(a[1],s),f=Z(i[0],l/2),h=Z(i[1],l/2),p=-n.get("startAngle")*zD,v=n.get("minAngle")*zD,m=n.getData().tree.root,g=n.getViewRoot(),_=g.depth,y=n.get("sort");y!=null&&HD(g,y);var w=0;M(g.children,function(P){!isNaN(P.getValue())&&w++});var x=g.getValue(),b=Math.PI/(x||w)*2,S=g.depth>0,C=g.height-(S?-1:1),D=(h-f)/(C||1),T=n.get("clockwise"),E=n.get("stillShowZeroSum"),A=T?1:-1,k=function(P,V){if(P){var O=V;if(P!==m){var B=P.getValue(),R=x===0&&E?b:B*b;R<v&&(R=v),O=V+A*R;var z=P.depth-_-(S?-1:1),H=f+D*z,$=f+D*(z+1),X=n.getLevelModel(P);if(X){var j=X.get("r0",!0),fe=X.get("r",!0),De=X.get("radius",!0);De!=null&&(j=De[0],fe=De[1]),j!=null&&(H=Z(j,l/2)),fe!=null&&($=Z(fe,l/2))}P.setLayout({angle:R,startAngle:V,endAngle:O,clockwise:T,cx:u,cy:c,r0:H,r:$})}if(P.children&&P.children.length){var ie=0;M(P.children,function(re){ie+=k(re,V+ie)})}return O-V}};if(S){var I=f,L=f+D,N=Math.PI*2;m.setLayout({angle:N,startAngle:p,endAngle:p+N,clockwise:T,cx:u,cy:c,r0:I,r:L})}k(g,p)})}function HD(r,t){var e=r.children||[];r.children=xhe(e,t),e.length&&M(r.children,function(n){HD(n,t)})}function xhe(r,t){if(ae(t)){var e=Y(r,function(a,i){var o=a.getValue();return{params:{depth:a.depth,height:a.height,dataIndex:a.dataIndex,getValue:function(){return o}},index:i}});return e.sort(function(a,i){return t(a.params,i.params)}),Y(e,function(a){return r[a.index]})}else{var n=t==="asc";return r.sort(function(a,i){var o=(a.getValue()-i.getValue())*(n?1:-1);return o===0?(a.dataIndex-i.dataIndex)*(n?-1:1):o})}}function bhe(r){var t={};function e(n,a,i){for(var o=n;o&&o.depth>1;)o=o.parentNode;var s=a.getColorFromPalette(o.name||o.dataIndex+"",t);return n.depth>1&&K(s)&&(s=ag(s,(n.depth-1)/(i-1)*.5)),s}r.eachSeriesByType("sunburst",function(n){var a=n.getData(),i=a.tree;i.eachNode(function(o){var s=o.getModel(),l=s.getModel("itemStyle").getItemStyle();l.fill||(l.fill=e(o,n,i.root.height));var u=a.ensureUniqueItemVisual(o.dataIndex,"style");G(u,l)})})}function She(r){r.registerChartView(_he),r.registerSeriesModel(yhe),r.registerLayout(me(whe,"sunburst")),r.registerProcessor(me(Nc,"sunburst")),r.registerVisual(bhe),mhe(r)}var FD={color:"fill",borderColor:"stroke"},Che={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},Ia=Ne(),Ehe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(e,n){return Aa(null,this)},t.prototype.getDataParams=function(e,n,a){var i=r.prototype.getDataParams.call(this,e,n);return a&&(i.info=Ia(a).info),i},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(Ke);function The(r,t){return t=t||[0,0],Y(["x","y"],function(e,n){var a=this.getAxis(e),i=t[n],o=r[n]/2;return a.type==="category"?a.getBandWidth():Math.abs(a.dataToCoord(i-o)-a.dataToCoord(i+o))},this)}function Dhe(r){var t=r.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return r.dataToPoint(e)},size:J(The,r)}}}function Ahe(r,t){return t=t||[0,0],Y([0,1],function(e){var n=t[e],a=r[e]/2,i=[],o=[];return i[e]=n-a,o[e]=n+a,i[1-e]=o[1-e]=t[1-e],Math.abs(this.dataToPoint(i)[e]-this.dataToPoint(o)[e])},this)}function Mhe(r){var t=r.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:r.getZoom()},api:{coord:function(e){return r.dataToPoint(e)},size:J(Ahe,r)}}}function khe(r,t){var e=this.getAxis(),n=t instanceof Array?t[0]:t,a=(r instanceof Array?r[0]:r)/2;return e.type==="category"?e.getBandWidth():Math.abs(e.dataToCoord(n-a)-e.dataToCoord(n+a))}function Lhe(r){var t=r.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(e){return r.dataToPoint(e)},size:J(khe,r)}}}function Ihe(r,t){return t=t||[0,0],Y(["Radius","Angle"],function(e,n){var a="get"+e+"Axis",i=this[a](),o=t[n],s=r[n]/2,l=i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-s)-i.dataToCoord(o+s));return e==="Angle"&&(l=l*Math.PI/180),l},this)}function Nhe(r){var t=r.getRadiusAxis(),e=r.getAngleAxis(),n=t.getExtent();return n[0]>n[1]&&n.reverse(),{coordSys:{type:"polar",cx:r.cx,cy:r.cy,r:n[1],r0:n[0]},api:{coord:function(a){var i=t.dataToRadius(a[0]),o=e.dataToAngle(a[1]),s=r.coordToPoint([i,o]);return s.push(i,o*Math.PI/180),s},size:J(Ihe,r)}}}function Phe(r){var t=r.getRect(),e=r.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:r.getCellWidth(),cellHeight:r.getCellHeight(),rangeInfo:{start:e.start,end:e.end,weeks:e.weeks,dayCount:e.allDay}},api:{coord:function(n,a){return r.dataToPoint(n,a)}}}}var GD={};function $D(r,t,e,n){return r&&(r.legacy||r.legacy!==!1&&!e&&!n&&t!=="tspan"&&(t==="text"||ee(r,"text")))}function WD(r,t,e){var n=r,a,i,o;if(t==="text")o=n;else{o={},ee(n,"text")&&(o.text=n.text),ee(n,"rich")&&(o.rich=n.rich),ee(n,"textFill")&&(o.fill=n.textFill),ee(n,"textStroke")&&(o.stroke=n.textStroke),ee(n,"fontFamily")&&(o.fontFamily=n.fontFamily),ee(n,"fontSize")&&(o.fontSize=n.fontSize),ee(n,"fontStyle")&&(o.fontStyle=n.fontStyle),ee(n,"fontWeight")&&(o.fontWeight=n.fontWeight),i={type:"text",style:o,silent:!0},a={};var s=ee(n,"textPosition");e?a.position=s?n.textPosition:"inside":s&&(a.position=n.textPosition),ee(n,"textPosition")&&(a.position=n.textPosition),ee(n,"textOffset")&&(a.offset=n.textOffset),ee(n,"textRotation")&&(a.rotation=n.textRotation),ee(n,"textDistance")&&(a.distance=n.textDistance)}return UD(o,r),M(o.rich,function(l){UD(l,l)}),{textConfig:a,textContent:i}}function UD(r,t){t&&(t.font=t.textFont||t.font,ee(t,"textStrokeWidth")&&(r.lineWidth=t.textStrokeWidth),ee(t,"textAlign")&&(r.align=t.textAlign),ee(t,"textVerticalAlign")&&(r.verticalAlign=t.textVerticalAlign),ee(t,"textLineHeight")&&(r.lineHeight=t.textLineHeight),ee(t,"textWidth")&&(r.width=t.textWidth),ee(t,"textHeight")&&(r.height=t.textHeight),ee(t,"textBackgroundColor")&&(r.backgroundColor=t.textBackgroundColor),ee(t,"textPadding")&&(r.padding=t.textPadding),ee(t,"textBorderColor")&&(r.borderColor=t.textBorderColor),ee(t,"textBorderWidth")&&(r.borderWidth=t.textBorderWidth),ee(t,"textBorderRadius")&&(r.borderRadius=t.textBorderRadius),ee(t,"textBoxShadowColor")&&(r.shadowColor=t.textBoxShadowColor),ee(t,"textBoxShadowBlur")&&(r.shadowBlur=t.textBoxShadowBlur),ee(t,"textBoxShadowOffsetX")&&(r.shadowOffsetX=t.textBoxShadowOffsetX),ee(t,"textBoxShadowOffsetY")&&(r.shadowOffsetY=t.textBoxShadowOffsetY))}function YD(r,t,e){var n=r;n.textPosition=n.textPosition||e.position||"inside",e.offset!=null&&(n.textOffset=e.offset),e.rotation!=null&&(n.textRotation=e.rotation),e.distance!=null&&(n.textDistance=e.distance);var a=n.textPosition.indexOf("inside")>=0,i=r.fill||"#000";jD(n,t);var o=n.textFill==null;return a?o&&(n.textFill=e.insideFill||"#fff",!n.textStroke&&e.insideStroke&&(n.textStroke=e.insideStroke),!n.textStroke&&(n.textStroke=i),n.textStrokeWidth==null&&(n.textStrokeWidth=2)):(o&&(n.textFill=r.fill||e.outsideFill||"#000"),!n.textStroke&&e.outsideStroke&&(n.textStroke=e.outsideStroke)),n.text=t.text,n.rich=t.rich,M(t.rich,function(s){jD(s,s)}),n}function jD(r,t){t&&(ee(t,"fill")&&(r.textFill=t.fill),ee(t,"stroke")&&(r.textStroke=t.fill),ee(t,"lineWidth")&&(r.textStrokeWidth=t.lineWidth),ee(t,"font")&&(r.font=t.font),ee(t,"fontStyle")&&(r.fontStyle=t.fontStyle),ee(t,"fontWeight")&&(r.fontWeight=t.fontWeight),ee(t,"fontSize")&&(r.fontSize=t.fontSize),ee(t,"fontFamily")&&(r.fontFamily=t.fontFamily),ee(t,"align")&&(r.textAlign=t.align),ee(t,"verticalAlign")&&(r.textVerticalAlign=t.verticalAlign),ee(t,"lineHeight")&&(r.textLineHeight=t.lineHeight),ee(t,"width")&&(r.textWidth=t.width),ee(t,"height")&&(r.textHeight=t.height),ee(t,"backgroundColor")&&(r.textBackgroundColor=t.backgroundColor),ee(t,"padding")&&(r.textPadding=t.padding),ee(t,"borderColor")&&(r.textBorderColor=t.borderColor),ee(t,"borderWidth")&&(r.textBorderWidth=t.borderWidth),ee(t,"borderRadius")&&(r.textBorderRadius=t.borderRadius),ee(t,"shadowColor")&&(r.textBoxShadowColor=t.shadowColor),ee(t,"shadowBlur")&&(r.textBoxShadowBlur=t.shadowBlur),ee(t,"shadowOffsetX")&&(r.textBoxShadowOffsetX=t.shadowOffsetX),ee(t,"shadowOffsetY")&&(r.textBoxShadowOffsetY=t.shadowOffsetY),ee(t,"textShadowColor")&&(r.textShadowColor=t.textShadowColor),ee(t,"textShadowBlur")&&(r.textShadowBlur=t.textShadowBlur),ee(t,"textShadowOffsetX")&&(r.textShadowOffsetX=t.textShadowOffsetX),ee(t,"textShadowOffsetY")&&(r.textShadowOffsetY=t.textShadowOffsetY))}function XD(r,t){if(process.env.NODE_ENV!=="production"){var e=r+"^_^"+t;GD[e]||(console.warn('[ECharts] DEPRECATED: "'+r+'" has been deprecated. '+t),GD[e]=!0)}}var qD={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},ZD=Me(qD),Fd=Pn(Rn,function(r,t){return r[t]=1,r},{}),KD=Rn.join(", "),Gd=["","style","shape","extra"],Ll=Ne();function O_(r,t,e,n,a){var i=r+"Animation",o=js(r,n,a)||{},s=Ll(t).userDuring;return o.duration>0&&(o.during=s?J(zhe,{el:t,userDuring:s}):null,o.setToFinal=!0,o.scope=r),G(o,e[i]),o}function $d(r,t,e,n){n=n||{};var a=n.dataIndex,i=n.isInit,o=n.clearStyle,s=e.isAnimationEnabled(),l=Ll(r),u=t.style;l.userDuring=t.during;var c={},f={};if(Fhe(r,t,f),eA("shape",t,f),eA("extra",t,f),!i&&s&&(Hhe(r,t,c),QD("shape",r,t,c),QD("extra",r,t,c),Ghe(r,t,u,c)),f.style=u,Vhe(r,f,o),Ohe(r,t),s)if(i){var h={};M(Gd,function(v){var m=v?t[v]:t;m&&m.enterFrom&&(v&&(h[v]=h[v]||{}),G(v?h[v]:h,m.enterFrom))});var p=O_("enter",r,t,e,a);p.duration>0&&r.animateFrom(h,p)}else Bhe(r,t,a||0,e,c);JD(r,t),u?r.dirty():r.markRedraw()}function JD(r,t){for(var e=Ll(r).leaveToProps,n=0;n<Gd.length;n++){var a=Gd[n],i=a?t[a]:t;i&&i.leaveTo&&(e||(e=Ll(r).leaveToProps={}),a&&(e[a]=e[a]||{}),G(a?e[a]:e,i.leaveTo))}}function Wd(r,t,e,n){if(r){var a=r.parent,i=Ll(r).leaveToProps;if(i){var o=O_("update",r,t,e,0);o.done=function(){a.remove(r)},r.animateTo(i,o)}else a.remove(r)}}function rs(r){return r==="all"}function Vhe(r,t,e){var n=t.style;if(!r.isGroup&&n){if(e){r.useStyle({});for(var a=r.animators,i=0;i<a.length;i++){var o=a[i];o.targetName==="style"&&o.changeTarget(r.style)}}r.setStyle(n)}t&&(t.style=null,t&&r.attr(t),t.style=n)}function Bhe(r,t,e,n,a){if(a){var i=O_("update",r,t,n,e);i.duration>0&&r.animateFrom(a,i)}}function Ohe(r,t){ee(t,"silent")&&(r.silent=t.silent),ee(t,"ignore")&&(r.ignore=t.ignore),r instanceof $r&&ee(t,"invisible")&&(r.invisible=t.invisible),r instanceof Te&&ee(t,"autoBatch")&&(r.autoBatch=t.autoBatch)}var ta={},Rhe={setTransform:function(r,t){return process.env.NODE_ENV!=="production"&&se(ee(Fd,r),"Only "+KD+" available in `setTransform`."),ta.el[r]=t,this},getTransform:function(r){return process.env.NODE_ENV!=="production"&&se(ee(Fd,r),"Only "+KD+" available in `getTransform`."),ta.el[r]},setShape:function(r,t){process.env.NODE_ENV!=="production"&&Il(r);var e=ta.el,n=e.shape||(e.shape={});return n[r]=t,e.dirtyShape&&e.dirtyShape(),this},getShape:function(r){process.env.NODE_ENV!=="production"&&Il(r);var t=ta.el.shape;if(t)return t[r]},setStyle:function(r,t){process.env.NODE_ENV!=="production"&&Il(r);var e=ta.el,n=e.style;return n&&(process.env.NODE_ENV!=="production"&&Ui(t)&&it("style."+r+" must not be assigned with NaN."),n[r]=t,e.dirtyStyle&&e.dirtyStyle()),this},getStyle:function(r){process.env.NODE_ENV!=="production"&&Il(r);var t=ta.el.style;if(t)return t[r]},setExtra:function(r,t){process.env.NODE_ENV!=="production"&&Il(r);var e=ta.el.extra||(ta.el.extra={});return e[r]=t,this},getExtra:function(r){process.env.NODE_ENV!=="production"&&Il(r);var t=ta.el.extra;if(t)return t[r]}};function Il(r){if(process.env.NODE_ENV!=="production"&&(r==="transition"||r==="enterFrom"||r==="leaveTo"))throw new Error('key must not be "'+r+'"')}function zhe(){var r=this,t=r.el;if(t){var e=Ll(t).userDuring,n=r.userDuring;if(e!==n){r.el=r.userDuring=null;return}ta.el=t,n(Rhe)}}function QD(r,t,e,n){var a=e[r];if(a){var i=t[r],o;if(i){var s=e.transition,l=a.transition;if(l)if(!o&&(o=n[r]={}),rs(l))G(o,i);else for(var u=je(l),c=0;c<u.length;c++){var f=u[c],h=i[f];o[f]=h}else if(rs(s)||xe(s,r)>=0){!o&&(o=n[r]={});for(var p=Me(i),c=0;c<p.length;c++){var f=p[c],h=i[f];$he(a[f],h)&&(o[f]=h)}}}}}function eA(r,t,e){var n=t[r];if(n)for(var a=e[r]={},i=Me(n),o=0;o<i.length;o++){var s=i[o];a[s]=Eu(n[s])}}function Hhe(r,t,e){for(var n=t.transition,a=rs(n)?Rn:je(n||[]),i=0;i<a.length;i++){var o=a[i];if(!(o==="style"||o==="shape"||o==="extra")){var s=r[o];process.env.NODE_ENV!=="production"&&tA(o,"el.transition"),e[o]=s}}}function Fhe(r,t,e){for(var n=0;n<ZD.length;n++){var a=ZD[n],i=qD[a],o=t[a];o&&(e[i[0]]=o[0],e[i[1]]=o[1])}for(var n=0;n<Rn.length;n++){var s=Rn[n];t[s]!=null&&(e[s]=t[s])}}function Ghe(r,t,e,n){if(e){var a=r.style,i;if(a){var o=e.transition,s=t.transition;if(o&&!rs(o)){var l=je(o);!i&&(i=n.style={});for(var u=0;u<l.length;u++){var c=l[u],f=a[c];i[c]=f}}else if(r.getAnimationStyleProps&&(rs(s)||rs(o)||xe(s,"style")>=0)){var h=r.getAnimationStyleProps(),p=h?h.style:null;if(p){!i&&(i=n.style={});for(var v=Me(e),u=0;u<v.length;u++){var c=v[u];if(p[c]){var f=a[c];i[c]=f}}}}}}}function $he(r,t){return Yt(r)?r!==t:r!=null&&isFinite(r)}var tA;process.env.NODE_ENV!=="production"&&(tA=function(r,t){ee(Fd,r)||it("Prop `"+r+"` is not a permitted in `"+t+"`. Only `"+Me(Fd).join("`, `")+"` are permitted.")});var rA=Ne(),Whe=["percent","easing","shape","style","extra"];function nA(r){r.stopAnimation("keyframe"),r.attr(rA(r))}function Ud(r,t,e){if(!(!e.isAnimationEnabled()||!t)){if(U(t)){M(t,function(s){Ud(r,s,e)});return}var n=t.keyframes,a=t.duration;if(e&&a==null){var i=js("enter",e,0);a=i&&i.duration}if(!(!n||!a)){var o=rA(r);M(Gd,function(s){if(!(s&&!r[s])){var l,u=!1;n.sort(function(c,f){return c.percent-f.percent}),M(n,function(c){var f=r.animators,h=s?c[s]:c;if(process.env.NODE_ENV!=="production"&&c.percent>=1&&(u=!0),!!h){var p=Me(h);if(s||(p=Fe(p,function(g){return xe(Whe,g)<0})),!!p.length){l||(l=r.animate(s,t.loop,!0),l.scope="keyframe");for(var v=0;v<f.length;v++)f[v]!==l&&f[v].targetName===l.targetName&&f[v].stopTracks(p);s&&(o[s]=o[s]||{});var m=s?o[s]:o;M(p,function(g){m[g]=((s?r[s]:r)||{})[g]}),l.whenWithKeys(a*c.percent,h,p,c.easing)}}}),l&&(process.env.NODE_ENV!=="production"&&(u||it("End frame with percent: 1 is missing in the keyframeAnimation.",!0)),l.delay(t.delay||0).duration(a).start(t.easing))}})}}}var Na="emphasis",wi="normal",R_="blur",z_="select",xi=[wi,Na,R_,z_],H_={normal:["itemStyle"],emphasis:[Na,"itemStyle"],blur:[R_,"itemStyle"],select:[z_,"itemStyle"]},F_={normal:["label"],emphasis:[Na,"label"],blur:[R_,"label"],select:[z_,"label"]},Uhe=["x","y"],Yhe="e\0\0",tn={normal:{},emphasis:{},blur:{},select:{}},aA={cartesian2d:Dhe,geo:Mhe,single:Lhe,polar:Nhe,calendar:Phe};function Yd(r){return r instanceof Te}function G_(r){return r instanceof $r}function jhe(r,t){t.copyTransform(r),G_(t)&&G_(r)&&(t.setStyle(r.style),t.z=r.z,t.z2=r.z2,t.zlevel=r.zlevel,t.invisible=r.invisible,t.ignore=r.ignore,Yd(t)&&Yd(r)&&t.setShape(r.shape))}var Xhe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a,i){this._progressiveEls=null;var o=this._data,s=e.getData(),l=this.group,u=oA(e,s,n,a);o||l.removeAll(),s.diff(o).add(function(f){U_(a,null,f,u(f,i),e,l,s)}).remove(function(f){var h=o.getItemGraphicEl(f);h&&Wd(h,Ia(h).option,e)}).update(function(f,h){var p=o.getItemGraphicEl(h);U_(a,p,f,u(f,i),e,l,s)}).execute();var c=e.get("clip",!0)?kc(e.coordinateSystem,!1,e):null;c?l.setClipPath(c):l.removeClipPath(),this._data=s},t.prototype.incrementalPrepareRender=function(e,n,a){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(e,n,a,i,o){var s=n.getData(),l=oA(n,s,a,i),u=this._progressiveEls=[];function c(p){p.isGroup||(p.incremental=!0,p.ensureState("emphasis").hoverLayer=!0)}for(var f=e.start;f<e.end;f++){var h=U_(null,null,f,l(f,o),n,this.group,s);h&&(h.traverse(c),u.push(h))}},t.prototype.eachRendered=function(e){ii(this._progressiveEls||this.group,e)},t.prototype.filterForExposedEvent=function(e,n,a,i){var o=n.element;if(o==null||a.name===o)return!0;for(;(a=a.__hostTarget||a.parent)&&a!==this.group;)if(a.name===o)return!0;return!1},t.type="custom",t}(Xe);function $_(r){var t=r.type,e;if(t==="path"){var n=r.shape,a=n.width!=null&&n.height!=null?{x:n.x||0,y:n.y||0,width:n.width,height:n.height}:null,i=fA(n);e=pp(i,null,a,n.layout||"center"),Ia(e).customPathData=i}else if(t==="image")e=new Vt({}),Ia(e).customImagePath=r.style.image;else if(t==="text")e=new Ve({});else if(t==="group")e=new de;else{if(t==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var o=_2(t);if(!o){var s="";process.env.NODE_ENV!=="production"&&(s='graphic type "'+t+'" can not be found.'),Ge(s)}e=new o}return Ia(e).customGraphicType=t,e.name=r.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function W_(r,t,e,n,a,i,o){nA(t);var s=a&&a.normal.cfg;s&&t.setTextConfig(s),n&&n.transition==null&&(n.transition=Uhe);var l=n&&n.style;if(l){if(t.type==="text"){var u=l;ee(u,"textFill")&&(u.fill=u.textFill),ee(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,f=Yd(t)?l.decal:null;r&&f&&(f.dirty=!0,c=dl(f,r)),l.__decalPattern=c}if(G_(t)&&l){var c=l.__decalPattern;c&&(l.decal=c)}$d(t,n,i,{dataIndex:e,isInit:o,clearStyle:!0}),Ud(t,n.keyframeAnimation,i)}function iA(r,t,e,n,a){var i=t.isGroup?null:t,o=a&&a[r].cfg;if(i){var s=i.ensureState(r);if(n===!1){var l=i.getState(r);l&&(l.style=null)}else s.style=n||null;o&&(s.textConfig=o),mo(i)}}function qhe(r,t,e){if(!r.isGroup){var n=r,a=e.currentZ,i=e.currentZLevel;n.z=a,n.zlevel=i;var o=t.z2;o!=null&&(n.z2=o||0);for(var s=0;s<xi.length;s++)Zhe(n,t,xi[s])}}function Zhe(r,t,e){var n=e===wi,a=n?t:jd(t,e),i=a?a.z2:null,o;i!=null&&(o=n?r:r.ensureState(e),o.z2=i||0)}function oA(r,t,e,n){var a=r.get("renderItem"),i=r.coordinateSystem,o={};i&&(process.env.NODE_ENV!=="production"&&(se(a,"series.render is required."),se(i.prepareCustoms||aA[i.type],"This coordSys does not support custom series.")),o=i.prepareCustoms?i.prepareCustoms(i):aA[i.type](i));for(var s=ue({getWidth:n.getWidth,getHeight:n.getHeight,getZr:n.getZr,getDevicePixelRatio:n.getDevicePixelRatio,value:x,style:S,ordinalRawValue:b,styleEmphasis:C,visual:E,barLayout:A,currentSeriesIndices:k,font:I},o.api||{}),l={context:{},seriesId:r.id,seriesName:r.name,seriesIndex:r.seriesIndex,coordSys:o.coordSys,dataInsideLength:t.count(),encode:Khe(r.getData())},u,c,f={},h={},p={},v={},m=0;m<xi.length;m++){var g=xi[m];p[g]=r.getModel(H_[g]),v[g]=r.getModel(F_[g])}function _(L){return L===u?c||(c=t.getItemModel(L)):t.getItemModel(L)}function y(L,N){return t.hasItemOption?L===u?f[N]||(f[N]=_(L).getModel(H_[N])):_(L).getModel(H_[N]):p[N]}function w(L,N){return t.hasItemOption?L===u?h[N]||(h[N]=_(L).getModel(F_[N])):_(L).getModel(F_[N]):v[N]}return function(L,N){return u=L,c=null,f={},h={},a&&a(ue({dataIndexInside:L,dataIndex:t.getRawIndex(L),actionType:N?N.type:null},l),s)};function x(L,N){return N==null&&(N=u),t.getStore().get(t.getDimensionIndex(L||0),N)}function b(L,N){N==null&&(N=u),L=L||0;var P=t.getDimensionInfo(L);if(!P){var V=t.getDimensionIndex(L);return V>=0?t.getStore().get(V,N):void 0}var O=t.get(P.name,N),B=P&&P.ordinalMeta;return B?B.categories[O]:O}function S(L,N){process.env.NODE_ENV!=="production"&&XD("api.style","Please write literal style directly instead."),N==null&&(N=u);var P=t.getItemVisual(N,"style"),V=P&&P.fill,O=P&&P.opacity,B=y(N,wi).getItemStyle();V!=null&&(B.fill=V),O!=null&&(B.opacity=O);var R={inheritColor:K(V)?V:"#000"},z=w(N,wi),H=Ze(z,null,R,!1,!0);H.text=z.getShallow("show")?ve(r.getFormattedLabel(N,wi),xl(t,N)):null;var $=mp(z,R,!1);return T(L,B),B=YD(B,H,$),L&&D(B,L),B.legacy=!0,B}function C(L,N){process.env.NODE_ENV!=="production"&&XD("api.styleEmphasis","Please write literal style directly instead."),N==null&&(N=u);var P=y(N,Na).getItemStyle(),V=w(N,Na),O=Ze(V,null,null,!0,!0);O.text=V.getShallow("show")?Or(r.getFormattedLabel(N,Na),r.getFormattedLabel(N,wi),xl(t,N)):null;var B=mp(V,null,!0);return T(L,P),P=YD(P,O,B),L&&D(P,L),P.legacy=!0,P}function D(L,N){for(var P in N)ee(N,P)&&(L[P]=N[P])}function T(L,N){L&&(L.textFill&&(N.textFill=L.textFill),L.textPosition&&(N.textPosition=L.textPosition))}function E(L,N){if(N==null&&(N=u),ee(FD,L)){var P=t.getItemVisual(N,"style");return P?P[FD[L]]:null}if(ee(Che,L))return t.getItemVisual(N,L)}function A(L){if(i.type==="cartesian2d"){var N=i.getBaseAxis();return Fne(ue({axis:N},L))}}function k(){return e.getCurrentSeriesIndices()}function I(L){return x2(L,e)}}function Khe(r){var t={};return M(r.dimensions,function(e){var n=r.getDimensionInfo(e);if(!n.isExtraCoord){var a=n.coordDim,i=t[a]=t[a]||[];i[n.coordDimIndex]=r.getDimensionIndex(e)}}),t}function U_(r,t,e,n,a,i,o){if(!n){i.remove(t);return}var s=Y_(r,t,e,n,a,i);return s&&o.setItemGraphicEl(e,s),s&&ot(s,n.focus,n.blurScope,n.emphasisDisabled),s}function Y_(r,t,e,n,a,i){process.env.NODE_ENV!=="production"&&se(n,"should not have an null/undefined element setting");var o=-1,s=t;t&&sA(t,n,a)&&(o=xe(i.childrenRef(),t),t=null);var l=!t,u=t;u?u.clearStates():(u=$_(n),s&&jhe(s,u)),n.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),tn.normal.cfg=tn.normal.conOpt=tn.emphasis.cfg=tn.emphasis.conOpt=tn.blur.cfg=tn.blur.conOpt=tn.select.cfg=tn.select.conOpt=null,tn.isLegacy=!1,Qhe(u,e,n,a,l,tn),Jhe(u,e,n,a,l),W_(r,u,e,n,tn,a,l),ee(n,"info")&&(Ia(u).info=n.info);for(var c=0;c<xi.length;c++){var f=xi[c];if(f!==wi){var h=jd(n,f),p=j_(n,h,f);iA(f,u,h,p,tn)}}return qhe(u,n,a),n.type==="group"&&epe(r,u,e,n,a),o>=0?i.replaceAt(u,o):i.add(u),u}function sA(r,t,e){var n=Ia(r),a=t.type,i=t.shape,o=t.style;return e.isUniversalTransitionEnabled()||a!=null&&a!==n.customGraphicType||a==="path"&&ape(i)&&fA(i)!==n.customPathData||a==="image"&&ee(o,"image")&&o.image!==n.customImagePath}function Jhe(r,t,e,n,a){var i=e.clipPath;if(i===!1)r&&r.getClipPath()&&r.removeClipPath();else if(i){var o=r.getClipPath();o&&sA(o,i,n)&&(o=null),o||(o=$_(i),process.env.NODE_ENV!=="production"&&se(Yd(o),"Only any type of `path` can be used in `clipPath`, rather than "+o.type+"."),r.setClipPath(o)),W_(null,o,t,i,null,n,a)}}function Qhe(r,t,e,n,a,i){if(!r.isGroup){lA(e,null,i),lA(e,Na,i);var o=i.normal.conOpt,s=i.emphasis.conOpt,l=i.blur.conOpt,u=i.select.conOpt;if(o!=null||s!=null||u!=null||l!=null){var c=r.getTextContent();if(o===!1)c&&r.removeTextContent();else{o=i.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=$_(o),r.setTextContent(c)),W_(null,c,t,o,null,n,a);for(var f=o&&o.style,h=0;h<xi.length;h++){var p=xi[h];if(p!==wi){var v=i[p].conOpt;iA(p,c,v,j_(o,v,p),null)}}f?c.dirty():c.markRedraw()}}}}function lA(r,t,e){var n=t?jd(r,t):r,a=t?j_(r,n,Na):r.style,i=r.type,o=n?n.textConfig:null,s=r.textContent,l=s?t?jd(s,t):s:null;if(a&&(e.isLegacy||$D(a,i,!!o,!!l))){e.isLegacy=!0;var u=WD(a,i,!t);!o&&u.textConfig&&(o=u.textConfig),!l&&u.textContent&&(l=u.textContent)}if(!t&&l){var c=l;!c.type&&(c.type="text"),process.env.NODE_ENV!=="production"&&se(c.type==="text",'textContent.type must be "text"')}var f=t?e[t]:e.normal;f.cfg=o,f.conOpt=l}function jd(r,t){return t?r?r[t]:null:r}function j_(r,t,e){var n=t&&t.style;return n==null&&e===Na&&r&&(n=r.styleEmphasis),n}function epe(r,t,e,n,a){var i=n.children,o=i?i.length:0,s=n.$mergeChildren,l=s==="byName"||n.diffChildrenByName,u=s===!1;if(!(!o&&!l&&!u)){if(l){rpe({api:r,oldChildren:t.children()||[],newChildren:i||[],dataIndex:e,seriesModel:a,group:t});return}u&&t.removeAll();for(var c=0;c<o;c++){var f=i[c],h=t.childAt(c);f?(f.ignore==null&&(f.ignore=!1),Y_(r,h,e,f,a,t)):(process.env.NODE_ENV!=="production"&&se(h,"renderItem should not return a group containing elements as null/undefined/{} if they do not exist before."),h.ignore=!0)}for(var p=t.childCount()-1;p>=c;p--){var v=t.childAt(p);tpe(t,v,a)}}}function tpe(r,t,e){t&&Wd(t,Ia(r).option,e)}function rpe(r){new Da(r.oldChildren,r.newChildren,uA,uA,r).add(cA).update(cA).remove(npe).execute()}function uA(r,t){var e=r&&r.name;return e??Yhe+t}function cA(r,t){var e=this.context,n=r!=null?e.newChildren[r]:null,a=t!=null?e.oldChildren[t]:null;Y_(e.api,a,e.dataIndex,n,e.seriesModel,e.group)}function npe(r){var t=this.context,e=t.oldChildren[r];e&&Wd(e,Ia(e).option,t.seriesModel)}function fA(r){return r&&(r.pathData||r.d)}function ape(r){return r&&(ee(r,"pathData")||ee(r,"d"))}function ipe(r){r.registerChartView(Xhe),r.registerSeriesModel(Ehe)}var ns=Ne(),hA=pe,X_=J,q_=function(){function r(){this._dragging=!1,this.animationThreshold=15}return r.prototype.render=function(t,e,n,a){var i=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,!(!a&&this._lastValue===i&&this._lastStatus===o)){this._lastValue=i,this._lastStatus=o;var s=this._group,l=this._handle;if(!o||o==="hide"){s&&s.hide(),l&&l.hide();return}s&&s.show(),l&&l.show();var u={};this.makeElOption(u,i,t,e,n);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(t,e);if(!s)s=this._group=new de,this.createPointerEl(s,u,t,e),this.createLabelEl(s,u,t,e),n.getZr().add(s);else{var h=me(pA,e,f);this.updatePointerEl(s,u,h),this.updateLabelEl(s,u,h,e)}gA(s,e,!0),this._renderHandle(i)}},r.prototype.remove=function(t){this.clear(t)},r.prototype.dispose=function(t){this.clear(t)},r.prototype.determineAnimation=function(t,e){var n=e.get("animation"),a=t.axis,i=a.type==="category",o=e.get("snap");if(!o&&!i)return!1;if(n==="auto"||n==null){var s=this.animationThreshold;if(i&&a.getBandWidth()>s)return!0;if(o){var l=gm(t).seriesDataCount,u=a.getExtent();return Math.abs(u[0]-u[1])/l>s}return!1}return n===!0},r.prototype.makeElOption=function(t,e,n,a,i){},r.prototype.createPointerEl=function(t,e,n,a){var i=e.pointer;if(i){var o=ns(t).pointerEl=new Eo[i.type](hA(e.pointer));t.add(o)}},r.prototype.createLabelEl=function(t,e,n,a){if(e.label){var i=ns(t).labelEl=new Ve(hA(e.label));t.add(i),vA(i,a)}},r.prototype.updatePointerEl=function(t,e,n){var a=ns(t).pointerEl;a&&e.pointer&&(a.setStyle(e.pointer.style),n(a,{shape:e.pointer.shape}))},r.prototype.updateLabelEl=function(t,e,n,a){var i=ns(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),vA(i,a))},r.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var e=this._axisPointerModel,n=this._api.getZr(),a=this._handle,i=e.getModel("handle"),o=e.get("status");if(!i.get("show")||!o||o==="hide"){a&&n.remove(a),this._handle=null;return}var s;this._handle||(s=!0,a=this._handle=qu(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){pa(u.event)},onmousedown:X_(this._onHandleDragMove,this,0,0),drift:X_(this._onHandleDragMove,this),ondragend:X_(this._onHandleDragEnd,this)}),n.add(a)),gA(a,e,!1),a.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var l=i.get("size");U(l)||(l=[l,l]),a.scaleX=l[0]/2,a.scaleY=l[1]/2,cl(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,s)}},r.prototype._moveHandleToValue=function(t,e){pA(this._axisPointerModel,!e&&this._moveAnimation,this._handle,Z_(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},r.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var a=this.updateHandleTransform(Z_(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=a,n.stopAnimation(),n.attr(Z_(a)),ns(n).lastProp=null,this._doDispatchAxisPointer()}},r.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},r.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},r.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,a=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),a&&e.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),sc(this,"_doDispatchAxisPointer")},r.prototype.doClear=function(){},r.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},r}();function pA(r,t,e,n){dA(ns(e).lastProp,n)||(ns(e).lastProp=n,t?Oe(e,n,r):(e.stopAnimation(),e.attr(n)))}function dA(r,t){if(oe(r)&&oe(t)){var e=!0;return M(t,function(n,a){e=e&&dA(r[a],n)}),!!e}else return r===t}function vA(r,t){r[t.get(["label","show"])?"show":"hide"]()}function Z_(r){return{x:r.x||0,y:r.y||0,rotation:r.rotation||0}}function gA(r,t,e){var n=t.get("z"),a=t.get("zlevel");r&&r.traverse(function(i){i.type!=="group"&&(n!=null&&(i.z=n),a!=null&&(i.zlevel=a),i.silent=e)})}function K_(r){var t=r.get("type"),e=r.getModel(t+"Style"),n;return t==="line"?(n=e.getLineStyle(),n.fill=null):t==="shadow"&&(n=e.getAreaStyle(),n.stroke=null),n}function mA(r,t,e,n,a){var i=e.get("value"),o=_A(i,t.axis,t.ecModel,e.get("seriesDataIndices"),{precision:e.get(["label","precision"]),formatter:e.get(["label","formatter"])}),s=e.getModel("label"),l=tl(s.get("padding")||0),u=s.getFont(),c=Au(o,u),f=a.position,h=c.width+l[1]+l[3],p=c.height+l[0]+l[2],v=a.align;v==="right"&&(f[0]-=h),v==="center"&&(f[0]-=h/2);var m=a.verticalAlign;m==="bottom"&&(f[1]-=p),m==="middle"&&(f[1]-=p/2),ope(f,h,p,n);var g=s.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),r.label={x:f[0],y:f[1],style:Ze(s,{text:o,font:u,fill:s.getTextColor(),padding:l,backgroundColor:g}),z2:10}}function ope(r,t,e,n){var a=n.getWidth(),i=n.getHeight();r[0]=Math.min(r[0]+t,a)-t,r[1]=Math.min(r[1]+e,i)-e,r[0]=Math.max(r[0],0),r[1]=Math.max(r[1],0)}function _A(r,t,e,n,a){r=t.scale.parse(r);var i=t.scale.getLabel({value:r},{precision:a.precision}),o=a.formatter;if(o){var s={value:V1(t,{value:r}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};M(n,function(l){var u=e.getSeriesByIndex(l.seriesIndex),c=l.dataIndexInside,f=u&&u.getDataParams(c);f&&s.seriesData.push(f)}),K(o)?i=o.replace("{value}",i):ae(o)&&(i=o(s))}return i}function J_(r,t,e){var n=Dr();return qi(n,n,e.rotation),Vn(n,n,e.position),xn([r.dataToCoord(t),(e.labelOffset||0)+(e.labelDirection||1)*(e.labelMargin||0)],n)}function yA(r,t,e,n,a,i){var o=vr.innerTextLayout(e.rotation,0,e.labelDirection);e.labelMargin=a.get(["label","margin"]),mA(t,n,a,i,{position:J_(n.axis,r,e),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function Q_(r,t,e){return e=e||0,{x1:r[e],y1:r[1-e],x2:t[e],y2:t[1-e]}}function wA(r,t,e){return e=e||0,{x:r[e],y:r[1-e],width:t[e],height:t[1-e]}}function xA(r,t,e,n,a,i){return{cx:r,cy:t,r0:e,r:n,startAngle:a,endAngle:i,clockwise:!0}}var spe=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,a,i,o){var s=a.axis,l=s.grid,u=i.get("type"),c=bA(l,s).getOtherAxis(s).getGlobalExtent(),f=s.toGlobalCoord(s.dataToCoord(n,!0));if(u&&u!=="none"){var h=K_(i),p=lpe[u](s,f,c);p.style=h,e.graphicKey=p.type,e.pointer=p}var v=hm(l.model,a);yA(n,e,v,a,i,o)},t.prototype.getHandleTransform=function(e,n,a){var i=hm(n.axis.grid.model,n,{labelInside:!1});i.labelMargin=a.get(["handle","margin"]);var o=J_(n.axis,e,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,n,a,i){var o=a.axis,s=o.grid,l=o.getGlobalExtent(!0),u=bA(s,o).getOtherAxis(o).getGlobalExtent(),c=o.dim==="x"?0:1,f=[e.x,e.y];f[c]+=n[c],f[c]=Math.min(l[1],f[c]),f[c]=Math.max(l[0],f[c]);var h=(u[1]+u[0])/2,p=[h,h];p[c]=f[c];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:e.rotation,cursorPoint:p,tooltipOption:v[c]}},t}(q_);function bA(r,t){var e={};return e[t.dim+"AxisIndex"]=t.index,r.getCartesian(e)}var lpe={line:function(r,t,e){var n=Q_([t,e[0]],[t,e[1]],SA(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,t,e){var n=Math.max(1,r.getBandWidth()),a=e[1]-e[0];return{type:"Rect",shape:wA([t-n/2,e[0]],[n,a],SA(r))}}};function SA(r){return r.dim==="x"?0:1}var upe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}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}(Ae),Pa=Ne(),cpe=M;function CA(r,t,e){if(!Ee.node){var n=t.getZr();Pa(n).records||(Pa(n).records={}),fpe(n,t);var a=Pa(n).records[r]||(Pa(n).records[r]={});a.handler=e}}function fpe(r,t){if(Pa(r).initialized)return;Pa(r).initialized=!0,e("click",me(EA,"click")),e("mousemove",me(EA,"mousemove")),e("globalout",ppe);function e(n,a){r.on(n,function(i){var o=dpe(t);cpe(Pa(r).records,function(s){s&&a(s,i,o.dispatchAction)}),hpe(o.pendings,t)})}}function hpe(r,t){var e=r.showTip.length,n=r.hideTip.length,a;e?a=r.showTip[e-1]:n&&(a=r.hideTip[n-1]),a&&(a.dispatchAction=null,t.dispatchAction(a))}function ppe(r,t,e){r.handler("leave",null,e)}function EA(r,t,e,n){t.handler(r,e,n)}function dpe(r){var t={showTip:[],hideTip:[]},e=function(n){var a=t[n.type];a?a.push(n):(n.dispatchAction=e,r.dispatchAction(n))};return{dispatchAction:e,pendings:t}}function ey(r,t){if(!Ee.node){var e=t.getZr(),n=(Pa(e).records||{})[r];n&&(Pa(e).records[r]=null)}}var vpe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=n.getComponent("tooltip"),o=e.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";CA("axisPointer",a,function(s,l,u){o!=="none"&&(s==="leave"||o.indexOf(s)>=0)&&u({type:"updateAxisPointer",currTrigger:s,x:l&&l.offsetX,y:l&&l.offsetY})})},t.prototype.remove=function(e,n){ey("axisPointer",n)},t.prototype.dispose=function(e,n){ey("axisPointer",n)},t.type="axisPointer",t}(nt);function TA(r,t){var e=[],n=r.seriesIndex,a;if(n==null||!(a=t.getSeriesByIndex(n)))return{point:[]};var i=a.getData(),o=ao(i,r);if(o==null||o<0||U(o))return{point:[]};var s=i.getItemGraphicEl(o),l=a.coordinateSystem;if(a.getTooltipPosition)e=a.getTooltipPosition(o)||[];else if(l&&l.dataToPoint)if(r.isStacked){var u=l.getBaseAxis(),c=l.getOtherAxis(u),f=c.dim,h=u.dim,p=f==="x"||f==="radius"?1:0,v=i.mapDimension(h),m=[];m[p]=i.get(v,o),m[1-p]=i.get(i.getCalculationInfo("stackResultDimension"),o),e=l.dataToPoint(m)||[]}else e=l.dataToPoint(i.getValues(Y(l.dimensions,function(_){return i.mapDimension(_)}),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),e=[g.x+g.width/2,g.y+g.height/2]}return{point:e,el:s}}var DA=Ne();function gpe(r,t,e){var n=r.currTrigger,a=[r.x,r.y],i=r,o=r.dispatchAction||J(e.dispatchAction,e),s=t.getComponent("axisPointer").coordSysAxesInfo;if(s){Xd(a)&&(a=TA({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},t).point);var l=Xd(a),u=i.axesInfo,c=s.axesInfo,f=n==="leave"||Xd(a),h={},p={},v={list:[],map:{}},m={showPointer:me(_pe,p),showTooltip:me(ype,v)};M(s.coordSysMap,function(_,y){var w=l||_.containPoint(a);M(s.coordSysAxesInfo[y],function(x,b){var S=x.axis,C=Spe(u,x);if(!f&&w&&(!u||C)){var D=C&&C.value;D==null&&!l&&(D=S.pointToData(a)),D!=null&&AA(x,D,m,!1,h)}})});var g={};return M(c,function(_,y){var w=_.linkGroup;w&&!p[y]&&M(w.axesInfo,function(x,b){var S=p[b];if(x!==_&&S){var C=S.value;w.mapper&&(C=_.axis.scale.parse(w.mapper(C,MA(x),MA(_)))),g[_.key]=C}})}),M(g,function(_,y){AA(c[y],_,m,!0,h)}),wpe(p,c,h),xpe(v,a,r,o),bpe(c,o,e),h}}function AA(r,t,e,n,a){var i=r.axis;if(!(i.scale.isBlank()||!i.containData(t))){if(!r.involveSeries){e.showPointer(r,t);return}var o=mpe(t,r),s=o.payloadBatch,l=o.snapToValue;s[0]&&a.seriesIndex==null&&G(a,s[0]),!n&&r.snap&&i.containData(l)&&l!=null&&(t=l),e.showPointer(r,t,s),e.showTooltip(r,o,l)}}function mpe(r,t){var e=t.axis,n=e.dim,a=r,i=[],o=Number.MAX_VALUE,s=-1;return M(t.seriesModels,function(l,u){var c=l.getData().mapDimensionsAll(n),f,h;if(l.getAxisTooltipData){var p=l.getAxisTooltipData(c,r,e);h=p.dataIndices,f=p.nestestValue}else{if(h=l.getData().indicesOfNearest(c[0],r,e.type==="category"?.5:null),!h.length)return;f=l.getData().get(c[0],h[0])}if(!(f==null||!isFinite(f))){var v=r-f,m=Math.abs(v);m<=o&&((m<o||v>=0&&s<0)&&(o=m,s=v,a=f,i.length=0),M(h,function(g){i.push({seriesIndex:l.seriesIndex,dataIndexInside:g,dataIndex:l.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:a}}function _pe(r,t,e,n){r[t.key]={value:e,payloadBatch:n}}function ype(r,t,e,n){var a=e.payloadBatch,i=t.axis,o=i.model,s=t.axisPointerModel;if(!(!t.triggerTooltip||!a.length)){var l=t.coordSys.model,u=Vc(l),c=r.map[u];c||(c=r.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},r.list.push(c)),c.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:n,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:a.slice()})}}function wpe(r,t,e){var n=e.axesInfo=[];M(t,function(a,i){var o=a.axisPointerModel.option,s=r[i];s?(!a.useHandle&&(o.status="show"),o.value=s.value,o.seriesDataIndices=(s.payloadBatch||[]).slice()):!a.useHandle&&(o.status="hide"),o.status==="show"&&n.push({axisDim:a.axis.dim,axisIndex:a.axis.model.componentIndex,value:o.value})})}function xpe(r,t,e,n){if(Xd(t)||!r.list.length){n({type:"hideTip"});return}var a=((r.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};n({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:e.tooltipOption,position:e.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:r.list})}function bpe(r,t,e){var n=e.getZr(),a="axisPointerLastHighlights",i=DA(n)[a]||{},o=DA(n)[a]={};M(r,function(u,c){var f=u.axisPointerModel.option;f.status==="show"&&u.triggerEmphasis&&M(f.seriesDataIndices,function(h){var p=h.seriesIndex+" | "+h.dataIndex;o[p]=h})});var s=[],l=[];M(i,function(u,c){!o[c]&&l.push(u)}),M(o,function(u,c){!i[c]&&s.push(u)}),l.length&&e.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&e.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function Spe(r,t){for(var e=0;e<(r||[]).length;e++){var n=r[e];if(t.axis.dim===n.axisDim&&t.axis.model.componentIndex===n.axisIndex)return n}}function MA(r){var t=r.axis.model,e={},n=e.axisDim=r.axis.dim;return e.axisIndex=e[n+"AxisIndex"]=t.componentIndex,e.axisName=e[n+"AxisName"]=t.name,e.axisId=e[n+"AxisId"]=t.id,e}function Xd(r){return!r||r[0]==null||isNaN(r[0])||r[1]==null||isNaN(r[1])}function Qc(r){jo.registerAxisPointerClass("CartesianAxisPointer",spe),r.registerComponentModel(upe),r.registerComponentView(vpe),r.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!U(e)&&(t.axisPointer.link=[e])}}),r.registerProcessor(r.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=Poe(t,e)}),r.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},gpe)}function Cpe(r){Se(aE),Se(Qc)}var Epe=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,a,i,o){var s=a.axis;s.dim==="angle"&&(this.animationThreshold=Math.PI/18);var l=s.polar,u=l.getOtherAxis(s),c=u.getExtent(),f=s.dataToCoord(n),h=i.get("type");if(h&&h!=="none"){var p=K_(i),v=Dpe[h](s,l,f,c);v.style=p,e.graphicKey=v.type,e.pointer=v}var m=i.get(["label","margin"]),g=Tpe(n,a,i,l,m);mA(e,a,i,o,g)},t}(q_);function Tpe(r,t,e,n,a){var i=t.axis,o=i.dataToCoord(r),s=n.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l=n.getRadiusAxis().getExtent(),u,c,f;if(i.dim==="radius"){var h=Dr();qi(h,h,s),Vn(h,h,[n.cx,n.cy]),u=xn([o,-a],h);var p=t.getModel("axisLabel").get("rotate")||0,v=vr.innerTextLayout(s,p*Math.PI/180,-1);c=v.textAlign,f=v.textVerticalAlign}else{var m=l[1];u=n.coordToPoint([m+a,o]);var g=n.cx,_=n.cy;c=Math.abs(u[0]-g)/m<.3?"center":u[0]>g?"left":"right",f=Math.abs(u[1]-_)/m<.3?"middle":u[1]>_?"top":"bottom"}return{position:u,align:c,verticalAlign:f}}var Dpe={line:function(r,t,e,n){return r.dim==="angle"?{type:"Line",shape:Q_(t.coordToPoint([n[0],e]),t.coordToPoint([n[1],e]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:e}}},shadow:function(r,t,e,n){var a=Math.max(1,r.getBandWidth()),i=Math.PI/180;return r.dim==="angle"?{type:"Sector",shape:xA(t.cx,t.cy,n[0],n[1],(-e-a/2)*i,(-e+a/2)*i)}:{type:"Sector",shape:xA(t.cx,t.cy,e-a/2,e+a/2,0,Math.PI*2)}}},Ape=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.findAxisModel=function(e){var n,a=this.ecModel;return a.eachComponent(e,function(i){i.getCoordSysModel()===this&&(n=i)},this),n},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Ae),ty=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",yt).models[0]},t.type="polarAxis",t}(Ae);gt(ty,bc);var Mpe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="angleAxis",t}(ty),kpe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="radiusAxis",t}(ty),ry=function(r){F(t,r);function t(e,n){return r.call(this,"radius",e,n)||this}return t.prototype.pointToData=function(e,n){return this.polar.pointToData(e,n)[this.dim==="radius"?0:1]},t}(Cn);ry.prototype.dataToRadius=Cn.prototype.dataToCoord,ry.prototype.radiusToData=Cn.prototype.coordToData;var Lpe=Ne(),ny=function(r){F(t,r);function t(e,n){return r.call(this,"angle",e,n||[0,360])||this}return t.prototype.pointToData=function(e,n){return this.polar.pointToData(e,n)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var e=this,n=e.getLabelModel(),a=e.scale,i=a.getExtent(),o=a.count();if(i[1]-i[0]<1)return 0;var s=i[0],l=e.dataToCoord(s+1)-e.dataToCoord(s),u=Math.abs(l),c=Au(s==null?"":s+"",n.getFont(),"center","top"),f=Math.max(c.height,7),h=f/u;isNaN(h)&&(h=1/0);var p=Math.max(0,Math.floor(h)),v=Lpe(e.model),m=v.lastAutoInterval,g=v.lastTickCount;return m!=null&&g!=null&&Math.abs(m-p)<=1&&Math.abs(g-o)<=1&&m>p?p=m:(v.lastTickCount=o,v.lastAutoInterval=p),p},t}(Cn);ny.prototype.dataToAngle=Cn.prototype.dataToCoord,ny.prototype.angleToData=Cn.prototype.coordToData;var kA=["radius","angle"],Ipe=function(){function r(t){this.dimensions=kA,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new ry,this._angleAxis=new ny,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return r.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},r.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},r.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},r.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},r.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,a=this._radiusAxis;return n.scale.type===t&&e.push(n),a.scale.type===t&&e.push(a),e},r.prototype.getAngleAxis=function(){return this._angleAxis},r.prototype.getRadiusAxis=function(){return this._radiusAxis},r.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},r.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},r.prototype.getTooltipAxes=function(t){var e=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},r.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},r.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},r.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,a=this.getAngleAxis(),i=a.getExtent(),o=Math.min(i[0],i[1]),s=Math.max(i[0],i[1]);a.inverse?o=s-360:s=o+360;var l=Math.sqrt(e*e+n*n);e/=l,n/=l;for(var u=Math.atan2(-n,e)/Math.PI*180,c=u<o?1:-1;u<o||u>s;)u+=c*360;return[l,u]},r.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI,a=Math.cos(n)*e+this.cx,i=-Math.sin(n)*e+this.cy;return[a,i]},r.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var a=t.getExtent(),i=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-a[0]*i,endAngle:-a[1]*i,clockwise:t.inverse,contain:function(s,l){var u=s-this.cx,c=l-this.cy,f=u*u+c*c,h=this.r,p=this.r0;return h!==p&&f-o<=h*h&&f+o>=p*p}}},r.prototype.convertToPixel=function(t,e,n){var a=LA(e);return a===this?this.dataToPoint(n):null},r.prototype.convertFromPixel=function(t,e,n){var a=LA(e);return a===this?this.pointToData(n):null},r}();function LA(r){var t=r.seriesModel,e=r.polarModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}function Npe(r,t,e){var n=t.get("center"),a=e.getWidth(),i=e.getHeight();r.cx=Z(n[0],a),r.cy=Z(n[1],i);var o=r.getRadiusAxis(),s=Math.min(a,i)/2,l=t.get("radius");l==null?l=[0,"100%"]:U(l)||(l=[0,l]);var u=[Z(l[0],s),Z(l[1],s)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function Ppe(r,t){var e=this,n=e.getAngleAxis(),a=e.getRadiusAxis();if(n.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),r.eachSeries(function(s){if(s.coordinateSystem===e){var l=s.getData();M(ld(l,"radius"),function(u){a.scale.unionExtentFromData(l,u)}),M(ld(l,"angle"),function(u){n.scale.unionExtentFromData(l,u)})}}),_l(n.scale,n.model),_l(a.scale,a.model),n.type==="category"&&!n.onBand){var i=n.getExtent(),o=360/n.scale.count();n.inverse?i[1]+=o:i[1]-=o,n.setExtent(i[0],i[1])}}function Vpe(r){return r.mainType==="angleAxis"}function IA(r,t){var e;if(r.type=t.get("type"),r.scale=sd(t),r.onBand=t.get("boundaryGap")&&r.type==="category",r.inverse=t.get("inverse"),Vpe(t)){r.inverse=r.inverse!==t.get("clockwise");var n=t.get("startAngle"),a=(e=t.get("endAngle"))!==null&&e!==void 0?e:n+(r.inverse?-360:360);r.setExtent(n,a)}t.axis=r,r.model=t}var Bpe={dimensions:kA,create:function(r,t){var e=[];return r.eachComponent("polar",function(n,a){var i=new Ipe(a+"");i.update=Ppe;var o=i.getRadiusAxis(),s=i.getAngleAxis(),l=n.findAxisModel("radiusAxis"),u=n.findAxisModel("angleAxis");IA(o,l),IA(s,u),Npe(i,n,t),e.push(i),n.coordinateSystem=i,i.model=n}),r.eachSeries(function(n){if(n.get("coordinateSystem")==="polar"){var a=n.getReferringComponents("polar",yt).models[0];if(process.env.NODE_ENV!=="production"&&!a)throw new Error('Polar "'+mt(n.get("polarIndex"),n.get("polarId"),0)+'" not found');n.coordinateSystem=a.coordinateSystem}}),e}},Ope=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function qd(r,t,e){t[1]>t[0]&&(t=t.slice().reverse());var n=r.coordToPoint([t[0],e]),a=r.coordToPoint([t[1],e]);return{x1:n[0],y1:n[1],x2:a[0],y2:a[1]}}function Zd(r){var t=r.getRadiusAxis();return t.inverse?0:1}function NA(r){var t=r[0],e=r[r.length-1];t&&e&&Math.abs(Math.abs(t.coord-e.coord)-360)<1e-4&&r.pop()}var Rpe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="PolarAxisPointer",e}return t.prototype.render=function(e,n){if(this.group.removeAll(),!!e.get("show")){var a=e.axis,i=a.polar,o=i.getRadiusAxis().getExtent(),s=a.getTicksCoords(),l=a.getMinorTicksCoords(),u=Y(a.getViewLabels(),function(c){c=pe(c);var f=a.scale,h=f.type==="ordinal"?f.getRawOrdinalNumber(c.tickValue):c.tickValue;return c.coord=a.dataToCoord(h),c});NA(u),NA(s),M(Ope,function(c){e.get([c,"show"])&&(!a.scale.isBlank()||c==="axisLine")&&zpe[c](this.group,e,i,s,l,o,u)},this)}},t.type="angleAxis",t}(jo),zpe={axisLine:function(r,t,e,n,a,i){var o=t.getModel(["axisLine","lineStyle"]),s=e.getAngleAxis(),l=Math.PI/180,u=s.getExtent(),c=Zd(e),f=c?0:1,h,p=Math.abs(u[1]-u[0])===360?"Circle":"Arc";i[f]===0?h=new Eo[p]({shape:{cx:e.cx,cy:e.cy,r:i[c],startAngle:-u[0]*l,endAngle:-u[1]*l,clockwise:s.inverse},style:o.getLineStyle(),z2:1,silent:!0}):h=new Wu({shape:{cx:e.cx,cy:e.cy,r:i[c],r0:i[f]},style:o.getLineStyle(),z2:1,silent:!0}),h.style.fill=null,r.add(h)},axisTick:function(r,t,e,n,a,i){var o=t.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),l=i[Zd(e)],u=Y(n,function(c){return new Dt({shape:qd(e,[l,l+s],c.coord)})});r.add(Ur(u,{style:ue(o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(r,t,e,n,a,i){if(a.length){for(var o=t.getModel("axisTick"),s=t.getModel("minorTick"),l=(o.get("inside")?-1:1)*s.get("length"),u=i[Zd(e)],c=[],f=0;f<a.length;f++)for(var h=0;h<a[f].length;h++)c.push(new Dt({shape:qd(e,[u,u+l],a[f][h].coord)}));r.add(Ur(c,{style:ue(s.getModel("lineStyle").getLineStyle(),ue(o.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(r,t,e,n,a,i,o){var s=t.getCategories(!0),l=t.getModel("axisLabel"),u=l.get("margin"),c=t.get("triggerEvent");M(o,function(f,h){var p=l,v=f.tickValue,m=i[Zd(e)],g=e.coordToPoint([m+u,f.coord]),_=e.cx,y=e.cy,w=Math.abs(g[0]-_)/m<.3?"center":g[0]>_?"left":"right",x=Math.abs(g[1]-y)/m<.3?"middle":g[1]>y?"top":"bottom";if(s&&s[v]){var b=s[v];oe(b)&&b.textStyle&&(p=new Ue(b.textStyle,l,l.ecModel))}var S=new Ve({silent:vr.isLabelSilent(t),style:Ze(p,{x:g[0],y:g[1],fill:p.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:f.formattedLabel,align:w,verticalAlign:x})});if(r.add(S),c){var C=vr.makeAxisEventDataBase(t);C.targetType="axisLabel",C.value=f.rawLabel,ge(S).eventData=C}},this)},splitLine:function(r,t,e,n,a,i){var o=t.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],f=0;f<n.length;f++){var h=u++%l.length;c[h]=c[h]||[],c[h].push(new Dt({shape:qd(e,i,n[f].coord)}))}for(var f=0;f<c.length;f++)r.add(Ur(c[f],{style:ue({stroke:l[f%l.length]},s.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(r,t,e,n,a,i){if(a.length){for(var o=t.getModel("minorSplitLine"),s=o.getModel("lineStyle"),l=[],u=0;u<a.length;u++)for(var c=0;c<a[u].length;c++)l.push(new Dt({shape:qd(e,i,a[u][c].coord)}));r.add(Ur(l,{style:s.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(r,t,e,n,a,i){if(n.length){var o=t.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],f=Math.PI/180,h=-n[0].coord*f,p=Math.min(i[0],i[1]),v=Math.max(i[0],i[1]),m=t.get("clockwise"),g=1,_=n.length;g<=_;g++){var y=g===_?n[0].coord:n[g].coord,w=u++%l.length;c[w]=c[w]||[],c[w].push(new ur({shape:{cx:e.cx,cy:e.cy,r0:p,r:v,startAngle:h,endAngle:-y*f,clockwise:m},silent:!0})),h=-y*f}for(var g=0;g<c.length;g++)r.add(Ur(c[g],{style:ue({fill:l[g%l.length]},s.getAreaStyle()),silent:!0}))}}},Hpe=["axisLine","axisTickLabel","axisName"],Fpe=["splitLine","splitArea","minorSplitLine"],Gpe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="PolarAxisPointer",e}return t.prototype.render=function(e,n){if(this.group.removeAll(),!!e.get("show")){var a=this._axisGroup,i=this._axisGroup=new de;this.group.add(i);var o=e.axis,s=o.polar,l=s.getAngleAxis(),u=o.getTicksCoords(),c=o.getMinorTicksCoords(),f=l.getExtent()[0],h=o.getExtent(),p=Wpe(s,e,f),v=new vr(e,p);M(Hpe,v.add,v),i.add(v.getGroup()),Xu(a,i,e),M(Fpe,function(m){e.get([m,"show"])&&!o.scale.isBlank()&&$pe[m](this.group,e,s,f,h,u,c)},this)}},t.type="radiusAxis",t}(jo),$pe={splitLine:function(r,t,e,n,a,i){var o=t.getModel("splitLine"),s=o.getModel("lineStyle"),l=s.get("color"),u=0,c=e.getAngleAxis(),f=Math.PI/180,h=c.getExtent(),p=Math.abs(h[1]-h[0])===360?"Circle":"Arc";l=l instanceof Array?l:[l];for(var v=[],m=0;m<i.length;m++){var g=u++%l.length;v[g]=v[g]||[],v[g].push(new Eo[p]({shape:{cx:e.cx,cy:e.cy,r:Math.max(i[m].coord,0),startAngle:-h[0]*f,endAngle:-h[1]*f,clockwise:c.inverse}}))}for(var m=0;m<v.length;m++)r.add(Ur(v[m],{style:ue({stroke:l[m%l.length],fill:null},s.getLineStyle()),silent:!0}))},minorSplitLine:function(r,t,e,n,a,i,o){if(o.length){for(var s=t.getModel("minorSplitLine"),l=s.getModel("lineStyle"),u=[],c=0;c<o.length;c++)for(var f=0;f<o[c].length;f++)u.push(new Ca({shape:{cx:e.cx,cy:e.cy,r:o[c][f].coord}}));r.add(Ur(u,{style:ue({fill:null},l.getLineStyle()),silent:!0}))}},splitArea:function(r,t,e,n,a,i){if(i.length){var o=t.getModel("splitArea"),s=o.getModel("areaStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var c=[],f=i[0].coord,h=1;h<i.length;h++){var p=u++%l.length;c[p]=c[p]||[],c[p].push(new ur({shape:{cx:e.cx,cy:e.cy,r0:f,r:i[h].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),f=i[h].coord}for(var h=0;h<c.length;h++)r.add(Ur(c[h],{style:ue({fill:l[h%l.length]},s.getAreaStyle()),silent:!0}))}}};function Wpe(r,t,e){return{position:[r.cx,r.cy],rotation:e/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}function PA(r){return r.get("stack")||"__ec_stack_"+r.seriesIndex}function VA(r,t){return t.dim+r.model.componentIndex}function Upe(r,t,e){var n={},a=Ype(Fe(t.getSeriesByType(r),function(i){return!t.isSeriesFiltered(i)&&i.coordinateSystem&&i.coordinateSystem.type==="polar"}));t.eachSeriesByType(r,function(i){if(i.coordinateSystem.type==="polar"){var o=i.getData(),s=i.coordinateSystem,l=s.getBaseAxis(),u=VA(s,l),c=PA(i),f=a[u][c],h=f.offset,p=f.width,v=s.getOtherAxis(l),m=i.coordinateSystem.cx,g=i.coordinateSystem.cy,_=i.get("barMinHeight")||0,y=i.get("barMinAngle")||0;n[c]=n[c]||[];for(var w=o.mapDimension(v.dim),x=o.mapDimension(l.dim),b=pi(o,w),S=l.dim!=="radius"||!i.get("roundCap",!0),C=v.model,D=C.get("startValue"),T=v.dataToCoord(D||0),E=0,A=o.count();E<A;E++){var k=o.get(w,E),I=o.get(x,E),L=k>=0?"p":"n",N=T;b&&(n[c][I]||(n[c][I]={p:T,n:T}),N=n[c][I][L]);var P=void 0,V=void 0,O=void 0,B=void 0;if(v.dim==="radius"){var R=v.dataToCoord(k)-T,z=l.dataToCoord(I);Math.abs(R)<_&&(R=(R<0?-1:1)*_),P=N,V=N+R,O=z-h,B=O-p,b&&(n[c][I][L]=V)}else{var H=v.dataToCoord(k,S)-T,$=l.dataToCoord(I);Math.abs(H)<y&&(H=(H<0?-1:1)*y),P=$+h,V=P+p,O=N,B=N+H,b&&(n[c][I][L]=B)}o.setItemLayout(E,{cx:m,cy:g,r0:P,r:V,startAngle:-O*Math.PI/180,endAngle:-B*Math.PI/180,clockwise:O>=B})}}})}function Ype(r){var t={};M(r,function(n,a){var i=n.getData(),o=n.coordinateSystem,s=o.getBaseAxis(),l=VA(o,s),u=s.getExtent(),c=s.type==="category"?s.getBandWidth():Math.abs(u[1]-u[0])/i.count(),f=t[l]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=f.stacks;t[l]=f;var p=PA(n);h[p]||f.autoWidthCount++,h[p]=h[p]||{width:0,maxWidth:0};var v=Z(n.get("barWidth"),c),m=Z(n.get("barMaxWidth"),c),g=n.get("barGap"),_=n.get("barCategoryGap");v&&!h[p].width&&(v=Math.min(f.remainedWidth,v),h[p].width=v,f.remainedWidth-=v),m&&(h[p].maxWidth=m),g!=null&&(f.gap=g),_!=null&&(f.categoryGap=_)});var e={};return M(t,function(n,a){e[a]={};var i=n.stacks,o=n.bandWidth,s=Z(n.categoryGap,o),l=Z(n.gap,1),u=n.remainedWidth,c=n.autoWidthCount,f=(u-s)/(c+(c-1)*l);f=Math.max(f,0),M(i,function(m,g){var _=m.maxWidth;_&&_<f&&(_=Math.min(_,u),m.width&&(_=Math.min(_,m.width)),u-=_,m.width=_,c--)}),f=(u-s)/(c+(c-1)*l),f=Math.max(f,0);var h=0,p;M(i,function(m,g){m.width||(m.width=f),p=m,h+=m.width*(1+l)}),p&&(h-=p.width*l);var v=-h/2;M(i,function(m,g){e[a][g]=e[a][g]||{offset:v,width:m.width},v+=m.width*(1+l)})}),e}var jpe={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},Xpe={splitNumber:5},qpe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="polar",t}(nt);function Zpe(r){Se(Qc),jo.registerAxisPointerClass("PolarAxisPointer",Epe),r.registerCoordinateSystem("polar",Bpe),r.registerComponentModel(Ape),r.registerComponentView(qpe),Sl(r,"angle",Mpe,jpe),Sl(r,"radius",kpe,Xpe),r.registerComponentView(Rpe),r.registerComponentView(Gpe),r.registerLayout(me(Upe,"bar"))}function ay(r,t){t=t||{};var e=r.coordinateSystem,n=r.axis,a={},i=n.position,o=n.orient,s=e.getRect(),l=[s.x,s.x+s.width,s.y,s.y+s.height],u={horizontal:{top:l[2],bottom:l[3]},vertical:{left:l[0],right:l[1]}};a.position=[o==="vertical"?u.vertical[i]:l[0],o==="horizontal"?u.horizontal[i]:l[3]];var c={horizontal:0,vertical:1};a.rotation=Math.PI/2*c[o];var f={top:-1,bottom:1,right:1,left:-1};a.labelDirection=a.tickDirection=a.nameDirection=f[i],r.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),mt(t.labelInside,r.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var h=t.rotate;return h==null&&(h=r.get(["axisLabel","rotate"])),a.labelRotation=i==="top"?-h:h,a.z2=1,a}var Kpe=["axisLine","axisTickLabel","axisName"],Jpe=["splitArea","splitLine"],Qpe=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.axisPointerClass="SingleAxisPointer",e}return t.prototype.render=function(e,n,a,i){var o=this.group;o.removeAll();var s=this._axisGroup;this._axisGroup=new de;var l=ay(e),u=new vr(e,l);M(Kpe,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),M(Jpe,function(c){e.get([c,"show"])&&ede[c](this,this.group,this._axisGroup,e)},this),Xu(s,this._axisGroup,e),r.prototype.render.call(this,e,n,a,i)},t.prototype.remove=function(){eE(this)},t.type="singleAxis",t}(jo),ede={splitLine:function(r,t,e,n){var a=n.axis;if(!a.scale.isBlank()){var i=n.getModel("splitLine"),o=i.getModel("lineStyle"),s=o.get("color");s=s instanceof Array?s:[s];for(var l=o.get("width"),u=n.coordinateSystem.getRect(),c=a.isHorizontal(),f=[],h=0,p=a.getTicksCoords({tickModel:i}),v=[],m=[],g=0;g<p.length;++g){var _=a.toGlobalCoord(p[g].coord);c?(v[0]=_,v[1]=u.y,m[0]=_,m[1]=u.y+u.height):(v[0]=u.x,v[1]=_,m[0]=u.x+u.width,m[1]=_);var y=new Dt({shape:{x1:v[0],y1:v[1],x2:m[0],y2:m[1]},silent:!0});qs(y.shape,l);var w=h++%s.length;f[w]=f[w]||[],f[w].push(y)}for(var x=o.getLineStyle(["color"]),g=0;g<f.length;++g)t.add(Ur(f[g],{style:ue({stroke:s[g%s.length]},x),silent:!0}))}},splitArea:function(r,t,e,n){QC(r,e,n,n)}},Kd=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}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}(Ae);gt(Kd,bc.prototype);var tde=function(r){F(t,r);function t(e,n,a,i,o){var s=r.call(this,e,n,a)||this;return s.type=i||"value",s.position=o||"bottom",s}return t.prototype.isHorizontal=function(){var e=this.position;return e==="top"||e==="bottom"},t.prototype.pointToData=function(e,n){return this.coordinateSystem.pointToData(e)[0]},t}(Cn),BA=["single"],rde=function(){function r(t,e,n){this.type="single",this.dimension="single",this.dimensions=BA,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return r.prototype._init=function(t,e,n){var a=this.dimension,i=new tde(a,sd(t),[0,0],t.get("type"),t.get("position")),o=i.type==="category";i.onBand=o&&t.get("boundaryGap"),i.inverse=t.get("inverse"),i.orient=t.get("orient"),t.axis=i,i.model=t,i.coordinateSystem=this,this._axis=i},r.prototype.update=function(t,e){t.eachSeries(function(n){if(n.coordinateSystem===this){var a=n.getData();M(a.mapDimensionsAll(this.dimension),function(i){this._axis.scale.unionExtentFromData(a,i)},this),_l(this._axis.scale,this._axis.model)}},this)},r.prototype.resize=function(t,e){this._rect=Et({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:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},r.prototype.getRect=function(){return this._rect},r.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),a=n?[0,t.width]:[0,t.height],i=e.inverse?1:0;e.setExtent(a[i],a[1-i]),this._updateAxisTransform(e,n?t.x:t.y)},r.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),a=n[0]+n[1],i=t.isHorizontal();t.toGlobalCoord=i?function(o){return o+e}:function(o){return a-o+e},t.toLocalCoord=i?function(o){return o-e}:function(o){return a-o+e}},r.prototype.getAxis=function(){return this._axis},r.prototype.getBaseAxis=function(){return this._axis},r.prototype.getAxes=function(){return[this._axis]},r.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},r.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis(),a=n.orient;return a==="horizontal"?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},r.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t[e.orient==="horizontal"?0:1]))]},r.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),a=[],i=e.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),a[i]=e.toGlobalCoord(e.dataToCoord(+t)),a[1-i]=i===0?n.y+n.height/2:n.x+n.width/2,a},r.prototype.convertToPixel=function(t,e,n){var a=OA(e);return a===this?this.dataToPoint(n):null},r.prototype.convertFromPixel=function(t,e,n){var a=OA(e);return a===this?this.pointToData(n):null},r}();function OA(r){var t=r.seriesModel,e=r.singleAxisModel;return e&&e.coordinateSystem||t&&t.coordinateSystem}function nde(r,t){var e=[];return r.eachComponent("singleAxis",function(n,a){var i=new rde(n,r,t);i.name="single_"+a,i.resize(n,t),n.coordinateSystem=i,e.push(i)}),r.eachSeries(function(n){if(n.get("coordinateSystem")==="singleAxis"){var a=n.getReferringComponents("singleAxis",yt).models[0];n.coordinateSystem=a&&a.coordinateSystem}}),e}var ade={create:nde,dimensions:BA},RA=["x","y"],ide=["width","height"],ode=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.makeElOption=function(e,n,a,i,o){var s=a.axis,l=s.coordinateSystem,u=iy(l,1-Jd(s)),c=l.dataToPoint(n)[0],f=i.get("type");if(f&&f!=="none"){var h=K_(i),p=sde[f](s,c,u);p.style=h,e.graphicKey=p.type,e.pointer=p}var v=ay(a);yA(n,e,v,a,i,o)},t.prototype.getHandleTransform=function(e,n,a){var i=ay(n,{labelInside:!1});i.labelMargin=a.get(["handle","margin"]);var o=J_(n.axis,e,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(e,n,a,i){var o=a.axis,s=o.coordinateSystem,l=Jd(o),u=iy(s,l),c=[e.x,e.y];c[l]+=n[l],c[l]=Math.min(u[1],c[l]),c[l]=Math.max(u[0],c[l]);var f=iy(s,1-l),h=(f[1]+f[0])/2,p=[h,h];return p[l]=c[l],{x:c[0],y:c[1],rotation:e.rotation,cursorPoint:p,tooltipOption:{verticalAlign:"middle"}}},t}(q_),sde={line:function(r,t,e){var n=Q_([t,e[0]],[t,e[1]],Jd(r));return{type:"Line",subPixelOptimize:!0,shape:n}},shadow:function(r,t,e){var n=r.getBandWidth(),a=e[1]-e[0];return{type:"Rect",shape:wA([t-n/2,e[0]],[n,a],Jd(r))}}};function Jd(r){return r.isHorizontal()?0:1}function iy(r,t){var e=r.getRect();return[e[RA[t]],e[RA[t]]+e[ide[t]]]}var lde=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="single",t}(nt);function ude(r){Se(Qc),jo.registerAxisPointerClass("SingleAxisPointer",ode),r.registerComponentView(lde),r.registerComponentView(Qpe),r.registerComponentModel(Kd),Sl(r,"single",Kd,Kd.defaultOption),r.registerCoordinateSystem("single",ade)}var cde=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n,a){var i=rl(e);r.prototype.init.apply(this,arguments),zA(e,i)},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),zA(this.option,e)},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}(Ae);function zA(r,t){var e=r.cellSize,n;U(e)?n=e:n=r.cellSize=[e,e],n.length===1&&(n[1]=n[0]);var a=Y([0,1],function(i){return Aee(t,i)&&(n[i]="auto"),n[i]!=null&&n[i]!=="auto"});li(r,t,{type:"box",ignoreSize:a})}var fde=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){var i=this.group;i.removeAll();var o=e.coordinateSystem,s=o.getRangeInfo(),l=o.getOrient(),u=n.getLocaleModel();this._renderDayRect(e,s,i),this._renderLines(e,s,l,i),this._renderYearText(e,s,l,i),this._renderMonthText(e,u,l,i),this._renderWeekText(e,u,s,l,i)},t.prototype._renderDayRect=function(e,n,a){for(var i=e.coordinateSystem,o=e.getModel("itemStyle").getItemStyle(),s=i.getCellWidth(),l=i.getCellHeight(),u=n.start.time;u<=n.end.time;u=i.getNextNDay(u,1).time){var c=i.dataToRect([u],!1).tl,f=new Pe({shape:{x:c[0],y:c[1],width:s,height:l},cursor:"default",style:o});a.add(f)}},t.prototype._renderLines=function(e,n,a,i){var o=this,s=e.coordinateSystem,l=e.getModel(["splitLine","lineStyle"]).getLineStyle(),u=e.get(["splitLine","show"]),c=l.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var f=n.start,h=0;f.time<=n.end.time;h++){v(f.formatedDate),h===0&&(f=s.getDateInfo(n.start.y+"-"+n.start.m));var p=f.date;p.setMonth(p.getMonth()+1),f=s.getDateInfo(p)}v(s.getNextNDay(n.end.time,1).formatedDate);function v(m){o._firstDayOfMonth.push(s.getDateInfo(m)),o._firstDayPoints.push(s.dataToRect([m],!1).tl);var g=o._getLinePointsOfOneWeek(e,m,a);o._tlpoints.push(g[0]),o._blpoints.push(g[g.length-1]),u&&o._drawSplitline(g,l,i)}u&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,c,a),l,i),u&&this._drawSplitline(o._getEdgesPoints(o._blpoints,c,a),l,i)},t.prototype._getEdgesPoints=function(e,n,a){var i=[e[0].slice(),e[e.length-1].slice()],o=a==="horizontal"?0:1;return i[0][o]=i[0][o]-n/2,i[1][o]=i[1][o]+n/2,i},t.prototype._drawSplitline=function(e,n,a){var i=new fr({z2:20,shape:{points:e},style:n});a.add(i)},t.prototype._getLinePointsOfOneWeek=function(e,n,a){for(var i=e.coordinateSystem,o=i.getDateInfo(n),s=[],l=0;l<7;l++){var u=i.getNextNDay(o.time,l),c=i.dataToRect([u.time],!1);s[2*u.day]=c.tl,s[2*u.day+1]=c[a==="horizontal"?"bl":"tr"]}return s},t.prototype._formatterLabel=function(e,n){return K(e)&&e?Eee(e,n):ae(e)?e(n):n.nameMap},t.prototype._yearTextPositionControl=function(e,n,a,i,o){var s=n[0],l=n[1],u=["center","bottom"];i==="bottom"?(l+=o,u=["center","top"]):i==="left"?s-=o:i==="right"?(s+=o,u=["center","top"]):l-=o;var c=0;return(i==="left"||i==="right")&&(c=Math.PI/2),{rotation:c,x:s,y:l,style:{align:u[0],verticalAlign:u[1]}}},t.prototype._renderYearText=function(e,n,a,i){var o=e.getModel("yearLabel");if(o.get("show")){var s=o.get("margin"),l=o.get("position");l||(l=a!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(u[0][0]+u[1][0])/2,f=(u[0][1]+u[1][1])/2,h=a==="horizontal"?0:1,p={top:[c,u[h][1]],bottom:[c,u[1-h][1]],left:[u[1-h][0],f],right:[u[h][0],f]},v=n.start.y;+n.end.y>+n.start.y&&(v=v+"-"+n.end.y);var m=o.get("formatter"),g={start:n.start.y,end:n.end.y,nameMap:v},_=this._formatterLabel(m,g),y=new Ve({z2:30,style:Ze(o,{text:_}),silent:o.get("silent")});y.attr(this._yearTextPositionControl(y,p[l],a,l,s)),i.add(y)}},t.prototype._monthTextPositionControl=function(e,n,a,i,o){var s="left",l="top",u=e[0],c=e[1];return a==="horizontal"?(c=c+o,n&&(s="center"),i==="start"&&(l="bottom")):(u=u+o,n&&(l="middle"),i==="start"&&(s="right")),{x:u,y:c,align:s,verticalAlign:l}},t.prototype._renderMonthText=function(e,n,a,i){var o=e.getModel("monthLabel");if(o.get("show")){var s=o.get("nameMap"),l=o.get("margin"),u=o.get("position"),c=o.get("align"),f=[this._tlpoints,this._blpoints];(!s||K(s))&&(s&&(n=T2(s)||n),s=n.get(["time","monthAbbr"])||[]);var h=u==="start"?0:1,p=a==="horizontal"?0:1;l=u==="start"?-l:l;for(var v=c==="center",m=o.get("silent"),g=0;g<f[h].length-1;g++){var _=f[h][g].slice(),y=this._firstDayOfMonth[g];if(v){var w=this._firstDayPoints[g];_[p]=(w[p]+f[0][g+1][p])/2}var x=o.get("formatter"),b=s[+y.m-1],S={yyyy:y.y,yy:(y.y+"").slice(2),MM:y.m,M:+y.m,nameMap:b},C=this._formatterLabel(x,S),D=new Ve({z2:30,style:G(Ze(o,{text:C}),this._monthTextPositionControl(_,v,a,u,l)),silent:m});i.add(D)}}},t.prototype._weekTextPositionControl=function(e,n,a,i,o){var s="center",l="middle",u=e[0],c=e[1],f=a==="start";return n==="horizontal"?(u=u+i+(f?1:-1)*o[0]/2,s=f?"right":"left"):(c=c+i+(f?1:-1)*o[1]/2,l=f?"bottom":"top"),{x:u,y:c,align:s,verticalAlign:l}},t.prototype._renderWeekText=function(e,n,a,i,o){var s=e.getModel("dayLabel");if(s.get("show")){var l=e.coordinateSystem,u=s.get("position"),c=s.get("nameMap"),f=s.get("margin"),h=l.getFirstDayOfWeek();if(!c||K(c)){c&&(n=T2(c)||n);var p=n.get(["time","dayOfWeekShort"]);c=p||Y(n.get(["time","dayOfWeekAbbr"]),function(S){return S[0]})}var v=l.getNextNDay(a.end.time,7-a.lweek).time,m=[l.getCellWidth(),l.getCellHeight()];f=Z(f,Math.min(m[1],m[0])),u==="start"&&(v=l.getNextNDay(a.start.time,-(7+a.fweek)).time,f=-f);for(var g=s.get("silent"),_=0;_<7;_++){var y=l.getNextNDay(v,_),w=l.dataToRect([y.time],!1).center,x=_;x=Math.abs((_+h)%7);var b=new Ve({z2:30,style:G(Ze(s,{text:c[x]}),this._weekTextPositionControl(w,i,u,f,m)),silent:g});o.add(b)}}},t.type="calendar",t}(nt),oy=864e5,hde=function(){function r(t,e,n){this.type="calendar",this.dimensions=r.dimensions,this.getDimensionsInfo=r.getDimensionsInfo,this._model=t}return r.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},r.prototype.getRangeInfo=function(){return this._rangeInfo},r.prototype.getModel=function(){return this._model},r.prototype.getRect=function(){return this._rect},r.prototype.getCellWidth=function(){return this._sw},r.prototype.getCellHeight=function(){return this._sh},r.prototype.getOrient=function(){return this._orient},r.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},r.prototype.getDateInfo=function(t){t=Hn(t);var e=t.getFullYear(),n=t.getMonth()+1,a=n<10?"0"+n:""+n,i=t.getDate(),o=i<10?"0"+i:""+i,s=t.getDay();return s=Math.abs((s+7-this.getFirstDayOfWeek())%7),{y:e+"",m:a,d:o,day:s,time:t.getTime(),formatedDate:e+"-"+a+"-"+o,date:t}},r.prototype.getNextNDay=function(t,e){return e=e||0,e===0?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+e),this.getDateInfo(t))},r.prototype.update=function(t,e){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,a=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),s=this._orient==="horizontal"?[n,7]:[7,n];M([0,1],function(f){c(i,f)&&(o[a[f]]=i[f]*s[f])});var l={width:e.getWidth(),height:e.getHeight()},u=this._rect=Et(o,l);M([0,1],function(f){c(i,f)||(i[f]=u[a[f]]/s[f])});function c(f,h){return f[h]!=null&&f[h]!=="auto"}this._sw=i[0],this._sh=i[1]},r.prototype.dataToPoint=function(t,e){U(t)&&(t=t[0]),e==null&&(e=!0);var n=this.getDateInfo(t),a=this._rangeInfo,i=n.formatedDate;if(e&&!(n.time>=a.start.time&&n.time<a.end.time+oy))return[NaN,NaN];var o=n.day,s=this._getRangeInfo([a.start.time,i]).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]},r.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},r.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);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]}},r.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,a=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(n,e-1,a):this._getDateByWeeksAndDay(e,n-1,a)},r.prototype.convertToPixel=function(t,e,n){var a=HA(e);return a===this?a.dataToPoint(n):null},r.prototype.convertFromPixel=function(t,e,n){var a=HA(e);return a===this?a.pointToData(n):null},r.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},r.prototype._initRangeOption=function(){var t=this._model.get("range"),e;if(U(t)&&t.length===1&&(t=t[0]),U(t))e=t;else{var n=t.toString();if(/^\d{4}$/.test(n)&&(e=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var a=this.getDateInfo(n),i=a.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);e=[a.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(e=[n,n])}if(!e)return process.env.NODE_ENV!=="production"&&hn("Invalid date range."),t;var s=this._getRangeInfo(e);return s.start.time>s.end.time&&e.reverse(),e},r.prototype._getRangeInfo=function(t){var e=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],n;e[0].time>e[1].time&&(n=!0,e.reverse());var a=Math.floor(e[1].time/oy)-Math.floor(e[0].time/oy)+1,i=new Date(e[0].time),o=i.getDate(),s=e[1].date.getDate();i.setDate(o+a-1);var l=i.getDate();if(l!==s)for(var u=i.getTime()-e[1].time>0?1:-1;(l=i.getDate())!==s&&(i.getTime()-e[1].time)*u>0;)a-=u,i.setDate(l-u);var c=Math.floor((a+e[0].day+6)/7),f=n?-c+1:c-1;return n&&e.reverse(),{range:[e[0].formatedDate,e[1].formatedDate],start:e[0],end:e[1],allDay:a,weeks:c,nthWeek:f,fweek:e[0].day,lweek:e[1].day}},r.prototype._getDateByWeeksAndDay=function(t,e,n){var a=this._getRangeInfo(n);if(t>a.weeks||t===0&&e<a.fweek||t===a.weeks&&e>a.lweek)return null;var i=(t-1)*7-a.fweek+e,o=new Date(a.start.time);return o.setDate(+a.start.d+i),this.getDateInfo(o)},r.create=function(t,e){var n=[];return t.eachComponent("calendar",function(a){var i=new r(a);n.push(i),a.coordinateSystem=i}),t.eachSeries(function(a){a.get("coordinateSystem")==="calendar"&&(a.coordinateSystem=n[a.get("calendarIndex")||0])}),n},r.dimensions=["time","value"],r}();function HA(r){var t=r.calendarModel,e=r.seriesModel,n=t?t.coordinateSystem:e?e.coordinateSystem:null;return n}function pde(r){r.registerComponentModel(cde),r.registerComponentView(fde),r.registerCoordinateSystem("calendar",hde)}function dde(r,t){var e=r.existing;if(t.id=r.keyInfo.id,!t.type&&e&&(t.type=e.type),t.parentId==null){var n=t.parentOption;n?t.parentId=n.id:e&&(t.parentId=e.parentId)}t.parentOption=null}function FA(r,t){var e;return M(t,function(n){r[n]!=null&&r[n]!=="auto"&&(e=!0)}),e}function vde(r,t,e){var n=G({},e),a=r[t],i=e.$action||"merge";if(i==="merge")if(a){if(process.env.NODE_ENV!=="production"){var o=e.type;se(!o||a.type===o,'Please set $action: "replace" to change `type`')}_e(a,n,!0),li(a,n,{ignoreSize:!0}),w5(e,a),Qd(e,a),Qd(e,a,"shape"),Qd(e,a,"style"),Qd(e,a,"extra"),e.clipPath=a.clipPath}else r[t]=n;else i==="replace"?r[t]=n:i==="remove"&&a&&(r[t]=null)}var GA=["transition","enterFrom","leaveTo"],gde=GA.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function Qd(r,t,e){if(e&&(!r[e]&&t[e]&&(r[e]={}),r=r[e],t=t[e]),!(!r||!t))for(var n=e?GA:gde,a=0;a<n.length;a++){var i=n[a];r[i]==null&&t[i]!=null&&(r[i]=t[i])}}function mde(r,t){if(r&&(r.hv=t.hv=[FA(t,["left","right"]),FA(t,["top","bottom"])],r.type==="group")){var e=r,n=t;e.width==null&&(e.width=n.width=0),e.height==null&&(e.height=n.height=0)}}var _de=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.preventAutoZ=!0,e}return t.prototype.mergeOption=function(e,n){var a=this.option.elements;this.option.elements=null,r.prototype.mergeOption.call(this,e,n),this.option.elements=a},t.prototype.optionUpdated=function(e,n){var a=this.option,i=(n?a:e).elements,o=a.elements=n?[]:a.elements,s=[];this._flatten(i,s,null);var l=Tw(o,s,"normalMerge"),u=this._elOptionsToUpdate=[];M(l,function(c,f){var h=c.newOption;process.env.NODE_ENV!=="production"&&se(oe(h)||c.existing,"Empty graphic option definition"),h&&(u.push(h),dde(c,h),vde(o,f,h),mde(o[f],h))},this),a.elements=Fe(o,function(c){return c&&delete c.$action,c!=null})},t.prototype._flatten=function(e,n,a){M(e,function(i){if(i){a&&(i.parentOption=a),n.push(i);var o=i.children;o&&o.length&&this._flatten(o,n,i),delete i.children}},this)},t.prototype.useElOptionsToUpdate=function(){var e=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,e},t.type="graphic",t.defaultOption={elements:[]},t}(Ae),$A={path:null,compoundPath:null,group:de,image:Vt,text:Ve},rn=Ne(),yde=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){this._elMap=ne()},t.prototype.render=function(e,n,a){e!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=e,this._updateElements(e),this._relocate(e,a)},t.prototype._updateElements=function(e){var n=e.useElOptionsToUpdate();if(n){var a=this._elMap,i=this.group,o=e.get("z"),s=e.get("zlevel");M(n,function(l){var u=Ct(l.id,null),c=u!=null?a.get(u):null,f=Ct(l.parentId,null),h=f!=null?a.get(f):i,p=l.type,v=l.style;p==="text"&&v&&l.hv&&l.hv[1]&&(v.textVerticalAlign=v.textBaseline=v.verticalAlign=v.align=null);var m=l.textContent,g=l.textConfig;if(v&&$D(v,p,!!g,!!m)){var _=WD(v,p,!0);!g&&_.textConfig&&(g=l.textConfig=_.textConfig),!m&&_.textContent&&(m=_.textContent)}var y=wde(l);process.env.NODE_ENV!=="production"&&c&&se(h===c.parent,"Changing parent is not supported.");var w=l.$action||"merge",x=w==="merge",b=w==="replace";if(x){var S=!c,C=c;S?C=WA(u,h,l.type,a):(C&&(rn(C).isNew=!1),nA(C)),C&&($d(C,y,e,{isInit:S}),UA(C,l,o,s))}else if(b){ev(c,l,a,e);var D=WA(u,h,l.type,a);D&&($d(D,y,e,{isInit:!0}),UA(D,l,o,s))}else w==="remove"&&(JD(c,l),ev(c,l,a,e));var T=a.get(u);if(T&&m)if(x){var E=T.getTextContent();E?E.attr(m):T.setTextContent(new Ve(m))}else b&&T.setTextContent(new Ve(m));if(T){var A=l.clipPath;if(A){var k=A.type,I=void 0,S=!1;if(x){var L=T.getClipPath();S=!L||rn(L).type!==k,I=S?sy(k):L}else b&&(S=!0,I=sy(k));T.setClipPath(I),$d(I,A,e,{isInit:S}),Ud(I,A.keyframeAnimation,e)}var N=rn(T);T.setTextConfig(g),N.option=l,xde(T,e,l),Co({el:T,componentModel:e,itemName:T.name,itemTooltipOption:l.tooltip}),Ud(T,l.keyframeAnimation,e)}})}},t.prototype._relocate=function(e,n){for(var a=e.option.elements,i=this.group,o=this._elMap,s=n.getWidth(),l=n.getHeight(),u=["x","y"],c=0;c<a.length;c++){var f=a[c],h=Ct(f.id,null),p=h!=null?o.get(h):null;if(!(!p||!p.isGroup)){var v=p.parent,m=v===i,g=rn(p),_=rn(v);g.width=Z(g.option.width,m?s:_.width)||0,g.height=Z(g.option.height,m?l:_.height)||0}}for(var c=a.length-1;c>=0;c--){var f=a[c],h=Ct(f.id,null),p=h!=null?o.get(h):null;if(p){var v=p.parent,_=rn(v),y=v===i?{width:s,height:l}:{width:_.width,height:_.height},w={},x=Ap(p,f,y,null,{hv:f.hv,boundingMode:f.bounding},w);if(!rn(p).isNew&&x){for(var b=f.transition,S={},C=0;C<u.length;C++){var D=u[C],T=w[D];b&&(rs(b)||xe(b,D)>=0)?S[D]=T:p[D]=T}Oe(p,S,e,0)}else p.attr(w)}}},t.prototype._clear=function(){var e=this,n=this._elMap;n.each(function(a){ev(a,rn(a).option,n,e._lastGraphicModel)}),this._elMap=ne()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(nt);function sy(r){process.env.NODE_ENV!=="production"&&se(r,"graphic type MUST be set");var t=ee($A,r)?$A[r]:_2(r);process.env.NODE_ENV!=="production"&&se(t,"graphic type "+r+" can not be found");var e=new t({});return rn(e).type=r,e}function WA(r,t,e,n){var a=sy(e);return t.add(a),n.set(r,a),rn(a).id=r,rn(a).isNew=!0,a}function ev(r,t,e,n){var a=r&&r.parent;a&&(r.type==="group"&&r.traverse(function(i){ev(i,t,e,n)}),Wd(r,t,n),e.removeKey(rn(r).id))}function UA(r,t,e,n){r.isGroup||M([["cursor",$r.prototype.cursor],["zlevel",n||0],["z",e||0],["z2",0]],function(a){var i=a[0];ee(t,i)?r[i]=ve(t[i],a[1]):r[i]==null&&(r[i]=a[1])}),M(Me(t),function(a){if(a.indexOf("on")===0){var i=t[a];r[a]=ae(i)?i:null}}),ee(t,"draggable")&&(r.draggable=t.draggable),t.name!=null&&(r.name=t.name),t.id!=null&&(r.id=t.id)}function wde(r){return r=G({},r),M(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(y5),function(t){delete r[t]}),r}function xde(r,t,e){var n=ge(r).eventData;!r.silent&&!r.ignore&&!n&&(n=ge(r).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:r.name}),n&&(n.info=e.info)}function bde(r){r.registerComponentModel(_de),r.registerComponentView(yde),r.registerPreprocessor(function(t){var e=t.graphic;U(e)?!e[0]||!e[0].elements?t.graphic=[{elements:e}]:t.graphic=[t.graphic[0]]:e&&!e.elements&&(t.graphic=[{elements:[e]}])})}var YA=["x","y","radius","angle","single"],Sde=["cartesian2d","polar","singleAxis"];function Cde(r){var t=r.get("coordinateSystem");return xe(Sde,t)>=0}function bi(r){return process.env.NODE_ENV!=="production"&&se(r),r+"Axis"}function Ede(r,t){var e=ne(),n=[],a=ne();r.eachComponent({mainType:"dataZoom",query:t},function(c){a.get(c.uid)||s(c)});var i;do i=!1,r.eachComponent("dataZoom",o);while(i);function o(c){!a.get(c.uid)&&l(c)&&(s(c),i=!0)}function s(c){a.set(c.uid,!0),n.push(c),u(c)}function l(c){var f=!1;return c.eachTargetAxis(function(h,p){var v=e.get(h);v&&v[p]&&(f=!0)}),f}function u(c){c.eachTargetAxis(function(f,h){(e.get(f)||e.set(f,[]))[h]=!0})}return n}function jA(r){var t=r.ecModel,e={infoList:[],infoMap:ne()};return r.eachTargetAxis(function(n,a){var i=t.getComponent(bi(n),a);if(i){var o=i.getCoordSysModel();if(o){var s=o.uid,l=e.infoMap.get(s);l||(l={model:o,axisModels:[]},e.infoList.push(l),e.infoMap.set(s,l)),l.axisModels.push(i)}}}),e}var ly=function(){function r(){this.indexList=[],this.indexMap=[]}return r.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},r}(),ef=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._autoThrottle=!0,e._noTarget=!0,e._rangePropMode=["percent","percent"],e}return t.prototype.init=function(e,n,a){var i=XA(e);this.settledOption=i,this.mergeDefaultAndTheme(e,a),this._doInit(i)},t.prototype.mergeOption=function(e){var n=XA(e);_e(this.option,e,!0),_e(this.settledOption,n,!0),this._doInit(n)},t.prototype._doInit=function(e){var n=this.option;this._setDefaultThrottle(e),this._updateRangeUse(e);var a=this.settledOption;M([["start","startValue"],["end","endValue"]],function(i,o){this._rangePropMode[o]==="value"&&(n[i[0]]=a[i[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var e=this.get("orient",!0),n=this._targetAxisInfoMap=ne(),a=this._fillSpecifiedTargetAxis(n);a?this._orient=e||this._makeAutoOrientByTargetAxis():(this._orient=e||"horizontal",this._fillAutoTargetAxisByOrient(n,this._orient)),this._noTarget=!0,n.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(e){var n=!1;return M(YA,function(a){var i=this.getReferringComponents(bi(a),dJ);if(i.specified){n=!0;var o=new ly;M(i.models,function(s){o.add(s.componentIndex)}),e.set(a,o)}},this),n},t.prototype._fillAutoTargetAxisByOrient=function(e,n){var a=this.ecModel,i=!0;if(i){var o=n==="vertical"?"y":"x",s=a.findComponents({mainType:o+"Axis"});l(s,o)}if(i){var s=a.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===n}});l(s,"single")}function l(u,c){var f=u[0];if(f){var h=new ly;if(h.add(f.componentIndex),e.set(c,h),i=!1,c==="x"||c==="y"){var p=f.getReferringComponents("grid",yt).models[0];p&&M(u,function(v){f.componentIndex!==v.componentIndex&&p===v.getReferringComponents("grid",yt).models[0]&&h.add(v.componentIndex)})}}}i&&M(YA,function(u){if(i){var c=a.findComponents({mainType:bi(u),filter:function(h){return h.get("type",!0)==="category"}});if(c[0]){var f=new ly;f.add(c[0].componentIndex),e.set(u,f),i=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var e;return this.eachTargetAxis(function(n){!e&&(e=n)},this),e==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(e){if(e.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(e){var n=this._rangePropMode,a=this.get("rangeMode");M([["start","startValue"],["end","endValue"]],function(i,o){var s=e[i[0]]!=null,l=e[i[1]]!=null;s&&!l?n[o]="percent":!s&&l?n[o]="value":a?n[o]=a[o]:s&&(n[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var e;return this.eachTargetAxis(function(n,a){e==null&&(e=this.ecModel.getComponent(bi(n),a))},this),e},t.prototype.eachTargetAxis=function(e,n){this._targetAxisInfoMap.each(function(a,i){M(a.indexList,function(o){e.call(n,i,o)})})},t.prototype.getAxisProxy=function(e,n){var a=this.getAxisModel(e,n);if(a)return a.__dzAxisProxy},t.prototype.getAxisModel=function(e,n){process.env.NODE_ENV!=="production"&&se(e&&n!=null);var a=this._targetAxisInfoMap.get(e);if(a&&a.indexMap[n])return this.ecModel.getComponent(bi(e),n)},t.prototype.setRawRange=function(e){var n=this.option,a=this.settledOption;M([["start","startValue"],["end","endValue"]],function(i){(e[i[0]]!=null||e[i[1]]!=null)&&(n[i[0]]=a[i[0]]=e[i[0]],n[i[1]]=a[i[1]]=e[i[1]])},this),this._updateRangeUse(e)},t.prototype.setCalculatedRange=function(e){var n=this.option;M(["start","startValue","end","endValue"],function(a){n[a]=e[a]})},t.prototype.getPercentRange=function(){var e=this.findRepresentativeAxisProxy();if(e)return e.getDataPercentWindow()},t.prototype.getValueRange=function(e,n){if(e==null&&n==null){var a=this.findRepresentativeAxisProxy();if(a)return a.getDataValueWindow()}else return this.getAxisProxy(e,n).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(e){if(e)return e.__dzAxisProxy;for(var n,a=this._targetAxisInfoMap.keys(),i=0;i<a.length;i++)for(var o=a[i],s=this._targetAxisInfoMap.get(o),l=0;l<s.indexList.length;l++){var u=this.getAxisProxy(o,s.indexList[l]);if(u.hostedBy(this))return u;n||(n=u)}return n},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return process.env.NODE_ENV!=="production"&&se(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}(Ae);function XA(r){var t={};return M(["start","end","startValue","endValue","throttle"],function(e){r.hasOwnProperty(e)&&(t[e]=r[e])}),t}var Tde=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.select",t}(ef),uy=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a,i){this.dataZoomModel=e,this.ecModel=n,this.api=a},t.type="dataZoom",t}(nt),Dde=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.select",t}(uy),Nl=M,qA=Gr,Ade=function(){function r(t,e,n,a){this._dimName=t,this._axisIndex=e,this.ecModel=a,this._dataZoomModel=n}return r.prototype.hostedBy=function(t){return this._dataZoomModel===t},r.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},r.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},r.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(e){if(Cde(e)){var n=bi(this._dimName),a=e.getReferringComponents(n,yt).models[0];a&&this._axisIndex===a.componentIndex&&t.push(e)}},this),t},r.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},r.prototype.getMinMaxSpan=function(){return pe(this._minMaxSpan)},r.prototype.calculateDataWindow=function(t){var e=this._dataExtent,n=this.getAxisModel(),a=n.axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],s=[],l=[],u;Nl(["start","end"],function(h,p){var v=t[h],m=t[h+"Value"];i[p]==="percent"?(v==null&&(v=o[p]),m=a.parse(We(v,o,e))):(u=!0,m=m==null?e[p]:a.parse(m),v=We(m,e,o)),l[p]=m==null||isNaN(m)?e[p]:m,s[p]=v==null||isNaN(v)?o[p]:v}),qA(l),qA(s);var c=this._minMaxSpan;u?f(l,s,e,o,!1):f(s,l,o,e,!0);function f(h,p,v,m,g){var _=g?"Span":"ValueSpan";Qo(0,h,v,"all",c["min"+_],c["max"+_]);for(var y=0;y<2;y++)p[y]=We(h[y],v,m,!0),g&&(p[y]=a.parse(p[y]))}return{valueWindow:l,percentWindow:s}},r.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=Mde(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},r.prototype.filterData=function(t,e){if(t!==this._dataZoomModel)return;var n=this._dimName,a=this.getTargetSeriesModels(),i=t.get("filterMode"),o=this._valueWindow;if(i==="none")return;Nl(a,function(l){var u=l.getData(),c=u.mapDimensionsAll(n);if(c.length){if(i==="weakFilter"){var f=u.getStore(),h=Y(c,function(p){return u.getDimensionIndex(p)},u);u.filterSelf(function(p){for(var v,m,g,_=0;_<c.length;_++){var y=f.get(h[_],p),w=!isNaN(y),x=y<o[0],b=y>o[1];if(w&&!x&&!b)return!0;w&&(g=!0),x&&(v=!0),b&&(m=!0)}return g&&v&&m})}else Nl(c,function(p){if(i==="empty")l.setData(u=u.map(p,function(m){return s(m)?m:NaN}));else{var v={};v[p]=o,u.selectRange(v)}});Nl(c,function(p){u.setApproximateExtent(o,p)})}});function s(l){return l>=o[0]&&l<=o[1]}},r.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;Nl(["min","max"],function(a){var i=e.get(a+"Span"),o=e.get(a+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?i=We(n[0]+o,n,[0,100],!0):i!=null&&(o=We(i,[0,100],n,!0)-n[0]),t[a+"Span"]=i,t[a+"ValueSpan"]=o},this)},r.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var a=pw(n,[0,500]);a=Math.min(a,20);var i=t.axis.scale.rawExtentInfo;e[0]!==0&&i.setDeterminedMinMax("min",+n[0].toFixed(a)),e[1]!==100&&i.setDeterminedMinMax("max",+n[1].toFixed(a)),i.freeze()}},r}();function Mde(r,t,e){var n=[1/0,-1/0];Nl(e,function(o){uae(n,o.getData(),t)});var a=r.getAxisModel(),i=r9(a.axis.scale,a,n).calculate();return[i.min,i.max]}var kde={getTargetSeries:function(r){function t(a){r.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,s){var l=r.getComponent(bi(o),s);a(o,s,l,i)})})}t(function(a,i,o,s){o.__dzAxisProxy=null});var e=[];t(function(a,i,o,s){o.__dzAxisProxy||(o.__dzAxisProxy=new Ade(a,i,s,r),e.push(o.__dzAxisProxy))});var n=ne();return M(e,function(a){M(a.getTargetSeriesModels(),function(i){n.set(i.uid,i)})}),n},overallReset:function(r,t){r.eachComponent("dataZoom",function(e){e.eachTargetAxis(function(n,a){e.getAxisProxy(n,a).reset(e)}),e.eachTargetAxis(function(n,a){e.getAxisProxy(n,a).filterData(e,t)})}),r.eachComponent("dataZoom",function(e){var n=e.findRepresentativeAxisProxy();if(n){var a=n.getDataPercentWindow(),i=n.getDataValueWindow();e.setCalculatedRange({start:a[0],end:a[1],startValue:i[0],endValue:i[1]})}})}};function Lde(r){r.registerAction("dataZoom",function(t,e){var n=Ede(e,t);M(n,function(a){a.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var ZA=!1;function cy(r){ZA||(ZA=!0,r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,kde),Lde(r),r.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function Ide(r){r.registerComponentModel(Tde),r.registerComponentView(Dde),cy(r)}var nn=function(){function r(){}return r}(),KA={};function Pl(r,t){KA[r]=t}function JA(r){return KA[r]}var Nde=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(){r.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;M(this.option.feature,function(n,a){var i=JA(a);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),_e(n,i.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}(Ae);function Pde(r,t,e){var n=t.getBoxLayoutParams(),a=t.get("padding"),i={width:e.getWidth(),height:e.getHeight()},o=Et(n,i,a);Ao(t.get("orient"),r,t.get("itemGap"),o.width,o.height),Ap(r,n,i,a)}function QA(r,t){var e=tl(t.get("padding")),n=t.getItemStyle(["color","opacity"]);return n.fill=t.get("backgroundColor"),r=new Pe({shape:{x:r.x-e[3],y:r.y-e[0],width:r.width+e[1]+e[3],height:r.height+e[0]+e[2],r:t.get("borderRadius")},style:n,silent:!0,z2:-1}),r}var Vde=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,a,i){var o=this.group;if(o.removeAll(),!e.get("show"))return;var s=+e.get("itemSize"),l=e.get("orient")==="vertical",u=e.get("feature")||{},c=this._features||(this._features={}),f=[];M(u,function(v,m){f.push(m)}),new Da(this._featureNames||[],f).add(h).update(h).remove(me(h,null)).execute(),this._featureNames=f;function h(v,m){var g=f[v],_=f[m],y=u[g],w=new Ue(y,e,e.ecModel),x;if(i&&i.newTitle!=null&&i.featureName===g&&(y.title=i.newTitle),g&&!_){if(Bde(g))x={onclick:w.option.onclick,featureName:g};else{var b=JA(g);if(!b)return;x=new b}c[g]=x}else if(x=c[_],!x)return;x.uid=Ks("toolbox-feature"),x.model=w,x.ecModel=n,x.api=a;var S=x instanceof nn;if(!g&&_){S&&x.dispose&&x.dispose(n,a);return}if(!w.get("show")||S&&x.unusable){S&&x.remove&&x.remove(n,a);return}p(w,x,g),w.setIconStatus=function(C,D){var T=this.option,E=this.iconPaths;T.iconStatus=T.iconStatus||{},T.iconStatus[C]=D,E[C]&&(D==="emphasis"?ba:Sa)(E[C])},x instanceof nn&&x.render&&x.render(w,n,a,i)}function p(v,m,g){var _=v.getModel("iconStyle"),y=v.getModel(["emphasis","iconStyle"]),w=m instanceof nn&&m.getIcons?m.getIcons():v.get("icon"),x=v.get("title")||{},b,S;K(w)?(b={},b[g]=w):b=w,K(x)?(S={},S[g]=x):S=x;var C=v.iconPaths={};M(b,function(D,T){var E=qu(D,{},{x:-s/2,y:-s/2,width:s,height:s});E.setStyle(_.getItemStyle());var A=E.ensureState("emphasis");A.style=y.getItemStyle();var k=new Ve({style:{text:S[T],align:y.get("textAlign"),borderRadius:y.get("textBorderRadius"),padding:y.get("textPadding"),fill:null,font:x2({fontStyle:y.get("textFontStyle"),fontFamily:y.get("textFontFamily"),fontSize:y.get("textFontSize"),fontWeight:y.get("textFontWeight")},n)},ignore:!0});E.setTextContent(k),Co({el:E,componentModel:e,itemName:T,formatterParamsExtra:{title:S[T]}}),E.__title=S[T],E.on("mouseover",function(){var I=y.getItemStyle(),L=l?e.get("right")==null&&e.get("left")!=="right"?"right":"left":e.get("bottom")==null&&e.get("top")!=="bottom"?"bottom":"top";k.setStyle({fill:y.get("textFill")||I.fill||I.stroke||"#000",backgroundColor:y.get("textBackgroundColor")}),E.setTextConfig({position:y.get("textPosition")||L}),k.ignore=!e.get("showTitle"),a.enterEmphasis(this)}).on("mouseout",function(){v.get(["iconStatus",T])!=="emphasis"&&a.leaveEmphasis(this),k.hide()}),(v.get(["iconStatus",T])==="emphasis"?ba:Sa)(E),o.add(E),E.on("click",J(m.onclick,m,n,a,T)),C[T]=E})}Pde(o,e,a),o.add(QA(o.getBoundingRect(),e)),l||o.eachChild(function(v){var m=v.__title,g=v.ensureState("emphasis"),_=g.textConfig||(g.textConfig={}),y=v.getTextContent(),w=y&&y.ensureState("emphasis");if(w&&!ae(w)&&m){var x=w.style||(w.style={}),b=Au(m,Ve.makeFont(x)),S=v.x+o.x,C=v.y+o.y+s,D=!1;C+b.height>a.getHeight()&&(_.position="top",D=!0);var T=D?-5-b.height:s+10;S+b.width/2>a.getWidth()?(_.position=["100%",T],x.align="right"):S-b.width/2<0&&(_.position=[0,T],x.align="left")}})},t.prototype.updateView=function(e,n,a,i){M(this._features,function(o){o instanceof nn&&o.updateView&&o.updateView(o.model,n,a,i)})},t.prototype.remove=function(e,n){M(this._features,function(a){a instanceof nn&&a.remove&&a.remove(e,n)}),this.group.removeAll()},t.prototype.dispose=function(e,n){M(this._features,function(a){a instanceof nn&&a.dispose&&a.dispose(e,n)})},t.type="toolbox",t}(nt);function Bde(r){return r.indexOf("my")===0}var Ode=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){var a=this.model,i=a.get("name")||e.get("title.0.text")||"echarts",o=n.getZr().painter.getType()==="svg",s=o?"svg":a.get("type",!0)||"png",l=n.getConnectedDataURL({type:s,backgroundColor:a.get("backgroundColor",!0)||e.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")}),u=Ee.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=i+"."+s,c.target="_blank",c.href=l;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(f)}else if(window.navigator.msSaveOrOpenBlob||o){var h=l.split(","),p=h[0].indexOf("base64")>-1,v=o?decodeURIComponent(h[1]):h[1];p&&(v=window.atob(v));var m=i+"."+s;if(window.navigator.msSaveOrOpenBlob){for(var g=v.length,_=new Uint8Array(g);g--;)_[g]=v.charCodeAt(g);var y=new Blob([_]);window.navigator.msSaveOrOpenBlob(y,m)}else{var w=document.createElement("iframe");document.body.appendChild(w);var x=w.contentWindow,b=x.document;b.open("image/svg+xml","replace"),b.write(v),b.close(),x.focus(),b.execCommand("SaveAs",!0,m),document.body.removeChild(w)}}else{var S=a.get("lang"),C='<body style="margin:0;"><img src="'+l+'" style="max-width:100%;" title="'+(S&&S[0]||"")+'" /></body>',D=window.open();D.document.write(C),D.document.title=i}},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:e.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return n},t}(nn),eM="__ec_magicType_stack__",Rde=[["line","bar"],["stack"]],zde=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.getIcons=function(){var e=this.model,n=e.get("icon"),a={};return M(e.get("type"),function(i){n[i]&&(a[i]=n[i])}),a},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return n},t.prototype.onclick=function(e,n,a){var i=this.model,o=i.get(["seriesIndex",a]);if(tM[a]){var s={series:[]},l=function(f){var h=f.subType,p=f.id,v=tM[a](h,p,f,i);v&&(ue(v,f.option),s.series.push(v));var m=f.coordinateSystem;if(m&&m.type==="cartesian2d"&&(a==="line"||a==="bar")){var g=m.getAxesByScale("ordinal")[0];if(g){var _=g.dim,y=_+"Axis",w=f.getReferringComponents(y,yt).models[0],x=w.componentIndex;s[y]=s[y]||[];for(var b=0;b<=x;b++)s[y][x]=s[y][x]||{};s[y][x].boundaryGap=a==="bar"}}};M(Rde,function(f){xe(f,a)>=0&&M(f,function(h){i.setIconStatus(h,"normal")})}),i.setIconStatus(a,"emphasis"),e.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},l);var u,c=a;a==="stack"&&(u=_e({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),i.get(["iconStatus",a])!=="emphasis"&&(c="tiled")),n.dispatchAction({type:"changeMagicType",currentType:c,newOption:s,newTitle:u,featureName:"magicType"})}},t}(nn),tM={line:function(r,t,e,n){if(r==="bar")return _e({id:t,type:"line",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","line"])||{},!0)},bar:function(r,t,e,n){if(r==="line")return _e({id:t,type:"bar",data:e.get("data"),stack:e.get("stack"),markPoint:e.get("markPoint"),markLine:e.get("markLine")},n.get(["option","bar"])||{},!0)},stack:function(r,t,e,n){var a=e.get("stack")===eM;if(r==="line"||r==="bar")return n.setIconStatus("stack",a?"normal":"emphasis"),_e({id:t,stack:a?"":eM},n.get(["option","stack"])||{},!0)}};qn({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(r,t){t.mergeOption(r.newOption)});var tv=new Array(60).join("-"),Vl=" ";function Hde(r){var t={},e=[],n=[];return r.eachRawSeries(function(a){var i=a.coordinateSystem;if(i&&(i.type==="cartesian2d"||i.type==="polar")){var o=i.getBaseAxis();if(o.type==="category"){var s=o.dim+"_"+o.index;t[s]||(t[s]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},n.push({axisDim:o.dim,axisIndex:o.index})),t[s].series.push(a)}else e.push(a)}else e.push(a)}),{seriesGroupByCategoryAxis:t,other:e,meta:n}}function Fde(r){var t=[];return M(r,function(e,n){var a=e.categoryAxis,i=e.valueAxis,o=i.dim,s=[" "].concat(Y(e.series,function(p){return p.name})),l=[a.model.getCategories()];M(e.series,function(p){var v=p.getRawData();l.push(p.getRawData().mapArray(v.mapDimension(o),function(m){return m}))});for(var u=[s.join(Vl)],c=0;c<l[0].length;c++){for(var f=[],h=0;h<l.length;h++)f.push(l[h][c]);u.push(f.join(Vl))}t.push(u.join(`
|
|
87
|
-
`))}),t.join(`
|
|
88
|
-
|
|
89
|
-
`+tv+`
|
|
90
|
-
|
|
91
|
-
`)}function Gde(r){return Y(r,function(t){var e=t.getRawData(),n=[t.name],a=[];return e.each(e.dimensions,function(){for(var i=arguments.length,o=arguments[i-1],s=e.getName(o),l=0;l<i-1;l++)a[l]=arguments[l];n.push((s?s+Vl:"")+a.join(Vl))}),n.join(`
|
|
92
|
-
`)}).join(`
|
|
93
|
-
|
|
94
|
-
`+tv+`
|
|
95
|
-
|
|
96
|
-
`)}function $de(r){var t=Hde(r);return{value:Fe([Fde(t.seriesGroupByCategoryAxis),Gde(t.other)],function(e){return!!e.replace(/[\n\t\s]/g,"")}).join(`
|
|
97
|
-
|
|
98
|
-
`+tv+`
|
|
99
|
-
|
|
100
|
-
`),meta:t.meta}}function rv(r){return r.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Wde(r){var t=r.slice(0,r.indexOf(`
|
|
101
|
-
`));if(t.indexOf(Vl)>=0)return!0}var fy=new RegExp("["+Vl+"]+","g");function Ude(r){for(var t=r.split(/\n+/g),e=rv(t.shift()).split(fy),n=[],a=Y(e,function(l){return{name:l,data:[]}}),i=0;i<t.length;i++){var o=rv(t[i]).split(fy);n.push(o.shift());for(var s=0;s<o.length;s++)a[s]&&(a[s].data[i]=o[s])}return{series:a,categories:n}}function Yde(r){for(var t=r.split(/\n+/g),e=rv(t.shift()),n=[],a=0;a<t.length;a++){var i=rv(t[a]);if(i){var o=i.split(fy),s="",l=void 0,u=!1;isNaN(o[0])?(u=!0,s=o[0],o=o.slice(1),n[a]={name:s,value:[]},l=n[a].value):l=n[a]=[];for(var c=0;c<o.length;c++)l.push(+o[c]);l.length===1&&(u?n[a].value=l[0]:n[a]=l[0])}}return{name:e,data:n}}function jde(r,t){var e=r.split(new RegExp(`
|
|
102
|
-
*`+tv+`
|
|
103
|
-
*`,"g")),n={series:[]};return M(e,function(a,i){if(Wde(a)){var o=Ude(a),s=t[i],l=s.axisDim+"Axis";s&&(n[l]=n[l]||[],n[l][s.axisIndex]={data:o.categories},n.series=n.series.concat(o.series))}else{var o=Yde(a);n.series.push(o)}}),n}var Xde=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){setTimeout(function(){n.dispatchAction({type:"hideTip"})});var a=n.getDom(),i=this.model;this._dom&&a.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",o.style.backgroundColor=i.get("backgroundColor")||"#fff";var s=document.createElement("h4"),l=i.get("lang")||[];s.innerHTML=l[0]||i.get("title"),s.style.cssText="margin:10px 20px",s.style.color=i.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="overflow:auto";var f=i.get("optionToContent"),h=i.get("contentToOption"),p=$de(e);if(ae(f)){var v=f(n.getOption());K(v)?u.innerHTML=v:Wi(v)&&u.appendChild(v)}else{c.readOnly=i.get("readOnly");var m=c.style;m.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",m.color=i.get("textColor"),m.borderColor=i.get("textareaBorderColor"),m.backgroundColor=i.get("textareaColor"),c.value=p.value,u.appendChild(c)}var g=p.meta,_=document.createElement("div");_.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",w=document.createElement("div"),x=document.createElement("div");y+=";background-color:"+i.get("buttonColor"),y+=";color:"+i.get("buttonTextColor");var b=this;function S(){a.removeChild(o),b._dom=null}W0(w,"click",S),W0(x,"click",function(){if(h==null&&f!=null||h!=null&&f==null){process.env.NODE_ENV!=="production"&&it("It seems you have just provided one of `contentToOption` and `optionToContent` functions but missed the other one. Data change is ignored."),S();return}var C;try{ae(h)?C=h(u,n.getOption()):C=jde(c.value,g)}catch(D){throw S(),new Error("Data view format error "+D)}C&&n.dispatchAction({type:"changeDataView",newOption:C}),S()}),w.innerHTML=l[1],x.innerHTML=l[2],x.style.cssText=w.style.cssText=y,!i.get("readOnly")&&_.appendChild(x),_.appendChild(w),o.appendChild(s),o.appendChild(u),o.appendChild(_),u.style.height=a.clientHeight-80+"px",a.appendChild(o),this._dom=o},t.prototype.remove=function(e,n){this._dom&&n.getDom().removeChild(this._dom)},t.prototype.dispose=function(e,n){this.remove(e,n)},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","dataView","title"]),lang:e.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return n},t}(nn);function qde(r,t){return Y(r,function(e,n){var a=t&&t[n];if(oe(a)&&!U(a)){var i=oe(e)&&!U(e);i||(e={value:e});var o=a.name!=null&&e.name==null;return e=ue(e,a),o&&delete e.name,e}else return e})}qn({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(r,t){var e=[];M(r.newOption.series,function(n){var a=t.getSeriesByName(n.name)[0];if(!a)e.push(G({type:"scatter"},n));else{var i=a.get("data");e.push({name:n.name,data:qde(n.data,i)})}}),t.mergeOption(ue({series:e},r.newOption))});var rM=M,nM=Ne();function Zde(r,t){var e=hy(r);rM(t,function(n,a){for(var i=e.length-1;i>=0;i--){var o=e[i];if(o[a])break}if(i<0){var s=r.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(s){var l=s.getPercentRange();e[0][a]={dataZoomId:a,start:l[0],end:l[1]}}}}),e.push(t)}function Kde(r){var t=hy(r),e=t[t.length-1];t.length>1&&t.pop();var n={};return rM(e,function(a,i){for(var o=t.length-1;o>=0;o--)if(a=t[o][i],a){n[i]=a;break}}),n}function Jde(r){nM(r).snapshots=null}function Qde(r){return hy(r).length}function hy(r){var t=nM(r);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var eve=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.onclick=function(e,n){Jde(e),n.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","restore","title"])};return n},t}(nn);qn({type:"restore",event:"restore",update:"prepareAndUpdate"},function(r,t){t.resetOption("recreate")});var tve=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],py=function(){function r(t,e,n){var a=this;this._targetInfoList=[];var i=aM(e,t);M(rve,function(o,s){(!n||!n.include||xe(n.include,s)>=0)&&o(i,a._targetInfoList)})}return r.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,function(n,a,i){if((n.coordRanges||(n.coordRanges=[])).push(a),!n.coordRange){n.coordRange=a;var o=vy[n.brushType](0,i,a);n.__rangeOffset={offset:lM[n.brushType](o.values,n.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},r.prototype.matchOutputRanges=function(t,e,n){M(t,function(a){var i=this.findTargetInfo(a,e);i&&i!==!0&&M(i.coordSyses,function(o){var s=vy[a.brushType](1,o,a.range,!0);n(a,s.values,o,e)})},this)},r.prototype.setInputRanges=function(t,e){M(t,function(n){var a=this.findTargetInfo(n,e);if(process.env.NODE_ENV!=="production"&&(se(!a||a===!0||n.coordRange,"coordRange must be specified when coord index specified."),se(!a||a!==!0||n.range,"range must be specified in global brush.")),n.range=n.range||[],a&&a!==!0){n.panelId=a.panelId;var i=vy[n.brushType](0,a.coordSys,n.coordRange),o=n.__rangeOffset;n.range=o?lM[n.brushType](i.values,o.offset,nve(i.xyMinMax,o.xyMinMax)):i.values}},this)},r.prototype.makePanelOpts=function(t,e){return Y(this._targetInfoList,function(n){var a=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:rD(a),isTargetByCursor:aD(a,t,n.coordSysModel),getLinearBrushOtherExtent:nD(a)}})},r.prototype.controlSeries=function(t,e,n){var a=this.findTargetInfo(t,n);return a===!0||a&&xe(a.coordSyses,e.coordinateSystem)>=0},r.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,a=aM(e,t),i=0;i<n.length;i++){var o=n[i],s=t.panelId;if(s){if(o.panelId===s)return o}else for(var l=0;l<iM.length;l++)if(iM[l](a,o))return o}return!0},r}();function dy(r){return r[0]>r[1]&&r.reverse(),r}function aM(r,t){return Nu(r,t,{includeMainTypes:tve})}var rve={grid:function(r,t){var e=r.xAxisModels,n=r.yAxisModels,a=r.gridModels,i=ne(),o={},s={};!e&&!n&&!a||(M(e,function(l){var u=l.axis.grid.model;i.set(u.id,u),o[u.id]=!0}),M(n,function(l){var u=l.axis.grid.model;i.set(u.id,u),s[u.id]=!0}),M(a,function(l){i.set(l.id,l),o[l.id]=!0,s[l.id]=!0}),i.each(function(l){var u=l.coordinateSystem,c=[];M(u.getCartesians(),function(f,h){(xe(e,f.getAxis("x").model)>=0||xe(n,f.getAxis("y").model)>=0)&&c.push(f)}),t.push({panelId:"grid--"+l.id,gridModel:l,coordSysModel:l,coordSys:c[0],coordSyses:c,getPanelRect:oM.grid,xAxisDeclared:o[l.id],yAxisDeclared:s[l.id]})}))},geo:function(r,t){M(r.geoModels,function(e){var n=e.coordinateSystem;t.push({panelId:"geo--"+e.id,geoModel:e,coordSysModel:e,coordSys:n,coordSyses:[n],getPanelRect:oM.geo})})}},iM=[function(r,t){var e=r.xAxisModel,n=r.yAxisModel,a=r.gridModel;return!a&&e&&(a=e.axis.grid.model),!a&&n&&(a=n.axis.grid.model),a&&a===t.gridModel},function(r,t){var e=r.geoModel;return e&&e===t.geoModel}],oM={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var r=this.coordSys,t=r.getBoundingRect().clone();return t.applyTransform(So(r)),t}},vy={lineX:me(sM,0),lineY:me(sM,1),rect:function(r,t,e,n){var a=r?t.pointToData([e[0][0],e[1][0]],n):t.dataToPoint([e[0][0],e[1][0]],n),i=r?t.pointToData([e[0][1],e[1][1]],n):t.dataToPoint([e[0][1],e[1][1]],n),o=[dy([a[0],i[0]]),dy([a[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(r,t,e,n){var a=[[1/0,-1/0],[1/0,-1/0]],i=Y(e,function(o){var s=r?t.pointToData(o,n):t.dataToPoint(o,n);return a[0][0]=Math.min(a[0][0],s[0]),a[1][0]=Math.min(a[1][0],s[1]),a[0][1]=Math.max(a[0][1],s[0]),a[1][1]=Math.max(a[1][1],s[1]),s});return{values:i,xyMinMax:a}}};function sM(r,t,e,n){process.env.NODE_ENV!=="production"&&se(e.type==="cartesian2d","lineX/lineY brush is available only in cartesian2d.");var a=e.getAxis(["x","y"][r]),i=dy(Y([0,1],function(s){return t?a.coordToData(a.toLocalCoord(n[s]),!0):a.toGlobalCoord(a.dataToCoord(n[s]))})),o=[];return o[r]=i,o[1-r]=[NaN,NaN],{values:i,xyMinMax:o}}var lM={lineX:me(uM,0),lineY:me(uM,1),rect:function(r,t,e){return[[r[0][0]-e[0]*t[0][0],r[0][1]-e[0]*t[0][1]],[r[1][0]-e[1]*t[1][0],r[1][1]-e[1]*t[1][1]]]},polygon:function(r,t,e){return Y(r,function(n,a){return[n[0]-e[0]*t[a][0],n[1]-e[1]*t[a][1]]})}};function uM(r,t,e,n){return[t[0]-n[r]*e[0],t[1]-n[r]*e[1]]}function nve(r,t){var e=cM(r),n=cM(t),a=[e[0]/n[0],e[1]/n[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function cM(r){return r?[r[0][1]-r[0][0],r[1][1]-r[1][0]]:[NaN,NaN]}var gy=M,ave=uJ("toolbox-dataZoom_"),ive=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,a,i){this._brushController||(this._brushController=new p_(a.getZr()),this._brushController.on("brush",J(this._onBrush,this)).mount()),lve(e,n,this,i,a),sve(e,n)},t.prototype.onclick=function(e,n,a){ove[a].call(this)},t.prototype.remove=function(e,n){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(e,n){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(e){var n=e.areas;if(!e.isEnd||!n.length)return;var a={},i=this.ecModel;this._brushController.updateCovers([]);var o=new py(my(this.model),i,{include:["grid"]});o.matchOutputRanges(n,i,function(u,c,f){if(f.type==="cartesian2d"){var h=u.brushType;h==="rect"?(s("x",f,c[0]),s("y",f,c[1])):s({lineX:"x",lineY:"y"}[h],f,c)}}),Zde(i,a),this._dispatchZoomAction(a);function s(u,c,f){var h=c.getAxis(u),p=h.model,v=l(u,p,i),m=v.findRepresentativeAxisProxy(p).getMinMaxSpan();(m.minValueSpan!=null||m.maxValueSpan!=null)&&(f=Qo(0,f.slice(),h.scale.getExtent(),0,m.minValueSpan,m.maxValueSpan)),v&&(a[v.id]={dataZoomId:v.id,startValue:f[0],endValue:f[1]})}function l(u,c,f){var h;return f.eachComponent({mainType:"dataZoom",subType:"select"},function(p){var v=p.getAxisModel(u,c.componentIndex);v&&(h=p)}),h}},t.prototype._dispatchZoomAction=function(e){var n=[];gy(e,function(a,i){n.push(pe(a))}),n.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:n})},t.getDefaultOption=function(e){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:e.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return n},t}(nn),ove={zoom:function(){var r=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:r})},back:function(){this._dispatchZoomAction(Kde(this.ecModel))}};function my(r){var t={xAxisIndex:r.get("xAxisIndex",!0),yAxisIndex:r.get("yAxisIndex",!0),xAxisId:r.get("xAxisId",!0),yAxisId:r.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function sve(r,t){r.setIconStatus("back",Qde(t)>1?"emphasis":"normal")}function lve(r,t,e,n,a){var i=e._isZoomActive;n&&n.type==="takeGlobalCursor"&&(i=n.key==="dataZoomSelect"?n.dataZoomSelectActive:!1),e._isZoomActive=i,r.setIconStatus("zoom",i?"emphasis":"normal");var o=new py(my(r),t,{include:["grid"]}),s=o.makePanelOpts(a,function(l){return l.xAxisDeclared&&!l.yAxisDeclared?"lineX":!l.xAxisDeclared&&l.yAxisDeclared?"lineY":"rect"});e._brushController.setPanels(s).enableBrush(i&&s.length?{brushType:"auto",brushStyle:r.getModel("brushStyle").getItemStyle()}:!1)}Pee("dataZoom",function(r){var t=r.getComponent("toolbox",0),e=["feature","dataZoom"];if(!t||t.get(e)==null)return;var n=t.getModel(e),a=[],i=my(n),o=Nu(r,i);gy(o.xAxisModels,function(l){return s(l,"xAxis","xAxisIndex")}),gy(o.yAxisModels,function(l){return s(l,"yAxis","yAxisIndex")});function s(l,u,c){var f=l.componentIndex,h={type:"select",$fromToolbox:!0,filterMode:n.get("filterMode",!0)||"filter",id:ave+u+f};h[c]=f,a.push(h)}return a});function uve(r){r.registerComponentModel(Nde),r.registerComponentView(Vde),Pl("saveAsImage",Ode),Pl("magicType",zde),Pl("dataView",Xde),Pl("dataZoom",ive),Pl("restore",eve),Se(Ide)}var cve=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}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}(Ae);function fM(r){var t=r.get("confine");return t!=null?!!t:r.get("renderMode")==="richText"}function hM(r){if(Ee.domSupported){for(var t=document.documentElement.style,e=0,n=r.length;e<n;e++)if(r[e]in t)return r[e]}}var pM=hM(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),fve=hM(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function dM(r,t){if(!r)return t;t=g5(t,!0);var e=r.indexOf(t);return r=e===-1?t:"-"+r.slice(0,e)+"-"+t,r.toLowerCase()}function hve(r,t){var e=r.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(r);return e?e[t]:null}var pve=dM(fve,"transition"),_y=dM(pM,"transform"),dve="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Ee.transform3dSupported?"will-change:transform;":"");function vve(r){return r=r==="left"?"right":r==="right"?"left":r==="top"?"bottom":"top",r}function gve(r,t,e){if(!K(e)||e==="inside")return"";var n=r.get("backgroundColor"),a=r.get("borderWidth");t=To(t);var i=vve(e),o=Math.max(Math.round(a)*1.5,6),s="",l=_y+":",u;xe(["left","right"],i)>-1?(s+="top:50%",l+="translateY(-50%) rotate("+(u=i==="left"?-225:-45)+"deg)"):(s+="left:50%",l+="translateX(-50%) rotate("+(u=i==="top"?225:45)+"deg)");var c=u*Math.PI/180,f=o+a,h=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),p=Math.round(((h-Math.SQRT2*a)/2+Math.SQRT2*a-(h-f)/2)*100)/100;s+=";"+i+":-"+p+"px";var v=t+" solid "+a+"px;",m=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",s+";"+l+";","border-bottom:"+v,"border-right:"+v,"background-color:"+n+";"];return'<div style="'+m.join("")+'"></div>'}function mve(r,t){var e="cubic-bezier(0.23,1,0.32,1)",n=" "+r/2+"s "+e,a="opacity"+n+",visibility"+n;return t||(n=" "+r+"s "+e,a+=Ee.transformSupported?","+_y+n:",left"+n+",top"+n),pve+":"+a}function vM(r,t,e){var n=r.toFixed(0)+"px",a=t.toFixed(0)+"px";if(!Ee.transformSupported)return e?"top:"+a+";left:"+n+";":[["top",a],["left",n]];var i=Ee.transform3dSupported,o="translate"+(i?"3d":"")+"("+n+","+a+(i?",0":"")+")";return e?"top:0;left:0;"+_y+":"+o+";":[["top",0],["left",0],[pM,o]]}function _ve(r){var t=[],e=r.get("fontSize"),n=r.getTextColor();n&&t.push("color:"+n),t.push("font:"+r.getFont());var a=ve(r.get("lineHeight"),Math.round(e*3/2));e&&t.push("line-height:"+a+"px");var i=r.get("textShadowColor"),o=r.get("textShadowBlur")||0,s=r.get("textShadowOffsetX")||0,l=r.get("textShadowOffsetY")||0;return i&&o&&t.push("text-shadow:"+s+"px "+l+"px "+o+"px "+i),M(["decoration","align"],function(u){var c=r.get(u);c&&t.push("text-"+u+":"+c)}),t.join(";")}function yve(r,t,e){var n=[],a=r.get("transitionDuration"),i=r.get("backgroundColor"),o=r.get("shadowBlur"),s=r.get("shadowColor"),l=r.get("shadowOffsetX"),u=r.get("shadowOffsetY"),c=r.getModel("textStyle"),f=wb(r,"html"),h=l+"px "+u+"px "+o+"px "+s;return n.push("box-shadow:"+h),t&&a&&n.push(mve(a,e)),i&&n.push("background-color:"+i),M(["width","color","radius"],function(p){var v="border-"+p,m=g5(v),g=r.get(m);g!=null&&n.push(v+":"+g+(p==="color"?"":"px"))}),n.push(_ve(c)),f!=null&&n.push("padding:"+tl(f).join("px ")+"px"),n.join(";")+";"}function gM(r,t,e,n,a){var i=t&&t.painter;if(e){var o=i&&i.getViewportRoot();o&&BZ(r,o,e,n,a)}else{r[0]=n,r[1]=a;var s=i&&i.getViewportRootOffset();s&&(r[0]+=s.offsetLeft,r[1]+=s.offsetTop)}r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var wve=function(){function r(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Ee.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var a=this._zr=t.getZr(),i=e.appendTo,o=i&&(K(i)?document.querySelector(i):Wi(i)?i:ae(i)&&i(t.getDom()));gM(this._styleCoord,a,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(l){if(l=l||window.event,!s._enterable){var u=a.handler,c=a.painter.getViewportRoot();zr(c,l,!0),u.dispatch("mousemove",l)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return r.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=hve(e,"position"),a=e.style;a.position!=="absolute"&&n!=="absolute"&&(a.position="relative")}var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=t.get("className")||""},r.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,a=n.style,i=this._styleCoord;n.innerHTML?a.cssText=dve+yve(t,!this._firstShow,this._longHide)+vM(i[0],i[1],!0)+("border-color:"+To(e)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},r.prototype.setContent=function(t,e,n,a,i){var o=this.el;if(t==null){o.innerHTML="";return}var s="";if(K(i)&&n.get("trigger")==="item"&&!fM(n)&&(s=gve(n,a,i)),K(t))o.innerHTML=t+s;else if(t){o.innerHTML="",U(t)||(t=[t]);for(var l=0;l<t.length;l++)Wi(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(s&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=s,o.appendChild(u)}}},r.prototype.setEnterable=function(t){this._enterable=t},r.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},r.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(gM(n,this._zr,this._container,t,e),n[0]!=null&&n[1]!=null){var a=this.el.style,i=vM(n[0],n[1]);M(i,function(o){a[o[0]]=o[1]})}}},r.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},r.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",Ee.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},r.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(J(this.hide,this),t)):this.hide())},r.prototype.isShow=function(){return this._show},r.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},r}(),xve=function(){function r(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),_M(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return r.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},r.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},r.prototype.setContent=function(t,e,n,a,i){var o=this;oe(t)&&Ge(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 Ve({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:a,textShadowColor:s.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:wb(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),M(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(u){o.el.style[u]=n.get(u)}),M(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(u){o.el.style[u]=s.get(u)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},r.prototype.setEnterable=function(t){this._enterable=t},r.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=mM(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},r.prototype.moveTo=function(t,e){var n=this.el;if(n){var a=this._styleCoord;_M(a,this._zr,t,e),t=a[0],e=a[1];var i=n.style,o=Si(i.borderWidth||0),s=mM(i);n.x=t+o+s.left,n.y=e+o+s.top,n.markRedraw()}},r.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},r.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},r.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(J(this.hide,this),t)):this.hide())},r.prototype.isShow=function(){return this._show},r.prototype.dispose=function(){this._zr.remove(this.el)},r}();function Si(r){return Math.max(0,r)}function mM(r){var t=Si(r.shadowBlur||0),e=Si(r.shadowOffsetX||0),n=Si(r.shadowOffsetY||0);return{left:Si(t-e),right:Si(t+e),top:Si(t-n),bottom:Si(t+n)}}function _M(r,t,e,n){r[0]=e,r[1]=n,r[2]=r[0]/t.getWidth(),r[3]=r[1]/t.getHeight()}var bve=new Pe({shape:{x:-1,y:-1,width:2,height:2}}),Sve=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){if(!(Ee.node||!n.getDom())){var a=e.getComponent("tooltip"),i=this._renderMode=gJ(a.get("renderMode"));this._tooltipContent=i==="richText"?new xve(n):new wve(n,{appendTo:a.get("appendToBody",!0)?"body":a.get("appendTo",!0)})}},t.prototype.render=function(e,n,a){if(!(Ee.node||!a.getDom())){this.group.removeAll(),this._tooltipModel=e,this._ecModel=n,this._api=a;var i=this._tooltipContent;i.update(e),i.setEnterable(e.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&e.get("transitionDuration")?cl(this,"_updatePosition",50,"fixRate"):sc(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var e=this._tooltipModel,n=e.get("triggerOn");CA("itemTooltip",this._api,J(function(a,i,o){n!=="none"&&(n.indexOf(a)>=0?this._tryShow(i,o):a==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var e=this._tooltipModel,n=this._ecModel,a=this._api,i=e.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!a.isDisposed()&&o.manuallyShowTip(e,n,a,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(e,n,a,i){if(!(i.from===this.uid||Ee.node||!a.getDom())){var o=yM(i,a);this._ticket="";var s=i.dataByCoordSys,l=Dve(i,n,a);if(l){var u=l.el.getBoundingRect().clone();u.applyTransform(l.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:l.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&i.x!=null&&i.y!=null){var c=bve;c.x=i.x,c.y=i.y,c.update(),ge(c).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:c},o)}else if(s)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:s,tooltipOption:i.tooltipOption},o);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(e,n,a,i))return;var f=TA(i,n),h=f.point[0],p=f.point[1];h!=null&&p!=null&&this._tryShow({offsetX:h,offsetY:p,target:f.el,position:i.position,positionDefault:"bottom"},o)}else i.x!=null&&i.y!=null&&(a.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:a.getZr().findHover(i.x,i.y).target},o))}},t.prototype.manuallyHideTip=function(e,n,a,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(yM(i,a))},t.prototype._manuallyAxisShowTip=function(e,n,a,i){var o=i.seriesIndex,s=i.dataIndex,l=n.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||s==null||l==null)){var u=n.getSeriesByIndex(o);if(u){var c=u.getData(),f=tf([c.getItemModel(s),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return a.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:s,position:i.position}),!0}}},t.prototype._tryShow=function(e,n){var a=e.target,i=this._tooltipModel;if(i){this._lastX=e.offsetX,this._lastY=e.offsetY;var o=e.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,e);else if(a){var s=ge(a);if(s.ssrType==="legend")return;this._lastDataByCoordSys=null;var l,u;Io(a,function(c){if(ge(c).dataIndex!=null)return l=c,!0;if(ge(c).tooltipConfig!=null)return u=c,!0},!0),l?this._showSeriesItemTooltip(e,l,n):u?this._showComponentItemTooltip(e,u,n):this._hide(n)}else this._lastDataByCoordSys=null,this._hide(n)}},t.prototype._showOrMove=function(e,n){var a=e.get("showDelay");n=J(n,this),clearTimeout(this._showTimout),a>0?this._showTimout=setTimeout(n,a):n()},t.prototype._showAxisTooltip=function(e,n){var a=this._ecModel,i=this._tooltipModel,o=[n.offsetX,n.offsetY],s=tf([n.tooltipOption],i),l=this._renderMode,u=[],c=Mt("section",{blocks:[],noHeader:!0}),f=[],h=new t1;M(e,function(y){M(y.dataByAxis,function(w){var x=a.getComponent(w.axisDim+"Axis",w.axisIndex),b=w.value;if(!(!x||b==null)){var S=_A(b,x.axis,a,w.seriesDataIndices,w.valueLabelOpt),C=Mt("section",{header:S,noHeader:!pn(S),sortBlocks:!0,blocks:[]});c.blocks.push(C),M(w.seriesDataIndices,function(D){var T=a.getSeriesByIndex(D.seriesIndex),E=D.dataIndexInside,A=T.getDataParams(E);if(!(A.dataIndex<0)){A.axisDim=w.axisDim,A.axisIndex=w.axisIndex,A.axisType=w.axisType,A.axisId=w.axisId,A.axisValue=V1(x.axis,{value:b}),A.axisValueLabel=S,A.marker=h.makeTooltipMarker("item",To(A.color),l);var k=eb(T.formatTooltip(E,!0,null)),I=k.frag;if(I){var L=tf([T],i).get("valueFormatter");C.blocks.push(L?G({valueFormatter:L},I):I)}k.text&&f.push(k.text),u.push(A)}})}})}),c.blocks.reverse(),f.reverse();var p=n.position,v=s.get("order"),m=mb(c,h,l,v,a.get("useUTC"),s.get("textStyle"));m&&f.unshift(m);var g=l==="richText"?`
|
|
104
|
-
|
|
105
|
-
`:"<br/>",_=f.join(g);this._showOrMove(s,function(){this._updateContentNotChangedOnAxis(e,u)?this._updatePosition(s,p,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(s,_,u,Math.random()+"",o[0],o[1],p,null,h)})},t.prototype._showSeriesItemTooltip=function(e,n,a){var i=this._ecModel,o=ge(n),s=o.seriesIndex,l=i.getSeriesByIndex(s),u=o.dataModel||l,c=o.dataIndex,f=o.dataType,h=u.getData(f),p=this._renderMode,v=e.positionDefault,m=tf([h.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=m.get("trigger");if(!(g!=null&&g!=="item")){var _=u.getDataParams(c,f),y=new t1;_.marker=y.makeTooltipMarker("item",To(_.color),p);var w=eb(u.formatTooltip(c,!1,f)),x=m.get("order"),b=m.get("valueFormatter"),S=w.frag,C=S?mb(b?G({valueFormatter:b},S):S,y,p,x,i.get("useUTC"),m.get("textStyle")):w.text,D="item_"+u.name+"_"+c;this._showOrMove(m,function(){this._showTooltipContent(m,C,_,D,e.offsetX,e.offsetY,e.position,e.target,y)}),a({type:"showTip",dataIndexInside:c,dataIndex:h.getRawIndex(c),seriesIndex:s,from:this.uid})}},t.prototype._showComponentItemTooltip=function(e,n,a){var i=this._renderMode==="html",o=ge(n),s=o.tooltipConfig,l=s.option||{},u=l.encodeHTMLContent;if(K(l)){var c=l;l={content:c,formatter:c},u=!0}u&&i&&l.content&&(l=pe(l),l.content=ir(l.content));var f=[l],h=this._ecModel.getComponent(o.componentMainType,o.componentIndex);h&&f.push(h),f.push({formatter:l.content});var p=e.positionDefault,v=tf(f,this._tooltipModel,p?{position:p}:null),m=v.get("content"),g=Math.random()+"",_=new t1;this._showOrMove(v,function(){var y=pe(v.get("formatterParams")||{});this._showTooltipContent(v,m,y,g,e.offsetX,e.offsetY,e.position,n,_)}),a({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(e,n,a,i,o,s,l,u,c){if(this._ticket="",!(!e.get("showContent")||!e.get("show"))){var f=this._tooltipContent;f.setEnterable(e.get("enterable"));var h=e.get("formatter");l=l||e.get("position");var p=n,v=this._getNearestPoint([o,s],a,e.get("trigger"),e.get("borderColor")),m=v.color;if(h)if(K(h)){var g=e.ecModel.get("useUTC"),_=U(a)?a[0]:a,y=_&&_.axisType&&_.axisType.indexOf("time")>=0;p=h,y&&(p=xp(_.axisValue,p,g)),p=_5(p,a,!0)}else if(ae(h)){var w=J(function(x,b){x===this._ticket&&(f.setContent(b,c,e,m,l),this._updatePosition(e,l,o,s,f,a,u))},this);this._ticket=i,p=h(a,i,w)}else p=h;f.setContent(p,c,e,m,l),f.show(e,m),this._updatePosition(e,l,o,s,f,a,u)}},t.prototype._getNearestPoint=function(e,n,a,i){if(a==="axis"||U(n))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!U(n))return{color:i||n.color||n.borderColor}},t.prototype._updatePosition=function(e,n,a,i,o,s,l){var u=this._api.getWidth(),c=this._api.getHeight();n=n||e.get("position");var f=o.getSize(),h=e.get("align"),p=e.get("verticalAlign"),v=l&&l.getBoundingRect().clone();if(l&&v.applyTransform(l.transform),ae(n)&&(n=n([a,i],s,o.el,v,{viewSize:[u,c],contentSize:f.slice()})),U(n))a=Z(n[0],u),i=Z(n[1],c);else if(oe(n)){var m=n;m.width=f[0],m.height=f[1];var g=Et(m,{width:u,height:c});a=g.x,i=g.y,h=null,p=null}else if(K(n)&&l){var _=Tve(n,v,f,e.get("borderWidth"));a=_[0],i=_[1]}else{var _=Cve(a,i,o,u,c,h?null:20,p?null:20);a=_[0],i=_[1]}if(h&&(a-=wM(h)?f[0]/2:h==="right"?f[0]:0),p&&(i-=wM(p)?f[1]/2:p==="bottom"?f[1]:0),fM(e)){var _=Eve(a,i,o,u,c);a=_[0],i=_[1]}o.moveTo(a,i)},t.prototype._updateContentNotChangedOnAxis=function(e,n){var a=this._lastDataByCoordSys,i=this._cbParamsList,o=!!a&&a.length===e.length;return o&&M(a,function(s,l){var u=s.dataByAxis||[],c=e[l]||{},f=c.dataByAxis||[];o=o&&u.length===f.length,o&&M(u,function(h,p){var v=f[p]||{},m=h.seriesDataIndices||[],g=v.seriesDataIndices||[];o=o&&h.value===v.value&&h.axisType===v.axisType&&h.axisId===v.axisId&&m.length===g.length,o&&M(m,function(_,y){var w=g[y];o=o&&_.seriesIndex===w.seriesIndex&&_.dataIndex===w.dataIndex}),i&&M(h.seriesDataIndices,function(_){var y=_.seriesIndex,w=n[y],x=i[y];w&&x&&x.data!==w.data&&(o=!1)})})}),this._lastDataByCoordSys=e,this._cbParamsList=n,!!o},t.prototype._hide=function(e){this._lastDataByCoordSys=null,e({type:"hideTip",from:this.uid})},t.prototype.dispose=function(e,n){Ee.node||!n.getDom()||(sc(this,"_updatePosition"),this._tooltipContent.dispose(),ey("itemTooltip",n))},t.type="tooltip",t}(nt);function tf(r,t,e){var n=t.ecModel,a;e?(a=new Ue(e,n,n),a=new Ue(t.option,a,n)):a=t;for(var i=r.length-1;i>=0;i--){var o=r[i];o&&(o instanceof Ue&&(o=o.get("tooltip",!0)),K(o)&&(o={formatter:o}),o&&(a=new Ue(o,a,n)))}return a}function yM(r,t){return r.dispatchAction||J(t.dispatchAction,t)}function Cve(r,t,e,n,a,i,o){var s=e.getSize(),l=s[0],u=s[1];return i!=null&&(r+l+i+2>n?r-=l+i:r+=i),o!=null&&(t+u+o>a?t-=u+o:t+=o),[r,t]}function Eve(r,t,e,n,a){var i=e.getSize(),o=i[0],s=i[1];return r=Math.min(r+o,n)-o,t=Math.min(t+s,a)-s,r=Math.max(r,0),t=Math.max(t,0),[r,t]}function Tve(r,t,e,n){var a=e[0],i=e[1],o=Math.ceil(Math.SQRT2*n)+8,s=0,l=0,u=t.width,c=t.height;switch(r){case"inside":s=t.x+u/2-a/2,l=t.y+c/2-i/2;break;case"top":s=t.x+u/2-a/2,l=t.y-i-o;break;case"bottom":s=t.x+u/2-a/2,l=t.y+c+o;break;case"left":s=t.x-a-o,l=t.y+c/2-i/2;break;case"right":s=t.x+u+o,l=t.y+c/2-i/2}return[s,l]}function wM(r){return r==="center"||r==="middle"}function Dve(r,t,e){var n=Pg(r).queryOptionMap,a=n.keys()[0];if(!(!a||a==="series")){var i=Pu(t,a,n.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var s=e.getViewOfComponentModel(o),l;if(s.group.traverse(function(u){var c=ge(u).tooltipConfig;if(c&&c.name===r.name)return l=u,!0}),l)return{componentMainType:a,componentIndex:o.componentIndex,el:l}}}}function Ave(r){Se(Qc),r.registerComponentModel(cve),r.registerComponentView(Sve),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},ft),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},ft)}var Mve=["rect","polygon","keep","clear"];function kve(r,t){var e=je(r?r.brush:[]);if(e.length){var n=[];M(e,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(n=n.concat(u))});var a=r&&r.toolbox;U(a)&&(a=a[0]),a||(a={feature:{}},r.toolbox=[a]);var i=a.feature||(a.feature={}),o=i.brush||(i.brush={}),s=o.type||(o.type=[]);s.push.apply(s,n),Lve(s),t&&!s.length&&s.push.apply(s,Mve)}}function Lve(r){var t={};M(r,function(e){t[e]=1}),r.length=0,M(t,function(e,n){r.push(n)})}var xM=M;function bM(r){if(r){for(var t in r)if(r.hasOwnProperty(t))return!0}}function yy(r,t,e){var n={};return xM(t,function(i){var o=n[i]=a();xM(r[i],function(s,l){if(Lt.isValidType(l)){var u={type:l,visual:s};e&&e(u,i),o[l]=new Lt(u),l==="opacity"&&(u=pe(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new Lt(u))}})}),n;function a(){var i=function(){};i.prototype.__hidden=i.prototype;var o=new i;return o}}function SM(r,t,e){var n;M(e,function(a){t.hasOwnProperty(a)&&bM(t[a])&&(n=!0)}),n&&M(e,function(a){t.hasOwnProperty(a)&&bM(t[a])?r[a]=pe(t[a]):delete r[a]})}function Ive(r,t,e,n,a,i){var o={};M(r,function(f){var h=Lt.prepareVisualTypes(t[f]);o[f]=h});var s;function l(f){return i1(e,s,f)}function u(f,h){Gb(e,s,f,h)}e.each(c);function c(f,h){s=f;var p=e.getRawDataItem(s);if(!(p&&p.visualMap===!1))for(var v=n.call(a,f),m=t[v],g=o[v],_=0,y=g.length;_<y;_++){var w=g[_];m[w]&&m[w].applyVisual(f,l,u)}}}function Nve(r,t,e,n){var a={};return M(r,function(i){var o=Lt.prepareVisualTypes(t[i]);a[i]=o}),{progress:function(o,s){var l;n!=null&&(l=s.getDimensionIndex(n));function u(b){return i1(s,f,b)}function c(b,S){Gb(s,f,b,S)}for(var f,h=s.getStore();(f=o.next())!=null;){var p=s.getRawDataItem(f);if(!(p&&p.visualMap===!1))for(var v=n!=null?h.get(l,f):f,m=e(v),g=t[m],_=a[m],y=0,w=_.length;y<w;y++){var x=_[y];g[x]&&g[x].applyVisual(v,u,c)}}}}}function Pve(r){var t=r.brushType,e={point:function(n){return CM[t].point(n,e,r)},rect:function(n){return CM[t].rect(n,e,r)}};return e}var CM={lineX:EM(0),lineY:EM(1),rect:{point:function(r,t,e){return r&&e.boundingRect.contain(r[0],r[1])},rect:function(r,t,e){return r&&e.boundingRect.intersect(r)}},polygon:{point:function(r,t,e){return r&&e.boundingRect.contain(r[0],r[1])&&Ro(e.range,r[0],r[1])},rect:function(r,t,e){var n=e.range;if(!r||n.length<=1)return!1;var a=r.x,i=r.y,o=r.width,s=r.height,l=n[0];if(Ro(n,a,i)||Ro(n,a+o,i)||Ro(n,a,i+s)||Ro(n,a+o,i+s)||we.create(r).contain(l[0],l[1])||Zu(a,i,a+o,i,n)||Zu(a,i,a,i+s,n)||Zu(a+o,i,a+o,i+s,n)||Zu(a,i+s,a+o,i+s,n))return!0}}};function EM(r){var t=["x","y"],e=["width","height"];return{point:function(n,a,i){if(n){var o=i.range,s=n[r];return rf(s,o)}},rect:function(n,a,i){if(n){var o=i.range,s=[n[t[r]],n[t[r]]+n[e[r]]];return s[1]<s[0]&&s.reverse(),rf(s[0],o)||rf(s[1],o)||rf(o[0],s)||rf(o[1],s)}}}}function rf(r,t){return t[0]<=r&&r<=t[1]}var TM=["inBrush","outOfBrush"],wy="__ecBrushSelect",xy="__ecInBrushSelectEvent";function DM(r){r.eachComponent({mainType:"brush"},function(t){var e=t.brushTargetManager=new py(t.option,r);e.setInputRanges(t.areas,r)})}function Vve(r,t,e){var n=[],a,i;r.eachComponent({mainType:"brush"},function(o){e&&e.type==="takeGlobalCursor"&&o.setBrushOption(e.key==="brush"?e.brushOption:{brushType:!1})}),DM(r),r.eachComponent({mainType:"brush"},function(o,s){var l={brushId:o.id,brushIndex:s,brushName:o.name,areas:pe(o.areas),selected:[]};n.push(l);var u=o.option,c=u.brushLink,f=[],h=[],p=[],v=!1;s||(a=u.throttleType,i=u.throttleDelay);var m=Y(o.areas,function(b){var S=zve[b.brushType],C=ue({boundingRect:S?S(b):void 0},b);return C.selectors=Pve(C),C}),g=yy(o.option,TM,function(b){b.mappingMethod="fixed"});U(c)&&M(c,function(b){f[b]=1});function _(b){return c==="all"||!!f[b]}function y(b){return!!b.length}r.eachSeries(function(b,S){var C=p[S]=[];b.subType==="parallel"?w(b,S):x(b,S,C)});function w(b,S){var C=b.coordinateSystem;v=v||C.hasAxisBrushed(),_(S)&&C.eachActiveState(b.getData(),function(D,T){D==="active"&&(h[T]=1)})}function x(b,S,C){if(!(!b.brushSelector||Rve(o,S))&&(M(m,function(T){o.brushTargetManager.controlSeries(T,b,r)&&C.push(T),v=v||y(C)}),_(S)&&y(C))){var D=b.getData();D.each(function(T){AM(b,C,D,T)&&(h[T]=1)})}}r.eachSeries(function(b,S){var C={seriesId:b.id,seriesIndex:S,seriesName:b.name,dataIndex:[]};l.selected.push(C);var D=p[S],T=b.getData(),E=_(S)?function(A){return h[A]?(C.dataIndex.push(T.getRawIndex(A)),"inBrush"):"outOfBrush"}:function(A){return AM(b,D,T,A)?(C.dataIndex.push(T.getRawIndex(A)),"inBrush"):"outOfBrush"};(_(S)?v:y(D))&&Ive(TM,g,T,E)})}),Bve(t,a,i,n,e)}function Bve(r,t,e,n,a){if(a){var i=r.getZr();if(!i[xy]){i[wy]||(i[wy]=Ove);var o=cl(i,wy,e,t);o(r,n)}}}function Ove(r,t){if(!r.isDisposed()){var e=r.getZr();e[xy]=!0,r.dispatchAction({type:"brushSelect",batch:t}),e[xy]=!1}}function AM(r,t,e,n){for(var a=0,i=t.length;a<i;a++){var o=t[a];if(r.brushSelector(n,e,o.selectors,o))return!0}}function Rve(r,t){var e=r.option.seriesIndex;return e!=null&&e!=="all"&&(U(e)?xe(e,t)<0:t!==e)}var zve={rect:function(r){return MM(r.range)},polygon:function(r){for(var t,e=r.range,n=0,a=e.length;n<a;n++){t=t||[[1/0,-1/0],[1/0,-1/0]];var i=e[n];i[0]<t[0][0]&&(t[0][0]=i[0]),i[0]>t[0][1]&&(t[0][1]=i[0]),i[1]<t[1][0]&&(t[1][0]=i[1]),i[1]>t[1][1]&&(t[1][1]=i[1])}return t&&MM(t)}};function MM(r){return new we(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var Hve=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){this.ecModel=e,this.api=n,this.model,(this._brushController=new p_(n.getZr())).on("brush",J(this._onBrush,this)).mount()},t.prototype.render=function(e,n,a,i){this.model=e,this._updateController(e,n,a,i)},t.prototype.updateTransform=function(e,n,a,i){DM(n),this._updateController(e,n,a,i)},t.prototype.updateVisual=function(e,n,a,i){this.updateTransform(e,n,a,i)},t.prototype.updateView=function(e,n,a,i){this._updateController(e,n,a,i)},t.prototype._updateController=function(e,n,a,i){(!i||i.$from!==e.id)&&this._brushController.setPanels(e.brushTargetManager.makePanelOpts(a)).enableBrush(e.brushOption).updateCovers(e.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(e){var n=this.model.id,a=this.model.brushTargetManager.setOutputRanges(e.areas,this.ecModel);(!e.isEnd||e.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:n,areas:pe(a),$from:n}),e.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:n,areas:pe(a),$from:n})},t.type="brush",t}(nt),Fve="#ddd",Gve=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.areas=[],e.brushOption={},e}return t.prototype.optionUpdated=function(e,n){var a=this.option;!n&&SM(a,e,["inBrush","outOfBrush"]);var i=a.inBrush=a.inBrush||{};a.outOfBrush=a.outOfBrush||{color:Fve},i.hasOwnProperty("liftZ")||(i.liftZ=5)},t.prototype.setAreas=function(e){process.env.NODE_ENV!=="production"&&(se(U(e)),M(e,function(n){se(n.brushType,"Illegal areas")})),e&&(this.areas=Y(e,function(n){return kM(this.option,n)},this))},t.prototype.setBrushOption=function(e){this.brushOption=kM(this.option,e),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}(Ae);function kM(r,t){return _e({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new Ue(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},t,!0)}var $ve=["rect","polygon","lineX","lineY","keep","clear"],Wve=function(r){F(t,r);function t(){return r!==null&&r.apply(this,arguments)||this}return t.prototype.render=function(e,n,a){var i,o,s;n.eachComponent({mainType:"brush"},function(l){i=l.brushType,o=l.brushOption.brushMode||"single",s=s||!!l.areas.length}),this._brushType=i,this._brushMode=o,M(e.get("type",!0),function(l){e.setIconStatus(l,(l==="keep"?o==="multiple":l==="clear"?s:l===i)?"emphasis":"normal")})},t.prototype.updateView=function(e,n,a){this.render(e,n,a)},t.prototype.getIcons=function(){var e=this.model,n=e.get("icon",!0),a={};return M(e.get("type",!0),function(i){n[i]&&(a[i]=n[i])}),a},t.prototype.onclick=function(e,n,a){var i=this._brushType,o=this._brushMode;a==="clear"?(n.dispatchAction({type:"axisAreaSelect",intervals:[]}),n.dispatchAction({type:"brush",command:"clear",areas:[]})):n.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:a==="keep"?i:i===a?!1:a,brushMode:a==="keep"?o==="multiple"?"single":"multiple":o}})},t.getDefaultOption=function(e){var n={show:!0,type:$ve.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:e.getLocaleModel().get(["toolbox","brush","title"])};return n},t}(nn);function Uve(r){r.registerComponentView(Hve),r.registerComponentModel(Gve),r.registerPreprocessor(kve),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,Vve),r.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,e){e.eachComponent({mainType:"brush",query:t},function(n){n.setAreas(t.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},ft),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},ft),Pl("brush",Wve)}var Yve=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}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}(Ae),jve=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.render=function(e,n,a){if(this.group.removeAll(),!!e.get("show")){var i=this.group,o=e.getModel("textStyle"),s=e.getModel("subtextStyle"),l=e.get("textAlign"),u=ve(e.get("textBaseline"),e.get("textVerticalAlign")),c=new Ve({style:Ze(o,{text:e.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),f=c.getBoundingRect(),h=e.get("subtext"),p=new Ve({style:Ze(s,{text:h,fill:s.getTextColor(),y:f.height+e.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),v=e.get("link"),m=e.get("sublink"),g=e.get("triggerEvent",!0);c.silent=!v&&!g,p.silent=!m&&!g,v&&c.on("click",function(){Tp(v,"_"+e.get("target"))}),m&&p.on("click",function(){Tp(m,"_"+e.get("subtarget"))}),ge(c).eventData=ge(p).eventData=g?{componentType:"title",componentIndex:e.componentIndex}:null,i.add(c),h&&i.add(p);var _=i.getBoundingRect(),y=e.getBoxLayoutParams();y.width=_.width,y.height=_.height;var w=Et(y,{width:a.getWidth(),height:a.getHeight()},e.get("padding"));l||(l=e.get("left")||e.get("right"),l==="middle"&&(l="center"),l==="right"?w.x+=w.width:l==="center"&&(w.x+=w.width/2)),u||(u=e.get("top")||e.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?w.y+=w.height:u==="middle"&&(w.y+=w.height/2),u=u||"top"),i.x=w.x,i.y=w.y,i.markRedraw();var x={align:l,verticalAlign:u};c.setStyle(x),p.setStyle(x),_=i.getBoundingRect();var b=w.margin,S=e.getItemStyle(["color","opacity"]);S.fill=e.get("backgroundColor");var C=new Pe({shape:{x:_.x-b[3],y:_.y-b[0],width:_.width+b[1]+b[3],height:_.height+b[0]+b[2],r:e.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});i.add(C)}},t.type="title",t}(nt);function Xve(r){r.registerComponentModel(Yve),r.registerComponentView(jve)}var LM=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode="box",e}return t.prototype.init=function(e,n,a){this.mergeDefaultAndTheme(e,a),this._initData()},t.prototype.mergeOption=function(e){r.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(e){e==null&&(e=this.option.currentIndex);var n=this._data.count();this.option.loop?e=(e%n+n)%n:(e>=n&&(e=n-1),e<0&&(e=0)),this.option.currentIndex=e},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(e){this.option.autoPlay=!!e},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var e=this.option,n=e.data||[],a=e.axisType,i=this._names=[],o;a==="category"?(o=[],M(n,function(u,c){var f=Ct(zs(u),""),h;oe(u)?(h=pe(u),h.value=c):h=c,o.push(h),i.push(f)})):o=n;var s={category:"ordinal",time:"time",value:"number"}[a]||"number",l=this._data=new hr([{name:"value",type:s}],this);l.initData(o,i)},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}(Ae),IM=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline.slider",t.defaultOption=oi(LM.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}(LM);gt(IM,Ip.prototype);var qve=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="timeline",t}(nt),Zve=function(r){F(t,r);function t(e,n,a,i){var o=r.call(this,e,n,a)||this;return o.type=i||"value",o}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t}(Cn),by=Math.PI,NM=Ne(),Kve=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(e,n){this.api=n},t.prototype.render=function(e,n,a){if(this.model=e,this.api=a,this.ecModel=n,this.group.removeAll(),e.get("show",!0)){var i=this._layout(e,a),o=this._createGroup("_mainGroup"),s=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(i,e);e.formatTooltip=function(u){var c=l.scale.getLabel({value:u});return Mt("nameValue",{noName:!0,value:c})},M(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](i,o,l,e)},this),this._renderAxisLabel(i,s,l,e),this._position(i,e)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(e,n){var a=e.get(["label","position"]),i=e.get("orient"),o=Qve(e,n),s;a==null||a==="auto"?s=i==="horizontal"?o.y+o.height/2<n.getHeight()/2?"-":"+":o.x+o.width/2<n.getWidth()/2?"+":"-":K(a)?s={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][a]:s=a;var l={horizontal:"center",vertical:s>=0||s==="+"?"left":"right"},u={horizontal:s>=0||s==="+"?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:by/2},f=i==="vertical"?o.height:o.width,h=e.getModel("controlStyle"),p=h.get("show",!0),v=p?h.get("itemSize"):0,m=p?h.get("itemGap"):0,g=v+m,_=e.get(["label","rotate"])||0;_=_*by/180;var y,w,x,b=h.get("position",!0),S=p&&h.get("showPlayBtn",!0),C=p&&h.get("showPrevBtn",!0),D=p&&h.get("showNextBtn",!0),T=0,E=f;b==="left"||b==="bottom"?(S&&(y=[0,0],T+=g),C&&(w=[T,0],T+=g),D&&(x=[E-v,0],E-=g)):(S&&(y=[E-v,0],E-=g),C&&(w=[0,0],T+=g),D&&(x=[E-v,0],E-=g));var A=[T,E];return e.get("inverse")&&A.reverse(),{viewRect:o,mainLength:f,orient:i,rotation:c[i],labelRotation:_,labelPosOpt:s,labelAlign:e.get(["label","align"])||l[i],labelBaseline:e.get(["label","verticalAlign"])||e.get(["label","baseline"])||u[i],playPosition:y,prevBtnPosition:w,nextBtnPosition:x,axisExtent:A,controlSize:v,controlGap:m}},t.prototype._position=function(e,n){var a=this._mainGroup,i=this._labelGroup,o=e.viewRect;if(e.orient==="vertical"){var s=Dr(),l=o.x,u=o.y+o.height;Vn(s,s,[-l,-u]),qi(s,s,-by/2),Vn(s,s,[l,u]),o=o.clone(),o.applyTransform(s)}var c=y(o),f=y(a.getBoundingRect()),h=y(i.getBoundingRect()),p=[a.x,a.y],v=[i.x,i.y];v[0]=p[0]=c[0][0];var m=e.labelPosOpt;if(m==null||K(m)){var g=m==="+"?0:1;w(p,f,c,1,g),w(v,h,c,1,1-g)}else{var g=m>=0?0:1;w(p,f,c,1,g),v[1]=p[1]+m}a.setPosition(p),i.setPosition(v),a.rotation=i.rotation=e.rotation,_(a),_(i);function _(x){x.originX=c[0][0]-x.x,x.originY=c[1][0]-x.y}function y(x){return[[x.x,x.x+x.width],[x.y,x.y+x.height]]}function w(x,b,S,C,D){x[C]+=S[C][D]-b[C][D]}},t.prototype._createAxis=function(e,n){var a=n.getData(),i=n.get("axisType"),o=Jve(n,i);o.getTicks=function(){return a.mapArray(["value"],function(u){return{value:u}})};var s=a.getDataExtent("value");o.setExtent(s[0],s[1]),o.calcNiceTicks();var l=new Zve("value",o,e.axisExtent,i);return l.model=n,l},t.prototype._createGroup=function(e){var n=this[e]=new de;return this.group.add(n),n},t.prototype._renderAxisLine=function(e,n,a,i){var o=a.getExtent();if(i.get(["lineStyle","show"])){var s=new Dt({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:G({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});n.add(s);var l=this._progressLine=new Dt({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:ue({lineCap:"round",lineWidth:s.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});n.add(l)}},t.prototype._renderAxisTick=function(e,n,a,i){var o=this,s=i.getData(),l=a.scale.getTicks();this._tickSymbols=[],M(l,function(u){var c=a.dataToCoord(u.value),f=s.getItemModel(u.value),h=f.getModel("itemStyle"),p=f.getModel(["emphasis","itemStyle"]),v=f.getModel(["progress","itemStyle"]),m={x:c,y:0,onclick:J(o._changeTimeline,o,u.value)},g=PM(f,h,n,m);g.ensureState("emphasis").style=p.getItemStyle(),g.ensureState("progress").style=v.getItemStyle(),_o(g);var _=ge(g);f.get("tooltip")?(_.dataIndex=u.value,_.dataModel=i):_.dataIndex=_.dataModel=null,o._tickSymbols.push(g)})},t.prototype._renderAxisLabel=function(e,n,a,i){var o=this,s=a.getLabelModel();if(s.get("show")){var l=i.getData(),u=a.getViewLabels();this._tickLabels=[],M(u,function(c){var f=c.tickValue,h=l.getItemModel(f),p=h.getModel("label"),v=h.getModel(["emphasis","label"]),m=h.getModel(["progress","label"]),g=a.dataToCoord(c.tickValue),_=new Ve({x:g,y:0,rotation:e.labelRotation-e.rotation,onclick:J(o._changeTimeline,o,f),silent:!1,style:Ze(p,{text:c.formattedLabel,align:e.labelAlign,verticalAlign:e.labelBaseline})});_.ensureState("emphasis").style=Ze(v),_.ensureState("progress").style=Ze(m),n.add(_),_o(_),NM(_).dataIndex=f,o._tickLabels.push(_)})}},t.prototype._renderControl=function(e,n,a,i){var o=e.controlSize,s=e.rotation,l=i.getModel("controlStyle").getItemStyle(),u=i.getModel(["emphasis","controlStyle"]).getItemStyle(),c=i.getPlayState(),f=i.get("inverse",!0);h(e.nextBtnPosition,"next",J(this._changeTimeline,this,f?"-":"+")),h(e.prevBtnPosition,"prev",J(this._changeTimeline,this,f?"+":"-")),h(e.playPosition,c?"stop":"play",J(this._handlePlayClick,this,!c),!0);function h(p,v,m,g){if(p){var _=gn(ve(i.get(["controlStyle",v+"BtnSize"]),o),o),y=[0,-_/2,_,_],w=e0e(i,v+"Icon",y,{x:p[0],y:p[1],originX:o/2,originY:0,rotation:g?-s:0,rectHover:!0,style:l,onclick:m});w.ensureState("emphasis").style=u,n.add(w),_o(w)}}},t.prototype._renderCurrentPointer=function(e,n,a,i){var o=i.getData(),s=i.getCurrentIndex(),l=o.getItemModel(s).getModel("checkpointStyle"),u=this,c={onCreate:function(f){f.draggable=!0,f.drift=J(u._handlePointerDrag,u),f.ondragend=J(u._handlePointerDragend,u),VM(f,u._progressLine,s,a,i,!0)},onUpdate:function(f){VM(f,u._progressLine,s,a,i)}};this._currentPointer=PM(l,l,this._mainGroup,{},this._currentPointer,c)},t.prototype._handlePlayClick=function(e){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:e,from:this.uid})},t.prototype._handlePointerDrag=function(e,n,a){this._clearTimer(),this._pointerChangeTimeline([a.offsetX,a.offsetY])},t.prototype._handlePointerDragend=function(e){this._pointerChangeTimeline([e.offsetX,e.offsetY],!0)},t.prototype._pointerChangeTimeline=function(e,n){var a=this._toAxisCoord(e)[0],i=this._axis,o=Gr(i.getExtent().slice());a>o[1]&&(a=o[1]),a<o[0]&&(a=o[0]),this._currentPointer.x=a,this._currentPointer.markRedraw();var s=this._progressLine;s&&(s.shape.x2=a,s.dirty());var l=this._findNearestTick(a),u=this.model;(n||l!==u.getCurrentIndex()&&u.get("realtime"))&&this._changeTimeline(l)},t.prototype._doPlayStop=function(){var e=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var n=e.model;e._changeTimeline(n.getCurrentIndex()+(n.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},t.prototype._toAxisCoord=function(e){var n=this._mainGroup.getLocalTransform();return xn(e,n,!0)},t.prototype._findNearestTick=function(e){var n=this.model.getData(),a=1/0,i,o=this._axis;return n.each(["value"],function(s,l){var u=o.dataToCoord(s),c=Math.abs(u-e);c<a&&(a=c,i=l)}),i},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(e){var n=this.model.getCurrentIndex();e==="+"?e=n+1:e==="-"&&(e=n-1),this.api.dispatchAction({type:"timelineChange",currentIndex:e,from:this.uid})},t.prototype._updateTicksStatus=function(){var e=this.model.getCurrentIndex(),n=this._tickSymbols,a=this._tickLabels;if(n)for(var i=0;i<n.length;i++)n&&n[i]&&n[i].toggleState("progress",i<e);if(a)for(var i=0;i<a.length;i++)a&&a[i]&&a[i].toggleState("progress",NM(a[i]).dataIndex<=e)},t.type="timeline.slider",t}(qve);function Jve(r,t){if(t=t||r.get("type"),t)switch(t){case"category":return new rd({ordinalMeta:r.getCategories(),extent:[1/0,-1/0]});case"time":return new N1({locale:r.ecModel.getLocaleModel(),useUTC:r.ecModel.get("useUTC")});default:return new Ma}}function Qve(r,t){return Et(r.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},r.get("padding"))}function e0e(r,t,e,n){var a=n.style,i=qu(r.get(["controlStyle",t]),n||{},new we(e[0],e[1],e[2],e[3]));return a&&i.setStyle(a),i}function PM(r,t,e,n,a,i){var o=t.get("color");if(a)a.setColor(o),e.add(a),i&&i.onUpdate(a);else{var s=r.get("symbol");a=xt(s,-1,-1,2,2,o),a.setStyle("strokeNoScale",!0),e.add(a),i&&i.onCreate(a)}var l=t.getItemStyle(["color"]);a.setStyle(l),n=_e({rectHover:!0,z2:100},n,!0);var u=hl(r.get("symbolSize"));n.scaleX=u[0]/2,n.scaleY=u[1]/2;var c=No(r.get("symbolOffset"),u);c&&(n.x=(n.x||0)+c[0],n.y=(n.y||0)+c[1]);var f=r.get("symbolRotate");return n.rotation=(f||0)*Math.PI/180||0,a.attr(n),a.updateTransform(),a}function VM(r,t,e,n,a,i){if(!r.dragging){var o=a.getModel("checkpointStyle"),s=n.dataToCoord(a.getData().get("value",e));if(i||!o.get("animation",!0))r.attr({x:s,y:0}),t&&t.attr({shape:{x2:s}});else{var l={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};r.stopAnimation(null,!0),r.animateTo({x:s,y:0},l),t&&t.animateTo({shape:{x2:s}},l)}}}function t0e(r){r.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,e,n){var a=e.getComponent("timeline");return a&&t.currentIndex!=null&&(a.setCurrentIndex(t.currentIndex),!a.get("loop",!0)&&a.isIndexMax()&&a.getPlayState()&&(a.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:a.get("replaceMerge",!0)}),ue({currentIndex:a.option.currentIndex},t)}),r.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,e){var n=e.getComponent("timeline");n&&t.playState!=null&&n.setPlayState(t.playState)})}function r0e(r){var t=r&&r.timeline;U(t)||(t=t?[t]:[]),M(t,function(e){e&&n0e(e)})}function n0e(r){var t=r.type,e={number:"value",time:"time"};if(e[t]&&(r.axisType=e[t],delete r.type),BM(r),as(r,"controlPosition")){var n=r.controlStyle||(r.controlStyle={});as(n,"position")||(n.position=r.controlPosition),n.position==="none"&&!as(n,"show")&&(n.show=!1,delete n.position),delete r.controlPosition}M(r.data||[],function(a){oe(a)&&!U(a)&&(!as(a,"value")&&as(a,"name")&&(a.value=a.name),BM(a))})}function BM(r){var t=r.itemStyle||(r.itemStyle={}),e=t.emphasis||(t.emphasis={}),n=r.label||r.label||{},a=n.normal||(n.normal={}),i={normal:1,emphasis:1};M(n,function(o,s){!i[s]&&!as(a,s)&&(a[s]=o)}),e.label&&!as(n,"emphasis")&&(n.emphasis=e.label,delete e.label)}function as(r,t){return r.hasOwnProperty(t)}function a0e(r){r.registerComponentModel(IM),r.registerComponentView(Kve),r.registerSubTypeDefaulter("timeline",function(){return"slider"}),t0e(r),r.registerPreprocessor(r0e)}function Sy(r,t){if(!r)return!1;for(var e=U(r)?r:[r],n=0;n<e.length;n++)if(e[n]&&e[n][t])return!0;return!1}function nv(r){no(r,"label",["show"])}var av=Ne(),Va=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.createdBySelf=!1,e}return t.prototype.init=function(e,n,a){if(process.env.NODE_ENV!=="production"&&this.type==="marker")throw new Error("Marker component is abstract component. Use markLine, markPoint, markArea instead.");this.mergeDefaultAndTheme(e,a),this._mergeOption(e,a,!1,!0)},t.prototype.isAnimationEnabled=function(){if(Ee.node)return!1;var e=this.__hostSeries;return this.getShallow("animation")&&e&&e.isAnimationEnabled()},t.prototype.mergeOption=function(e,n){this._mergeOption(e,n,!1,!1)},t.prototype._mergeOption=function(e,n,a,i){var o=this.mainType;a||n.eachSeries(function(s){var l=s.get(this.mainType,!0),u=av(s)[o];if(!l||!l.data){av(s)[o]=null;return}u?u._mergeOption(l,n,!0):(i&&nv(l),M(l.data,function(c){c instanceof Array?(nv(c[0]),nv(c[1])):nv(c)}),u=this.createMarkerModelFromSeries(l,this,n),G(u,{mainType:this.mainType,seriesIndex:s.seriesIndex,name:s.name,createdBySelf:!0}),u.__hostSeries=s),av(s)[o]=u},this)},t.prototype.formatTooltip=function(e,n,a){var i=this.getData(),o=this.getRawValue(e),s=i.getName(e);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(e){this._data=e},t.prototype.getDataParams=function(e,n){var a=Ip.prototype.getDataParams.call(this,e,n),i=this.__hostSeries;return i&&(a.seriesId=i.id,a.seriesName=i.name,a.seriesType=i.subType),a},t.getMarkerModelFromSeries=function(e,n){return av(e)[n]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Ae);gt(Va,Ip.prototype);var i0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,n,a){return new t(e,n,a)},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}(Va);function Cy(r){return!(isNaN(parseFloat(r.x))&&isNaN(parseFloat(r.y)))}function o0e(r){return!isNaN(parseFloat(r.x))&&!isNaN(parseFloat(r.y))}function iv(r,t,e,n,a,i){var o=[],s=pi(t,n),l=s?t.getCalculationInfo("stackResultDimension"):n,u=Ty(t,l,r),c=t.indicesOfNearest(l,u)[0];o[a]=t.get(e,c),o[i]=t.get(l,c);var f=t.get(n,c),h=zn(t.get(n,c));return h=Math.min(h,20),h>=0&&(o[i]=+o[i].toFixed(h)),[o,f]}var Ey={min:me(iv,"min"),max:me(iv,"max"),average:me(iv,"average"),median:me(iv,"median")};function nf(r,t){if(t){var e=r.getData(),n=r.coordinateSystem,a=n&&n.dimensions;if(!o0e(t)&&!U(t.coord)&&U(a)){var i=OM(t,e,n,r);if(t=pe(t),t.type&&Ey[t.type]&&i.baseAxis&&i.valueAxis){var o=xe(a,i.baseAxis.dim),s=xe(a,i.valueAxis.dim),l=Ey[t.type](e,i.baseDataDim,i.valueDataDim,o,s);t.coord=l[0],t.value=l[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!U(a))t.coord=[];else for(var u=t.coord,c=0;c<2;c++)Ey[u[c]]&&(u[c]=Ty(e,e.mapDimension(a[c]),u[c]));return t}}function OM(r,t,e,n){var a={};return r.valueIndex!=null||r.valueDim!=null?(a.valueDataDim=r.valueIndex!=null?t.getDimension(r.valueIndex):r.valueDim,a.valueAxis=e.getAxis(s0e(n,a.valueDataDim)),a.baseAxis=e.getOtherAxis(a.valueAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim)):(a.baseAxis=n.getBaseAxis(),a.valueAxis=e.getOtherAxis(a.baseAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim),a.valueDataDim=t.mapDimension(a.valueAxis.dim)),a}function s0e(r,t){var e=r.getData().getDimensionInfo(t);return e&&e.coordDim}function af(r,t){return r&&r.containData&&t.coord&&!Cy(t)?r.containData(t.coord):!0}function l0e(r,t,e){return r&&r.containZone&&t.coord&&e.coord&&!Cy(t)&&!Cy(e)?r.containZone(t.coord,e.coord):!0}function RM(r,t){return r?function(e,n,a,i){var o=i<2?e.coord&&e.coord[i]:e.value;return ui(o,t[i])}:function(e,n,a,i){return ui(e.value,t[i])}}function Ty(r,t,e){if(e==="average"){var n=0,a=0;return r.each(t,function(i,o){isNaN(i)||(n+=i,a++)}),n/a}else return e==="median"?r.getMedian(t):r.getDataExtent(t)[e==="max"?1:0]}var Dy=Ne(),Ay=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.init=function(){this.markerGroupMap=ne()},t.prototype.render=function(e,n,a){var i=this,o=this.markerGroupMap;o.each(function(s){Dy(s).keep=!1}),n.eachSeries(function(s){var l=Va.getMarkerModelFromSeries(s,i.type);l&&i.renderSeries(s,l,n,a)}),o.each(function(s){!Dy(s).keep&&i.group.remove(s.group)})},t.prototype.markKeep=function(e){Dy(e).keep=!0},t.prototype.toggleBlurSeries=function(e,n){var a=this;M(e,function(i){var o=Va.getMarkerModelFromSeries(i,a.type);if(o){var s=o.getData();s.eachItemGraphicEl(function(l){l&&(n?dx(l):i2(l))})}})},t.type="marker",t}(nt);function zM(r,t,e){var n=t.coordinateSystem;r.each(function(a){var i=r.getItemModel(a),o,s=Z(i.get("x"),e.getWidth()),l=Z(i.get("y"),e.getHeight());if(!isNaN(s)&&!isNaN(l))o=[s,l];else if(t.getMarkerPosition)o=t.getMarkerPosition(r.getValues(r.dimensions,a));else if(n){var u=r.get(n.dimensions[0],a),c=r.get(n.dimensions[1],a);o=n.dataToPoint([u,c])}isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),r.setItemLayout(a,o)})}var u0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,n,a){n.eachSeries(function(i){var o=Va.getMarkerModelFromSeries(i,"markPoint");o&&(zM(o.getData(),i,a),this.markerGroupMap.get(i.id).updateLayout())},this)},t.prototype.renderSeries=function(e,n,a,i){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,c=u.get(s)||u.set(s,new Mc),f=c0e(o,e,n);n.setData(f),zM(n.getData(),e,i),f.each(function(h){var p=f.getItemModel(h),v=p.getShallow("symbol"),m=p.getShallow("symbolSize"),g=p.getShallow("symbolRotate"),_=p.getShallow("symbolOffset"),y=p.getShallow("symbolKeepAspect");if(ae(v)||ae(m)||ae(g)||ae(_)){var w=n.getRawValue(h),x=n.getDataParams(h);ae(v)&&(v=v(w,x)),ae(m)&&(m=m(w,x)),ae(g)&&(g=g(w,x)),ae(_)&&(_=_(w,x))}var b=p.getModel("itemStyle").getItemStyle(),S=cc(l,"color");b.fill||(b.fill=S),f.setItemVisual(h,{symbol:v,symbolSize:m,symbolRotate:g,symbolOffset:_,symbolKeepAspect:y,style:b})}),c.updateData(f),this.group.add(c.group),f.eachItemGraphicEl(function(h){h.traverse(function(p){ge(p).dataModel=n})}),this.markKeep(c),c.group.silent=n.get("silent")||e.get("silent")},t.type="markPoint",t}(Ay);function c0e(r,t,e){var n;r?n=Y(r&&r.dimensions,function(s){var l=t.getData().getDimensionInfo(t.getData().mapDimension(s))||{};return G(G({},l),{name:s,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var a=new hr(n,e),i=Y(e.get("data"),me(nf,t));r&&(i=Fe(i,me(af,r)));var o=RM(!!r,n);return a.initData(i,null,o),a}function f0e(r){r.registerComponentModel(i0e),r.registerComponentView(u0e),r.registerPreprocessor(function(t){Sy(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var h0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,n,a){return new t(e,n,a)},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}(Va),ov=Ne(),p0e=function(r,t,e,n){var a=r.getData(),i;if(U(n))i=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,l=void 0;if(n.yAxis!=null||n.xAxis!=null)s=t.getAxis(n.yAxis!=null?"y":"x"),l=mt(n.yAxis,n.xAxis);else{var u=OM(n,a,t,r);s=u.valueAxis;var c=FS(a,u.valueDataDim);l=Ty(a,c,o)}var f=s.dim==="x"?0:1,h=1-f,p=pe(n),v={coord:[]};p.type=null,p.coord=[],p.coord[h]=-1/0,v.coord[h]=1/0;var m=e.get("precision");m>=0&&Be(l)&&(l=+l.toFixed(Math.min(m,20))),p.coord[f]=v.coord[f]=l,i=[p,v,{type:o,valueIndex:n.valueIndex,value:l}]}else process.env.NODE_ENV!=="production"&&hn("Invalid markLine data."),i=[]}var g=[nf(r,i[0]),nf(r,i[1]),G({},i[2])];return g[2].type=g[2].type||null,_e(g[2],g[0]),_e(g[2],g[1]),g};function sv(r){return!isNaN(r)&&!isFinite(r)}function HM(r,t,e,n){var a=1-r,i=n.dimensions[r];return sv(t[a])&&sv(e[a])&&t[r]===e[r]&&n.getAxis(i).containData(t[r])}function d0e(r,t){if(r.type==="cartesian2d"){var e=t[0].coord,n=t[1].coord;if(e&&n&&(HM(1,e,n,r)||HM(0,e,n,r)))return!0}return af(r,t[0])&&af(r,t[1])}function My(r,t,e,n,a){var i=n.coordinateSystem,o=r.getItemModel(t),s,l=Z(o.get("x"),a.getWidth()),u=Z(o.get("y"),a.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(n.getMarkerPosition)s=n.getMarkerPosition(r.getValues(r.dimensions,t));else{var c=i.dimensions,f=r.get(c[0],t),h=r.get(c[1],t);s=i.dataToPoint([f,h])}if(Uo(i,"cartesian2d")){var p=i.getAxis("x"),v=i.getAxis("y"),c=i.dimensions;sv(r.get(c[0],t))?s[0]=p.toGlobalCoord(p.getExtent()[e?0:1]):sv(r.get(c[1],t))&&(s[1]=v.toGlobalCoord(v.getExtent()[e?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}r.setItemLayout(t,s)}var v0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,n,a){n.eachSeries(function(i){var o=Va.getMarkerModelFromSeries(i,"markLine");if(o){var s=o.getData(),l=ov(o).from,u=ov(o).to;l.each(function(c){My(l,c,!0,i,a),My(u,c,!1,i,a)}),s.each(function(c){s.setItemLayout(c,[l.getItemLayout(c),u.getItemLayout(c)])}),this.markerGroupMap.get(i.id).updateLayout()}},this)},t.prototype.renderSeries=function(e,n,a,i){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,c=u.get(s)||u.set(s,new t_);this.group.add(c.group);var f=g0e(o,e,n),h=f.from,p=f.to,v=f.line;ov(n).from=h,ov(n).to=p,n.setData(v);var m=n.get("symbol"),g=n.get("symbolSize"),_=n.get("symbolRotate"),y=n.get("symbolOffset");U(m)||(m=[m,m]),U(g)||(g=[g,g]),U(_)||(_=[_,_]),U(y)||(y=[y,y]),f.from.each(function(x){w(h,x,!0),w(p,x,!1)}),v.each(function(x){var b=v.getItemModel(x).getModel("lineStyle").getLineStyle();v.setItemLayout(x,[h.getItemLayout(x),p.getItemLayout(x)]),b.stroke==null&&(b.stroke=h.getItemVisual(x,"style").fill),v.setItemVisual(x,{fromSymbolKeepAspect:h.getItemVisual(x,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(x,"symbolOffset"),fromSymbolRotate:h.getItemVisual(x,"symbolRotate"),fromSymbolSize:h.getItemVisual(x,"symbolSize"),fromSymbol:h.getItemVisual(x,"symbol"),toSymbolKeepAspect:p.getItemVisual(x,"symbolKeepAspect"),toSymbolOffset:p.getItemVisual(x,"symbolOffset"),toSymbolRotate:p.getItemVisual(x,"symbolRotate"),toSymbolSize:p.getItemVisual(x,"symbolSize"),toSymbol:p.getItemVisual(x,"symbol"),style:b})}),c.updateData(v),f.line.eachItemGraphicEl(function(x){ge(x).dataModel=n,x.traverse(function(b){ge(b).dataModel=n})});function w(x,b,S){var C=x.getItemModel(b);My(x,b,S,e,i);var D=C.getModel("itemStyle").getItemStyle();D.fill==null&&(D.fill=cc(l,"color")),x.setItemVisual(b,{symbolKeepAspect:C.get("symbolKeepAspect"),symbolOffset:ve(C.get("symbolOffset",!0),y[S?0:1]),symbolRotate:ve(C.get("symbolRotate",!0),_[S?0:1]),symbolSize:ve(C.get("symbolSize"),g[S?0:1]),symbol:ve(C.get("symbol",!0),m[S?0:1]),style:D})}this.markKeep(c),c.group.silent=n.get("silent")||e.get("silent")},t.type="markLine",t}(Ay);function g0e(r,t,e){var n;r?n=Y(r&&r.dimensions,function(u){var c=t.getData().getDimensionInfo(t.getData().mapDimension(u))||{};return G(G({},c),{name:u,ordinalMeta:null})}):n=[{name:"value",type:"float"}];var a=new hr(n,e),i=new hr(n,e),o=new hr([],e),s=Y(e.get("data"),me(p0e,t,r,e));r&&(s=Fe(s,me(d0e,r)));var l=RM(!!r,n);return a.initData(Y(s,function(u){return u[0]}),null,l),i.initData(Y(s,function(u){return u[1]}),null,l),o.initData(Y(s,function(u){return u[2]})),o.hasItemOption=!0,{from:a,to:i,line:o}}function m0e(r){r.registerComponentModel(h0e),r.registerComponentView(v0e),r.registerPreprocessor(function(t){Sy(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var _0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.createMarkerModelFromSeries=function(e,n,a){return new t(e,n,a)},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}(Va),lv=Ne(),y0e=function(r,t,e,n){var a=n[0],i=n[1];if(!(!a||!i)){var o=nf(r,a),s=nf(r,i),l=o.coord,u=s.coord;l[0]=mt(l[0],-1/0),l[1]=mt(l[1],-1/0),u[0]=mt(u[0],1/0),u[1]=mt(u[1],1/0);var c=L0([{},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 uv(r){return!isNaN(r)&&!isFinite(r)}function FM(r,t,e,n){var a=1-r;return uv(t[a])&&uv(e[a])}function w0e(r,t){var e=t.coord[0],n=t.coord[1],a={coord:e,x:t.x0,y:t.y0},i={coord:n,x:t.x1,y:t.y1};return Uo(r,"cartesian2d")?e&&n&&(FM(1,e,n)||FM(0,e,n))?!0:l0e(r,a,i):af(r,a)||af(r,i)}function GM(r,t,e,n,a){var i=n.coordinateSystem,o=r.getItemModel(t),s,l=Z(o.get(e[0]),a.getWidth()),u=Z(o.get(e[1]),a.getHeight());if(!isNaN(l)&&!isNaN(u))s=[l,u];else{if(n.getMarkerPosition){var c=r.getValues(["x0","y0"],t),f=r.getValues(["x1","y1"],t),h=i.clampData(c),p=i.clampData(f),v=[];e[0]==="x0"?v[0]=h[0]>p[0]?f[0]:c[0]:v[0]=h[0]>p[0]?c[0]:f[0],e[1]==="y0"?v[1]=h[1]>p[1]?f[1]:c[1]:v[1]=h[1]>p[1]?c[1]:f[1],s=n.getMarkerPosition(v,e,!0)}else{var m=r.get(e[0],t),g=r.get(e[1],t),_=[m,g];i.clampData&&i.clampData(_,_),s=i.dataToPoint(_,!0)}if(Uo(i,"cartesian2d")){var y=i.getAxis("x"),w=i.getAxis("y"),m=r.get(e[0],t),g=r.get(e[1],t);uv(m)?s[0]=y.toGlobalCoord(y.getExtent()[e[0]==="x0"?0:1]):uv(g)&&(s[1]=w.toGlobalCoord(w.getExtent()[e[1]==="y0"?0:1]))}isNaN(l)||(s[0]=l),isNaN(u)||(s[1]=u)}return s}var $M=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],x0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.updateTransform=function(e,n,a){n.eachSeries(function(i){var o=Va.getMarkerModelFromSeries(i,"markArea");if(o){var s=o.getData();s.each(function(l){var u=Y($M,function(f){return GM(s,l,f,i,a)});s.setItemLayout(l,u);var c=s.getItemGraphicEl(l);c.setShape("points",u)})}},this)},t.prototype.renderSeries=function(e,n,a,i){var o=e.coordinateSystem,s=e.id,l=e.getData(),u=this.markerGroupMap,c=u.get(s)||u.set(s,{group:new de});this.group.add(c.group),this.markKeep(c);var f=b0e(o,e,n);n.setData(f),f.each(function(h){var p=Y($M,function(D){return GM(f,h,D,e,i)}),v=o.getAxis("x").scale,m=o.getAxis("y").scale,g=v.getExtent(),_=m.getExtent(),y=[v.parse(f.get("x0",h)),v.parse(f.get("x1",h))],w=[m.parse(f.get("y0",h)),m.parse(f.get("y1",h))];Gr(y),Gr(w);var x=!(g[0]>y[1]||g[1]<y[0]||_[0]>w[1]||_[1]<w[0]),b=!x;f.setItemLayout(h,{points:p,allClipped:b});var S=f.getItemModel(h).getModel("itemStyle").getItemStyle(),C=cc(l,"color");S.fill||(S.fill=C,K(S.fill)&&(S.fill=Dh(S.fill,.4))),S.stroke||(S.stroke=C),f.setItemVisual(h,"style",S)}),f.diff(lv(c).data).add(function(h){var p=f.getItemLayout(h);if(!p.allClipped){var v=new cr({shape:{points:p.points}});f.setItemGraphicEl(h,v),c.group.add(v)}}).update(function(h,p){var v=lv(c).data.getItemGraphicEl(p),m=f.getItemLayout(h);m.allClipped?v&&c.group.remove(v):(v?Oe(v,{shape:{points:m.points}},n,h):v=new cr({shape:{points:m.points}}),f.setItemGraphicEl(h,v),c.group.add(v))}).remove(function(h){var p=lv(c).data.getItemGraphicEl(h);c.group.remove(p)}).execute(),f.eachItemGraphicEl(function(h,p){var v=f.getItemModel(p),m=f.getItemVisual(p,"style");h.useStyle(f.getItemVisual(p,"style")),Ht(h,At(v),{labelFetcher:n,labelDataIndex:p,defaultText:f.getName(p)||"",inheritColor:K(m.fill)?Dh(m.fill,1):"#000"}),zt(h,v),ot(h,null,null,v.get(["emphasis","disabled"])),ge(h).dataModel=n}),lv(c).data=f,c.group.silent=n.get("silent")||e.get("silent")},t.type="markArea",t}(Ay);function b0e(r,t,e){var n,a,i=["x0","y0","x1","y1"];if(r){var o=Y(r&&r.dimensions,function(u){var c=t.getData(),f=c.getDimensionInfo(c.mapDimension(u))||{};return G(G({},f),{name:u,ordinalMeta:null})});a=Y(i,function(u,c){return{name:u,type:o[c%2].type}}),n=new hr(a,e)}else a=[{name:"value",type:"float"}],n=new hr(a,e);var s=Y(e.get("data"),me(y0e,t,r,e));r&&(s=Fe(s,me(w0e,r)));var l=r?function(u,c,f,h){var p=u.coord[Math.floor(h/2)][h%2];return ui(p,a[h])}:function(u,c,f,h){return ui(u.value,a[h])};return n.initData(s,null,l),n.hasItemOption=!0,n}function S0e(r){r.registerComponentModel(_0e),r.registerComponentView(x0e),r.registerPreprocessor(function(t){Sy(t.series,"markArea")&&(t.markArea=t.markArea||{})})}var C0e=function(r,t){if(t==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},ky=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.layoutMode={type:"box",ignoreSize:!0},e}return t.prototype.init=function(e,n,a){this.mergeDefaultAndTheme(e,a),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},t.prototype._updateSelector=function(e){var n=e.selector,a=this.ecModel;n===!0&&(n=e.selector=["all","inverse"]),U(n)&&M(n,function(i,o){K(i)&&(i={type:i}),n[o]=_e(i,C0e(a,i.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&this.get("selectedMode")==="single"){for(var n=!1,a=0;a<e.length;a++){var i=e[a].get("name");if(this.isSelected(i)){this.select(i),n=!0;break}}!n&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var n=[],a=[];e.eachRawSeries(function(l){var u=l.name;a.push(u);var c;if(l.legendVisualProvider){var f=l.legendVisualProvider,h=f.getAllNames();e.isSeriesFiltered(l)||(a=a.concat(h)),h.length?n=n.concat(h):c=!0}else c=!0;c&&Ng(l)&&n.push(l.name)}),this._availableNames=a;var i=this.get("data")||n,o=ne(),s=Y(i,function(l){return(K(l)||Be(l))&&(l={name:l}),o.get(l.name)?null:(o.set(l.name,!0),new Ue(l,this,this.ecModel))},this);this._data=Fe(s,function(l){return!!l})},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var n=this.option.selected,a=this.get("selectedMode");if(a==="single"){var i=this._data;M(i,function(o){n[o.get("name")]=!1})}n[e]=!0},t.prototype.unSelect=function(e){this.get("selectedMode")!=="single"&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var n=this.option.selected;n.hasOwnProperty(e)||(n[e]=!0),this[n[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,n=this.option.selected;M(e,function(a){n[a.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,n=this.option.selected;M(e,function(a){var i=a.get("name",!0);n.hasOwnProperty(i)||(n[i]=!0),n[i]=!n[i]})},t.prototype.isSelected=function(e){var n=this.option.selected;return!(n.hasOwnProperty(e)&&!n[e])&&xe(this._availableNames,e)>=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}(Ae),Bl=me,Ly=M,cv=de,WM=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!1,e}return t.prototype.init=function(){this.group.add(this._contentGroup=new cv),this.group.add(this._selectorGroup=new cv),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,n,a){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!e.get("show",!0)){var o=e.get("align"),s=e.get("orient");(!o||o==="auto")&&(o=e.get("left")==="right"&&s==="vertical"?"right":"left");var l=e.get("selector",!0),u=e.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=s==="horizontal"?"end":"start"),this.renderInner(o,e,n,a,l,s,u);var c=e.getBoxLayoutParams(),f={width:a.getWidth(),height:a.getHeight()},h=e.get("padding"),p=Et(c,f,h),v=this.layoutInner(e,o,p,i,l,u),m=Et(ue({width:v.width,height:v.height},c),f,h);this.group.x=m.x-v.x,this.group.y=m.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=QA(v,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,n,a,i,o,s,l){var u=this.getContentGroup(),c=ne(),f=n.get("selectedMode"),h=[];a.eachRawSeries(function(p){!p.get("legendHoverLink")&&h.push(p.id)}),Ly(n.getData(),function(p,v){var m=p.get("name");if(!this.newlineDisabled&&(m===""||m===`
|
|
106
|
-
`)){var g=new cv;g.newline=!0,u.add(g);return}var _=a.getSeriesByName(m)[0];if(!c.get(m)){if(_){var y=_.getData(),w=y.getVisual("legendLineStyle")||{},x=y.getVisual("legendIcon"),b=y.getVisual("style"),S=this._createItem(_,m,v,p,n,e,w,b,x,f,i);S.on("click",Bl(UM,m,null,i,h)).on("mouseover",Bl(Iy,_.name,null,i,h)).on("mouseout",Bl(Ny,_.name,null,i,h)),a.ssr&&S.eachChild(function(C){var D=ge(C);D.seriesIndex=_.seriesIndex,D.dataIndex=v,D.ssrType="legend"}),c.set(m,!0)}else a.eachRawSeries(function(C){if(!c.get(m)&&C.legendVisualProvider){var D=C.legendVisualProvider;if(!D.containName(m))return;var T=D.indexOfName(m),E=D.getItemVisual(T,"style"),A=D.getItemVisual(T,"legendIcon"),k=Ar(E.fill);k&&k[3]===0&&(k[3]=.2,E=G(G({},E),{fill:va(k,"rgba")}));var I=this._createItem(C,m,v,p,n,e,{},E,A,f,i);I.on("click",Bl(UM,null,m,i,h)).on("mouseover",Bl(Iy,null,m,i,h)).on("mouseout",Bl(Ny,null,m,i,h)),a.ssr&&I.eachChild(function(L){var N=ge(L);N.seriesIndex=C.seriesIndex,N.dataIndex=v,N.ssrType="legend"}),c.set(m,!0)}},this);process.env.NODE_ENV!=="production"&&(c.get(m)||console.warn(m+" series not exists. Legend data should be same with series name or data name."))}},this),o&&this._createSelector(o,n,i,s,l)},t.prototype._createSelector=function(e,n,a,i,o){var s=this.getSelectorGroup();Ly(e,function(u){var c=u.type,f=new Ve({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){a.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect",legendId:n.id})}});s.add(f);var h=n.getModel("selectorLabel"),p=n.getModel(["emphasis","selectorLabel"]);Ht(f,{normal:h,emphasis:p},{defaultText:u.title}),_o(f)})},t.prototype._createItem=function(e,n,a,i,o,s,l,u,c,f,h){var p=e.visualDrawType,v=o.get("itemWidth"),m=o.get("itemHeight"),g=o.isSelected(n),_=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),w=i.get("icon");c=w||c||"roundRect";var x=E0e(c,i,l,u,p,g,h),b=new cv,S=i.getModel("textStyle");if(ae(e.getLegendIcon)&&(!w||w==="inherit"))b.add(e.getLegendIcon({itemWidth:v,itemHeight:m,icon:c,iconRotate:_,itemStyle:x.itemStyle,lineStyle:x.lineStyle,symbolKeepAspect:y}));else{var C=w==="inherit"&&e.getData().getVisual("symbol")?_==="inherit"?e.getData().getVisual("symbolRotate"):_:0;b.add(T0e({itemWidth:v,itemHeight:m,icon:c,iconRotate:C,itemStyle:x.itemStyle,symbolKeepAspect:y}))}var D=s==="left"?v+5:-5,T=s,E=o.get("formatter"),A=n;K(E)&&E?A=E.replace("{name}",n??""):ae(E)&&(A=E(n));var k=g?S.getTextColor():i.get("inactiveColor");b.add(new Ve({style:Ze(S,{text:A,x:D,y:m/2,fill:k,align:T,verticalAlign:"middle"},{inheritColor:k})}));var I=new Pe({shape:b.getBoundingRect(),style:{fill:"transparent"}}),L=i.getModel("tooltip");return L.get("show")&&Co({el:I,componentModel:o,itemName:n,itemTooltipOption:L.option}),b.add(I),b.eachChild(function(N){N.silent=!0}),I.silent=!f,this.getContentGroup().add(b),_o(b),b.__legendDataIndex=a,b},t.prototype.layoutInner=function(e,n,a,i,o,s){var l=this.getContentGroup(),u=this.getSelectorGroup();Ao(e.get("orient"),l,e.get("itemGap"),a.width,a.height);var c=l.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),o){Ao("horizontal",u,e.get("selectorItemGap",!0));var h=u.getBoundingRect(),p=[-h.x,-h.y],v=e.get("selectorButtonGap",!0),m=e.getOrient().index,g=m===0?"width":"height",_=m===0?"height":"width",y=m===0?"y":"x";s==="end"?p[m]+=c[g]+v:f[m]+=h[g]+v,p[1-m]+=c[_]/2-h[_]/2,u.x=p[0],u.y=p[1],l.x=f[0],l.y=f[1];var w={x:0,y:0};return w[g]=c[g]+v+h[g],w[_]=Math.max(c[_],h[_]),w[y]=Math.min(0,h[y]+p[1-m]),w}else return l.x=f[0],l.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(nt);function E0e(r,t,e,n,a,i,o){function s(g,_){g.lineWidth==="auto"&&(g.lineWidth=_.lineWidth>0?2:0),Ly(g,function(y,w){g[w]==="inherit"&&(g[w]=_[w])})}var l=t.getModel("itemStyle"),u=l.getItemStyle(),c=r.lastIndexOf("empty",0)===0?"fill":"stroke",f=l.getShallow("decal");u.decal=!f||f==="inherit"?n.decal:dl(f,o),u.fill==="inherit"&&(u.fill=n[a]),u.stroke==="inherit"&&(u.stroke=n[c]),u.opacity==="inherit"&&(u.opacity=(a==="fill"?n:e).opacity),s(u,n);var h=t.getModel("lineStyle"),p=h.getLineStyle();if(s(p,e),u.fill==="auto"&&(u.fill=n.fill),u.stroke==="auto"&&(u.stroke=n.fill),p.stroke==="auto"&&(p.stroke=n.fill),!i){var v=t.get("inactiveBorderWidth"),m=u[c];u.lineWidth=v==="auto"?n.lineWidth>0&&m?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),p.stroke=h.get("inactiveColor"),p.lineWidth=h.get("inactiveWidth")}return{itemStyle:u,lineStyle:p}}function T0e(r){var t=r.icon||"roundRect",e=xt(t,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return e.setStyle(r.itemStyle),e.rotation=(r.iconRotate||0)*Math.PI/180,e.setOrigin([r.itemWidth/2,r.itemHeight/2]),t.indexOf("empty")>-1&&(e.style.stroke=e.style.fill,e.style.fill="#fff",e.style.lineWidth=2),e}function UM(r,t,e,n){Ny(r,t,e,n),e.dispatchAction({type:"legendToggleSelect",name:r??t}),Iy(r,t,e,n)}function YM(r){for(var t=r.getZr().storage.getDisplayList(),e,n=0,a=t.length;n<a&&!(e=t[n].states.emphasis);)n++;return e&&e.hoverLayer}function Iy(r,t,e,n){YM(e)||e.dispatchAction({type:"highlight",seriesName:r,name:t,excludeSeriesId:n})}function Ny(r,t,e,n){YM(e)||e.dispatchAction({type:"downplay",seriesName:r,name:t,excludeSeriesId:n})}function D0e(r){var t=r.findComponents({mainType:"legend"});t&&t.length&&r.filterSeries(function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0})}function of(r,t,e){var n=r==="allSelect"||r==="inverseSelect",a={},i=[];e.eachComponent({mainType:"legend",query:t},function(s){n?s[r]():s[r](t.name),jM(s,a),i.push(s.componentIndex)});var o={};return e.eachComponent("legend",function(s){M(a,function(l,u){s[l?"select":"unSelect"](u)}),jM(s,o)}),n?{selected:o,legendIndex:i}:{name:t.name,selected:o}}function jM(r,t){var e=t||{};return M(r.getData(),function(n){var a=n.get("name");if(!(a===`
|
|
107
|
-
`||a==="")){var i=r.isSelected(a);ee(e,a)?e[a]=e[a]&&i:e[a]=i}}),e}function A0e(r){r.registerAction("legendToggleSelect","legendselectchanged",me(of,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",me(of,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",me(of,"inverseSelect")),r.registerAction("legendSelect","legendselected",me(of,"select")),r.registerAction("legendUnSelect","legendunselected",me(of,"unSelect"))}function XM(r){r.registerComponentModel(ky),r.registerComponentView(WM),r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,D0e),r.registerSubTypeDefaulter("legend",function(){return"plain"}),A0e(r)}var M0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(e,n,a){var i=rl(e);r.prototype.init.call(this,e,n,a),qM(this,e,i)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.call(this,e,n),qM(this,this.option,e)},t.type="legend.scroll",t.defaultOption=oi(ky.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}(ky);function qM(r,t,e){var n=r.getOrient(),a=[1,1];a[n.index]=0,li(t,e,{type:"box",ignoreSize:!!a})}var ZM=de,Py=["width","height"],Vy=["x","y"],k0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.newlineDisabled=!0,e._currentIndex=0,e}return t.prototype.init=function(){r.prototype.init.call(this),this.group.add(this._containerGroup=new ZM),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new ZM)},t.prototype.resetInner=function(){r.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(e,n,a,i,o,s,l){var u=this;r.prototype.renderInner.call(this,e,n,a,i,o,s,l);var c=this._controllerGroup,f=n.get("pageIconSize",!0),h=U(f)?f:[f,f];v("pagePrev",0);var p=n.getModel("pageTextStyle");c.add(new Ve({name:"pageText",style:{text:"xx/xx",fill:p.getTextColor(),font:p.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(m,g){var _=m+"DataIndex",y=qu(n.get("pageIcons",!0)[n.getOrient().name][g],{onclick:J(u._pageGo,u,_,n,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});y.name=m,c.add(y)}},t.prototype.layoutInner=function(e,n,a,i,o,s){var l=this.getSelectorGroup(),u=e.getOrient().index,c=Py[u],f=Vy[u],h=Py[1-u],p=Vy[1-u];o&&Ao("horizontal",l,e.get("selectorItemGap",!0));var v=e.get("selectorButtonGap",!0),m=l.getBoundingRect(),g=[-m.x,-m.y],_=pe(a);o&&(_[c]=a[c]-m[c]-v);var y=this._layoutContentAndController(e,i,_,u,c,h,p,f);if(o){if(s==="end")g[u]+=y[c]+v;else{var w=m[c]+v;g[u]-=w,y[f]-=w}y[c]+=m[c]+v,g[1-u]+=y[p]+y[h]/2-m[h]/2,y[h]=Math.max(y[h],m[h]),y[p]=Math.min(y[p],m[p]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return y},t.prototype._layoutContentAndController=function(e,n,a,i,o,s,l,u){var c=this.getContentGroup(),f=this._containerGroup,h=this._controllerGroup;Ao(e.get("orient"),c,e.get("itemGap"),i?a.width:null,i?null:a.height),Ao("horizontal",h,e.get("pageButtonItemGap",!0));var p=c.getBoundingRect(),v=h.getBoundingRect(),m=this._showController=p[o]>a[o],g=[-p.x,-p.y];n||(g[i]=c[u]);var _=[0,0],y=[-v.x,-v.y],w=ve(e.get("pageButtonGap",!0),e.get("itemGap",!0));if(m){var x=e.get("pageButtonPosition",!0);x==="end"?y[i]+=a[o]-v[o]:_[i]+=v[o]+w}y[1-i]+=p[s]/2-v[s]/2,c.setPosition(g),f.setPosition(_),h.setPosition(y);var b={x:0,y:0};if(b[o]=m?a[o]:p[o],b[s]=Math.max(p[s],v[s]),b[l]=Math.min(0,v[l]+y[1-i]),f.__rectSize=a[o],m){var S={x:0,y:0};S[o]=Math.max(a[o]-v[o]-w,0),S[s]=b[s],f.setClipPath(new Pe({shape:S})),f.__rectSize=S[o]}else h.eachChild(function(D){D.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(e);return C.pageIndex!=null&&Oe(c,{x:C.contentPosition[0],y:C.contentPosition[1]},m?e:null),this._updatePageInfoView(e,C),b},t.prototype._pageGo=function(e,n,a){var i=this._getPageInfo(n)[e];i!=null&&a.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:n.id})},t.prototype._updatePageInfoView=function(e,n){var a=this._controllerGroup;M(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",h=n[f]!=null,p=a.childOfName(c);p&&(p.setStyle("fill",h?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),p.cursor=h?"pointer":"default")});var i=a.childOfName("pageText"),o=e.get("pageFormatter"),s=n.pageIndex,l=s!=null?s+1:0,u=n.pageCount;i&&o&&i.setStyle("text",K(o)?o.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):o({current:l,total:u}))},t.prototype._getPageInfo=function(e){var n=e.get("scrollDataIndex",!0),a=this.getContentGroup(),i=this._containerGroup.__rectSize,o=e.getOrient().index,s=Py[o],l=Vy[o],u=this._findTargetItemIndex(n),c=a.children(),f=c[u],h=c.length,p=h?1:0,v={contentPosition:[a.x,a.y],pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var m=x(f);v.contentPosition[o]=-m.s;for(var g=u+1,_=m,y=m,w=null;g<=h;++g)w=x(c[g]),(!w&&y.e>_.s+i||w&&!b(w,_.s))&&(y.i>_.i?_=y:_=w,_&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=_.i),++v.pageCount)),y=w;for(var g=u-1,_=m,y=m,w=null;g>=-1;--g)w=x(c[g]),(!w||!b(y,w.s))&&_.i<y.i&&(y=_,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=_.i),++v.pageCount,++v.pageIndex),_=w;return v;function x(S){if(S){var C=S.getBoundingRect(),D=C[l]+S[l];return{s:D,e:D+C[s],i:S.__legendDataIndex}}}function b(S,C){return S.e>=C&&S.s<=C+i}},t.prototype._findTargetItemIndex=function(e){if(!this._showController)return 0;var n,a=this.getContentGroup(),i;return a.eachChild(function(o,s){var l=o.__legendDataIndex;i==null&&l!=null&&(i=s),l===e&&(n=s)}),n??i},t.type="legend.scroll",t}(WM);function L0e(r){r.registerAction("legendScroll","legendscroll",function(t,e){var n=t.scrollDataIndex;n!=null&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},function(a){a.setScrollDataIndex(n)})})}function I0e(r){Se(XM),r.registerComponentModel(M0e),r.registerComponentView(k0e),L0e(r)}function N0e(r){Se(XM),Se(I0e)}var P0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.inside",t.defaultOption=oi(ef.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(ef),By=Ne();function V0e(r,t,e){By(r).coordSysRecordMap.each(function(n){var a=n.dataZoomInfoMap.get(t.uid);a&&(a.getRange=e)})}function B0e(r,t){for(var e=By(r).coordSysRecordMap,n=e.keys(),a=0;a<n.length;a++){var i=n[a],o=e.get(i),s=o.dataZoomInfoMap;if(s){var l=t.uid,u=s.get(l);u&&(s.removeKey(l),s.keys().length||KM(e,o))}}}function KM(r,t){if(t){r.removeKey(t.model.uid);var e=t.controller;e&&e.dispose()}}function O0e(r,t){var e={model:t,containsPoint:me(z0e,t),dispatchAction:me(R0e,r),dataZoomInfoMap:null,controller:null},n=e.controller=new Oc(r.getZr());return M(["pan","zoom","scrollMove"],function(a){n.on(a,function(i){var o=[];e.dataZoomInfoMap.each(function(s){if(i.isAvailableBehavior(s.model.option)){var l=(s.getRange||{})[a],u=l&&l(s.dzReferCoordSysInfo,e.model.mainType,e.controller,i);!s.model.get("disabled",!0)&&u&&o.push({dataZoomId:s.model.id,start:u[0],end:u[1]})}}),o.length&&e.dispatchAction(o)})}),e}function R0e(r,t){r.isDisposed()||r.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function z0e(r,t,e,n){return r.coordinateSystem.containPoint([e,n])}function H0e(r){var t,e="type_",n={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return r.each(function(i){var o=i.model,s=o.get("disabled",!0)?!1:o.get("zoomLock",!0)?"move":!0;n[e+s]>n[e+t]&&(t=s),a=a&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}function F0e(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(t,e){var n=By(e),a=n.coordSysRecordMap||(n.coordSysRecordMap=ne());a.each(function(i){i.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=jA(i);M(o.infoList,function(s){var l=s.model.uid,u=a.get(l)||a.set(l,O0e(e,s.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=ne());c.set(i.uid,{dzReferCoordSysInfo:s,model:i,getRange:null})})}),a.each(function(i){var o=i.controller,s,l=i.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(s=l.get(u))}if(!s){KM(a,i);return}var c=H0e(l);o.enable(c.controlType,c.opt),o.setPointerChecker(i.containsPoint),cl(i,"dispatchAction",s.model.get("throttle",!0),"fixRate")})})}var G0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return t.prototype.render=function(e,n,a){if(r.prototype.render.apply(this,arguments),e.noTarget()){this._clear();return}this.range=e.getPercentRange(),V0e(a,e,{pan:J(Oy.pan,this),zoom:J(Oy.zoom,this),scrollMove:J(Oy.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){B0e(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(uy),Oy={zoom:function(r,t,e,n){var a=this.range,i=a.slice(),o=r.axisModels[0];if(o){var s=Ry[t](null,[n.originX,n.originY],o,e,r),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(i[1]-i[0])+i[0],u=Math.max(1/n.scale,0);i[0]=(i[0]-l)*u+l,i[1]=(i[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(Qo(0,i,[0,100],0,c.minSpan,c.maxSpan),this.range=i,a[0]!==i[0]||a[1]!==i[1])return i}},pan:JM(function(r,t,e,n,a,i){var o=Ry[n]([i.oldX,i.oldY],[i.newX,i.newY],t,a,e);return o.signal*(r[1]-r[0])*o.pixel/o.pixelLength}),scrollMove:JM(function(r,t,e,n,a,i){var o=Ry[n]([0,0],[i.scrollDelta,i.scrollDelta],t,a,e);return o.signal*(r[1]-r[0])*i.scrollDelta})};function JM(r){return function(t,e,n,a){var i=this.range,o=i.slice(),s=t.axisModels[0];if(s){var l=r(o,s,t,e,n,a);if(Qo(l,o,[0,100],"all"),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}}}var Ry={grid:function(r,t,e,n,a){var i=e.axis,o={},s=a.model.coordinateSystem.getRect();return r=r||[0,0],i.dim==="x"?(o.pixel=t[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=i.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=i.inverse?-1:1),o},polar:function(r,t,e,n,a){var i=e.axis,o={},s=a.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return r=r?s.pointToCoord(r):[0,0],t=s.pointToCoord(t),e.mainType==="radiusAxis"?(o.pixel=t[0]-r[0],o.pixelLength=l[1]-l[0],o.pixelStart=l[0],o.signal=i.inverse?1:-1):(o.pixel=t[1]-r[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(r,t,e,n,a){var i=e.axis,o=a.model.coordinateSystem.getRect(),s={};return r=r||[0,0],i.orient==="horizontal"?(s.pixel=t[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=i.inverse?1:-1):(s.pixel=t[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=i.inverse?-1:1),s}};function QM(r){cy(r),r.registerComponentModel(P0e),r.registerComponentView(G0e),F0e(r)}var $0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=oi(ef.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}(ef),sf=Pe,e7=7,W0e=1,zy=30,U0e=7,lf="horizontal",t7="vertical",Y0e=5,j0e=["line","bar","candlestick","scatter"],X0e={easing:"cubicOut",duration:100,delay:0},q0e=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._displayables={},e}return t.prototype.init=function(e,n){this.api=n,this._onBrush=J(this._onBrush,this),this._onBrushEnd=J(this._onBrushEnd,this)},t.prototype.render=function(e,n,a,i){if(r.prototype.render.apply(this,arguments),cl(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),e.get("show")===!1){this.group.removeAll();return}if(e.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){sc(this,"_dispatchZoomAction");var e=this.api.getZr();e.off("mousemove",this._onBrush),e.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var e=this.group;e.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var n=this._displayables.sliderGroup=new de;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),e.add(n),this._positionGroup()},t.prototype._resetLocation=function(){var e=this.dataZoomModel,n=this.api,a=e.get("brushSelect"),i=a?U0e:0,o=this._findCoordRect(),s={width:n.getWidth(),height:n.getHeight()},l=this._orient===lf?{right:s.width-o.x-o.width,top:s.height-zy-e7-i,width:o.width,height:zy}:{right:e7,top:o.y,width:zy,height:o.height},u=rl(e.option);M(["right","top","width","height"],function(f){u[f]==="ph"&&(u[f]=l[f])});var c=Et(u,s);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===t7&&this._size.reverse()},t.prototype._positionGroup=function(){var e=this.group,n=this._location,a=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),s=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;s.attr(a===lf&&!o?{scaleY:l?1:-1,scaleX:1}:a===lf&&o?{scaleY:l?1:-1,scaleX:-1}:a===t7&&!o?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=e.getBoundingRect([s]);e.x=n.x-u.x,e.y=n.y-u.y,e.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var e=this.dataZoomModel,n=this._size,a=this._displayables.sliderGroup,i=e.get("brushSelect");a.add(new sf({silent:!0,shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:e.get("backgroundColor")},z2:-40}));var o=new sf({shape:{x:0,y:0,width:n[0],height:n[1]},style:{fill:"transparent"},z2:0,onclick:J(this._onClickPanel,this)}),s=this.api.getZr();i?(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)),a.add(o)},t.prototype._renderDataShadow=function(){var e=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!e)return;var n=this._size,a=this._shadowSize||[],i=e.series,o=i.getRawData(),s=i.getShadowDim&&i.getShadowDim(),l=s&&o.getDimensionInfo(s)?i.getShadowDim():e.otherDim;if(l==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(o!==this._shadowData||l!==this._shadowDim||n[0]!==a[0]||n[1]!==a[1]){var f=o.getDataExtent(l),h=(f[1]-f[0])*.3;f=[f[0]-h,f[1]+h];var p=[0,n[1]],v=[0,n[0]],m=[[n[0],0],[0,0]],g=[],_=v[1]/(o.count()-1),y=0,w=Math.round(o.count()/n[0]),x;o.each([l],function(T,E){if(w>0&&E%w){y+=_;return}var A=T==null||isNaN(T)||T==="",k=A?0:We(T,f,p,!0);A&&!x&&E?(m.push([m[m.length-1][0],0]),g.push([g[g.length-1][0],0])):!A&&x&&(m.push([y,0]),g.push([y,0])),m.push([y,k]),g.push([y,k]),y+=_,x=A}),u=this._shadowPolygonPts=m,c=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=l,this._shadowSize=[n[0],n[1]];var b=this.dataZoomModel;function S(T){var E=b.getModel(T?"selectedDataBackground":"dataBackground"),A=new de,k=new cr({shape:{points:u},segmentIgnoreThreshold:1,style:E.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),I=new fr({shape:{points:c},segmentIgnoreThreshold:1,style:E.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return A.add(k),A.add(I),A}for(var C=0;C<3;C++){var D=S(C===1);this._displayables.sliderGroup.add(D),this._displayables.dataShadowSegs.push(D)}},t.prototype._prepareDataShadowInfo=function(){var e=this.dataZoomModel,n=e.get("showDataShadow");if(n!==!1){var a,i=this.ecModel;return e.eachTargetAxis(function(o,s){var l=e.getAxisProxy(o,s).getTargetSeriesModels();M(l,function(u){if(!a&&!(n!==!0&&xe(j0e,u.get("type"))<0)){var c=i.getComponent(bi(o),s).axis,f=Z0e(o),h,p=u.coordinateSystem;f!=null&&p.getOtherAxis&&(h=p.getOtherAxis(c).inverse),f=u.getData().mapDimension(f),a={thisAxis:c,series:u,thisDim:o,otherDim:f,otherAxisInverse:h}}},this)},this),a}},t.prototype._renderHandle=function(){var e=this.group,n=this._displayables,a=n.handles=[null,null],i=n.handleLabels=[null,null],o=this._displayables.sliderGroup,s=this._size,l=this.dataZoomModel,u=this.api,c=l.get("borderRadius")||0,f=l.get("brushSelect"),h=n.filler=new sf({silent:f,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});o.add(h),o.add(new sf({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:s[0],height:s[1],r:c},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:W0e,fill:"rgba(0,0,0,0)"}})),M([0,1],function(w){var x=l.get("handleIcon");!Hp[x]&&x.indexOf("path://")<0&&x.indexOf("image://")<0&&(x="path://"+x,process.env.NODE_ENV!=="production"&&mn("handleIcon now needs 'path://' prefix when using a path string"));var b=xt(x,-1,0,2,2,null,!0);b.attr({cursor:r7(this._orient),draggable:!0,drift:J(this._onDragMove,this,w),ondragend:J(this._onDragEnd,this),onmouseover:J(this._showDataInfo,this,!0),onmouseout:J(this._showDataInfo,this,!1),z2:5});var S=b.getBoundingRect(),C=l.get("handleSize");this._handleHeight=Z(C,this._size[1]),this._handleWidth=S.width/S.height*this._handleHeight,b.setStyle(l.getModel("handleStyle").getItemStyle()),b.style.strokeNoScale=!0,b.rectHover=!0,b.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),_o(b);var D=l.get("handleColor");D!=null&&(b.style.fill=D),o.add(a[w]=b);var T=l.getModel("textStyle"),E=l.get("handleLabel")||{},A=E.show||!1;e.add(i[w]=new Ve({silent:!0,invisible:!A,style:Ze(T,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:T.getTextColor(),font:T.getFont()}),z2:10}))},this);var p=h;if(f){var v=Z(l.get("moveHandleSize"),s[1]),m=n.moveHandle=new Pe({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:s[1]-.5,height:v}}),g=v*.8,_=n.moveHandleIcon=xt(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);_.silent=!0,_.y=s[1]+v/2-.5,m.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(s[1]/2,Math.max(v,10));p=n.moveZone=new Pe({invisible:!0,shape:{y:s[1]-y,height:v+y}}),p.on("mouseover",function(){u.enterEmphasis(m)}).on("mouseout",function(){u.leaveEmphasis(m)}),o.add(m),o.add(_),o.add(p)}p.attr({draggable:!0,cursor:r7(this._orient),drift:J(this._onDragMove,this,"all"),ondragstart:J(this._showDataInfo,this,!0),ondragend:J(this._onDragEnd,this),onmouseover:J(this._showDataInfo,this,!0),onmouseout:J(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var e=this._range=this.dataZoomModel.getPercentRange(),n=this._getViewExtent();this._handleEnds=[We(e[0],[0,100],n,!0),We(e[1],[0,100],n,!0)]},t.prototype._updateInterval=function(e,n){var a=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),s=a.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];Qo(n,i,o,a.get("zoomLock")?"all":e,s.minSpan!=null?We(s.minSpan,l,o,!0):null,s.maxSpan!=null?We(s.maxSpan,l,o,!0):null);var u=this._range,c=this._range=Gr([We(i[0],o,l,!0),We(i[1],o,l,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},t.prototype._updateView=function(e){var n=this._displayables,a=this._handleEnds,i=Gr(a.slice()),o=this._size;M([0,1],function(p){var v=n.handles[p],m=this._handleHeight;v.attr({scaleX:m/2,scaleY:m/2,x:a[p]+(p?-1:1),y:o[1]/2-m/2})},this),n.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]});var s={x:i[0],width:i[1]-i[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 l=n.dataShadowSegs,u=[0,i[0],i[1],o[0]],c=0;c<l.length;c++){var f=l[c],h=f.getClipPath();h||(h=new Pe,f.setClipPath(h)),h.setShape({x:u[c],y:0,width:u[c+1]-u[c],height:o[1]})}this._updateDataInfo(e)},t.prototype._updateDataInfo=function(e){var n=this.dataZoomModel,a=this._displayables,i=a.handleLabels,o=this._orient,s=["",""];if(n.get("showDetail")){var l=n.findRepresentativeAxisProxy();if(l){var u=l.getAxisModel().axis,c=this._range,f=e?l.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:l.getDataValueWindow();s=[this._formatLabel(f[0],u),this._formatLabel(f[1],u)]}}var h=Gr(this._handleEnds.slice());p.call(this,0),p.call(this,1);function p(v){var m=So(a.handles[v].parent,this.group),g=vp(v===0?"right":"left",m),_=this._handleWidth/2+Y0e,y=xn([h[v]+(v===0?-_:_),this._size[1]/2],m);i[v].setStyle({x:y[0],y:y[1],verticalAlign:o===lf?"middle":g,align:o===lf?g:"center",text:s[v]})}},t.prototype._formatLabel=function(e,n){var a=this.dataZoomModel,i=a.get("labelFormatter"),o=a.get("labelPrecision");(o==null||o==="auto")&&(o=n.getPixelPrecision());var s=e==null||isNaN(e)?"":n.type==="category"||n.type==="time"?n.scale.getLabel({value:Math.round(e)}):e.toFixed(Math.min(o,20));return ae(i)?i(e,s):K(i)?i.replace("{value}",s):s},t.prototype._showDataInfo=function(e){var n=this.dataZoomModel.get("handleLabel")||{},a=n.show||!1,i=this.dataZoomModel.getModel(["emphasis","handleLabel"]),o=i.get("show")||!1,s=e||this._dragging?o:a,l=this._displayables,u=l.handleLabels;u[0].attr("invisible",!s),u[1].attr("invisible",!s),l.moveHandle&&this.api[s?"enterEmphasis":"leaveEmphasis"](l.moveHandle,1)},t.prototype._onDragMove=function(e,n,a,i){this._dragging=!0,pa(i.event);var o=this._displayables.sliderGroup.getLocalTransform(),s=xn([n,a],o,!0),l=this._updateInterval(e,s[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),l&&u&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var e=this.dataZoomModel.get("realtime");!e&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(e){var n=this._size,a=this._displayables.sliderGroup.transformCoordToLocal(e.offsetX,e.offsetY);if(!(a[0]<0||a[0]>n[0]||a[1]<0||a[1]>n[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,s=this._updateInterval("all",a[0]-o);this._updateView(),s&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(e){var n=e.offsetX,a=e.offsetY;this._brushStart=new ye(n,a),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(e){if(this._brushing){var n=this._displayables.brushRect;if(this._brushing=!1,!!n){n.attr("ignore",!0);var a=n.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(a.width)<5)){var o=this._getViewExtent(),s=[0,100];this._range=Gr([We(a.x,o,s,!0),We(a.x+a.width,o,s,!0)]),this._handleEnds=[a.x,a.x+a.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(e){this._brushing&&(pa(e.event),this._updateBrushRect(e.offsetX,e.offsetY))},t.prototype._updateBrushRect=function(e,n){var a=this._displayables,i=this.dataZoomModel,o=a.brushRect;o||(o=a.brushRect=new sf({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),a.sliderGroup.add(o)),o.attr("ignore",!1);var s=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(e,n),c=l.transformCoordToLocal(s.x,s.y),f=this._size;u[0]=Math.max(Math.min(f[0],u[0]),0),o.setShape({x:c[0],y:0,width:u[0]-c[0],height:f[1]})},t.prototype._dispatchZoomAction=function(e){var n=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:e?X0e:null,start:n[0],end:n[1]})},t.prototype._findCoordRect=function(){var e,n=jA(this.dataZoomModel).infoList;if(!e&&n.length){var a=n[0].model.coordinateSystem;e=a.getRect&&a.getRect()}if(!e){var i=this.api.getWidth(),o=this.api.getHeight();e={x:i*.2,y:o*.2,width:i*.6,height:o*.6}}return e},t.type="dataZoom.slider",t}(uy);function Z0e(r){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[r]}function r7(r){return r==="vertical"?"ns-resize":"ew-resize"}function n7(r){r.registerComponentModel($0e),r.registerComponentView(q0e),cy(r)}function K0e(r){Se(QM),Se(n7)}var a7={get:function(r,t,e){var n=pe((J0e[r]||{})[t]);return e&&U(n)?n[n.length-1]:n}},J0e={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]}},i7=Lt.mapVisual,Q0e=Lt.eachVisual,ege=U,o7=M,tge=Gr,rge=We,fv=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.stateList=["inRange","outOfRange"],e.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],e.layoutMode={type:"box",ignoreSize:!0},e.dataBound=[-1/0,1/0],e.targetVisuals={},e.controllerVisuals={},e}return t.prototype.init=function(e,n,a){this.mergeDefaultAndTheme(e,a)},t.prototype.optionUpdated=function(e,n){var a=this.option;!n&&SM(a,e,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(e){var n=this.stateList;e=J(e,this),this.controllerVisuals=yy(this.option.controller,n,e),this.targetVisuals=yy(this.option.target,n,e)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var e=this.option.seriesIndex,n=[];return e==null||e==="all"?this.ecModel.eachSeries(function(a,i){n.push(i)}):n=je(e),n},t.prototype.eachTargetSeries=function(e,n){M(this.getTargetSeriesIndices(),function(a){var i=this.ecModel.getSeriesByIndex(a);i&&e.call(n,i)},this)},t.prototype.isTargetSeries=function(e){var n=!1;return this.eachTargetSeries(function(a){a===e&&(n=!0)}),n},t.prototype.formatValueText=function(e,n,a){var i=this.option,o=i.precision,s=this.dataBound,l=i.formatter,u;a=a||["<",">"],U(e)&&(e=e.slice(),u=!0);var c=n?e:u?[f(e[0]),f(e[1])]:f(e);if(K(l))return l.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(ae(l))return u?l(e[0],e[1]):l(e);if(u)return e[0]===s[0]?a[0]+" "+c[1]:e[1]===s[1]?a[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 e=this.option,n=tge([e.min,e.max]);this._dataExtent=n},t.prototype.getDataDimensionIndex=function(e){var n=this.option.dimension;if(n!=null)return e.getDimensionIndex(n);for(var a=e.dimensions,i=a.length-1;i>=0;i--){var o=a[i],s=e.getDimensionInfo(o);if(!s.isCalculationCoord)return s.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var e=this.ecModel,n=this.option,a={inRange:n.inRange,outOfRange:n.outOfRange},i=n.target||(n.target={}),o=n.controller||(n.controller={});_e(i,a),_e(o,a);var s=this.isCategory();l.call(this,i),l.call(this,o),u.call(this,i,"inRange","outOfRange"),c.call(this,o);function l(f){ege(n.color)&&!f.inRange&&(f.inRange={color:n.color.slice().reverse()}),f.inRange=f.inRange||{color:e.get("gradientColor")}}function u(f,h,p){var v=f[h],m=f[p];v&&!m&&(m=f[p]={},o7(v,function(g,_){if(Lt.isValidType(_)){var y=a7.get(_,"inactive",s);y!=null&&(m[_]=y,_==="color"&&!m.hasOwnProperty("opacity")&&!m.hasOwnProperty("colorAlpha")&&(m.opacity=[0,0]))}}))}function c(f){var h=(f.inRange||{}).symbol||(f.outOfRange||{}).symbol,p=(f.inRange||{}).symbolSize||(f.outOfRange||{}).symbolSize,v=this.get("inactiveColor"),m=this.getItemSymbol(),g=m||"roundRect";o7(this.stateList,function(_){var y=this.itemSize,w=f[_];w||(w=f[_]={color:s?v:[v]}),w.symbol==null&&(w.symbol=h&&pe(h)||(s?g:[g])),w.symbolSize==null&&(w.symbolSize=p&&pe(p)||(s?y[0]:[y[0],y[0]])),w.symbol=i7(w.symbol,function(S){return S==="none"?g:S});var x=w.symbolSize;if(x!=null){var b=-1/0;Q0e(x,function(S){S>b&&(b=S)}),w.symbolSize=i7(x,function(S){return rge(S,[0,b],[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(e){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(e){return null},t.prototype.getVisualMeta=function(e){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}(Ae),s7=[20,140],nge=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.optionUpdated=function(e,n){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(a){a.mappingMethod="linear",a.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(e[0]==null||isNaN(e[0]))&&(e[0]=s7[0]),(e[1]==null||isNaN(e[1]))&&(e[1]=s7[1])},t.prototype._resetRange=function(){var e=this.getExtent(),n=this.option.range;!n||n.auto?(e.auto=1,this.option.range=e):U(n)&&(n[0]>n[1]&&n.reverse(),n[0]=Math.max(n[0],e[0]),n[1]=Math.min(n[1],e[1]))},t.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),M(this.stateList,function(e){var n=this.option.controller[e].symbolSize;n&&n[0]!==n[1]&&(n[0]=n[1]/3)},this)},t.prototype.setSelected=function(e){this.option.range=e.slice(),this._resetRange()},t.prototype.getSelected=function(){var e=this.getExtent(),n=Gr((this.get("range")||[]).slice());return n[0]>e[1]&&(n[0]=e[1]),n[1]>e[1]&&(n[1]=e[1]),n[0]<e[0]&&(n[0]=e[0]),n[1]<e[0]&&(n[1]=e[0]),n},t.prototype.getValueState=function(e){var n=this.option.range,a=this.getExtent();return(n[0]<=a[0]||n[0]<=e)&&(n[1]>=a[1]||e<=n[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var n=[];return this.eachTargetSeries(function(a){var i=[],o=a.getData();o.each(this.getDataDimensionIndex(o),function(s,l){e[0]<=s&&s<=e[1]&&i.push(l)},this),n.push({seriesId:a.id,dataIndex:i})},this),n},t.prototype.getVisualMeta=function(e){var n=l7(this,"outOfRange",this.getExtent()),a=l7(this,"inRange",this.option.range.slice()),i=[];function o(p,v){i.push({value:p,color:e(p,v)})}for(var s=0,l=0,u=a.length,c=n.length;l<c&&(!a.length||n[l]<=a[0]);l++)n[l]<a[s]&&o(n[l],"outOfRange");for(var f=1;s<u;s++,f=0)f&&i.length&&o(a[s],"outOfRange"),o(a[s],"inRange");for(var f=1;l<c;l++)(!a.length||a[a.length-1]<n[l])&&(f&&(i.length&&o(i[i.length-1].value,"outOfRange"),f=0),o(n[l],"outOfRange"));var h=i.length;return{stops:i,outerColors:[h?i[0].color:"transparent",h?i[h-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=oi(fv.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}(fv);function l7(r,t,e){if(e[0]===e[1])return e.slice();for(var n=200,a=(e[1]-e[0])/n,i=e[0],o=[],s=0;s<=n&&i<e[1];s++)o.push(i),i+=a;return o.push(e[1]),o}var u7=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e.autoPositionValues={left:1,right:1,top:1,bottom:1},e}return t.prototype.init=function(e,n){this.ecModel=e,this.api=n},t.prototype.render=function(e,n,a,i){if(this.visualMapModel=e,e.get("show")===!1){this.group.removeAll();return}this.doRender(e,n,a,i)},t.prototype.renderBackground=function(e){var n=this.visualMapModel,a=tl(n.get("padding")||0),i=e.getBoundingRect();e.add(new Pe({z2:-1,silent:!0,shape:{x:i.x-a[3],y:i.y-a[0],width:i.width+a[3]+a[1],height:i.height+a[0]+a[2]},style:{fill:n.get("backgroundColor"),stroke:n.get("borderColor"),lineWidth:n.get("borderWidth")}}))},t.prototype.getControllerVisual=function(e,n,a){a=a||{};var i=a.forceState,o=this.visualMapModel,s={};if(n==="color"){var l=o.get("contentColor");s.color=l}function u(p){return s[p]}function c(p,v){s[p]=v}var f=o.controllerVisuals[i||o.getValueState(e)],h=Lt.prepareVisualTypes(f);return M(h,function(p){var v=f[p];a.convertOpacityToAlpha&&p==="opacity"&&(p="colorAlpha",v=f.__alphaForOpacity),Lt.dependsOn(p,n)&&v&&v.applyVisual(e,u,c)}),s[n]},t.prototype.positionGroup=function(e){var n=this.visualMapModel,a=this.api;Ap(e,n.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})},t.prototype.doRender=function(e,n,a,i){},t.type="visualMap",t}(nt),c7=[["left","right","width"],["top","bottom","height"]];function f7(r,t,e){var n=r.option,a=n.align;if(a!=null&&a!=="auto")return a;for(var i={width:t.getWidth(),height:t.getHeight()},o=n.orient==="horizontal"?1:0,s=c7[o],l=[0,null,10],u={},c=0;c<3;c++)u[c7[1-o][c]]=l[c],u[s[c]]=c===2?e[0]:n[s[c]];var f=[["x","width",3],["y","height",0]][o],h=Et(u,i,n.padding);return s[(h.margin[f[2]]||0)+h[f[0]]+h[f[1]]*.5<i[f[1]]*.5?0:1]}function hv(r,t){return M(r||[],function(e){e.dataIndex!=null&&(e.dataIndexInside=e.dataIndex,e.dataIndex=null),e.highlightKey="visualMap"+(t?t.componentIndex:"")}),r}var ra=We,age=M,h7=Math.min,Hy=Math.max,ige=12,oge=6,sge=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._shapes={},e._dataInterval=[],e._handleEnds=[],e._hoverLinkDataIndices=[],e}return t.prototype.init=function(e,n){r.prototype.init.call(this,e,n),this._hoverLinkFromSeriesMouseOver=J(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=J(this._hideIndicator,this)},t.prototype.doRender=function(e,n,a,i){(!i||i.type!=="selectDataRange"||i.from!==this.uid)&&this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var e=this.visualMapModel,n=this.group;this._orient=e.get("orient"),this._useHandle=e.get("calculable"),this._resetInterval(),this._renderBar(n);var a=e.get("text");this._renderEndsText(n,a,0),this._renderEndsText(n,a,1),this._updateView(!0),this.renderBackground(n),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(n)},t.prototype._renderEndsText=function(e,n,a){if(n){var i=n[1-a];i=i!=null?i+"":"";var o=this.visualMapModel,s=o.get("textGap"),l=o.itemSize,u=this._shapes.mainGroup,c=this._applyTransform([l[0]/2,a===0?-s:l[1]+s],u),f=this._applyTransform(a===0?"bottom":"top",u),h=this._orient,p=this.visualMapModel.textStyleModel;this.group.add(new Ve({style:Ze(p,{x:c[0],y:c[1],verticalAlign:h==="horizontal"?"middle":f,align:h==="horizontal"?f:"center",text:i})}))}},t.prototype._renderBar=function(e){var n=this.visualMapModel,a=this._shapes,i=n.itemSize,o=this._orient,s=this._useHandle,l=f7(n,this.api,i),u=a.mainGroup=this._createBarGroup(l),c=new de;u.add(c),c.add(a.outOfRange=p7()),c.add(a.inRange=p7(null,s?v7(this._orient):null,J(this._dragHandle,this,"all",!1),J(this._dragHandle,this,"all",!0))),c.setClipPath(new Pe({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var f=n.textStyleModel.getTextRect("国"),h=Hy(f.width,f.height);s&&(a.handleThumbs=[],a.handleLabels=[],a.handleLabelPoints=[],this._createHandle(n,u,0,i,h,o),this._createHandle(n,u,1,i,h,o)),this._createIndicator(n,u,i,h,o),e.add(u)},t.prototype._createHandle=function(e,n,a,i,o,s){var l=J(this._dragHandle,this,a,!1),u=J(this._dragHandle,this,a,!0),c=gn(e.get("handleSize"),i[0]),f=xt(e.get("handleIcon"),-c/2,-c/2,c,c,null,!0),h=v7(this._orient);f.attr({cursor:h,draggable:!0,drift:l,ondragend:u,onmousemove:function(_){pa(_.event)}}),f.x=i[0]/2,f.useStyle(e.getModel("handleStyle").getItemStyle()),f.setStyle({strokeNoScale:!0,strokeFirst:!0}),f.style.lineWidth*=2,f.ensureState("emphasis").style=e.getModel(["emphasis","handleStyle"]).getItemStyle(),yo(f,!0),n.add(f);var p=this.visualMapModel.textStyleModel,v=new Ve({cursor:h,draggable:!0,drift:l,onmousemove:function(_){pa(_.event)},ondragend:u,style:Ze(p,{x:0,y:0,text:""})});v.ensureState("blur").style={opacity:.1},v.stateTransition={duration:200},this.group.add(v);var m=[c,0],g=this._shapes;g.handleThumbs[a]=f,g.handleLabelPoints[a]=m,g.handleLabels[a]=v},t.prototype._createIndicator=function(e,n,a,i,o){var s=gn(e.get("indicatorSize"),a[0]),l=xt(e.get("indicatorIcon"),-s/2,-s/2,s,s,null,!0);l.attr({cursor:"move",invisible:!0,silent:!0,x:a[0]/2});var u=e.getModel("indicatorStyle").getItemStyle();if(l instanceof Vt){var c=l.style;l.useStyle(G({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},u))}else l.useStyle(u);n.add(l);var f=this.visualMapModel.textStyleModel,h=new Ve({silent:!0,invisible:!0,style:Ze(f,{x:0,y:0,text:""})});this.group.add(h);var p=[(o==="horizontal"?i/2:oge)+a[0]/2,0],v=this._shapes;v.indicator=l,v.indicatorLabel=h,v.indicatorLabelPoint=p,this._firstShowIndicator=!0},t.prototype._dragHandle=function(e,n,a,i){if(this._useHandle){if(this._dragging=!n,!n){var o=this._applyTransform([a,i],this._shapes.mainGroup,!0);this._updateInterval(e,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():d7(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[e],!1)}},t.prototype._resetInterval=function(){var e=this.visualMapModel,n=this._dataInterval=e.getSelected(),a=e.getExtent(),i=[0,e.itemSize[1]];this._handleEnds=[ra(n[0],a,i,!0),ra(n[1],a,i,!0)]},t.prototype._updateInterval=function(e,n){n=n||0;var a=this.visualMapModel,i=this._handleEnds,o=[0,a.itemSize[1]];Qo(n,i,o,e,0);var s=a.getExtent();this._dataInterval=[ra(i[0],o,s,!0),ra(i[1],o,s,!0)]},t.prototype._updateView=function(e){var n=this.visualMapModel,a=n.getExtent(),i=this._shapes,o=[0,n.itemSize[1]],s=e?o:this._handleEnds,l=this._createBarVisual(this._dataInterval,a,s,"inRange"),u=this._createBarVisual(a,a,o,"outOfRange");i.inRange.setStyle({fill:l.barColor}).setShape("points",l.barPoints),i.outOfRange.setStyle({fill:u.barColor}).setShape("points",u.barPoints),this._updateHandle(s,l)},t.prototype._createBarVisual=function(e,n,a,i){var o={forceState:i,convertOpacityToAlpha:!0},s=this._makeColorGradient(e,o),l=[this.getControllerVisual(e[0],"symbolSize",o),this.getControllerVisual(e[1],"symbolSize",o)],u=this._createBarPoints(a,l);return{barColor:new Yu(0,0,0,1,s),barPoints:u,handlesColor:[s[0].color,s[s.length-1].color]}},t.prototype._makeColorGradient=function(e,n){var a=100,i=[],o=(e[1]-e[0])/a;i.push({color:this.getControllerVisual(e[0],"color",n),offset:0});for(var s=1;s<a;s++){var l=e[0]+o*s;if(l>e[1])break;i.push({color:this.getControllerVisual(l,"color",n),offset:s/a})}return i.push({color:this.getControllerVisual(e[1],"color",n),offset:1}),i},t.prototype._createBarPoints=function(e,n){var a=this.visualMapModel.itemSize;return[[a[0]-n[0],e[0]],[a[0],e[0]],[a[0],e[1]],[a[0]-n[1],e[1]]]},t.prototype._createBarGroup=function(e){var n=this._orient,a=this.visualMapModel.get("inverse");return new de(n==="horizontal"&&!a?{scaleX:e==="bottom"?1:-1,rotation:Math.PI/2}:n==="horizontal"&&a?{scaleX:e==="bottom"?-1:1,rotation:-Math.PI/2}:n==="vertical"&&!a?{scaleX:e==="left"?1:-1,scaleY:-1}:{scaleX:e==="left"?1:-1})},t.prototype._updateHandle=function(e,n){if(this._useHandle){var a=this._shapes,i=this.visualMapModel,o=a.handleThumbs,s=a.handleLabels,l=i.itemSize,u=i.getExtent(),c=this._applyTransform("left",a.mainGroup);age([0,1],function(f){var h=o[f];h.setStyle("fill",n.handlesColor[f]),h.y=e[f];var p=ra(e[f],[0,l[1]],u,!0),v=this.getControllerVisual(p,"symbolSize");h.scaleX=h.scaleY=v/l[0],h.x=l[0]-v/2;var m=xn(a.handleLabelPoints[f],So(h,this.group));if(this._orient==="horizontal"){var g=c==="left"||c==="top"?(l[0]-v)/2:(l[0]-v)/-2;m[1]+=g}s[f].setStyle({x:m[0],y:m[1],text:i.formatValueText(this._dataInterval[f]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",a.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(e,n,a,i){var o=this.visualMapModel,s=o.getExtent(),l=o.itemSize,u=[0,l[1]],c=this._shapes,f=c.indicator;if(f){f.attr("invisible",!1);var h={convertOpacityToAlpha:!0},p=this.getControllerVisual(e,"color",h),v=this.getControllerVisual(e,"symbolSize"),m=ra(e,s,u,!0),g=l[0]-v/2,_={x:f.x,y:f.y};f.y=m,f.x=g;var y=xn(c.indicatorLabelPoint,So(f,this.group)),w=c.indicatorLabel;w.attr("invisible",!1);var x=this._applyTransform("left",c.mainGroup),b=this._orient,S=b==="horizontal";w.setStyle({text:(a||"")+o.formatValueText(n),verticalAlign:S?x:"middle",align:S?"center":x});var C={x:g,y:m,style:{fill:p}},D={style:{x:y[0],y:y[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var T={duration:100,easing:"cubicInOut",additive:!0};f.x=_.x,f.y=_.y,f.animateTo(C,T),w.animateTo(D,T)}else f.attr(C),w.attr(D);this._firstShowIndicator=!1;var E=this._shapes.handleLabels;if(E)for(var A=0;A<E.length;A++)this.api.enterBlur(E[A])}},t.prototype._enableHoverLinkToSeries=function(){var e=this;this._shapes.mainGroup.on("mousemove",function(n){if(e._hovering=!0,!e._dragging){var a=e.visualMapModel.itemSize,i=e._applyTransform([n.offsetX,n.offsetY],e._shapes.mainGroup,!0,!0);i[1]=h7(Hy(0,i[1]),a[1]),e._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=a[0])}}).on("mouseout",function(){e._hovering=!1,!e._dragging&&e._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var e=this.api.getZr();this.visualMapModel.option.hoverLink?(e.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),e.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(e,n){var a=this.visualMapModel,i=a.itemSize;if(a.option.hoverLink){var o=[0,i[1]],s=a.getExtent();e=h7(Hy(o[0],e),o[1]);var l=lge(a,s,o),u=[e-l,e+l],c=ra(e,o,s,!0),f=[ra(u[0],o,s,!0),ra(u[1],o,s,!0)];u[0]<o[0]&&(f[0]=-1/0),u[1]>o[1]&&(f[1]=1/0),n&&(f[0]===-1/0?this._showIndicator(c,f[1],"< ",l):f[1]===1/0?this._showIndicator(c,f[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var h=this._hoverLinkDataIndices,p=[];(n||d7(a))&&(p=this._hoverLinkDataIndices=a.findTargetDataIndices(f));var v=hJ(h,p);this._dispatchHighDown("downplay",hv(v[0],a)),this._dispatchHighDown("highlight",hv(v[1],a))}},t.prototype._hoverLinkFromSeriesMouseOver=function(e){var n;if(Io(e.target,function(l){var u=ge(l);if(u.dataIndex!=null)return n=u,!0},!0),!!n){var a=this.ecModel.getSeriesByIndex(n.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(a)){var o=a.getData(n.dataType),s=o.getStore().get(i.getDataDimensionIndex(o),n.dataIndex);isNaN(s)||this._showIndicator(s,s)}}},t.prototype._hideIndicator=function(){var e=this._shapes;e.indicator&&e.indicator.attr("invisible",!0),e.indicatorLabel&&e.indicatorLabel.attr("invisible",!0);var n=this._shapes.handleLabels;if(n)for(var a=0;a<n.length;a++)this.api.leaveBlur(n[a])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var e=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",hv(e,this.visualMapModel)),e.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var e=this.api.getZr();e.off("mouseover",this._hoverLinkFromSeriesMouseOver),e.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(e,n,a,i){var o=So(n,i?null:this.group);return U(e)?xn(e,o,a):vp(e,o,a)},t.prototype._dispatchHighDown=function(e,n){n&&n.length&&this.api.dispatchAction({type:e,batch:n})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(u7);function p7(r,t,e,n){return new cr({shape:{points:r},draggable:!!e,cursor:t,drift:e,onmousemove:function(a){pa(a.event)},ondragend:n})}function lge(r,t,e){var n=ige/2,a=r.get("hoverLinkDataSize");return a&&(n=ra(a,t,e,!0)/2),n}function d7(r){var t=r.get("hoverLinkOnHandle");return!!(t??r.get("realtime"))}function v7(r){return r==="vertical"?"ns-resize":"ew-resize"}var uge={type:"selectDataRange",event:"dataRangeSelected",update:"update"},cge=function(r,t){t.eachComponent({mainType:"visualMap",query:r},function(e){e.setSelected(r.selected)})},fge=[{createOnAllSeries:!0,reset:function(r,t){var e=[];return t.eachComponent("visualMap",function(n){var a=r.pipelineContext;!n.isTargetSeries(r)||a&&a.large||e.push(Nve(n.stateList,n.targetVisuals,J(n.getValueState,n),n.getDataDimensionIndex(r.getData())))}),e}},{createOnAllSeries:!0,reset:function(r,t){var e=r.getData(),n=[];t.eachComponent("visualMap",function(a){if(a.isTargetSeries(r)){var i=a.getVisualMeta(J(hge,null,r,a))||{stops:[],outerColors:[]},o=a.getDataDimensionIndex(e);o>=0&&(i.dimension=o,n.push(i))}}),r.getData().setVisual("visualMeta",n)}}];function hge(r,t,e,n){for(var a=t.targetVisuals[n],i=Lt.prepareVisualTypes(a),o={color:cc(r.getData(),"color")},s=0,l=i.length;s<l;s++){var u=i[s],c=a[u==="opacity"?"__alphaForOpacity":u];c&&c.applyVisual(e,f,h)}return o.color;function f(p){return o[p]}function h(p,v){o[p]=v}}var g7=M;function pge(r){var t=r&&r.visualMap;U(t)||(t=t?[t]:[]),g7(t,function(e){if(e){Ol(e,"splitList")&&!Ol(e,"pieces")&&(e.pieces=e.splitList,delete e.splitList);var n=e.pieces;n&&U(n)&&g7(n,function(a){oe(a)&&(Ol(a,"start")&&!Ol(a,"min")&&(a.min=a.start),Ol(a,"end")&&!Ol(a,"max")&&(a.max=a.end))})}})}function Ol(r,t){return r&&r.hasOwnProperty&&r.hasOwnProperty(t)}var m7=!1;function _7(r){m7||(m7=!0,r.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),r.registerAction(uge,cge),M(fge,function(t){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,t)}),r.registerPreprocessor(pge))}function y7(r){r.registerComponentModel(nge),r.registerComponentView(sge),_7(r)}var dge=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e._pieceList=[],e}return t.prototype.optionUpdated=function(e,n){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var a=this._mode=this._determineMode();this._pieceList=[],vge[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var i=this.option.categories;this.resetVisual(function(o,s){a==="categories"?(o.mappingMethod="category",o.categories=pe(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=Y(this._pieceList,function(l){return l=pe(l),s!=="inRange"&&(l.visual=null),l}))})},t.prototype.completeVisualOption=function(){var e=this.option,n={},a=Lt.listVisualTypes(),i=this.isCategory();M(e.pieces,function(s){M(a,function(l){s.hasOwnProperty(l)&&(n[l]=1)})}),M(n,function(s,l){var u=!1;M(this.stateList,function(c){u=u||o(e,c,l)||o(e.target,c,l)},this),!u&&M(this.stateList,function(c){(e[c]||(e[c]={}))[l]=a7.get(l,c==="inRange"?"active":"inactive",i)})},this);function o(s,l,u){return s&&s[l]&&s[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(e,n){var a=this.option,i=this._pieceList,o=(n?a:e).selected||{};if(a.selected=o,M(i,function(l,u){var c=this.getSelectedMapKey(l);o.hasOwnProperty(c)||(o[c]=!0)},this),a.selectedMode==="single"){var s=!1;M(i,function(l,u){var c=this.getSelectedMapKey(l);o[c]&&(s?o[c]=!1:s=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(e){return this._mode==="categories"?e.value+"":e.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var e=this.option;return e.pieces&&e.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(e){this.option.selected=pe(e)},t.prototype.getValueState=function(e){var n=Lt.findPieceIndex(e,this._pieceList);return n!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[n])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(e){var n=[],a=this._pieceList;return this.eachTargetSeries(function(i){var o=[],s=i.getData();s.each(this.getDataDimensionIndex(s),function(l,u){var c=Lt.findPieceIndex(l,a);c===e&&o.push(u)},this),n.push({seriesId:i.id,dataIndex:o})},this),n},t.prototype.getRepresentValue=function(e){var n;if(this.isCategory())n=e.value;else if(e.value!=null)n=e.value;else{var a=e.interval||[];n=a[0]===-1/0&&a[1]===1/0?0:(a[0]+a[1])/2}return n},t.prototype.getVisualMeta=function(e){if(this.isCategory())return;var n=[],a=["",""],i=this;function o(c,f){var h=i.getRepresentValue({interval:c});f||(f=i.getValueState(h));var p=e(h,f);c[0]===-1/0?a[0]=p:c[1]===1/0?a[1]=p:n.push({value:c[0],color:p},{value:c[1],color:p})}var s=this._pieceList.slice();if(!s.length)s.push({interval:[-1/0,1/0]});else{var l=s[0].interval[0];l!==-1/0&&s.unshift({interval:[-1/0,l]}),l=s[s.length-1].interval[1],l!==1/0&&s.push({interval:[l,1/0]})}var u=-1/0;return M(s,function(c){var f=c.interval;f&&(f[0]>u&&o([u,f[0]],"outOfRange"),o(f.slice()),u=f[1])},this),{stops:n,outerColors:a}},t.type="visualMap.piecewise",t.defaultOption=oi(fv.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}(fv),vge={splitNumber:function(r){var t=this.option,e=Math.min(t.precision,20),n=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var i=(n[1]-n[0])/a;+i.toFixed(e)!==i&&e<5;)e++;t.precision=e,i=+i.toFixed(e),t.minOpen&&r.push({interval:[-1/0,n[0]],close:[0,0]});for(var o=0,s=n[0];o<a;s+=i,o++){var l=o===a-1?n[1]:s+i;r.push({interval:[s,l],close:[1,1]})}t.maxOpen&&r.push({interval:[n[1],1/0],close:[0,0]}),mw(r),M(r,function(u,c){u.index=c,u.text=this.formatValueText(u.interval)},this)},categories:function(r){var t=this.option;M(t.categories,function(e){r.push({text:this.formatValueText(e,!0),value:e})},this),w7(t,r)},pieces:function(r){var t=this.option;M(t.pieces,function(e,n){oe(e)||(e={value:e});var a={text:"",index:n};if(e.label!=null&&(a.text=e.label),e.hasOwnProperty("value")){var i=a.value=e.value;a.interval=[i,i],a.close=[1,1]}else{for(var o=a.interval=[],s=a.close=[0,0],l=[1,0,1],u=[-1/0,1/0],c=[],f=0;f<2;f++){for(var h=[["gte","gt","min"],["lte","lt","max"]][f],p=0;p<3&&o[f]==null;p++)o[f]=e[h[p]],s[f]=l[p],c[f]=p===2;o[f]==null&&(o[f]=u[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]&&(a.value=o[0])}a.visual=Lt.retrieveVisuals(e),r.push(a)},this),w7(t,r),mw(r),M(r,function(e){var n=e.close,a=[["<","≤"][n[1]],[">","≥"][n[0]]];e.text=e.text||this.formatValueText(e.value!=null?e.value:e.interval,!1,a)},this)}};function w7(r,t){var e=r.inverse;(r.orient==="vertical"?!e:e)&&t.reverse()}var gge=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type=t.type,e}return t.prototype.doRender=function(){var e=this.group;e.removeAll();var n=this.visualMapModel,a=n.get("textGap"),i=n.textStyleModel,o=i.getFont(),s=i.getTextColor(),l=this._getItemAlign(),u=n.itemSize,c=this._getViewData(),f=c.endsText,h=mt(n.get("showLabel",!0),!f),p=!n.get("selectedMode");f&&this._renderEndsText(e,f[0],u,h,l),M(c.viewPieceList,function(v){var m=v.piece,g=new de;g.onclick=J(this._onItemClick,this,m),this._enableHoverLink(g,v.indexInModelPieceList);var _=n.getRepresentValue(m);if(this._createItemSymbol(g,_,[0,0,u[0],u[1]],p),h){var y=this.visualMapModel.getValueState(_);g.add(new Ve({style:{x:l==="right"?-a:u[0]+a,y:u[1]/2,text:m.text,verticalAlign:"middle",align:l,font:o,fill:s,opacity:y==="outOfRange"?.5:1},silent:p}))}e.add(g)},this),f&&this._renderEndsText(e,f[1],u,h,l),Ao(n.get("orient"),e,n.get("itemGap")),this.renderBackground(e),this.positionGroup(e)},t.prototype._enableHoverLink=function(e,n){var a=this;e.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(o){var s=a.visualMapModel;s.option.hoverLink&&a.api.dispatchAction({type:o,batch:hv(s.findTargetDataIndices(n),s)})}},t.prototype._getItemAlign=function(){var e=this.visualMapModel,n=e.option;if(n.orient==="vertical")return f7(e,this.api,e.itemSize);var a=n.align;return(!a||a==="auto")&&(a="left"),a},t.prototype._renderEndsText=function(e,n,a,i,o){if(n){var s=new de,l=this.visualMapModel.textStyleModel;s.add(new Ve({style:Ze(l,{x:i?o==="right"?a[0]:0:a[0]/2,y:a[1]/2,verticalAlign:"middle",align:i?o:"center",text:n})})),e.add(s)}},t.prototype._getViewData=function(){var e=this.visualMapModel,n=Y(e.getPieceList(),function(s,l){return{piece:s,indexInModelPieceList:l}}),a=e.get("text"),i=e.get("orient"),o=e.get("inverse");return(i==="horizontal"?o:!o)?n.reverse():a&&(a=a.slice().reverse()),{viewPieceList:n,endsText:a}},t.prototype._createItemSymbol=function(e,n,a,i){var o=xt(this.getControllerVisual(n,"symbol"),a[0],a[1],a[2],a[3],this.getControllerVisual(n,"color"));o.silent=i,e.add(o)},t.prototype._onItemClick=function(e){var n=this.visualMapModel,a=n.option,i=a.selectedMode;if(i){var o=pe(a.selected),s=n.getSelectedMapKey(e);i==="single"||i===!0?(o[s]=!0,M(o,function(l,u){o[u]=u===s})):o[s]=!o[s],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t}(u7);function x7(r){r.registerComponentModel(dge),r.registerComponentView(gge),_7(r)}function mge(r){Se(y7),Se(x7)}var _ge={label:{enabled:!0},decal:{show:!1}},b7=Ne(),yge={};function wge(r,t){var e=r.getModel("aria");if(!e.get("enabled"))return;var n=pe(_ge);_e(n.label,r.getLocaleModel().get("aria"),!1),_e(e.option,n,!1),a(),i();function a(){var u=e.getModel("decal"),c=u.get("show");if(c){var f=ne();r.eachSeries(function(h){if(!h.isColorBySeries()){var p=f.get(h.type);p||(p={},f.set(h.type,p)),b7(h).scope=p}}),r.eachRawSeries(function(h){if(r.isSeriesFiltered(h))return;if(ae(h.enableAriaDecal)){h.enableAriaDecal();return}var p=h.getData();if(h.isColorBySeries()){var y=z2(h.ecModel,h.name,yge,r.getSeriesCount()),w=p.getVisual("decal");p.setVisual("decal",x(w,y))}else{var v=h.getRawData(),m={},g=b7(h).scope;p.each(function(b){var S=p.getRawIndex(b);m[S]=b});var _=v.count();v.each(function(b){var S=m[b],C=v.getName(b)||b+"",D=z2(h.ecModel,C,g,_),T=p.getItemVisual(S,"decal");p.setItemVisual(S,"decal",x(T,D))})}function x(b,S){var C=b?G(G({},S),b):S;return C.dirty=!0,C}})}}function i(){var u=t.getZr().dom;if(u){var c=r.getLocaleModel().get("aria"),f=e.getModel("label");if(f.option=ue(f.option,c),!!f.get("enabled")){if(u.setAttribute("role","img"),f.get("description")){u.setAttribute("aria-label",f.get("description"));return}var h=r.getSeriesCount(),p=f.get(["data","maxCount"])||10,v=f.get(["series","maxCount"])||10,m=Math.min(h,v),g;if(!(h<1)){var _=s();if(_){var y=f.get(["general","withTitle"]);g=o(y,{title:_})}else g=f.get(["general","withoutTitle"]);var w=[],x=h>1?f.get(["series","multiple","prefix"]):f.get(["series","single","prefix"]);g+=o(x,{seriesCount:h}),r.eachSeries(function(D,T){if(T<m){var E=void 0,A=D.get("name"),k=A?"withName":"withoutName";E=h>1?f.get(["series","multiple",k]):f.get(["series","single",k]),E=o(E,{seriesId:D.seriesIndex,seriesName:D.get("name"),seriesType:l(D.subType)});var I=D.getData();if(I.count()>p){var L=f.get(["data","partialData"]);E+=o(L,{displayCnt:p})}else E+=f.get(["data","allData"]);for(var N=f.get(["data","separator","middle"]),P=f.get(["data","separator","end"]),V=f.get(["data","excludeDimensionId"]),O=[],B=0;B<I.count();B++)if(B<p){var R=I.getName(B),z=V?Fe(I.getValues(B),function($,X){return xe(V,X)===-1}):I.getValues(B),H=f.get(["data",R?"withName":"withoutName"]);O.push(o(H,{name:R,value:z.join(N)}))}E+=O.join(N)+P,w.push(E)}});var b=f.getModel(["series","multiple","separator"]),S=b.get("middle"),C=b.get("end");g+=w.join(S)+C,u.setAttribute("aria-label",g)}}}}function o(u,c){if(!K(u))return u;var f=u;return M(c,function(h,p){f=f.replace(new RegExp("\\{\\s*"+p+"\\s*\\}","g"),h)}),f}function s(){var u=r.get("title");return u&&u.length&&(u=u[0]),u&&u.text}function l(u){var c=r.getLocaleModel().get(["series","typeNames"]);return c[u]||c.chart}}function xge(r){if(!(!r||!r.aria)){var t=r.aria;t.show!=null&&(t.enabled=t.show),t.label=t.label||{},M(["description","general","series","data"],function(e){t[e]!=null&&(t.label[e]=t[e])})}}function bge(r){r.registerPreprocessor(xge),r.registerVisual(r.PRIORITY.VISUAL.ARIA,wge)}var S7={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},Sge=function(){function r(t){var e=this._condVal=K(t)?new RegExp(t):f8(t)?t:null;if(e==null){var n="";process.env.NODE_ENV!=="production"&&(n=or("Illegal regexp",t,"in")),Ge(n)}}return r.prototype.evaluate=function(t){var e=typeof t;return K(e)?this._condVal.test(t):Be(e)?this._condVal.test(t+""):!1},r}(),Cge=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),Ege=function(){function r(){}return r.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},r}(),Tge=function(){function r(){}return r.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},r}(),Dge=function(){function r(){}return r.prototype.evaluate=function(){return!this.child.evaluate()},r}(),Age=function(){function r(){}return r.prototype.evaluate=function(){for(var t=!!this.valueParser,e=this.getValue,n=e(this.valueGetterParam),a=t?this.valueParser(n):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?a:n))return!1;return!0},r}();function Fy(r,t){if(r===!0||r===!1){var e=new Cge;return e.value=r,e}var n="";return E7(r)||(process.env.NODE_ENV!=="production"&&(n=or("Illegal config. Expect a plain object but actually",r)),Ge(n)),r.and?C7("and",r,t):r.or?C7("or",r,t):r.not?Mge(r,t):kge(r,t)}function C7(r,t,e){var n=t[r],a="";process.env.NODE_ENV!=="production"&&(a=or('"and"/"or" condition should only be `'+r+": [...]` and must not be empty array.","Illegal condition:",t)),U(n)||Ge(a),n.length||Ge(a);var i=r==="and"?new Ege:new Tge;return i.children=Y(n,function(o){return Fy(o,e)}),i.children.length||Ge(a),i}function Mge(r,t){var e=r.not,n="";process.env.NODE_ENV!=="production"&&(n=or('"not" condition should only be `not: {}`.',"Illegal condition:",r)),E7(e)||Ge(n);var a=new Dge;return a.child=Fy(e,t),a.child||Ge(n),a}function kge(r,t){for(var e="",n=t.prepareGetValue(r),a=[],i=Me(r),o=r.parser,s=o?rb(o):null,l=0;l<i.length;l++){var u=i[l];if(!(u==="parser"||t.valueGetterAttrMap.get(u))){var c=ee(S7,u)?S7[u]:u,f=r[u],h=s?s(f):f,p=mte(c,h)||c==="reg"&&new Sge(h);p||(process.env.NODE_ENV!=="production"&&(e=or('Illegal relational operation: "'+u+'" in condition:',r)),Ge(e)),a.push(p)}}a.length||(process.env.NODE_ENV!=="production"&&(e=or("Relational condition must have at least one operator.","Illegal condition:",r)),Ge(e));var v=new Age;return v.valueGetterParam=n,v.valueParser=s,v.getValue=t.getValue,v.subCondList=a,v}function E7(r){return oe(r)&&!Yt(r)}var Lge=function(){function r(t,e){this._cond=Fy(t,e)}return r.prototype.evaluate=function(){return this._cond.evaluate()},r}();function Ige(r,t){return new Lge(r,t)}var Nge={type:"echarts:filter",transform:function(r){for(var t=r.upstream,e,n=Ige(r.config,{valueGetterAttrMap:ne({dimension:!0}),prepareGetValue:function(s){var l="",u=s.dimension;ee(s,"dimension")||(process.env.NODE_ENV!=="production"&&(l=or('Relation condition must has prop "dimension" specified.',"Illegal condition:",s)),Ge(l));var c=t.getDimensionInfo(u);return c||(process.env.NODE_ENV!=="production"&&(l=or("Can not find dimension info via: "+u+`.
|
|
108
|
-
`,"Existing dimensions: ",t.cloneAllDimensionInfo(),`.
|
|
109
|
-
`,"Illegal condition:",s,`.
|
|
110
|
-
`)),Ge(l)),{dimIdx:c.index}},getValue:function(s){return t.retrieveValueFromItem(e,s.dimIdx)}}),a=[],i=0,o=t.count();i<o;i++)e=t.getRawDataItem(i),n.evaluate()&&a.push(e);return{data:a}}},Gy="";process.env.NODE_ENV!=="production"&&(Gy=["Valid config is like:",'{ dimension: "age", order: "asc" }','or [{ dimension: "age", order: "asc"], { dimension: "date", order: "desc" }]'].join(" "));var Pge={type:"echarts:sort",transform:function(r){var t=r.upstream,e=r.config,n="",a=je(e);a.length||(process.env.NODE_ENV!=="production"&&(n="Empty `config` in sort transform."),Ge(n));var i=[];M(a,function(c){var f=c.dimension,h=c.order,p=c.parser,v=c.incomparable;if(f==null&&(process.env.NODE_ENV!=="production"&&(n='Sort transform config must has "dimension" specified.'+Gy),Ge(n)),h!=="asc"&&h!=="desc"&&(process.env.NODE_ENV!=="production"&&(n='Sort transform config must has "order" specified.'+Gy),Ge(n)),v&&v!=="min"&&v!=="max"){var m="";process.env.NODE_ENV!=="production"&&(m='incomparable must be "min" or "max" rather than "'+v+'".'),Ge(m)}if(h!=="asc"&&h!=="desc"){var g="";process.env.NODE_ENV!=="production"&&(g='order must be "asc" or "desc" rather than "'+h+'".'),Ge(g)}var _=t.getDimensionInfo(f);_||(process.env.NODE_ENV!=="production"&&(n=or("Can not find dimension info via: "+f+`.
|
|
111
|
-
`,"Existing dimensions: ",t.cloneAllDimensionInfo(),`.
|
|
112
|
-
`,"Illegal config:",c,`.
|
|
113
|
-
`)),Ge(n));var y=p?rb(p):null;p&&!y&&(process.env.NODE_ENV!=="production"&&(n=or("Invalid parser name "+p+`.
|
|
114
|
-
`,"Illegal config:",c,`.
|
|
115
|
-
`)),Ge(n)),i.push({dimIdx:_.index,parser:y,comparator:new ab(h,v)})});var o=t.sourceFormat;o!==Xt&&o!==Xr&&(process.env.NODE_ENV!=="production"&&(n='sourceFormat "'+o+'" is not supported yet'),Ge(n));for(var s=[],l=0,u=t.count();l<u;l++)s.push(t.getRawDataItem(l));return s.sort(function(c,f){for(var h=0;h<i.length;h++){var p=i[h],v=t.retrieveValueFromItem(c,p.dimIdx),m=t.retrieveValueFromItem(f,p.dimIdx);p.parser&&(v=p.parser(v),m=p.parser(m));var g=p.comparator.evaluate(v,m);if(g!==0)return g}return 0}),{data:s}}};function Vge(r){r.registerTransform(Nge),r.registerTransform(Pge)}var Bge=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataset",e}return t.prototype.init=function(e,n,a){r.prototype.init.call(this,e,n,a),this._sourceManager=new cb(this),fb(this)},t.prototype.mergeOption=function(e,n){r.prototype.mergeOption.call(this,e,n),fb(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:Xn},t}(Ae),Oge=function(r){F(t,r);function t(){var e=r!==null&&r.apply(this,arguments)||this;return e.type="dataset",e}return t.type="dataset",t}(nt);function Rge(r){r.registerComponentModel(Bge),r.registerComponentView(Oge)}var na=Un.CMD;function Rl(r,t){return Math.abs(r-t)<1e-5}function $y(r){var t=r.data,e=r.len(),n=[],a,i=0,o=0,s=0,l=0;function u(I,L){a&&a.length>2&&n.push(a),a=[I,L]}function c(I,L,N,P){Rl(I,N)&&Rl(L,P)||a.push(I,L,N,P,N,P)}function f(I,L,N,P,V,O){var B=Math.abs(L-I),R=Math.tan(B/4)*4/3,z=L<I?-1:1,H=Math.cos(I),$=Math.sin(I),X=Math.cos(L),j=Math.sin(L),fe=H*V+N,De=$*O+P,ie=X*V+N,re=j*O+P,le=V*R*z,Q=O*R*z;a.push(fe-le*$,De+Q*H,ie+le*j,re-Q*X,ie,re)}for(var h,p,v,m,g=0;g<e;){var _=t[g++],y=g===1;switch(y&&(i=t[g],o=t[g+1],s=i,l=o,(_===na.L||_===na.C||_===na.Q)&&(a=[s,l])),_){case na.M:i=s=t[g++],o=l=t[g++],u(s,l);break;case na.L:h=t[g++],p=t[g++],c(i,o,h,p),i=h,o=p;break;case na.C:a.push(t[g++],t[g++],t[g++],t[g++],i=t[g++],o=t[g++]);break;case na.Q:h=t[g++],p=t[g++],v=t[g++],m=t[g++],a.push(i+2/3*(h-i),o+2/3*(p-o),v+2/3*(h-v),m+2/3*(p-m),v,m),i=v,o=m;break;case na.A:var w=t[g++],x=t[g++],b=t[g++],S=t[g++],C=t[g++],D=t[g++]+C;g+=1;var T=!t[g++];h=Math.cos(C)*b+w,p=Math.sin(C)*S+x,y?(s=h,l=p,u(s,l)):c(i,o,h,p),i=Math.cos(D)*b+w,o=Math.sin(D)*S+x;for(var E=(T?-1:1)*Math.PI/2,A=C;T?A>D:A<D;A+=E){var k=T?Math.max(A+E,D):Math.min(A+E,D);f(A,k,w,x,b,S)}break;case na.R:s=i=t[g++],l=o=t[g++],h=s+t[g++],p=l+t[g++],u(h,l),c(h,l,h,p),c(h,p,s,p),c(s,p,s,l),c(s,l,h,l);break;case na.Z:a&&c(i,o,s,l),i=s,o=l;break}}return a&&a.length>2&&n.push(a),n}function Wy(r,t,e,n,a,i,o,s,l,u){if(Rl(r,e)&&Rl(t,n)&&Rl(a,o)&&Rl(i,s)){l.push(o,s);return}var c=2/u,f=c*c,h=o-r,p=s-t,v=Math.sqrt(h*h+p*p);h/=v,p/=v;var m=e-r,g=n-t,_=a-o,y=i-s,w=m*m+g*g,x=_*_+y*y;if(w<f&&x<f){l.push(o,s);return}var b=h*m+p*g,S=-h*_-p*y,C=w-b*b,D=x-S*S;if(C<f&&b>=0&&D<f&&S>=0){l.push(o,s);return}var T=[],E=[];Za(r,e,a,o,.5,T),Za(t,n,i,s,.5,E),Wy(T[0],E[0],T[1],E[1],T[2],E[2],T[3],E[3],l,u),Wy(T[4],E[4],T[5],E[5],T[6],E[6],T[7],E[7],l,u)}function zge(r,t){var e=$y(r),n=[];t=t||1;for(var a=0;a<e.length;a++){var i=e[a],o=[],s=i[0],l=i[1];o.push(s,l);for(var u=2;u<i.length;){var c=i[u++],f=i[u++],h=i[u++],p=i[u++],v=i[u++],m=i[u++];Wy(s,l,c,f,h,p,v,m,o,t),s=v,l=m}n.push(o)}return n}function T7(r,t,e){var n=r[t],a=r[1-t],i=Math.abs(n/a),o=Math.ceil(Math.sqrt(i*e)),s=Math.floor(e/o);s===0&&(s=1,o=e);for(var l=[],u=0;u<o;u++)l.push(s);var c=o*s,f=e-c;if(f>0)for(var u=0;u<f;u++)l[u%o]+=1;return l}function D7(r,t,e){for(var n=r.r0,a=r.r,i=r.startAngle,o=r.endAngle,s=Math.abs(o-i),l=s*a,u=a-n,c=l>Math.abs(u),f=T7([l,u],c?0:1,t),h=(c?s:u)/f.length,p=0;p<f.length;p++)for(var v=(c?u:s)/f[p],m=0;m<f[p];m++){var g={};c?(g.startAngle=i+h*p,g.endAngle=i+h*(p+1),g.r0=n+v*m,g.r=n+v*(m+1)):(g.startAngle=i+v*m,g.endAngle=i+v*(m+1),g.r0=n+h*p,g.r=n+h*(p+1)),g.clockwise=r.clockwise,g.cx=r.cx,g.cy=r.cy,e.push(g)}}function Hge(r,t,e){for(var n=r.width,a=r.height,i=n>a,o=T7([n,a],i?0:1,t),s=i?"width":"height",l=i?"height":"width",u=i?"x":"y",c=i?"y":"x",f=r[s]/o.length,h=0;h<o.length;h++)for(var p=r[l]/o[h],v=0;v<o[h];v++){var m={};m[u]=h*f,m[c]=v*p,m[s]=f,m[l]=p,m.x+=r.x,m.y+=r.y,e.push(m)}}function A7(r,t,e,n){return r*n-e*t}function Fge(r,t,e,n,a,i,o,s){var l=e-r,u=n-t,c=o-a,f=s-i,h=A7(c,f,l,u);if(Math.abs(h)<1e-6)return null;var p=r-a,v=t-i,m=A7(p,v,c,f)/h;return m<0||m>1?null:new ye(m*l+r,m*u+t)}function Gge(r,t,e){var n=new ye;ye.sub(n,e,t),n.normalize();var a=new ye;ye.sub(a,r,t);var i=a.dot(n);return i}function zl(r,t){var e=r[r.length-1];e&&e[0]===t[0]&&e[1]===t[1]||r.push(t)}function $ge(r,t,e){for(var n=r.length,a=[],i=0;i<n;i++){var o=r[i],s=r[(i+1)%n],l=Fge(o[0],o[1],s[0],s[1],t.x,t.y,e.x,e.y);l&&a.push({projPt:Gge(l,t,e),pt:l,idx:i})}if(a.length<2)return[{points:r},{points:r}];a.sort(function(g,_){return g.projPt-_.projPt});var u=a[0],c=a[a.length-1];if(c.idx<u.idx){var f=u;u=c,c=f}for(var h=[u.pt.x,u.pt.y],p=[c.pt.x,c.pt.y],v=[h],m=[p],i=u.idx+1;i<=c.idx;i++)zl(v,r[i].slice());zl(v,p),zl(v,h);for(var i=c.idx+1;i<=u.idx+n;i++)zl(m,r[i%n].slice());return zl(m,h),zl(m,p),[{points:v},{points:m}]}function M7(r){var t=r.points,e=[],n=[];Zh(t,e,n);var a=new we(e[0],e[1],n[0]-e[0],n[1]-e[1]),i=a.width,o=a.height,s=a.x,l=a.y,u=new ye,c=new ye;return i>o?(u.x=c.x=s+i/2,u.y=l,c.y=l+o):(u.y=c.y=l+o/2,u.x=s,c.x=s+i),$ge(t,u,c)}function pv(r,t,e,n){if(e===1)n.push(t);else{var a=Math.floor(e/2),i=r(t);pv(r,i[0],a,n),pv(r,i[1],e-a,n)}return n}function Wge(r,t){for(var e=[],n=0;n<t;n++)e.push(p2(r));return e}function Uge(r,t){t.setStyle(r.style),t.z=r.z,t.z2=r.z2,t.zlevel=r.zlevel}function Yge(r){for(var t=[],e=0;e<r.length;)t.push([r[e++],r[e++]]);return t}function jge(r,t){var e=[],n=r.shape,a;switch(r.type){case"rect":Hge(n,t,e),a=Pe;break;case"sector":D7(n,t,e),a=ur;break;case"circle":D7({r0:0,r:n.r,startAngle:0,endAngle:Math.PI*2,cx:n.cx,cy:n.cy},t,e),a=ur;break;default:var i=r.getComputedTransform(),o=i?Math.sqrt(Math.max(i[0]*i[0]+i[1]*i[1],i[2]*i[2]+i[3]*i[3])):1,s=Y(zge(r.getUpdatedPathProxy(),o),function(_){return Yge(_)}),l=s.length;if(l===0)pv(M7,{points:s[0]},t,e);else if(l===t)for(var u=0;u<l;u++)e.push({points:s[u]});else{var c=0,f=Y(s,function(_){var y=[],w=[];Zh(_,y,w);var x=(w[1]-y[1])*(w[0]-y[0]);return c+=x,{poly:_,area:x}});f.sort(function(_,y){return y.area-_.area});for(var h=t,u=0;u<l;u++){var p=f[u];if(h<=0)break;var v=u===l-1?h:Math.ceil(p.area/c*t);v<0||(pv(M7,{points:p.poly},v,e),h-=v)}}a=cr;break}if(!a)return Wge(r,t);for(var m=[],u=0;u<e.length;u++){var g=new a;g.setShape(e[u]),Uge(r,g),m.push(g)}return m}function Xge(r,t){var e=r.length,n=t.length;if(e===n)return[r,t];for(var a=[],i=[],o=e<n?r:t,s=Math.min(e,n),l=Math.abs(n-e)/6,u=(s-2)/6,c=Math.ceil(l/u)+1,f=[o[0],o[1]],h=l,p=2;p<s;){var v=o[p-2],m=o[p-1],g=o[p++],_=o[p++],y=o[p++],w=o[p++],x=o[p++],b=o[p++];if(h<=0){f.push(g,_,y,w,x,b);continue}for(var S=Math.min(h,c-1)+1,C=1;C<=S;C++){var D=C/S;Za(v,g,y,x,D,a),Za(m,_,w,b,D,i),v=a[3],m=i[3],f.push(a[1],i[1],a[2],i[2],v,m),g=a[5],_=i[5],y=a[6],w=i[6]}h-=S-1}return o===r?[f,t]:[r,f]}function k7(r,t){for(var e=r.length,n=r[e-2],a=r[e-1],i=[],o=0;o<t.length;)i[o++]=n,i[o++]=a;return i}function qge(r,t){for(var e,n,a,i=[],o=[],s=0;s<Math.max(r.length,t.length);s++){var l=r[s],u=t[s],c=void 0,f=void 0;l?u?(e=Xge(l,u),c=e[0],f=e[1],n=c,a=f):(f=k7(a||l,l),c=l):(c=k7(n||u,u),f=u),i.push(c),o.push(f)}return[i,o]}function L7(r){for(var t=0,e=0,n=0,a=r.length,i=0,o=a-2;i<a;o=i,i+=2){var s=r[o],l=r[o+1],u=r[i],c=r[i+1],f=s*c-u*l;t+=f,e+=(s+u)*f,n+=(l+c)*f}return t===0?[r[0]||0,r[1]||0]:[e/t/3,n/t/3,t]}function Zge(r,t,e,n){for(var a=(r.length-2)/6,i=1/0,o=0,s=r.length,l=s-2,u=0;u<a;u++){for(var c=u*6,f=0,h=0;h<s;h+=2){var p=h===0?c:(c+h-2)%l+2,v=r[p]-e[0],m=r[p+1]-e[1],g=t[h]-n[0],_=t[h+1]-n[1],y=g-v,w=_-m;f+=y*y+w*w}f<i&&(i=f,o=u)}return o}function Kge(r){for(var t=[],e=r.length,n=0;n<e;n+=2)t[n]=r[e-n-2],t[n+1]=r[e-n-1];return t}function Jge(r,t,e,n){for(var a=[],i,o=0;o<r.length;o++){var s=r[o],l=t[o],u=L7(s),c=L7(l);i==null&&(i=u[2]<0!=c[2]<0);var f=[],h=[],p=0,v=1/0,m=[],g=s.length;i&&(s=Kge(s));for(var _=Zge(s,l,u,c)*6,y=g-2,w=0;w<y;w+=2){var x=(_+w)%y+2;f[w+2]=s[x]-u[0],f[w+3]=s[x+1]-u[1]}f[0]=s[_]-u[0],f[1]=s[_+1]-u[1];for(var b=n/e,S=-n/2;S<=n/2;S+=b){for(var C=Math.sin(S),D=Math.cos(S),T=0,w=0;w<s.length;w+=2){var E=f[w],A=f[w+1],k=l[w]-c[0],I=l[w+1]-c[1],L=k*D-I*C,N=k*C+I*D;m[w]=L,m[w+1]=N;var P=L-E,V=N-A;T+=P*P+V*V}if(T<v){v=T,p=S;for(var O=0;O<m.length;O++)h[O]=m[O]}}a.push({from:f,to:h,fromCp:u,toCp:c,rotation:-p})}return a}function dv(r){return r.__isCombineMorphing}var I7="__mOriginal_";function vv(r,t,e){var n=I7+t,a=r[n]||r[t];r[n]||(r[n]=r[t]);var i=e.replace,o=e.after,s=e.before;r[t]=function(){var l=arguments,u;return s&&s.apply(this,l),i?u=i.apply(this,l):u=a.apply(this,l),o&&o.apply(this,l),u}}function uf(r,t){var e=I7+t;r[e]&&(r[t]=r[e],r[e]=null)}function N7(r,t){for(var e=0;e<r.length;e++)for(var n=r[e],a=0;a<n.length;){var i=n[a],o=n[a+1];n[a++]=t[0]*i+t[2]*o+t[4],n[a++]=t[1]*i+t[3]*o+t[5]}}function P7(r,t){var e=r.getUpdatedPathProxy(),n=t.getUpdatedPathProxy(),a=qge($y(e),$y(n)),i=a[0],o=a[1],s=r.getComputedTransform(),l=t.getComputedTransform();function u(){this.transform=null}s&&N7(i,s),l&&N7(o,l),vv(t,"updateTransform",{replace:u}),t.transform=null;var c=Jge(i,o,10,Math.PI),f=[];vv(t,"buildPath",{replace:function(h){for(var p=t.__morphT,v=1-p,m=[],g=0;g<c.length;g++){var _=c[g],y=_.from,w=_.to,x=_.rotation*p,b=_.fromCp,S=_.toCp,C=Math.sin(x),D=Math.cos(x);gh(m,b,S,p);for(var T=0;T<y.length;T+=2){var E=y[T],A=y[T+1],k=w[T],I=w[T+1],L=E*v+k*p,N=A*v+I*p;f[T]=L*D-N*C+m[0],f[T+1]=L*C+N*D+m[1]}var P=f[0],V=f[1];h.moveTo(P,V);for(var T=2;T<y.length;){var k=f[T++],I=f[T++],O=f[T++],B=f[T++],R=f[T++],z=f[T++];P===k&&V===I&&O===R&&B===z?h.lineTo(R,z):h.bezierCurveTo(k,I,O,B,R,z),P=R,V=z}}}})}function Uy(r,t,e){if(!r||!t)return t;var n=e.done,a=e.during;P7(r,t),t.__morphT=0;function i(){uf(t,"buildPath"),uf(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return t.animateTo({__morphT:1},ue({during:function(o){t.dirtyShape(),a&&a(o)},done:function(){i(),n&&n()}},e)),t}function Qge(r,t,e,n,a,i){var o=16;r=a===e?0:Math.round(32767*(r-e)/(a-e)),t=i===n?0:Math.round(32767*(t-n)/(i-n));for(var s=0,l,u=(1<<o)/2;u>0;u/=2){var c=0,f=0;(r&u)>0&&(c=1),(t&u)>0&&(f=1),s+=u*u*(3*c^f),f===0&&(c===1&&(r=u-1-r,t=u-1-t),l=r,r=t,t=l)}return s}function gv(r){var t=1/0,e=1/0,n=-1/0,a=-1/0,i=Y(r,function(s){var l=s.getBoundingRect(),u=s.getComputedTransform(),c=l.x+l.width/2+(u?u[4]:0),f=l.y+l.height/2+(u?u[5]:0);return t=Math.min(c,t),e=Math.min(f,e),n=Math.max(c,n),a=Math.max(f,a),[c,f]}),o=Y(i,function(s,l){return{cp:s,z:Qge(s[0],s[1],t,e,n,a),path:r[l]}});return o.sort(function(s,l){return s.z-l.z}).map(function(s){return s.path})}function V7(r){return jge(r.path,r.count)}function Yy(){return{fromIndividuals:[],toIndividuals:[],count:0}}function e2e(r,t,e){var n=[];function a(b){for(var S=0;S<b.length;S++){var C=b[S];dv(C)?a(C.childrenRef()):C instanceof Te&&n.push(C)}}a(r);var i=n.length;if(!i)return Yy();var o=e.dividePath||V7,s=o({path:t,count:i});if(s.length!==i)return console.error("Invalid morphing: unmatched splitted path"),Yy();n=gv(n),s=gv(s);for(var l=e.done,u=e.during,c=e.individualDelay,f=new ma,h=0;h<i;h++){var p=n[h],v=s[h];v.parent=t,v.copyTransform(f),c||P7(p,v)}t.__isCombineMorphing=!0,t.childrenRef=function(){return s};function m(b){for(var S=0;S<s.length;S++)s[S].addSelfToZr(b)}vv(t,"addSelfToZr",{after:function(b){m(b)}}),vv(t,"removeSelfFromZr",{after:function(b){for(var S=0;S<s.length;S++)s[S].removeSelfFromZr(b)}});function g(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,uf(t,"addSelfToZr"),uf(t,"removeSelfFromZr")}var _=s.length;if(c)for(var y=_,w=function(){y--,y===0&&(g(),l&&l())},h=0;h<_;h++){var x=c?ue({delay:(e.delay||0)+c(h,_,n[h],s[h]),done:w},e):e;Uy(n[h],s[h],x)}else t.__morphT=0,t.animateTo({__morphT:1},ue({during:function(b){for(var S=0;S<_;S++){var C=s[S];C.__morphT=t.__morphT,C.dirtyShape()}u&&u(b)},done:function(){g();for(var b=0;b<r.length;b++)uf(r[b],"updateTransform");l&&l()}},e));return t.__zr&&m(t.__zr),{fromIndividuals:n,toIndividuals:s,count:_}}function t2e(r,t,e){var n=t.length,a=[],i=e.dividePath||V7;function o(p){for(var v=0;v<p.length;v++){var m=p[v];dv(m)?o(m.childrenRef()):m instanceof Te&&a.push(m)}}if(dv(r)){o(r.childrenRef());var s=a.length;if(s<n)for(var l=0,u=s;u<n;u++)a.push(p2(a[l++%s]));a.length=n}else{a=i({path:r,count:n});for(var c=r.getComputedTransform(),u=0;u<a.length;u++)a[u].setLocalTransform(c);if(a.length!==n)return console.error("Invalid morphing: unmatched splitted path"),Yy()}a=gv(a),t=gv(t);for(var f=e.individualDelay,u=0;u<n;u++){var h=f?ue({delay:(e.delay||0)+f(u,n,a[u],t[u])},e):e;Uy(a[u],t[u],h)}return{fromIndividuals:a,toIndividuals:t,count:t.length}}function B7(r){return U(r[0])}function O7(r,t){for(var e=[],n=r.length,a=0;a<n;a++)e.push({one:r[a],many:[]});for(var a=0;a<t.length;a++){var i=t[a].length,o=void 0;for(o=0;o<i;o++)e[o%n].many.push(t[a][o])}for(var s=0,a=n-1;a>=0;a--)if(!e[a].many.length){var l=e[s].many;if(l.length<=1)if(s)s=0;else return e;var i=l.length,u=Math.ceil(i/2);e[a].many=l.slice(u,i),e[s].many=l.slice(0,u),s++}return e}var r2e={clone:function(r){for(var t=[],e=1-Math.pow(1-r.path.style.opacity,1/r.count),n=0;n<r.count;n++){var a=p2(r.path);a.setStyle("opacity",e),t.push(a)}return t},split:null};function jy(r,t,e,n,a,i){if(!r.length||!t.length)return;var o=js("update",n,a);if(!(o&&o.duration>0))return;var s=n.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o),u,c;B7(r)&&(u=r,c=t),B7(t)&&(u=t,c=r);function f(_,y,w,x,b){var S=_.many,C=_.one;if(S.length===1&&!b){var D=y?S[0]:C,T=y?C:S[0];if(dv(D))f({many:[D],one:T},!0,w,x,!0);else{var E=s?ue({delay:s(w,x)},l):l;Uy(D,T,E),i(D,T,D,T,E)}}else for(var A=ue({dividePath:r2e[e],individualDelay:s&&function(V,O,B,R){return s(V+w,x)}},l),k=y?e2e(S,C,A):t2e(C,S,A),I=k.fromIndividuals,L=k.toIndividuals,N=I.length,P=0;P<N;P++){var E=s?ue({delay:s(P,N)},l):l;i(I[P],L[P],y?S[P]:_.one,y?_.one:S[P],E)}}for(var h=u?u===r:r.length>t.length,p=u?O7(c,u):O7(h?t:r,[h?r:t]),v=0,m=0;m<p.length;m++)v+=p[m].many.length;for(var g=0,m=0;m<p.length;m++)f(p[m],h,g,v),g+=p[m].many.length}function is(r){if(!r)return[];if(U(r)){for(var t=[],e=0;e<r.length;e++)t.push(is(r[e]));return t}var n=[];return r.traverse(function(a){a instanceof Te&&!a.disableMorphing&&!a.invisible&&!a.ignore&&n.push(a)}),n}var R7=1e4,n2e=0,z7=1,H7=2,a2e=Ne();function i2e(r,t){for(var e=r.dimensions,n=0;n<e.length;n++){var a=r.getDimensionInfo(e[n]);if(a&&a.otherDims[t]===0)return e[n]}}function o2e(r,t,e){var n=r.getDimensionInfo(e),a=n&&n.ordinalMeta;if(n){var i=r.get(n.name,t);return a&&a.categories[i]||i+""}}function F7(r,t,e,n){var a=n?"itemChildGroupId":"itemGroupId",i=i2e(r,a);if(i){var o=o2e(r,t,i);return o}var s=r.getRawDataItem(t),l=n?"childGroupId":"groupId";if(s&&s[l])return s[l]+"";if(!n)return e||r.getId(t)}function G7(r){var t=[];return M(r,function(e){var n=e.data,a=e.dataGroupId;if(n.count()>R7){process.env.NODE_ENV!=="production"&&it("Universal transition is disabled on large data > 10k.");return}for(var i=n.getIndices(),o=0;o<i.length;o++)t.push({data:n,groupId:F7(n,o,a,!1),childGroupId:F7(n,o,a,!0),divide:e.divide,dataIndex:o})}),t}function Xy(r,t,e){r.traverse(function(n){n instanceof Te&&tt(n,{style:{opacity:0}},t,{dataIndex:e,isFrom:!0})})}function qy(r){if(r.parent){var t=r.getComputedTransform();r.setLocalTransform(t),r.parent.remove(r)}}function Hl(r){r.stopAnimation(),r.isGroup&&r.traverse(function(t){t.stopAnimation()})}function s2e(r,t,e){var n=js("update",e,t);n&&r.traverse(function(a){if(a instanceof $r){var i=JQ(a);i&&a.animateFrom({style:i},n)}})}function l2e(r,t){var e=r.length;if(e!==t.length)return!1;for(var n=0;n<e;n++){var a=r[n],i=t[n];if(a.data.getId(a.dataIndex)!==i.data.getId(i.dataIndex))return!1}return!0}function $7(r,t,e){var n=G7(r),a=G7(t);function i(w,x,b,S,C){(b||w)&&x.animateFrom({style:b&&b!==w?G(G({},b.style),w.style):w.style},C)}var o=!1,s=n2e,l=ne(),u=ne();n.forEach(function(w){w.groupId&&l.set(w.groupId,!0),w.childGroupId&&u.set(w.childGroupId,!0)});for(var c=0;c<a.length;c++){var f=a[c].groupId;if(u.get(f)){s=z7;break}var h=a[c].childGroupId;if(h&&l.get(h)){s=H7;break}}function p(w,x){return function(b){var S=b.data,C=b.dataIndex;return x?S.getId(C):w?s===z7?b.childGroupId:b.groupId:s===H7?b.childGroupId:b.groupId}}var v=l2e(n,a),m={};if(!v)for(var c=0;c<a.length;c++){var g=a[c],_=g.data.getItemGraphicEl(g.dataIndex);_&&(m[_.id]=!0)}function y(w,x){var b=n[x],S=a[w],C=S.data.hostModel,D=b.data.getItemGraphicEl(b.dataIndex),T=S.data.getItemGraphicEl(S.dataIndex);if(D===T){T&&s2e(T,S.dataIndex,C);return}D&&m[D.id]||T&&(Hl(T),D?(Hl(D),qy(D),o=!0,jy(is(D),is(T),S.divide,C,w,i)):Xy(T,C,w))}new Da(n,a,p(!0,v),p(!1,v),null,"multiple").update(y).updateManyToOne(function(w,x){var b=a[w],S=b.data,C=S.hostModel,D=S.getItemGraphicEl(b.dataIndex),T=Fe(Y(x,function(E){return n[E].data.getItemGraphicEl(n[E].dataIndex)}),function(E){return E&&E!==D&&!m[E.id]});D&&(Hl(D),T.length?(M(T,function(E){Hl(E),qy(E)}),o=!0,jy(is(T),is(D),b.divide,C,w,i)):Xy(D,C,b.dataIndex))}).updateOneToMany(function(w,x){var b=n[x],S=b.data.getItemGraphicEl(b.dataIndex);if(!(S&&m[S.id])){var C=Fe(Y(w,function(T){return a[T].data.getItemGraphicEl(a[T].dataIndex)}),function(T){return T&&T!==S}),D=a[w[0]].data.hostModel;C.length&&(M(C,function(T){return Hl(T)}),S?(Hl(S),qy(S),o=!0,jy(is(S),is(C),b.divide,D,w[0],i)):M(C,function(T){return Xy(T,D,w[0])}))}}).updateManyToMany(function(w,x){new Da(x,w,function(b){return n[b].data.getId(n[b].dataIndex)},function(b){return a[b].data.getId(a[b].dataIndex)}).update(function(b,S){y(w[b],x[S])}).execute()}).execute(),o&&M(t,function(w){var x=w.data,b=x.hostModel,S=b&&e.getViewOfSeriesModel(b),C=js("update",b,0);S&&b.isAnimationEnabled()&&C&&C.duration>0&&S.group.traverse(function(D){D instanceof Te&&!D.animators.length&&D.animateFrom({style:{opacity:0}},C)})})}function W7(r){var t=r.getModel("universalTransition").get("seriesKey");return t||r.id}function U7(r){return U(r)?r.sort().join(","):r}function Ci(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function u2e(r,t){var e=ne(),n=ne(),a=ne();M(r.oldSeries,function(o,s){var l=r.oldDataGroupIds[s],u=r.oldData[s],c=W7(o),f=U7(c);n.set(f,{dataGroupId:l,data:u}),U(c)&&M(c,function(h){a.set(h,{key:f,dataGroupId:l,data:u})})});function i(o){e.get(o)&&it("Duplicated seriesKey in universalTransition "+o)}return M(t.updatedSeries,function(o){if(o.isUniversalTransitionEnabled()&&o.isAnimationEnabled()){var s=o.get("dataGroupId"),l=o.getData(),u=W7(o),c=U7(u),f=n.get(c);if(f)process.env.NODE_ENV!=="production"&&i(c),e.set(c,{oldSeries:[{dataGroupId:f.dataGroupId,divide:Ci(f.data),data:f.data}],newSeries:[{dataGroupId:s,divide:Ci(l),data:l}]});else if(U(u)){process.env.NODE_ENV!=="production"&&i(c);var h=[];M(u,function(m){var g=n.get(m);g.data&&h.push({dataGroupId:g.dataGroupId,divide:Ci(g.data),data:g.data})}),h.length&&e.set(c,{oldSeries:h,newSeries:[{dataGroupId:s,data:l,divide:Ci(l)}]})}else{var p=a.get(u);if(p){var v=e.get(p.key);v||(v={oldSeries:[{dataGroupId:p.dataGroupId,data:p.data,divide:Ci(p.data)}],newSeries:[]},e.set(p.key,v)),v.newSeries.push({dataGroupId:s,data:l,divide:Ci(l)})}}}}),e}function Y7(r,t){for(var e=0;e<r.length;e++){var n=t.seriesIndex!=null&&t.seriesIndex===r[e].seriesIndex||t.seriesId!=null&&t.seriesId===r[e].id;if(n)return e}}function c2e(r,t,e,n){var a=[],i=[];M(je(r.from),function(o){var s=Y7(t.oldSeries,o);s>=0&&a.push({dataGroupId:t.oldDataGroupIds[s],data:t.oldData[s],divide:Ci(t.oldData[s]),groupIdDim:o.dimension})}),M(je(r.to),function(o){var s=Y7(e.updatedSeries,o);if(s>=0){var l=e.updatedSeries[s].getData();i.push({dataGroupId:t.oldDataGroupIds[s],data:l,divide:Ci(l),groupIdDim:o.dimension})}}),a.length>0&&i.length>0&&$7(a,i,n)}function f2e(r){r.registerUpdateLifecycle("series:beforeupdate",function(t,e,n){M(je(n.seriesTransition),function(a){M(je(a.to),function(i){for(var o=n.updatedSeries,s=0;s<o.length;s++)(i.seriesIndex!=null&&i.seriesIndex===o[s].seriesIndex||i.seriesId!=null&&i.seriesId===o[s].id)&&(o[s][Vp]=!0)})})}),r.registerUpdateLifecycle("series:transition",function(t,e,n){var a=a2e(e);if(a.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)M(je(i),function(p){c2e(p,a,n,e)});else{var o=u2e(a,n);M(o.keys(),function(p){var v=o.get(p);$7(v.oldSeries,v.newSeries,e)})}M(n.updatedSeries,function(p){p[Vp]&&(p[Vp]=!1)})}for(var s=t.getSeries(),l=a.oldSeries=[],u=a.oldDataGroupIds=[],c=a.oldData=[],f=0;f<s.length;f++){var h=s[f].getData();h.count()<R7&&(l.push(s[f]),u.push(s[f].get("dataGroupId")),c.push(h))}})}Se([bie]),Se([mie]),Se([Gie,noe,poe,Yoe,nse,$se,mle,eue,bue,Aue,Oue,Lce,rfe,pfe,Mfe,Nfe,$fe,Zfe,she,phe,She,ipe]),Se(Cpe),Se(Zpe),Se(RE),Se(ude),Se(iD),Se(pde),Se(bde),Se(uve),Se(Ave),Se(Qc),Se(Uve),Se(Xve),Se(a0e),Se(f0e),Se(m0e),Se(S0e),Se(N0e),Se(K0e),Se(QM),Se(n7),Se(mge),Se(y7),Se(x7),Se(bge),Se(Vge),Se(Rge),Se(f2e),Se(Oae);const h2e=dt({__name:"index",props:{optionContents:{type:Object,default:()=>{}}},setup(r){const t=r;let e=null,n=null;const a=d.ref({}),i=d.ref(null),o=()=>{i.value&&(n=new ResizeObserver(()=>{s()}),n.observe(i.value))};d.onMounted(()=>{a.value=t.optionContents,l(),window.addEventListener("resize",s),o()}),d.watch(()=>t.optionContents,()=>{a.value=t.optionContents,l()}),d.onUnmounted(()=>{n&&n.disconnect(),window.addEventListener("resize",s)});const s=()=>{e.resize()},l=()=>{e&&e.dispose(),e=ine(document.getElementById("chartModelId"));const u=a.value;e.setOption(u),e.resize()};return(u,c)=>(d.openBlock(),d.createElementBlock("div",{id:"chartModelId",class:"chart-model-class",ref_key:"chartModelRef",ref:i},null,512))}},[["__scopeId","data-v-798284db"]]),p2e=(r,t,e)=>{var i,o,s,l;let n=t;n.title.text=(e==null?void 0:e.chartName)??"",n.xAxis.data=(i=q(r))==null?void 0:i.map(u=>u.x),n.legend.data=(s=(o=q(r))==null?void 0:o[0])!=null&&s.y?Object.keys(q(r)[0].y):[];let a=[];return((l=n.legend.data)==null?void 0:l.length)>0&&q(n.legend.data).forEach(u=>{var f;const c=(f=q(r))==null?void 0:f.map(h=>{var p;return(p=h==null?void 0:h.y)==null?void 0:p[u]});a.push({name:u,type:"line",data:c})}),n.series=a,n},Zy=[{key:"折线图",value:{title:{text:"",left:"center",top:25,textStyle:{color:"#333",fontSize:18,fontWeight:"bold"}},tooltip:{trigger:"axis"},legend:{data:[]},grid:{left:"6%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",axisLabel:{interval:0},data:[]},yAxis:{type:"value"},series:[]}}],d2e={class:"eCharts"},v2e=Object.freeze(Object.defineProperty({__proto__:null,default:dt({__name:"index",props:{eChartContents:Array},setup(r){const t=r,e=d.ref({});return d.onMounted(()=>{var a;const n=t==null?void 0:t.eChartContents;e.value=p2e(q(n==null?void 0:n.compData),(a=Zy==null?void 0:Zy.find(i=>(i==null?void 0:i.key)===(n==null?void 0:n.name)))==null?void 0:a.value,n==null?void 0:n.extraContent)}),(n,a)=>(d.openBlock(),d.createElementBlock("div",d2e,[d.createVNode(h2e,{optionContents:e.value},null,8,["optionContents"])]))}},[["__scopeId","data-v-0440fac3"]])},Symbol.toStringTag,{value:"Module"}));return Z7});
|